Frame 1 (190 B)
loadedall = false;
_quality = "BEST";
starttime = new Date();
starttime = starttime.getTime();
rc._visible = false;
loadVariables ("menu.cf", "_root");
fscommand ("showmenu", false);
Frame 2 (442 B)
nowtime = new Date();
nowtime = nowtime.getTime();
deltatime = nowtime - starttime;
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
percent = Math.floor((loaded / total) * 100);
if (percent <= 99) {
starttime = new Date();
starttime = starttime.getTime();
}
if ((percent >= 99) & isFinite(percent)) {
gotoAndPlay (4);
}
prbar._xscale = percent;
if (deltatime > 120000) {
rc._visible = true;
}
Frame 3 (17 B)
gotoAndPlay (2);
Frame 4 (73 B)
loadedall = true;
Mouse.hide();
attachMovie("allsounds", "sounds", 0);
Frame 5 (68 B)
if (smenu == "true") {
fscommand ("showmenu", true);
stop();
}
Frame 6 (50 B)
_quality = "BEST";
startDrag ("pointer", true);
Instance of Symbol 108 MovieClip "pointer" in Frame 6 (144 B)
onClipEvent (mouseDown) {
isdown = true;
}
onClipEvent (mouseUp) {
isdown = false;
}
onClipEvent (mouseMove) {
updateAfterEvent(mouseMove);
}
Frame 8 (17 B)
gotoAndPlay (7);
Frame 9 (57 B)
_root.loadingvars = false;
startDrag ("pointer", true);
Instance of Symbol 108 MovieClip "pointer" in Frame 9 (86 B)
onClipEvent (mouseDown) {
isdown = true;
}
onClipEvent (mouseUp) {
isdown = false;
}
Frame 18 (70 B)
_level10.soundboom.volthis = 50;
_level10.soundboom.playthis = true;
Frame 26 (70 B)
_level10.soundboom.volthis = 30;
_level10.soundboom.playthis = true;
Frame 34 (70 B)
_level10.soundboom.volthis = 15;
_level10.soundboom.playthis = true;
Frame 38 (202 B)
_level10.soundboom.volthis = 10;
_level10.soundboom.playthis = true;
_root.loadingvars = false;
starttime = new Date();
starttime = starttime.getTime();
rc._visible = false;
tmm._visible = false;
Frame 39 (458 B)
nowtime = new Date();
nowtime = nowtime.getTime();
deltatime = nowtime - starttime;
if (!_root.loadingvars) {
loadVariables ((((((_root.basedurl + "/gamerecordhs.php?authlogin=") + login) + "&authpassw=") + passw) + "&score=") + scores, "_root.lv");
_root.loadingvars = true;
}
if (deltatime > 30000) {
rc._visible = true;
tmm._visible = true;
} else {
rc._visible = false;
}
if (lv.transmitted == "ok") {
gotoAndPlay (41);
}
Frame 40 (18 B)
gotoAndPlay (39);
Frame 41 (113 B)
if (lv.no != -1) {
_level0.marking = lv.no;
gotoAndPlay (121);
} else {
tmm._visible = true;
stop();
}
Frame 42 (17 B)
gotoAndPlay (6);
Instance of Symbol 157 MovieClip "her1" in Frame 43 (4.25 KiB) ●
onClipEvent (keyDown) {
if (Key.getCode() == 17) {
this.controlispressed = true;
} else {
_root.ipanel._visible = false;
_root.ipanel.infoobject.removeMovieClip();
}
if ((Key.getCode() == 39) & (this.cangor == true)) {
this.dowalk = 1;
this.hdirection = 1;
}
if ((Key.getCode() == 37) & (this.cangol == true)) {
this.dowalk = 1;
this.hdirection = -1;
}
if (Key.getCode() == 38) {
if (_root.ladders.hitTest(this._x, this._y, true) & (this.hdirection == 0)) {
this.dowalk = 1;
this.doladdering = 1;
this.vdirection = 1;
}
}
if (Key.getCode() == 40) {
if (_root.ladders.hitTest(this._x, this._y, true) & (this.hdirection == 0)) {
this.dowalk = 1;
this.doladdering = 1;
this.vdirection = -1;
}
}
if (Key.getCode() == 32) {
this.dojump = 1;
this.doladdering = 0;
this.vdirection = 0;
}
if (Key.getCode() == 49) {
canput = _root.engine.readquery("herkeep1");
if (this.controlispressed & (canput.length > 0)) {
_root.ipanel.packetno = "POCKET 1";
_root.ipanel.infotext = eval (("_root.getobjects." + canput) + ".infostring");
idname = eval (("_root.getobjects." + canput) + ".idname");
_root.ipanel.attachMovie(idname, "infoobject", 1);
setProperty("_root.ipanel.infoobject", _x , 150);
setProperty("_root.ipanel.infoobject", _y , 25);
setProperty("_root.ipanel.infoobject", _xscale , 150);
setProperty("_root.ipanel.infoobject", _yscale , 150);
_root.ipanel._visible = true;
} else {
_root.engine.doobject(1, canget, cangetpath, recepient, recepientpath, 0, _root.scene);
}
}
if (Key.getCode() == 50) {
canput = _root.engine.readquery("herkeep2");
if (this.controlispressed & (canput.length > 0)) {
_root.ipanel.packetno = "POCKET 2";
_root.ipanel.infotext = eval (("_root.getobjects." + canput) + ".infostring");
idname = eval (("_root.getobjects." + canput) + ".idname");
_root.ipanel.attachMovie(idname, "infoobject", 1);
setProperty("_root.ipanel.infoobject", _x , 150);
setProperty("_root.ipanel.infoobject", _y , 25);
setProperty("_root.ipanel.infoobject", _xscale , 150);
setProperty("_root.ipanel.infoobject", _yscale , 150);
_root.ipanel._visible = true;
} else {
_root.engine.doobject(2, canget, cangetpath, recepient, recepientpath, 46, _root.scene);
}
}
if (Key.getCode() == 51) {
canput = _root.engine.readquery("herkeep3");
if (this.controlispressed & (canput.length > 0)) {
_root.ipanel.packetno = "POCKET 3";
_root.ipanel.infotext = eval (("_root.getobjects." + canput) + ".infostring");
idname = eval (("_root.getobjects." + canput) + ".idname");
_root.ipanel.attachMovie(idname, "infoobject", 1);
setProperty("_root.ipanel.infoobject", _x , 150);
setProperty("_root.ipanel.infoobject", _y , 25);
setProperty("_root.ipanel.infoobject", _xscale , 150);
setProperty("_root.ipanel.infoobject", _yscale , 150);
_root.ipanel._visible = true;
} else {
_root.engine.doobject(3, canget, cangetpath, recepient, recepientpath, 92, _root.scene);
}
}
if (Key.getCode() == 52) {
canput = _root.engine.readquery("herkeep4");
if (this.controlispressed & (canput.length > 0)) {
_root.ipanel.packetno = "POCKET 4";
_root.ipanel.infotext = eval (("_root.getobjects." + canput) + ".infostring");
idname = eval (("_root.getobjects." + canput) + ".idname");
_root.ipanel.attachMovie(idname, "infoobject", 1);
setProperty("_root.ipanel.infoobject", _x , 150);
setProperty("_root.ipanel.infoobject", _y , 25);
setProperty("_root.ipanel.infoobject", _xscale , 150);
setProperty("_root.ipanel.infoobject", _yscale , 150);
_root.ipanel._visible = true;
} else {
_root.engine.doobject(4, canget, cangetpath, recepient, recepientpath, 138, _root.scene);
}
}
canget = "";
cangetpath = "";
recepient = "";
recepientpath = "";
updateAfterEvent(keyDown);
}
onClipEvent (keyUp) {
if (Key.getCode() == 17) {
this.controlispressed = false;
}
if (Key.getCode() == 39) {
this.hdirection = 0;
}
if (Key.getCode() == 37) {
this.hdirection = 0;
}
if (Key.getCode() == 38) {
this.dowalk = 0;
}
if (Key.getCode() == 40) {
this.dowalk = 0;
}
if (Key.getCode() == 32) {
this.dojump = 0;
}
if (Key.getCode() == 27) {
with (_root) {
gotoAndPlay("tomainmenu");
}
}
updateAfterEvent(keyUp);
}
Frame 44 (11 B)
scene = 1;
Instance of Symbol 76 MovieClip [smartzlodeishlem] "zlodeishlem" in Frame 44 (150 B)
//component parameters
onClipEvent (initialize) {
infostring = "shlem 4 zlodei Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam";
}
Frame 46 (13 B)
prevFrame();
Frame 48 (11 B)
scene = 2;
Frame 50 (13 B)
prevFrame();
Frame 53 (11 B)
scene = 3;
Instance of Symbol 244 MovieClip "spider1" in Frame 53 (68 B)
//component parameters
onClipEvent (initialize) {
spiderline = 5;
}
Instance of Symbol 74 MovieClip [smartdoorkey] "door1key" in Frame 53 (72 B)
//component parameters
onClipEvent (initialize) {
infostring = "---";
}
Frame 55 (13 B)
prevFrame();
Frame 58 (11 B)
scene = 4;
Frame 60 (13 B)
prevFrame();
Frame 63 (11 B)
scene = 5;
Frame 65 (13 B)
prevFrame();
Frame 68 (11 B)
scene = 6;
Frame 70 (13 B)
prevFrame();
Frame 73 (11 B)
scene = 7;
Frame 75 (13 B)
prevFrame();
Frame 78 (11 B)
scene = 8;
Instance of Symbol 244 MovieClip "spider3" in Frame 78 (68 B)
//component parameters
onClipEvent (initialize) {
spiderline = 3;
}
Instance of Symbol 74 MovieClip [smartdoorkey] "door2key" in Frame 78 (72 B)
//component parameters
onClipEvent (initialize) {
infostring = "---";
}
Frame 80 (13 B)
prevFrame();
Frame 83 (11 B)
scene = 9;
Frame 85 (13 B)
prevFrame();
Frame 88 (12 B)
scene = 10;
Instance of Symbol 244 MovieClip "spider5" in Frame 88 (69 B)
//component parameters
onClipEvent (initialize) {
spiderline = 10;
}
Frame 90 (13 B)
prevFrame();
Frame 93 (12 B)
scene = 11;
Instance of Symbol 71 MovieClip [smarttramline] "tramline1" in Frame 93 (142 B)
//component parameters
onClipEvent (initialize) {
infostring = "Rubber for trampoline Lorem ipsum dolor sit amet, consectetuer adipiscing";
}
Frame 95 (13 B)
prevFrame();
Frame 98 (12 B)
scene = 12;
Frame 100 (13 B)
prevFrame();
Frame 103 (12 B)
scene = 13;
Instance of Symbol 69 MovieClip [smartpuskajadro] "puskajadro" in Frame 103 (72 B)
//component parameters
onClipEvent (initialize) {
infostring = "---";
}
Frame 105 (13 B)
prevFrame();
Frame 108 (12 B)
scene = 14;
Instance of Symbol 67 MovieClip [smartlamp] "phonar" in Frame 108 (72 B)
//component parameters
onClipEvent (initialize) {
infostring = "---";
}
Frame 110 (13 B)
prevFrame();
Frame 113 (12 B)
scene = 15;
Frame 115 (13 B)
prevFrame();
Frame 118 (61 B)
_level0.sounds.backmusic.playthis = false;
gotoAndPlay (9);
Frame 119 (61 B)
_level0.sounds.backmusic.playthis = false;
gotoAndPlay (6);
Frame 120 (63 B)
_level0.sounds.backmusic.playthis = false;
gotoAndPlay (131);
Frame 121 (29 B)
loadMovieNum ("hs.swf", 20);
Frame 130 (8 B)
stop();
Frame 131 (65 B)
_quality = "BEST";
_level0.sounds.soundvzlet1.playthis = true;
Frame 195 (44 B)
_level0.sounds.soundvzlet2.playthis = true;
Instance of Symbol 108 MovieClip "pointer" in Frame 251 (86 B)
onClipEvent (mouseDown) {
isdown = true;
}
onClipEvent (mouseUp) {
isdown = false;
}
Frame 272 (81 B)
scorestring = (scores + " X 2 = ") + (scores * 2);
startDrag ("pointer", true);
Frame 311 (8 B)
stop();
Frame 312 (29 B)
startDrag ("pointer", true);
Instance of Symbol 108 MovieClip "pointer" in Frame 312 (144 B)
onClipEvent (mouseDown) {
isdown = true;
}
onClipEvent (mouseUp) {
isdown = false;
}
onClipEvent (mouseMove) {
updateAfterEvent(mouseMove);
}
Frame 321 (8 B)
stop();
Symbol 23 MovieClip [smartcatapultstone] Frame 1 (167 B)
idname = "smartcatapultstone";
if ((_root.engine.initquery(this._name, "0") != "0") & (targetPath(this).indexOf("objects") < 0)) {
this._visible = false;
}
Symbol 23 MovieClip [smartcatapultstone] Frame 2 (322 B)
realx = (this._x + _parent._x) + _parent._parent._x;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((_root.her1.hitTest(realx, realy) & _parent._visible) & this._visible) {
if (_root.her1.hitTest(realx, realy)) {
_root.her1.canget = this._name;
_root.her1.cangetpath = targetPath(this);
}
}
Symbol 23 MovieClip [smartcatapultstone] Frame 4 (17 B)
gotoAndPlay (2);
Symbol 25 MovieClip [smartpenknife] Frame 1 (162 B)
idname = "smartpenknife";
if ((_root.engine.initquery(this._name, "0") != "0") & (targetPath(this).indexOf("objects") < 0)) {
this._visible = false;
}
Symbol 25 MovieClip [smartpenknife] Frame 2 (322 B)
realx = (this._x + _parent._x) + _parent._parent._x;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((_root.her1.hitTest(realx, realy) & _parent._visible) & this._visible) {
if (_root.her1.hitTest(realx, realy)) {
_root.her1.canget = this._name;
_root.her1.cangetpath = targetPath(this);
}
}
Symbol 25 MovieClip [smartpenknife] Frame 4 (17 B)
gotoAndPlay (2);
Symbol 27 MovieClip [smartmatchbox] Frame 1 (162 B)
idname = "smartmatchbox";
if ((_root.engine.initquery(this._name, "0") != "0") & (targetPath(this).indexOf("objects") < 0)) {
this._visible = false;
}
Symbol 27 MovieClip [smartmatchbox] Frame 2 (322 B)
realx = (this._x + _parent._x) + _parent._parent._x;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((_root.her1.hitTest(realx, realy) & _parent._visible) & this._visible) {
if (_root.her1.hitTest(realx, realy)) {
_root.her1.canget = this._name;
_root.her1.cangetpath = targetPath(this);
}
}
Symbol 27 MovieClip [smartmatchbox] Frame 4 (17 B)
gotoAndPlay (2);
Symbol 29 MovieClip [smartbomba] Frame 1 (159 B)
idname = "smartbomba";
if ((_root.engine.initquery(this._name, "0") != "0") & (targetPath(this).indexOf("objects") < 0)) {
this._visible = false;
}
Symbol 29 MovieClip [smartbomba] Frame 2 (322 B)
realx = (this._x + _parent._x) + _parent._parent._x;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((_root.her1.hitTest(realx, realy) & _parent._visible) & this._visible) {
if (_root.her1.hitTest(realx, realy)) {
_root.her1.canget = this._name;
_root.her1.cangetpath = targetPath(this);
}
}
Symbol 29 MovieClip [smartbomba] Frame 4 (17 B)
gotoAndPlay (2);
Symbol 31 MovieClip [smartvedro] Frame 1 (159 B)
idname = "smartvedro";
if ((_root.engine.initquery(this._name, "0") != "0") & (targetPath(this).indexOf("objects") < 0)) {
this._visible = false;
}
Symbol 31 MovieClip [smartvedro] Frame 2 (322 B)
realx = (this._x + _parent._x) + _parent._parent._x;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((_root.her1.hitTest(realx, realy) & _parent._visible) & this._visible) {
if (_root.her1.hitTest(realx, realy)) {
_root.her1.canget = this._name;
_root.her1.cangetpath = targetPath(this);
}
}
Symbol 31 MovieClip [smartvedro] Frame 4 (17 B)
gotoAndPlay (2);
Symbol 33 MovieClip [smartengineold] Frame 1 (163 B)
idname = "smartengineold";
if ((_root.engine.initquery(this._name, "0") != "0") & (targetPath(this).indexOf("objects") < 0)) {
this._visible = false;
}
Symbol 33 MovieClip [smartengineold] Frame 2 (322 B)
realx = (this._x + _parent._x) + _parent._parent._x;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((_root.her1.hitTest(realx, realy) & _parent._visible) & this._visible) {
if (_root.her1.hitTest(realx, realy)) {
_root.her1.canget = this._name;
_root.her1.cangetpath = targetPath(this);
}
}
Symbol 33 MovieClip [smartengineold] Frame 4 (17 B)
gotoAndPlay (2);
Symbol 35 MovieClip [smartpropeller] Frame 1 (163 B)
idname = "smartpropeller";
if ((_root.engine.initquery(this._name, "0") != "0") & (targetPath(this).indexOf("objects") < 0)) {
this._visible = false;
}
Symbol 35 MovieClip [smartpropeller] Frame 2 (322 B)
realx = (this._x + _parent._x) + _parent._parent._x;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((_root.her1.hitTest(realx, realy) & _parent._visible) & this._visible) {
if (_root.her1.hitTest(realx, realy)) {
_root.her1.canget = this._name;
_root.her1.cangetpath = targetPath(this);
}
}
Symbol 35 MovieClip [smartpropeller] Frame 4 (17 B)
gotoAndPlay (2);
Symbol 37 MovieClip [smartgas] Frame 1 (157 B)
idname = "smartgas";
if ((_root.engine.initquery(this._name, "0") != "0") & (targetPath(this).indexOf("objects") < 0)) {
this._visible = false;
}
Symbol 37 MovieClip [smartgas] Frame 2 (322 B)
realx = (this._x + _parent._x) + _parent._parent._x;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((_root.her1.hitTest(realx, realy) & _parent._visible) & this._visible) {
if (_root.her1.hitTest(realx, realy)) {
_root.her1.canget = this._name;
_root.her1.cangetpath = targetPath(this);
}
}
Symbol 37 MovieClip [smartgas] Frame 4 (17 B)
gotoAndPlay (2);
Symbol 39 MovieClip [smartengine] Frame 1 (160 B)
idname = "smartengine";
if ((_root.engine.initquery(this._name, "0") != "0") & (targetPath(this).indexOf("objects") < 0)) {
this._visible = false;
}
Symbol 39 MovieClip [smartengine] Frame 2 (322 B)
realx = (this._x + _parent._x) + _parent._parent._x;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((_root.her1.hitTest(realx, realy) & _parent._visible) & this._visible) {
if (_root.her1.hitTest(realx, realy)) {
_root.her1.canget = this._name;
_root.her1.cangetpath = targetPath(this);
}
}
Symbol 39 MovieClip [smartengine] Frame 4 (17 B)
gotoAndPlay (2);
Symbol 41 MovieClip [smarthe] Frame 1 (156 B)
idname = "smarthe";
if ((_root.engine.initquery(this._name, "0") != "0") & (targetPath(this).indexOf("objects") < 0)) {
this._visible = false;
}
Symbol 41 MovieClip [smarthe] Frame 2 (322 B)
realx = (this._x + _parent._x) + _parent._parent._x;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((_root.her1.hitTest(realx, realy) & _parent._visible) & this._visible) {
if (_root.her1.hitTest(realx, realy)) {
_root.her1.canget = this._name;
_root.her1.cangetpath = targetPath(this);
}
}
Symbol 41 MovieClip [smarthe] Frame 4 (17 B)
gotoAndPlay (2);
Symbol 43 MovieClip [smartfirewood] Frame 1 (162 B)
idname = "smartfirewood";
if ((_root.engine.initquery(this._name, "0") != "0") & (targetPath(this).indexOf("objects") < 0)) {
this._visible = false;
}
Symbol 43 MovieClip [smartfirewood] Frame 2 (322 B)
realx = (this._x + _parent._x) + _parent._parent._x;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((_root.her1.hitTest(realx, realy) & _parent._visible) & this._visible) {
if (_root.her1.hitTest(realx, realy)) {
_root.her1.canget = this._name;
_root.her1.cangetpath = targetPath(this);
}
}
Symbol 43 MovieClip [smartfirewood] Frame 4 (17 B)
gotoAndPlay (2);
Symbol 45 MovieClip Frame 1 (144 B)
playthis = false;
thisvol = 20;
thissound = new Sound(this);
thissound.attachSound("backmusic");
thissound.stop();
thissound.setVolume(0);
Symbol 45 MovieClip Frame 3 (84 B)
if (playthis == false) {
gotoAndPlay (2);
} else {
thissound.start(0, 999);
}
Symbol 45 MovieClip Frame 5 (114 B)
if (thissound.getVolume() < thisvol) {
thissound.setVolume(thissound.getVolume() + 5);
gotoAndPlay (4);
}
Symbol 45 MovieClip Frame 7 (46 B)
if (playthis == true) {
gotoAndPlay (6);
}
Symbol 45 MovieClip Frame 9 (157 B)
if (thissound.getVolume() > 0) {
thissound.setVolume(thissound.getVolume() - 5);
gotoAndPlay (8);
} else {
thissound.stop();
gotoAndPlay (2);
}
Symbol 46 MovieClip Frame 1 (129 B)
playthis = false;
panthis = 0;
volthis = 50;
thissound = new Sound(this);
thissound.attachSound("apply");
thissound.stop();
Symbol 46 MovieClip Frame 3 (151 B)
if (playthis == true) {
thissound.setVolume(volthis);
thissound.setPan(panthis);
thissound.start(0, 1);
playthis = false;
}
gotoAndPlay (2);
Symbol 47 MovieClip Frame 1 (129 B)
playthis = false;
panthis = 0;
volthis = 40;
thissound = new Sound(this);
thissound.attachSound("click");
thissound.stop();
Symbol 47 MovieClip Frame 3 (151 B)
if (playthis == true) {
thissound.setVolume(volthis);
thissound.setPan(panthis);
thissound.start(0, 1);
playthis = false;
}
gotoAndPlay (2);
Symbol 48 MovieClip Frame 1 (133 B)
playthis = false;
panthis = 0;
volthis = 100;
thissound = new Sound(this);
thissound.attachSound("dooropen");
thissound.stop();
Symbol 48 MovieClip Frame 3 (151 B)
if (playthis == true) {
thissound.setVolume(volthis);
thissound.setPan(panthis);
thissound.start(0, 1);
playthis = false;
}
gotoAndPlay (2);
Symbol 49 MovieClip Frame 1 (233 B)
playthis = false;
panthis = 0;
volthis = 30;
s = false;
thissound1 = new Sound(this);
thissound1.attachSound("gurgle1");
thissound1.stop();
thissound2 = new Sound(this);
thissound2.attachSound("gurgle2");
thissound2.stop();
Symbol 49 MovieClip Frame 3 (296 B)
if (playthis == true) {
if (s) {
thissound1.setVolume(volthis);
thissound1.setPan(panthis);
thissound1.start(0, 0);
} else {
thissound2.setVolume(volthis);
thissound2.setPan(panthis);
thissound2.start(0, 0);
}
playthis = false;
s = !s;
} else {
gotoAndPlay (2);
}
Symbol 49 MovieClip Frame 7 (17 B)
gotoAndPlay (2);
Symbol 50 MovieClip Frame 1 (132 B)
playthis = false;
panthis = 0;
volthis = 100;
thissound1 = new Sound(this);
thissound1.attachSound("jump");
thissound1.stop();
Symbol 50 MovieClip Frame 3 (165 B)
if (playthis == true) {
thissound1.setVolume(volthis);
thissound1.setPan(panthis);
thissound1.start(0, 0);
playthis = false;
} else {
gotoAndPlay (2);
}
Symbol 50 MovieClip Frame 7 (17 B)
gotoAndPlay (2);
Symbol 51 MovieClip Frame 1 (133 B)
playthis = false;
panthis = 0;
volthis = 40;
thissound1 = new Sound(this);
thissound1.attachSound("ladder");
thissound1.stop();
Symbol 51 MovieClip Frame 3 (165 B)
if (playthis == true) {
thissound1.setVolume(volthis);
thissound1.setPan(panthis);
thissound1.start(0, 0);
playthis = false;
} else {
gotoAndPlay (2);
}
Symbol 51 MovieClip Frame 10 (17 B)
gotoAndPlay (2);
Symbol 52 MovieClip Frame 1 (129 B)
playthis = false;
panthis = 0;
volthis = 100;
thissound = new Sound(this);
thissound.attachSound("live");
thissound.stop();
Symbol 52 MovieClip Frame 3 (151 B)
if (playthis == true) {
thissound.setVolume(volthis);
thissound.setPan(panthis);
thissound.start(0, 1);
playthis = false;
}
gotoAndPlay (2);
Symbol 53 MovieClip Frame 1 (137 B)
playthis = false;
panthis = 0;
volthis = 100;
thissound = new Sound(this);
thissound.attachSound("regeneration");
thissound.stop();
Symbol 53 MovieClip Frame 3 (151 B)
if (playthis == true) {
thissound.setVolume(volthis);
thissound.setPan(panthis);
thissound.start(0, 1);
playthis = false;
}
gotoAndPlay (2);
Symbol 54 MovieClip Frame 1 (131 B)
playthis = false;
panthis = 0;
volthis = 50;
thissound = new Sound(this);
thissound.attachSound("scoreup");
thissound.stop();
Symbol 54 MovieClip Frame 3 (151 B)
if (playthis == true) {
thissound.setVolume(volthis);
thissound.setPan(panthis);
thissound.start(0, 1);
playthis = false;
}
gotoAndPlay (2);
Symbol 55 MovieClip Frame 1 (131 B)
playthis = false;
panthis = 0;
volthis = 70;
thissound1 = new Sound(this);
thissound1.attachSound("sink");
thissound1.stop();
Symbol 55 MovieClip Frame 3 (165 B)
if (playthis == true) {
thissound1.setVolume(volthis);
thissound1.setPan(panthis);
thissound1.start(0, 0);
playthis = false;
} else {
gotoAndPlay (2);
}
Symbol 55 MovieClip Frame 25 (36 B)
playthis = false;
gotoAndPlay (2);
Symbol 56 MovieClip Frame 1 (129 B)
playthis = false;
panthis = 0;
volthis = 100;
thissound = new Sound(this);
thissound.attachSound("take");
thissound.stop();
Symbol 56 MovieClip Frame 3 (151 B)
if (playthis == true) {
thissound.setVolume(volthis);
thissound.setPan(panthis);
thissound.start(0, 1);
playthis = false;
}
gotoAndPlay (2);
Symbol 57 MovieClip Frame 1 (132 B)
playthis = false;
panthis = 0;
volthis = 70;
thissound1 = new Sound(this);
thissound1.attachSound("yelp1");
thissound1.stop();
Symbol 57 MovieClip Frame 3 (165 B)
if (playthis == true) {
thissound1.setVolume(volthis);
thissound1.setPan(panthis);
thissound1.start(0, 0);
playthis = false;
} else {
gotoAndPlay (2);
}
Symbol 57 MovieClip Frame 10 (17 B)
gotoAndPlay (2);
Symbol 58 MovieClip Frame 1 (129 B)
playthis = false;
panthis = 0;
volthis = 100;
thissound = new Sound(this);
thissound.attachSound("kick");
thissound.stop();
Symbol 58 MovieClip Frame 3 (151 B)
if (playthis == true) {
thissound.setVolume(volthis);
thissound.setPan(panthis);
thissound.start(0, 1);
playthis = false;
}
gotoAndPlay (2);
Symbol 59 MovieClip Frame 1 (131 B)
playthis = false;
panthis = 0;
volthis = 100;
thissound = new Sound(this);
thissound.attachSound("launch");
thissound.stop();
Symbol 59 MovieClip Frame 3 (151 B)
if (playthis == true) {
thissound.setVolume(volthis);
thissound.setPan(panthis);
thissound.start(0, 1);
playthis = false;
}
gotoAndPlay (2);
Symbol 60 MovieClip Frame 1 (131 B)
playthis = false;
panthis = 0;
volthis = 100;
thissound = new Sound(this);
thissound.attachSound("pushka");
thissound.stop();
Symbol 60 MovieClip Frame 3 (151 B)
if (playthis == true) {
thissound.setVolume(volthis);
thissound.setPan(panthis);
thissound.start(0, 1);
playthis = false;
}
gotoAndPlay (2);
Symbol 61 MovieClip Frame 1 (143 B)
playthis = false;
panthis = 0;
volthis = 80;
timeout = 0;
thissound = new Sound(this);
thissound.attachSound("secur");
thissound.stop();
Symbol 61 MovieClip Frame 3 (229 B)
if ((playthis == true) & (timeout == 0)) {
thissound.setVolume(volthis);
thissound.setPan(panthis);
thissound.start(0, 1);
playthis = false;
timeout = 50;
}
if (timeout > 0) {
timeout--;
}
gotoAndPlay (2);
Symbol 62 MovieClip Frame 1 (133 B)
playthis = false;
panthis = 0;
volthis = 50;
thissound = new Sound(this);
thissound.attachSound("securkick");
thissound.stop();
Symbol 62 MovieClip Frame 3 (151 B)
if (playthis == true) {
thissound.setVolume(volthis);
thissound.setPan(panthis);
thissound.start(0, 1);
playthis = false;
}
gotoAndPlay (2);
Symbol 63 MovieClip Frame 1 (131 B)
playthis = false;
panthis = 0;
volthis = 100;
thissound = new Sound(this);
thissound.attachSound("vzlet1");
thissound.stop();
Symbol 63 MovieClip Frame 3 (151 B)
if (playthis == true) {
thissound.setVolume(volthis);
thissound.setPan(panthis);
thissound.start(0, 1);
playthis = false;
}
gotoAndPlay (2);
Symbol 64 MovieClip Frame 1 (131 B)
playthis = false;
panthis = 0;
volthis = 100;
thissound = new Sound(this);
thissound.attachSound("vzlet2");
thissound.stop();
Symbol 64 MovieClip Frame 3 (151 B)
if (playthis == true) {
thissound.setVolume(volthis);
thissound.setPan(panthis);
thissound.start(0, 1);
playthis = false;
}
gotoAndPlay (2);
Symbol 65 MovieClip [allsounds] Frame 2 (8 B)
stop();
Symbol 67 MovieClip [smartlamp] Frame 1 (158 B)
idname = "smartlamp";
if ((_root.engine.initquery(this._name, "0") != "0") & (targetPath(this).indexOf("objects") < 0)) {
this._visible = false;
}
Symbol 67 MovieClip [smartlamp] Frame 2 (322 B)
realx = (this._x + _parent._x) + _parent._parent._x;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((_root.her1.hitTest(realx, realy) & _parent._visible) & this._visible) {
if (_root.her1.hitTest(realx, realy)) {
_root.her1.canget = this._name;
_root.her1.cangetpath = targetPath(this);
}
}
Symbol 67 MovieClip [smartlamp] Frame 4 (17 B)
gotoAndPlay (2);
Symbol 69 MovieClip [smartpuskajadro] Frame 1 (164 B)
idname = "smartpuskajadro";
if ((_root.engine.initquery(this._name, "0") != "0") & (targetPath(this).indexOf("objects") < 0)) {
this._visible = false;
}
Symbol 69 MovieClip [smartpuskajadro] Frame 2 (322 B)
realx = (this._x + _parent._x) + _parent._parent._x;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((_root.her1.hitTest(realx, realy) & _parent._visible) & this._visible) {
if (_root.her1.hitTest(realx, realy)) {
_root.her1.canget = this._name;
_root.her1.cangetpath = targetPath(this);
}
}
Symbol 69 MovieClip [smartpuskajadro] Frame 4 (17 B)
gotoAndPlay (2);
Symbol 71 MovieClip [smarttramline] Frame 1 (162 B)
idname = "smarttramline";
if ((_root.engine.initquery(this._name, "0") != "0") & (targetPath(this).indexOf("objects") < 0)) {
this._visible = false;
}
Symbol 71 MovieClip [smarttramline] Frame 2 (322 B)
realx = (this._x + _parent._x) + _parent._parent._x;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((_root.her1.hitTest(realx, realy) & _parent._visible) & this._visible) {
if (_root.her1.hitTest(realx, realy)) {
_root.her1.canget = this._name;
_root.her1.cangetpath = targetPath(this);
}
}
Symbol 71 MovieClip [smarttramline] Frame 4 (17 B)
gotoAndPlay (2);
Symbol 73 MovieClip Frame 15 (8 B)
stop();
Symbol 74 MovieClip [smartdoorkey] Frame 1 (161 B)
idname = "smartdoorkey";
if ((_root.engine.initquery(this._name, "0") != "0") & (targetPath(this).indexOf("objects") < 0)) {
this._visible = false;
}
Symbol 74 MovieClip [smartdoorkey] Frame 2 (322 B)
realx = (this._x + _parent._x) + _parent._parent._x;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((_root.her1.hitTest(realx, realy) & _parent._visible) & this._visible) {
if (_root.her1.hitTest(realx, realy)) {
_root.her1.canget = this._name;
_root.her1.cangetpath = targetPath(this);
}
}
Symbol 74 MovieClip [smartdoorkey] Frame 4 (17 B)
gotoAndPlay (2);
Symbol 76 MovieClip [smartzlodeishlem] Frame 1 (165 B)
idname = "smartzlodeishlem";
if ((_root.engine.initquery(this._name, "0") != "0") & (targetPath(this).indexOf("objects") < 0)) {
this._visible = false;
}
Symbol 76 MovieClip [smartzlodeishlem] Frame 2 (322 B)
realx = (this._x + _parent._x) + _parent._parent._x;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((_root.her1.hitTest(realx, realy) & _parent._visible) & this._visible) {
if (_root.her1.hitTest(realx, realy)) {
_root.her1.canget = this._name;
_root.her1.cangetpath = targetPath(this);
}
}
Symbol 76 MovieClip [smartzlodeishlem] Frame 4 (17 B)
gotoAndPlay (2);
Symbol 91 Button (221 B)
on (release) {
_quality = "MEDIUM";
_level0.sounds.backmusic.playthis = true;
gotoAndPlay (48);
}
on (rollOver) {
_level0.sounds.soundtake.playthis = true;
}
on (press) {
_level0.sounds.soundclick.playthis = true;
}
Symbol 97 Button (163 B)
on (rollOver) {
_level0.sounds.soundtake.playthis = true;
}
on (press) {
_level0.sounds.soundclick.playthis = true;
getURL ("http://www.poonsy.com", "_self");
}
Symbol 101 Button (156 B)
on (release) {
gotoAndPlay (312);
}
on (rollOver) {
_level0.sounds.soundtake.playthis = true;
}
on (press) {
_level0.sounds.soundclick.playthis = true;
}
Symbol 108 MovieClip Frame 1 (16 B)
isdown = false;
Symbol 108 MovieClip Frame 3 (37 B)
if (!isdown) {
gotoAndPlay (2);
}
Symbol 108 MovieClip Frame 5 (65 B)
if (isdown) {
gotoAndPlay (4);
} else {
gotoAndPlay (2);
}
Symbol 117 Button (204 B)
on (release) {
this._visible = false;
_parent.starttime = new Date();
_parent.starttime = _parent.starttime.getTime();
_root.loadingvars = false;
}
on (press) {
_level10.soundclick.playthis = true;
}
Symbol 118 MovieClip Frame 1 (8 B)
stop();
Symbol 121 Button (125 B)
on (release) {
with (_root) {
gotoAndPlay("tomainmenugowinner");
}
}
on (press) {
_level10.soundclick.playthis = true;
}
Symbol 122 MovieClip Frame 1 (8 B)
stop();
Symbol 125 MovieClip Frame 1 (51 B)
jumping = 0;
i = 0;
vspeed = 0;
dropheight = 0;
Symbol 125 MovieClip Frame 2 (2.72 KiB) ●
newx = _parent._x;
newy = _parent._y;
if (_parent.dodie == 0) {
if ((_parent.hdirection == 1) & (_parent.cangor == true)) {
if (_root.water.hitTest(_parent._x, _parent._y, true)) {
newx = _parent._x + _parent.waterhgo;
} else {
newx = _parent._x + _parent.hgo;
}
if (_parent._xscale < 0) {
_parent._xscale = -_parent._xscale;
}
} else if ((_parent.hdirection == -1) & (_parent.cangol == true)) {
if (_root.water.hitTest(_parent._x, _parent._y, true)) {
newx = _parent._x - _parent.waterhgo;
} else {
newx = _parent._x - _parent.hgo;
}
if (_parent._xscale > 0) {
_parent._xscale = -_parent._xscale;
}
} else if (_parent.vdirection == 1) {
if (_parent.dowalk == 1) {
newy = _parent._y - _parent.hgo;
_parent.isladdering = 1;
if (!_root.ladders.hitTest(_parent._x, newy, true)) {
newy = _parent._y;
_parent.isladdering = 0;
}
}
} else if (_parent.vdirection == -1) {
if (_parent.dowalk == 1) {
newy = _parent._y + _parent.hgo;
}
_parent.isladdering = 1;
if (!_root.ladders.hitTest(_parent._x, newy, true)) {
newy = _parent._y;
_parent.isladdering = 0;
}
}
}
if (_parent.doladdering == 0) {
if (_root.water.hitTest(_parent._x, _parent._y, true)) {
vspeed = _parent.waterg;
dropheight = 0;
if (_parent.dojump & (_parent.dodie == 0)) {
vspeed = vspeed - _parent.waterjumpst;
}
if (_root.water.hitTest(_parent._x, newy + vspeed, true)) {
newy = newy + vspeed;
}
} else {
if ((((canjump == 1) & _parent.dojump) & (jumping == 0)) & (_parent.dodie == 0)) {
jumping = 1;
vspeed = -_parent.jumpst;
_level0.sounds.soundjump.panthis = (_root.her1._x - 320) / 4;
_level0.sounds.soundjump.playthis = true;
}
vspeed = vspeed + _parent.g;
if (Math.abs(vspeed) > 40) {
vspeed = (40 * Math.abs(vspeed)) / vspeed;
dropheight = dropheight + 1;
}
newy = newy + vspeed;
}
} else {
jumping = 0;
vspeed = 0;
canjump = 1;
dropheight = 0;
}
if (_root.mask.hitTest(newx, _parent._y, true)) {
_parent._x = newx;
}
if (_root.mask.hitTest(_parent._x, newy, true)) {
_parent._y = newy;
if (_parent.doladdering == 0) {
canjump = 0;
}
} else {
if (vspeed > 0) {
if (_root.water.hitTest(_parent._x, _parent._y, true)) {
var j = 1;
while (!_root.mask.hitTest(_parent._x, newy, true)) {
newy = newy - _parent.waterg;
j++;
}
} else {
var j = 1;
while (!_root.mask.hitTest(_parent._x, newy, true)) {
newy = newy - _parent.g;
j++;
}
jumping = 0;
canjump = 1;
if (dropheight >= 5) {
_root.hlife = _root.hlife - dropheight;
}
dropheight = 0;
}
_parent._y = newy;
}
vspeed = 0;
}
Symbol 125 MovieClip Frame 3 (17 B)
gotoAndPlay (2);
Symbol 129 MovieClip Frame 25 (17 B)
gotoAndPlay (1);
Symbol 133 MovieClip Frame 9 (17 B)
gotoAndPlay (1);
Symbol 137 MovieClip Frame 13 (17 B)
gotoAndPlay (1);
Symbol 138 MovieClip Frame 7 (17 B)
gotoAndPlay (1);
Symbol 140 MovieClip Frame 7 (17 B)
gotoAndPlay (1);
Symbol 145 MovieClip Frame 2 (62 B)
if ((!_parent.dojump) | this.visible) {
gotoAndPlay (1);
}
Symbol 145 MovieClip Frame 15 (17 B)
gotoAndPlay (1);
Symbol 147 MovieClip Frame 2 (62 B)
if ((!_parent.dojump) | this.visible) {
gotoAndPlay (1);
}
Symbol 147 MovieClip Frame 16 (17 B)
gotoAndPlay (1);
Symbol 151 MovieClip Frame 7 (17 B)
gotoAndPlay (1);
Symbol 153 MovieClip Frame 20 (17 B)
gotoAndPlay (1);
Symbol 156 MovieClip Frame 2 (44 B)
if (!_parent.dodie) {
gotoAndPlay (1);
}
Symbol 156 MovieClip Frame 50 (77 B)
if (_root.engine.regeneration()) {
gotoAndPlay (1);
} else {
stop();
}
Symbol 157 MovieClip Frame 1 (3.32 KiB) ●
function shownow(target) {
if (target == "stay") {
stay._visible = true;
walk._visible = false;
ladderup._visible = false;
ladderdown._visible = false;
jump._visible = false;
sjump._visible = false;
swim._visible = false;
swimstop._visible = false;
died._visible = false;
ladderhoriz._visible = false;
} else if (target == "walk") {
walk._visible = true;
stay._visible = false;
ladderup._visible = false;
ladderdown._visible = false;
jump._visible = false;
sjump._visible = false;
swim._visible = false;
swimstop._visible = false;
died._visible = false;
ladderhoriz._visible = false;
} else if (target == "ladderup") {
ladderup._visible = true;
stay._visible = false;
walk._visible = false;
ladderdown._visible = false;
jump._visible = false;
sjump._visible = false;
swim._visible = false;
swimstop._visible = false;
died._visible = false;
ladderhoriz._visible = false;
} else if (target == "ladderhoriz") {
ladderdown._visible = false;
stay._visible = false;
walk._visible = false;
ladderup._visible = false;
jump._visible = false;
sjump._visible = false;
swim._visible = false;
swimstop._visible = false;
died._visible = false;
ladderhoriz._visible = true;
} else if (target == "ladderdown") {
ladderdown._visible = true;
stay._visible = false;
walk._visible = false;
ladderup._visible = false;
jump._visible = false;
sjump._visible = false;
swim._visible = false;
swimstop._visible = false;
died._visible = false;
ladderhoriz._visible = false;
} else if (target == "jump") {
jump._visible = true;
stay._visible = false;
walk._visible = false;
ladderup._visible = false;
ladderdown._visible = false;
sjump._visible = false;
swim._visible = false;
swimstop._visible = false;
died._visible = false;
ladderhoriz._visible = false;
} else if (target == "sjump") {
sjump._visible = true;
stay._visible = false;
walk._visible = false;
ladderup._visible = false;
ladderdown._visible = false;
jump._visible = false;
swim._visible = false;
swimstop._visible = false;
died._visible = false;
ladderhoriz._visible = false;
} else if (target == "swim") {
swim._visible = true;
stay._visible = false;
walk._visible = false;
ladderup._visible = false;
ladderdown._visible = false;
jump._visible = false;
sjump._visible = false;
swimstop._visible = false;
died._visible = false;
ladderhoriz._visible = false;
} else if (target == "swimstop") {
swimstop._visible = true;
stay._visible = false;
walk._visible = false;
ladderup._visible = false;
ladderdown._visible = false;
jump._visible = false;
sjump._visible = false;
swim._visible = false;
died._visible = false;
ladderhoriz._visible = false;
} else if (target == "died") {
died._visible = true;
stay._visible = false;
walk._visible = false;
ladderup._visible = false;
ladderdown._visible = false;
jump._visible = false;
sjump._visible = false;
swim._visible = false;
swimstop._visible = false;
ladderhoriz._visible = false;
}
}
hgo = 10;
vgo = 10;
g = 5;
jumpst = 35;
waterhgo = 6;
waterg = 3;
waterjumpst = 10;
isfirst = 1;
doladdering = 0;
dojump = 0;
dodie = 0;
balln = 0;
canget = "";
this.controlispressed = false;
Symbol 157 MovieClip Frame 2 (2.46 KiB) ●
if (isfirst == 1) {
isfirst = 0;
stay._visible = true;
stay._alpha = 100;
walk._visible = false;
walk._alpha = 100;
ladderup._visible = false;
ladderup._alpha = 100;
ladderdown._visible = false;
ladderdown._alpha = 100;
jump._visible = false;
jump._alpha = 100;
sjump._visible = false;
sjump._alpha = 100;
hdirection = 0;
vdirection = 0;
swim._visible = false;
swim._alpha = 100;
swimstop._visible = false;
swimstop._alpha = 100;
died._visible = false;
died._alpha = 100;
ladderhoriz._alpha = 100;
ladderhoriz._visible = false;
cangor = true;
cangol = true;
}
if (dodie == 1) {
shownow("died");
doladdering = 0;
} else {
if (!_root.ladders.hitTest(this._x, this._y, true)) {
doladdering = 0;
}
if (_root.water.hitTest(this._x, this._y, true)) {
shownow("swim");
if ((hdirection == 0) & (dojump == 0)) {
shownow("swimstop");
} else {
vdirection = 0;
}
} else {
balln = 0;
if (hdirection == 1) {
if (tmotor.jumping) {
shownow("jump");
} else if (doladdering == 0) {
shownow("walk");
} else {
ladderhoriz.play();
shownow("ladderhoriz");
}
vdirection = 0;
}
if (hdirection == -1) {
if (tmotor.jumping) {
shownow("jump");
} else if (doladdering == 0) {
shownow("walk");
} else {
ladderhoriz.play();
shownow("ladderhoriz");
}
vdirection = 0;
}
if ((hdirection == 0) & (vdirection == 0)) {
if (tmotor.jumping) {
shownow("sjump");
} else if (doladdering == 0) {
shownow("stay");
} else {
ladderhoriz.stop();
shownow("ladderhoriz");
}
}
}
if (vdirection == 1) {
shownow("ladderup");
if (this.dowalk & (isladdering == 1)) {
ladderup.play();
_level0.sounds.soundladder.panthis = (this._x - 320) / 4;
_level0.sounds.soundladder.playthis = true;
} else {
ladderup.stop();
}
}
if (vdirection == -1) {
shownow("ladderdown");
if (this.dowalk & (isladdering == 1)) {
ladderdown.play();
_level0.sounds.soundladder.panthis = (this._x - 320) / 4;
_level0.sounds.soundladder.playthis = true;
} else {
ladderdown.stop();
}
}
}
if (_root.water.hitTest(this._x, this._y - 30, true)) {
if (_root.oxygen > 0) {
_root.oxygen = _root.oxygen - 0.3;
} else {
_root.oxygen = 0;
_root.hlife = _root.hlife - 0.2;
}
} else if (_root.oxygen < 100) {
_root.oxygen = _root.oxygen + 1;
} else {
_root.oxygen = 100;
}
Symbol 157 MovieClip Frame 3 (17 B)
gotoAndPlay (2);
Symbol 160 MovieClip Frame 10 (17 B)
gotoAndPlay (1);
Symbol 161 MovieClip Frame 1 (24 B)
curscene = _root.scene;
Symbol 161 MovieClip Frame 2 (359 B)
if (((curscene == _root.scene) & _root.water.hitTest(this._x + _parent._x, this._y + _parent._y, true)) & _root.mask.hitTest(this._x + _parent._x, this._y + _parent._y, true)) {
hsp = hsp + (1 - random(3));
vsp = vsp + 0.5;
this._y = this._y - vsp;
this._x = this._x + (hsp / 2);
} else {
removeMovieClip(this);
}
curscene = _root.scene;
Symbol 161 MovieClip Frame 3 (17 B)
gotoAndPlay (2);
Symbol 162 MovieClip Frame 1 (4.25 KiB) ●
function writequery(item, writestring) {
Set("_root.engine.varholder." + item, writestring);
}
function readquery(item) {
itemstring = eval ("_root.engine.varholder." + item);
if (itemstring == null) {
itemstring = "-1";
}
return(itemstring);
}
function initquery(item, initstring) {
itemstring = eval ("_root.engine.varholder." + item);
if (itemstring == null) {
itemstring = initstring;
Set("_root.engine.varholder." + item, initstring);
}
return(itemstring);
}
function doobject(slotno, canget, cangetpath, recepient, recepientpath, objx, sceneno) {
slot = "herkeep" + slotno;
canput = readquery(slot);
if (canput.length > 0) {
idname = eval (("_root.getobjects." + canput) + ".idname");
if ((recepient.length > 0) & (canput.indexOf(eval (recepientpath + ".canrecept")) > -1)) {
_level0.sounds.soundapply.playthis = true;
Set(recepientpath + ".received", eval (recepientpath + ".canrecept"));
Set(("_root.fl" + slotno) + ".go", true);
writequery(slot, "");
writequery(canput, "3");
removeMovieClip("_root.getobjects." + canput);
} else {
_level0.sounds.soundtake.playthis = true;
with (eval ("_root.visobjects.scene" + sceneno)) {
attachMovie(idname, canput, eval (("_root.visobjects.scene" + sceneno) + ".lastlayer"));
}
Set(("_root.visobjects.scene" + sceneno) + ".lastlayer", eval (("_root.visobjects.scene" + sceneno) + ".lastlayer") + 1);
dox = _root.her1._x - _root.visobjects._x;
doy = _root.her1._y - _root.visobjects._y;
setProperty((("_root.visobjects.scene" + sceneno) + ".") + canput, _x , dox);
setProperty((("_root.visobjects.scene" + sceneno) + ".") + canput, _y , doy);
writequery(slot, "");
writequery(canput, "2");
Set(((("_root.visobjects.scene" + sceneno) + ".") + canput) + ".infostring", eval (("_root.getobjects." + canput) + ".infostring"));
removeMovieClip("_root.getobjects." + canput);
}
} else if (canget.length > 0) {
_level0.sounds.soundtake.playthis = true;
idname = eval (cangetpath + ".idname");
_root.getobjects.attachMovie(idname, canget, slotno);
setProperty("_root.getobjects." + canget, _x , objx);
setProperty("_root.getobjects." + canget, _y , 0);
writequery(slot, canget);
writequery(canget, 1);
setProperty(cangetpath, _visible , false);
Set(("_root.getobjects." + canget) + ".infostring", eval (cangetpath + ".infostring"));
removeMovieClip(cangetpath);
}
}
function itinscene(sceneno, oldsceneno) {
if (readquery("scene" + sceneno) < 0) {
_root.visobjects.attachMovie("scenecont", "scene" + sceneno, sceneno);
setProperty("_root.visobjects.scene" + sceneno, _x , 0);
setProperty("_root.visobjects.scene" + sceneno, _y , 0);
writequery("scene" + sceneno, "1");
Set(("_root.visobjects.scene" + sceneno) + ".lastlayer", 0);
} else {
setProperty("_root.visobjects.scene" + sceneno, _visible , true);
}
if (readquery("scene" + oldsceneno) > 0) {
setProperty("_root.visobjects.scene" + oldsceneno, _visible , false);
}
}
function regeneration() {
_root.hlives--;
if (_root.hlives > 0) {
_root.her1.dodie = 0;
_root.hlife = 100;
retval = true;
_root.immortal = true;
_level0.sounds.soundregeneration.panthis = (_root.her1._x - 320) / 4;
_level0.sounds.soundregeneration.playthis = true;
} else {
retval = false;
_root.gameover = true;
}
return(retval);
}
_root.hlife = 100;
_root.hlives = 3;
_root.oxygen = 100;
_root.scores = 0;
_root.immortal = true;
_root.immortalc = 0;
tright = new Array("002", "003", "004", "005", "000", "007", "000", "000", "010", "000", "012", "013", "014", "015", "999");
tleft = new Array("000", "001", "002", "003", "004", "000", "006", "000", "000", "009", "000", "011", "012", "013", "014");
tdown = new Array("006", "000", "008", "009", "010", "000", "012", "013", "014", "015", "000", "000", "000", "000", "000");
tup = new Array("000", "000", "000", "000", "000", "001", "000", "003", "004", "005", "000", "007", "008", "009", "010");
_root.statenames = new Array();
_root.statevalues = new Array();
_root.gameover = false;
_root.gamewin = false;
nball = 100;
lastlayer = 50;
writequery("herkeep1", "");
writequery("herkeep2", "");
writequery("herkeep3", "");
writequery("herkeep4", "");
nowscene = 0;
Symbol 162 MovieClip Frame 2 (2.6 KiB) ●
if (_root.immortal) {
_root.immortalc++;
_root.hlife = 100;
if (Math.floor(_root.immortalc / 3) == (_root.immortalc / 3)) {
_root.mainheart._visible = !_root.mainheart._visible;
}
if (_root.immortalc > 59) {
_root.immortal = false;
_root.immortalc = 0;
_root.mainheart._visible = true;
}
}
if (_root.hlife <= 0) {
_root.her1.dodie = 1;
_root.hlife = 0;
}
if (_root.hlife > 100) {
_root.hlife = 100;
}
if ((oldscores < 1000) & (_root.scores >= 1000)) {
_root.hlives = _root.hlives + 1;
_level0.sounds.soundlive.playthis = true;
}
oldscores = _root.scores;
if (nowscene != _root.scene) {
itinscene(_root.scene, nowscene);
}
nowscene = _root.scene;
if (_root.her1.dodie == 0) {
if (_root.water.hitTest(_root.her1._x, _root.her1._y - 20, true)) {
if (Math.round(Math.random() * 10) == 1) {
nball++;
duplicateMovieClip (firstball, "ball" + nball, nball);
setProperty("ball" + nball, _x , _root.her1._x - this._x);
setProperty("ball" + nball, _y , (_root.her1._y - 20) - this._y);
if (_root.hlife < oldlife) {
_level0.sounds.soundsink.panthis = (_root.her1._x - 320) / 4;
_level0.sounds.soundsink.playthis = true;
} else {
_level0.sounds.soundgurgle.panthis = (_root.her1._x - 320) / 4;
_level0.sounds.soundgurgle.playthis = true;
}
}
} else {
if (_root.hlife < oldlife) {
_level0.sounds.soundyelp.panthis = (_root.her1._x - 320) / 4;
_level0.sounds.soundyelp.playthis = true;
}
nball = 100;
}
oldlife = _root.hlife;
}
if (_root.her1._x > 600) {
if (tright[_root.scene - 1] == "000") {
her1._x = her1._x - 5;
} else {
with (_root) {
her1._x = 40;
gotoAndPlay("init_" + tright[_root.scene - 1]);
her1.cangol = true;
her1.cangor = true;
}
}
}
if (_root.her1._x < 40) {
if (tleft[_root.scene - 1] == "000") {
her1._x = her1._x + 5;
} else {
with (_root) {
her1._x = 600;
gotoAndPlay("init_" + tleft[_root.scene - 1]);
her1.cangol = true;
her1.cangor = true;
}
}
}
if (_root.her1._y > 450) {
if (tdown[_root.scene - 1] == "000") {
her1._y = her1._y - 5;
} else {
with (_root) {
her1._y = 100;
gotoAndPlay("init_" + tdown[_root.scene - 1]);
her1.cangol = true;
her1.cangor = true;
}
}
}
if (_root.her1._y < 100) {
if (tup[_root.scene - 1] == "000") {
her1._y = her1._y + 5;
} else {
with (_root) {
her1._y = 450;
gotoAndPlay("init_" + tup[_root.scene - 1]);
her1.cangol = true;
her1.cangor = true;
}
}
}
if (_root.gameover) {
with (_root) {
gotoAndPlay("gameover");
}
}
Symbol 162 MovieClip Frame 3 (17 B)
gotoAndPlay (2);
Symbol 173 MovieClip Frame 1 (46 B)
oxout._visible = false;
ox._visible = false;
Symbol 173 MovieClip Frame 2 (231 B)
setProperty("hm", _yscale , 100 - _root.hlife);
setProperty("ox", _yscale , _root.oxygen);
if (_root.oxygen < 100) {
oxout._visible = true;
ox._visible = true;
} else {
oxout._visible = false;
ox._visible = false;
}
Symbol 173 MovieClip Frame 5 (17 B)
gotoAndPlay (2);
Symbol 180 MovieClip Frame 1 (43 B)
this._visible = false;
this._alpha = 100;
Symbol 180 MovieClip Frame 3 (13 B)
prevFrame();
Symbol 185 MovieClip Frame 1 (12 B)
go = false;
Symbol 185 MovieClip Frame 3 (33 B)
if (!go) {
gotoAndPlay (2);
}
Symbol 185 MovieClip Frame 26 (17 B)
gotoAndPlay (1);
Symbol 188 MovieClip Frame 2 (178 B)
if (oldhlives != _root.hlives) {
l1._visible = _root.hlives >= 2;
l2._visible = _root.hlives >= 3;
l3._visible = _root.hlives >= 4;
oldhlives = _root.hlives;
}
Symbol 188 MovieClip Frame 5 (17 B)
gotoAndPlay (2);
Symbol 204 MovieClip Frame 10 (17 B)
gotoAndPlay (1);
Symbol 205 MovieClip Frame 1 (162 B)
fi = 0;
hspeed = 0;
vspeed = 0;
dfi = (Math.random() * Math.PI) / 10;
u1 = (Math.random() * 4) - 2;
u2 = (Math.random() * 4) - 2;
hunter = 0;
counter = 0;
Symbol 205 MovieClip Frame 2 (2.01 KiB) ●
fi = fi + dfi;
if (fi >= (Math.PI*2)) {
fi = 0;
}
if (_root.her1.hitTest(this._x, this._y, true) & hunter) {
_root.hlife = _root.hlife - 1;
}
dx = this._x - _root.her1._x;
dy = (this._y - _root.her1._y) + 20;
if ((Math.sqrt((dx * dx) + (dy * dy)) < 300) & (hunter == 1)) {
eye._visible = true;
if (Math.abs(dx) > 1) {
hspeed = hspeed - ((2 * Math.abs(dx)) / dx);
}
if (Math.abs(dy) > 1) {
vspeed = vspeed - ((2 * Math.abs(dy)) / dy);
}
} else {
eye._visible = false;
}
if ((Math.sqrt((dx * dx) + (dy * dy)) < 10) & (hunter == 1)) {
hunter = 0;
hspeed = (-hspeed) * 2;
vspeed = (-vspeed) * 2;
}
if (counter == 4) {
u1 = (Math.random() * 4) - 2;
u2 = (Math.random() * 4) - 2;
dfi = (Math.random() * Math.PI) / 10;
hunter = 1;
i = 0;
while (i < 10) {
tx = this._x + ((((-this._x) + _root.her1._x) * i) / 10);
ty = this._y + ((((-this._y) + _root.her1._y) * i) / 10);
if (!(_root.mask.hitTest(tx, ty, true) & (!_root.water.hitTest(tx, ty, true)))) {
hunter = 0;
break;
}
i++;
}
} else if (counter > 20) {
counter = 0;
}
counter++;
newx = this._x;
newy = this._y;
newx = newx + hspeed;
newy = newy + vspeed;
if (hunter == 0) {
hspeed = (hspeed + (u1 * Math.cos(fi))) + (1 - (Math.random() * 2));
vspeed = (vspeed + (u2 * Math.sin(fi))) + (1 - (Math.random() * 2));
}
if (Math.abs(hspeed) > 3) {
hspeed = hspeed / 1.5;
}
if (Math.abs(vspeed) > 3) {
vspeed = vspeed / 1.5;
}
if (hspeed > 0) {
if (this._xscale < 0) {
this._xscale = -this._xscale;
}
} else if (this._xscale > 0) {
this._xscale = -_parent._xscale;
}
if (_root.mask.hitTest(newx, this._y, true) & (!_root.water.hitTest(newx, this._y, true))) {
this._x = newx;
} else {
hspeed = -hspeed;
}
if (_root.mask.hitTest(this._x, newy, true) & (!_root.water.hitTest(this._x, newy + 20, true))) {
this._y = newy;
} else {
vspeed = -vspeed;
}
hspeed = Math.round(hspeed * 100) / 100;
vspeed = Math.round(vspeed * 100) / 100;
Symbol 205 MovieClip Frame 3 (17 B)
gotoAndPlay (2);
Symbol 207 MovieClip Frame 1 (8 B)
stop();
Symbol 208 MovieClip Frame 1 (176 B)
aa = this._name;
if (_root.engine.initquery(this._name, "0") != "0") {
this._visible = false;
gotoAndStop (11);
out = true;
} else {
scoreplus = 1;
out = false;
}
Symbol 208 MovieClip Frame 2 (201 B)
if (_root.her1.hitTest(this._x, this._y, true)) {
_root.scores = _root.scores + scoreplus;
_root.engine.writequery(this._name, "1");
_level0.sounds.soundscoreup.playthis = true;
out = true;
}
Symbol 208 MovieClip Frame 3 (34 B)
if (!out) {
gotoAndPlay (2);
}
Symbol 208 MovieClip Frame 11 (32 B)
this._visible = false;
stop();
Symbol 209 MovieClip Frame 1 (176 B)
aa = this._name;
if (_root.engine.initquery(this._name, "0") != "0") {
this._visible = false;
gotoAndStop (11);
out = true;
} else {
scoreplus = 5;
out = false;
}
Symbol 209 MovieClip Frame 2 (201 B)
if (_root.her1.hitTest(this._x, this._y, true)) {
_root.scores = _root.scores + scoreplus;
_root.engine.writequery(this._name, "1");
_level0.sounds.soundscoreup.playthis = true;
out = true;
}
Symbol 209 MovieClip Frame 3 (34 B)
if (!out) {
gotoAndPlay (2);
}
Symbol 209 MovieClip Frame 11 (32 B)
this._visible = false;
stop();
Symbol 223 MovieClip Frame 1 (248 B)
canrecept = this._name + "key";
correctx = -60;
if (_root.engine.initquery(this._name, "0") == "0") {
d1._visible = true;
d2._visible = false;
received = "";
} else {
d1._visible = false;
d2._visible = true;
received = canrecept;
}
Symbol 223 MovieClip Frame 2 (815 B)
if (_root.her1.hitTest(this._x - 30, this._y, true) & d1._visible) {
_root.her1.cangor = false;
} else if ((_root.her1.hdirection == -1) | (!d1._visible)) {
_root.her1.cangor = true;
}
realx = ((this._x + _parent._x) + _parent._parent._x) + correctx;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((((received != canrecept) & _root.her1.hitTest(realx, realy)) & _parent._visible) & this._visible) {
_root.her1.recepient = this._name;
_root.her1.recepientpath = targetPath(this);
}
if (received != receivedold) {
if (received == canrecept) {
d1._visible = false;
d2._visible = true;
if (_root.engine.readquery(this._name) == "0") {
_level0.sounds.sounddooropen.playthis = true;
}
_root.engine.writequery(this._name, "1");
}
}
receivedold = received;
Symbol 223 MovieClip Frame 3 (17 B)
gotoAndPlay (2);
Symbol 233 MovieClip Frame 21 (17 B)
gotoAndPlay (1);
Symbol 234 MovieClip Frame 1 (162 B)
fi = 0;
hspeed = 0;
vspeed = 0;
dfi = (Math.random() * Math.PI) / 10;
u1 = (Math.random() * 4) - 2;
u2 = (Math.random() * 4) - 2;
hunter = 0;
counter = 0;
Symbol 234 MovieClip Frame 2 (2.02 KiB) ●
fi = fi + dfi;
if (fi >= (Math.PI*2)) {
fi = 0;
}
if (_root.her1.hitTest(this._x, this._y, true) & hunter) {
_root.hlife = _root.hlife - 1;
}
dx = this._x - _root.her1._x;
dy = (this._y - _root.her1._y) + 20;
if ((Math.sqrt((dx * dx) + (dy * dy)) < 300) & (hunter == 1)) {
body.eye._visible = true;
if (Math.abs(dx) > 1) {
hspeed = hspeed - ((2 * Math.abs(dx)) / dx);
}
if (Math.abs(dy) > 1) {
vspeed = vspeed - ((2 * Math.abs(dy)) / dy);
}
} else {
body.eye._visible = false;
}
if ((Math.sqrt((dx * dx) + (dy * dy)) < 10) & (hunter == 1)) {
hunter = 0;
hspeed = (-hspeed) * 2;
vspeed = (-vspeed) * 2;
}
if (counter == 4) {
u1 = (Math.random() * 4) - 2;
u2 = (Math.random() * 4) - 2;
dfi = (Math.random() * Math.PI) / 10;
hunter = 1;
i = 0;
while (i < 10) {
tx = this._x + ((((-this._x) + _root.her1._x) * i) / 10);
ty = this._y + ((((-this._y) + _root.her1._y) * i) / 10);
if (!(_root.mask.hitTest(tx, ty, true) & (!_root.water.hitTest(tx, ty, true)))) {
hunter = 0;
break;
}
i++;
}
} else if (counter > 40) {
counter = 0;
}
counter++;
newx = this._x;
newy = this._y;
newx = newx + hspeed;
newy = newy + vspeed;
if (hunter == 0) {
hspeed = (hspeed + (u1 * Math.cos(fi))) + (1 - (Math.random() * 2));
vspeed = (vspeed + (u2 * Math.sin(fi))) + (1 - (Math.random() * 2));
}
if (Math.abs(hspeed) > 2) {
hspeed = hspeed / 1.5;
}
if (Math.abs(vspeed) > 3) {
vspeed = vspeed / 1.5;
}
if (hspeed > 0) {
if (this._xscale < 0) {
this._xscale = -this._xscale;
}
} else if (this._xscale > 0) {
this._xscale = -_parent._xscale;
}
if (_root.mask.hitTest(newx, this._y, true) & (!_root.water.hitTest(newx, this._y, true))) {
this._x = newx;
} else {
hspeed = -hspeed;
}
if (_root.mask.hitTest(this._x, newy, true) & (!_root.water.hitTest(this._x, newy + 20, true))) {
this._y = newy;
} else {
vspeed = -vspeed;
}
hspeed = Math.round(hspeed * 100) / 100;
vspeed = Math.round(vspeed * 100) / 100;
Symbol 234 MovieClip Frame 3 (17 B)
gotoAndPlay (2);
Symbol 243 MovieClip Frame 8 (17 B)
gotoAndPlay (2);
Symbol 244 MovieClip Frame 1 (91 B)
fi = 0;
counter = 0;
counter1 = 0;
scalespeed = 8;
period = 40 + (15 * Math.random());
Symbol 244 MovieClip Frame 2 (890 B)
point = new object();
point._x = spider._x;
point._y = spider._y;
spider.localToGlobal(point);
if (_root.her1.hitTest(this._x + spider._x, this._y + spider._y, true)) {
_root.hlife = _root.hlife - 1;
scalespeed = -40;
}
fi = (70 * Math.sin(((Math.PI*2) * counter) / period)) / (line._yscale / 100);
counter++;
counter1++;
if (counter > period) {
counter = 0;
}
if (counter1 > 10) {
counter1 = 0;
}
if (counter1 == 3) {
scalespeed = (scalespeed - 8) + (16 * Math.random());
}
line._rotation = fi;
newscale = line._yscale + scalespeed;
if ((newscale > 100) & (newscale < (spiderline * 100))) {
line._yscale = newscale;
} else {
scalespeed = (-scalespeed) / 2;
}
if (scalespeed > 24) {
scalespeed = scalespeed / 1.5;
}
spider._x = (((-Math.sin((fi * Math.PI) / 180)) * 40) * line._yscale) / 200;
spider._y = (40 * line._yscale) / 200;
Symbol 244 MovieClip Frame 3 (17 B)
gotoAndPlay (2);
Symbol 248 MovieClip Frame 7 (17 B)
gotoAndPlay (1);
Symbol 249 MovieClip Frame 1 (162 B)
fi = 0;
hspeed = 0;
vspeed = 0;
dfi = (Math.random() * Math.PI) / 10;
u1 = (Math.random() * 4) - 2;
u2 = (Math.random() * 4) - 2;
hunter = 0;
counter = 0;
Symbol 249 MovieClip Frame 2 (2.02 KiB) ●
fi = fi + dfi;
if (fi >= (Math.PI*2)) {
fi = 0;
}
if (_root.her1.hitTest(this._x, this._y, true) & hunter) {
_root.hlife = _root.hlife - 1;
}
dx = this._x - _root.her1._x;
dy = (this._y - _root.her1._y) + 20;
if ((Math.sqrt((dx * dx) + (dy * dy)) < 300) & (hunter == 1)) {
body.eye._visible = true;
if (Math.abs(dx) > 1) {
hspeed = hspeed - ((2 * Math.abs(dx)) / dx);
}
if (Math.abs(dy) > 1) {
vspeed = vspeed - ((2 * Math.abs(dy)) / dy);
}
} else {
body.eye._visible = false;
}
if ((Math.sqrt((dx * dx) + (dy * dy)) < 10) & (hunter == 1)) {
hunter = 0;
hspeed = (-hspeed) * 2;
vspeed = (-vspeed) * 2;
}
if (counter == 4) {
u1 = (Math.random() * 4) - 2;
u2 = (Math.random() * 4) - 2;
dfi = (Math.random() * Math.PI) / 10;
hunter = 1;
i = 0;
while (i < 10) {
tx = this._x + ((((-this._x) + _root.her1._x) * i) / 10);
ty = this._y + ((((-this._y) + _root.her1._y) * i) / 10);
if (!(_root.mask.hitTest(tx, ty, true) & (!_root.water.hitTest(tx, ty, true)))) {
hunter = 0;
break;
}
i++;
}
} else if (counter > 20) {
counter = 0;
}
counter++;
newx = this._x;
newy = this._y;
newx = newx + hspeed;
newy = newy + vspeed;
if (hunter == 0) {
hspeed = (hspeed + (u1 * Math.cos(fi))) + (1 - (Math.random() * 2));
vspeed = (vspeed + (u2 * Math.sin(fi))) + (1 - (Math.random() * 2));
}
if (Math.abs(hspeed) > 3) {
hspeed = hspeed / 1.5;
}
if (Math.abs(vspeed) > 3) {
vspeed = vspeed / 1.5;
}
if (hspeed > 0) {
if (this._xscale < 0) {
this._xscale = -this._xscale;
}
} else if (this._xscale > 0) {
this._xscale = -_parent._xscale;
}
if (_root.mask.hitTest(newx, this._y, true) & (!_root.water.hitTest(newx, this._y, true))) {
this._x = newx;
} else {
hspeed = -hspeed;
}
if (_root.mask.hitTest(this._x, newy, true) & (!_root.water.hitTest(this._x, newy + 20, true))) {
this._y = newy;
} else {
vspeed = -vspeed;
}
hspeed = Math.round(hspeed * 100) / 100;
vspeed = Math.round(vspeed * 100) / 100;
Symbol 249 MovieClip Frame 3 (17 B)
gotoAndPlay (2);
Symbol 255 MovieClip Frame 30 (17 B)
gotoAndPlay (1);
Symbol 259 MovieClip Frame 1 (128 B)
if (_root.engine.initquery(this._name, "0") == "1") {
gotoAndStop (11);
received = "";
} else {
received = canrecept;
}
Symbol 259 MovieClip Frame 2 (559 B)
if (_root.her1.hitTest(this._x + 120, this._y, true) || (_root.her1.hitTest(this._x + 20, this._y, true))) {
_level0.sounds.soundkick.panthis = (this._x - 320) / 4;
_level0.sounds.soundkick.playthis = true;
gotoAndPlay (4);
}
realx = ((this._x + _parent._x) + _parent._parent._x) + correctx;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((((received != canrecept) & _root.her1.hitTest(realx, realy)) & _parent._visible) & this._visible) {
_root.her1.recepient = this._name;
_root.her1.recepientpath = targetPath(this);
}
Symbol 259 MovieClip Frame 3 (17 B)
gotoAndPlay (2);
Symbol 259 MovieClip Frame 7 (36 B)
_root.her1._x = _root.her1._x + 60;
Symbol 259 MovieClip Frame 8 (69 B)
_root.her1.tmotor.vspeed = -50;
_root.her1._x = _root.her1._x + 50;
Symbol 259 MovieClip Frame 9 (36 B)
_root.her1._x = _root.her1._x + 40;
Symbol 259 MovieClip Frame 10 (87 B)
_root.her1._x = _root.her1._x + 20;
_root.hlife = _root.hlife - 50;
gotoAndPlay (2);
Symbol 259 MovieClip Frame 11 (8 B)
stop();
Symbol 264 MovieClip Frame 1 (8 B)
stop();
Symbol 266 MovieClip Frame 2 (42 B)
if (_parent.idle) {
gotoAndPlay (1);
}
Symbol 266 MovieClip Frame 40 (39 B)
_parent.idle = true;
gotoAndPlay (1);
Symbol 268 MovieClip Frame 1 (205 B)
nowresult = _root.engine.initquery(this._name, "0");
if (nowresult == "0") {
canrecept = "puskajadro";
idle = true;
} else if (nowresult == "1") {
canrecept = "";
idle = true;
}
correctx = 30;
Symbol 268 MovieClip Frame 2 (684 B)
if (received != receivedold) {
nowresult = _root.engine.readquery(this._name);
if (received == canrecept) {
if (nowresult == "0") {
_root.engine.writequery(this._name, "1");
canrecept = "";
_level0.sounds.soundpushka.playthis = true;
idle = false;
}
}
nowresult = _root.engine.readquery(this._name);
}
receivedold = received;
realx = ((this._x + _parent._x) + _parent._parent._x) + correctx;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((((received != canrecept) & _root.her1.hitTest(realx, realy)) & _parent._visible) & this._visible) {
_root.her1.recepient = this._name;
_root.her1.recepientpath = targetPath(this);
}
Symbol 268 MovieClip Frame 4 (17 B)
gotoAndPlay (2);
Symbol 278 MovieClip Frame 1 (57 B)
if (_parent.immediatelywelcome) {
gotoAndStop (32);
}
Symbol 278 MovieClip Frame 2 (112 B)
if (_parent.immediatelywelcome) {
gotoAndStop (32);
} else if (!_parent.uarewelcome) {
gotoAndPlay (1);
}
Symbol 278 MovieClip Frame 32 (8 B)
stop();
Symbol 280 MovieClip Frame 40 (17 B)
gotoAndPlay (1);
Symbol 285 MovieClip Frame 2 (42 B)
if (_parent.idle) {
gotoAndPlay (1);
}
Symbol 285 MovieClip Frame 7 (69 B)
_root.her1._x = _root.her1._x + 30;
_root.hlife = _root.hlife - 30;
Symbol 285 MovieClip Frame 8 (69 B)
_root.her1.tmotor.vspeed = -30;
_root.her1._x = _root.her1._x + 20;
Symbol 285 MovieClip Frame 9 (36 B)
_root.her1._x = _root.her1._x + 15;
Symbol 285 MovieClip Frame 10 (36 B)
_root.her1._x = _root.her1._x + 10;
Symbol 285 MovieClip Frame 12 (68 B)
_parent.idle = true;
_parent.waitbeforekick = 0;
gotoAndPlay (1);
Symbol 286 MovieClip Frame 1 (57 B)
if (_parent.immediatelywelcome) {
gotoAndStop (15);
}
Symbol 286 MovieClip Frame 2 (112 B)
if (_parent.immediatelywelcome) {
gotoAndStop (15);
} else if (!_parent.uarewelcome) {
gotoAndPlay (1);
}
Symbol 286 MovieClip Frame 15 (8 B)
stop();
Symbol 287 MovieClip Frame 1 (308 B)
if (_root.engine.initquery(this._name, "0") == "0") {
canrecept = "zlodeishlem";
uarewelcome = false;
immediatelywelcome = false;
z3._alpha = 100;
} else {
canrecept = "";
uarewelcome = false;
immediatelywelcome = true;
z1._alpha = 100;
}
idle = true;
waitbeforekick = 0;
correctx = 90;
Symbol 287 MovieClip Frame 2 (1.53 KiB) ●
if (received != receivedold) {
nowresult = _root.engine.readquery(this._name);
if (received == canrecept) {
if (nowresult == "0") {
_root.engine.writequery(this._name, "1");
canrecept = "";
uarewelcome = true;
}
}
}
nowresult = _root.engine.readquery(this._name);
receivedold = received;
if (nowresult == "0") {
if (_root.her1.hitTest(this._x + 60, this._y + 20, true) || (_root.her1.hitTest(this._x + 60, this._y - 20, true))) {
_root.her1.cangol = false;
} else {
_root.her1.cangol = true;
}
if (_root.her1.hitTest(this._x + 90, this._y + 20, true) || (_root.her1.hitTest(this._x + 90, this._y - 20, true))) {
if (waitbeforekick == 0) {
_level0.sounds.soundsecur.playthis = true;
}
z2._alpha = 100;
z2._visible = true;
z3._visible = false;
waitbeforekick++;
} else {
z3._visible = true;
z2._visible = false;
waitbeforekick = 0;
}
if (waitbeforekick > 40) {
if (waitbeforekick == 41) {
_level0.sounds.soundsecurkick.playthis = true;
}
z3._visible = true;
z2._visible = false;
idle = false;
}
} else {
z3._visible = false;
z2._visible = false;
z1._alpha = 100;
z1._visible = true;
_root.her1.cangol = true;
gotoAndStop (4);
}
realx = ((this._x + _parent._x) + _parent._parent._x) + correctx;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((((received != canrecept) & _root.her1.hitTest(realx, realy)) & _parent._visible) & this._visible) {
_root.her1.recepient = this._name;
_root.her1.recepientpath = targetPath(this);
}
Symbol 287 MovieClip Frame 3 (17 B)
gotoAndPlay (2);
Symbol 287 MovieClip Frame 4 (8 B)
stop();
Symbol 299 MovieClip Frame 1 (13 B)
counter = 0;
Symbol 299 MovieClip Frame 3 (125 B)
if ((!_parent.hunter) & (counter < 20)) {
gotoAndPlay (2);
}
counter++;
if (counter > 20) {
counter = 0;
}
Symbol 299 MovieClip Frame 7 (36 B)
_parent.speed = _parent.speed + 20;
Symbol 299 MovieClip Frame 12 (17 B)
gotoAndPlay (1);
Symbol 300 MovieClip Frame 1 (129 B)
fi = 360 * Math.random();
fispeed = 0;
hunter = 0;
counter = 0;
speed = 0;
t = 0.5 - Math.random();
pt1 = Math.abs(t) / t;
Symbol 300 MovieClip Frame 2 (2.3 KiB) ●
if (_root.her1.hitTest(this._x, this._y, true) & hunter) {
_root.hlife = _root.hlife - 1;
}
if (counter == 5) {
t = 0.5 - Math.random();
pt = Math.abs(t) / t;
}
if (counter == 4) {
hunter = 1;
i = 0;
while (i < 10) {
tx = this._x + ((((-this._x) + _root.her1._x) * i) / 10);
ty = this._y + ((((-this._y) + _root.her1._y) * i) / 10);
if (!(_root.mask.hitTest(tx, ty, true) & _root.water.hitTest(tx, ty, true))) {
hunter = 0;
break;
}
i++;
}
}
if (Math.abs(fispeed) > 10) {
fispeed = fispeed / 1.3;
}
if (speed > 5) {
speed = speed / 1.2;
}
if (speed < 0.1) {
speed = speed + 0.5;
}
if (hunter) {
speed = speed + 1;
body.eye._visible = true;
if (speed > 6) {
speed = speed / 1.2;
}
} else {
body.eye._visible = false;
if (speed > 3) {
speed = speed / 1.2;
}
speed = (speed - 1) + (Math.random() * 2);
}
counter++;
if (counter > 30) {
counter = 0;
}
fi = fi + fispeed;
if (Math.abs(fi) > 360) {
fi = fi - ((360 * Math.abs(fi)) / fi);
}
newx = this._x + ((speed * Math.cos((fi * Math.PI) / 180)) / 2);
newy = this._y + ((speed * Math.sin((fi * Math.PI) / 180)) / 2);
t1 = _root.mask.hitTest(newx, this._y, true) & _root.water.hitTest(newx, this._y, true);
t2 = _root.mask.hitTest(this._x, newy, true) & _root.water.hitTest(this._x, newy, true);
if (t1) {
this._x = newx;
} else {
fi = fi + (pt * 10);
}
if (t2) {
this._y = newy;
} else {
fi = fi + (pt * 10);
}
if ((t1 & t2) & (!hunter)) {
if (Math.random() > 0.7) {
fispeed = (fispeed - 1) + (Math.random() * 2);
}
if (Math.random() > 0.9) {
fispeed = (-fispeed) / 2;
}
}
dx = (-this._x) + _root.her1._x;
dy = (-this._y) + _root.her1._y;
if ((t1 & t2) & hunter) {
t3 = (Math.atan(dy / dx) * 180) / Math.PI;
if ((dx < 0) & (dy > 0)) {
t3 = 180 + t3;
}
if ((dx < 0) & (dy < 0)) {
t3 = -180 + t3;
}
if ((((Math.abs(dfi) / dfi) * (Math.abs(t3) / t3)) < 0) & (Math.abs(t3) > 90)) {
fi = (-(Math.abs(fi) / fi)) * (360 - Math.abs(fi));
}
dfi = t3;
ddfi = dfi - fi;
if (Math.abs(ddfi) < 180) {
}
fispeed = ddfi / 5;
}
body._rotation = fi;
if ((Math.sqrt((dx * dx) + (dy * dy)) < 30) & (hunter == 1)) {
hunter = 0;
fspeed = fspeed + (pt * 10);
}
Symbol 300 MovieClip Frame 3 (17 B)
gotoAndPlay (2);
Symbol 326 MovieClip Frame 1 (8 B)
stop();
Symbol 328 MovieClip Frame 1 (8 B)
stop();
Symbol 330 MovieClip Frame 1 (8 B)
stop();
Symbol 336 MovieClip Frame 6 (54 B)
if (_parent._parent.isactive) {
gotoAndPlay (5);
}
Symbol 336 MovieClip Frame 20 (83 B)
_parent._parent.reinit = true;
_parent._parent.isactive = true;
gotoAndPlay (1);
Symbol 337 MovieClip Frame 1 (115 B)
e1._x = _parent.centrex;
e1._y = _parent.centrey;
e2._x = _parent.centrex / 1.2;
e2._y = _parent.centrey / 1.2;
Symbol 337 MovieClip Frame 2 (17 B)
gotoAndPlay (1);
Symbol 338 MovieClip Frame 1 (182 B)
centrex = (Math.random() * 120) - 60;
centrey = (Math.random() * 120) - 60;
xspeed = (Math.random() * 8) - 4;
yspeed = (Math.random() * 8) - 4;
isactive = true;
reinit = false;
Symbol 338 MovieClip Frame 2 (785 B)
centrex = centrex + xspeed;
centrey = centrey + yspeed;
xspeed = (xspeed + (Math.random() * 2)) - 1;
yspeed = (yspeed + (Math.random() * 2)) - 1;
if (Math.abs(centrex) > 40) {
xspeed = (-xspeed) * 2;
centrex = centrex / 1.2;
}
if (Math.abs(centrey) > 40) {
yspeed = (-yspeed) * 2;
centrey = centrey / 1.2;
}
if (Math.abs(xspeed) > 8) {
xspeed = xspeed / 2;
}
if (Math.abs(yspeed) > 8) {
yspeed = yspeed / 2;
}
isactive = Math.round(Math.random() * 60) != 30;
if (reinit) {
this._x = Math.round(Math.random() * 440) + 100;
this._y = Math.round(Math.random() * 280) + 100;
centrex = (Math.random() * 120) - 60;
centrey = (Math.random() * 120) - 60;
xspeed = (Math.random() * 8) - 4;
yspeed = (Math.random() * 8) - 4;
reinit = false;
}
Symbol 338 MovieClip Frame 3 (17 B)
gotoAndPlay (2);
Symbol 339 MovieClip Frame 1 (209 B)
nowresult = _root.engine.initquery(this._name, "0");
if (nowresult == "0") {
canrecept = "phonar";
_root.her1.cangol = false;
} else if (nowresult == "1") {
canrecept = "";
this._visible = false;
}
Symbol 339 MovieClip Frame 2 (685 B)
if (received != receivedold) {
nowresult = _root.engine.readquery(this._name);
if (received == canrecept) {
if (nowresult == "0") {
_root.engine.writequery(this._name, "1");
canrecept = "";
this._visible = false;
_root.her1.cangol = true;
}
}
nowresult = _root.engine.readquery(this._name);
}
receivedold = received;
realx = ((this._x + _parent._x) + _parent._parent._x) + correctx;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((((received != canrecept) & this.hitTest(_root.her1._x, _root.her1._y)) & _parent._visible) & this._visible) {
_root.her1.recepient = this._name;
_root.her1.recepientpath = targetPath(this);
}
Symbol 339 MovieClip Frame 4 (17 B)
gotoAndPlay (2);
Symbol 354 MovieClip Frame 2 (43 B)
if (!_parent.push) {
gotoAndPlay (1);
}
Symbol 354 MovieClip Frame 10 (36 B)
_parent.push = 0;
gotoAndPlay (1);
Symbol 356 MovieClip Frame 1 (233 B)
jumpplus = 50;
push = 0;
canrecept = "tramline";
ll = String(this._name);
if (_root.engine.initquery(this._name, "0") == "0") {
tr1._visible = false;
received = "";
} else {
tr1._visible = true;
received = canrecept;
}
Symbol 356 MovieClip Frame 2 (683 B)
if (_root.her1.hitTest(this._x, this._y, true) & tr1._visible) {
_root.her1.tmotor.vspeed = -jumpplus;
_root.her1.tmotor.jumping = 1;
_root.her1.tmotor.dropheight = 0;
push = 1;
}
realx = ((this._x + _parent._x) + _parent._parent._x) + correctx;
realy = (this._y + _parent._y) + _parent._parent._y;
if ((((received != canrecept) & _root.her1.hitTest(realx, realy)) & _parent._visible) & this._visible) {
_root.her1.recepient = this._name;
_root.her1.recepientpath = targetPath(this);
}
if (received != receivedold) {
if (received == canrecept) {
tr1._visible = true;
_root.engine.writequery(this._name, "1");
}
}
receivedold = received;
Symbol 356 MovieClip Frame 4 (17 B)
gotoAndPlay (2);
Symbol 365 Button (164 B)
on (release) {
unloadMovieNum (20);
gotoAndPlay (6);
}
on (rollOver) {
_level10.soundtake.playthis = true;
}
on (press) {
_level10.soundclick.playthis = true;
}
Symbol 375 MovieClip Frame 35 (8 B)
stop();
Symbol 383 MovieClip Frame 16 (8 B)
stop();
Symbol 391 Button (154 B)
on (release) {
gotoAndPlay (6);
}
on (press) {
_level0.sounds.soundclick.playthis = true;
}
on (rollOver) {
_level0.sounds.soundtake.playthis = true;
}
Symbol 392 Button (142 B)
on (release) {
gotoAndPlay (6);
}
on (rollOver) {
_level10.soundtake.playthis = true;
}
on (press) {
_level10.soundclick.playthis = true;
}