Frame 1
_fglv = new LoadVars();
_fglv.gid = 224;
_fglv.url = _root._url;
_fglv.sendAndLoad("http://www.freegamesforyourwebsite.com/stats.php", _fglv, "POST");
delete _fglv;
var debug = true;
var gameID = 80;
var gameName = "dungeonhunt";
stop();
fscommand ("showmenu", "false");
prel.onEnterFrame = function () {
prel.procent.text = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
prel.gotoAndStop(prel.procent.text);
if (Number(prel.procent.text) > 99) {
play();
delete this.onEnterFrame;
}
};
Frame 2
stop();
Instance of Symbol 87 MovieClip in Frame 2
on (release) {
getURL ("http://www.freegamesforyourwebsite.com/click.php?gid=224&area=loader", "_blank");
}
Frame 3
if (!okToPlay) {
gotoAndStop (2);
}
Frame 4
stop();
Instance of Symbol 92 MovieClip in Frame 4
on (rollOver, dragOver) {
this.gotoAndStop(2);
}
on (releaseOutside, rollOut, dragOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndPlay("gami");
}
Instance of Symbol 94 MovieClip in Frame 4
on (rollOver, dragOver) {
this.gotoAndStop(2);
}
on (releaseOutside, rollOut, dragOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gotoAndPlay("scoreboard");
}
Instance of Symbol 96 MovieClip in Frame 4
on (rollOver, dragOver) {
this.gotoAndStop(2);
}
on (releaseOutside, rollOut, dragOut) {
this.gotoAndStop(1);
}
on (release) {
getURL ("http://www.freegamesforyourwebsite.com/click.php?gid=224&area=menu", "_blank");
}
Instance of Symbol 98 MovieClip in Frame 4
on (rollOver, dragOver) {
this.gotoAndStop(2);
}
on (releaseOutside, rollOut, dragOut) {
this.gotoAndStop(1);
}
on (release) {
getURL ("http://www.freeonlinegames.com/?dungeonhunt", "_blank");
}
Instance of Symbol 106 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.gmusic == false) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Frame 5
stopAllSounds();
Frame 6
stop();
_quality = "LOW";
Instance of Symbol 251 MovieClip "mnc" in Frame 6
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
xdir = 0;
ydir = 2;
waiti = 0;
}
onClipEvent (enterFrame) {
if (_root.gpause == false) {
this._level = 100000 /* 0x0186A0 */;
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_root.hit.gate1.hitTest(_x, _y, true)) {
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.hit.gate1.gotoAndStop(2);
}
}
if ((_root.hit.hitTest(_x, _y, true) == 0) || (yspeed < 0)) {
} else {
while (_root.hit.hitTest(_x, _y, true)) {
_y = (_y - 0.051);
}
}
if ((_root.hit.hitTest(_x, _y, true) == 0) || (yspeed > 0)) {
} else {
while (_root.hit.hitTest(_x, _y, true)) {
_y = (_y + 0.051);
}
}
if ((_root.hit.hitTest(_x + 10, _y, true) == 0) || (xspeed < 0)) {
} else {
while (_root.hit.hitTest(_x + 10, _y, true)) {
_x = (_x - 0.051);
}
}
if ((_root.hit.hitTest(_x - 10, _y, true) == 0) || (xspeed > 0)) {
} else {
while (_root.hit.hitTest(_x - 10, _y, true)) {
_x = (_x + 0.051);
}
}
waiti--;
}
if (Key.isDown(80)) {
if (stilld == 0) {
stilld = 1;
if (_root.gpause == false) {
_root.gpause = true;
this.gotoAndStop(1);
_root.gpausemenu.gotoAndStop(151);
} else {
_root.gpause = false;
}
}
} else {
stilld = 0;
}
if (Key.isDown(82)) {
_root.gotoAndPlay("gami");
}
}
onClipEvent (enterFrame) {
angle = ((Math.atan2((this._y + ydir) - this._y, (this._x + xdir) - this._x) * 180) / Math.PI) - 90;
_rotation = angle;
if (!Key.isDown(32)) {
this.keydownsvar = 1;
}
}
onClipEvent (load) {
}
on (keyPress "<Space>") {
if (_root.gpause == false) {
if (waiti < 0) {
if (this.keydownsvar == 1) {
this.arms.gotoAndPlay(2);
duplicateMovieClip (_root.mncatt, "mncatt_mc" + _root.kninum, _root.DubCount);
i = eval ("_root.mncatt_mc" + _root.kninum);
_root.root.attID = i;
i._visible = false;
i._x = _root.mnc._x;
i._y = _root.mnc._y;
i.alive = 350;
i.xv = -10 * Math.sin((Math.PI/180) * angle);
i.yv = 10 * Math.cos((Math.PI/180) * angle);
_root.DubCount++;
this.keydownsvar = 0;
if (_root.kninum < 15) {
_root.kninum++;
} else {
_root.kninum = 1;
}
}
waiti = 10;
}
}
}
on (keyPress "<Enter>") {
if (_root.gpause == false) {
if (_root.mnc.ampots > 0) {
_root.potu.gotoAndPlay(2);
_root.mnc.ampots--;
}
}
}
Instance of Symbol 8 MovieClip [knife] "mncatt" in Frame 6
onClipEvent (load) {
function blood() {
_root.eflevel++;
duplicateMovieClip (_root.blood1, "Nblood" + _root.eflevel, _root.eflevel);
mc = eval ("_root.Nblood" + _root.eflevel);
mc._x = (this._x + random(6)) - random(6);
mc._y = (this._y + random(6)) - random(6);
mc.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.gpause == false) {
_visible = true;
if (this._name == "mncatt") {
setProperty(this, _visible , false);
xv = 0;
yv = 0;
} else if (alive > 0) {
this._rotation = alive / 0.05;
setProperty(this, _visible , true);
alive--;
_x = (_x + xv);
_y = (_y + yv);
setProperty(this, _visible , true);
if (_root.hit.hitTest(_x, _y, true)) {
spark();
removeMovieClip(this);
}
if (_root.cleardubs == true) {
removeMovieClip(this);
}
} else {
removeMovieClip(this);
}
} else {
_visible = false;
}
}
Instance of Symbol 5 MovieClip [ent1] "ent1" in Frame 6
onClipEvent (load) {
function spawndead() {
_root.scordis = _root.scordis + Math.ceil(10 / (_root.roomtime / 300));
_root.hlth = _root.hlth + (15 / (_root.roomtime + 15));
duplicateMovieClip (_root.endead, "endead_mc" + _root.deadDub, _root.deadDub);
i = eval ("_root.endead_mc" + _root.deadDub);
i._x = _x;
i._y = _y;
ise = random(5) + 1;
idead = random(2) + 1;
_root.gse.gotoAndStop(ise);
i._level = 1;
i.gotoAndStop(idead);
i._rotation = _rotation + (random(15) - random(15));
_root.deadDub++;
_root.limti--;
_root.deathcount++;
duplicateMovieClip (_root.blood, "blood_mc" + _root.DubCount, _root.DubCount);
i = eval ("_root.blood_mc" + _root.DubCount);
i._x = _x;
i._y = _y;
i._rotation = _rotation;
_root.DubCount++;
}
ranix = random(600);
raniy = random(450);
attime = 0;
}
onClipEvent (enterFrame) {
if (_root.gpause == false) {
_visible = true;
if (_name == "ent1") {
} else {
rani = random(25) - random(25);
ranix = ranix + (random(5) - random(5));
raniy = raniy + (random(5) - random(5));
icx = (_x - (_root.mnc._x + rani)) * (_x - (_root.mnc._x + rani));
icy = (_y - (_root.mnc._y + rani)) * (_y - (_root.mnc._y + rani));
pendist = Math.sqrt(icx + icy);
if (pendist < 201) {
focused = true;
xspeed = -((_x - (_root.mnc._x + rani)) * (1 / pendist));
yspeed = -((_y - (_root.mnc._y + rani)) * (1 / pendist));
} else {
focused = false;
xspeed = (-(_x - ranix)) * 0.001;
yspeed = (-(_y - raniy)) * 0.001;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if ((_root.hit.hitTest(_x, _y, true) == 0) || (yspeed < 0)) {
} else {
while (_root.hit.hitTest(_x, _y, true)) {
_y = (_y - 0.051);
}
}
if ((_root.hit.hitTest(_x, _y, true) == 0) || (yspeed > 0)) {
} else {
while (_root.hit.hitTest(_x, _y, true)) {
_y = (_y + 0.051);
}
}
if ((_root.hit.hitTest(_x + 10, _y, true) == 0) || (xspeed < 0)) {
} else {
while (_root.hit.hitTest(_x + 10, _y, true)) {
_x = (_x - 0.051);
}
}
if ((_root.hit.hitTest(_x - 10, _y, true) == 0) || (xspeed > 0)) {
} else {
while (_root.hit.hitTest(_x - 10, _y, true)) {
_x = (_x + 0.051);
}
}
attime--;
if (attime < 0) {
if (_root.mnc.hitTest(_x, _y, true)) {
if (_root.hlth > 1) {
_root.scordis = _root.scordis - 5;
_root.hlth = _root.hlth - 10;
attime = 50;
} else {
_root.hlth = 0;
}
}
}
if (_root.mncatt_mc1.hitTest(_x, _y, true)) {
spawndead();
removeMovieClip(_root.mncatt_mc1);
removeMovieClip(this);
}
if (_root.mncatt_mc2.hitTest(_x, _y, true)) {
spawndead();
removeMovieClip(_root.mncatt_mc2);
removeMovieClip(this);
}
if (_root.mncatt_mc3.hitTest(_x, _y, true)) {
spawndead();
removeMovieClip(_root.mncatt_mc3);
removeMovieClip(this);
}
if (_root.mncatt_mc4.hitTest(_x, _y, true)) {
spawndead();
removeMovieClip(_root.mncatt_mc4);
removeMovieClip(this);
}
if (_root.mncatt_mc5.hitTest(_x, _y, true)) {
spawndead();
removeMovieClip(_root.mncatt_mc5);
removeMovieClip(this);
}
if (_root.mncatt_mc6.hitTest(_x, _y, true)) {
spawndead();
removeMovieClip(_root.mncatt_mc6);
removeMovieClip(this);
}
if (_root.mncatt_mc7.hitTest(_x, _y, true)) {
spawndead();
removeMovieClip(_root.mncatt_mc7);
removeMovieClip(this);
}
if (_root.mncatt_mc8.hitTest(_x, _y, true)) {
spawndead();
removeMovieClip(_root.mncatt_mc8);
removeMovieClip(this);
}
if (_root.mncatt_mc9.hitTest(_x, _y, true)) {
spawndead();
removeMovieClip(_root.mncatt_mc9);
removeMovieClip(this);
}
if (_root.mncatt_mc10.hitTest(_x, _y, true)) {
spawndead();
removeMovieClip(_root.mncatt_mc10);
removeMovieClip(this);
}
if (_root.mncatt_mc11.hitTest(_x, _y, true)) {
spawndead();
removeMovieClip(_root.mncatt_mc11);
removeMovieClip(this);
}
if (_root.mncatt_mc12.hitTest(_x, _y, true)) {
spawndead();
removeMovieClip(_root.mncatt_mc12);
removeMovieClip(this);
}
if (_root.mncatt_mc13.hitTest(_x, _y, true)) {
spawndead();
removeMovieClip(_root.mncatt_mc13);
removeMovieClip(this);
}
if (_root.mncatt_mc14.hitTest(_x, _y, true)) {
spawndead();
removeMovieClip(_root.mncatt_mc14);
removeMovieClip(this);
}
if (_root.mncatt_mc15.hitTest(_x, _y, true)) {
spawndead();
removeMovieClip(_root.mncatt_mc15);
removeMovieClip(this);
}
if (_root.bk.hitTest(_x, _y, true)) {
removeMovieClip(this);
}
if (_root.potu.scn.hitTest(_x, _y, true)) {
spawndead();
removeMovieClip(this);
}
if (_root.cleardubs == true) {
removeMovieClip(this);
}
}
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (focused) {
angle = ((Math.atan2(_root.mnc._y - this._y, _root.mnc._x - this._x) * 180) / Math.PI) - 90;
} else {
angle = ((Math.atan2(raniy - this._y, ranix - this._x) * 180) / Math.PI) - 90;
}
_rotation = angle;
}
Instance of Symbol 255 MovieClip "scnwip" in Frame 6
onClipEvent (enterFrame) {
if (this._name == "scnwip") {
gotoAndStop (5);
}
}
Instance of Symbol 263 MovieClip "endead" in Frame 6
onClipEvent (enterFrame) {
if (_name == "endead") {
} else {
if (_alpha < 1) {
removeMovieClip(this);
} else {
_alpha = (_alpha-1);
}
if (_root.cleardubs == true) {
removeMovieClip(this);
}
}
}
Instance of Symbol 270 MovieClip "ensk1" in Frame 6
onClipEvent (load) {
function spawndead() {
_root.hit.bossgate.gotoAndStop(2);
_root.clearbossstg = true;
_root.potu.gotoAndPlay(2);
_root.scordis = _root.scordis + Math.ceil(10 / (_root.roomtime / 300));
duplicateMovieClip (_root.endead, "endead_mc" + _root.deadDub, _root.deadDub);
i = eval ("_root.endead_mc" + _root.deadDub);
i._x = _x;
i._y = _y;
i._rotation = _rotation;
i.gotoAndStop(3);
_root.deadDub++;
_root.limti--;
duplicateMovieClip (_root.blood, "blood_mc" + _root.DubCount, _root.DubCount);
i = eval ("_root.blood_mc" + _root.DubCount);
i._x = _x;
i._y = _y;
i._rotation = _rotation;
_root.DubCount++;
}
rani = random(25);
helth = 10;
ranix = random(600);
raniy = random(450);
attime = 0;
}
onClipEvent (enterFrame) {
if (_root.gpause == false) {
_visible = true;
if (_name == "ensk1") {
} else if (helth > 0) {
rani = rani + (random(1) - random(1));
ranix = ranix + (random(5) - random(5));
raniy = raniy + (random(5) - random(5));
icx = (_x - (_root.mnc._x + rani)) * (_x - (_root.mnc._x + rani));
icy = (_y - (_root.mnc._y + rani)) * (_y - (_root.mnc._y + rani));
pendist = Math.sqrt(icx + icy);
icx2 = (_x - _root.mnc._x) * (_x - _root.mnc._x);
icy2 = (_y - _root.mnc._y) * (_y - _root.mnc._y);
pendist2 = Math.sqrt(icx + icy);
focused = true;
if (pendist2 < 25) {
xspeed = -((_x - _root.mnc._x) * (2.5 / pendist2));
yspeed = -((_y - _root.mnc._y) * (2.5 / pendist2));
} else {
xspeed = -((_x - (_root.mnc._x + rani)) * (2 / pendist));
yspeed = -((_y - (_root.mnc._y + rani)) * (2 / pendist));
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if ((_root.hit.hitTest(_x, _y, true) == 0) || (yspeed < 0)) {
} else {
while (_root.hit.hitTest(_x, _y, true)) {
_y = (_y - 0.051);
}
}
if ((_root.hit.hitTest(_x, _y, true) == 0) || (yspeed > 0)) {
} else {
while (_root.hit.hitTest(_x, _y, true)) {
_y = (_y + 0.051);
}
}
if ((_root.hit.hitTest(_x + 10, _y, true) == 0) || (xspeed < 0)) {
} else {
while (_root.hit.hitTest(_x + 10, _y, true)) {
_x = (_x - 0.051);
}
}
if ((_root.hit.hitTest(_x - 10, _y, true) == 0) || (xspeed > 0)) {
} else {
while (_root.hit.hitTest(_x - 10, _y, true)) {
_x = (_x + 0.051);
}
}
attime--;
if (attime < 0) {
if (_root.mnc.hitTest(_x, _y, true)) {
if (_root.hlth > 1) {
_root.scordis = _root.scordis - 75;
_root.hlth = _root.hlth - 35;
attime = 30;
} else {
_root.hlth = 0;
}
}
}
if (_root.mncatt_mc1.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc1);
}
if (_root.mncatt_mc2.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc2);
}
if (_root.mncatt_mc3.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc3);
}
if (_root.mncatt_mc4.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc4);
}
if (_root.mncatt_mc5.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc5);
}
if (_root.mncatt_mc6.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc6);
}
if (_root.mncatt_mc7.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc7);
}
if (_root.mncatt_mc8.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc8);
}
if (_root.mncatt_mc9.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc9);
}
if (_root.mncatt_mc10.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc10);
}
if (_root.mncatt_mc11.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc11);
}
if (_root.mncatt_mc12.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc12);
}
if (_root.mncatt_mc13.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc13);
}
if (_root.mncatt_mc14.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc14);
}
if (_root.mncatt_mc15.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc15);
}
if (_root.bk.hitTest(_x, _y, true)) {
removeMovieClip(this);
}
if (_root.potu.scn.hitTest(_x, _y, true)) {
}
if (_root.cleardubs == true) {
removeMovieClip(this);
}
}
if (helth < 1) {
spawndead();
removeMovieClip(this);
}
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (focused) {
angle = ((Math.atan2(_root.mnc._y - this._y, _root.mnc._x - this._x) * 180) / Math.PI) - 90;
} else {
angle = ((Math.atan2(raniy - this._y, ranix - this._x) * 180) / Math.PI) - 90;
}
_rotation = angle;
}
Instance of Symbol 271 MovieClip "ent2" in Frame 6
onClipEvent (load) {
function spawndead() {
_root.scordis = _root.scordis + Math.ceil(10 / (_root.roomtime / 300));
duplicateMovieClip (_root.endead, "endead_mc" + _root.deadDub, _root.deadDub);
i = eval ("_root.endead_mc" + _root.deadDub);
i._x = _x;
i._y = _y;
i._rotation = _rotation;
idead = random(4) + 2;
i.gotoAndStop(idead);
_root.deadDub++;
_root.limti--;
_root.deathcount++;
duplicateMovieClip (_root.blood, "blood_mc" + _root.DubCount, _root.DubCount);
i = eval ("_root.blood_mc" + _root.DubCount);
i._x = _x;
i._y = _y;
i._rotation = _rotation;
_root.DubCount++;
}
rani = random(200) - random(200);
helth = 3;
ranix = random(600);
raniy = random(450);
attime = 0;
}
onClipEvent (enterFrame) {
if (_root.gpause == false) {
_visible = true;
if (_name == "ent2") {
} else if (helth > 0) {
rani = rani + (random(1) - random(1));
ranix = ranix + (random(5) - random(5));
raniy = raniy + (random(5) - random(5));
icx = (_x - (_root.mnc._x + rani)) * (_x - (_root.mnc._x + rani));
icy = (_y - (_root.mnc._y + rani)) * (_y - (_root.mnc._y + rani));
pendist = Math.sqrt(icx + icy);
icx2 = (_x - _root.mnc._x) * (_x - _root.mnc._x);
icy2 = (_y - _root.mnc._y) * (_y - _root.mnc._y);
pendist2 = Math.sqrt(icx + icy);
if (pendist < 301) {
focused = true;
if (pendist2 < 75) {
xspeed = -((_x - _root.mnc._x) * (1 / pendist2));
yspeed = -((_y - _root.mnc._y) * (1 / pendist2));
} else if (pendist2 > 150) {
xspeed = -((_x - (_root.mnc._x + rani)) * (1.5 / pendist));
yspeed = -((_y - (_root.mnc._y + rani)) * (1.5 / pendist));
}
} else {
focused = false;
xspeed = (-(_x - ranix)) * 0.001;
yspeed = (-(_y - raniy)) * 0.001;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if ((_root.hit.hitTest(_x, _y, true) == 0) || (yspeed < 0)) {
} else {
while (_root.hit.hitTest(_x, _y, true)) {
_y = (_y - 0.051);
}
}
if ((_root.hit.hitTest(_x, _y, true) == 0) || (yspeed > 0)) {
} else {
while (_root.hit.hitTest(_x, _y, true)) {
_y = (_y + 0.051);
}
}
if ((_root.hit.hitTest(_x + 10, _y, true) == 0) || (xspeed < 0)) {
} else {
while (_root.hit.hitTest(_x + 10, _y, true)) {
_x = (_x - 0.051);
}
}
if ((_root.hit.hitTest(_x - 10, _y, true) == 0) || (xspeed > 0)) {
} else {
while (_root.hit.hitTest(_x - 10, _y, true)) {
_x = (_x + 0.051);
}
}
attime--;
if (attime < 0) {
if (_root.mnc.hitTest(_x, _y, true)) {
if (_root.hlth > 1) {
_root.scordis = _root.scordis - 50;
_root.hlth = _root.hlth - 20;
attime = 30;
} else {
_root.hlth = 0;
}
}
}
if (_root.mncatt_mc1.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc1);
}
if (_root.mncatt_mc2.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc2);
}
if (_root.mncatt_mc3.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc3);
}
if (_root.mncatt_mc4.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc4);
}
if (_root.mncatt_mc5.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc5);
}
if (_root.mncatt_mc6.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc6);
}
if (_root.mncatt_mc7.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc7);
}
if (_root.mncatt_mc8.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc8);
}
if (_root.mncatt_mc9.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc9);
}
if (_root.mncatt_mc10.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc10);
}
if (_root.mncatt_mc11.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc11);
}
if (_root.mncatt_mc12.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc12);
}
if (_root.mncatt_mc13.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc13);
}
if (_root.mncatt_mc14.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc14);
}
if (_root.mncatt_mc15.hitTest(_x, _y, true)) {
helth = helth - 1;
removeMovieClip(_root.mncatt_mc15);
}
if (_root.bk.hitTest(_x, _y, true)) {
removeMovieClip(this);
}
if (_root.potu.scn.hitTest(_x, _y, true)) {
if (_root.clearbossstg == true) {
spawndead();
removeMovieClip(this);
}
}
if (_root.cleardubs == true) {
removeMovieClip(this);
}
}
if (helth < 1) {
spawndead();
removeMovieClip(this);
}
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (focused) {
angle = ((Math.atan2(_root.mnc._y - this._y, _root.mnc._x - this._x) * 180) / Math.PI) - 90;
} else {
angle = ((Math.atan2(raniy - this._y, ranix - this._x) * 180) / Math.PI) - 90;
}
_rotation = angle;
}
Instance of Symbol 314 MovieClip "minmap" in Frame 6
onClipEvent (load) {
function checkinact() {
_root.minmap.r1.inside = false;
_root.minmap.r2.inside = false;
_root.minmap.r3a.inside = false;
_root.minmap.r4a.inside = false;
_root.minmap.r5a.inside = false;
_root.minmap.r6a.inside = false;
_root.minmap.r7a.inside = false;
_root.minmap.r8a.inside = false;
_root.minmap.r3b.inside = false;
_root.minmap.r4b.inside = false;
_root.minmap.r5b.inside = false;
_root.minmap.r6b.inside = false;
_root.minmap.r7b.inside = false;
_root.minmap.r8b.inside = false;
_root.minmap.r9.inside = false;
}
}
Instance of Symbol 337 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.gpause == true) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
}
Instance of Symbol 355 MovieClip "gpausemenu" in Frame 6
onClipEvent (enterFrame) {
if (_root.gpause == true) {
_root.mnc.gotoAndStop(1);
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
}
} else if (this._alpha > 1) {
this._alpha = this._alpha - 20;
}
}
Instance of Symbol 112 MovieClip "gamecont" in Frame 6
onClipEvent (load) {
_root.DubCount = 1000;
_root.kninum = 1;
_root.deadDub = 20;
_root.mnc.amkeys = 0;
_root.mnc.amrkeys = 0;
_root.mnc.ambkeys = 0;
_root.mnc.ampots = 0;
_root.hlth = 1000;
_root.cdt = 25;
_root.cleardubs = false;
_root.scrs = 0;
_root.scordis = 0;
_root.deathcount = 0;
_root.clearbossstg = false;
_root.mnc.lock = false;
_root.gametime = 0;
_root.gpause = true;
_root.headin = "";
_root.gamecont.gate1 = true;
_root.gamecont.gate2 = true;
_root.gamecont.gate3 = true;
_root.gamecont.gate4 = true;
_root.gamecont.gate5 = true;
_root.gamecont.gate6 = true;
_root.gamecont.gate7 = true;
_root.gamecont.gate8 = true;
_root.gamecont.gate9 = true;
_root.gamecont.gate10 = true;
_root.gamecont.gate11 = true;
_root.gamecont.gate12 = true;
_root.gamecont.gate13 = true;
_root.gamecont.gate14 = true;
_root.gamecont.gate15 = true;
_root.gamecont.gate16 = true;
_root.gamecont.gate17 = true;
_root.gamecont.gate18 = true;
_root.gamecont.gate19 = true;
_root.gamecont.gate20 = true;
_root.gamecont.gate21 = true;
_root.gamecont.gate22 = true;
_root.gamecont.gate23 = true;
_root.gamecont.gate24 = true;
_root.gamecont.rgate1 = true;
_root.gamecont.rgate2 = true;
_root.gamecont.rgate3 = true;
_root.gamecont.bgate1 = true;
_root.gamecont.key1 = true;
_root.gamecont.key2 = true;
_root.gamecont.key3 = true;
_root.gamecont.key4 = true;
_root.gamecont.key5 = true;
_root.gamecont.key6 = true;
_root.gamecont.key7 = true;
_root.gamecont.key8 = true;
_root.gamecont.key9 = true;
_root.gamecont.key10 = true;
_root.gamecont.key11 = true;
_root.gamecont.key12 = true;
_root.gamecont.key13 = true;
_root.gamecont.key14 = true;
_root.gamecont.key15 = true;
_root.gamecont.key16 = true;
_root.gamecont.key17 = true;
_root.gamecont.key18 = true;
_root.gamecont.key19 = true;
_root.gamecont.rkey1 = true;
_root.gamecont.rkey2 = true;
_root.gamecont.bkey1 = true;
_root.gamecont.ensg1 = true;
_root.gamecont.ensg2 = true;
_root.gamecont.ensg3 = true;
_root.gamecont.ensg4 = true;
_root.gamecont.ensg5 = true;
_root.gamecont.ensg6 = true;
_root.gamecont.ensg7 = true;
_root.gamecont.ensg8 = true;
_root.gamecont.ensg9 = true;
_root.gamecont.ensg10 = true;
_root.gamecont.ensg11 = true;
_root.gamecont.ensg12 = true;
_root.gamecont.ensg13 = true;
_root.gamecont.ensg14 = true;
_root.gamecont.ensg15 = true;
_root.gamecont.ensg16 = true;
_root.gamecont.ensg17 = true;
_root.gamecont.ensg18 = true;
_root.gamecont.ensg19 = true;
_root.gamecont.ensg20 = true;
_root.gamecont.meat1 = true;
_root.gamecont.meat2 = true;
_root.gamecont.meat3 = true;
_root.gamecont.meat4 = true;
_root.gamecont.meat5 = true;
_root.gamecont.pot1 = true;
_root.gamecont.pot2 = true;
_root.gamecont.pot3 = true;
_root.gamecont.pot4 = true;
_root.gamecont.pot5 = true;
_root.gamecont.pot6 = true;
_root.gamecont.pot7 = true;
_root.gamecont.pot8 = true;
_root.gamecont.pot9 = true;
_root.gamecont.pot10 = true;
_root.gamecont.pot11 = true;
_root.gamecont.pot12 = true;
_root.gamecont.pot13 = true;
_root.gamecont.pot14 = true;
_root.gamecont.pot15 = true;
_root.gamecont.pot16 = true;
_root.gamecont.pot17 = true;
_root.gamecont.gold1 = true;
_root.gamecont.gold2 = true;
_root.gamecont.gold3 = true;
_root.gamecont.gold4 = true;
_root.gamecont.gold5 = true;
_root.gamecont.gold6 = true;
_root.gamecont.gold7 = true;
_root.gamecont.gold8 = true;
_root.gamecont.gold9 = true;
_root.gamecont.gold10 = true;
_root.gamecont.gold11 = true;
_root.gamecont.gold12 = true;
_root.gamecont.gold13 = true;
_root.gamecont.gold14 = true;
_root.gamecont.gold15 = true;
_root.gamecont.gold16 = true;
_root.gamecont.gold17 = true;
_root.gamecont.gold18 = true;
_root.gamecont.gold19 = true;
gameSave = SharedObject.getLocal("savedObject");
_root.mnc._x = gameSave.data.mncx;
_root.mnc._y = gameSave.data.mncy;
hetcheck = true;
}
onClipEvent (enterFrame) {
if (_root.gpause == false) {
_root.hlthi = Math.ceil(_root.hlth);
_root.roomtime++;
if (_root.limti < 0) {
_root.limti = 0;
}
if (hetcheck == true) {
_root.cdt--;
if (_root.cdt < 1) {
if (_root.clearbossstg == false) {
_root.hlth--;
_root.gametime++;
}
_root.cdt = 30;
}
if (_root.hlth < 1) {
_root.hlth = 0;
_root.gamend.gotoAndPlay(2);
hetcheck = false;
}
}
_root.scrs = _root.scordis;
}
}
Instance of Symbol 106 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.gmusic == false) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(3);
}
}
Frame 7
_root.gameftime = Math.ceil(_root.gametime / 60) + " minute(s)";
if (_root.scrs < 0) {
_root.endscr = 0;
} else {
_root.endscr = Math.ceil(((_root.hlth + _root.scrs) / Math.ceil(_root.gametime / 60)) * _root.deathcount);
}
_root.scrread = "";
Instance of Symbol 373 MovieClip in Frame 7
on (release) {
if (_root.endscr > 0) {
var myVar = new LoadVars();
myVar.onLoad = function () {
getURL ("http://www.freeonlinegames.com/scoreboard.php?", "_blank");
};
myVar.score = _root.endscr;
myVar.score2 = _root.earl223(String(_root.endscr));
myVar.gamer = 80;
myVar.id = random(9999999);
myVar.toString();
myVar.sendAndLoad("http://www0.freeonlinegames.com/scoreboard/score_c.php", myVar, "POST");
_root.gotoAndStop("scoreboard");
} else {
_root.scrread = "You can not submit a 0 score!";
}
}
Instance of Symbol 376 MovieClip in Frame 7
on (release) {
_root.gotoAndStop("mainmenu");
}
Instance of Symbol 98 MovieClip in Frame 7
on (rollOver, dragOver) {
this.gotoAndStop(2);
}
on (releaseOutside, rollOut, dragOut) {
this.gotoAndStop(1);
}
on (release) {
getURL ("http://www.freegamesforyourwebsite.com/click.php?gid=224&area=gameover", "_blank");
}
Frame 8
function updateScoreboard(sNum) {
xmlPlayer = new XML();
xmlPlayer.ignoreWhite = true;
xmlPlayer.onLoad = function (success) {
if (success) {
_root["mcScoreboard" + sNum].mcLoading._visible = false;
myPlayer = xmlPlayer.firstChild.childNodes;
ctr2 = 0;
while (ctr2 < myPlayer.length) {
thisPlayer = _root["mcScoreboard" + sNum].sboard.mcScoreHolder.mcScore.duplicateMovieClip("mcScore" + ctr2, ctr2);
thisPlayer._y = ctr2 * thisPlayer._height;
thisPlayer._visible = true;
if ((ctr2 % 2) > 0) {
thisPlayer.gotoAndStop(2);
}
thisPlayer.txtNumber.text = (ctr2 + 1) + ")";
thisPlayer.txtNickname.text = myPlayer[ctr2].attributes.player;
thisPlayer.txtScore.text = myPlayer[ctr2].attributes.score;
ctr2++;
}
_root["mcScoreboard" + sNum].sboard.mcScoreHolder.item = myPlayer.length;
_root["mcScoreboard" + sNum].sboard.mcScoreHolder.speedy = 0;
_root["mcScoreboard" + sNum].sboard.mcScoreHolder.desty = 0;
_root["mcScoreboard" + sNum].sboard.mcScoreHolder.onEnterFrame = function () {
if ((this.desty < 0) && (this._parent.dir == "up")) {
trace("up");
this.desty = this.desty + 10;
if (this.desty > 0) {
this.desty = 0;
}
}
trace((this._parent.mcBlock._height + " - ") + (this.mcScore._height * this.item));
if ((this.desty > (this._parent.mcBlock._height - (this.mcScore._height * this.item))) && (this._parent.dir == "down")) {
trace("down");
this.desty = this.desty - 10;
if (this.desty < (this._parent.mcBlock._height - (this.mcScore._height * this.item))) {
this.desty = this._parent.mcBlock._height - (this.mcScore._height * this.item);
}
}
this.speedy = (this.desty - this._y) + (this.speedy * 0.4);
this._y = this._y + this.speedy;
};
}
if (sNum == 1) {
updateScoreboard(2);
}
};
if (sNum == 1) {
xmlPlayer.load((("http://www.freeonlinegames.com/scoreboard/getTopPlayer.php?id=" + _root.gameID) + "&rand=") + random(999999));
} else if (sNum == 2) {
xmlPlayer.load(((("http://www.freeonlinegames.com/scoreboard/getTopPlayer.php?id=" + _root.gameID) + "&rand=") + random(999999)) + "&filt=1");
}
}
stop();
mcScoreboard1.sboard.dir = "stop";
mcScoreboard2.sboard.dir = "stop";
mcScoreboard1.sboard.mcScoreHolder.mcScore._visible = false;
mcScoreboard2.sboard.mcScoreHolder.mcScore._visible = false;
updateScoreboard(1);
Instance of Symbol 376 MovieClip in Frame 8
on (release) {
_root.gotoAndStop("mainmenu");
}
Symbol 5 MovieClip [ent1] Frame 1
stop();
Symbol 13 MovieClip Frame 1
_root.earl223 = function (val) {
var _local3 = new Array("_", "Z", "y", "x", "W", "v", "u", "T", "s", "r", "Q", "P", "O", "n", "m", "L", "K", "j", "i", "H", "g", "F", "e", "d", "C", "B", "a");
var _local2 = "";
val1 = 0;
while (val1 < val.length) {
if (val.substr(val1, 1) == ":") {
_local2 = _local2 + ":";
} else if (Number(val.substr(val1, 2)) > 26) {
_local2 = _local2 + _local3[Number(val.substr(val1, 1))];
} else if (Number(val.substr(val1, 1)) == 0) {
_local2 = _local2 + "_";
} else {
_local2 = _local2 + _local3[Number(val.substr(val1, 2))];
val1++;
}
val1++;
}
return(_local2);
};
Symbol 23 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 42
Symbol 43 MovieClip Frame 55
stop();
_parent.play();
Symbol 84 MovieClip Frame 1
stop();
l = 0;
Instance of Symbol 27 MovieClip "mcNotice" in Symbol 84 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 84 MovieClip Frame 28
l++;
if (l < 5) {
gotoAndPlay ("loop");
} else if ((_url.indexOf("freeonlinegames.com") >= 0) && (_url.indexOf("file:") == -1)) {
_root.okToPlay = true;
_root.play();
stop();
} else if (_root.debug) {
_root.okToPlay = true;
_root.play();
stop();
} else {
mcNotice._visible = true;
l = -99999;
gotoAndPlay ("loop");
}
Instance of Symbol 84 MovieClip "logo" in Symbol 85 MovieClip Frame 1
on (release) {
getURL ("http://www.freeonlinegames.com/?" + _root.gameName, "_blank");
}
Symbol 92 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 1
stop();
stopAllSounds();
Symbol 114 MovieClip Frame 1
stop();
this._parent._x = 0;
this._parent._y = 0;
_root.spotlght._x = -1000;
_root.spotlght._y = -1000;
Instance of Symbol 112 MovieClip in Symbol 114 MovieClip Frame 1
onClipEvent (enterFrame) {
this._parent._x = 0;
this._parent._y = 0;
}
Instance of Symbol 112 MovieClip in Symbol 114 MovieClip Frame 2
onClipEvent (enterFrame) {
this._parent._x = _root.mnc._x;
this._parent._y = _root.mnc._y;
_root.spotlght._x = _root.mnc._x;
_root.spotlght._y = _root.mnc._y;
_root.spotlght._rotation = _root.mnc._rotation;
}
Symbol 121 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 1
stop();
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hit.ensg2._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.hit.ensg2._currentframe == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hit.ensg1._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.hit.ensg1._currentframe == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.hit.ensg3._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.hit.ensg3._currentframe == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.hit.ensg4._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.hit.ensg4._currentframe == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.hit.ensg5._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.hit.ensg5._currentframe == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.hit.ensg7._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.hit.ensg7._currentframe == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.hit.ensg6._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.hit.ensg6._currentframe == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.hit.ensg8._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.hit.ensg8._currentframe == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.hit.ensg11._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.hit.ensg11._currentframe == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.hit.ensg10._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.hit.ensg10._currentframe == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.hit.ensg9._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.hit.ensg9._currentframe == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.hit.ensg12._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.hit.ensg12._currentframe == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.hit.ensg13._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.hit.ensg13._currentframe == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.hit.ensg14._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.hit.ensg14._currentframe == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_root.hit.ensg15._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.hit.ensg15._currentframe == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.hit.ensg16._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.hit.ensg16._currentframe == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_root.hit.ensg18._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.hit.ensg18._currentframe == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_root.hit.ensg19._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.hit.ensg19._currentframe == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_root.hit.ensg17._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.hit.ensg17._currentframe == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.hit.ensg20._currentframe == 2) {
this.gotoAndStop(2);
} else if (_root.hit.ensg20._currentframe == 3) {
this.gotoAndStop(3);
}
}
Symbol 150 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 2
_root.scordis = _root.scordis + 35;
Symbol 157 MovieClip Frame 1
stop();
Symbol 157 MovieClip Frame 2
_root.scordis = _root.scordis + 25;
_root.gse2.gotoAndPlay("key");
Symbol 168 MovieClip Frame 1
stop();
Instance of Symbol 112 MovieClip in Symbol 168 MovieClip Frame 1
onClipEvent (load) {
wait = 16;
active = true;
_root.cleardubs = false;
}
onClipEvent (enterFrame) {
if (_root.gpause == false) {
if (active) {
wait--;
if (wait < 1) {
if (_root.limti < _root.limt) {
wx = this._parent.wx;
wxx = this._parent.wxx;
wy = this._parent.wy;
wyy = this._parent.wyy;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = idx + (random(wx) - random(wxx));
mc._y = idy + (random(wy) - random(wyy));
_root.limti++;
_root.DubCount++;
wait = this._parent.waitin;
}
}
ix = this._parent._x - 20;
iy = this._parent._y - 24;
ixx = this._parent._x + 22;
iyy = this._parent._y + 16;
idx = this._parent._x;
idy = this._parent._y;
if (((((((_root.mncatt_mc1.hitTest(ix, iy, true) or _root.mncatt_mc1.hitTest(ixx, iyy, true)) or _root.mncatt_mc1.hitTest(ixx, iy, true)) or _root.mncatt_mc1.hitTest(ix, iyy, true)) or _root.mncatt_mc1.hitTest(ix, idy, true)) or _root.mncatt_mc1.hitTest(ixx, idy, true)) or _root.mncatt_mc1.hitTest(idx, iy, true)) or _root.mncatt_mc1.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc1);
}
if (((((((_root.mncatt_mc2.hitTest(ix, iy, true) or _root.mncatt_mc2.hitTest(ixx, iyy, true)) or _root.mncatt_mc2.hitTest(ixx, iy, true)) or _root.mncatt_mc2.hitTest(ix, iyy, true)) or _root.mncatt_mc2.hitTest(ix, idy, true)) or _root.mncatt_mc2.hitTest(ixx, idy, true)) or _root.mncatt_mc2.hitTest(idx, iy, true)) or _root.mncatt_mc2.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc2);
}
if (((((((_root.mncatt_mc3.hitTest(ix, iy, true) or _root.mncatt_mc3.hitTest(ixx, iyy, true)) or _root.mncatt_mc3.hitTest(ixx, iy, true)) or _root.mncatt_mc3.hitTest(ix, iyy, true)) or _root.mncatt_mc3.hitTest(ix, idy, true)) or _root.mncatt_mc3.hitTest(ixx, idy, true)) or _root.mncatt_mc3.hitTest(idx, iy, true)) or _root.mncatt_mc3.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc3);
}
if (((((((_root.mncatt_mc4.hitTest(ix, iy, true) or _root.mncatt_mc4.hitTest(ixx, iyy, true)) or _root.mncatt_mc4.hitTest(ixx, iy, true)) or _root.mncatt_mc4.hitTest(ix, iyy, true)) or _root.mncatt_mc4.hitTest(ix, idy, true)) or _root.mncatt_mc4.hitTest(ixx, idy, true)) or _root.mncatt_mc4.hitTest(idx, iy, true)) or _root.mncatt_mc4.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc4);
}
if (((((((_root.mncatt_mc5.hitTest(ix, iy, true) or _root.mncatt_mc5.hitTest(ixx, iyy, true)) or _root.mncatt_mc5.hitTest(ixx, iy, true)) or _root.mncatt_mc5.hitTest(ix, iyy, true)) or _root.mncatt_mc5.hitTest(ix, idy, true)) or _root.mncatt_mc5.hitTest(ixx, idy, true)) or _root.mncatt_mc5.hitTest(idx, iy, true)) or _root.mncatt_mc5.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc5);
}
if (((((((_root.mncatt_mc6.hitTest(ix, iy, true) or _root.mncatt_mc6.hitTest(ixx, iyy, true)) or _root.mncatt_mc6.hitTest(ixx, iy, true)) or _root.mncatt_mc6.hitTest(ix, iyy, true)) or _root.mncatt_mc6.hitTest(ix, idy, true)) or _root.mncatt_mc6.hitTest(ixx, idy, true)) or _root.mncatt_mc6.hitTest(idx, iy, true)) or _root.mncatt_mc6.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc6);
}
if (((((((_root.mncatt_mc7.hitTest(ix, iy, true) or _root.mncatt_mc7.hitTest(ixx, iyy, true)) or _root.mncatt_mc7.hitTest(ixx, iy, true)) or _root.mncatt_mc7.hitTest(ix, iyy, true)) or _root.mncatt_mc7.hitTest(ix, idy, true)) or _root.mncatt_mc7.hitTest(ixx, idy, true)) or _root.mncatt_mc7.hitTest(idx, iy, true)) or _root.mncatt_mc7.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc7);
}
if (((((((_root.mncatt_mc8.hitTest(ix, iy, true) or _root.mncatt_mc8.hitTest(ixx, iyy, true)) or _root.mncatt_mc8.hitTest(ixx, iy, true)) or _root.mncatt_mc8.hitTest(ix, iyy, true)) or _root.mncatt_mc8.hitTest(ix, idy, true)) or _root.mncatt_mc8.hitTest(ixx, idy, true)) or _root.mncatt_mc8.hitTest(idx, iy, true)) or _root.mncatt_mc8.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc8);
}
if (((((((_root.mncatt_mc9.hitTest(ix, iy, true) or _root.mncatt_mc9.hitTest(ixx, iyy, true)) or _root.mncatt_mc9.hitTest(ixx, iy, true)) or _root.mncatt_mc9.hitTest(ix, iyy, true)) or _root.mncatt_mc9.hitTest(ix, idy, true)) or _root.mncatt_mc9.hitTest(ixx, idy, true)) or _root.mncatt_mc9.hitTest(idx, iy, true)) or _root.mncatt_mc9.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc9);
}
if (((((((_root.mncatt_mc10.hitTest(ix, iy, true) or _root.mncatt_mc10.hitTest(ixx, iyy, true)) or _root.mncatt_mc10.hitTest(ixx, iy, true)) or _root.mncatt_mc10.hitTest(ix, iyy, true)) or _root.mncatt_mc10.hitTest(ix, idy, true)) or _root.mncatt_mc10.hitTest(ixx, idy, true)) or _root.mncatt_mc10.hitTest(idx, iy, true)) or _root.mncatt_mc10.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc10);
}
if (((((((_root.mncatt_mc11.hitTest(ix, iy, true) or _root.mncatt_mc11.hitTest(ixx, iyy, true)) or _root.mncatt_mc11.hitTest(ixx, iy, true)) or _root.mncatt_mc11.hitTest(ix, iyy, true)) or _root.mncatt_mc11.hitTest(ix, idy, true)) or _root.mncatt_mc11.hitTest(ixx, idy, true)) or _root.mncatt_mc11.hitTest(idx, iy, true)) or _root.mncatt_mc11.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc11);
}
if (((((((_root.mncatt_mc12.hitTest(ix, iy, true) or _root.mncatt_mc12.hitTest(ixx, iyy, true)) or _root.mncatt_mc12.hitTest(ixx, iy, true)) or _root.mncatt_mc12.hitTest(ix, iyy, true)) or _root.mncatt_mc12.hitTest(ix, idy, true)) or _root.mncatt_mc12.hitTest(ixx, idy, true)) or _root.mncatt_mc12.hitTest(idx, iy, true)) or _root.mncatt_mc12.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc12);
}
if (((((((_root.mncatt_mc13.hitTest(ix, iy, true) or _root.mncatt_mc13.hitTest(ixx, iyy, true)) or _root.mncatt_mc13.hitTest(ixx, iy, true)) or _root.mncatt_mc13.hitTest(ix, iyy, true)) or _root.mncatt_mc13.hitTest(ix, idy, true)) or _root.mncatt_mc13.hitTest(ixx, idy, true)) or _root.mncatt_mc13.hitTest(idx, iy, true)) or _root.mncatt_mc13.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc13);
}
if (((((((_root.mncatt_mc14.hitTest(ix, iy, true) or _root.mncatt_mc14.hitTest(ixx, iyy, true)) or _root.mncatt_mc14.hitTest(ixx, iy, true)) or _root.mncatt_mc14.hitTest(ix, iyy, true)) or _root.mncatt_mc14.hitTest(ix, idy, true)) or _root.mncatt_mc14.hitTest(ixx, idy, true)) or _root.mncatt_mc14.hitTest(idx, iy, true)) or _root.mncatt_mc14.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc14);
}
if (((((((_root.mncatt_mc15.hitTest(ix, iy, true) or _root.mncatt_mc15.hitTest(ixx, iyy, true)) or _root.mncatt_mc15.hitTest(ixx, iy, true)) or _root.mncatt_mc15.hitTest(ix, iyy, true)) or _root.mncatt_mc15.hitTest(ix, idy, true)) or _root.mncatt_mc15.hitTest(ixx, idy, true)) or _root.mncatt_mc15.hitTest(idx, iy, true)) or _root.mncatt_mc15.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc15);
}
if (_root.potu.scn.hitTest(this._parent._x, this._parent._y, true)) {
active = false;
}
} else {
this._parent.gotoAndStop(2);
}
}
}
Symbol 168 MovieClip Frame 2
_root.scordis = _root.scordis + 35;
Instance of Symbol 112 MovieClip in Symbol 168 MovieClip Frame 2
onClipEvent (load) {
wait = 2;
active = true;
_root.cleardubs = false;
}
onClipEvent (enterFrame) {
if (_root.gpause == false) {
if (active) {
wait--;
if (wait < 1) {
if (_root.limti < _root.limt) {
wx = this._parent.wx;
wxx = this._parent.wxx;
wy = this._parent.wy;
wyy = this._parent.wyy;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = idx + (random(wx) - random(wxx));
mc._y = idy + (random(wy) - random(wyy));
_root.limti++;
_root.DubCount++;
wait = this._parent.waitin * 1.5;
}
}
ix = this._parent._x - 20;
iy = this._parent._y - 24;
ixx = this._parent._x + 22;
iyy = this._parent._y + 16;
idx = this._parent._x;
idy = this._parent._y;
if (((((((_root.mncatt_mc1.hitTest(ix, iy, true) or _root.mncatt_mc1.hitTest(ixx, iyy, true)) or _root.mncatt_mc1.hitTest(ixx, iy, true)) or _root.mncatt_mc1.hitTest(ix, iyy, true)) or _root.mncatt_mc1.hitTest(ix, idy, true)) or _root.mncatt_mc1.hitTest(ixx, idy, true)) or _root.mncatt_mc1.hitTest(idx, iy, true)) or _root.mncatt_mc1.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc1);
}
if (((((((_root.mncatt_mc2.hitTest(ix, iy, true) or _root.mncatt_mc2.hitTest(ixx, iyy, true)) or _root.mncatt_mc2.hitTest(ixx, iy, true)) or _root.mncatt_mc2.hitTest(ix, iyy, true)) or _root.mncatt_mc2.hitTest(ix, idy, true)) or _root.mncatt_mc2.hitTest(ixx, idy, true)) or _root.mncatt_mc2.hitTest(idx, iy, true)) or _root.mncatt_mc2.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc2);
}
if (((((((_root.mncatt_mc3.hitTest(ix, iy, true) or _root.mncatt_mc3.hitTest(ixx, iyy, true)) or _root.mncatt_mc3.hitTest(ixx, iy, true)) or _root.mncatt_mc3.hitTest(ix, iyy, true)) or _root.mncatt_mc3.hitTest(ix, idy, true)) or _root.mncatt_mc3.hitTest(ixx, idy, true)) or _root.mncatt_mc3.hitTest(idx, iy, true)) or _root.mncatt_mc3.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc3);
}
if (((((((_root.mncatt_mc4.hitTest(ix, iy, true) or _root.mncatt_mc4.hitTest(ixx, iyy, true)) or _root.mncatt_mc4.hitTest(ixx, iy, true)) or _root.mncatt_mc4.hitTest(ix, iyy, true)) or _root.mncatt_mc4.hitTest(ix, idy, true)) or _root.mncatt_mc4.hitTest(ixx, idy, true)) or _root.mncatt_mc4.hitTest(idx, iy, true)) or _root.mncatt_mc4.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc4);
}
if (((((((_root.mncatt_mc5.hitTest(ix, iy, true) or _root.mncatt_mc5.hitTest(ixx, iyy, true)) or _root.mncatt_mc5.hitTest(ixx, iy, true)) or _root.mncatt_mc5.hitTest(ix, iyy, true)) or _root.mncatt_mc5.hitTest(ix, idy, true)) or _root.mncatt_mc5.hitTest(ixx, idy, true)) or _root.mncatt_mc5.hitTest(idx, iy, true)) or _root.mncatt_mc5.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc5);
}
if (((((((_root.mncatt_mc6.hitTest(ix, iy, true) or _root.mncatt_mc6.hitTest(ixx, iyy, true)) or _root.mncatt_mc6.hitTest(ixx, iy, true)) or _root.mncatt_mc6.hitTest(ix, iyy, true)) or _root.mncatt_mc6.hitTest(ix, idy, true)) or _root.mncatt_mc6.hitTest(ixx, idy, true)) or _root.mncatt_mc6.hitTest(idx, iy, true)) or _root.mncatt_mc6.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc6);
}
if (((((((_root.mncatt_mc7.hitTest(ix, iy, true) or _root.mncatt_mc7.hitTest(ixx, iyy, true)) or _root.mncatt_mc7.hitTest(ixx, iy, true)) or _root.mncatt_mc7.hitTest(ix, iyy, true)) or _root.mncatt_mc7.hitTest(ix, idy, true)) or _root.mncatt_mc7.hitTest(ixx, idy, true)) or _root.mncatt_mc7.hitTest(idx, iy, true)) or _root.mncatt_mc7.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc7);
}
if (((((((_root.mncatt_mc8.hitTest(ix, iy, true) or _root.mncatt_mc8.hitTest(ixx, iyy, true)) or _root.mncatt_mc8.hitTest(ixx, iy, true)) or _root.mncatt_mc8.hitTest(ix, iyy, true)) or _root.mncatt_mc8.hitTest(ix, idy, true)) or _root.mncatt_mc8.hitTest(ixx, idy, true)) or _root.mncatt_mc8.hitTest(idx, iy, true)) or _root.mncatt_mc8.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc8);
}
if (((((((_root.mncatt_mc9.hitTest(ix, iy, true) or _root.mncatt_mc9.hitTest(ixx, iyy, true)) or _root.mncatt_mc9.hitTest(ixx, iy, true)) or _root.mncatt_mc9.hitTest(ix, iyy, true)) or _root.mncatt_mc9.hitTest(ix, idy, true)) or _root.mncatt_mc9.hitTest(ixx, idy, true)) or _root.mncatt_mc9.hitTest(idx, iy, true)) or _root.mncatt_mc9.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc9);
}
if (((((((_root.mncatt_mc10.hitTest(ix, iy, true) or _root.mncatt_mc10.hitTest(ixx, iyy, true)) or _root.mncatt_mc10.hitTest(ixx, iy, true)) or _root.mncatt_mc10.hitTest(ix, iyy, true)) or _root.mncatt_mc10.hitTest(ix, idy, true)) or _root.mncatt_mc10.hitTest(ixx, idy, true)) or _root.mncatt_mc10.hitTest(idx, iy, true)) or _root.mncatt_mc10.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc10);
}
if (((((((_root.mncatt_mc11.hitTest(ix, iy, true) or _root.mncatt_mc11.hitTest(ixx, iyy, true)) or _root.mncatt_mc11.hitTest(ixx, iy, true)) or _root.mncatt_mc11.hitTest(ix, iyy, true)) or _root.mncatt_mc11.hitTest(ix, idy, true)) or _root.mncatt_mc11.hitTest(ixx, idy, true)) or _root.mncatt_mc11.hitTest(idx, iy, true)) or _root.mncatt_mc11.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc11);
}
if (((((((_root.mncatt_mc12.hitTest(ix, iy, true) or _root.mncatt_mc12.hitTest(ixx, iyy, true)) or _root.mncatt_mc12.hitTest(ixx, iy, true)) or _root.mncatt_mc12.hitTest(ix, iyy, true)) or _root.mncatt_mc12.hitTest(ix, idy, true)) or _root.mncatt_mc12.hitTest(ixx, idy, true)) or _root.mncatt_mc12.hitTest(idx, iy, true)) or _root.mncatt_mc12.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc12);
}
if (((((((_root.mncatt_mc13.hitTest(ix, iy, true) or _root.mncatt_mc13.hitTest(ixx, iyy, true)) or _root.mncatt_mc13.hitTest(ixx, iy, true)) or _root.mncatt_mc13.hitTest(ix, iyy, true)) or _root.mncatt_mc13.hitTest(ix, idy, true)) or _root.mncatt_mc13.hitTest(ixx, idy, true)) or _root.mncatt_mc13.hitTest(idx, iy, true)) or _root.mncatt_mc13.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc13);
}
if (((((((_root.mncatt_mc14.hitTest(ix, iy, true) or _root.mncatt_mc14.hitTest(ixx, iyy, true)) or _root.mncatt_mc14.hitTest(ixx, iy, true)) or _root.mncatt_mc14.hitTest(ix, iyy, true)) or _root.mncatt_mc14.hitTest(ix, idy, true)) or _root.mncatt_mc14.hitTest(ixx, idy, true)) or _root.mncatt_mc14.hitTest(idx, iy, true)) or _root.mncatt_mc14.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc14);
}
if (((((((_root.mncatt_mc15.hitTest(ix, iy, true) or _root.mncatt_mc15.hitTest(ixx, iyy, true)) or _root.mncatt_mc15.hitTest(ixx, iy, true)) or _root.mncatt_mc15.hitTest(ix, iyy, true)) or _root.mncatt_mc15.hitTest(ix, idy, true)) or _root.mncatt_mc15.hitTest(ixx, idy, true)) or _root.mncatt_mc15.hitTest(idx, iy, true)) or _root.mncatt_mc15.hitTest(idx, iyy, true)) {
active = false;
removeMovieClip(_root.mncatt_mc15);
}
if (_root.potu.scn.hitTest(this._parent._x, this._parent._y, true)) {
active = false;
}
} else {
this._parent.gotoAndStop(3);
}
}
}
Symbol 168 MovieClip Frame 3
_root.scordis = _root.scordis + 50;
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 2
_root.scordis = _root.scordis + 30;
_root.gse2.gotoAndPlay("pot");
Symbol 183 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 2
_root.gse2.gotoAndPlay("gold");
Symbol 191 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 2
_root.gse2.gotoAndPlay("het");
Symbol 200 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 2
_root.scordis = _root.scordis + 55;
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 2
_root.scordis = _root.scordis + 35;
Symbol 222 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 2
_root.scordis = _root.scordis + 35;
Symbol 222 MovieClip Frame 3
_root.scordis = _root.scordis + 50;
Symbol 226 MovieClip Frame 131
duplicateMovieClip (_root.ent2, "ent2_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent2_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x;
mc._y = _root.hit.pt1._y;
_root.DubCount++;
duplicateMovieClip (_root.ent2, "ent2_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent2_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x;
mc._y = _root.hit.pt2._y;
_root.DubCount++;
duplicateMovieClip (_root.ent2, "ent2_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent2_mc" + _root.DubCount);
mc._x = _root.hit.pt3._x;
mc._y = _root.hit.pt3._y;
_root.DubCount++;
duplicateMovieClip (_root.ent2, "ent2_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent2_mc" + _root.DubCount);
mc._x = _root.hit.pt4._x;
mc._y = _root.hit.pt4._y;
_root.DubCount++;
duplicateMovieClip (_root.ensk1, "ensk1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ensk1_mc" + _root.DubCount);
mc._x = _x + 5;
mc._y = _y + 5;
_root.DubCount++;
Symbol 226 MovieClip Frame 132
stop();
Symbol 231 MovieClip Frame 1
stop();
duplicateMovieClip (_root.scnwip, "scnwip_mc" + _root.DubCount, _root.DubCount);
i = eval ("_root.scnwip_mc" + _root.DubCount);
i._x = 0;
i._y = 0;
_root.DubCount++;
_root.limt = 10;
_root.limti = 0;
_root.roomtime = 0;
_root.rmnum = "001";
_root.gamecont.rm1.activated = true;
_root.gdoor.gotoAndStop(1);
_root.gravs.gotoAndStop(1);
_root.minmap.r1.active = true;
_root.minmap.checkinact();
Instance of Symbol 150 MovieClip "gate22" in Symbol 231 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamecont.gate22 == true) {
if (_root.mnc.hitTest(_x, _y, true) or _root.mnc.hitTest(_x + 50, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate22 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 157 MovieClip "key2" in Symbol 231 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamecont.key2 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amkeys++;
_root.gamecont.key2 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 159 MovieClip "door1" in Symbol 231 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x, _y - 25, true)) {
_root.cleardubs = true;
_root.mnc._x = 295;
_root.mnc._y = 55;
_root.hit.gotoAndStop("rm2");
}
}
Instance of Symbol 161 MovieClip "d2wl" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if ((_root.minmap.r1.active == true) and (_root.minmap.r4a.active == true)) {
active = true;
}
if (active) {
if (_root.mnc.hitTest(_x + 25, _y, true)) {
_root.cleardubs = true;
_root.mnc._x = 560;
_root.mnc._y = 185;
_root.hit.gotoAndStop("rm4a");
}
}
}
Instance of Symbol 161 MovieClip "d2wl2" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if ((_root.minmap.r1.active == true) and (_root.minmap.r4b.active == true)) {
active = true;
}
if (active) {
if (_root.mnc.hitTest(_x - 25, _y, true)) {
_root.cleardubs = true;
_root.mnc._x = 35;
_root.mnc._y = 185;
_root.hit.gotoAndStop("rm4b");
}
}
}
Instance of Symbol 168 MovieClip "ensg2" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
waitin = 35;
wx = 20;
wxx = 20;
wy = 20;
wyy = 20;
if (_root.gamecont.ensg2 == false) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.gamecont.ensg2 == true) {
if (this._currentframe == 3) {
_root.gamecont.ensg2 = false;
}
}
}
Instance of Symbol 168 MovieClip "ensg1" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
waitin = 40;
wx = 20;
wxx = 20;
wy = 20;
wyy = 20;
if (_root.gamecont.ensg1 == false) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.gamecont.ensg1 == true) {
if (this._currentframe == 3) {
_root.gamecont.ensg1 = false;
}
}
}
Instance of Symbol 157 MovieClip "key1" in Symbol 231 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamecont.key1 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amkeys++;
_root.gamecont.key1 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 171 MovieClip in Symbol 231 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gamecont.pot1 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.ampots++;
_root.gamecont.pot1 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 112 MovieClip in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.minmap.r1.inside = true;
}
Symbol 231 MovieClip Frame 2
duplicateMovieClip (_root.scnwip, "scnwip_mc" + _root.DubCount, _root.DubCount);
i = eval ("_root.scnwip_mc" + _root.DubCount);
i._x = 0;
i._y = 0;
_root.DubCount++;
_root.limt = 5;
_root.limti = 0;
_root.roomtime = 0;
_root.rmnum = "002";
_root.gamecont.rm2.activated = true;
_root.gdoor.gotoAndStop(2);
_root.gravs.gotoAndStop(2);
_root.minmap.r2.active = true;
_root.minmap.checkinact();
Instance of Symbol 150 MovieClip "gate2" in Symbol 231 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.gamecont.gate2 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate2 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 150 MovieClip "gate3" in Symbol 231 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.gamecont.gate3 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate3 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 175 MovieClip in Symbol 231 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x + 30, _y, true)) {
_root.cleardubs = true;
_root.mnc._x = 550;
_root.mnc._y = 210;
_root.hit.gotoAndStop("rm3a");
}
}
Instance of Symbol 175 MovieClip in Symbol 231 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x - 25, _y, true)) {
_root.mnc._x = 60;
_root.mnc._y = 210;
_root.hit.gotoAndStop("rm3b");
}
}
Instance of Symbol 168 MovieClip "ensg3" in Symbol 231 MovieClip Frame 2
onClipEvent (load) {
function createexisting() {
if (_root.gamecont.ensg3 == true) {
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(20) - random(20));
mc._y = _root.hit.pt1._y + (random(20) - random(20));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(20) - random(20));
mc._y = _root.hit.pt1._y + (random(20) - random(20));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(20) - random(20));
mc._y = _root.hit.pt1._y + (random(20) - random(20));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(20) - random(20));
mc._y = _root.hit.pt2._y + (random(20) - random(20));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(20) - random(20));
mc._y = _root.hit.pt2._y + (random(20) - random(20));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(20) - random(20));
mc._y = _root.hit.pt2._y + (random(20) - random(20));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt3._x + (random(20) - random(20));
mc._y = _root.hit.pt3._y + (random(20) - random(20));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt3._x + (random(20) - random(20));
mc._y = _root.hit.pt3._y + (random(20) - random(20));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt3._x + (random(20) - random(20));
mc._y = _root.hit.pt3._y + (random(20) - random(20));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt3._x + (random(20) - random(20));
mc._y = _root.hit.pt3._y + (random(20) - random(20));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt3._x + (random(20) - random(20));
mc._y = _root.hit.pt3._y + (random(20) - random(20));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt4._x + (random(20) - random(20));
mc._y = _root.hit.pt4._y + (random(20) - random(20));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt4._x + (random(20) - random(20));
mc._y = _root.hit.pt4._y + (random(20) - random(20));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt4._x + (random(20) - random(20));
mc._y = _root.hit.pt4._y + (random(20) - random(20));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt5._x + (random(20) - random(20));
mc._y = _root.hit.pt5._y + (random(20) - random(20));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt5._x + (random(20) - random(20));
mc._y = _root.hit.pt5._y + (random(20) - random(20));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt5._x + (random(20) - random(20));
mc._y = _root.hit.pt5._y + (random(20) - random(20));
_root.DubCount++;
}
}
waitin = 5;
waitii = 16;
wx = 20;
wxx = 20;
wy = 20;
wyy = 20;
if (_root.gamecont.ensg3 == true) {
fspawn = true;
} else {
fspawn = false;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (fspawn == true) {
waitii--;
if (waitii <= 0) {
createexisting();
fspawn = false;
}
}
}
onClipEvent (enterFrame) {
if (_root.gamecont.ensg3 == true) {
if (this._currentframe == 3) {
_root.gamecont.ensg3 = false;
}
}
}
Instance of Symbol 171 MovieClip in Symbol 231 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.gamecont.pot2 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.ampots++;
_root.gamecont.pot2 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 171 MovieClip in Symbol 231 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.gamecont.pot3 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.ampots++;
_root.gamecont.pot3 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 159 MovieClip "door1" in Symbol 231 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x, _y + 25, true)) {
_root.cleardubs = true;
_root.mnc._x = 295;
_root.mnc._y = 375;
_root.hit.gotoAndStop("rm1");
}
}
Instance of Symbol 112 MovieClip in Symbol 231 MovieClip Frame 2
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.minmap.r2.inside = true;
}
Symbol 231 MovieClip Frame 3
duplicateMovieClip (_root.scnwip, "scnwip_mc" + _root.DubCount, _root.DubCount);
i = eval ("_root.scnwip_mc" + _root.DubCount);
i._x = 0;
i._y = 0;
_root.DubCount++;
_root.limt = 10;
_root.limti = 0;
_root.roomtime = 0;
_root.rmnum = "03a";
_root.gamecont.rm3a.activated = true;
_root.gdoor.gotoAndStop(3);
_root.gravs.gotoAndStop(3);
_root.minmap.r3a.active = true;
_root.minmap.checkinact();
Instance of Symbol 150 MovieClip "gate4" in Symbol 231 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.gamecont.gate4 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate4 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 150 MovieClip "gate5" in Symbol 231 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.gamecont.gate5 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate5 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 175 MovieClip in Symbol 231 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x, _y + 25, true)) {
_root.cleardubs = true;
_root.mnc._x = 160;
_root.mnc._y = 370;
_root.hit.gotoAndStop("rm4a");
}
}
Instance of Symbol 161 MovieClip "d2wl" in Symbol 231 MovieClip Frame 3
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if ((_root.minmap.r6a.active == true) and (_root.minmap.r3a.active == true)) {
active = true;
}
if (active) {
if (_root.mnc.hitTest(_x + 25, _y, true)) {
_root.mnc._x = 560;
_root.mnc._y = 213;
_root.hit.gotoAndStop("rm6a");
}
}
}
Instance of Symbol 175 MovieClip in Symbol 231 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x - 25, _y, true)) {
_root.cleardubs = true;
_root.mnc._x = 50;
_root.mnc._y = 210;
_root.hit.gotoAndStop("rm2");
}
}
Instance of Symbol 157 MovieClip "key3" in Symbol 231 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.gamecont.key3 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amkeys++;
_root.gamecont.key3 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 157 MovieClip "key4" in Symbol 231 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.gamecont.key4 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amkeys++;
_root.gamecont.key4 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 168 MovieClip "ensg4" in Symbol 231 MovieClip Frame 3
onClipEvent (load) {
function createexisting() {
if (_root.gamecont.ensg4 == true) {
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
}
}
waitin = 15;
waitii = 16;
wx = 10;
wxx = 0;
wy = 0;
wyy = 10;
sx = 100;
sxx = 100;
sy = 100;
syy = 100;
if (_root.gamecont.ensg4 == true) {
fspawn = true;
} else {
fspawn = false;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (fspawn == true) {
waitii--;
if (waitii <= 0) {
createexisting();
fspawn = false;
}
}
}
onClipEvent (enterFrame) {
if (_root.gamecont.ensg4 == true) {
if (this._currentframe == 3) {
_root.gamecont.ensg4 = false;
}
}
}
Instance of Symbol 171 MovieClip in Symbol 231 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.gamecont.pot4 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.ampots++;
_root.gamecont.pot4 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 183 MovieClip in Symbol 231 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.gamecont.gold1 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.scordis = _root.scordis + 1500;
_root.gamecont.gold1 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 112 MovieClip in Symbol 231 MovieClip Frame 3
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.minmap.r3a.inside = true;
}
Symbol 231 MovieClip Frame 4
duplicateMovieClip (_root.scnwip, "scnwip_mc" + _root.DubCount, _root.DubCount);
i = eval ("_root.scnwip_mc" + _root.DubCount);
i._x = 0;
i._y = 0;
_root.DubCount++;
_root.limt = 5;
_root.limti = 0;
_root.roomtime = 0;
_root.rmnum = "04a";
_root.gamecont.rm4a.activated = true;
_root.gdoor.gotoAndStop(4);
_root.gravs.gotoAndStop(4);
_root.minmap.r4a.active = true;
_root.minmap.checkinact();
Instance of Symbol 150 MovieClip "gate6" in Symbol 231 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.gamecont.gate6 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate6 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 159 MovieClip "door1" in Symbol 231 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x + 25, _y, true)) {
_root.mnc._x = 550;
_root.mnc._y = 190;
_root.hit.gotoAndStop("rm5a");
}
}
Instance of Symbol 161 MovieClip "d2wl" in Symbol 231 MovieClip Frame 4
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if ((_root.minmap.r1.active == true) and (_root.minmap.r4a.active == true)) {
active = true;
}
if (active) {
if (_root.mnc.hitTest(_x - 25, _y, true)) {
_root.mnc._x = 40;
_root.mnc._y = 185;
_root.hit.gotoAndStop("rm1");
}
}
}
Instance of Symbol 175 MovieClip in Symbol 231 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x, _y + 25, true)) {
_root.mnc._x = 297.5;
_root.mnc._y = 350;
_root.hit.gotoAndStop("rm7a");
}
}
Instance of Symbol 168 MovieClip "ensg5" in Symbol 231 MovieClip Frame 4
onClipEvent (load) {
function createexisting() {
if (_root.gamecont.ensg5 == true) {
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
}
}
waitin = 15;
waitii = 16;
wx = 10;
wxx = 10;
wy = 10;
wyy = 10;
sx = 200;
sxx = 200;
sy = 200;
syy = 200;
if (_root.gamecont.ensg5 == true) {
fspawn = true;
} else {
fspawn = false;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (fspawn == true) {
waitii--;
if (waitii <= 0) {
createexisting();
fspawn = false;
}
}
}
onClipEvent (enterFrame) {
if (_root.gamecont.ensg5 == true) {
if (this._currentframe == 3) {
_root.gamecont.ensg5 = false;
}
}
}
Instance of Symbol 157 MovieClip in Symbol 231 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.gamecont.key13 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amkeys++;
_root.gamecont.key13 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 157 MovieClip in Symbol 231 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.gamecont.key14 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amkeys++;
_root.gamecont.key14 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 175 MovieClip in Symbol 231 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x, _y - 25, true)) {
_root.cleardubs = true;
_root.mnc._x = 160;
_root.mnc._y = 35;
_root.hit.gotoAndStop("rm3a");
}
}
Instance of Symbol 112 MovieClip in Symbol 231 MovieClip Frame 4
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.minmap.r4a.inside = true;
}
Symbol 231 MovieClip Frame 5
duplicateMovieClip (_root.scnwip, "scnwip_mc" + _root.DubCount, _root.DubCount);
i = eval ("_root.scnwip_mc" + _root.DubCount);
i._x = 0;
i._y = 0;
_root.DubCount++;
_root.limt = 5;
_root.limti = 0;
_root.roomtime = 0;
_root.rmnum = "05a";
_root.gamecont.rm5a.activated = true;
_root.gdoor.gotoAndStop(5);
_root.gravs.gotoAndStop(5);
_root.minmap.r5a.active = true;
_root.minmap.checkinact();
Instance of Symbol 150 MovieClip "gate7" in Symbol 231 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.gamecont.gate7 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate7 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 159 MovieClip "door1" in Symbol 231 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x, _y, true)) {
_root.mnc._x = 435;
_root.mnc._y = 30;
_root.hit.gotoAndStop("rm6a");
}
}
Instance of Symbol 191 MovieClip "rkey1" in Symbol 231 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.gamecont.rkey1 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amrkeys++;
_root.gamecont.rkey1 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 168 MovieClip "ensg6" in Symbol 231 MovieClip Frame 5
onClipEvent (load) {
waitin = 20;
wx = 20;
wxx = 0;
wy = 20;
wyy = 0;
if (_root.gamecont.ensg6 == false) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.gamecont.ensg6 == true) {
if (this._currentframe == 3) {
_root.gamecont.ensg6 = false;
}
}
}
Instance of Symbol 168 MovieClip "ensg7" in Symbol 231 MovieClip Frame 5
onClipEvent (load) {
function createexisting() {
if (_root.gamecont.ensg7 == true) {
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
}
}
waitin = 25;
waitii = 16;
wx = 10;
wxx = 10;
wy = 10;
wyy = 10;
sx = 100;
sxx = 100;
sy = 100;
syy = 100;
if (_root.gamecont.ensg7 == true) {
fspawn = true;
} else {
fspawn = false;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (fspawn == true) {
waitii--;
if (waitii <= 0) {
createexisting();
fspawn = false;
}
}
}
onClipEvent (enterFrame) {
if (_root.gamecont.ensg7 == true) {
if (this._currentframe == 3) {
_root.gamecont.ensg7 = false;
}
}
}
Instance of Symbol 157 MovieClip in Symbol 231 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.gamecont.key15 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amkeys++;
_root.gamecont.key15 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 171 MovieClip in Symbol 231 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.gamecont.pot5 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.ampots++;
_root.gamecont.pot5 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 183 MovieClip in Symbol 231 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.gamecont.gold2 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.scordis = _root.scordis + 1500;
_root.gamecont.gold2 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 194 MovieClip in Symbol 231 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.gamecont.meat4 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.hlth = _root.hlth + 150;
_root.gamecont.meat4 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 159 MovieClip "door1" in Symbol 231 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x - 15, _y, true)) {
_root.mnc._x = 55;
_root.mnc._y = 190;
_root.hit.gotoAndStop("rm4a");
}
}
Instance of Symbol 112 MovieClip in Symbol 231 MovieClip Frame 5
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.minmap.r5a.inside = true;
}
Symbol 231 MovieClip Frame 6
duplicateMovieClip (_root.scnwip, "scnwip_mc" + _root.DubCount, _root.DubCount);
i = eval ("_root.scnwip_mc" + _root.DubCount);
i._x = 0;
i._y = 0;
_root.DubCount++;
_root.limt = 15;
_root.limti = 0;
_root.roomtime = 0;
_root.rmnum = "06a";
_root.gamecont.rm6a.activated = true;
_root.gdoor.gotoAndStop(6);
_root.gravs.gotoAndStop(6);
_root.minmap.r6a.active = true;
_root.minmap.checkinact();
Instance of Symbol 150 MovieClip "gate8" in Symbol 231 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.gamecont.gate8 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate8 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 161 MovieClip "d2wl" in Symbol 231 MovieClip Frame 6
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if ((_root.minmap.r6a.active == true) and (_root.minmap.r3a.active == true)) {
active = true;
}
if (active) {
if (_root.mnc.hitTest(_x - 25, _y, true)) {
_root.mnc._x = 45;
_root.mnc._y = 213;
_root.hit.gotoAndStop("rm3a");
}
}
}
Instance of Symbol 150 MovieClip "gate9" in Symbol 231 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.gamecont.gate9 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate9 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 157 MovieClip in Symbol 231 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.gamecont.key5 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amkeys++;
_root.gamecont.key5 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 168 MovieClip "ensg8" in Symbol 231 MovieClip Frame 6
onClipEvent (load) {
function createexisting() {
if (_root.gamecont.ensg8 == true) {
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt3._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt3._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt3._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt3._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt3._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt3._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt4._x + (random(sx + 50) - random(sxx + 50));
mc._y = _root.hit.pt4._y + (random(sy + 50) - random(syy + 50));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt4._x + (random(sx + 50) - random(sxx + 50));
mc._y = _root.hit.pt4._y + (random(sy + 50) - random(syy + 50));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt4._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt4._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt4._x + (random(sx + 50) - random(sxx + 50));
mc._y = _root.hit.pt4._y + (random(sy + 50) - random(syy + 50));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt4._x + (random(sx + 50) - random(sxx + 50));
mc._y = _root.hit.pt4._y + (random(sy + 50) - random(syy + 50));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt4._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt4._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt5._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt5._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt5._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt5._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt5._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt5._y + (random(sy) - random(syy));
_root.DubCount++;
}
}
waitin = 25;
waitii = 16;
wx = 10;
wxx = 10;
wy = 10;
wyy = 10;
sx = 10;
sxx = 10;
sy = 10;
syy = 10;
if (_root.gamecont.ensg8 == true) {
fspawn = true;
} else {
fspawn = false;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (fspawn == true) {
waitii--;
if (waitii <= 0) {
createexisting();
fspawn = false;
}
}
}
onClipEvent (enterFrame) {
if (_root.gamecont.ensg8 == true) {
if (this._currentframe == 3) {
_root.gamecont.ensg8 = false;
}
}
}
Instance of Symbol 157 MovieClip in Symbol 231 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.gamecont.key16 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amkeys++;
_root.gamecont.key16 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 157 MovieClip in Symbol 231 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.gamecont.key17 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amkeys++;
_root.gamecont.key17 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 171 MovieClip in Symbol 231 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.gamecont.pot6 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.ampots++;
_root.gamecont.pot6 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 183 MovieClip in Symbol 231 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.gamecont.gold3 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.scordis = _root.scordis + 1500;
_root.gamecont.gold3 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 159 MovieClip "door1" in Symbol 231 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x, _y + 13, true)) {
_root.mnc._x = 465;
_root.mnc._y = 385;
_root.hit.gotoAndStop("rm5a");
}
}
Instance of Symbol 112 MovieClip in Symbol 231 MovieClip Frame 6
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.minmap.r6a.inside = true;
}
Symbol 231 MovieClip Frame 7
duplicateMovieClip (_root.scnwip, "scnwip_mc" + _root.DubCount, _root.DubCount);
i = eval ("_root.scnwip_mc" + _root.DubCount);
i._x = 0;
i._y = 0;
_root.DubCount++;
_root.limt = 30;
_root.limti = 0;
_root.roomtime = 0;
_root.rmnum = "07a";
_root.gamecont.rm7a.activated = true;
_root.lvlmask.gotoAndStop(1);
_root.gdoor.gotoAndStop(7);
_root.gravs.gotoAndStop(7);
_root.minmap.r7a.active = true;
_root.minmap.checkinact();
Instance of Symbol 150 MovieClip "gate10" in Symbol 231 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.gamecont.gate10 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate10 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 150 MovieClip "gate11" in Symbol 231 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.gamecont.gate11 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate11 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 200 MovieClip "dy1" in Symbol 231 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.gamecont.rgate1 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amrkeys >= 1) {
_root.mnc.amrkeys--;
_root.gamecont.rgate1 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 175 MovieClip in Symbol 231 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x, _y - 25, true)) {
_root.mnc._x = 297.5;
_root.mnc._y = 65;
_root.hit.gotoAndStop("rm4a");
}
}
Instance of Symbol 175 MovieClip in Symbol 231 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x, _y + 15, true)) {
_root.mnc._x = 297.5;
_root.mnc._y = 350;
_root.hit.gotoAndStop("rm8a");
}
}
Instance of Symbol 168 MovieClip "ensg9" in Symbol 231 MovieClip Frame 7
onClipEvent (load) {
waitin = 2;
wx = 20;
wxx = 20;
wy = 20;
wyy = 20;
if (_root.gamecont.ensg9 == false) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.gamecont.ensg9 == true) {
if (this._currentframe == 3) {
_root.gamecont.ensg9 = false;
}
}
}
Instance of Symbol 168 MovieClip "ensg10" in Symbol 231 MovieClip Frame 7
onClipEvent (load) {
waitin = 2;
wx = 20;
wxx = 20;
wy = 20;
wyy = 20;
if (_root.gamecont.ensg10 == false) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.gamecont.ensg10 == true) {
if (this._currentframe == 3) {
_root.gamecont.ensg10 = false;
}
}
}
Instance of Symbol 168 MovieClip "ensg11" in Symbol 231 MovieClip Frame 7
onClipEvent (load) {
waitin = 1;
wx = 50;
wxx = 50;
wy = 35;
wyy = 0;
if (_root.gamecont.ensg11 == false) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.gamecont.ensg11 == true) {
if (this._currentframe == 3) {
_root.gamecont.ensg11 = false;
}
}
}
Instance of Symbol 112 MovieClip in Symbol 231 MovieClip Frame 7
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.minmap.r7a.inside = true;
}
Symbol 231 MovieClip Frame 8
duplicateMovieClip (_root.scnwip, "scnwip_mc" + _root.DubCount, _root.DubCount);
i = eval ("_root.scnwip_mc" + _root.DubCount);
i._x = 0;
i._y = 0;
_root.DubCount++;
_root.limt = 5;
_root.limti = 0;
_root.roomtime = 0;
_root.rmnum = "08a";
_root.gamecont.rm8a.activated = true;
_root.lvlmask.gotoAndStop(2);
_root.gdoor.gotoAndStop(8);
_root.gravs.gotoAndStop(8);
_root.minmap.r8a.active = true;
_root.minmap.checkinact();
Instance of Symbol 203 MovieClip in Symbol 231 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.gamecont.bgate1 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.ambkeys >= 1) {
_root.mnc.ambkeys--;
_root.gamecont.bgate1 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 175 MovieClip in Symbol 231 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x, _y - 25, true)) {
_root.mnc._x = 297.5;
_root.mnc._y = 65;
_root.hit.gotoAndStop("rm7a");
}
}
Instance of Symbol 175 MovieClip in Symbol 231 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x - 25, _y, true)) {
_root.mnc._x = 45;
_root.mnc._y = 165;
_root.hit.gotoAndStop("rm9");
}
}
Instance of Symbol 157 MovieClip in Symbol 231 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.gamecont.key8 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amkeys++;
_root.gamecont.key8 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 157 MovieClip in Symbol 231 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.gamecont.key9 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amkeys++;
_root.gamecont.key9 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 157 MovieClip in Symbol 231 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.gamecont.key6 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amkeys++;
_root.gamecont.key6 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 157 MovieClip in Symbol 231 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.gamecont.key7 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amkeys++;
_root.gamecont.key7 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 168 MovieClip "ensg13" in Symbol 231 MovieClip Frame 8
onClipEvent (load) {
function createexisting() {
if (_root.gamecont.ensg13 == true) {
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
}
}
waitin = 25;
waitii = 16;
wx = 10;
wxx = 10;
wy = 10;
wyy = 10;
sx = 250;
sxx = 250;
sy = 175;
syy = 175;
if (_root.gamecont.ensg13 == true) {
fspawn = true;
} else {
fspawn = false;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (fspawn == true) {
waitii--;
if (waitii <= 0) {
createexisting();
fspawn = false;
}
}
}
onClipEvent (enterFrame) {
if (_root.gamecont.ensg13 == true) {
if (this._currentframe == 3) {
_root.gamecont.ensg13 = false;
}
}
}
Instance of Symbol 168 MovieClip "ensg12" in Symbol 231 MovieClip Frame 8
onClipEvent (load) {
waitin = 25;
wx = 50;
wxx = 50;
wy = 35;
wyy = 0;
if (_root.gamecont.ensg12 == false) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.gamecont.ensg12 == true) {
if (this._currentframe == 3) {
_root.gamecont.ensg12 = false;
}
}
}
Instance of Symbol 194 MovieClip in Symbol 231 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.gamecont.meat1 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.hlth = _root.hlth + 150;
_root.gamecont.meat1 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 171 MovieClip in Symbol 231 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.gamecont.pot7 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.ampots++;
_root.gamecont.pot7 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 183 MovieClip in Symbol 231 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.gamecont.gold4 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.scordis = _root.scordis + 1500;
_root.gamecont.gold4 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 112 MovieClip in Symbol 231 MovieClip Frame 8
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.minmap.r8a.inside = true;
}
Symbol 231 MovieClip Frame 9
duplicateMovieClip (_root.scnwip, "scnwip_mc" + _root.DubCount, _root.DubCount);
i = eval ("_root.scnwip_mc" + _root.DubCount);
i._x = 0;
i._y = 0;
_root.DubCount++;
_root.limt = 5;
_root.limti = 0;
_root.roomtime = 0;
_root.rmnum = "03b";
_root.gamecont.rm3b.activated = true;
_root.gdoor.gotoAndStop(9);
_root.gravs.gotoAndStop(9);
_root.minmap.r3b.active = true;
_root.minmap.checkinact();
Instance of Symbol 175 MovieClip in Symbol 231 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x - 25, _y, true)) {
_root.mnc._x = 40;
_root.mnc._y = 210;
_root.hit.gotoAndStop("rm6b");
}
}
Instance of Symbol 175 MovieClip in Symbol 231 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x + 25, _y, true)) {
_root.mnc._x = 560;
_root.mnc._y = 210;
_root.hit.gotoAndStop("rm2");
}
}
Instance of Symbol 150 MovieClip "gate14" in Symbol 231 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.gamecont.gate14 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate14 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 150 MovieClip "gate15" in Symbol 231 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.gamecont.gate15 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate15 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 150 MovieClip "gate12" in Symbol 231 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.gamecont.gate12 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate12 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 150 MovieClip "gate13" in Symbol 231 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.gamecont.gate13 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate13 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 159 MovieClip "door1" in Symbol 231 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x, _y + 10, true)) {
_root.mnc._x = 455;
_root.mnc._y = 355;
_root.hit.gotoAndStop("rm4b");
}
}
Instance of Symbol 157 MovieClip in Symbol 231 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.gamecont.key10 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amkeys++;
_root.gamecont.key10 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 157 MovieClip in Symbol 231 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.gamecont.key11 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amkeys++;
_root.gamecont.key11 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 194 MovieClip in Symbol 231 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.gamecont.meat2 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.hlth = _root.hlth + 150;
_root.gamecont.meat2 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 171 MovieClip in Symbol 231 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.gamecont.pot8 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.ampots++;
_root.gamecont.pot8 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 171 MovieClip in Symbol 231 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.gamecont.pot9 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.ampots++;
_root.gamecont.pot9 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 200 MovieClip "dy3" in Symbol 231 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.gamecont.rgate3 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amrkeys >= 1) {
_root.mnc.amrkeys--;
_root.gamecont.rgate3 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 168 MovieClip "ensg14" in Symbol 231 MovieClip Frame 9
onClipEvent (load) {
function createexisting() {
if (_root.gamecont.ensg14 == true) {
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt3._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt3._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt3._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt3._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt3._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt3._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt3._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt3._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt3._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt3._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt4._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt4._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt4._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt4._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt4._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt4._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt4._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt4._y + (random(sy) - random(syy));
_root.DubCount++;
}
}
waitin = 25;
waitii = 16;
wx = 10;
wxx = 10;
wy = 10;
wyy = 10;
sx = 50;
sxx = 50;
sy = 50;
syy = 50;
if (_root.gamecont.ensg14 == true) {
fspawn = true;
} else {
fspawn = false;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (fspawn == true) {
waitii--;
if (waitii <= 0) {
createexisting();
fspawn = false;
}
}
}
onClipEvent (enterFrame) {
if (_root.gamecont.ensg14 == true) {
if (this._currentframe == 3) {
_root.gamecont.ensg14 = false;
}
}
}
Instance of Symbol 112 MovieClip in Symbol 231 MovieClip Frame 9
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.minmap.r3b.inside = true;
}
Symbol 231 MovieClip Frame 10
duplicateMovieClip (_root.scnwip, "scnwip_mc" + _root.DubCount, _root.DubCount);
i = eval ("_root.scnwip_mc" + _root.DubCount);
i._x = 0;
i._y = 0;
_root.DubCount++;
_root.limt = 5;
_root.limti = 0;
_root.roomtime = 0;
_root.rmnum = "04b";
_root.gamecont.rm4b.activated = true;
_root.gdoor.gotoAndStop(10);
_root.gravs.gotoAndStop(10);
_root.minmap.r4b.active = true;
_root.minmap.checkinact();
Instance of Symbol 175 MovieClip in Symbol 231 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x, _y + 25, true)) {
_root.mnc._x = 310;
_root.mnc._y = 395;
_root.hit.gotoAndStop("rm7b");
}
}
Instance of Symbol 150 MovieClip "gate21" in Symbol 231 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_root.gamecont.gate21 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate21 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 161 MovieClip "d2wl1" in Symbol 231 MovieClip Frame 10
onClipEvent (load) {
active = true;
}
onClipEvent (enterFrame) {
if ((_root.minmap.r5b.active == true) and (_root.minmap.r4b.active == true)) {
active = true;
}
if (active) {
if (_root.mnc.hitTest(_x - 25, _y, true)) {
_root.cleardubs = true;
_root.mnc._x = 45;
_root.mnc._y = 365;
_root.hit.gotoAndStop("rm5b");
}
}
}
Instance of Symbol 161 MovieClip "d2wl" in Symbol 231 MovieClip Frame 10
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if ((_root.minmap.r1.active == true) and (_root.minmap.r4b.active == true)) {
active = true;
}
if (active) {
if (_root.mnc.hitTest(_x + 25, _y, true)) {
_root.cleardubs = true;
_root.mnc._x = 560;
_root.mnc._y = 185;
_root.hit.gotoAndStop("rm1");
}
}
}
Instance of Symbol 157 MovieClip in Symbol 231 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_root.gamecont.key12 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amkeys++;
_root.gamecont.key12 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 168 MovieClip "ensg15" in Symbol 231 MovieClip Frame 10
onClipEvent (load) {
function createexisting() {
if (_root.gamecont.ensg15 == true) {
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt2._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt2._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt3._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt3._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt3._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt3._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt3._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt3._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt3._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt3._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt3._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt3._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt4._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt4._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt4._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt4._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt4._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt4._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt4._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt4._y + (random(sy) - random(syy));
_root.DubCount++;
}
}
waitin = 25;
waitii = 16;
wx = 10;
wxx = 10;
wy = 10;
wyy = 10;
sx = 50;
sxx = 50;
sy = 50;
syy = 50;
if (_root.gamecont.ensg15 == true) {
fspawn = true;
} else {
fspawn = false;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (fspawn == true) {
waitii--;
if (waitii <= 0) {
createexisting();
fspawn = false;
}
}
}
onClipEvent (enterFrame) {
if (_root.gamecont.ensg15 == true) {
if (this._currentframe == 3) {
_root.gamecont.ensg15 = false;
}
}
}
Instance of Symbol 112 MovieClip in Symbol 231 MovieClip Frame 10
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.minmap.r4b.inside = true;
}
Symbol 231 MovieClip Frame 11
duplicateMovieClip (_root.scnwip, "scnwip_mc" + _root.DubCount, _root.DubCount);
i = eval ("_root.scnwip_mc" + _root.DubCount);
i._x = 0;
i._y = 0;
_root.DubCount++;
_root.limt = 15;
_root.limti = 0;
_root.roomtime = 0;
_root.rmnum = "05b";
_root.gamecont.rm5b.activated = true;
_root.gdoor.gotoAndStop(11);
_root.gravs.gotoAndStop(11);
_root.minmap.r5b.active = true;
_root.minmap.checkinact();
Instance of Symbol 150 MovieClip "gate16" in Symbol 231 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.gamecont.gate16 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate16 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 161 MovieClip "d2wl" in Symbol 231 MovieClip Frame 11
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if ((_root.minmap.r5b.active == true) and (_root.minmap.r4b.active == true)) {
active = true;
}
if (active) {
if (_root.mnc.hitTest(_x + 25, _y, true)) {
_root.cleardubs = true;
_root.mnc._x = 560;
_root.mnc._y = 365;
_root.hit.gotoAndStop("rm4b");
}
}
}
Instance of Symbol 191 MovieClip "rkey2" in Symbol 231 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.gamecont.rkey2 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amrkeys++;
_root.gamecont.rkey2 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 168 MovieClip "ensg16" in Symbol 231 MovieClip Frame 11
onClipEvent (load) {
function createexisting() {
if (_root.gamecont.ensg16 == true) {
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
}
}
waitin = 1;
waitii = 16;
wx = 10;
wxx = 10;
wy = 10;
wyy = 10;
sx = 250;
sxx = 250;
sy = 175;
syy = 175;
if (_root.gamecont.ensg16 == true) {
fspawn = true;
} else {
fspawn = false;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (fspawn == true) {
waitii--;
if (waitii <= 0) {
createexisting();
fspawn = false;
}
}
}
onClipEvent (enterFrame) {
if (_root.gamecont.ensg16 == true) {
if (this._currentframe == 3) {
_root.gamecont.ensg16 = false;
}
}
}
Instance of Symbol 157 MovieClip in Symbol 231 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.gamecont.key18 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amkeys++;
_root.gamecont.key18 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 112 MovieClip in Symbol 231 MovieClip Frame 11
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.minmap.r5b.inside = true;
}
Symbol 231 MovieClip Frame 12
duplicateMovieClip (_root.scnwip, "scnwip_mc" + _root.DubCount, _root.DubCount);
i = eval ("_root.scnwip_mc" + _root.DubCount);
i._x = 0;
i._y = 0;
_root.DubCount++;
_root.rmnum = "06b";
_root.gamecont.rm6b.activated = true;
_root.gdoor.gotoAndStop(12);
_root.gravs.gotoAndStop(12);
_root.minmap.r6b.active = true;
_root.minmap.checkinact();
Instance of Symbol 150 MovieClip "gate18" in Symbol 231 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gamecont.gate18 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate18 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 150 MovieClip "gate17" in Symbol 231 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gamecont.gate17 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate17 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 175 MovieClip in Symbol 231 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x + 25, _y, true)) {
_root.mnc._x = 560;
_root.mnc._y = 210;
_root.hit.gotoAndStop("rm3b");
}
}
Instance of Symbol 183 MovieClip in Symbol 231 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gamecont.gold5 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.scordis = _root.scordis + 1500;
_root.gamecont.gold5 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 183 MovieClip in Symbol 231 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gamecont.gold7 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.scordis = _root.scordis + 1500;
_root.gamecont.gold7 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 183 MovieClip in Symbol 231 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gamecont.gold6 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.scordis = _root.scordis + 1500;
_root.gamecont.gold6 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 183 MovieClip in Symbol 231 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gamecont.gold8 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.scordis = _root.scordis + 1500;
_root.gamecont.gold8 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 183 MovieClip in Symbol 231 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gamecont.gold10 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.scordis = _root.scordis + 1500;
_root.gamecont.gold10 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 183 MovieClip in Symbol 231 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gamecont.gold9 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.scordis = _root.scordis + 1500;
_root.gamecont.gold9 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 183 MovieClip in Symbol 231 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gamecont.gold11 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.scordis = _root.scordis + 1500;
_root.gamecont.gold11 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 183 MovieClip in Symbol 231 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gamecont.gold13 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.scordis = _root.scordis + 1500;
_root.gamecont.gold13 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 183 MovieClip in Symbol 231 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gamecont.gold12 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.scordis = _root.scordis + 1500;
_root.gamecont.gold12 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 183 MovieClip in Symbol 231 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gamecont.gold15 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.scordis = _root.scordis + 1500;
_root.gamecont.gold15 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 183 MovieClip in Symbol 231 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gamecont.gold17 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.scordis = _root.scordis + 1500;
_root.gamecont.gold17 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 183 MovieClip in Symbol 231 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gamecont.gold16 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.scordis = _root.scordis + 1500;
_root.gamecont.gold16 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 183 MovieClip in Symbol 231 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gamecont.gold14 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.scordis = _root.scordis + 1500;
_root.gamecont.gold14 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 183 MovieClip in Symbol 231 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gamecont.gold18 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.scordis = _root.scordis + 1500;
_root.gamecont.gold18 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 112 MovieClip in Symbol 231 MovieClip Frame 12
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.minmap.r6b.inside = true;
}
Symbol 231 MovieClip Frame 13
duplicateMovieClip (_root.scnwip, "scnwip_mc" + _root.DubCount, _root.DubCount);
i = eval ("_root.scnwip_mc" + _root.DubCount);
i._x = 0;
i._y = 0;
_root.DubCount++;
_root.limt = 15;
_root.limti = 0;
_root.roomtime = 0;
_root.rmnum = "07b";
_root.gamecont.rm7b.activated = true;
_root.gdoor.gotoAndStop(13);
_root.gravs.gotoAndStop(13);
_root.minmap.r7b.active = true;
_root.minmap.checkinact();
Instance of Symbol 150 MovieClip "gate19" in Symbol 231 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_root.gamecont.gate19 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate19 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 150 MovieClip "gate20" in Symbol 231 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_root.gamecont.gate20 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amkeys >= 1) {
_root.mnc.amkeys--;
_root.gamecont.gate20 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 200 MovieClip "dy2" in Symbol 231 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_root.gamecont.rgate2 == true) {
if (_root.mnc.hitTest(_x, _y, true)) {
this.gotoAndStop(1);
if (_root.mnc.amrkeys >= 1) {
_root.mnc.amrkeys--;
_root.gamecont.rgate2 = false;
}
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 175 MovieClip in Symbol 231 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x, _y - 25, true)) {
_root.mnc._x = 297.5;
_root.mnc._y = 65;
_root.hit.gotoAndStop("rm4b");
}
}
Instance of Symbol 175 MovieClip in Symbol 231 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x, _y + 15, true)) {
_root.mnc._x = 270;
_root.mnc._y = 350;
_root.hit.gotoAndStop("rm8b");
}
}
Instance of Symbol 168 MovieClip "ensg19" in Symbol 231 MovieClip Frame 13
onClipEvent (load) {
waitin = 2;
wx = 20;
wxx = 20;
wy = 20;
wyy = 20;
if (_root.gamecont.ensg19 == false) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.gamecont.ensg19 == true) {
if (this._currentframe == 3) {
_root.gamecont.ensg19 = false;
}
}
}
Instance of Symbol 168 MovieClip "ensg17" in Symbol 231 MovieClip Frame 13
onClipEvent (load) {
waitin = 2;
wx = 20;
wxx = 20;
wy = 20;
wyy = 20;
if (_root.gamecont.ensg17 == false) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.gamecont.ensg17 == true) {
if (this._currentframe == 3) {
_root.gamecont.ensg17 = false;
}
}
}
Instance of Symbol 168 MovieClip "ensg18" in Symbol 231 MovieClip Frame 13
onClipEvent (load) {
waitin = 1;
wx = 50;
wxx = 50;
wy = 35;
wyy = 0;
if (_root.gamecont.ensg18 == false) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.gamecont.ensg18 == true) {
if (this._currentframe == 3) {
_root.gamecont.ensg18 = false;
}
}
}
Instance of Symbol 112 MovieClip in Symbol 231 MovieClip Frame 13
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.minmap.r7b.inside = true;
}
Symbol 231 MovieClip Frame 14
duplicateMovieClip (_root.scnwip, "scnwip_mc" + _root.DubCount, _root.DubCount);
i = eval ("_root.scnwip_mc" + _root.DubCount);
i._x = 0;
i._y = 0;
_root.DubCount++;
_root.limt = 5;
_root.limti = 0;
_root.roomtime = 0;
_root.rmnum = "08a";
_root.gamecont.rm8a.activated = true;
_root.gdoor.gotoAndStop(14);
_root.gravs.gotoAndStop(14);
_root.minmap.r8b.active = true;
_root.minmap.checkinact();
Instance of Symbol 175 MovieClip in Symbol 231 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x, _y - 25, true)) {
_root.mnc._x = 297.5;
_root.mnc._y = 65;
_root.hit.gotoAndStop("rm7b");
}
}
Instance of Symbol 217 MovieClip in Symbol 231 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.gamecont.bkey1 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.ambkeys++;
_root.gamecont.bkey1 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 157 MovieClip in Symbol 231 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.gamecont.key19 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.mnc.amkeys++;
_root.gamecont.key19 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 194 MovieClip in Symbol 231 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.gamecont.meat3 == true) {
if (((_root.mnc.hitTest(_x + 5, _y, true) or _root.mnc.hitTest(_x - 5, _y, true)) or _root.mnc.hitTest(_x, _y + 5, true)) or _root.mnc.hitTest(_x, _y - 5, true)) {
_root.hlth = _root.hlth + 150;
_root.gamecont.meat3 = false;
}
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 168 MovieClip "ensg20" in Symbol 231 MovieClip Frame 14
onClipEvent (load) {
function createexisting() {
if (_root.gamecont.ensg20 == true) {
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
duplicateMovieClip (_root.ent1, "ent1_mc" + _root.DubCount, _root.DubCount);
mc = eval ("_root.ent1_mc" + _root.DubCount);
mc._x = _root.hit.pt1._x + (random(sx) - random(sxx));
mc._y = _root.hit.pt1._y + (random(sy) - random(syy));
_root.DubCount++;
}
}
waitin = 25;
waitii = 16;
wx = 10;
wxx = 10;
wy = 10;
wyy = 10;
sx = 250;
sxx = 250;
sy = 175;
syy = 175;
if (_root.gamecont.ensg20 == true) {
fspawn = true;
} else {
fspawn = false;
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (fspawn == true) {
waitii--;
if (waitii <= 0) {
createexisting();
fspawn = false;
}
}
}
onClipEvent (enterFrame) {
if (_root.gamecont.ensg20 == true) {
if (this._currentframe == 3) {
_root.gamecont.ensg20 = false;
}
}
}
Instance of Symbol 112 MovieClip in Symbol 231 MovieClip Frame 14
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.minmap.r8b.inside = true;
}
Symbol 231 MovieClip Frame 15
duplicateMovieClip (_root.scnwip, "scnwip_mc" + _root.DubCount, _root.DubCount);
i = eval ("_root.scnwip_mc" + _root.DubCount);
i._x = 0;
i._y = 0;
_root.DubCount++;
_root.roomtime = 0;
_root.rmnum = "09";
_root.lvlmask.gotoAndStop(1);
_root.gdoor.gotoAndStop(15);
_root.gravs.gotoAndStop(15);
_root.minmap.r9.active = true;
_root.minmap.checkinact();
Instance of Symbol 159 MovieClip "door1" in Symbol 231 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_root.mnc.hitTest(_x, _y, true)) {
if (_root.mnc.lock == false) {
_root.gamend.gotoAndPlay(2);
_root.mnc.lock = true;
}
}
}
Instance of Symbol 112 MovieClip in Symbol 231 MovieClip Frame 15
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.minmap.r9.inside = true;
}
Symbol 243 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 5
gotoAndStop (1);
Symbol 251 MovieClip Frame 1
stop();
Instance of Symbol 112 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
keys = true;
arrows = false;
}
onClipEvent (enterFrame) {
if (_root.mnc.lock == false) {
if (keys == true) {
if (((Key.isDown(39) or Key.isDown(37)) or Key.isDown(40)) or Key.isDown(38)) {
arrows = true;
keys = false;
}
if (Key.isDown(68)) {
this._parent.xspeed = 3;
this._parent.xdir = 2;
if (Key.isDown(68) and ((!Key.isDown(83)) and (!Key.isDown(87)))) {
this._parent.ydir = 0;
}
} else if (Key.isDown(65)) {
this._parent.xspeed = -3;
this._parent.xdir = -2;
if (Key.isDown(65) and ((!Key.isDown(83)) and (!Key.isDown(87)))) {
this._parent.ydir = 0;
}
} else {
this._parent.xspeed = 0;
}
if (Key.isDown(83)) {
this._parent.yspeed = 3;
this._parent.ydir = 2;
if (Key.isDown(83) and ((!Key.isDown(68)) and (!Key.isDown(65)))) {
this._parent.xdir = 0;
}
} else if (Key.isDown(87)) {
this._parent.yspeed = -3;
this._parent.ydir = -2;
if (Key.isDown(87) and ((!Key.isDown(68)) and (!Key.isDown(65)))) {
this._parent.xdir = 0;
}
} else {
this._parent.yspeed = 0;
}
if ((this._parent.xspeed == 0) and (this._parent.yspeed == 0)) {
this._parent.gotoAndStop(1);
} else if (this._parent._currentframe > 2) {
} else {
this._parent.gotoAndPlay(2);
}
}
if (arrows == true) {
if (((Key.isDown(68) or Key.isDown(65)) or Key.isDown(83)) or Key.isDown(87)) {
keys = true;
arrows = false;
}
if (Key.isDown(39)) {
this._parent.xspeed = 3;
this._parent.xdir = 2;
if (Key.isDown(39) and ((!Key.isDown(40)) and (!Key.isDown(38)))) {
this._parent.ydir = 0;
}
} else if (Key.isDown(37)) {
this._parent.xspeed = -3;
this._parent.xdir = -2;
if (Key.isDown(37) and ((!Key.isDown(40)) and (!Key.isDown(38)))) {
this._parent.ydir = 0;
}
} else {
this._parent.xspeed = 0;
}
if (Key.isDown(40)) {
this._parent.yspeed = 3;
this._parent.ydir = 2;
if (Key.isDown(40) and ((!Key.isDown(39)) and (!Key.isDown(37)))) {
this._parent.xdir = 0;
}
} else if (Key.isDown(38)) {
this._parent.yspeed = -3;
this._parent.ydir = -2;
if (Key.isDown(38) and ((!Key.isDown(39)) and (!Key.isDown(37)))) {
this._parent.xdir = 0;
}
} else {
this._parent.yspeed = 0;
}
if ((this._parent.xspeed == 0) and (this._parent.yspeed == 0)) {
this._parent.gotoAndStop(1);
} else if (this._parent._currentframe > 2) {
} else {
this._parent.gotoAndPlay(2);
}
}
} else {
this._parent.gotoAndStop(1);
}
}
Symbol 251 MovieClip Frame 9
gotoAndPlay (2);
Symbol 255 MovieClip Frame 1
_root.cleardubs = true;
Symbol 255 MovieClip Frame 15
_root.cleardubs = false;
Symbol 255 MovieClip Frame 31
stop();
_root.cleardubs = false;
removeMovieClip(this);
Symbol 263 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 1
stop();
Symbol 278 MovieClip Frame 7
stop();
removeMovieClip(this);
Symbol 282 MovieClip Frame 1
stop();
Symbol 288 MovieClip Frame 1
stop();
Symbol 288 MovieClip Frame 3
gotoAndStop (1);
Symbol 288 MovieClip Frame 5
gotoAndStop (1);
Symbol 288 MovieClip Frame 7
gotoAndStop (1);
Symbol 288 MovieClip Frame 9
gotoAndStop (1);
Symbol 308 MovieClip Frame 1
stop();
Symbol 309 MovieClip Frame 1
stop();
Instance of Symbol 308 MovieClip in Symbol 309 MovieClip Frame 1
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if (_root.hit.d2wl.active == true) {
active = true;
}
if (active) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 308 MovieClip in Symbol 309 MovieClip Frame 1
onClipEvent (load) {
active = true;
}
onClipEvent (enterFrame) {
if (active) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 308 MovieClip in Symbol 309 MovieClip Frame 1
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if (_root.hit.d2wl2.active == true) {
active = true;
}
if (active) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 308 MovieClip in Symbol 309 MovieClip Frame 2
onClipEvent (load) {
active = true;
}
onClipEvent (enterFrame) {
if (active) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 308 MovieClip in Symbol 309 MovieClip Frame 2
onClipEvent (load) {
active = true;
}
onClipEvent (enterFrame) {
if (active) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 308 MovieClip in Symbol 309 MovieClip Frame 3
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if (_root.hit.d2wl.active == true) {
active = true;
}
if (active) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 308 MovieClip in Symbol 309 MovieClip Frame 4
onClipEvent (load) {
active = true;
}
onClipEvent (enterFrame) {
if (active) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 308 MovieClip in Symbol 309 MovieClip Frame 4
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if (_root.hit.d2wl.active == true) {
active = true;
}
if (active) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 308 MovieClip in Symbol 309 MovieClip Frame 4
onClipEvent (load) {
active = true;
}
onClipEvent (enterFrame) {
if (active) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 308 MovieClip in Symbol 309 MovieClip Frame 6
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if (_root.hit.d2wl.active == true) {
active = true;
}
if (active) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 308 MovieClip in Symbol 309 MovieClip Frame 7
onClipEvent (load) {
active = true;
}
onClipEvent (enterFrame) {
if (active) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 308 MovieClip in Symbol 309 MovieClip Frame 9
onClipEvent (load) {
active = true;
}
onClipEvent (enterFrame) {
if (active) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 308 MovieClip in Symbol 309 MovieClip Frame 10
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if (_root.hit.d2wl.active == true) {
active = true;
}
if (active) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 308 MovieClip in Symbol 309 MovieClip Frame 12
onClipEvent (load) {
active = true;
}
onClipEvent (enterFrame) {
if (active) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 308 MovieClip in Symbol 309 MovieClip Frame 13
onClipEvent (load) {
active = true;
}
onClipEvent (enterFrame) {
if (active) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 313 MovieClip Frame 1
stop();
Instance of Symbol 313 MovieClip "r1" in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
active = true;
inside = true;
}
onClipEvent (enterFrame) {
if (active) {
if (inside) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 313 MovieClip "r4a" in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if (active) {
if (inside) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 313 MovieClip "r5a" in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if (active) {
if (inside) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 313 MovieClip "r2" in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if (active) {
if (inside) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 313 MovieClip "r3a" in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if (active) {
if (inside) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 313 MovieClip "r6a" in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if (active) {
if (inside) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 313 MovieClip "r8b" in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if (active) {
if (inside) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 313 MovieClip "r9" in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if (active) {
if (inside) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 313 MovieClip "r8a" in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if (active) {
if (inside) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 313 MovieClip "r7b" in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if (active) {
if (inside) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 313 MovieClip "r4b" in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if (active) {
if (inside) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 313 MovieClip "r5b" in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if (active) {
if (inside) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 313 MovieClip "r6b" in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if (active) {
if (inside) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 313 MovieClip "r3b" in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if (active) {
if (inside) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 313 MovieClip "r7a" in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
active = false;
}
onClipEvent (enterFrame) {
if (active) {
if (inside) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
} else {
gotoAndStop (1);
}
}
Symbol 337 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 212
stop();
Symbol 344 MovieClip Frame 1
stop();
Symbol 348 MovieClip Frame 1
stop();
Symbol 355 MovieClip Frame 150
stop();
Instance of Symbol 344 MovieClip in Symbol 355 MovieClip Frame 150
on (release) {
if (_root.gmusic == false) {
_root.gmusic = true;
this.gotoAndStop(1);
} else {
_root.gmusic = false;
this.gotoAndStop(2);
}
}
Instance of Symbol 348 MovieClip in Symbol 355 MovieClip Frame 150
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.gpause = false;
}
Instance of Symbol 98 MovieClip in Symbol 355 MovieClip Frame 151
on (rollOver, dragOver) {
this.gotoAndStop(2);
}
on (releaseOutside, rollOut, dragOut) {
this.gotoAndStop(1);
}
on (release) {
getURL ("http://www.freegamesforyourwebsite.com/click.php?gid=224&area=paused", "_blank");
}
Symbol 359 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 2
_root.cleardubs = true;
Symbol 359 MovieClip Frame 62
_root.gotoAndStop("engame");
Symbol 359 MovieClip Frame 121
stop();
Symbol 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 2
stop();
Symbol 400 Button
on (press) {
sboard.dir = "up";
}
on (release) {
sboard.dir = "stop";
}
Symbol 401 Button
on (press) {
sboard.dir = "down";
}
on (release) {
sboard.dir = "stop";
}