Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("d2402ade", this, 10301, true);
currUrl = _url.toLowerCase();
domenacom = currUrl.indexOf(".com");
domenask = currUrl.indexOf(".sk");
domenaes = currUrl.indexOf(".es");
domenacz = currUrl.indexOf(".cz");
if (domenacom != -1) {
_root.createEmptyMovieClip("loadni", 0);
loadni.loadMovie("http://www.andrascik.sk/eviland/loadnicom.swf");
loadni._x = 0;
loadni._y = 2000;
}
if (domenask != -1) {
_root.createEmptyMovieClip("loadni", 0);
loadni.loadMovie("http://www.andrascik.sk/eviland/loadnisk.swf");
loadni._x = 0;
loadni._y = 2000;
}
if (domenaes != -1) {
_root.createEmptyMovieClip("loadni", 0);
loadni.loadMovie("http://www.andrascik.sk/eviland/loadnies.swf");
loadni._x = 0;
loadni._y = 2000;
}
if (domenacz != -1) {
_root.createEmptyMovieClip("loadni", 0);
loadni.loadMovie("http://www.andrascik.sk/eviland/loadnicz.swf");
loadni._x = 0;
loadni._y = 2000;
}
stop();
Instance of Symbol 23 MovieClip "preloader" in Frame 1
onClipEvent (load) {
total = _root.getBytesTotal() + " bytes";
}
onClipEvent (enterFrame) {
download = _root.getBytesLoaded() + " bytes";
bytesleft = (_root.getBytesTotal() - _root.getBytesLoaded()) + " bytes";
percent = ((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "%";
if (percent == "100%") {
_root.gotoAndPlay(2);
}
}
Frame 2
stop();
onLoad = function () {
};
onEnterFrame = function () {
};
Frame 3
stop();
loadni._x = 0;
loadni._y = 0;
Instance of Symbol 63 MovieClip in Frame 3
on (release) {
getURL ("http://www.paintedgames.com", "_self");
}
Frame 4
stop();
Frame 5
stopAllSounds();
function cheaty() {
if (Key.isDown(33)) {
panel.charlevel = panel.charlevel + 1;
}
if (Key.isDown(34)) {
panel.charlevel = panel.charlevel - 1;
}
if (Key.isDown(36)) {
stena = 0;
} else {
stena = 1;
}
if (Key.isDown(16)) {
_root.nextFrame();
}
}
function smrthrdinu() {
if (panel.life < 1) {
smrt = 1;
hrdina.gotoAndStop(20);
prehra._y = hrdina._y + 25;
prehra._x = hrdina._x;
prehra._visible = true;
}
if ((panel.life < 1) and Key.isDown(13)) {
panel.life = 100;
smrt = 0;
hrdina.gotoAndStop(1);
prehra._visible = false;
}
}
function strielaj() {
if (_root.mapa.hitTest(_root.gulka.getBounds(_root).xMax, _root.gulka._y, true)) {
gulka.gotoAndPlay(1);
}
if (_root.mapa.hitTest(_root.gulka.getBounds(_root).xMin, _root.gulka._y, true)) {
gulka.gotoAndPlay(1);
}
if (_root.mapa.hitTest(_root.gulka._x, _root.gulka.getBounds(_root).yMax, true)) {
gulka.gotoAndPlay(1);
}
if (_root.mapa.hitTest(_root.gulka._x, _root.gulka.getBounds(_root).yMin, true)) {
gulka.gotoAndPlay(1);
}
nabite = nabite + 1;
if ((Key.isDown(32) and (gulka._currentframe == 1)) and (nabite > 20)) {
if (nabite > 20) {
nabite = 0;
}
if (keyboardswitch == 0) {
keyboard.gotoAndPlay(57);
keyboardswitch = 1;
}
gulka.play();
gulka._x = hrdinafyzika._x;
gulka._y = hrdinafyzika._y;
gulka._rotation = hrdina._rotation;
}
}
function chod() {
loadni._x = panel._x;
loadni._y = panel._y;
hrdina._x = hrdinafyzika._x;
hrdina._y = hrdinafyzika._y;
hrdinafyzika._rotation = hrdina._rotation;
detektor._x = hrdinafyzika._x;
detektor._y = hrdinafyzika._y;
detektor._rotation = hrdina._rotation;
detektor2._x = hrdinafyzika._x;
detektor2._y = hrdinafyzika._y - 0;
detektor2._rotation = hrdina._rotation;
if (keyboardswitch == 0) {
keyboard._y = panel._y - 50;
keyboard._x = panel._x - 65;
}
if (Key.isDown(40) and (rdole == 1)) {
panel._y = panel._y + (panel.speed + 3);
_root._y = _root._y - (panel.speed + 3);
hrdinafyzika._y = hrdinafyzika._y + (panel.speed + 3);
hrdina._rotation = 180;
}
if (Key.isDown(38) and (rhore == 1)) {
panel._y = panel._y - (panel.speed + 3);
_root._y = _root._y + (panel.speed + 3);
hrdinafyzika._y = hrdinafyzika._y - (panel.speed + 3);
hrdina._rotation = 0;
}
if (Key.isDown(37) and (rvlavo == 1)) {
panel._x = panel._x - (panel.speed + 3);
_root._x = _root._x + (panel.speed + 3);
hrdinafyzika._x = hrdinafyzika._x - (panel.speed + 3);
hrdina._rotation = 270;
}
if (Key.isDown(39) and (rvpravo == 1)) {
panel._x = panel._x + (panel.speed + 3);
_root._x = _root._x - (panel.speed + 3);
hrdinafyzika._x = hrdinafyzika._x + (panel.speed + 3);
hrdina._rotation = 90;
}
if (Key.isDown(40) and Key.isDown(37)) {
hrdina._rotation = 225;
}
if (Key.isDown(40) and Key.isDown(39)) {
hrdina._rotation = 135;
}
if (Key.isDown(38) and Key.isDown(39)) {
hrdina._rotation = 45;
}
if (Key.isDown(38) and Key.isDown(37)) {
hrdina._rotation = 315;
}
if (((Key.isDown(38) or Key.isDown(40)) or Key.isDown(39)) or Key.isDown(37)) {
hrdina.play();
} else {
hrdina.stop();
}
}
function charlevelupp() {
if (panel.experiences == 8) {
e = e + 1;
if (e == 1) {
panel.gotoAndPlay(2);
panel.charlevel = 2;
}
}
if (panel.experiences == 9) {
e = 0;
}
if (panel.experiences == 18) {
e = e + 1;
if (e == 1) {
panel.gotoAndPlay(2);
panel.charlevel = 3;
}
}
if (panel.experiences == 19) {
e = 0;
}
if (panel.experiences == 25) {
e = e + 1;
if (e == 1) {
panel.gotoAndPlay(2);
panel.charlevel = 4;
}
}
if (panel.experiences == 26) {
e = 0;
}
if (panel.experiences == 31) {
e = e + 1;
if (e == 1) {
panel.gotoAndPlay(2);
panel.charlevel = 5;
}
}
if (panel.experiences == 32) {
e = 0;
}
if (panel.experiences == 37) {
e = e + 1;
if (e == 1) {
panel.gotoAndPlay(2);
panel.charlevel = 6;
}
}
if (panel.experiences == 38) {
e = 0;
}
if (panel.experiences == 42) {
e = e + 1;
if (e == 1) {
panel.gotoAndPlay(2);
panel.charlevel = 7;
}
}
if (panel.experiences == 43) {
e = 0;
}
if (panel.experiences == 46) {
e = e + 1;
if (e == 1) {
panel.gotoAndPlay(2);
panel.charlevel = 8;
}
}
if (panel.experiences == 47) {
e = 0;
}
}
function predmety() {
if (_root.hrdina.hitTest(_root.flaska1) and (panel.life < 200)) {
panel.life = 200;
flaska1._y = -5000;
}
if (_root.hrdina.hitTest(_root.flaska2) and (panel.life < 200)) {
panel.life = 200;
flaska2._y = -5000;
}
if (_root.hrdina.hitTest(_root.flaska3) and (panel.life < 200)) {
panel.life = 200;
flaska3._y = -5000;
}
if (_root.hrdina.hitTest(_root.koniec.detektorportalu)) {
k = k + 1;
}
if (k == 1) {
_root._x = 0;
_root._y = 0;
_root.koniec.gotoAndPlay(80);
}
if ((koniec._currentframe > 88) and (k > 0)) {
_root.gotoAndPlay(11);
}
if (_root.hrdina.hitTest(_root.nextlevel.detektorportalu)) {
l = l + 1;
}
if (l == 1) {
_root.nextlevel.gotoAndPlay(80);
}
if (nextlevel._currentframe > 88) {
k1 = (k2 = (k3 = 0));
dvereautoswitch1 = (dvereautoswitch2 = (dvereautoswitch3 = (dvereautoswitch4 = 0)));
kluc1.gotoAndPlay(1);
kluc1.gotoAndPlay(1);
kluc3.gotoAndPlay(1);
nextlevel.gotoAndPlay(1);
nextFrame();
l = 0;
}
if (_root.hrdina.hitTest(_root.kluc1)) {
k1 = k1 + 1;
if (k1 == 1) {
kluc1.gotoAndPlay(2);
mapa.dvere1.gotoAndPlay(2);
}
}
if (_root.hrdina.hitTest(_root.kluc2)) {
k2 = k2 + 1;
if (k2 == 1) {
kluc2.gotoAndPlay(2);
mapa.dvere2.gotoAndPlay(2);
}
}
if (_root.hrdina.hitTest(_root.kluc3)) {
k3 = k3 + 1;
if (k3 == 1) {
kluc3.gotoAndPlay(2);
mapa.dvere3.gotoAndPlay(2);
}
}
if (_root.hrdina.hitTest(_root.mapa.dvereauto1)) {
dvereautoswitch1 = dvereautoswitch1 + 1;
if (dvereautoswitch1 == 1) {
_root.mapa.dvereauto1.gotoAndPlay(2);
}
}
if (_root.hrdina.hitTest(_root.mapa.dvereauto2)) {
dvereautoswitch2 = dvereautoswitch2 + 1;
if (dvereautoswitch2 == 1) {
_root.mapa.dvereauto2.gotoAndPlay(2);
}
}
if (_root.hrdina.hitTest(_root.mapa.dvereauto3)) {
dvereautoswitch3 = dvereautoswitch3 + 1;
if (dvereautoswitch3 == 1) {
_root.mapa.dvereauto3.gotoAndPlay(2);
}
}
if (_root.hrdina.hitTest(_root.mapa.dvereauto4)) {
dvereautoswitch4 = dvereautoswitch4 + 1;
if (dvereautoswitch4 == 1) {
_root.mapa.dvereauto4.gotoAndPlay(2);
}
}
}
function uberazflasticky() {
panel.krvflasticka.krv._yscale = panel.life / 1.7;
}
function narazaj() {
myBounce = 0;
if (mapa.hitTest(hrdinafyzika.getBounds(_root).xMax, hrdinafyzika._y, true)) {
hrdinafyzika._x = hrdinafyzika._x - myBounce;
rvpravo = 0;
} else {
rvpravo = 1;
}
if (mapa.hitTest(hrdinafyzika.getBounds(_root).xMin, hrdinafyzika._y, true)) {
hrdinafyzika._x = hrdinafyzika._x + myBounce;
rvlavo = 0;
} else {
rvlavo = 1;
}
if (mapa.hitTest(hrdinafyzika._x, hrdinafyzika.getBounds(_root).yMax, true)) {
hrdinafyzika._y = hrdinafyzika._y - myBounce;
rdole = 0;
} else {
rdole = 1;
}
if (mapa.hitTest(hrdinafyzika._x, hrdinafyzika.getBounds(_root).yMin, true)) {
hrdinafyzika._y = hrdinafyzika._y + myBounce;
rhore = 0;
} else {
rhore = 1;
}
}
stop();
_quality = "MEDIUM";
fscommand ("fullscreen", true);
panel.experiences = 1;
panel.experience = panel.experience - 1;
panel.experience = panel.experience + 1;
panel.charlevel = 1;
panel.charlevel = panel.charlevel + 1;
panel.charlevel = panel.charlevel - 1;
panel.life = 200;
panel.life = panel.life - 1;
panel.life = panel.life + 1;
panel.speed = 1;
prehra._y = -5000;
rvpravo = 1;
rhore = 1;
rvlavo = 1;
rdole = 1;
a = 1;
e = 0;
l = 0;
k = 0;
smrt = 0;
nabite = 21;
dvereautoswitch1 = 0;
dvereautoswitch2 = 0;
dvereautoswitch3 = 0;
dvereautoswitch4 = 0;
k1 = (k2 = (k3 = 0));
keyboardswitch = 0;
onLoad = function () {
};
onEnterFrame = function () {
smrthrdinu();
if (smrt == 0) {
narazaj();
chod();
strielaj();
uberazflasticky();
predmety();
charlevelupp();
}
};
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 4;
rychlost = 1.8;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 3;
rychlost = 1.8;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 159 MovieClip in Frame 5
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 5;
rychlost = 2.2;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 155 MovieClip in Frame 5
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 3;
rychlost = 1.8;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 159 MovieClip in Frame 5
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 5;
rychlost = 2.2;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 262 MovieClip in Frame 6
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 10;
rychlost = 1.2;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 159 MovieClip in Frame 6
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 5;
rychlost = 2.2;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 262 MovieClip in Frame 6
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 20;
rychlost = 2.4;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 155 MovieClip in Frame 6
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 3;
rychlost = 1.8;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 159 MovieClip in Frame 6
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 5;
rychlost = 2.2;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 159 MovieClip in Frame 6
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 5;
rychlost = 2.2;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 159 MovieClip in Frame 6
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 5;
rychlost = 2.2;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 262 MovieClip in Frame 6
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 10;
rychlost = 1.2;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 155 MovieClip in Frame 6
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 3;
rychlost = 1.8;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 155 MovieClip in Frame 6
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 3;
rychlost = 1.8;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 155 MovieClip in Frame 6
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 3;
rychlost = 1.8;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 262 MovieClip in Frame 7
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 10;
rychlost = 2.2;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 262 MovieClip in Frame 7
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 10;
rychlost = 2.2;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 155 MovieClip in Frame 7
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 3;
rychlost = 1.8;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 155 MovieClip in Frame 7
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 3;
rychlost = 1.8;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 262 MovieClip in Frame 7
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 10;
rychlost = 2.2;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 159 MovieClip in Frame 7
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 5;
rychlost = 3.2;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 159 MovieClip in Frame 7
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 14;
rychlost = 4;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 159 MovieClip in Frame 7
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 5;
rychlost = 3.2;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 159 MovieClip in Frame 7
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 5;
rychlost = 3.2;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 155 MovieClip in Frame 7
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 3;
rychlost = 1.8;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 262 MovieClip in Frame 7
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 20;
rychlost = 2.4;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 262 MovieClip in Frame 7
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 20;
rychlost = 2.4;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 262 MovieClip in Frame 7
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 20;
rychlost = 2.4;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 283 MovieClip in Frame 7
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 35;
rychlost = 3;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 262 MovieClip in Frame 8
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 20;
rychlost = 2.4;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 283 MovieClip in Frame 8
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 24;
rychlost = 3;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 159 MovieClip in Frame 8
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 14;
rychlost = 4;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 159 MovieClip in Frame 8
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 14;
rychlost = 4;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 262 MovieClip in Frame 8
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 20;
rychlost = 2.4;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 155 MovieClip in Frame 8
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 15;
rychlost = 2.8;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 301 MovieClip in Frame 8
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 45;
rychlost = 3;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 301 MovieClip in Frame 9
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 45;
rychlost = 2.3;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 301 MovieClip in Frame 9
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 45;
rychlost = 2.3;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 283 MovieClip in Frame 9
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 35;
rychlost = 2.4;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 283 MovieClip in Frame 9
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 35;
rychlost = 2.4;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 283 MovieClip in Frame 9
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 28;
rychlost = 3.4;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 316 MovieClip in Frame 9
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 62;
rychlost = 3;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 159 MovieClip in Frame 9
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 5;
rychlost = 3.2;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 159 MovieClip in Frame 9
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 5;
rychlost = 3.2;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 159 MovieClip in Frame 9
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 5;
rychlost = 3.2;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 159 MovieClip in Frame 9
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 5;
rychlost = 3.2;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 159 MovieClip in Frame 9
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 5;
rychlost = 3.2;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 316 MovieClip in Frame 9
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 62;
rychlost = 3;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Instance of Symbol 343 MovieClip in Frame 10
onClipEvent (load) {
h = 0;
i = 0;
u = 0;
a = random(11);
sloboda = 1;
cas = random(60) + 20;
zivot = 101;
rychlost = 2.45;
}
onClipEvent (enterFrame) {
i = i + 1;
if ((sloboda == 1) and (zivot > 0)) {
if (i > cas) {
a = random(11);
i = 0;
}
if (a == 0) {
this._x = this._x - rychlost;
this._rotation = -90;
this.play(1);
}
if (a == 1) {
this._x = this._x + rychlost;
this._rotation = 90;
this.play(1);
}
if (a == 2) {
this._y = this._y - rychlost;
this._rotation = 0;
this.play(1);
}
if (a == 3) {
this._y = this._y + rychlost;
this._rotation = 180;
this.play(1);
}
if (a == 4) {
this._x = this._x - rychlost;
this._y = this._y + rychlost;
this._rotation = -135;
this.play(1);
}
if (a == 5) {
this._x = this._x + rychlost;
this._y = this._y - rychlost;
this._rotation = 45;
this.play(1);
}
if (a == 6) {
this._x = this._x - rychlost;
this._y = this._y - rychlost;
this._rotation = -45;
this.play(1);
}
if (a == 7) {
this._x = this._x + rychlost;
this._y = this._y + rychlost;
this._rotation = 135;
this.play(1);
}
if (((a == 8) or (a == 9)) or (a == 10)) {
gotoAndStop (51);
this._x = this._x + 0;
this._y = this._y + 0;
h = 0;
}
}
if (zivot > 0) {
if (_root.mapa.hitTest(this.getBounds(_root).xMax, this._y, true)) {
this._x = this._x - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 0;
}
}
if (_root.mapa.hitTest(this.getBounds(_root).xMin, this._y, true)) {
this._x = this._x + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 1;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMax, true)) {
this._y = this._y - (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 2;
}
}
if (_root.mapa.hitTest(this._x, this.getBounds(_root).yMin, true)) {
this._y = this._y + (rychlost * 2);
if (((((_root.dvere1detektor.hitTest(this) or _root.dvere2detektor.hitTest(this)) or _root.dvere3detektor.hitTest(this)) or _root.dvere4detektor.hitTest(this)) or _root.dvere5detektor.hitTest(this)) or _root.dvere6detektor.hitTest(this)) {
} else {
a = 3;
}
}
}
if (zivot <= 0) {
this.gotoAndStop(50);
u = u + 1;
if (u == 1) {
_root.panel.experiences = _root.panel.experiences + 1;
_root.mapa.dvere3.gotoAndPlay(2);
}
}
if ((_root.hrdina.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
h = h + 1;
if (h == 1) {
gotoAndPlay (53);
}
_root.panel.life = _root.panel.life - 1;
}
if (((!_root.hrdina.hitTest(this)) and (zivot > 0)) and (h != 0)) {
a = 9;
}
if (_root.gulka.hitTest(this) and (zivot > 0)) {
zivot = zivot - (_root.panel.charlevel + 1);
i = 9900;
_root.gulka.gotoAndPlay(1);
}
if ((_root.detektor.hitTest(this) and (zivot > 0)) and (_root.smrt == 0)) {
sloboda = 0;
this.play();
if ((_root.hrdina._x > this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x + rychlost;
this._rotation = -225;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x - rychlost;
this._rotation = -45;
}
if ((_root.hrdina._x > this._x) and (_root.hrdina._y < this._y)) {
this._y = this._y - rychlost;
this._x = this._x + rychlost;
this._rotation = 45;
}
if ((_root.hrdina._x < this._x) and (_root.hrdina._y > this._y)) {
this._y = this._y + rychlost;
this._x = this._x - rychlost;
this._rotation = 225;
}
} else {
sloboda = 1;
}
}
Frame 11
stop();
_quality = "HIGH";
Symbol 4 MovieClip Frame 1
stop();
Symbol 6 MovieClip [ball] Frame 1
stop();
Symbol 32 Button
on (release) {
getURL ("http://www.fastgames.com", "_self");
}
Symbol 33 Button
on (release) {
getURL ("http://www.paintedgames.com", "_self");
}
Symbol 38 MovieClip Frame 12
_parent.play();
stop();
Symbol 42 MovieClip Frame 10
stop();
Symbol 44 Button
on (release) {
getURL ("http://www.fastgames.com/", "_blank");
}
Symbol 45 MovieClip Frame 2
stop();
Symbol 45 MovieClip Frame 70
_root.gotoAndPlay(2);
Symbol 63 MovieClip Frame 61
_root.gotoAndPlay(3);
stop();
Symbol 89 Button
on (release) {
getURL ("http://www.fastgames.com", "_self");
}
Symbol 93 Button
on (release) {
getURL ("http://www.paintedgames.com", "_self");
}
Symbol 98 Button
on (release) {
_root.gotoAndPlay(5);
}
Symbol 127 MovieClip Frame 79
gotoAndPlay (1);
Symbol 132 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 6
stop();
Symbol 155 MovieClip Frame 9
gotoAndPlay (1);
Symbol 155 MovieClip Frame 50
stop();
Symbol 155 MovieClip Frame 51
stop();
Symbol 155 MovieClip Frame 52
gotoAndPlay (1);
Symbol 155 MovieClip Frame 60
gotoAndPlay (53);
Symbol 159 MovieClip Frame 12
gotoAndPlay (1);
Symbol 159 MovieClip Frame 50
stop();
Symbol 159 MovieClip Frame 51
stop();
Symbol 159 MovieClip Frame 52
gotoAndPlay (1);
Symbol 159 MovieClip Frame 64
gotoAndPlay (53);
Symbol 176 MovieClip Frame 13
gotoAndPlay (1);
Symbol 176 MovieClip Frame 20
stop();
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 6
stop();
Symbol 183 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 14
stop();
Symbol 235 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 56
gotoAndPlay (1);
Symbol 254 MovieClip Frame 67
stop();
Symbol 262 MovieClip Frame 12
gotoAndPlay (1);
Symbol 262 MovieClip Frame 50
stop();
Symbol 262 MovieClip Frame 51
stop();
Symbol 262 MovieClip Frame 52
gotoAndPlay (1);
Symbol 262 MovieClip Frame 64
gotoAndPlay (53);
Symbol 283 MovieClip Frame 12
gotoAndPlay (1);
Symbol 283 MovieClip Frame 50
stop();
Symbol 283 MovieClip Frame 51
stop();
Symbol 283 MovieClip Frame 52
gotoAndPlay (1);
Symbol 283 MovieClip Frame 64
gotoAndPlay (53);
Symbol 301 MovieClip Frame 12
gotoAndPlay (1);
Symbol 301 MovieClip Frame 50
stop();
Symbol 301 MovieClip Frame 51
stop();
Symbol 301 MovieClip Frame 52
gotoAndPlay (1);
Symbol 301 MovieClip Frame 64
gotoAndPlay (53);
Symbol 316 MovieClip Frame 12
gotoAndPlay (1);
Symbol 316 MovieClip Frame 50
stop();
Symbol 316 MovieClip Frame 51
stop();
Symbol 316 MovieClip Frame 52
gotoAndPlay (1);
Symbol 316 MovieClip Frame 64
gotoAndPlay (53);
Symbol 318 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 14
stop();
Symbol 319 MovieClip Frame 1
stop();
Symbol 319 MovieClip Frame 6
stop();
Symbol 343 MovieClip Frame 12
gotoAndPlay (1);
Symbol 343 MovieClip Frame 50
stop();
Symbol 343 MovieClip Frame 51
stop();
Symbol 343 MovieClip Frame 52
gotoAndPlay (1);
Symbol 343 MovieClip Frame 64
gotoAndPlay (53);
Symbol 344 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 6
stop();
Symbol 345 MovieClip Frame 1
stop();
Symbol 345 MovieClip Frame 14
stop();
Symbol 378 Button
on (release) {
_parent.showComments();
}
Symbol 383 MovieClip Frame 1
stop();
Symbol 383 MovieClip Frame 4
stop();
Symbol 385 MovieClip Frame 11
stop();
mochibot_btn.onPress = function () {
getURL ("http://www.mochibot.com?cpe=dT0yJmNwPUluZm8gUGFuZWwgTGluayZzPUZlZWRiYWNrIEJhciB2MQ%3D%3D", "_blank");
};
mochibot_btn.onRollOver = function () {
logo_mc.gotoAndPlay("in");
};
mochibot_btn.onRollOut = function () {
logo_mc.gotoAndPlay("out");
};
Symbol 388 Button
on (release) {
_parent.rateOpen();
}
Symbol 393 MovieClip Frame 1
stop();
_parent.init_rate_me();
Symbol 393 MovieClip Frame 10
stop();
Symbol 393 MovieClip Frame 18
stop();
Symbol 394 MovieClip Frame 1
function init_rate_me() {
cookie = SharedObject.getLocal("rate_me_limit");
var _local1 = cookie.data.year;
var _local4 = cookie.data.month;
var _local3 = cookie.data.date;
var _local5 = cookie.data.hour;
var _local6 = cookie.data.min;
var _local9 = cookie.data.sec;
cookieDate = new Date(_local1, _local4, _local3, _local5, _local6, _local9);
cookieMillisecs = cookieDate.getTime();
currentDate = new Date();
currentMillisecs = currentDate.getTime();
var _local8 = currentMillisecs - cookieMillisecs;
var _local7 = Math.floor(_local8 / 1000);
var _local2 = Math.floor(_local7 / 60);
var _local10 = Math.floor(_local2 / 60);
if ((_local2 < mochi_rate_me_time) && (_local1 != undefined)) {
get_rating();
}
}
function set_rate_me_cookie() {
cookie = SharedObject.getLocal("rate_me_limit");
var _local1 = new Date();
var _local4 = _local1.getFullYear();
var _local3 = _local1.getMonth();
var _local5 = _local1.getDate();
var _local7 = _local1.getHours();
var _local6 = _local1.getMinutes();
var _local2 = _local1.getSeconds();
cookie.data.year = _local4;
cookie.data.month = _local3;
cookie.data.date = _local5;
cookie.data.hour = _local7;
cookie.data.min = _local6;
cookie.data.sec = _local2;
cookie.flush();
}
function show_comment_pane() {
if (!comment_on) {
comment_on = true;
if (!help_on) {
gotoAndPlay ("comment_on");
} else {
help_on = false;
next_frame = "comment_on";
gotoAndPlay ("comment_off");
}
comment_btn_mc.gotoAndPlay("off");
} else {
comment_on = false;
next_frame = null;
gotoAndPlay ("comment_off");
comment_btn_mc.gotoAndPlay("off");
}
}
function show_help_pane() {
if (!help_on) {
help_on = true;
if (!comment_on) {
gotoAndPlay ("comment_on");
} else {
comment_on = false;
next_frame = "comment_on";
gotoAndPlay ("comment_off");
}
} else {
help_on = false;
next_frame = null;
gotoAndPlay ("comment_off");
}
}
function show_component(comment_on) {
if (!is_on) {
is_on = true;
gotoAndPlay ("component_on");
} else if (comment_on) {
next_frame = "component_off";
comment_on = false;
gotoAndPlay ("comment_off");
} else {
next_frame = null;
is_on = false;
gotoAndPlay ("component_off");
}
}
function clear_cookie() {
cookie = SharedObject.getLocal("rate_me_limit");
cookie.clear();
}
var mochibot_id = "d2402ade";
guide_mc._visible = false;
var mochi_rate_me_time = 720;
var mochi_vote_url = "http://www.mochibot.com/api/api-feedback.html";
var mochi_comment_url = "http://www.mochibot.com/api/api-feedback.html";
var mochi_public_comments_url = ("http://www.mochibot.com/shared/shared_feedback.html?swfid=" + mochibot_id);
var comment_on = false;
var help_on = false;
var is_on = false;
var next_frame = null;
_global.submit_vote = function (vote) {
get_rating();
panel_mc.rate_me.gotoAndPlay("out");
var _local3 = new LoadVars();
var _local4 = new LoadVars();
_local3.mochibot_id = mochibot_id;
_local3.vote = vote;
_local3.swfurl = _root._url;
_local4.onLoad = function () {
panel_mc.rate.score = this.score;
panel_mc.rate_me.gotoAndPlay("thanks");
};
_local3.sendAndLoad(mochi_vote_url, _local4, "POST");
set_rate_me_cookie();
};
_global.submit_comment = function (name_str, email_str, comment_str) {
var _local3 = new LoadVars();
var _local4 = new LoadVars();
_local3.name = name_str;
_local3.email = email_str;
_local3.comment = comment_str;
_local3.mochibot_id = mochibot_id;
_local3.swfurl = _root._url;
_local4.onLoad = function () {
if (this.invalidSwf == "true") {
panel_mc.gotoAndStop("error");
} else {
panel_mc.gotoAndStop("success");
}
};
_local3.sendAndLoad(mochi_comment_url, _local4, "POST");
};
_global.get_rating = function () {
panel_mc.rate_me.gotoAndStop("score");
var _local2 = new LoadVars();
var _local3 = new LoadVars();
_local2.mochibot_id = mochibot_id;
_local3.onLoad = function () {
panel_mc.rate_me.score = this.score;
panel_mc.rate_me.gotoAndPlay("score");
};
_local2.sendAndLoad(mochi_vote_url, _local3, "GET");
};
toggle_btn.onRelease = function () {
show_component();
};
toggle_btn.onRollOver = function () {
head_mc._alpha = 100;
bubble_mc.gotoAndPlay(2);
};
toggle_btn.onRollOut = function () {
head_mc._alpha = 50;
bubble_mc.gotoAndStop(1);
};
init_rate_me();
Symbol 394 MovieClip Frame 11
function showComments() {
getURL (mochi_public_comments_url, "_blank");
}
function showInfo() {
if (showingInfo == true) {
panel_mc.gotoAndStop("feedback");
showingInfo = false;
} else {
panel_mc.gotoAndStop("info");
showingInfo = true;
}
}
function rateOpen() {
play();
}
function valid() {
if ((panel_mc.comment_txt.text == undefined) || (panel_mc.comment_txt.text == "")) {
return(false);
}
return(true);
}
stop();
init_rate_me();
panel_mc.gotoAndStop(1);
panel_mc.btnSubmit.onPress = function () {
if (valid()) {
panel_mc.btnSubmit.enabled = false;
submit_comment(panel_mc.name_txt.text, panel_mc.email_txt.text, panel_mc.comment_txt.text);
}
};
Symbol 394 MovieClip Frame 21
stop();
Symbol 394 MovieClip Frame 27
gotoAndStop ("open");