Frame 2
_root.scr = 0;
Frame 3
function game() {
gotoAndStop (5);
}
function _game(f) {
gotoAndStop(f +4);
}
function instr() {
gotoAndStop (4);
}
function starting() {
gotoAndStop (3);
}
function win() {
gotoAndStop (3);
}
function hof(f) {
gotoAndStop(f +36);
}
stop();
stop();
mam_mlotek = false;
Frame 5
doklatki = 1;
stop();
Frame 6
level = 1;
lives = 5;
stop();
Frame 7
stop();
Frame 9
stop();
Frame 11
stop();
Frame 13
stop();
Frame 15
stop();
Frame 34
wynik = _root.scr;
stop();
Frame 35
wynik = _root.scr;
_root.hoff._visible = false;
_root.r = 0;
_root.onData = function () {
if (s == 1) {
_root.hoff._visible = true;
}
};
_root.loadVariables("hof.php?s=" + _root.scr);
stop();
Frame 36
wynik = _root.scr;
_root.hoff._visible = false;
_root.r = 0;
_root.onData = function () {
if (s == 1) {
_root.hoff._visible = true;
}
};
_root.loadVariables("hof.php?s=" + _root.scr);
stop();
Frame 37
function play_again() {
starting();
}
stop();
Instance of Symbol 558 MovieClip in Frame 37
//component parameters
onClipEvent (initialize) {
submit_allowed = false;
score = "_root.scr";
}
Frame 38
function play_again() {
starting();
}
stop();
Instance of Symbol 558 MovieClip in Frame 38
//component parameters
onClipEvent (initialize) {
submit_allowed = true;
score = "_root.scr";
}
Symbol 8 MovieClip Frame 1
stop();
Symbol 16 MovieClip Frame 1
odpalony = false;
Symbol 16 MovieClip Frame 26
odpalony = true;
Symbol 16 MovieClip Frame 28
stop();
Symbol 17 MovieClip [beczka_no] Frame 1
predkosc_beczki = 3;
wstrzymac_naliczanie_y = false;
bounce = 1.95;
vy = 0;
sprawdz_kolizje_z_podstawami = function () {
prawy_bok = this._x + 13;
wysokosczuja = this._y - 26;
lewy_bok = this._x - 13;
playe = _parent._parent.player.hitTest(this) && (!_parent._parent.player.mam_mlotek);
playeros = _parent._parent.player.hitTest(this) && (_parent._parent.player.mam_mlotek);
ogien = _parent._parent.ogien.hitTest(this);
while (_parent._parent.pomost1.hitTest(this._x, this._y, true)) {
speed_y = 0;
this._y = this._y - 0.1;
}
if (_x > 630) {
naliczaj_y = true;
old_y = _y;
losek = random(100) + 50;
_x = (_x - 5);
predkosc_beczki = predkosc_beczki * -1;
_xscale = -100;
}
if (_x < 20) {
naliczaj_y = true;
old_y = _y;
losek = random(100) + 50;
_x = (_x + 5);
predkosc_beczki = predkosc_beczki * -1;
_xscale = 100;
}
};
this.onEnterFrame = function () {
if (naliczaj_y) {
if (_y <= (old_y + losek)) {
_y = (_y + 2);
} else {
naliczaj_y = false;
}
}
if (playe) {
_parent._parent.die.gotoAndPlay(2);
_parent._parent.player._x = 68;
_parent._parent.player._y = 465;
_parent._parent.lives = _parent._parent.lives - 1;
_parent._parent.gogogo();
this.removeMovieClip();
}
if (playeros) {
_parent._parent.diek.gotoAndPlay(2);
_parent._parent.score = _parent._parent.score + 100;
this.removeMovieClip();
}
if (beczka.odpalony) {
if (((this._y > 473) && (this._x < 51)) || (ogien)) {
_parent._parent.gogogo();
this.removeMovieClip();
}
this._x = this._x + predkosc_beczki;
sprawdz_kolizje_z_podstawami();
}
};
Symbol 19 MovieClip Frame 1
odpalony = false;
Symbol 19 MovieClip Frame 2
odpalony = true;
Symbol 19 MovieClip Frame 3
this.onEnterFrame = function () {
jajo._rotation = jajo._rotation + 7;
};
stop();
Symbol 19 MovieClip Frame 25
odpalony = true;
Symbol 19 MovieClip Frame 27
stop();
Symbol 20 MovieClip [beczka_mirror1] Frame 1
predkosc_beczki = 3;
wstrzymac_naliczanie_y = false;
bounce = 1.95;
vy = 0;
sprawdz_kolizje_z_podstawami = function () {
prawy_bok = this._x + 13;
wysokosczuja = this._y - 26;
lewy_bok = this._x - 13;
playe = _parent._parent.player.hitTest(this) && (!_parent._parent.player.mam_mlotek);
playeros = _parent._parent.player.hitTest(this) && (_parent._parent.player.mam_mlotek);
czuj_l = _parent._parent.pomost1.hitTest(lewy_bok, wysokosczuja, true);
czuj_r = _parent._parent.pomost1.hitTest(prawy_bok, wysokosczuja, true);
drabinka = _parent._parent.pomost1.hitTest(this._x, this._y, true);
spoczynek = _parent._parent.pomost1.hitTest(this._x, this._y, true);
while (_parent._parent.pomost1.hitTest(this._x, this._y, true)) {
speed_y = 0;
this._y = this._y - 0.1;
}
if (czuj_r) {
_x = (_x - 5);
predkosc_beczki = predkosc_beczki * -1;
_xscale = 100;
}
if (czuj_l) {
_x = (_x + 5);
predkosc_beczki = predkosc_beczki * -1;
_xscale = -100;
}
};
this.onEnterFrame = function () {
if (playe) {
_parent._parent.die.gotoAndPlay(2);
_parent._parent.player._x = 68;
_parent._parent.player._y = 465;
_parent._parent.lives = _parent._parent.lives - 1;
_parent._parent.gogogo();
this.removeMovieClip();
}
if (playeros) {
_parent._parent.diek.gotoAndPlay(2);
_parent._parent.score = _parent._parent.score + 100;
this.removeMovieClip();
}
if (beczka.odpalony) {
if ((this._y > 473) && (this._x > 551)) {
_parent._parent.gogogo();
this.removeMovieClip();
}
this._x = this._x - predkosc_beczki;
sprawdz_kolizje_z_podstawami();
if (speed_y > 15) {
speed_y = 15;
} else if ((Math.abs(speed_y) > 0.25) && (Math.abs(speed_y) < 0.87)) {
speed_y = 0;
} else {
zezwalam = false;
if ((!wstrzymac_naliczanie_y) && (!blokuj_kolizje_podstaw)) {
_y = (_y + speed_y);
speed_y = speed_y + 1;
}
}
}
};
Symbol 21 MovieClip Frame 1
odpalony = false;
Symbol 21 MovieClip Frame 2
odpalony = true;
Symbol 21 MovieClip Frame 3
this.onEnterFrame = function () {
jajo._rotation = jajo._rotation - 7;
};
stop();
Symbol 21 MovieClip Frame 25
odpalony = true;
Symbol 21 MovieClip Frame 27
stop();
Symbol 22 MovieClip [beczka_mirror] Frame 1
predkosc_beczki = 3;
wstrzymac_naliczanie_y = false;
bounce = 1.95;
vy = 0;
niewi_activ = true;
wykluj = function () {
beczka.gotoAndPlay(25);
niewi_activ = false;
};
wartosc_wyk = random(4) + 1;
trace(wartosc_wyk);
sprawdz_kolizje_z_podstawami = function () {
prawy_bok = this._x + 13;
wysokosczuja = this._y - 26;
lewy_bok = this._x - 13;
playe = _parent._parent.player.hitTest(this) && (!_parent._parent.player.mam_mlotek);
playeros = _parent._parent.player.hitTest(this) && (_parent._parent.player.mam_mlotek);
czuj_l = _parent._parent.pomost1.hitTest(lewy_bok, wysokosczuja, true);
czuj_r = _parent._parent.pomost1.hitTest(prawy_bok, wysokosczuja, true);
spad = _parent._parent.spad.hitTest(this._x, this._y, true);
if (niewi_activ) {
nie_l = _parent._parent.niewidoczny.hitTest(lewy_bok, wysokosczuja, true);
nie_r = _parent._parent.niewidoczny.hitTest(prawy_bok, wysokosczuja, true);
}
drabinka = _parent._parent.pomost1.hitTest(this._x, this._y, true);
spoczynek = _parent._parent.pomost1.hitTest(this._x, this._y, true);
while (_parent._parent.pomost1.hitTest(this._x, this._y, true)) {
speed_y = 0;
this._y = this._y - 0.1;
}
if (czuj_r || (nie_r)) {
_x = (_x - 5);
predkosc_beczki = predkosc_beczki * -1;
_xscale = 100;
}
if (czuj_l || (nie_l)) {
_x = (_x + 5);
predkosc_beczki = predkosc_beczki * -1;
_xscale = -100;
}
};
this.onEnterFrame = function () {
if (spad) {
do_kl = do_kl + 1;
beczka.jajo.peki.nextFrame();
if (do_kl == wartosc_wyk) {
wykluj();
}
trace("spad" + do_kl);
}
if (playe) {
_parent._parent.die.gotoAndPlay(2);
_parent._parent.player._x = 68;
_parent._parent.player._y = 465;
_parent._parent.lives = _parent._parent.lives - 1;
_parent._parent.gogogo();
this.removeMovieClip();
}
if (playeros) {
_parent._parent.diek.gotoAndPlay(2);
_parent._parent.score = _parent._parent.score + 100;
this.removeMovieClip();
}
if (beczka.odpalony) {
if ((this._y > 473) && (this._x > 551)) {
_parent._parent.gogogo();
this.removeMovieClip();
}
this._x = this._x - predkosc_beczki;
sprawdz_kolizje_z_podstawami();
if (speed_y > 15) {
speed_y = 15;
} else if ((Math.abs(speed_y) > 0.25) && (Math.abs(speed_y) < 0.87)) {
speed_y = 0;
} else {
zezwalam = false;
if ((!wstrzymac_naliczanie_y) && (!blokuj_kolizje_podstaw)) {
_y = (_y + speed_y);
speed_y = speed_y + 1;
}
}
}
};
Symbol 23 MovieClip [beczka] Frame 1
predkosc_beczki = 3;
do_kl = 0;
wstrzymac_naliczanie_y = false;
bounce = 1.95;
vy = 0;
niewi_activ = true;
wykluj = function () {
beczka.gotoAndPlay(25);
niewi_activ = false;
};
wartosc_wyk = random(4) + 1;
trace(wartosc_wyk);
sprawdz_kolizje_z_podstawami = function () {
prawy_bok = this._x + 13;
wysokosczuja = this._y - 26;
lewy_bok = this._x - 13;
playe = _parent._parent.player.hitTest(this) && (!_parent._parent.player.mam_mlotek);
playeros = _parent._parent.player.hitTest(this) && (_parent._parent.player.mam_mlotek);
czuj_l = _parent._parent.pomost1.hitTest(lewy_bok, wysokosczuja, true);
czuj_r = _parent._parent.pomost1.hitTest(prawy_bok, wysokosczuja, true);
spad = _parent._parent.spad.hitTest(this._x, this._y, true);
if (niewi_activ) {
nie_l = _parent._parent.niewidoczny.hitTest(lewy_bok, wysokosczuja, true);
nie_r = _parent._parent.niewidoczny.hitTest(prawy_bok, wysokosczuja, true);
}
drabinka = _parent._parent.pomost1.hitTest(this._x, this._y, true);
spoczynek = _parent._parent.pomost1.hitTest(this._x, this._y, true);
while (_parent._parent.pomost1.hitTest(this._x, this._y, true)) {
speed_y = 0;
this._y = this._y - 0.1;
}
if (czuj_r || (nie_r)) {
_x = (_x - 5);
predkosc_beczki = predkosc_beczki * -1;
_xscale = -100;
}
if (czuj_l || (nie_l)) {
_x = (_x + 5);
predkosc_beczki = predkosc_beczki * -1;
_xscale = 100;
}
};
this.onEnterFrame = function () {
if (spad) {
do_kl = do_kl + 1;
beczka.jajo.peki.nextFrame();
if (do_kl == wartosc_wyk) {
wykluj();
}
trace("spad" + do_kl);
}
if (playe) {
_parent._parent.die.gotoAndPlay(2);
_parent._parent.player._x = 68;
_parent._parent.player._y = 465;
_parent._parent.lives = _parent._parent.lives - 1;
_parent._parent.gogogo();
this.removeMovieClip();
}
if (playeros) {
_parent._parent.diek.gotoAndPlay(2);
_parent._parent.score = _parent._parent.score + 100;
this.removeMovieClip();
}
if (beczka.odpalony) {
if ((this._y > 473) && (this._x < 51)) {
_parent._parent.gogogo();
this.removeMovieClip();
}
this._x = this._x + predkosc_beczki;
sprawdz_kolizje_z_podstawami();
if (speed_y > 15) {
speed_y = 15;
} else if ((Math.abs(speed_y) > 0.25) && (Math.abs(speed_y) < 0.87)) {
speed_y = 0;
} else {
zezwalam = false;
if ((!wstrzymac_naliczanie_y) && (!blokuj_kolizje_podstaw)) {
_y = (_y + speed_y);
speed_y = speed_y + 1;
}
}
}
};
Symbol 30 MovieClip Frame 1
fscommand ("trapallkeys", true);
Stage.showMenu = false;
this.uu = _root._url;
var a = _root._url.split("/");
var i = 0;
while (i < a.length) {
if (a[i] == "files") {
_root.gid = a[i + 1];
}
i++;
}
if ((a[2] == "www.netstupidity.com") || (a[2] == "netstupidity.com")) {
_root.ligin = 1;
}
_root.__url = "http://www.netstupidity.com/";
_root.loadVariables((_root.__url + "hof_bsc.php?id=") + _root.gid);
_root.prc = 0;
this.onEnterFrame = function () {
var ld = _root.getBytesLoaded();
var tt = _root.getBytesTotal();
var pr = ((100 * ld) / tt);
this.pasek._xscale = pr;
var b = Math.round(pr / 20);
if (pr >= 100) {
this.onEnterFrame = null;
this._parent.play();
}
};
Symbol 44 MovieClip Frame 140
stop();
Symbol 83 MovieClip Frame 1
this.t = getTimer();
this.tm = 0;
this.onEnterFrame = function () {
if (_root._framesloaded < 2) {
this.t = getTimer();
return(undefined);
}
this.tm = this.tm + (getTimer() - this.t);
var tt = Math.round(this.tm / 33);
if (tt < 1) {
this.stop();
} else {
this.t = getTimer();
if (tt >= 145) {
this.onEnterFrame = null;
this.gotoAndStop(145);
_root.play();
} else {
this.gotoAndStop(tt);
}
}
};
stop();
Symbol 86 MovieClip Frame 1
_root.stop();
stop();
Symbol 86 MovieClip Frame 2
stop();
Symbol 92 Button
on (press) {
_root.scr = 0;
_global.numerki = new Array();
_root.game();
}
Symbol 96 Button
on (press) {
_root.instr();
}
Symbol 98 MovieClip Frame 1
this._visible = _root.ligin == undefined;
this.onPress = function () {
getURL ("http://www.netstupidity.com");
};
Symbol 102 Button
on (press) {
_root.hof(2);
}
Symbol 131 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 20
stop();
Symbol 135 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 176
stop();
_root._game(_parent.doklatki + 1);
Symbol 167 MovieClip Frame 186
stop();
Symbol 170 MovieClip Frame 16
gotoAndPlay (3);
Symbol 176 MovieClip Frame 12
gotoAndPlay (3);
Symbol 177 MovieClip Frame 1
gotoAndPlay (3);
Symbol 178 MovieClip Frame 1
stop();
mam_mlotek = false;
Symbol 178 MovieClip Frame 2
stop();
mam_mlotek = true;
Symbol 178 MovieClip Frame 3
stop();
mam_mlotek = false;
Symbol 178 MovieClip Frame 4
stop();
mam_mlotek = false;
Symbol 178 MovieClip Frame 5
stop();
mam_mlotek = false;
Symbol 180 MovieClip Frame 1
mam_mlotek = false;
stop();
Symbol 180 MovieClip Frame 2
mam_mlotek = true;
Symbol 180 MovieClip Frame 251
gotoAndStop (1);
Symbol 183 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 1
function gogogo() {
odlicz = 400;
big_papa.play();
wieszak.attachMovie("beczka", "kruk" + i, i);
this.wieszak["kruk" + i]._x = 142;
this.wieszak["kruk" + i]._y = 132;
i++;
}
lives = 5;
score = 0;
bonus = 5000;
var i = 2;
wieszak = this.createEmptyMovieClip("potworki", i);
var odlicz = 10;
this.onEnterFrame = function () {
if (odlicz <= 0) {
odlicz = 400;
gogogo();
}
odlicz = odlicz - 1;
};
Instance of Symbol 180 MovieClip "player" in Symbol 199 MovieClip Frame 1
onClipEvent (load) {
winda_ruszyla = false;
predkosc_playera = 3;
wstrzymac_naliczanie_y = false;
bounce = 1.95;
sila_odbicia = -10;
vy = 0;
jump = 0;
sprawdz_kolizje_z_podstawami = function () {
mlotek = this._parent.mloteczek.hitTest(this);
drabinka = this._parent.sznury.hitTest(this._x, this._y - 20, true);
spoczynek = this._parent.pomost1.hitTest(this._x, this._y, true);
kolizjaglowy = this._parent.pomost1.hitTest(this._x, this._y - 40, true);
lapa_l = this._parent.pomost1.hitTest(this._x - 12, this._y - 7, true);
lapa_r = this._parent.pomost1.hitTest(this._x + 12, this._y - 7, true);
krzyz = this._parent.k.hitTest(this);
opusc_sznur = ((this._parent.z1._x == 1000) && (this._parent.z2._x == 1000)) && (this._parent.z3._x == 1000);
z = 1;
while (z <= 3) {
zlotko = this._parent["z" + z].hitTest(this);
if (zlotko) {
this._parent["z" + z]._x = 1000;
this._parent["z" + z].gotoAndStop(2);
wartosci_zlota = z * 50;
_parent.score = _parent.score + wartosci_zlota;
}
z++;
}
if (krzyz) {
this._parent.k.gotoAndStop(2);
this._parent.k._x = 1000;
_parent.score = _parent.score + 500;
}
if (!blokuj_kolizje_podstaw) {
while (this._parent.pomost1.hitTest(this._x, this._y, true)) {
up_mozna = true;
wstrzymac_naliczanie_y = true;
speed_y = 0;
this._y = this._y - 0.05;
}
}
if (mlotek) {
this._parent.mloteczek._visible = false;
this._parent.mloteczek._y = 800;
this.gotoAndPlay(2);
}
if (drabinka) {
speed_y = 0;
if (Key.isDown(38) && (kolizjaglowy)) {
_y = (_y + predkosc_playera);
}
if ((Key.isDown(38) && (!kolizjaglowy)) && (!jaup2)) {
this.ball.gotoAndStop(4);
blokuj_kolizje_podstaw = true;
_y = (_y - predkosc_playera);
jaup1 = true;
} else if ((Key.isDown(40) && (!spoczyek)) && (!jaup2)) {
this.ball.gotoAndStop(4);
blokuj_kolizje_podstaw = true;
_y = (_y + predkosc_playera);
jaup1 = true;
} else {
this.ball.gotoAndStop(5);
jaup1 = false;
}
if ((Key.isDown(38) && (up_mozna)) && (!jaup1)) {
blokuj_kolizje_podstaw = true;
_y = (_y - predkosc_playera);
jaup2 = true;
} else if ((Key.isDown(40) && (up_mozna)) && (!jaup1)) {
blokuj_kolizje_podstaw = true;
_y = (_y + predkosc_playera);
jaup2 = true;
}
} else {
blokuj_kolizje_podstaw = false;
jaup2 = false;
}
if (Key.isDown(17) && (up_mozna)) {
this._parent.jump.gotoAndPlay(2);
up_mozna = false;
wstrzymac_naliczanie_y = false;
speed_y = sila_odbicia;
_root.jump = 1;
}
};
}
onClipEvent (enterFrame) {
if (((this._x < 460.75) && (this._y < 147)) && (!winda_ruszyla)) {
winda_ruszyla = true;
_root.winda.gotoAndPlay("ucieka");
}
if (_parent.lives <= 0) {
_root.scr = _root.scr + _parent.score;
_root._game(31);
}
if (this._y < -5) {
_root.scr = _root.scr + _parent.score;
_root.scr = _root.scr + _parent.bonus;
_parent._parent.doklatki = 3;
_parent._parent.lives = _parent.lives;
_root._game(30);
}
sprawdz_kolizje_z_podstawami();
if (opusc_sznur) {
this._parent.z1._x = this._parent.z1._x + 5;
this._parent.sznury.gotoAndPlay(2);
}
if ((Math.abs(speed_y) > 0.25) && (Math.abs(speed_y) < 0.87)) {
speed_y = 0;
} else {
zezwalam = false;
if ((!wstrzymac_naliczanie_y) && (!blokuj_kolizje_podstaw)) {
_y = (_y + speed_y);
if (speed_y < 10) {
speed_y = speed_y + 0.88;
}
}
}
if (Key.isDown(37) && (!lapa_l)) {
if (!drabinka) {
this.ball.gotoAndStop(3);
wstrzymac_naliczanie_y = false;
} else {
this.ball.gotoAndStop(4);
}
this._x = this._x - predkosc_playera;
_xscale = 100;
} else if (Key.isDown(39) && (!lapa_r)) {
if (!drabinka) {
this.ball.gotoAndStop(3);
wstrzymac_naliczanie_y = false;
} else {
this.ball.gotoAndStop(4);
}
this._x = this._x + predkosc_playera;
_xscale = -100;
} else if (!drabinka) {
this.ball.gotoAndStop(1);
}
_parent.bonus--;
}
Symbol 202 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 20
stop();
Symbol 219 MovieClip Frame 1
function gogogo() {
odlicz = 350;
big_papa.play();
wieszak.attachMovie("beczka_mirror", "kruk" + i, i);
this.wieszak["kruk" + i]._x = 542;
this.wieszak["kruk" + i]._y = 132;
i++;
}
score = _root.scr;
bonus = 5000;
lives = _parent.lives;
var i = 2;
wieszak = this.createEmptyMovieClip("potworki", i);
var odlicz = 10;
this.onEnterFrame = function () {
if (odlicz <= 0) {
odlicz = 400;
gogogo();
}
odlicz = odlicz - 1;
};
Instance of Symbol 180 MovieClip "player" in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
winda_ruszyla = false;
predkosc_playera = 3;
wstrzymac_naliczanie_y = false;
bounce = 1.95;
sila_odbicia = -10;
vy = 0;
jump = 0;
sprawdz_kolizje_z_podstawami = function () {
mlotek = this._parent.mloteczek.hitTest(this);
drabinka = this._parent.sznury.hitTest(this._x, this._y - 20, true);
spoczynek = this._parent.pomost1.hitTest(this._x, this._y, true);
kolizjaglowy = this._parent.pomost1.hitTest(this._x, this._y - 40, true);
lapa_l = this._parent.pomost1.hitTest(this._x - 12, this._y - 7, true);
lapa_r = this._parent.pomost1.hitTest(this._x + 12, this._y - 7, true);
krzyz = this._parent.k.hitTest(this);
opusc_sznur = ((this._parent.z1._x == 1000) && (this._parent.z2._x == 1000)) && (this._parent.z3._x == 1000);
z = 1;
while (z <= 3) {
zlotko = this._parent["z" + z].hitTest(this);
if (zlotko) {
this._parent["z" + z]._x = 1000;
this._parent["z" + z].gotoAndStop(2);
wartosci_zlota = z * 50;
_parent.score = _parent.score + wartosci_zlota;
}
z++;
}
if (krzyz) {
this._parent.k.gotoAndStop(2);
this._parent.k._x = 1000;
_parent.score = _parent.score + 500;
}
if (!blokuj_kolizje_podstaw) {
while (this._parent.pomost1.hitTest(this._x, this._y, true)) {
up_mozna = true;
wstrzymac_naliczanie_y = true;
speed_y = 0;
this._y = this._y - 0.05;
}
}
if (mlotek) {
this._parent.mloteczek._visible = false;
this._parent.mloteczek._y = 800;
this.gotoAndPlay(2);
}
if (drabinka) {
speed_y = 0;
if (Key.isDown(38) && (kolizjaglowy)) {
_y = (_y + predkosc_playera);
}
if ((Key.isDown(38) && (!kolizjaglowy)) && (!jaup2)) {
this.ball.gotoAndStop(4);
blokuj_kolizje_podstaw = true;
_y = (_y - predkosc_playera);
jaup1 = true;
} else if ((Key.isDown(40) && (!spoczyek)) && (!jaup2)) {
this.ball.gotoAndStop(4);
blokuj_kolizje_podstaw = true;
_y = (_y + predkosc_playera);
jaup1 = true;
} else {
this.ball.gotoAndStop(5);
jaup1 = false;
}
if ((Key.isDown(38) && (up_mozna)) && (!jaup1)) {
blokuj_kolizje_podstaw = true;
_y = (_y - predkosc_playera);
jaup2 = true;
} else if ((Key.isDown(40) && (up_mozna)) && (!jaup1)) {
blokuj_kolizje_podstaw = true;
_y = (_y + predkosc_playera);
jaup2 = true;
}
} else {
blokuj_kolizje_podstaw = false;
jaup2 = false;
}
if (Key.isDown(17) && (up_mozna)) {
this._parent.jump.gotoAndPlay(2);
up_mozna = false;
wstrzymac_naliczanie_y = false;
speed_y = sila_odbicia;
_root.jump = 1;
}
};
}
onClipEvent (enterFrame) {
if (((this._x > 200) && (this._y < 147)) && (!winda_ruszyla)) {
winda_ruszyla = true;
_root.winda.gotoAndPlay("ucieka");
}
if (_parent.lives <= 0) {
_root.scr = 0;
_root.scr = _root.scr + _parent.score;
_root._game(31);
}
if (this._y < -5) {
_root.scr = 0;
_root.scr = _root.scr + _parent.bonus;
_root.scr = _root.scr + _parent.score;
_parent._parent.doklatki = 5;
_parent._parent.lives = _parent.lives;
_root._game(30);
}
sprawdz_kolizje_z_podstawami();
if (opusc_sznur) {
this._parent.z1._x = this._parent.z1._x + 5;
this._parent.sznury.gotoAndPlay(2);
}
if ((Math.abs(speed_y) > 0.25) && (Math.abs(speed_y) < 0.87)) {
speed_y = 0;
} else {
zezwalam = false;
if ((!wstrzymac_naliczanie_y) && (!blokuj_kolizje_podstaw)) {
_y = (_y + speed_y);
if (speed_y < 10) {
speed_y = speed_y + 0.88;
}
}
}
if (Key.isDown(37) && (!lapa_l)) {
if (!drabinka) {
this.ball.gotoAndStop(3);
wstrzymac_naliczanie_y = false;
} else {
this.ball.gotoAndStop(4);
}
this._x = this._x - predkosc_playera;
_xscale = 100;
} else if (Key.isDown(39) && (!lapa_r)) {
if (!drabinka) {
this.ball.gotoAndStop(3);
wstrzymac_naliczanie_y = false;
} else {
this.ball.gotoAndStop(4);
}
this._x = this._x + predkosc_playera;
_xscale = -100;
} else if (!drabinka) {
this.ball.gotoAndStop(1);
}
_parent.bonus--;
}
Symbol 222 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 20
stop();
Symbol 239 MovieClip Frame 1
function gogogo() {
odlicz = 300;
big_papa.play();
wieszak.attachMovie("beczka_mirror", "kruk" + i, i);
this.wieszak["kruk" + i]._x = 542;
this.wieszak["kruk" + i]._y = 132;
i++;
}
score = _root.scr;
bonus = 5000;
lives = _parent.lives;
var i = 2;
wieszak = this.createEmptyMovieClip("potworki", i);
var odlicz = 10;
this.onEnterFrame = function () {
if (odlicz <= 0) {
odlicz = 400;
gogogo();
}
odlicz = odlicz - 1;
};
Instance of Symbol 180 MovieClip "player" in Symbol 239 MovieClip Frame 1
onClipEvent (load) {
winda_ruszyla = false;
predkosc_playera = 3;
wstrzymac_naliczanie_y = false;
bounce = 1.95;
sila_odbicia = -10;
vy = 0;
jump = 0;
sprawdz_kolizje_z_podstawami = function () {
mlotek = this._parent.mloteczek.hitTest(this);
drabinka = this._parent.sznury.hitTest(this._x, this._y - 20, true);
spoczynek = this._parent.pomost1.hitTest(this._x, this._y, true);
kolizjaglowy = this._parent.pomost1.hitTest(this._x, this._y - 40, true);
lapa_l = this._parent.pomost1.hitTest(this._x - 12, this._y - 7, true);
lapa_r = this._parent.pomost1.hitTest(this._x + 12, this._y - 7, true);
krzyz = this._parent.k.hitTest(this);
opusc_sznur = ((this._parent.z1._x == 1000) && (this._parent.z2._x == 1000)) && (this._parent.z3._x == 1000);
z = 1;
while (z <= 3) {
zlotko = this._parent["z" + z].hitTest(this);
if (zlotko) {
this._parent["z" + z]._x = 1000;
this._parent["z" + z].gotoAndStop(2);
wartosci_zlota = z * 50;
_parent.score = _parent.score + wartosci_zlota;
}
z++;
}
if (krzyz) {
this._parent.k.gotoAndStop(2);
this._parent.k._x = 1000;
_parent.score = _parent.score + 500;
}
if (!blokuj_kolizje_podstaw) {
while (this._parent.pomost1.hitTest(this._x, this._y, true)) {
up_mozna = true;
wstrzymac_naliczanie_y = true;
speed_y = 0;
this._y = this._y - 0.05;
}
}
if (mlotek) {
this._parent.mloteczek._visible = false;
this._parent.mloteczek._y = 800;
this.gotoAndPlay(2);
}
if (drabinka) {
speed_y = 0;
if (Key.isDown(38) && (kolizjaglowy)) {
_y = (_y + predkosc_playera);
}
if ((Key.isDown(38) && (!kolizjaglowy)) && (!jaup2)) {
this.ball.gotoAndStop(4);
blokuj_kolizje_podstaw = true;
_y = (_y - predkosc_playera);
jaup1 = true;
} else if ((Key.isDown(40) && (!spoczyek)) && (!jaup2)) {
this.ball.gotoAndStop(4);
blokuj_kolizje_podstaw = true;
_y = (_y + predkosc_playera);
jaup1 = true;
} else {
this.ball.gotoAndStop(5);
jaup1 = false;
}
if ((Key.isDown(38) && (up_mozna)) && (!jaup1)) {
blokuj_kolizje_podstaw = true;
_y = (_y - predkosc_playera);
jaup2 = true;
} else if ((Key.isDown(40) && (up_mozna)) && (!jaup1)) {
blokuj_kolizje_podstaw = true;
_y = (_y + predkosc_playera);
jaup2 = true;
}
} else {
blokuj_kolizje_podstaw = false;
jaup2 = false;
}
if (Key.isDown(17) && (up_mozna)) {
this._parent.jump.gotoAndPlay(2);
up_mozna = false;
wstrzymac_naliczanie_y = false;
speed_y = sila_odbicia;
_root.jump = 1;
}
};
}
onClipEvent (enterFrame) {
if (((this._x > 200) && (this._y < 148)) && (!winda_ruszyla)) {
winda_ruszyla = true;
_root.winda.gotoAndPlay("ucieka");
}
if (_parent.lives <= 0) {
_root.scr = 0;
_root.scr = _root.scr + _parent.score;
_root._game(31);
}
if (this._y < -5) {
_root.scr = 0;
_root.scr = _root.scr + _parent.bonus;
_root.scr = _root.scr + _parent.score;
_parent._parent.doklatki = 7;
_parent._parent.lives = _parent.lives;
_root._game(30);
}
sprawdz_kolizje_z_podstawami();
if (opusc_sznur) {
this._parent.z1._x = this._parent.z1._x + 5;
this._parent.sznury.gotoAndPlay(2);
}
if ((Math.abs(speed_y) > 0.25) && (Math.abs(speed_y) < 0.87)) {
speed_y = 0;
} else {
zezwalam = false;
if ((!wstrzymac_naliczanie_y) && (!blokuj_kolizje_podstaw)) {
_y = (_y + speed_y);
if (speed_y < 10) {
speed_y = speed_y + 0.88;
}
}
}
if (Key.isDown(37) && (!lapa_l)) {
if (!drabinka) {
this.ball.gotoAndStop(3);
wstrzymac_naliczanie_y = false;
} else {
this.ball.gotoAndStop(4);
}
this._x = this._x - predkosc_playera;
_xscale = 100;
} else if (Key.isDown(39) && (!lapa_r)) {
if (!drabinka) {
this.ball.gotoAndStop(3);
wstrzymac_naliczanie_y = false;
} else {
this.ball.gotoAndStop(4);
}
this._x = this._x + predkosc_playera;
_xscale = -100;
} else if (!drabinka) {
this.ball.gotoAndStop(1);
}
_parent.bonus--;
}
Symbol 242 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 20
stop();
Symbol 259 MovieClip Frame 1
function gogogo() {
odlicz = 200;
big_papa.play();
wieszak.attachMovie("beczka", "kruk" + i, i);
this.wieszak["kruk" + i]._x = 142;
this.wieszak["kruk" + i]._y = 132;
i++;
}
score = _root.scr;
bonus = 5000;
lives = _parent.lives;
var i = 2;
wieszak = this.createEmptyMovieClip("potworki", i);
var odlicz = 10;
this.onEnterFrame = function () {
if (odlicz <= 0) {
odlicz = 400;
gogogo();
}
odlicz = odlicz - 1;
};
Instance of Symbol 180 MovieClip "player" in Symbol 259 MovieClip Frame 1
onClipEvent (load) {
winda_ruszyla = false;
predkosc_playera = 3;
wstrzymac_naliczanie_y = false;
bounce = 1.95;
sila_odbicia = -10;
vy = 0;
jump = 0;
sprawdz_kolizje_z_podstawami = function () {
mlotek = this._parent.mloteczek.hitTest(this);
drabinka = this._parent.sznury.hitTest(this._x, this._y - 20, true);
spoczynek = this._parent.pomost1.hitTest(this._x, this._y, true);
kolizjaglowy = this._parent.pomost1.hitTest(this._x, this._y - 40, true);
lapa_l = this._parent.pomost1.hitTest(this._x - 12, this._y - 7, true);
lapa_r = this._parent.pomost1.hitTest(this._x + 12, this._y - 7, true);
krzyz = this._parent.k.hitTest(this);
opusc_sznur = ((this._parent.z1._x == 1000) && (this._parent.z2._x == 1000)) && (this._parent.z3._x == 1000);
z = 1;
while (z <= 3) {
zlotko = this._parent["z" + z].hitTest(this);
if (zlotko) {
this._parent["z" + z]._x = 1000;
this._parent["z" + z].gotoAndStop(2);
wartosci_zlota = z * 50;
_parent.score = _parent.score + wartosci_zlota;
}
z++;
}
if (krzyz) {
this._parent.k.gotoAndStop(2);
this._parent.k._x = 1000;
_parent.score = _parent.score + 500;
}
if (!blokuj_kolizje_podstaw) {
while (this._parent.pomost1.hitTest(this._x, this._y, true)) {
up_mozna = true;
wstrzymac_naliczanie_y = true;
speed_y = 0;
this._y = this._y - 0.05;
}
}
if (mlotek) {
this._parent.mloteczek._visible = false;
this._parent.mloteczek._y = 800;
this.gotoAndPlay(2);
}
if (drabinka) {
speed_y = 0;
if (Key.isDown(38) && (kolizjaglowy)) {
_y = (_y + predkosc_playera);
}
if ((Key.isDown(38) && (!kolizjaglowy)) && (!jaup2)) {
this.ball.gotoAndStop(4);
blokuj_kolizje_podstaw = true;
_y = (_y - predkosc_playera);
jaup1 = true;
} else if ((Key.isDown(40) && (!spoczyek)) && (!jaup2)) {
this.ball.gotoAndStop(4);
blokuj_kolizje_podstaw = true;
_y = (_y + predkosc_playera);
jaup1 = true;
} else {
this.ball.gotoAndStop(5);
jaup1 = false;
}
if ((Key.isDown(38) && (up_mozna)) && (!jaup1)) {
blokuj_kolizje_podstaw = true;
_y = (_y - predkosc_playera);
jaup2 = true;
} else if ((Key.isDown(40) && (up_mozna)) && (!jaup1)) {
blokuj_kolizje_podstaw = true;
_y = (_y + predkosc_playera);
jaup2 = true;
}
} else {
blokuj_kolizje_podstaw = false;
jaup2 = false;
}
if (Key.isDown(17) && (up_mozna)) {
this._parent.jump.gotoAndPlay(2);
up_mozna = false;
wstrzymac_naliczanie_y = false;
speed_y = sila_odbicia;
_root.jump = 1;
}
};
}
onClipEvent (enterFrame) {
if (((this._x < 460.75) && (this._y < 148)) && (!winda_ruszyla)) {
winda_ruszyla = true;
_root.winda.gotoAndPlay("ucieka");
}
if (_parent.lives <= 0) {
_root.scr = 0;
_root.scr = _root.scr + _parent.score;
_root._game(31);
}
if (this._y < -5) {
_root.scr = 0;
_root.scr = _root.scr + _parent.bonus;
_root.scr = _root.scr + _parent.score;
_parent._parent.doklatki = 9;
_parent._parent.lives = _parent.lives;
_root._game(30);
}
sprawdz_kolizje_z_podstawami();
if (opusc_sznur) {
this._parent.z1._x = this._parent.z1._x + 5;
this._parent.sznury.gotoAndPlay(2);
}
if ((Math.abs(speed_y) > 0.25) && (Math.abs(speed_y) < 0.87)) {
speed_y = 0;
} else {
zezwalam = false;
if ((!wstrzymac_naliczanie_y) && (!blokuj_kolizje_podstaw)) {
_y = (_y + speed_y);
if (speed_y < 10) {
speed_y = speed_y + 0.88;
}
}
}
if (Key.isDown(37) && (!lapa_l)) {
if (!drabinka) {
this.ball.gotoAndStop(3);
wstrzymac_naliczanie_y = false;
} else {
this.ball.gotoAndStop(4);
}
this._x = this._x - predkosc_playera;
_xscale = 100;
} else if (Key.isDown(39) && (!lapa_r)) {
if (!drabinka) {
this.ball.gotoAndStop(3);
wstrzymac_naliczanie_y = false;
} else {
this.ball.gotoAndStop(4);
}
this._x = this._x + predkosc_playera;
_xscale = -100;
} else if (!drabinka) {
this.ball.gotoAndStop(1);
}
_parent.bonus--;
}
Symbol 260 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 20
stop();
Symbol 279 MovieClip Frame 1
function gogogo() {
big_papa.play();
wieszak.attachMovie("beczka_no", "kruk" + i, i);
this.wieszak["kruk" + i]._x = 142;
this.wieszak["kruk" + i]._y = 132;
i++;
}
score = _root.scr;
bonus = 5000;
lives = _parent.lives;
var i = 2;
wieszak = this.createEmptyMovieClip("potworki", i);
var odlicz = 10;
this.onEnterFrame = function () {
if (odlicz <= 0) {
gogogo();
odlicz = 400;
}
odlicz = odlicz - 1;
};
Instance of Symbol 180 MovieClip "player" in Symbol 279 MovieClip Frame 1
onClipEvent (load) {
winda_ruszyla = false;
predkosc_playera = 3;
wstrzymac_naliczanie_y = false;
bounce = 1.95;
sila_odbicia = -10;
vy = 0;
jump = 0;
sprawdz_kolizje_z_podstawami = function () {
opusc_sznur = ((this._parent.z1._x == 1000) && (this._parent.z2._x == 1000)) && (this._parent.z3._x == 1000);
ogien = this._parent.ogien.hitTest(this);
mlotek = this._parent.mloteczek.hitTest(this);
drabinka = this._parent.sznury.hitTest(this._x, this._y - 20, true);
spoczynek = this._parent.pomost1.hitTest(this._x, this._y, true);
kolizjaglowy = this._parent.pomost1.hitTest(this._x, this._y - 40, true);
lapa_l = this._parent.pomost1.hitTest(this._x - 12, this._y - 7, true);
lapa_r = this._parent.pomost1.hitTest(this._x + 12, this._y - 7, true);
krzyz = this._parent.k.hitTest(this);
z = 1;
while (z <= 3) {
zlotko = this._parent["z" + z].hitTest(this);
if (zlotko) {
this._parent["z" + z]._x = 1000;
this._parent["z" + z].gotoAndStop(2);
wartosci_zlota = z * 50;
_parent.score = _parent.score + wartosci_zlota;
}
z++;
}
if (krzyz) {
this._parent.k.gotoAndStop(2);
this._parent.k._x = 1000;
_parent.score = _parent.score + 500;
}
if (!blokuj_kolizje_podstaw) {
while (this._parent.pomost1.hitTest(this._x, this._y, true)) {
up_mozna = true;
wstrzymac_naliczanie_y = true;
speed_y = 0;
this._y = this._y - 0.05;
}
}
if (mlotek) {
this._parent.mloteczek._visible = false;
this._parent.mloteczek._y = 800;
this.gotoAndPlay(2);
}
if (ogien) {
this._parent.die.gotoAndPlay(2);
this._x = 56;
this._y = 427;
_parent.lives = _parent.lives - 1;
}
if (drabinka) {
speed_y = 0;
if (Key.isDown(38) && (kolizjaglowy)) {
_y = (_y + predkosc_playera);
}
if ((Key.isDown(38) && (!kolizjaglowy)) && (!jaup2)) {
this.ball.gotoAndStop(4);
blokuj_kolizje_podstaw = true;
_y = (_y - predkosc_playera);
jaup1 = true;
} else if ((Key.isDown(40) && (!spoczyek)) && (!jaup2)) {
this.ball.gotoAndStop(4);
blokuj_kolizje_podstaw = true;
_y = (_y + predkosc_playera);
jaup1 = true;
} else {
this.ball.gotoAndStop(5);
jaup1 = false;
}
if ((Key.isDown(38) && (up_mozna)) && (!jaup1)) {
blokuj_kolizje_podstaw = true;
_y = (_y - predkosc_playera);
jaup2 = true;
} else if ((Key.isDown(40) && (up_mozna)) && (!jaup1)) {
blokuj_kolizje_podstaw = true;
_y = (_y + predkosc_playera);
jaup2 = true;
}
} else {
blokuj_kolizje_podstaw = false;
jaup2 = false;
}
if (Key.isDown(17) && (up_mozna)) {
this._parent.jump.gotoAndPlay(2);
up_mozna = false;
wstrzymac_naliczanie_y = false;
speed_y = sila_odbicia;
_root.jump = 1;
}
};
}
onClipEvent (enterFrame) {
if (((this._x < 460.75) && (this._y < 148)) && (!winda_ruszyla)) {
winda_ruszyla = true;
_root.winda.gotoAndPlay("ucieka");
}
if (_x < 11) {
_x = (_x + 3);
}
if (_x > 644) {
_x = (_x - 3);
}
if (_parent.lives <= 0) {
_root.scr = 0;
_root.scr = _parent.score;
_root._game(31);
}
if (this._y < -5) {
_root.scr = 0;
_root.scr = _root.scr + _parent.bonus;
_root.scr = _root.scr + _parent.score;
_parent._parent.doklatki = 11;
_parent._parent.lives = _parent.lives;
_root._game(30);
}
sprawdz_kolizje_z_podstawami();
if (opusc_sznur) {
this._parent.z1._x = this._parent.z1._x + 5;
this._parent.sznury.gotoAndPlay(2);
}
if ((Math.abs(speed_y) > 0.25) && (Math.abs(speed_y) < 0.87)) {
speed_y = 0;
} else {
zezwalam = false;
if ((!wstrzymac_naliczanie_y) && (!blokuj_kolizje_podstaw)) {
_y = (_y + speed_y);
if (speed_y < 10) {
speed_y = speed_y + 0.88;
}
}
}
if (Key.isDown(37) && (!lapa_l)) {
if (!drabinka) {
this.ball.gotoAndStop(3);
wstrzymac_naliczanie_y = false;
} else {
this.ball.gotoAndStop(4);
}
this._x = this._x - predkosc_playera;
_xscale = 100;
} else if (Key.isDown(39) && (!lapa_r)) {
if (!drabinka) {
this.ball.gotoAndStop(3);
wstrzymac_naliczanie_y = false;
} else {
this.ball.gotoAndStop(4);
}
this._x = this._x + predkosc_playera;
_xscale = -100;
} else if (!drabinka) {
this.ball.gotoAndStop(1);
}
_parent.bonus--;
}
Symbol 280 MovieClip Frame 1
stop();
Symbol 280 MovieClip Frame 15
stop();
Symbol 294 MovieClip Frame 35
gotoAndPlay (1);
Symbol 296 MovieClip Frame 35
gotoAndPlay (1);
Symbol 319 MovieClip Frame 1
function gogogo() {
big_papa.play();
wieszak.attachMovie("beczka_no", "kruk" + i, i);
this.wieszak["kruk" + i]._x = 142;
this.wieszak["kruk" + i]._y = 112;
i++;
}
score = _root.scr;
bonus = 5000;
lives = _parent.lives;
var i = 2;
wieszak = this.createEmptyMovieClip("potworki", i);
var odlicz = 10;
this.onEnterFrame = function () {
if (odlicz <= 0) {
gogogo();
odlicz = 500;
}
odlicz = odlicz - 1;
};
Instance of Symbol 180 MovieClip "player" in Symbol 319 MovieClip Frame 1
onClipEvent (load) {
winda_ruszyla = false;
predkosc_playera = 3;
wstrzymac_naliczanie_y = false;
bounce = 1.95;
sila_odbicia = -10;
vy = 0;
jump = 0;
sprawdz_kolizje_z_podstawami = function () {
opusc_sznur = ((this._parent.z1._x == 1000) && (this._parent.z2._x == 1000)) && (this._parent.z3._x == 1000);
ogien_beka = this._parent.beka_sr.ogien_hit.hitTest(this);
tas_l = this._parent.tasmociag_l.hitTest(this._x, this._y, true);
tas_r = this._parent.tasmociag_r.hitTest(this._x, this._y, true);
ogien = this._parent.ogien.hitTest(this);
mlotek = this._parent.mloteczek.hitTest(this);
drabinka = this._parent.sznury.hitTest(this._x, this._y - 20, true);
spoczynek = this._parent.pomost1.hitTest(this._x, this._y, true);
kolizjaglowy = this._parent.pomost1.hitTest(this._x, this._y - 40, true);
lapa_l = this._parent.pomost1.hitTest(this._x - 12, this._y - 7, true);
lapa_r = this._parent.pomost1.hitTest(this._x + 12, this._y - 7, true);
krzyz = this._parent.k.hitTest(this);
z = 1;
while (z <= 3) {
zlotko = this._parent["z" + z].hitTest(this);
if (zlotko) {
this._parent["z" + z]._x = 1000;
this._parent["z" + z].gotoAndStop(2);
wartosci_zlota = z * 50;
_parent.score = _parent.score + wartosci_zlota;
}
z++;
}
if (tas_l) {
this._x = this._x + 1.5;
}
if (tas_r) {
this._x = this._x - 1.5;
}
if (krzyz) {
this._parent.k.gotoAndStop(2);
this._parent.k._x = 1000;
_parent.score = _parent.score + 500;
}
if (!blokuj_kolizje_podstaw) {
while (this._parent.pomost1.hitTest(this._x, this._y, true)) {
up_mozna = true;
wstrzymac_naliczanie_y = true;
speed_y = 0;
this._y = this._y - 0.05;
}
}
if (mlotek) {
this._parent.mloteczek._visible = false;
this._parent.mloteczek._y = 800;
this.gotoAndPlay(2);
}
if (ogien_beka) {
this._x = 56;
this._y = 427;
_parent.gogogo();
_parent.lives = _parent.lives - 1;
}
if (drabinka) {
speed_y = 0;
if (Key.isDown(38) && (kolizjaglowy)) {
_y = (_y + predkosc_playera);
}
if ((Key.isDown(38) && (!kolizjaglowy)) && (!jaup2)) {
this.ball.gotoAndStop(4);
blokuj_kolizje_podstaw = true;
_y = (_y - predkosc_playera);
jaup1 = true;
} else if ((Key.isDown(40) && (!spoczyek)) && (!jaup2)) {
this.ball.gotoAndStop(4);
blokuj_kolizje_podstaw = true;
_y = (_y + predkosc_playera);
jaup1 = true;
} else {
this.ball.gotoAndStop(5);
jaup1 = false;
}
if ((Key.isDown(38) && (up_mozna)) && (!jaup1)) {
blokuj_kolizje_podstaw = true;
_y = (_y - predkosc_playera);
jaup2 = true;
} else if ((Key.isDown(40) && (up_mozna)) && (!jaup1)) {
blokuj_kolizje_podstaw = true;
_y = (_y + predkosc_playera);
jaup2 = true;
}
} else {
blokuj_kolizje_podstaw = false;
jaup2 = false;
}
if (Key.isDown(17) && (up_mozna)) {
this._parent.jump.gotoAndPlay(2);
up_mozna = false;
wstrzymac_naliczanie_y = false;
speed_y = sila_odbicia;
_root.jump = 1;
}
};
}
onClipEvent (enterFrame) {
if (((this._x < 460.75) && (this._y < 148)) && (!winda_ruszyla)) {
winda_ruszyla = true;
_root.winda.gotoAndPlay("ucieka");
}
if (_x < 11) {
_x = (_x + 3);
}
if (_x > 644) {
_x = (_x - 3);
}
if (_parent.lives <= 0) {
_root.scr = 0;
_root.scr = _parent.score;
_root._game(31);
}
if (this._y < -5) {
_root.scr = 0;
_root.scr = _root.scr + _parent.bonus;
_root.scr = _root.scr + _parent.score;
_parent._parent.level = 7;
_parent._parent.lives = _parent.lives;
_root._game(32);
}
sprawdz_kolizje_z_podstawami();
if (opusc_sznur) {
this._parent.z1._x = this._parent.z1._x + 5;
this._parent.sznury.gotoAndPlay(2);
}
if ((Math.abs(speed_y) > 0.25) && (Math.abs(speed_y) < 0.87)) {
speed_y = 0;
} else {
zezwalam = false;
if ((!wstrzymac_naliczanie_y) && (!blokuj_kolizje_podstaw)) {
_y = (_y + speed_y);
if (speed_y < 10) {
speed_y = speed_y + 0.88;
}
}
}
if (Key.isDown(37) && (!lapa_l)) {
if (!drabinka) {
this.ball.gotoAndStop(3);
wstrzymac_naliczanie_y = false;
} else {
this.ball.gotoAndStop(4);
}
this._x = this._x - predkosc_playera;
_xscale = 100;
} else if (Key.isDown(39) && (!lapa_r)) {
if (!drabinka) {
this.ball.gotoAndStop(3);
wstrzymac_naliczanie_y = false;
} else {
this.ball.gotoAndStop(4);
}
this._x = this._x + predkosc_playera;
_xscale = -100;
} else if (!drabinka) {
this.ball.gotoAndStop(1);
}
_parent.bonus--;
}
Instance of Symbol 312 MovieClip in Symbol 319 MovieClip Frame 1
onClipEvent (load) {
speed_wroga = 1;
zwrot = -1;
}
onClipEvent (enterFrame) {
if (this._x > 570) {
zwrot = -1;
this._x = this._x - 3;
} else if (this._x < 50) {
zwrot = 1;
this._x = this._x + 3;
}
this._x = this._x + (speed_wroga * zwrot);
if (this._parent.player.hitTest(this)) {
this._parent.die.gotoAndPlay(2);
this._parent.player._x = 56;
this._parent.player._y = 427;
_parent.lives = _parent.lives - 1;
}
}
Instance of Symbol 312 MovieClip in Symbol 319 MovieClip Frame 1
onClipEvent (load) {
speed_wroga = 1;
zwrot = -1;
}
onClipEvent (enterFrame) {
if (this._parent.player.hitTest(this)) {
this._parent.die.gotoAndPlay(2);
this._parent.player._x = 56;
this._parent.player._y = 427;
_parent.lives = _parent.lives - 1;
}
if (this._x > 590) {
zwrot = -1;
this._x = this._x - 3;
} else if (this._x < 366) {
zwrot = 1;
this._x = this._x + 3;
}
this._x = this._x + (speed_wroga * zwrot);
}
Symbol 322 Button
on (press) {
_root._game(doklatki);
}
Symbol 327 Button
on (press) {
_root.hof(1);
}
Symbol 330 Button
on (press) {
_root.scr = 0;
_global.numerki = new Array();
_root._game(1);
}
Symbol 334 Button
on (press) {
_root.hof(1);
}
Symbol 356 Button
on (press) {
this._parent.d.gotoAndStop(2);
this._parent.w.gotoAndStop(1);
this._parent.m.gotoAndStop(1);
this._parent.a.gotoAndStop(1);
this._parent.typ = 1;
this._parent.nr = 0;
this._parent._parent.teksty._get();
}
Symbol 358 MovieClip Frame 1
stop();
Symbol 358 MovieClip Frame 2
this._parent._parent.okres(1);
Symbol 367 Button
on (press) {
this._parent.d.gotoAndStop(1);
this._parent.w.gotoAndStop(2);
this._parent.m.gotoAndStop(1);
this._parent.a.gotoAndStop(1);
this._parent.typ = 2;
this._parent.nr = 0;
this._parent._parent.teksty._get();
}
Symbol 369 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 2
this._parent._parent.okres(2);
Symbol 382 Button
on (press) {
this._parent.d.gotoAndStop(1);
this._parent.w.gotoAndStop(1);
this._parent.m.gotoAndStop(2);
this._parent.a.gotoAndStop(1);
this._parent.typ = 3;
this._parent.nr = 0;
this._parent._parent.teksty._get();
}
Symbol 384 MovieClip Frame 1
stop();
Symbol 384 MovieClip Frame 2
this._parent._parent.okres(3);
Symbol 389 Button
on (press) {
this._parent.d.gotoAndStop(1);
this._parent.w.gotoAndStop(1);
this._parent.m.gotoAndStop(1);
this._parent.a.gotoAndStop(2);
this._parent.typ = 0;
this._parent.nr = 0;
this._parent._parent.teksty._get();
}
Symbol 391 MovieClip Frame 2
this._parent._parent.okres(0);
stop();
Symbol 392 MovieClip Frame 1
this.typ = 0;
this.nr = 0;
Symbol 396 Button
on (press) {
this.nn = this.nn + 2;
this.new_n();
}
Symbol 397 Button
on (press) {
this.nn++;
this.new_n();
}
Symbol 398 Button
on (press) {
this.nn--;
this.new_n();
}
Symbol 399 Button
on (press) {
this.nn = this.nn - 2;
this.new_n();
}
Symbol 400 Button
on (press) {
this.nn = this.nn + 3;
this.new_n();
}
Symbol 418 MovieClip Frame 1
function init(zz) {
this.reload = false;
this.z = zz;
this.gotoAndPlay(19);
}
function przepisz() {
var zk = this.z;
var _k = [5, 6, 7, 8, 0, 1, 2, 3, 4];
var _p = [-4, -3, -2, -1, 0, 1, 2, 3, 4];
var i = 0;
while (i < 9) {
var kk = this.k["d" + _k[i]];
var ps = (this.n - _p[i]);
var pps = (ps % zk);
var st = ((pps < 0) ? (zk + pps) : (pps));
if (((st < 0) || (st > zk)) || (zk == 0)) {
kk.text = "";
} else {
kk.text = st + 1;
}
i++;
}
if ((this.n == this.nn) && (this.reload)) {
this._parent.teksty._get();
}
}
function new_n() {
this.reload = true;
if (this.nn < this.n) {
this.gotoAndPlay(11);
}
if (this.nn > this.n) {
this.gotoAndPlay(2);
}
}
if (this.n == undefined) {
this.z = (this.n = (this.nn = 0));
this.gotoAndStop(46);
} else {
if (this.nn == this.n) {
this.stop();
}
if (this.nn < this.n) {
this.gotoAndPlay(11);
}
if (this.nn > this.n) {
this.gotoAndPlay(2);
}
}
Symbol 418 MovieClip Frame 9
this.n++;
przepisz();
this.gotoAndPlay(1);
Symbol 418 MovieClip Frame 10
if (this.n == undefined) {
stop();
} else {
if (this.nn == this.n) {
this.stop();
}
if (this.nn < this.n) {
this.gotoAndPlay(11);
}
if (this.nn > this.n) {
this.gotoAndPlay(2);
}
}
Symbol 418 MovieClip Frame 18
this.n--;
przepisz();
this.gotoAndPlay(10);
Symbol 418 MovieClip Frame 25
przepisz();
Symbol 418 MovieClip Frame 45
this.gotoAndStop(1);
Symbol 421 Button
on (press) {
this._parent.okres.nr++;
this._parent.teksty._get();
}
Symbol 422 Button
on (press) {
if (this._parent.okres.nr > 0) {
this._parent.okres.nr--;
this._parent.teksty._get();
}
}
Symbol 423 Button
on (press) {
this._parent.k.nn--;
this._parent.k.new_n();
}
Symbol 424 Button
on (press) {
this._parent.k.nn++;
this._parent.k.new_n();
}
Symbol 428 MovieClip Frame 1
this._visible = false;
Symbol 432 MovieClip Frame 1
this._parent.teksty._visible = false;
this._parent.okres._visible = false;
this._parent.submit._visible = false;
this._parent.szczalki._visible = false;
this._parent.loading._visible = true;
stop();
Symbol 432 MovieClip Frame 10
this._parent.teksty._visible = true;
this._parent.okres._visible = true;
this._parent.submit._visible = true;
this._parent.szczalki._visible = true;
this._parent.loading._visible = false;
this._parent.k.init(int(this._parent.teksty.r));
stop();
Symbol 438 Button
on (press) {
this._parent.submit_score();
}
Symbol 443 Button
on (press) {
this._parent._parent.play_again();
}
Symbol 452 MovieClip Frame 1
function eror(a) {
clearInterval(a.it);
a.onData = null;
a._parent.eror.gotoAndPlay("time");
a._parent.eror._visible = true;
}
function _get() {
this._parent.eror._visible = false;
this.onData = function () {
clearInterval(this.it);
a.onData = null;
if (s == 1) {
myTextFormat = new TextFormat();
myTextFormat.align = "right";
this.f1.setTextFormat(myTextFormat);
this._parent.oczy.play();
} else {
this._parent.eror.gotoAndPlay("dbase");
this._parent.eror._visible = true;
}
};
this.it = setInterval(eror, 10000, this);
if (this._parent.oczy._currentframe > 1) {
this._parent.oczy.play();
}
var p = int(this._parent.k.k.d0.text);
if (p > 0) {
p--;
}
this.loadVariables((((((((_root.__url + "hof_fla.php?g=") + _root.gid) + "&o=") + this._parent.okres.nr) + "&p=") + this._parent.okres.typ) + "&s=") + p);
}
_get();
Symbol 462 Button
on (press) {
this._parent.teksty._get();
}
Symbol 465 Button
on (press) {
this._parent._parent.play_again();
}
Symbol 477 Button
on (press) {
this._parent.gotoAndStop(5);
}
Symbol 480 Button
on (press) {
this._parent.gotoAndStop(6);
}
Symbol 485 Button
on (press) {
this._parent.gotoAndStop(7);
}
Symbol 486 Button
on (press) {
this._visible = false;
this._parent.submit._visible = true;
}
Symbol 507 MovieClip Frame 6
stop();
Symbol 507 MovieClip Frame 12
stop();
Symbol 507 MovieClip Frame 18
stop();
Symbol 507 MovieClip Frame 19
this._parent.submit._visible = false;
Symbol 507 MovieClip Frame 24
stop();
Symbol 507 MovieClip Frame 25
this._parent.submit._visible = false;
Symbol 507 MovieClip Frame 30
stop();
Symbol 507 MovieClip Frame 31
this._parent.submit._visible = false;
Symbol 507 MovieClip Frame 36
stop();
Symbol 507 MovieClip Frame 37
this._parent.submit._visible = false;
Symbol 507 MovieClip Frame 42
stop();
Symbol 507 MovieClip Frame 43
this._parent.submit._visible = false;
Symbol 507 MovieClip Frame 48
stop();
Symbol 507 MovieClip Frame 49
this._parent.submit._visible = false;
Symbol 507 MovieClip Frame 54
stop();
Symbol 515 Button
on (press) {
this._parent._parent.play_again();
}
Symbol 523 Button
on (press) {
this._visible = false;
this._parent.teksty._get();
}
Symbol 526 Button
on (press) {
if (!this.submit_allowed) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(4);
}
}
Symbol 530 Button
on (press) {
this._parent.play_again();
}
Symbol 535 MovieClip Frame 1
function eror(a) {
clearInterval(a.it);
a.onData = null;
a._parent.eror.gotoAndPlay("time");
a._parent.eror._visible = true;
}
function _get() {
this._parent.eror._visible = false;
this.onData = function () {
clearInterval(this.it);
a.onData = null;
if (s == 1) {
this._parent.gotoAndStop(7);
} else {
switch (int(s)) {
case 2 :
this._parent.eror.gotoAndPlay("login");
this._parent.eror._visible = true;
return;
case 3 :
this._parent.eror.gotoAndPlay("password");
this._parent.eror._visible = true;
return;
case 4 :
this._parent.eror.gotoAndPlay("confirm");
this._parent.eror._visible = true;
return;
case 5 :
this._parent.eror.gotoAndPlay("taken");
this._parent.eror._visible = true;
return;
case 6 :
this._parent.eror.gotoAndPlay("email");
this._parent.eror._visible = true;
return;
case 7 :
this._parent.eror.gotoAndPlay("data");
this._parent.eror._visible = true;
return;
case 8 :
this._parent.eror.gotoAndPlay("match");
this._parent.eror._visible = true;
return;
default :
this._parent.eror.gotoAndPlay("dbase");
this._parent.eror._visible = true;
}
}
};
this.it = setInterval(eror, 30000, this);
this.loadVariables(_root.__url + "login_fla.php", "POST");
}
Symbol 541 Button
on (press) {
this._visible = false;
this._parent.teksty._get();
}
Symbol 548 MovieClip Frame 1
function eror(a) {
clearInterval(a.it);
a.onData = null;
a._parent.eror.gotoAndPlay("time");
a._parent.eror._visible = true;
}
function _get() {
this._parent.eror._visible = false;
this.onData = function () {
clearInterval(this.it);
a.onData = null;
if (s == 1) {
this._parent.gotoAndStop(7);
} else {
switch (int(s)) {
case 2 :
this._parent.eror.gotoAndPlay("login");
this._parent.eror._visible = true;
return;
case 3 :
this._parent.eror.gotoAndPlay("password");
this._parent.eror._visible = true;
return;
case 4 :
this._parent.eror.gotoAndPlay("confirm");
this._parent.eror._visible = true;
return;
case 5 :
this._parent.eror.gotoAndPlay("taken");
this._parent.eror._visible = true;
return;
case 6 :
this._parent.eror.gotoAndPlay("email");
this._parent.eror._visible = true;
return;
case 7 :
this._parent.eror.gotoAndPlay("data");
this._parent.eror._visible = true;
return;
case 8 :
this._parent.eror.gotoAndPlay("match");
this._parent.eror._visible = true;
return;
default :
this._parent.eror.gotoAndPlay("dbase");
this._parent.eror._visible = true;
}
}
};
this.it = setInterval(eror, 30000, this);
this.loadVariables(_root.__url + "register_fla.php", "POST");
}
Symbol 552 MovieClip Frame 1
function eror(a) {
clearInterval(a.it);
a.onData = null;
a._parent.eror.gotoAndPlay("time");
a._parent.eror._visible = true;
}
function _get() {
this._parent.eror._visible = false;
this.onData = function () {
trace(s);
clearInterval(this.it);
a.onData = null;
if (s == 1) {
this._parent.gotoAndStop(3);
} else if (s == 2) {
this._parent.eror.gotoAndPlay("login");
this._parent.eror._visible = true;
} else {
this._parent.eror.gotoAndPlay("dbase");
this._parent.eror._visible = true;
}
};
this.it = setInterval(eror, 30000, this);
if (this._parent.oczy._currentframe > 1) {
this._parent.oczy.play();
}
var p = int(this._parent.k.k.d0.text);
if (p > 0) {
p--;
}
this.loadVariables((((_root.__url + "hof_save.php?g=") + _root.gid) + "&s=") + this._parent.score);
}
_get();
Symbol 557 Button
on (press) {
getURL ("http://www.netstupidity.com");
}
Symbol 558 MovieClip Frame 1
this.score = eval (this.score);
if (this._parent.play_again == undefined) {
trace(("HighScore ERROR: Niezdefiniowa\u0142e\u015B funkcji play_again! [ " + this) + " ]");
stop();
} else if (_root.ligin == undefined) {
this.gotoAndStop(8);
} else if (!this.submit_allowed) {
if (this.score == undefined) {
trace(("HighScore ERROR: Nie poda\u0142e\u015B prawid\u0142owej zmiennej z wynikiem! [ " + this) + " ]");
stop();
if (this._parent.play_again == undefined) {
trace(("HighScore ERROR: Niezdefiniowa\u0142e\u015B funkcji play_again! [ " + this) + " ]");
stop();
}
}
} else {
this.gotoAndStop(4);
}
Symbol 558 MovieClip Frame 2
function submit_score() {
this.gotoAndStop(7);
}
this.eror._visible = false;
stop();
Symbol 558 MovieClip Frame 3
this.eror._visible = false;
stop();
Symbol 558 MovieClip Frame 4
this.eror._visible = false;
stop();
Symbol 558 MovieClip Frame 5
this.eror._visible = false;
stop();
this._parent.teksty._visible = true;
this._parent.okres._visible = true;
this._parent.submit._visible = true;
this._parent.szczalki._visible = true;
this._parent.loading._visible = false;
this._parent.k.init(int(this._parent.teksty.r));
stop();
Symbol 558 MovieClip Frame 6
this.eror._visible = false;
stop();
this._parent.teksty._visible = true;
this._parent.okres._visible = true;
this._parent.submit._visible = true;
this._parent.szczalki._visible = true;
this._parent.loading._visible = false;
this._parent.k.init(int(this._parent.teksty.r));
stop();
Symbol 558 MovieClip Frame 7
this.eror._visible = false;
stop();