Frame 1
function inicjalizacja() {
_root.bagaz = new Array();
_root.bagaz[0] = "empty";
_root.s1x3y1ogien = 1;
_root.s1x2y2butelka = 1;
_root.s2x1y3krata = 1;
_root.s2x1y3button = 0;
_root.s2x3y3kamien = 1;
_root.s2x2y1moving = 0;
_root.s3x1y1krata1 = 1;
_root.s3x1y1krata2 = 1;
_root.s3x1y1bomba = 1;
_root.s2x1y2ryba = 1;
_root.s2x2y3kot = 1;
_root.s2x3y1krata = 1;
_root.s2x5y2wizyta = 1;
_root.s2x5y1ogien = 1;
_root.s2x4y2klucz = 0;
_root.s3x1y2kluczyk = 0;
_root.s2x5y2drzwi = 1;
}
function showRoom() {
_root.attachMovie("fadeout", "dupa", 100);
_root.attachMovie((((("s" + _root.sala) + "x") + _root.sx) + "y") + _root.sy, "world", 20);
_root.attachMovie(((((("s" + _root.sala) + "x") + _root.sx) + "y") + _root.sy) + "_over", "over", 90);
_root.world.wall._visible = false;
_root.hero.wait = 3;
if (_root.sala != _root.oldSala) {
stopAllSounds();
mySound = new Sound();
mySound.attachSound("ost" + _root.sala);
mySound.setVolume(50);
mySound.start(0, 1000000);
}
_root.oldSala = _root.sala;
}
function txt(komunikat) {
_root.gameStop = 1;
_root.attachMovie("message", "ramka", 500);
_root.ramka.tekst = komunikat;
}
function speak(komunikat, face) {
_root.gameStop = 1;
_root.attachMovie("speak", "ramka", 500);
_root.ramka.tekst = komunikat;
_root.ramka.face.attachMovie(face, "ryj", 501);
_root.ramka.face.ryj._width = 120;
_root.ramka.face.ryj._height = 120;
}
inicjalizacja();
stop();
Frame 2
stop();
Instance of Symbol 382 MovieClip "hero" in Frame 2
onClipEvent (load) {
this.gwiazdka._visible = false;
_root.gameStop = 0;
_root.sx = 1;
_root.sy = 0;
_root.sala = 1;
_root.showRoom();
_root.memories = 1;
this.swapDepths(85);
_root.kieszonka.swapDepths(200);
_root.inv = 0;
falling = 24;
fallen = 0;
this._x = 320;
this._y = 32;
_root.attachMovie("fadeout2", "dupa2", 70);
_root.dupa2._xscale = 200;
_root.dupa2._yscale = 200;
}
onClipEvent (enterFrame) {
if (!_root.gameStop) {
this.wait--;
if (fallen) {
this._rotation = 0;
ani = 4;
falling = 0;
fallen = 0;
_root.hero.kieszen._y = 0;
this.attachMovie("girl" + ani, "girl", 79);
wait = 24;
if (_root.memories == 1) {
_root.txt("Memories... gone...");
_root.memories = 0;
}
lastAni = ani;
ani = 1;
}
if (falling == 1) {
this._rotation = this._rotation + (45 * (this._xscale / 100));
ani = 3;
if (!fallen) {
this._y = this._y + 14;
}
if (_root.world.wall.hitTest(this._x, this._y + 16, true)) {
hit = true;
i = 1;
while (16 >= i) {
if (!_root.world.wall.hitTest(this._x, (this._y - i) + 16, true)) {
this._y = this._y - i;
break;
}
i++;
}
} else {
hit = false;
}
if (hit) {
this.gwiazdka._visible = true;
this._rotation = 90;
fallen = 1;
}
if (464 < this._y) {
_root.sy++;
_root.showRoom();
this._y = 16;
this.wait = 3;
}
this.attachMovie("girl" + ani, "girl", 79);
}
if (((0 >= this.wait) and (falling != 1)) and (!invent)) {
_root.hero.kieszen._y = -8;
this.wait = 0;
step = 48;
kl = Key.isDown(Key.LEFT);
kr = Key.isDown(Key.RIGHT);
kd = Key.isDown(Key.DOWN);
ku = Key.isDown(Key.UP);
ks = Key.isDown(Key.SPACE);
kaa = Key.isDown(65);
kss = Key.isDown(83);
kzz = Key.isDown(90);
kxx = Key.isDown(88);
if (kaa and (oldKaa != kaa)) {
_root.inv--;
if (_root.inv < 0) {
_root.inv = _root.bagaz.length - 1;
}
} else if (kss and (oldKss != kss)) {
_root.inv++;
if ((_root.bagaz.length - 1) < _root.inv) {
_root.inv = 0;
}
}
oldKaa = kaa;
oldKss = kss;
if (kl) {
if (_xscale == -100) {
if ((!_root.world.wall.hitTest(this._x - 12, this._y, true)) and (!_root.world.wall.hitTest(this._x - 12, this._y - 12, true))) {
if (!jumping) {
this._x = this._x - 4;
} else if (!_root.world.wall.hitTest(this._x - 12, this._y + 8, true)) {
this._x = this._x - 4;
}
}
} else {
_xscale = -100;
}
if (this._x < 16) {
_root.sx--;
_root.showRoom();
this._x = 624;
}
ani = 2;
_xscale = -100;
} else if (kr) {
if (_xscale == 100) {
if ((!_root.world.wall.hitTest(this._x + 12, this._y, true)) and (!_root.world.wall.hitTest(this._x + 12, this._y - 12, true))) {
if (!jumping) {
this._x = this._x + 4;
} else if (!_root.world.wall.hitTest(this._x + 12, this._y + 8, true)) {
this._x = this._x + 4;
}
}
} else {
_xscale = 100;
}
if (624 < this._x) {
_root.sx++;
_root.showRoom();
this._x = 16;
}
ani = 2;
_xscale = 100;
}
if (((!kr) and (!kl)) and (!Key.isDown(88))) {
ani = 1;
}
if (Key.isDown(88) and (!jumping)) {
vel_y = 14;
jumping = true;
}
if (jumping) {
if ((!Key.isDown(88)) and (0 < vel_y)) {
vel_y = 0;
}
if (vel_y < 0) {
ani = 3;
falling--;
}
vel_y = vel_y - 1;
if (-14 >= vel_y) {
vel_y = -14;
jumping = false;
}
if (!_root.world.wall.hitTest(this._x, (this._y - 16) - vel_y, true)) {
this._y = this._y - vel_y;
if (this._y < 16) {
_root.sy--;
_root.showRoom();
this._y = 464;
this.wait = 3;
}
if (464 < this._y) {
_root.sy++;
_root.showRoom();
this._y = 16;
this.wait = 3;
}
} else {
vel_y = 0;
jumping = true;
this.gwiazdka._visible = true;
ani = 3;
if (_root.world.wall.hitTest(this._x, this._y - 16, true)) {
i = 0;
while (16 >= i) {
if (!_root.world.wall.hitTest(this._x, (this._y + i) - 16, true)) {
this._y = this._y + i;
break;
}
i++;
}
}
}
}
if (0 >= vel_y) {
if (_root.world.wall.hitTest(this._x, this._y + 16, true)) {
step = 48;
vel_y = 0;
jumping = false;
hit = true;
falling = 20;
i = 1;
while (16 >= i) {
if (!_root.world.wall.hitTest(this._x, (this._y - i) + 16, true)) {
this._y = this._y - i;
break;
}
i++;
}
} else {
hit = false;
}
}
if (!hit) {
jumping = true;
step = 48;
}
if (lastAni != ani) {
this.attachMovie("girl" + ani, "girl", 79);
}
lastAni = ani;
}
}
}
Instance of Symbol 384 MovieClip "kieszonka" in Frame 2
onClipEvent (enterFrame) {
if ((_root.oldInv != _root.inv) or (_root.oldBagaz != _root.bagaz[_root.inv])) {
_root.attachMovie(_root.bagaz[_root.inv], "kieszen", 210);
_root.kieszen._xscale = 10;
_root.kieszen._yscale = 10;
_root.kieszen._x = 8;
_root.kieszen._y = 8;
_root.hero.attachMovie(_root.bagaz[_root.inv], "kieszen", 70);
_root.hero.kieszen._xscale = 5;
_root.hero.kieszen._yscale = 5;
_root.hero.kieszen._y = -8;
}
_root.oldInv = _root.inv;
_root.oldBagaz = _root.bagaz[_root.inv];
}
Instance of Symbol 49 MovieClip in Symbol 57 MovieClip [s3x1y2] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.sx = 3;
_root.sy = 1;
_root.sala = 2;
_root.hero._x = 144;
_root.hero._y = 384;
_root.showRoom();
_root.hero.wait = 10;
}
}
}
Instance of Symbol 54 MovieClip in Symbol 57 MovieClip [s3x1y2] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(key.DOWN)) {
if ((_root.s3x1y2kluczyk == 0) and this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.s3x1y2kluczyk = 1;
_root.inv = _root.bagaz.push("kluczyk") - 1;
_root.txt("You got RUSTY KEY");
}
}
}
Instance of Symbol 58 MovieClip in Symbol 70 MovieClip [s3x1y1] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.sx = 3;
_root.sy = 1;
_root.sala = 2;
_root.hero._x = 400;
_root.hero._y = 400;
_root.showRoom();
_root.hero.wait = 10;
}
}
}
Instance of Symbol 59 MovieClip in Symbol 70 MovieClip [s3x1y1] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero._x, _root.hero._y + 32, true)) {
_root.s3x1y1krata1 = false;
}
}
Instance of Symbol 60 MovieClip in Symbol 70 MovieClip [s3x1y1] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero._x, _root.hero._y + 32, true)) {
_root.s3x1y1krata2 = false;
}
}
Instance of Symbol 61 MovieClip in Symbol 70 MovieClip [s3x1y1] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero._x, _root.hero._y + 32, true)) {
_root.s3x1y1krata1 = true;
_root.s3x1y1krata2 = true;
}
}
Instance of Symbol 61 MovieClip in Symbol 70 MovieClip [s3x1y1] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero._x, _root.hero._y + 32, true)) {
_root.s3x1y1krata1 = true;
_root.s3x1y1krata2 = true;
}
}
Instance of Symbol 61 MovieClip in Symbol 70 MovieClip [s3x1y1] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero._x, _root.hero._y + 32, true)) {
_root.s3x1y1krata1 = true;
_root.s3x1y1krata2 = true;
}
}
Instance of Symbol 64 MovieClip in Symbol 70 MovieClip [s3x1y1] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.txt("The sign reads 'Caution!'.");
}
}
}
Instance of Symbol 65 MovieClip in Symbol 70 MovieClip [s3x1y1] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(key.DOWN)) {
if (_root.s3x1y1bomba and this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.s3x1y1bomba = 0;
_root.inv = _root.bagaz.push("bomba") - 1;
_root.txt("You got PIRATE POCKET BOMB");
}
}
}
Instance of Symbol 66 MovieClip in Symbol 70 MovieClip [s3x1y1] Frame 1
onClipEvent (enterFrame) {
if (_root.s3x1y1krata1) {
this._x = 208;
this._y = this._y - 4;
if (this._y < 272) {
this._y = 272;
}
_root.world.wall.attachMovie("blokada", "blok1", 210);
_root.world.wall.blok1._x = this._x - 320;
_root.world.wall.blok1._y = this._Y - 240;
_root.world.wall.blok1._width = 64;
_root.world.wall.blok1._height = 64;
} else {
_root.world.wall.blok1.removeMovieClip();
this._x = 208;
this._y = this._y + 4;
if (336 < this._y) {
this._y = 336;
}
}
}
Instance of Symbol 67 MovieClip in Symbol 70 MovieClip [s3x1y1] Frame 1
onClipEvent (enterFrame) {
if (_root.s3x1y1krata2) {
this._x = 304;
this._y = this._y - 4;
if (this._y < 272) {
this._y = 272;
}
_root.world.wall.attachMovie("blokada", "blok2", 220);
_root.world.wall.blok2._x = this._x - 320;
_root.world.wall.blok2._y = this._Y - 240;
_root.world.wall.blok2._width = 64;
_root.world.wall.blok2._height = 64;
} else {
_root.world.wall.blok2.removeMovieClip();
this._x = 304;
this._y = this._y + 4;
if (336 < this._y) {
this._y = 336;
}
}
}
Instance of Symbol 85 MovieClip in Symbol 98 MovieClip [s2x5y1] Frame 1
onClipEvent (enterFrame) {
if (1 < _root.s2x5y1ogien) {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 86 MovieClip in Symbol 98 MovieClip [s2x5y1] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.sx = 2;
_root.sy = 2;
_root.sala = 3;
_root.hero._x = 320;
_root.hero._y = 80;
_root.showRoom();
_root.hero.wait = 10;
}
}
}
Instance of Symbol 94 MovieClip in Symbol 98 MovieClip [s2x5y1] Frame 1
onClipEvent (enterFrame) {
if (_root.s2x5y1ogien == 1) {
this._y = 128;
if (this._xscale < 0) {
this._x = this._x + 4;
}
if (0 < this._xscale) {
this._x = this._x - 4;
}
if (this._x < -320) {
this._xscale = -this._xscale;
}
if (960 < this._x) {
this._xscale = -this._xscale;
}
if (this.hitTest(_root.hero) and (1 < _root.hero.falling)) {
_root.hero.falling = 1;
}
this._y = this._y + (2 * Math.sin(this._x));
}
if (2 < _root.s2x5y1ogien) {
this._visible = 0;
}
if (_root.s2x5y1ogien == 2) {
_root.gameStop = 1;
this._y = 176;
if (144 < this._x) {
this._x = this._x - 4;
this._y = this._y + (2 * Math.sin(this._x));
}
if (144 >= this._x) {
_parent.attachMovie("wybuch", "dynamit", 210);
_parent.dynamit._x = this._x;
_parent.dynamit._y = this._y;
_root.s2x5y1ogien = 3;
}
}
}
Instance of Symbol 96 MovieClip in Symbol 98 MovieClip [s2x5y1] Frame 1
onClipEvent (enterFrame) {
if (2 < _root.s2x5y1ogien) {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 97 MovieClip in Symbol 98 MovieClip [s2x5y1] Frame 1
onClipEvent (enterFrame) {
if (_root.s2x5y1ogien == 3) {
this._visible = 1;
this._x = this._x - 4;
this._y = this._y + 6;
this._rotation = this._rotation + 45;
if (this._x < -48) {
_root.s2x5y1ogien = 4;
_root.gameStop = 0;
}
} else {
this._visible = 0;
}
}
Instance of Symbol 103 MovieClip in Symbol 109 MovieClip [s2x5y2] Frame 1
onClipEvent (enterFrame) {
if (_root.gameStop == 0) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
if (_root.s2x5y2drzwi == 0) {
if (1 < _root.s2x5y2wizyta) {
_root.sx = 2;
_root.sy = 2;
_root.sala = 3;
_root.hero._x = 320;
_root.hero._y = 432;
_root.showRoom();
_root.hero.wait = 10;
}
if (_root.s2x5y2wizyta == 1) {
_root.s2x5y2wizyta = 2;
_root.sx = 5;
_root.sy = 1;
_root.sala = 2;
_root.hero._x = 408;
_root.hero._y = 392;
_root.showRoom();
_root.hero.wait = 10;
}
} else {
_root.txt("The door is locked.");
}
}
}
if ((Key.isDown(90) and (_root.s2x5y2drzwi == 1)) and (0 >= _root.hero.wait)) {
a = _root.inv;
if ((_root.bagaz[a] == "kluczyk") and this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.s2x5y2drzwi = 0;
}
}
}
}
Instance of Symbol 108 MovieClip in Symbol 109 MovieClip [s2x5y2] Frame 1
onClipEvent (enterFrame) {
this._visible = _root.s2x5y2drzwi;
}
Instance of Symbol 117 MovieClip in Symbol 127 MovieClip [s3x2y2] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.sx = 5;
_root.sy = 2;
_root.sala = 2;
_root.hero._x = 408;
_root.hero._y = 336;
_root.showRoom();
_root.hero.wait = 10;
}
}
}
Instance of Symbol 118 MovieClip in Symbol 127 MovieClip [s3x2y2] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.txt("The sign says 'This way to the village'.");
}
}
}
Instance of Symbol 119 MovieClip in Symbol 127 MovieClip [s3x2y2] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.sx = 5;
_root.sy = 1;
_root.sala = 2;
_root.hero._x = 408;
_root.hero._y = 392;
_root.showRoom();
_root.hero.wait = 10;
}
}
}
Instance of Symbol 123 MovieClip in Symbol 127 MovieClip [s3x2y2] Frame 1
onClipEvent (enterFrame) {
if (1 < _root.s2x5y1ogien) {
this._visible = 0;
} else if (Key.isDown(key.DOWN)) {
if (this.hitTest(_root.hero._x, _root.hero._y - 8, true)) {
_root.s2x5y1ogien = 2;
_root.txt("The switch is off.");
}
}
}
Instance of Symbol 130 MovieClip in Symbol 147 MovieClip [s2x4y2] Frame 1
onClipEvent (enterFrame) {
if (3 < _root.s2x5y1ogien) {
this._visible = 1;
} else {
this._visible = 0;
}
if (Key.isDown(key.DOWN)) {
if ((_root.s2x5y1ogien == 4) and this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.s2x5y1ogien = 5;
_root.s2x4y2klucz = 1;
_root.inv = _root.bagaz.push("klucz") - 1;
_root.txt("You got PIRATE'S KEY");
}
}
}
Instance of Symbol 138 MovieClip in Symbol 147 MovieClip [s2x4y2] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._x = 112;
_root.hero._y = 96;
_root.showRoom();
_root.hero.wait = 10;
}
}
}
Instance of Symbol 139 MovieClip in Symbol 147 MovieClip [s2x4y2] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._x = 336;
_root.hero._y = 432;
_root.showRoom();
_root.hero.wait = 10;
}
}
}
Instance of Symbol 140 MovieClip in Symbol 147 MovieClip [s2x4y2] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._x = 400;
_root.hero._y = 144;
_root.showRoom();
_root.hero.wait = 10;
}
}
}
Instance of Symbol 118 MovieClip in Symbol 147 MovieClip [s2x4y2] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.txt("The sign says 'This way to the village'.");
}
}
}
Instance of Symbol 141 MovieClip in Symbol 147 MovieClip [s2x4y2] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.txt("The sign says 'This way to the lighthouse'.");
}
}
}
Instance of Symbol 142 MovieClip in Symbol 147 MovieClip [s2x4y2] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._x = 112;
_root.hero._y = 432;
_root.showRoom();
_root.hero.wait = 10;
}
}
}
Instance of Symbol 143 MovieClip in Symbol 147 MovieClip [s2x4y2] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero._x = 144;
_root.hero._y = 432;
_root.showRoom();
_root.hero.wait = 10;
}
}
}
Instance of Symbol 146 MovieClip in Symbol 147 MovieClip [s2x4y2] Frame 1
onClipEvent (enterFrame) {
if (_root.s2x2y3kot < 8) {
this._visible = 0;
} else {
this._visible = 1;
}
if ((Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) and (_root.s2x2y3kot == 8)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.sx = 1;
_root.sy = 1;
_root.sala = 4;
_root.hero._x = 448;
_root.hero._y = 384;
_root.showRoom();
_root.hero.wait = 10;
}
}
}
Instance of Symbol 153 MovieClip in Symbol 161 MovieClip [s2x3y1] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.sx = 1;
_root.sy = 1;
_root.sala = 3;
_root.hero._x = 496;
_root.hero._y = 176;
_root.showRoom();
_root.hero.wait = 10;
}
}
}
Instance of Symbol 154 MovieClip in Symbol 161 MovieClip [s2x3y1] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.sx = 1;
_root.sy = 2;
_root.sala = 3;
_root.hero._x = 496;
_root.hero._y = 176;
_root.showRoom();
_root.hero.wait = 10;
}
}
}
Instance of Symbol 159 MovieClip in Symbol 161 MovieClip [s2x3y1] Frame 1
onClipEvent (enterFrame) {
if (!_root.gameStop) {
if (Key.isDown(90) and _root.s2x3y1krata) {
a = _root.inv;
if ((_root.bagaz[a] == "klucz") and this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.s2x3y1krata = false;
}
if ((_root.bagaz[a] == "kluczyk") and this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.txt("This is a wrong key.");
}
}
if ((Key.isDown(Key.DOWN) and _root.s2x3y1krata) and this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.txt("There is a keyhole.");
}
}
}
Instance of Symbol 160 MovieClip in Symbol 161 MovieClip [s2x3y1] Frame 1
onClipEvent (enterFrame) {
if (_root.s2x3y1krata) {
this._x = 368;
this._y = 352;
_root.world.wall.attachMovie("blokada", "blok1", 210);
_root.world.wall.blok1._x = this._x - 320;
_root.world.wall.blok1._y = this._Y - 240;
_root.world.wall.blok1._width = 64;
_root.world.wall.blok1._height = 64;
} else {
_root.world.wall.blok1.removeMovieClip();
this._x = 368;
this._y = this._y - 4;
if (this._y < 288) {
this._y = 288;
}
}
}
Instance of Symbol 167 MovieClip in Symbol 169 MovieClip [s2x2y1] Frame 1
onClipEvent (load) {
dir = 1;
}
onClipEvent (enterFrame) {
if (_root.s2x2y1moving) {
this._x = this._x + (dir * 2);
if (this._x < 64) {
dir = 1;
}
if (256 < this._x) {
dir = -1;
}
}
_parent.wall.winda1._x = this._x - 320;
}
Instance of Symbol 168 MovieClip in Symbol 169 MovieClip [s2x2y1] Frame 1
onClipEvent (load) {
dir = 1;
}
onClipEvent (enterFrame) {
if (_root.s2x2y1moving) {
this._x = this._x + (dir * 2);
if (this._x < 320) {
dir = 1;
}
if (512 < this._x) {
dir = -1;
}
}
_parent.wall.winda2._x = this._x - 320;
}
Instance of Symbol 176 MovieClip in Symbol 185 MovieClip [s2x1y2] Frame 1
onClipEvent (load) {
z = 1;
i = 0;
j = 0;
eksplozja = 0;
}
onClipEvent (enterFrame) {
if ((Key.isDown(Key.DOWN) and (_root.s2x1y2ryba == 1)) and this.hitTest(_root.hero._x, _root.hero._y + 32, true)) {
_root.txt("There is a FISH in the pond, but you can't reach it.");
}
if (eksplozja == 1) {
if (j == 0) {
_parent.attachMovie("bomba", "dynamit", 210);
_parent.dynamit._x = 224;
_parent.dynamit._y = 280;
_parent.dynamit._xscale = 5;
_parent.dynamit._yscale = 5;
j = 1;
}
if (384 < _parent.dynamit._y) {
_root.hero.attachMovie("girl4", "girl", 79);
_parent.attachMovie("wybuch", "dynamit", 210);
_parent.dynamit._x = 192;
_parent.dynamit._y = 384;
eksplozja = 2;
_root.s2x1y2ryba = 3;
}
if (_parent.dynamit._y < 264) {
j = 2;
}
if (j == 1) {
_parent.dynamit._y = _parent.dynamit._y - 4;
}
if ((j == 2) and (_parent.dynamit._y < 320)) {
_parent.dynamit._y = _parent.dynamit._y + 4;
}
if ((j == 2) and (_parent.dynamit._y >= 320)) {
_parent.dynamit._y = _parent.dynamit._y + 2;
}
_parent.dynamit._x--;
if (_parent.dynamit._x < 192) {
_parent.dynamit._x = 192;
}
}
if (eksplozja == 2) {
i++;
z = -z;
_root.world._x = _root.world._x + (z * 2);
_root.world._y = _root.world._y + (z * 2);
if (3 < i) {
_root.gameStop = 0;
eksplozja = 0;
}
} else {
if (Key.isDown(90) and (_root.s2x1y2ryba == 1)) {
a = _root.inv;
if ((_root.bagaz[a] == "bomba") and this.hitTest(_root.hero._x, _root.hero._y + 32, true)) {
_root.bagaz.splice(a, 1);
_root.inv = 0;
_root.s2x1y2ryba = 2;
_root.gameStop = 1;
eksplozja = 1;
}
}
if (Key.isDown(Key.DOWN) and (_root.s2x1y2ryba == 3)) {
a = _root.inv;
if (this.hitTest(_root.hero._x, _root.hero._y + 32, true)) {
_root.inv = _root.bagaz.push("ryba") - 1;
_root.s2x1y2ryba = 0;
_root.txt("You got FISH.");
}
}
}
}
Instance of Symbol 182 MovieClip in Symbol 185 MovieClip [s2x1y2] Frame 1
onClipEvent (enterFrame) {
if (_root.s2x1y2ryba == 1) {
if (this._xscale < 0) {
this._x = this._x + 1;
}
if (0 < this._xscale) {
this._x = this._x - 1;
}
if (this._x < 144) {
this._xscale = -this._xscale;
}
if (208 < this._x) {
this._xscale = -this._xscale;
}
} else if (_root.s2x1y2ryba == 2) {
if (0 < this._xscale) {
this._xscale = -this._xscale;
}
this._x = this._x + 1;
if (208 < this._x) {
this._x = 208;
}
} else {
this._visible = false;
}
}
Instance of Symbol 175 MovieClip [ryba] in Symbol 185 MovieClip [s2x1y2] Frame 1
onClipEvent (enterFrame) {
if (_root.s2x1y2ryba == 3) {
this._visible = 1;
this._y = this._y - 2;
if (this._y < 312) {
this._y = 312;
}
} else {
this._visible = 0;
}
}
Instance of Symbol 208 MovieClip in Symbol 213 MovieClip [s2x3y2] Frame 1
onClipEvent (enterFrame) {
if (_root.s2x2y3kot < 6) {
this._visible = 1;
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.speak("(p_q) My cat ran away... Please help me find her...", "girl_cry");
}
}
}
if ((Key.isDown(90) and (_root.s2x2y3kot == 5)) and (_root.gameStop == 0)) {
a = _root.inv;
if ((_root.bagaz[a] == "kot") and this.hitTest(_root.hero)) {
_root.bagaz.splice(a, 1);
_root.inv = 0;
_root.s2x2y3kot = 6;
_root.speak("(^_^) Oh, thank you~! Please, come with me to the village!", "girl_happy");
}
}
if ((_root.s2x2y3kot == 6) and (_root.gameStop == 0)) {
this._visible = 0;
_root.s2x2y3kot = 7;
}
if (6 < _root.s2x2y3kot) {
this._visible = 0;
}
}
Instance of Symbol 212 MovieClip in Symbol 213 MovieClip [s2x3y2] Frame 1
onClipEvent (enterFrame) {
if (_root.s2x2y3kot < 7) {
this._visible = 0;
}
if (7 < _root.s2x2y3kot) {
this._visible = 0;
}
if (_root.s2x2y3kot == 7) {
_root.gameStop = 1;
this._visible = 1;
this._x = this._x + 4;
if (640 < this._x) {
this._visible = 0;
_root.gameStop = 0;
_root.s2x2y3kot = 8;
}
}
}
Instance of Symbol 215 MovieClip [kamien] in Symbol 227 MovieClip [s2x3y3] Frame 1
onClipEvent (enterFrame) {
if (_root.s2x3y3kamien) {
this._visible = true;
} else {
this._visible = false;
}
if (Key.isDown(key.DOWN)) {
if (_root.s2x3y3kamien and this.hitTest(_root.hero._x, _root.hero._y + 8, true)) {
_root.s2x3y3kamien = false;
_root.inv = _root.bagaz.push("kamien") - 1;
_root.txt("You got ROCK");
}
}
}
Instance of Symbol 224 MovieClip in Symbol 227 MovieClip [s2x3y3] Frame 1
onClipEvent (enterFrame) {
if (this._xscale == 100) {
this._y = this._y + 2;
}
if (this._xscale == -100) {
this._y = this._y - 2;
}
if (this._y < 128) {
this._xscale = 100;
}
if (256 < this._y) {
this._xscale = -100;
}
if ((this.hitTest(_root.hero._x - 8, _root.hero._y, true) or this.hitTest(_root.hero._x + 8, _root.hero._y, true)) and (1 < _root.hero.falling)) {
_root.hero.falling = 1;
}
this._x = 352 + Math.sin(this._y);
}
Instance of Symbol 225 MovieClip in Symbol 227 MovieClip [s2x3y3] Frame 1
onClipEvent (enterFrame) {
if (this._xscale == -100) {
this._y = this._y + 2;
}
if (this._xscale == 100) {
this._y = this._y - 2;
}
if (this._y < 64) {
this._xscale = -100;
}
if (192 < this._y) {
this._xscale = 100;
}
if ((this.hitTest(_root.hero._x - 8, _root.hero._y, true) or this.hitTest(_root.hero._x + 8, _root.hero._y, true)) and (1 < _root.hero.falling)) {
_root.hero.falling = 1;
}
this._x = 288 + Math.sin(this._y);
}
Instance of Symbol 226 MovieClip in Symbol 227 MovieClip [s2x3y3] Frame 1
onClipEvent (enterFrame) {
if (this._xscale == 100) {
this._y = this._y + 2;
}
if (this._xscale == -100) {
this._y = this._y - 2;
}
if (this._y < 224) {
this._xscale = 100;
}
if (288 < this._y) {
this._xscale = -100;
}
if ((this.hitTest(_root.hero._x - 8, _root.hero._y, true) or this.hitTest(_root.hero._x + 8, _root.hero._y, true)) and (1 < _root.hero.falling)) {
_root.hero.falling = 1;
}
this._x = 416 + Math.sin(this._y);
}
Instance of Symbol 242 MovieClip in Symbol 249 MovieClip [s2x2y3] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.txt("The sign says 'Under construction'.");
}
}
}
Instance of Symbol 243 MovieClip in Symbol 249 MovieClip [s2x2y3] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.txt("The sign says 'Don't give up'.");
}
}
}
Instance of Symbol 235 MovieClip [kot1] "kot" in Symbol 249 MovieClip [s2x2y3] Frame 1
onClipEvent (enterFrame) {
if (_root.s2x2y3kot == 1) {
if (this._xscale == -100) {
this._x = this._x + 2;
}
if (this._xscale == 100) {
this._x = this._x - 2;
}
if (this._x < 208) {
this._xscale = -100;
}
if (432 < this._x) {
this._xscale = 100;
}
}
if (_root.s2x2y3kot == 2) {
if (368 < this._x) {
this._xscale = 100;
this._x = this._x - 4;
if (this._x < 368) {
this._x = 368;
}
}
if (this._x < 368) {
this._xscale = -100;
this._x = this._x + 4;
if (368 < this._x) {
this._x = 368;
}
}
if (this._x == 368) {
this._alpha = 50;
_root.s2x2y3kot = 3;
_root.gameStop = 0;
}
this._y = this._y + 2;
if (80 < this._y) {
this._y = 80;
}
}
if (2 < _root.s2x2y3kot) {
this._visible = 0;
}
if ((_root.s2x2y3kot == 1) and this.hitTest(_root.hero)) {
_root.s2x2y3kot = 2;
this._y = 64;
_root.hero.falling = 1;
}
}
Instance of Symbol 230 MovieClip [kot_oczy] in Symbol 249 MovieClip [s2x2y3] Frame 1
onClipEvent (enterFrame) {
if (_root.s2x2y3kot == 3) {
this._visible = true;
} else {
this._visible = false;
}
if (_root.gameStop == 0) {
if ((Key.isDown(90) and (_root.s2x2y3kot == 3)) and this.hitTest(_root.hero)) {
a = _root.inv;
if ((_root.bagaz[a] == "ryba") and this.hitTest(_root.hero)) {
_root.bagaz.splice(a, 1);
_root.inv = 0;
_root.s2x2y3kot = 4;
}
}
if ((Key.isDown(Key.DOWN) and (_root.s2x2y3kot == 3)) and this.hitTest(_root.hero)) {
_root.txt("The cat doesn't want to come out.");
}
}
}
Instance of Symbol 248 MovieClip in Symbol 249 MovieClip [s2x2y3] Frame 1
onClipEvent (enterFrame) {
if (_root.s2x2y3kot == 4) {
this._visible = 1;
} else {
this._visible = 0;
}
if (Key.isDown(key.DOWN) and (_root.gameStop == 0)) {
if ((_root.s2x2y3kot == 4) and this.hitTest(_root.hero)) {
_root.s2x2y3kot = 5;
_root.inv = _root.bagaz.push("kot") - 1;
_root.txt("You got CAT");
}
}
}
Instance of Symbol 252 MovieClip "s2x1y3button" in Symbol 258 MovieClip [s2x1y3] Frame 1
onClipEvent (enterFrame) {
if (_root.s2x1y3button == 0) {
if (this.hitTest(_root.hero._x, _root.hero._y + 32, true)) {
_root.s2x1y3krata = false;
} else {
_root.s2x1y3krata = true;
}
}
if (Key.isDown(90)) {
a = _root.inv;
if ((_root.bagaz[a] == "kamien") and this.hitTest(_root.hero._x, _root.hero._y + 32, true)) {
_root.s2x1y3button = true;
_root.s2x1y3krata = false;
_root.bagaz.splice(a, 1);
_root.inv = 0;
}
}
}
Instance of Symbol 254 MovieClip in Symbol 258 MovieClip [s2x1y3] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.sx = 3;
_root.sy = 1;
_root.sala = 1;
_root.showRoom();
_root.hero.wait = 10;
}
}
}
Instance of Symbol 254 MovieClip in Symbol 258 MovieClip [s2x1y3] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.sx = 3;
_root.sy = 1;
_root.sala = 1;
_root.showRoom();
_root.hero.wait = 10;
}
}
}
Instance of Symbol 257 MovieClip "s2x1y3krata" in Symbol 258 MovieClip [s2x1y3] Frame 1
onClipEvent (enterFrame) {
if (!_root.s2x1y3button) {
if (_root.s2x1y3krata) {
this._x = 496;
this._y = this._y - 4;
if (this._y < 384) {
this._y = 384;
}
_root.world.wall.attachMovie("blokada", "blok", 210);
_root.world.wall.blok._x = this._x - 320;
_root.world.wall.blok._y = this._Y - 240;
_root.world.wall.blok._width = 64;
_root.world.wall.blok._height = 64;
} else {
_root.world.wall.blok.removeMovieClip();
this._x = 496;
this._y = this._y + 4;
if (448 < this._y) {
this._y = 448;
}
}
} else {
this._y = 448;
}
}
Instance of Symbol 250 MovieClip [kamien] in Symbol 258 MovieClip [s2x1y3] Frame 1
onClipEvent (enterFrame) {
this._visible = _root.s2x1y3button;
}
Instance of Symbol 262 MovieClip in Symbol 267 MovieClip [s1x3y1] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.sx = 1;
_root.sy = 3;
_root.sala = 2;
_root.showRoom();
}
}
}
Instance of Symbol 262 MovieClip in Symbol 267 MovieClip [s1x3y1] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.sx = 1;
_root.sy = 3;
_root.sala = 2;
_root.showRoom();
}
}
}
Instance of Symbol 264 MovieClip "ogien" in Symbol 267 MovieClip [s1x3y1] Frame 1
onClipEvent (enterFrame) {
if (_root.s1x3y1ogien) {
this._visible = true;
_root.world.wall.attachMovie("blokada", "blok", 210);
_root.world.wall.blok._x = this._x - 320;
_root.world.wall.blok._y = this._Y - 240;
} else {
_root.world.wall.blok.removeMovieClip();
this._visible = false;
}
if (Key.isDown(90)) {
a = _root.inv;
}
if (((_root.bagaz[a] == "woda") and this.hitTest(_root.hero._x + 32, _root.hero._y, true)) and (_root.hero._xscale == 100)) {
_root.s1x3y1ogien = false;
_root.bagaz[a] = "butelka";
_root.txt("Fire is out! You have EMPTY CAN");
}
}
Instance of Symbol 265 MovieClip in Symbol 267 MovieClip [s1x3y1] Frame 1
onClipEvent (enterFrame) {
if (_root.s2x2y1moving == 1) {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip [s1x3y1] Frame 1
onClipEvent (enterFrame) {
if (_root.s2x2y1moving == 1) {
this._visible = 0;
} else if (Key.isDown(key.DOWN)) {
if (this.hitTest(_root.hero._x, _root.hero._y - 8, true)) {
_root.s2x2y1moving = true;
_root.txt("Somewhere something started moving.");
}
}
}
Instance of Symbol 279 MovieClip in Symbol 280 MovieClip [s1x2y1] Frame 1
onClipEvent (enterFrame) {
if (this._xscale == -100) {
this._x = this._x + 2;
}
if (this._xscale == 100) {
this._x = this._x - 2;
}
if (this._x < 48) {
this._xscale = -100;
}
if (480 < this._x) {
this._xscale = 100;
}
if (this.hitTest(_root.hero) and (1 < _root.hero.falling)) {
_root.hero.falling = 1;
}
}
Instance of Symbol 283 MovieClip [butelka] in Symbol 290 MovieClip [s1x2y2] Frame 1
onClipEvent (enterFrame) {
if (_root.s1x2y2butelka) {
this._visible = true;
} else {
this._visible = false;
}
if (Key.isDown(key.DOWN)) {
if (_root.s1x2y2butelka and this.hitTest(_root.hero._x, _root.hero._y + 8, true)) {
_root.s1x2y2butelka = false;
_root.inv = _root.bagaz.push("butelka") - 1;
_root.txt("You got EMPTY CAN");
}
}
}
Symbol 312 MovieClip [fadeout2] Frame 15
this.removeMovieClip();
Symbol 314 MovieClip [fadeout] Frame 3
this.removeMovieClip();
Instance of Symbol 316 MovieClip "s1x1y1water" in Symbol 317 MovieClip [s1x1y1_over] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(90)) {
a = _root.inv;
if ((_root.bagaz[a] == "butelka") and this.hitTest(_root.hero._x, _root.hero._y + 4, true)) {
_root.bagaz[a] = "woda";
_root.txt("You got CAN OF WATER");
}
}
}
Instance of Symbol 319 MovieClip in Symbol 329 MovieClip [s4x1y1] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.txt("This is the end of preview.");
}
}
}
Instance of Symbol 320 MovieClip in Symbol 329 MovieClip [s4x1y1] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.txt("Thank you for playing!");
}
}
}
Instance of Symbol 321 MovieClip in Symbol 329 MovieClip [s4x1y1] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.txt("Watch this space!");
}
}
}
Instance of Symbol 322 MovieClip in Symbol 329 MovieClip [s4x1y1] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.txt("But this is only a beginning!");
}
}
}
Instance of Symbol 323 MovieClip in Symbol 329 MovieClip [s4x1y1] Frame 1
onClipEvent (enterFrame) {
if (_root.s2x2y3kot < 8) {
this._visible = 0;
} else {
this._visible = 1;
}
if ((Key.isDown(Key.DOWN) and (0 >= _root.hero.wait)) and (_root.s2x2y3kot == 8)) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.sx = 4;
_root.sy = 2;
_root.sala = 2;
_root.hero._x = 240;
_root.hero._y = 432;
_root.showRoom();
_root.hero.wait = 10;
}
}
}
Instance of Symbol 324 MovieClip in Symbol 329 MovieClip [s4x1y1] Frame 1
onClipEvent (enterFrame) {
if (this._xscale == -100) {
this._x = this._x + 2;
}
if (this._xscale == 100) {
this._x = this._x - 2;
}
if (this._x < -40) {
this._xscale = -100;
}
if (680 < this._x) {
this._xscale = 100;
}
}
Instance of Symbol 325 MovieClip [kot1] in Symbol 329 MovieClip [s4x1y1] Frame 1
onClipEvent (enterFrame) {
if (this._xscale == -100) {
this._x = this._x + 2;
}
if (this._xscale == 100) {
this._x = this._x - 2;
}
if (this._x < -40) {
this._xscale = -100;
}
if (680 < this._x) {
this._xscale = 100;
}
}
Symbol 360 MovieClip [speak] Frame 1
stop();
Instance of Symbol 358 MovieClip [blokada] in Symbol 360 MovieClip [speak] Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (!Key.isDown(90)) {
_parent.gotoAndStop(2);
}
}
Instance of Symbol 352 MovieClip [blokada] in Symbol 360 MovieClip [speak] Frame 2
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(90)) {
_parent.gotoAndStop(3);
}
}
Instance of Symbol 359 MovieClip [blokada] in Symbol 360 MovieClip [speak] Frame 3
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (!Key.isDown(90)) {
_parent.gotoAndStop(4);
}
}
Symbol 360 MovieClip [speak] Frame 4
_root.gameStop = 0;
this.removeMovieClip();
Symbol 364 MovieClip [message] Frame 1
stop();
Instance of Symbol 358 MovieClip [blokada] in Symbol 364 MovieClip [message] Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (!Key.isDown(90)) {
_parent.gotoAndStop(2);
}
}
Instance of Symbol 361 MovieClip [blokada] in Symbol 364 MovieClip [message] Frame 2
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(90)) {
_parent.gotoAndStop(3);
}
}
Instance of Symbol 359 MovieClip [blokada] in Symbol 364 MovieClip [message] Frame 3
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (!Key.isDown(90)) {
_parent.gotoAndStop(4);
}
}
Symbol 364 MovieClip [message] Frame 4
_root.gameStop = 0;
this.removeMovieClip();
Symbol 374 MovieClip [wybuch] Frame 6
this.removeMovieClip();
Symbol 375 Button
on (release, keyPress "<Space>") {
gotoAndStop (2);
}
Instance of Symbol 324 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._xscale == -100) {
this._x = this._x + 2;
}
if (this._xscale == 100) {
this._x = this._x - 2;
}
if (this._x < -40) {
this._xscale = -100;
}
if (680 < this._x) {
this._xscale = 100;
}
}
Instance of Symbol 325 MovieClip [kot1] in Symbol 378 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._xscale == -100) {
this._x = this._x + 2;
}
if (this._xscale == 100) {
this._x = this._x - 2;
}
if (this._x < -40) {
this._xscale = -100;
}
if (680 < this._x) {
this._xscale = 100;
}
}
Symbol 381 MovieClip Frame 6
this._visible = false;
Symbol 382 MovieClip Frame 1
stop();
Instance of Symbol 381 MovieClip "gwiazdka" in Symbol 382 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(80);
}