Frame 1
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
this.loadBar._width = getPercent * 100;
this.loadText = Math.round(getPercent * 100) + "%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}
Frame 2
this.gotoAndPlay(1);
Frame 21
gotoAndPlay (22);
Frame 22
stop();
Frame 23
stop();
Frame 24
stop();
Frame 25
stop();
_root.attachMovie("player", "player", _root.getNextHighestDepth(), {_x:0, _y:0});
items = 0;
walk_speed = 10;
player.onEnterFrame = function () {
if (Key.isDown(65)) {
this.play();
floor._x = floor._x + walk_speed;
walls._x = walls._x + walk_speed;
walls2._x = walls2._x + walk_speed;
walls3._x = walls3._x + walk_speed;
walls4._x = walls4._x + walk_speed;
walls5._x = walls5._x + walk_speed;
walls6._x = walls6._x + walk_speed;
walls7._x = walls7._x + walk_speed;
walls8._x = walls8._x + walk_speed;
walls9._x = walls9._x + walk_speed;
walls10._x = walls10._x + walk_speed;
walls11._x = walls11._x + walk_speed;
walls12._x = walls12._x + walk_speed;
walls13._x = walls13._x + walk_speed;
walls14._x = walls14._x + walk_speed;
walls15._x = walls15._x + walk_speed;
walls16._x = walls16._x + walk_speed;
walls17._x = walls17._x + walk_speed;
walls18._x = walls18._x + walk_speed;
walls19._x = walls19._x + walk_speed;
walls20._x = walls20._x + walk_speed;
walls21._x = walls21._x + walk_speed;
walls22._x = walls22._x + walk_speed;
walls23._x = walls23._x + walk_speed;
walls24._x = walls24._x + walk_speed;
walls25._x = walls25._x + walk_speed;
walls26._x = walls26._x + walk_speed;
walls27._x = walls27._x + walk_speed;
walls28._x = walls28._x + walk_speed;
wallsBorder1._x = wallsBorder1._x + walk_speed;
wallsBorder2._x = wallsBorder2._x + walk_speed;
wallsBorder3._x = wallsBorder3._x + walk_speed;
wallsBorder4._x = wallsBorder4._x + walk_speed;
buildings._x = buildings._x + walk_speed;
guardvis8._x = guardvis8._x + walk_speed;
guardvis7._x = guardvis7._x + walk_speed;
guardvis6._x = guardvis6._x + walk_speed;
guardvis5._x = guardvis5._x + walk_speed;
guardvis4._x = guardvis4._x + walk_speed;
guardvis3._x = guardvis3._x + walk_speed;
guardvis2._x = guardvis2._x + walk_speed;
guardvis1._x = guardvis1._x + walk_speed;
guardcapt8._x = guardcapt8._x + walk_speed;
guardcapt7._x = guardcapt7._x + walk_speed;
guardcapt6._x = guardcapt6._x + walk_speed;
guardcapt5._x = guardcapt5._x + walk_speed;
guardcapt4._x = guardcapt4._x + walk_speed;
guardcapt3._x = guardcapt3._x + walk_speed;
guardcapt2._x = guardcapt2._x + walk_speed;
guardcapt1._x = guardcapt1._x + walk_speed;
item._x = item._x + walk_speed;
Teleporter_Bottom._x = Teleporter_Bottom._x + walk_speed;
Teleporter_Top._x = Teleporter_Top._x + walk_speed;
Teleporter_Left._x = Teleporter_Left._x + walk_speed;
Teleporter_Right._x = Teleporter_Right._x + walk_speed;
inn_door._x = inn_door._x + walk_speed;
church_door._x = church_door._x + walk_speed;
while (((((((((((((((((((((((((((((((_root.walls.hitTest(this) or _root.walls2.hitTest(this)) or _root.walls3.hitTest(this)) or _root.walls4.hitTest(this)) or _root.walls5.hitTest(this)) or _root.walls6.hitTest(this)) or _root.walls7.hitTest(this)) or _root.walls8.hitTest(this)) or _root.walls9.hitTest(this)) or _root.walls10.hitTest(this)) or _root.walls11.hitTest(this)) or _root.walls12.hitTest(this)) or _root.walls13.hitTest(this)) or _root.walls14.hitTest(this)) or _root.walls15.hitTest(this)) or _root.walls16.hitTest(this)) or _root.walls17.hitTest(this)) or _root.walls18.hitTest(this)) or _root.walls19.hitTest(this)) or _root.walls20.hitTest(this)) or _root.walls21.hitTest(this)) or _root.walls22.hitTest(this)) or _root.walls23.hitTest(this)) or _root.walls24.hitTest(this)) or _root.walls25.hitTest(this)) or _root.walls26.hitTest(this)) or _root.walls27.hitTest(this)) or _root.walls28.hitTest(this)) or _root.wallsBorder1.hitTest(this)) or _root.wallsBorder2.hitTest(this)) or _root.wallsBorder3.hitTest(this)) or _root.wallsBorder4.hitTest(this)) {
floor._x = floor._x - walk_speed;
walls._x = walls._x - walk_speed;
walls2._x = walls2._x - walk_speed;
walls3._x = walls3._x - walk_speed;
walls4._x = walls4._x - walk_speed;
walls5._x = walls5._x - walk_speed;
walls6._x = walls6._x - walk_speed;
walls7._x = walls7._x - walk_speed;
walls8._x = walls8._x - walk_speed;
walls9._x = walls9._x - walk_speed;
walls10._x = walls10._x - walk_speed;
walls11._x = walls11._x - walk_speed;
walls12._x = walls12._x - walk_speed;
walls13._x = walls13._x - walk_speed;
walls14._x = walls14._x - walk_speed;
walls15._x = walls15._x - walk_speed;
walls16._x = walls16._x - walk_speed;
walls17._x = walls17._x - walk_speed;
walls18._x = walls18._x - walk_speed;
walls19._x = walls19._x - walk_speed;
walls20._x = walls20._x - walk_speed;
walls21._x = walls21._x - walk_speed;
walls22._x = walls22._x - walk_speed;
walls23._x = walls23._x - walk_speed;
walls24._x = walls24._x - walk_speed;
walls25._x = walls25._x - walk_speed;
walls26._x = walls26._x - walk_speed;
walls27._x = walls27._x - walk_speed;
walls28._x = walls28._x - walk_speed;
wallsBorder1._x = wallsBorder1._x - walk_speed;
wallsBorder2._x = wallsBorder2._x - walk_speed;
wallsBorder3._x = wallsBorder3._x - walk_speed;
wallsBorder4._x = wallsBorder4._x - walk_speed;
buildings._x = buildings._x - walk_speed;
guardvis8._x = guardvis8._x - walk_speed;
guardvis7._x = guardvis7._x - walk_speed;
guardvis6._x = guardvis6._x - walk_speed;
guardvis5._x = guardvis5._x - walk_speed;
guardvis4._x = guardvis4._x - walk_speed;
guardvis3._x = guardvis3._x - walk_speed;
guardvis2._x = guardvis2._x - walk_speed;
guardvis1._x = guardvis1._x - walk_speed;
guardcapt8._x = guardcapt8._x - walk_speed;
guardcapt7._x = guardcapt7._x - walk_speed;
guardcapt6._x = guardcapt6._x - walk_speed;
guardcapt5._x = guardcapt5._x - walk_speed;
guardcapt4._x = guardcapt4._x - walk_speed;
guardcapt3._x = guardcapt3._x - walk_speed;
guardcapt2._x = guardcapt2._x - walk_speed;
guardcapt1._x = guardcapt1._x - walk_speed;
GuardSight._x = GuardSight._x - walk_speed;
item._x = item._x - walk_speed;
Teleporter_Bottom._x = Teleporter_Bottom._x - walk_speed;
Teleporter_Top._x = Teleporter_Top._x - walk_speed;
Teleporter_Left._x = Teleporter_Left._x - walk_speed;
Teleporter_Right._x = Teleporter_Right._x - walk_speed;
inn_door._x = inn_door._x - walk_speed;
church_door._x = church_door._x - walk_speed;
}
}
if (Key.isDown(68)) {
this.play();
floor._x = floor._x - walk_speed;
walls._x = walls._x - walk_speed;
walls2._x = walls2._x - walk_speed;
walls3._x = walls3._x - walk_speed;
walls4._x = walls4._x - walk_speed;
walls5._x = walls5._x - walk_speed;
walls6._x = walls6._x - walk_speed;
walls7._x = walls7._x - walk_speed;
walls8._x = walls8._x - walk_speed;
walls9._x = walls9._x - walk_speed;
walls10._x = walls10._x - walk_speed;
walls11._x = walls11._x - walk_speed;
walls12._x = walls12._x - walk_speed;
walls13._x = walls13._x - walk_speed;
walls14._x = walls14._x - walk_speed;
walls15._x = walls15._x - walk_speed;
walls16._x = walls16._x - walk_speed;
walls17._x = walls17._x - walk_speed;
walls18._x = walls18._x - walk_speed;
walls19._x = walls19._x - walk_speed;
walls20._x = walls20._x - walk_speed;
walls21._x = walls21._x - walk_speed;
walls22._x = walls22._x - walk_speed;
walls23._x = walls23._x - walk_speed;
walls24._x = walls24._x - walk_speed;
walls25._x = walls25._x - walk_speed;
walls26._x = walls26._x - walk_speed;
walls27._x = walls27._x - walk_speed;
walls28._x = walls28._x - walk_speed;
wallsBorder1._x = wallsBorder1._x - walk_speed;
wallsBorder2._x = wallsBorder2._x - walk_speed;
wallsBorder3._x = wallsBorder3._x - walk_speed;
wallsBorder4._x = wallsBorder4._x - walk_speed;
buildings._x = buildings._x - walk_speed;
guardvis8._x = guardvis8._x - walk_speed;
guardvis7._x = guardvis7._x - walk_speed;
guardvis6._x = guardvis6._x - walk_speed;
guardvis5._x = guardvis5._x - walk_speed;
guardvis4._x = guardvis4._x - walk_speed;
guardvis3._x = guardvis3._x - walk_speed;
guardvis2._x = guardvis2._x - walk_speed;
guardvis1._x = guardvis1._x - walk_speed;
guardcapt8._x = guardcapt8._x - walk_speed;
guardcapt7._x = guardcapt7._x - walk_speed;
guardcapt6._x = guardcapt6._x - walk_speed;
guardcapt5._x = guardcapt5._x - walk_speed;
guardcapt4._x = guardcapt4._x - walk_speed;
guardcapt3._x = guardcapt3._x - walk_speed;
guardcapt2._x = guardcapt2._x - walk_speed;
guardcapt1._x = guardcapt1._x - walk_speed;
item._x = item._x - walk_speed;
Teleporter_Bottom._x = Teleporter_Bottom._x - walk_speed;
Teleporter_Top._x = Teleporter_Top._x - walk_speed;
Teleporter_Left._x = Teleporter_Left._x - walk_speed;
Teleporter_Right._x = Teleporter_Right._x - walk_speed;
inn_door._x = inn_door._x - walk_speed;
church_door._x = church_door._x - walk_speed;
while (((((((((((((((((((((((((((((((_root.walls.hitTest(this) or _root.walls2.hitTest(this)) or _root.walls3.hitTest(this)) or _root.walls4.hitTest(this)) or _root.walls5.hitTest(this)) or _root.walls6.hitTest(this)) or _root.walls7.hitTest(this)) or _root.walls8.hitTest(this)) or _root.walls9.hitTest(this)) or _root.walls10.hitTest(this)) or _root.walls11.hitTest(this)) or _root.walls12.hitTest(this)) or _root.walls13.hitTest(this)) or _root.walls14.hitTest(this)) or _root.walls15.hitTest(this)) or _root.walls16.hitTest(this)) or _root.walls17.hitTest(this)) or _root.walls18.hitTest(this)) or _root.walls19.hitTest(this)) or _root.walls20.hitTest(this)) or _root.walls21.hitTest(this)) or _root.walls22.hitTest(this)) or _root.walls23.hitTest(this)) or _root.walls24.hitTest(this)) or _root.walls25.hitTest(this)) or _root.walls26.hitTest(this)) or _root.walls27.hitTest(this)) or _root.walls28.hitTest(this)) or _root.wallsBorder1.hitTest(this)) or _root.wallsBorder2.hitTest(this)) or _root.wallsBorder3.hitTest(this)) or _root.wallsBorder4.hitTest(this)) {
floor._x = floor._x + walk_speed;
walls._x = walls._x + walk_speed;
walls2._x = walls2._x + walk_speed;
walls3._x = walls3._x + walk_speed;
walls4._x = walls4._x + walk_speed;
walls5._x = walls5._x + walk_speed;
walls6._x = walls6._x + walk_speed;
walls7._x = walls7._x + walk_speed;
walls8._x = walls8._x + walk_speed;
walls9._x = walls9._x + walk_speed;
walls10._x = walls10._x + walk_speed;
walls11._x = walls11._x + walk_speed;
walls12._x = walls12._x + walk_speed;
walls13._x = walls13._x + walk_speed;
walls14._x = walls14._x + walk_speed;
walls15._x = walls15._x + walk_speed;
walls16._x = walls16._x + walk_speed;
walls17._x = walls17._x + walk_speed;
walls18._x = walls18._x + walk_speed;
walls19._x = walls19._x + walk_speed;
walls20._x = walls20._x + walk_speed;
walls21._x = walls21._x + walk_speed;
walls22._x = walls22._x + walk_speed;
walls23._x = walls23._x + walk_speed;
walls24._x = walls24._x + walk_speed;
walls25._x = walls25._x + walk_speed;
walls26._x = walls26._x + walk_speed;
walls27._x = walls27._x + walk_speed;
walls28._x = walls28._x + walk_speed;
wallsBorder1._x = wallsBorder1._x + walk_speed;
wallsBorder2._x = wallsBorder2._x + walk_speed;
wallsBorder3._x = wallsBorder3._x + walk_speed;
wallsBorder4._x = wallsBorder4._x + walk_speed;
buildings._x = buildings._x + walk_speed;
guardvis8._x = guardvis8._x + walk_speed;
guardvis7._x = guardvis7._x + walk_speed;
guardvis6._x = guardvis6._x + walk_speed;
guardvis5._x = guardvis5._x + walk_speed;
guardvis4._x = guardvis4._x + walk_speed;
guardvis3._x = guardvis3._x + walk_speed;
guardvis2._x = guardvis2._x + walk_speed;
guardvis1._x = guardvis1._x + walk_speed;
guardcapt8._x = guardcapt8._x + walk_speed;
guardcapt7._x = guardcapt7._x + walk_speed;
guardcapt6._x = guardcapt6._x + walk_speed;
guardcapt5._x = guardcapt5._x + walk_speed;
guardcapt4._x = guardcapt4._x + walk_speed;
guardcapt3._x = guardcapt3._x + walk_speed;
guardcapt2._x = guardcapt2._x + walk_speed;
guardcapt1._x = guardcapt1._x + walk_speed;
item._x = item._x + walk_speed;
Teleporter_Bottom._x = Teleporter_Bottom._x + walk_speed;
Teleporter_Top._x = Teleporter_Top._x + walk_speed;
Teleporter_Left._x = Teleporter_Left._x + walk_speed;
Teleporter_Right._x = Teleporter_Right._x + walk_speed;
inn_door._x = inn_door._x + walk_speed;
church_door._x = church_door._x + walk_speed;
}
}
if (Key.isDown(87)) {
this.play();
floor._y = floor._y + walk_speed;
walls._y = walls._y + walk_speed;
walls2._y = walls2._y + walk_speed;
walls3._y = walls3._y + walk_speed;
walls4._y = walls4._y + walk_speed;
walls5._y = walls5._y + walk_speed;
walls6._y = walls6._y + walk_speed;
walls7._y = walls7._y + walk_speed;
walls8._y = walls8._y + walk_speed;
walls9._y = walls9._y + walk_speed;
walls10._y = walls10._y + walk_speed;
walls11._y = walls11._y + walk_speed;
walls12._y = walls12._y + walk_speed;
walls13._y = walls13._y + walk_speed;
walls14._y = walls14._y + walk_speed;
walls15._y = walls15._y + walk_speed;
walls16._y = walls16._y + walk_speed;
walls17._y = walls17._y + walk_speed;
walls18._y = walls18._y + walk_speed;
walls19._y = walls19._y + walk_speed;
walls20._y = walls20._y + walk_speed;
walls21._y = walls21._y + walk_speed;
walls22._y = walls22._y + walk_speed;
walls23._y = walls23._y + walk_speed;
walls24._y = walls24._y + walk_speed;
walls25._y = walls25._y + walk_speed;
walls26._y = walls26._y + walk_speed;
walls27._y = walls27._y + walk_speed;
walls28._y = walls28._y + walk_speed;
wallsBorder1._y = wallsBorder1._y + walk_speed;
wallsBorder2._y = wallsBorder2._y + walk_speed;
wallsBorder3._y = wallsBorder3._y + walk_speed;
wallsBorder4._y = wallsBorder4._y + walk_speed;
buildings._y = buildings._y + walk_speed;
guardvis8._y = guardvis8._y + walk_speed;
guardvis7._y = guardvis7._y + walk_speed;
guardvis6._y = guardvis6._y + walk_speed;
guardvis5._y = guardvis5._y + walk_speed;
guardvis4._y = guardvis4._y + walk_speed;
guardvis3._y = guardvis3._y + walk_speed;
guardvis2._y = guardvis2._y + walk_speed;
guardvis1._y = guardvis1._y + walk_speed;
guardcapt8._y = guardcapt8._y + walk_speed;
guardcapt7._y = guardcapt7._y + walk_speed;
guardcapt6._y = guardcapt6._y + walk_speed;
guardcapt5._y = guardcapt5._y + walk_speed;
guardcapt4._y = guardcapt4._y + walk_speed;
guardcapt3._y = guardcapt3._y + walk_speed;
guardcapt2._y = guardcapt2._y + walk_speed;
guardcapt1._y = guardcapt1._y + walk_speed;
item._y = item._y + walk_speed;
Teleporter_Bottom._y = Teleporter_Bottom._y + walk_speed;
Teleporter_Top._y = Teleporter_Top._y + walk_speed;
Teleporter_Left._y = Teleporter_Left._y + walk_speed;
Teleporter_Right._y = Teleporter_Right._y + walk_speed;
inn_door._y = inn_door._y + walk_speed;
church_door._y = church_door._y + walk_speed;
while (((((((((((((((((((((((((((((((_root.walls.hitTest(this) or _root.walls2.hitTest(this)) or _root.walls3.hitTest(this)) or _root.walls4.hitTest(this)) or _root.walls5.hitTest(this)) or _root.walls6.hitTest(this)) or _root.walls7.hitTest(this)) or _root.walls8.hitTest(this)) or _root.walls9.hitTest(this)) or _root.walls10.hitTest(this)) or _root.walls11.hitTest(this)) or _root.walls12.hitTest(this)) or _root.walls13.hitTest(this)) or _root.walls14.hitTest(this)) or _root.walls15.hitTest(this)) or _root.walls16.hitTest(this)) or _root.walls17.hitTest(this)) or _root.walls18.hitTest(this)) or _root.walls19.hitTest(this)) or _root.walls20.hitTest(this)) or _root.walls21.hitTest(this)) or _root.walls22.hitTest(this)) or _root.walls23.hitTest(this)) or _root.walls24.hitTest(this)) or _root.walls25.hitTest(this)) or _root.walls26.hitTest(this)) or _root.walls27.hitTest(this)) or _root.walls28.hitTest(this)) or _root.wallsBorder1.hitTest(this)) or _root.wallsBorder2.hitTest(this)) or _root.wallsBorder3.hitTest(this)) or _root.wallsBorder4.hitTest(this)) {
floor._y = floor._y - walk_speed;
walls._y = walls._y - walk_speed;
walls2._y = walls2._y - walk_speed;
walls3._y = walls3._y - walk_speed;
walls4._y = walls4._y - walk_speed;
walls5._y = walls5._y - walk_speed;
walls6._y = walls6._y - walk_speed;
walls7._y = walls7._y - walk_speed;
walls8._y = walls8._y - walk_speed;
walls9._y = walls9._y - walk_speed;
walls10._y = walls10._y - walk_speed;
walls11._y = walls11._y - walk_speed;
walls12._y = walls12._y - walk_speed;
walls13._y = walls13._y - walk_speed;
walls14._y = walls14._y - walk_speed;
walls15._y = walls15._y - walk_speed;
walls16._y = walls16._y - walk_speed;
walls17._y = walls17._y - walk_speed;
walls18._y = walls18._y - walk_speed;
walls19._y = walls19._y - walk_speed;
walls20._y = walls20._y - walk_speed;
walls21._y = walls21._y - walk_speed;
walls22._y = walls22._y - walk_speed;
walls23._y = walls23._y - walk_speed;
walls24._y = walls24._y - walk_speed;
walls25._y = walls25._y - walk_speed;
walls26._y = walls26._y - walk_speed;
walls27._y = walls27._y - walk_speed;
walls28._y = walls28._y - walk_speed;
wallsBorder1._y = wallsBorder1._y - walk_speed;
wallsBorder2._y = wallsBorder2._y - walk_speed;
wallsBorder3._y = wallsBorder3._y - walk_speed;
wallsBorder4._y = wallsBorder4._y - walk_speed;
buildings._y = buildings._y - walk_speed;
guardvis8._y = guardvis8._y - walk_speed;
guardvis7._y = guardvis7._y - walk_speed;
guardvis6._y = guardvis6._y - walk_speed;
guardvis5._y = guardvis5._y - walk_speed;
guardvis4._y = guardvis4._y - walk_speed;
guardvis3._y = guardvis3._y - walk_speed;
guardvis2._y = guardvis2._y - walk_speed;
guardvis1._y = guardvis1._y - walk_speed;
guardcapt8._y = guardcapt8._y - walk_speed;
guardcapt7._y = guardcapt7._y - walk_speed;
guardcapt6._y = guardcapt6._y - walk_speed;
guardcapt5._y = guardcapt5._y - walk_speed;
guardcapt4._y = guardcapt4._y - walk_speed;
guardcapt3._y = guardcapt3._y - walk_speed;
guardcapt2._y = guardcapt2._y - walk_speed;
guardcapt1._y = guardcapt1._y - walk_speed;
item._y = item._y - walk_speed;
Teleporter_Bottom._y = Teleporter_Bottom._y - walk_speed;
Teleporter_Top._y = Teleporter_Top._y - walk_speed;
Teleporter_Left._y = Teleporter_Left._y - walk_speed;
Teleporter_Right._y = Teleporter_Right._y - walk_speed;
inn_door._y = inn_door._y - walk_speed;
church_door._y = church_door._y - walk_speed;
}
}
if (Key.isDown(83)) {
this.play();
floor._y = floor._y - walk_speed;
walls._y = walls._y - walk_speed;
walls2._y = walls2._y - walk_speed;
walls3._y = walls3._y - walk_speed;
walls4._y = walls4._y - walk_speed;
walls5._y = walls5._y - walk_speed;
walls6._y = walls6._y - walk_speed;
walls7._y = walls7._y - walk_speed;
walls8._y = walls8._y - walk_speed;
walls9._y = walls9._y - walk_speed;
walls10._y = walls10._y - walk_speed;
walls11._y = walls11._y - walk_speed;
walls12._y = walls12._y - walk_speed;
walls13._y = walls13._y - walk_speed;
walls14._y = walls14._y - walk_speed;
walls15._y = walls15._y - walk_speed;
walls16._y = walls16._y - walk_speed;
walls17._y = walls17._y - walk_speed;
walls18._y = walls18._y - walk_speed;
walls19._y = walls19._y - walk_speed;
walls20._y = walls20._y - walk_speed;
walls21._y = walls21._y - walk_speed;
walls22._y = walls22._y - walk_speed;
walls23._y = walls23._y - walk_speed;
walls24._y = walls24._y - walk_speed;
walls25._y = walls25._y - walk_speed;
walls26._y = walls26._y - walk_speed;
walls27._y = walls27._y - walk_speed;
walls28._y = walls28._y - walk_speed;
wallsBorder1._y = wallsBorder1._y - walk_speed;
wallsBorder2._y = wallsBorder2._y - walk_speed;
wallsBorder3._y = wallsBorder3._y - walk_speed;
wallsBorder4._y = wallsBorder4._y - walk_speed;
buildings._y = buildings._y - walk_speed;
guardvis8._y = guardvis8._y - walk_speed;
guardvis7._y = guardvis7._y - walk_speed;
guardvis6._y = guardvis6._y - walk_speed;
guardvis5._y = guardvis5._y - walk_speed;
guardvis4._y = guardvis4._y - walk_speed;
guardvis3._y = guardvis3._y - walk_speed;
guardvis2._y = guardvis2._y - walk_speed;
guardvis1._y = guardvis1._y - walk_speed;
guardcapt8._y = guardcapt8._y - walk_speed;
guardcapt7._y = guardcapt7._y - walk_speed;
guardcapt6._y = guardcapt6._y - walk_speed;
guardcapt5._y = guardcapt5._y - walk_speed;
guardcapt4._y = guardcapt4._y - walk_speed;
guardcapt3._y = guardcapt3._y - walk_speed;
guardcapt2._y = guardcapt2._y - walk_speed;
guardcapt1._y = guardcapt1._y - walk_speed;
item._y = item._y - walk_speed;
Teleporter_Bottom._y = Teleporter_Bottom._y - walk_speed;
Teleporter_Top._y = Teleporter_Top._y - walk_speed;
Teleporter_Left._y = Teleporter_Left._y - walk_speed;
Teleporter_Right._y = Teleporter_Right._y - walk_speed;
inn_door._y = inn_door._y - walk_speed;
church_door._y = church_door._y - walk_speed;
while (((((((((((((((((((((((((((((((_root.walls.hitTest(this) or _root.walls2.hitTest(this)) or _root.walls3.hitTest(this)) or _root.walls4.hitTest(this)) or _root.walls5.hitTest(this)) or _root.walls6.hitTest(this)) or _root.walls7.hitTest(this)) or _root.walls8.hitTest(this)) or _root.walls9.hitTest(this)) or _root.walls10.hitTest(this)) or _root.walls11.hitTest(this)) or _root.walls12.hitTest(this)) or _root.walls13.hitTest(this)) or _root.walls14.hitTest(this)) or _root.walls15.hitTest(this)) or _root.walls16.hitTest(this)) or _root.walls17.hitTest(this)) or _root.walls18.hitTest(this)) or _root.walls19.hitTest(this)) or _root.walls20.hitTest(this)) or _root.walls21.hitTest(this)) or _root.walls22.hitTest(this)) or _root.walls23.hitTest(this)) or _root.walls24.hitTest(this)) or _root.walls25.hitTest(this)) or _root.walls26.hitTest(this)) or _root.walls27.hitTest(this)) or _root.walls28.hitTest(this)) or _root.wallsBorder1.hitTest(this)) or _root.wallsBorder2.hitTest(this)) or _root.wallsBorder3.hitTest(this)) or _root.wallsBorder4.hitTest(this)) {
floor._y = floor._y + walk_speed;
walls._y = walls._y + walk_speed;
walls2._y = walls2._y + walk_speed;
walls3._y = walls3._y + walk_speed;
walls4._y = walls4._y + walk_speed;
walls5._y = walls5._y + walk_speed;
walls6._y = walls6._y + walk_speed;
walls7._y = walls7._y + walk_speed;
walls8._y = walls8._y + walk_speed;
walls9._y = walls9._y + walk_speed;
walls10._y = walls10._y + walk_speed;
walls11._y = walls11._y + walk_speed;
walls12._y = walls12._y + walk_speed;
walls13._y = walls13._y + walk_speed;
walls14._y = walls14._y + walk_speed;
walls15._y = walls15._y + walk_speed;
walls16._y = walls16._y + walk_speed;
walls17._y = walls17._y + walk_speed;
walls18._y = walls18._y + walk_speed;
walls19._y = walls19._y + walk_speed;
walls20._y = walls20._y + walk_speed;
walls21._y = walls21._y + walk_speed;
walls22._y = walls22._y + walk_speed;
walls23._y = walls23._y + walk_speed;
walls24._y = walls24._y + walk_speed;
walls25._y = walls25._y + walk_speed;
walls26._y = walls26._y + walk_speed;
walls27._y = walls27._y + walk_speed;
walls28._y = walls28._y + walk_speed;
wallsBorder1._y = wallsBorder1._y + walk_speed;
wallsBorder2._y = wallsBorder2._y + walk_speed;
wallsBorder3._y = wallsBorder3._y + walk_speed;
wallsBorder4._y = wallsBorder4._y + walk_speed;
buildings._y = buildings._y + walk_speed;
guardvis8._y = guardvis8._y + walk_speed;
guardvis7._y = guardvis7._y + walk_speed;
guardvis6._y = guardvis6._y + walk_speed;
guardvis5._y = guardvis5._y + walk_speed;
guardvis4._y = guardvis4._y + walk_speed;
guardvis3._y = guardvis3._y + walk_speed;
guardvis2._y = guardvis2._y + walk_speed;
guardvis1._y = guardvis1._y + walk_speed;
guardcapt8._y = guardcapt8._y + walk_speed;
guardcapt7._y = guardcapt7._y + walk_speed;
guardcapt6._y = guardcapt6._y + walk_speed;
guardcapt5._y = guardcapt5._y + walk_speed;
guardcapt4._y = guardcapt4._y + walk_speed;
guardcapt3._y = guardcapt3._y + walk_speed;
guardcapt2._y = guardcapt2._y + walk_speed;
guardcapt1._y = guardcapt1._y + walk_speed;
item._y = item._y + walk_speed;
Teleporter_Bottom._y = Teleporter_Bottom._y + walk_speed;
Teleporter_Top._y = Teleporter_Top._y + walk_speed;
Teleporter_Left._y = Teleporter_Left._y + walk_speed;
Teleporter_Right._y = Teleporter_Right._y + walk_speed;
inn_door._y = inn_door._y + walk_speed;
church_door._y = church_door._y + walk_speed;
}
}
if (Teleporter_Top.hitTest(this)) {
floor._y = floor._y - 11;
walls._y = walls._y - 11;
walls2._y = walls2._y - 11;
walls3._y = walls3._y - 11;
walls4._y = walls4._y - 11;
walls5._y = walls5._y - 11;
walls6._y = walls6._y - 11;
walls7._y = walls7._y - 11;
walls8._y = walls8._y - 11;
walls9._y = walls9._y - 11;
walls10._y = walls10._y - 11;
walls11._y = walls11._y - 11;
walls12._y = walls12._y - 11;
walls13._y = walls13._y - 11;
walls14._y = walls14._y - 11;
walls15._y = walls15._y - 11;
walls16._y = walls16._y - 11;
walls17._y = walls17._y - 11;
walls18._y = walls18._y - 11;
walls19._y = walls19._y - 11;
walls20._y = walls20._y - 11;
walls21._y = walls21._y - 11;
walls22._y = walls22._y - 11;
walls23._y = walls23._y - 11;
walls24._y = walls24._y - 11;
walls25._y = walls25._y - 11;
walls26._y = walls26._y - 11;
walls27._y = walls27._y - 11;
walls28._y = walls28._y - 11;
wallsBorder1._y = wallsBorder1._y - 11;
wallsBorder2._y = wallsBorder2._y - 11;
wallsBorder3._y = wallsBorder3._y - 11;
wallsBorder4._y = wallsBorder4._y - 11;
buildings._y = buildings._y - 11;
guardvis8._y = guardvis8._y - 11;
guardvis7._y = guardvis7._y - 11;
guardvis6._y = guardvis6._y - 11;
guardvis5._y = guardvis5._y - 11;
guardvis4._y = guardvis4._y - 11;
guardvis3._y = guardvis3._y - 11;
guardvis2._y = guardvis2._y - 11;
guardvis1._y = guardvis1._y - 11;
guardcapt8._y = guardcapt8._y - 11;
guardcapt7._y = guardcapt7._y - 11;
guardcapt6._y = guardcapt6._y - 11;
guardcapt5._y = guardcapt5._y - 11;
guardcapt4._y = guardcapt4._y - 11;
guardcapt3._y = guardcapt3._y - 11;
guardcapt2._y = guardcapt2._y - 11;
guardcapt1._y = guardcapt1._y - 11;
item._y = item._y - 11;
Teleporter_Bottom._y = Teleporter_Bottom._y - 11;
Teleporter_Top._y = Teleporter_Top._y - 11;
Teleporter_Left._y = Teleporter_Left._y - 11;
Teleporter_Right._y = Teleporter_Right._y - 11;
inn_door._y = inn_door._y - 11;
church_door._y = church_door._y - 11;
}
if (Teleporter_Bottom.hitTest(this)) {
floor._y = floor._y + 11;
walls._y = walls._y + 11;
walls2._y = walls2._y + 11;
walls3._y = walls3._y + 11;
walls4._y = walls4._y + 11;
walls5._y = walls5._y + 11;
walls6._y = walls6._y + 11;
walls7._y = walls7._y + 11;
walls8._y = walls8._y + 11;
walls9._y = walls9._y + 11;
walls10._y = walls10._y + 11;
walls11._y = walls11._y + 11;
walls12._y = walls12._y + 11;
walls13._y = walls13._y + 11;
walls14._y = walls14._y + 11;
walls15._y = walls15._y + 11;
walls16._y = walls16._y + 11;
walls17._y = walls17._y + 11;
walls18._y = walls18._y + 11;
walls19._y = walls19._y + 11;
walls20._y = walls20._y + 11;
walls21._y = walls21._y + 11;
walls22._y = walls22._y + 11;
walls23._y = walls23._y + 11;
walls24._y = walls24._y + 11;
walls25._y = walls25._y + 11;
walls26._y = walls26._y + 11;
walls27._y = walls27._y + 11;
walls28._y = walls28._y + 11;
wallsBorder1._y = wallsBorder1._y + 11;
wallsBorder2._y = wallsBorder2._y + 11;
wallsBorder3._y = wallsBorder3._y + 11;
wallsBorder4._y = wallsBorder4._y + 11;
buildings._y = buildings._y + 11;
guardvis8._y = guardvis8._y + 11;
guardvis7._y = guardvis7._y + 11;
guardvis6._y = guardvis6._y + 11;
guardvis5._y = guardvis5._y + 11;
guardvis4._y = guardvis4._y + 11;
guardvis3._y = guardvis3._y + 11;
guardvis2._y = guardvis2._y + 11;
guardvis1._y = guardvis1._y + 11;
guardcapt8._y = guardcapt8._y + 11;
guardcapt7._y = guardcapt7._y + 11;
guardcapt6._y = guardcapt6._y + 11;
guardcapt5._y = guardcapt5._y + 11;
guardcapt4._y = guardcapt4._y + 11;
guardcapt3._y = guardcapt3._y + 11;
guardcapt2._y = guardcapt2._y + 11;
guardcapt1._y = guardcapt1._y + 11;
item._y = item._y + 11;
Teleporter_Bottom._y = Teleporter_Bottom._y + 11;
Teleporter_Top._y = Teleporter_Top._y + 11;
Teleporter_Left._y = Teleporter_Left._y + 11;
Teleporter_Right._y = Teleporter_Right._y + 11;
inn_door._y = inn_door._y + 11;
church_door._y = church_door._y + 11;
}
if (Teleporter_Left.hitTest(this)) {
floor._x = floor._x - 11;
walls._x = walls._x - 11;
walls2._x = walls2._x - 11;
walls3._x = walls3._x - 11;
walls4._x = walls4._x - 11;
walls5._x = walls5._x - 11;
walls6._x = walls6._x - 11;
walls7._x = walls7._x - 11;
walls8._x = walls8._x - 11;
walls9._x = walls9._x - 11;
walls10._x = walls10._x - 11;
walls11._x = walls11._x - 11;
walls12._x = walls12._x - 11;
walls13._x = walls13._x - 11;
walls14._x = walls14._x - 11;
walls15._x = walls15._x - 11;
walls16._x = walls16._x - 11;
walls17._x = walls17._x - 11;
walls18._x = walls18._x - 11;
walls19._x = walls19._x - 11;
walls20._x = walls20._x - 11;
walls21._x = walls21._x - 11;
walls22._x = walls22._x - 11;
walls23._x = walls23._x - 11;
walls24._x = walls24._x - 11;
walls25._x = walls25._x - 11;
walls26._x = walls26._x - 11;
walls27._x = walls27._x - 11;
walls28._x = walls28._x - 11;
wallsBorder1._x = wallsBorder1._x - 11;
wallsBorder2._x = wallsBorder2._x - 11;
wallsBorder3._x = wallsBorder3._x - 11;
wallsBorder4._x = wallsBorder4._x - 11;
buildings._x = buildings._x - 11;
guardvis8._x = guardvis8._x - 11;
guardvis7._x = guardvis7._x - 11;
guardvis6._x = guardvis6._x - 11;
guardvis5._x = guardvis5._x - 11;
guardvis4._x = guardvis4._x - 11;
guardvis3._x = guardvis3._x - 11;
guardvis2._x = guardvis2._x - 11;
guardvis1._x = guardvis1._x - 11;
guardcapt8._x = guardcapt8._x - 11;
guardcapt7._x = guardcapt7._x - 11;
guardcapt6._x = guardcapt6._x - 11;
guardcapt5._x = guardcapt5._x - 11;
guardcapt4._x = guardcapt4._x - 11;
guardcapt3._x = guardcapt3._x - 11;
guardcapt2._x = guardcapt2._x - 11;
guardcapt1._x = guardcapt1._x - 11;
item._x = item._x - 11;
Teleporter_Bottom._x = Teleporter_Bottom._x - 11;
Teleporter_Top._x = Teleporter_Top._x - 11;
Teleporter_Left._x = Teleporter_Left._x - 11;
Teleporter_Right._x = Teleporter_Right._x - 11;
inn_door._x = inn_door._x - 11;
church_door._x = church_door._x - 11;
}
if (Teleporter_Right.hitTest(this)) {
floor._x = floor._x + 11;
walls._x = walls._x + 11;
walls2._x = walls2._x + 11;
walls3._x = walls3._x + 11;
walls4._x = walls4._x + 11;
walls5._x = walls5._x + 11;
walls6._x = walls6._x + 11;
walls7._x = walls7._x + 11;
walls8._x = walls8._x + 11;
walls9._x = walls9._x + 11;
walls10._x = walls10._x + 11;
walls11._x = walls11._x + 11;
walls12._x = walls12._x + 11;
walls13._x = walls13._x + 11;
walls14._x = walls14._x + 11;
walls15._x = walls15._x + 11;
walls16._x = walls16._x + 11;
walls17._x = walls17._x + 11;
walls18._x = walls18._x + 11;
walls19._x = walls19._x + 11;
walls20._x = walls20._x + 11;
walls21._x = walls21._x + 11;
walls22._x = walls22._x + 11;
walls23._x = walls23._x + 11;
walls24._x = walls24._x + 11;
walls25._x = walls25._x + 11;
walls26._x = walls26._x + 11;
walls27._x = walls27._x + 11;
walls28._x = walls28._x + 11;
wallsBorder1._x = wallsBorder1._x + 11;
wallsBorder2._x = wallsBorder2._x + 11;
wallsBorder3._x = wallsBorder3._x + 11;
wallsBorder4._x = wallsBorder4._x + 11;
buildings._x = buildings._x + 11;
guardvis8._x = guardvis8._x + 11;
guardvis7._x = guardvis7._x + 11;
guardvis6._x = guardvis6._x + 11;
guardvis5._x = guardvis5._x + 11;
guardvis4._x = guardvis4._x + 11;
guardvis3._x = guardvis3._x + 11;
guardvis2._x = guardvis2._x + 11;
guardvis1._x = guardvis1._x + 11;
guardcapt8._x = guardcapt8._x + 11;
guardcapt7._x = guardcapt7._x + 11;
guardcapt6._x = guardcapt6._x + 11;
guardcapt5._x = guardcapt5._x + 11;
guardcapt4._x = guardcapt4._x + 11;
guardcapt3._x = guardcapt3._x + 11;
guardcapt2._x = guardcapt2._x + 11;
guardcapt1._x = guardcapt1._x + 11;
item._x = item._x + 11;
Teleporter_Bottom._x = Teleporter_Bottom._x + 11;
Teleporter_Top._x = Teleporter_Top._x + 11;
Teleporter_Left._x = Teleporter_Left._x + 11;
Teleporter_Right._x = Teleporter_Right._x + 11;
inn_door._x = inn_door._x + 11;
church_door._x = church_door._x + 11;
}
healthBar.onEnterFrame = function () {
if (this._width <= 100) {
this._xscale = this._xscale + 2;
}
if ((((((_root.player.hitTest(guardcapt7) or _root.player.hitTest(guardcapt6)) or _root.player.hitTest(guardcapt5)) or _root.player.hitTest(guardcapt4)) or _root.player.hitTest(guardcapt3)) or _root.player.hitTest(guardcapt2)) or _root.player.hitTest(guardcapt1)) {
this._xscale = this._xscale - 6;
Color_Warning.gotoAndPlay(16);
}
if (this._width <= 1) {
gotoAndPlay (29);
}
};
SightedBar.onEnterFrame = function () {
if (this._width <= 100) {
this._xscale = this._xscale + 1;
}
if ((((((_root.player.hitTest(guardvis7) or _root.player.hitTest(guardvis6)) or _root.player.hitTest(guardvis5)) or _root.player.hitTest(guardvis4)) or _root.player.hitTest(guardvis3)) or _root.player.hitTest(guardvis2)) or _root.player.hitTest(guardvis1)) {
this._xscale = this._xscale - 2;
Color_Warning.gotoAndPlay(6);
}
if (this._width <= 1) {
gotoAndPlay (275);
}
};
church_door.onEnterFrame = function () {
if (_root.player.hitTest(this)) {
important_shine.gotoAndPlay(2);
if (Key.isDown(32)) {
gotoAndPlay (26);
}
}
};
inn_door.onEnterFrame = function () {
if (_root.player.hitTest(this)) {
important_shine.gotoAndPlay(2);
if (Key.isDown(32)) {
inn_message.play(2);
}
}
};
dist_x = this._x - _root._xmouse;
dist_y = this._y - _root._ymouse;
angle = -Math.atan2(dist_x, dist_y);
this._rotation = angle / (Math.PI/180);
dist_x = Character_Sight._x - _root._xmouse;
dist_y = Character_Sight._y - _root._ymouse;
angle = -Math.atan2(dist_x, dist_y);
Character_Sight._rotation = angle / (Math.PI/180);
};
Instance of Symbol 129 MovieClip "walls17" in Frame 25
/* no clip actions */
Frame 26
stop();
_root.attachMovie("player", "player", _root.getNextHighestDepth(), {_x:0, _y:0});
items = 0;
walk_speed = 10;
player.onEnterFrame = function () {
if (Key.isDown(65)) {
this.play();
floor._x = floor._x + walk_speed;
walls._x = walls._x + walk_speed;
walls2._x = walls2._x + walk_speed;
walls3._x = walls3._x + walk_speed;
walls4._x = walls4._x + walk_speed;
walls5._x = walls5._x + walk_speed;
walls6._x = walls6._x + walk_speed;
walls7._x = walls7._x + walk_speed;
walls8._x = walls8._x + walk_speed;
walls9._x = walls9._x + walk_speed;
walls10._x = walls10._x + walk_speed;
walls11._x = walls11._x + walk_speed;
walls12._x = walls12._x + walk_speed;
walls13._x = walls13._x + walk_speed;
walls14._x = walls14._x + walk_speed;
walls15._x = walls15._x + walk_speed;
walls16._x = walls16._x + walk_speed;
walls17._x = walls17._x + walk_speed;
walls18._x = walls18._x + walk_speed;
walls19._x = walls19._x + walk_speed;
walls20._x = walls20._x + walk_speed;
walls21._x = walls21._x + walk_speed;
walls22._x = walls22._x + walk_speed;
walls23._x = walls23._x + walk_speed;
walls24._x = walls24._x + walk_speed;
walls25._x = walls25._x + walk_speed;
walls26._x = walls26._x + walk_speed;
walls27._x = walls27._x + walk_speed;
walls28._x = walls28._x + walk_speed;
wallsBorder1._x = wallsBorder1._x + walk_speed;
wallsBorder2._x = wallsBorder2._x + walk_speed;
wallsBorder3._x = wallsBorder3._x + walk_speed;
wallsBorder4._x = wallsBorder4._x + walk_speed;
buildings._x = buildings._x + walk_speed;
guardvis8._x = guardvis8._x + walk_speed;
guardvis7._x = guardvis7._x + walk_speed;
guardvis6._x = guardvis6._x + walk_speed;
guardvis5._x = guardvis5._x + walk_speed;
guardvis4._x = guardvis4._x + walk_speed;
guardvis3._x = guardvis3._x + walk_speed;
guardvis2._x = guardvis2._x + walk_speed;
guardvis1._x = guardvis1._x + walk_speed;
guardcapt8._x = guardcapt8._x + walk_speed;
guardcapt7._x = guardcapt7._x + walk_speed;
guardcapt6._x = guardcapt6._x + walk_speed;
guardcapt5._x = guardcapt5._x + walk_speed;
guardcapt4._x = guardcapt4._x + walk_speed;
guardcapt3._x = guardcapt3._x + walk_speed;
guardcapt2._x = guardcapt2._x + walk_speed;
guardcapt1._x = guardcapt1._x + walk_speed;
item._x = item._x + walk_speed;
Teleporter_Bottom._x = Teleporter_Bottom._x + walk_speed;
Teleporter_Top._x = Teleporter_Top._x + walk_speed;
Teleporter_Left._x = Teleporter_Left._x + walk_speed;
Teleporter_Right._x = Teleporter_Right._x + walk_speed;
inn_door._x = inn_door._x + walk_speed;
church_door._x = church_door._x + walk_speed;
while (((((((((((((((((((((((((((((((_root.walls.hitTest(this) or _root.walls2.hitTest(this)) or _root.walls3.hitTest(this)) or _root.walls4.hitTest(this)) or _root.walls5.hitTest(this)) or _root.walls6.hitTest(this)) or _root.walls7.hitTest(this)) or _root.walls8.hitTest(this)) or _root.walls9.hitTest(this)) or _root.walls10.hitTest(this)) or _root.walls11.hitTest(this)) or _root.walls12.hitTest(this)) or _root.walls13.hitTest(this)) or _root.walls14.hitTest(this)) or _root.walls15.hitTest(this)) or _root.walls16.hitTest(this)) or _root.walls17.hitTest(this)) or _root.walls18.hitTest(this)) or _root.walls19.hitTest(this)) or _root.walls20.hitTest(this)) or _root.walls21.hitTest(this)) or _root.walls22.hitTest(this)) or _root.walls23.hitTest(this)) or _root.walls24.hitTest(this)) or _root.walls25.hitTest(this)) or _root.walls26.hitTest(this)) or _root.walls27.hitTest(this)) or _root.walls28.hitTest(this)) or _root.wallsBorder1.hitTest(this)) or _root.wallsBorder2.hitTest(this)) or _root.wallsBorder3.hitTest(this)) or _root.wallsBorder4.hitTest(this)) {
floor._x = floor._x - walk_speed;
walls._x = walls._x - walk_speed;
walls2._x = walls2._x - walk_speed;
walls3._x = walls3._x - walk_speed;
walls4._x = walls4._x - walk_speed;
walls5._x = walls5._x - walk_speed;
walls6._x = walls6._x - walk_speed;
walls7._x = walls7._x - walk_speed;
walls8._x = walls8._x - walk_speed;
walls9._x = walls9._x - walk_speed;
walls10._x = walls10._x - walk_speed;
walls11._x = walls11._x - walk_speed;
walls12._x = walls12._x - walk_speed;
walls13._x = walls13._x - walk_speed;
walls14._x = walls14._x - walk_speed;
walls15._x = walls15._x - walk_speed;
walls16._x = walls16._x - walk_speed;
walls17._x = walls17._x - walk_speed;
walls18._x = walls18._x - walk_speed;
walls19._x = walls19._x - walk_speed;
walls20._x = walls20._x - walk_speed;
walls21._x = walls21._x - walk_speed;
walls22._x = walls22._x - walk_speed;
walls23._x = walls23._x - walk_speed;
walls24._x = walls24._x - walk_speed;
walls25._x = walls25._x - walk_speed;
walls26._x = walls26._x - walk_speed;
walls27._x = walls27._x - walk_speed;
walls28._x = walls28._x - walk_speed;
wallsBorder1._x = wallsBorder1._x - walk_speed;
wallsBorder2._x = wallsBorder2._x - walk_speed;
wallsBorder3._x = wallsBorder3._x - walk_speed;
wallsBorder4._x = wallsBorder4._x - walk_speed;
buildings._x = buildings._x - walk_speed;
guardvis8._x = guardvis8._x - walk_speed;
guardvis7._x = guardvis7._x - walk_speed;
guardvis6._x = guardvis6._x - walk_speed;
guardvis5._x = guardvis5._x - walk_speed;
guardvis4._x = guardvis4._x - walk_speed;
guardvis3._x = guardvis3._x - walk_speed;
guardvis2._x = guardvis2._x - walk_speed;
guardvis1._x = guardvis1._x - walk_speed;
guardcapt8._x = guardcapt8._x - walk_speed;
guardcapt7._x = guardcapt7._x - walk_speed;
guardcapt6._x = guardcapt6._x - walk_speed;
guardcapt5._x = guardcapt5._x - walk_speed;
guardcapt4._x = guardcapt4._x - walk_speed;
guardcapt3._x = guardcapt3._x - walk_speed;
guardcapt2._x = guardcapt2._x - walk_speed;
guardcapt1._x = guardcapt1._x - walk_speed;
GuardSight._x = GuardSight._x - walk_speed;
item._x = item._x - walk_speed;
Teleporter_Bottom._x = Teleporter_Bottom._x - walk_speed;
Teleporter_Top._x = Teleporter_Top._x - walk_speed;
Teleporter_Left._x = Teleporter_Left._x - walk_speed;
Teleporter_Right._x = Teleporter_Right._x - walk_speed;
inn_door._x = inn_door._x - walk_speed;
church_door._x = church_door._x - walk_speed;
}
}
if (Key.isDown(68)) {
this.play();
floor._x = floor._x - walk_speed;
walls._x = walls._x - walk_speed;
walls2._x = walls2._x - walk_speed;
walls3._x = walls3._x - walk_speed;
walls4._x = walls4._x - walk_speed;
walls5._x = walls5._x - walk_speed;
walls6._x = walls6._x - walk_speed;
walls7._x = walls7._x - walk_speed;
walls8._x = walls8._x - walk_speed;
walls9._x = walls9._x - walk_speed;
walls10._x = walls10._x - walk_speed;
walls11._x = walls11._x - walk_speed;
walls12._x = walls12._x - walk_speed;
walls13._x = walls13._x - walk_speed;
walls14._x = walls14._x - walk_speed;
walls15._x = walls15._x - walk_speed;
walls16._x = walls16._x - walk_speed;
walls17._x = walls17._x - walk_speed;
walls18._x = walls18._x - walk_speed;
walls19._x = walls19._x - walk_speed;
walls20._x = walls20._x - walk_speed;
walls21._x = walls21._x - walk_speed;
walls22._x = walls22._x - walk_speed;
walls23._x = walls23._x - walk_speed;
walls24._x = walls24._x - walk_speed;
walls25._x = walls25._x - walk_speed;
walls26._x = walls26._x - walk_speed;
walls27._x = walls27._x - walk_speed;
walls28._x = walls28._x - walk_speed;
wallsBorder1._x = wallsBorder1._x - walk_speed;
wallsBorder2._x = wallsBorder2._x - walk_speed;
wallsBorder3._x = wallsBorder3._x - walk_speed;
wallsBorder4._x = wallsBorder4._x - walk_speed;
buildings._x = buildings._x - walk_speed;
guardvis8._x = guardvis8._x - walk_speed;
guardvis7._x = guardvis7._x - walk_speed;
guardvis6._x = guardvis6._x - walk_speed;
guardvis5._x = guardvis5._x - walk_speed;
guardvis4._x = guardvis4._x - walk_speed;
guardvis3._x = guardvis3._x - walk_speed;
guardvis2._x = guardvis2._x - walk_speed;
guardvis1._x = guardvis1._x - walk_speed;
guardcapt8._x = guardcapt8._x - walk_speed;
guardcapt7._x = guardcapt7._x - walk_speed;
guardcapt6._x = guardcapt6._x - walk_speed;
guardcapt5._x = guardcapt5._x - walk_speed;
guardcapt4._x = guardcapt4._x - walk_speed;
guardcapt3._x = guardcapt3._x - walk_speed;
guardcapt2._x = guardcapt2._x - walk_speed;
guardcapt1._x = guardcapt1._x - walk_speed;
item._x = item._x - walk_speed;
Teleporter_Bottom._x = Teleporter_Bottom._x - walk_speed;
Teleporter_Top._x = Teleporter_Top._x - walk_speed;
Teleporter_Left._x = Teleporter_Left._x - walk_speed;
Teleporter_Right._x = Teleporter_Right._x - walk_speed;
inn_door._x = inn_door._x - walk_speed;
church_door._x = church_door._x - walk_speed;
while (((((((((((((((((((((((((((((((_root.walls.hitTest(this) or _root.walls2.hitTest(this)) or _root.walls3.hitTest(this)) or _root.walls4.hitTest(this)) or _root.walls5.hitTest(this)) or _root.walls6.hitTest(this)) or _root.walls7.hitTest(this)) or _root.walls8.hitTest(this)) or _root.walls9.hitTest(this)) or _root.walls10.hitTest(this)) or _root.walls11.hitTest(this)) or _root.walls12.hitTest(this)) or _root.walls13.hitTest(this)) or _root.walls14.hitTest(this)) or _root.walls15.hitTest(this)) or _root.walls16.hitTest(this)) or _root.walls17.hitTest(this)) or _root.walls18.hitTest(this)) or _root.walls19.hitTest(this)) or _root.walls20.hitTest(this)) or _root.walls21.hitTest(this)) or _root.walls22.hitTest(this)) or _root.walls23.hitTest(this)) or _root.walls24.hitTest(this)) or _root.walls25.hitTest(this)) or _root.walls26.hitTest(this)) or _root.walls27.hitTest(this)) or _root.walls28.hitTest(this)) or _root.wallsBorder1.hitTest(this)) or _root.wallsBorder2.hitTest(this)) or _root.wallsBorder3.hitTest(this)) or _root.wallsBorder4.hitTest(this)) {
floor._x = floor._x + walk_speed;
walls._x = walls._x + walk_speed;
walls2._x = walls2._x + walk_speed;
walls3._x = walls3._x + walk_speed;
walls4._x = walls4._x + walk_speed;
walls5._x = walls5._x + walk_speed;
walls6._x = walls6._x + walk_speed;
walls7._x = walls7._x + walk_speed;
walls8._x = walls8._x + walk_speed;
walls9._x = walls9._x + walk_speed;
walls10._x = walls10._x + walk_speed;
walls11._x = walls11._x + walk_speed;
walls12._x = walls12._x + walk_speed;
walls13._x = walls13._x + walk_speed;
walls14._x = walls14._x + walk_speed;
walls15._x = walls15._x + walk_speed;
walls16._x = walls16._x + walk_speed;
walls17._x = walls17._x + walk_speed;
walls18._x = walls18._x + walk_speed;
walls19._x = walls19._x + walk_speed;
walls20._x = walls20._x + walk_speed;
walls21._x = walls21._x + walk_speed;
walls22._x = walls22._x + walk_speed;
walls23._x = walls23._x + walk_speed;
walls24._x = walls24._x + walk_speed;
walls25._x = walls25._x + walk_speed;
walls26._x = walls26._x + walk_speed;
walls27._x = walls27._x + walk_speed;
walls28._x = walls28._x + walk_speed;
wallsBorder1._x = wallsBorder1._x + walk_speed;
wallsBorder2._x = wallsBorder2._x + walk_speed;
wallsBorder3._x = wallsBorder3._x + walk_speed;
wallsBorder4._x = wallsBorder4._x + walk_speed;
buildings._x = buildings._x + walk_speed;
guardvis8._x = guardvis8._x + walk_speed;
guardvis7._x = guardvis7._x + walk_speed;
guardvis6._x = guardvis6._x + walk_speed;
guardvis5._x = guardvis5._x + walk_speed;
guardvis4._x = guardvis4._x + walk_speed;
guardvis3._x = guardvis3._x + walk_speed;
guardvis2._x = guardvis2._x + walk_speed;
guardvis1._x = guardvis1._x + walk_speed;
guardcapt8._x = guardcapt8._x + walk_speed;
guardcapt7._x = guardcapt7._x + walk_speed;
guardcapt6._x = guardcapt6._x + walk_speed;
guardcapt5._x = guardcapt5._x + walk_speed;
guardcapt4._x = guardcapt4._x + walk_speed;
guardcapt3._x = guardcapt3._x + walk_speed;
guardcapt2._x = guardcapt2._x + walk_speed;
guardcapt1._x = guardcapt1._x + walk_speed;
item._x = item._x + walk_speed;
Teleporter_Bottom._x = Teleporter_Bottom._x + walk_speed;
Teleporter_Top._x = Teleporter_Top._x + walk_speed;
Teleporter_Left._x = Teleporter_Left._x + walk_speed;
Teleporter_Right._x = Teleporter_Right._x + walk_speed;
inn_door._x = inn_door._x + walk_speed;
church_door._x = church_door._x + walk_speed;
}
}
if (Key.isDown(87)) {
this.play();
floor._y = floor._y + walk_speed;
walls._y = walls._y + walk_speed;
walls2._y = walls2._y + walk_speed;
walls3._y = walls3._y + walk_speed;
walls4._y = walls4._y + walk_speed;
walls5._y = walls5._y + walk_speed;
walls6._y = walls6._y + walk_speed;
walls7._y = walls7._y + walk_speed;
walls8._y = walls8._y + walk_speed;
walls9._y = walls9._y + walk_speed;
walls10._y = walls10._y + walk_speed;
walls11._y = walls11._y + walk_speed;
walls12._y = walls12._y + walk_speed;
walls13._y = walls13._y + walk_speed;
walls14._y = walls14._y + walk_speed;
walls15._y = walls15._y + walk_speed;
walls16._y = walls16._y + walk_speed;
walls17._y = walls17._y + walk_speed;
walls18._y = walls18._y + walk_speed;
walls19._y = walls19._y + walk_speed;
walls20._y = walls20._y + walk_speed;
walls21._y = walls21._y + walk_speed;
walls22._y = walls22._y + walk_speed;
walls23._y = walls23._y + walk_speed;
walls24._y = walls24._y + walk_speed;
walls25._y = walls25._y + walk_speed;
walls26._y = walls26._y + walk_speed;
walls27._y = walls27._y + walk_speed;
walls28._y = walls28._y + walk_speed;
wallsBorder1._y = wallsBorder1._y + walk_speed;
wallsBorder2._y = wallsBorder2._y + walk_speed;
wallsBorder3._y = wallsBorder3._y + walk_speed;
wallsBorder4._y = wallsBorder4._y + walk_speed;
buildings._y = buildings._y + walk_speed;
guardvis8._y = guardvis8._y + walk_speed;
guardvis7._y = guardvis7._y + walk_speed;
guardvis6._y = guardvis6._y + walk_speed;
guardvis5._y = guardvis5._y + walk_speed;
guardvis4._y = guardvis4._y + walk_speed;
guardvis3._y = guardvis3._y + walk_speed;
guardvis2._y = guardvis2._y + walk_speed;
guardvis1._y = guardvis1._y + walk_speed;
guardcapt8._y = guardcapt8._y + walk_speed;
guardcapt7._y = guardcapt7._y + walk_speed;
guardcapt6._y = guardcapt6._y + walk_speed;
guardcapt5._y = guardcapt5._y + walk_speed;
guardcapt4._y = guardcapt4._y + walk_speed;
guardcapt3._y = guardcapt3._y + walk_speed;
guardcapt2._y = guardcapt2._y + walk_speed;
guardcapt1._y = guardcapt1._y + walk_speed;
item._y = item._y + walk_speed;
Teleporter_Bottom._y = Teleporter_Bottom._y + walk_speed;
Teleporter_Top._y = Teleporter_Top._y + walk_speed;
Teleporter_Left._y = Teleporter_Left._y + walk_speed;
Teleporter_Right._y = Teleporter_Right._y + walk_speed;
inn_door._y = inn_door._y + walk_speed;
church_door._y = church_door._y + walk_speed;
while (((((((((((((((((((((((((((((((_root.walls.hitTest(this) or _root.walls2.hitTest(this)) or _root.walls3.hitTest(this)) or _root.walls4.hitTest(this)) or _root.walls5.hitTest(this)) or _root.walls6.hitTest(this)) or _root.walls7.hitTest(this)) or _root.walls8.hitTest(this)) or _root.walls9.hitTest(this)) or _root.walls10.hitTest(this)) or _root.walls11.hitTest(this)) or _root.walls12.hitTest(this)) or _root.walls13.hitTest(this)) or _root.walls14.hitTest(this)) or _root.walls15.hitTest(this)) or _root.walls16.hitTest(this)) or _root.walls17.hitTest(this)) or _root.walls18.hitTest(this)) or _root.walls19.hitTest(this)) or _root.walls20.hitTest(this)) or _root.walls21.hitTest(this)) or _root.walls22.hitTest(this)) or _root.walls23.hitTest(this)) or _root.walls24.hitTest(this)) or _root.walls25.hitTest(this)) or _root.walls26.hitTest(this)) or _root.walls27.hitTest(this)) or _root.walls28.hitTest(this)) or _root.wallsBorder1.hitTest(this)) or _root.wallsBorder2.hitTest(this)) or _root.wallsBorder3.hitTest(this)) or _root.wallsBorder4.hitTest(this)) {
floor._y = floor._y - walk_speed;
walls._y = walls._y - walk_speed;
walls2._y = walls2._y - walk_speed;
walls3._y = walls3._y - walk_speed;
walls4._y = walls4._y - walk_speed;
walls5._y = walls5._y - walk_speed;
walls6._y = walls6._y - walk_speed;
walls7._y = walls7._y - walk_speed;
walls8._y = walls8._y - walk_speed;
walls9._y = walls9._y - walk_speed;
walls10._y = walls10._y - walk_speed;
walls11._y = walls11._y - walk_speed;
walls12._y = walls12._y - walk_speed;
walls13._y = walls13._y - walk_speed;
walls14._y = walls14._y - walk_speed;
walls15._y = walls15._y - walk_speed;
walls16._y = walls16._y - walk_speed;
walls17._y = walls17._y - walk_speed;
walls18._y = walls18._y - walk_speed;
walls19._y = walls19._y - walk_speed;
walls20._y = walls20._y - walk_speed;
walls21._y = walls21._y - walk_speed;
walls22._y = walls22._y - walk_speed;
walls23._y = walls23._y - walk_speed;
walls24._y = walls24._y - walk_speed;
walls25._y = walls25._y - walk_speed;
walls26._y = walls26._y - walk_speed;
walls27._y = walls27._y - walk_speed;
walls28._y = walls28._y - walk_speed;
wallsBorder1._y = wallsBorder1._y - walk_speed;
wallsBorder2._y = wallsBorder2._y - walk_speed;
wallsBorder3._y = wallsBorder3._y - walk_speed;
wallsBorder4._y = wallsBorder4._y - walk_speed;
buildings._y = buildings._y - walk_speed;
guardvis8._y = guardvis8._y - walk_speed;
guardvis7._y = guardvis7._y - walk_speed;
guardvis6._y = guardvis6._y - walk_speed;
guardvis5._y = guardvis5._y - walk_speed;
guardvis4._y = guardvis4._y - walk_speed;
guardvis3._y = guardvis3._y - walk_speed;
guardvis2._y = guardvis2._y - walk_speed;
guardvis1._y = guardvis1._y - walk_speed;
guardcapt8._y = guardcapt8._y - walk_speed;
guardcapt7._y = guardcapt7._y - walk_speed;
guardcapt6._y = guardcapt6._y - walk_speed;
guardcapt5._y = guardcapt5._y - walk_speed;
guardcapt4._y = guardcapt4._y - walk_speed;
guardcapt3._y = guardcapt3._y - walk_speed;
guardcapt2._y = guardcapt2._y - walk_speed;
guardcapt1._y = guardcapt1._y - walk_speed;
item._y = item._y - walk_speed;
Teleporter_Bottom._y = Teleporter_Bottom._y - walk_speed;
Teleporter_Top._y = Teleporter_Top._y - walk_speed;
Teleporter_Left._y = Teleporter_Left._y - walk_speed;
Teleporter_Right._y = Teleporter_Right._y - walk_speed;
inn_door._y = inn_door._y - walk_speed;
church_door._y = church_door._y - walk_speed;
}
}
if (Key.isDown(83)) {
this.play();
floor._y = floor._y - walk_speed;
walls._y = walls._y - walk_speed;
walls2._y = walls2._y - walk_speed;
walls3._y = walls3._y - walk_speed;
walls4._y = walls4._y - walk_speed;
walls5._y = walls5._y - walk_speed;
walls6._y = walls6._y - walk_speed;
walls7._y = walls7._y - walk_speed;
walls8._y = walls8._y - walk_speed;
walls9._y = walls9._y - walk_speed;
walls10._y = walls10._y - walk_speed;
walls11._y = walls11._y - walk_speed;
walls12._y = walls12._y - walk_speed;
walls13._y = walls13._y - walk_speed;
walls14._y = walls14._y - walk_speed;
walls15._y = walls15._y - walk_speed;
walls16._y = walls16._y - walk_speed;
walls17._y = walls17._y - walk_speed;
walls18._y = walls18._y - walk_speed;
walls19._y = walls19._y - walk_speed;
walls20._y = walls20._y - walk_speed;
walls21._y = walls21._y - walk_speed;
walls22._y = walls22._y - walk_speed;
walls23._y = walls23._y - walk_speed;
walls24._y = walls24._y - walk_speed;
walls25._y = walls25._y - walk_speed;
walls26._y = walls26._y - walk_speed;
walls27._y = walls27._y - walk_speed;
walls28._y = walls28._y - walk_speed;
wallsBorder1._y = wallsBorder1._y - walk_speed;
wallsBorder2._y = wallsBorder2._y - walk_speed;
wallsBorder3._y = wallsBorder3._y - walk_speed;
wallsBorder4._y = wallsBorder4._y - walk_speed;
buildings._y = buildings._y - walk_speed;
guardvis8._y = guardvis8._y - walk_speed;
guardvis7._y = guardvis7._y - walk_speed;
guardvis6._y = guardvis6._y - walk_speed;
guardvis5._y = guardvis5._y - walk_speed;
guardvis4._y = guardvis4._y - walk_speed;
guardvis3._y = guardvis3._y - walk_speed;
guardvis2._y = guardvis2._y - walk_speed;
guardvis1._y = guardvis1._y - walk_speed;
guardcapt8._y = guardcapt8._y - walk_speed;
guardcapt7._y = guardcapt7._y - walk_speed;
guardcapt6._y = guardcapt6._y - walk_speed;
guardcapt5._y = guardcapt5._y - walk_speed;
guardcapt4._y = guardcapt4._y - walk_speed;
guardcapt3._y = guardcapt3._y - walk_speed;
guardcapt2._y = guardcapt2._y - walk_speed;
guardcapt1._y = guardcapt1._y - walk_speed;
item._y = item._y - walk_speed;
Teleporter_Bottom._y = Teleporter_Bottom._y - walk_speed;
Teleporter_Top._y = Teleporter_Top._y - walk_speed;
Teleporter_Left._y = Teleporter_Left._y - walk_speed;
Teleporter_Right._y = Teleporter_Right._y - walk_speed;
inn_door._y = inn_door._y - walk_speed;
church_door._y = church_door._y - walk_speed;
while (((((((((((((((((((((((((((((((_root.walls.hitTest(this) or _root.walls2.hitTest(this)) or _root.walls3.hitTest(this)) or _root.walls4.hitTest(this)) or _root.walls5.hitTest(this)) or _root.walls6.hitTest(this)) or _root.walls7.hitTest(this)) or _root.walls8.hitTest(this)) or _root.walls9.hitTest(this)) or _root.walls10.hitTest(this)) or _root.walls11.hitTest(this)) or _root.walls12.hitTest(this)) or _root.walls13.hitTest(this)) or _root.walls14.hitTest(this)) or _root.walls15.hitTest(this)) or _root.walls16.hitTest(this)) or _root.walls17.hitTest(this)) or _root.walls18.hitTest(this)) or _root.walls19.hitTest(this)) or _root.walls20.hitTest(this)) or _root.walls21.hitTest(this)) or _root.walls22.hitTest(this)) or _root.walls23.hitTest(this)) or _root.walls24.hitTest(this)) or _root.walls25.hitTest(this)) or _root.walls26.hitTest(this)) or _root.walls27.hitTest(this)) or _root.walls28.hitTest(this)) or _root.wallsBorder1.hitTest(this)) or _root.wallsBorder2.hitTest(this)) or _root.wallsBorder3.hitTest(this)) or _root.wallsBorder4.hitTest(this)) {
floor._y = floor._y + walk_speed;
walls._y = walls._y + walk_speed;
walls2._y = walls2._y + walk_speed;
walls3._y = walls3._y + walk_speed;
walls4._y = walls4._y + walk_speed;
walls5._y = walls5._y + walk_speed;
walls6._y = walls6._y + walk_speed;
walls7._y = walls7._y + walk_speed;
walls8._y = walls8._y + walk_speed;
walls9._y = walls9._y + walk_speed;
walls10._y = walls10._y + walk_speed;
walls11._y = walls11._y + walk_speed;
walls12._y = walls12._y + walk_speed;
walls13._y = walls13._y + walk_speed;
walls14._y = walls14._y + walk_speed;
walls15._y = walls15._y + walk_speed;
walls16._y = walls16._y + walk_speed;
walls17._y = walls17._y + walk_speed;
walls18._y = walls18._y + walk_speed;
walls19._y = walls19._y + walk_speed;
walls20._y = walls20._y + walk_speed;
walls21._y = walls21._y + walk_speed;
walls22._y = walls22._y + walk_speed;
walls23._y = walls23._y + walk_speed;
walls24._y = walls24._y + walk_speed;
walls25._y = walls25._y + walk_speed;
walls26._y = walls26._y + walk_speed;
walls27._y = walls27._y + walk_speed;
walls28._y = walls28._y + walk_speed;
wallsBorder1._y = wallsBorder1._y + walk_speed;
wallsBorder2._y = wallsBorder2._y + walk_speed;
wallsBorder3._y = wallsBorder3._y + walk_speed;
wallsBorder4._y = wallsBorder4._y + walk_speed;
buildings._y = buildings._y + walk_speed;
guardvis8._y = guardvis8._y + walk_speed;
guardvis7._y = guardvis7._y + walk_speed;
guardvis6._y = guardvis6._y + walk_speed;
guardvis5._y = guardvis5._y + walk_speed;
guardvis4._y = guardvis4._y + walk_speed;
guardvis3._y = guardvis3._y + walk_speed;
guardvis2._y = guardvis2._y + walk_speed;
guardvis1._y = guardvis1._y + walk_speed;
guardcapt8._y = guardcapt8._y + walk_speed;
guardcapt7._y = guardcapt7._y + walk_speed;
guardcapt6._y = guardcapt6._y + walk_speed;
guardcapt5._y = guardcapt5._y + walk_speed;
guardcapt4._y = guardcapt4._y + walk_speed;
guardcapt3._y = guardcapt3._y + walk_speed;
guardcapt2._y = guardcapt2._y + walk_speed;
guardcapt1._y = guardcapt1._y + walk_speed;
item._y = item._y + walk_speed;
Teleporter_Bottom._y = Teleporter_Bottom._y + walk_speed;
Teleporter_Top._y = Teleporter_Top._y + walk_speed;
Teleporter_Left._y = Teleporter_Left._y + walk_speed;
Teleporter_Right._y = Teleporter_Right._y + walk_speed;
inn_door._y = inn_door._y + walk_speed;
church_door._y = church_door._y + walk_speed;
}
}
if (Teleporter_Top.hitTest(this)) {
floor._y = floor._y - 11;
walls._y = walls._y - 11;
walls2._y = walls2._y - 11;
walls3._y = walls3._y - 11;
walls4._y = walls4._y - 11;
walls5._y = walls5._y - 11;
walls6._y = walls6._y - 11;
walls7._y = walls7._y - 11;
walls8._y = walls8._y - 11;
walls9._y = walls9._y - 11;
walls10._y = walls10._y - 11;
walls11._y = walls11._y - 11;
walls12._y = walls12._y - 11;
walls13._y = walls13._y - 11;
walls14._y = walls14._y - 11;
walls15._y = walls15._y - 11;
walls16._y = walls16._y - 11;
walls17._y = walls17._y - 11;
walls18._y = walls18._y - 11;
walls19._y = walls19._y - 11;
walls20._y = walls20._y - 11;
walls21._y = walls21._y - 11;
walls22._y = walls22._y - 11;
walls23._y = walls23._y - 11;
walls24._y = walls24._y - 11;
walls25._y = walls25._y - 11;
walls26._y = walls26._y - 11;
walls27._y = walls27._y - 11;
walls28._y = walls28._y - 11;
wallsBorder1._y = wallsBorder1._y - 11;
wallsBorder2._y = wallsBorder2._y - 11;
wallsBorder3._y = wallsBorder3._y - 11;
wallsBorder4._y = wallsBorder4._y - 11;
buildings._y = buildings._y - 11;
guardvis8._y = guardvis8._y - 11;
guardvis7._y = guardvis7._y - 11;
guardvis6._y = guardvis6._y - 11;
guardvis5._y = guardvis5._y - 11;
guardvis4._y = guardvis4._y - 11;
guardvis3._y = guardvis3._y - 11;
guardvis2._y = guardvis2._y - 11;
guardvis1._y = guardvis1._y - 11;
guardcapt8._y = guardcapt8._y - 11;
guardcapt7._y = guardcapt7._y - 11;
guardcapt6._y = guardcapt6._y - 11;
guardcapt5._y = guardcapt5._y - 11;
guardcapt4._y = guardcapt4._y - 11;
guardcapt3._y = guardcapt3._y - 11;
guardcapt2._y = guardcapt2._y - 11;
guardcapt1._y = guardcapt1._y - 11;
item._y = item._y - 11;
Teleporter_Bottom._y = Teleporter_Bottom._y - 11;
Teleporter_Top._y = Teleporter_Top._y - 11;
Teleporter_Left._y = Teleporter_Left._y - 11;
Teleporter_Right._y = Teleporter_Right._y - 11;
inn_door._y = inn_door._y - 11;
church_door._y = church_door._y - 11;
}
if (Teleporter_Bottom.hitTest(this)) {
floor._y = floor._y + 11;
walls._y = walls._y + 11;
walls2._y = walls2._y + 11;
walls3._y = walls3._y + 11;
walls4._y = walls4._y + 11;
walls5._y = walls5._y + 11;
walls6._y = walls6._y + 11;
walls7._y = walls7._y + 11;
walls8._y = walls8._y + 11;
walls9._y = walls9._y + 11;
walls10._y = walls10._y + 11;
walls11._y = walls11._y + 11;
walls12._y = walls12._y + 11;
walls13._y = walls13._y + 11;
walls14._y = walls14._y + 11;
walls15._y = walls15._y + 11;
walls16._y = walls16._y + 11;
walls17._y = walls17._y + 11;
walls18._y = walls18._y + 11;
walls19._y = walls19._y + 11;
walls20._y = walls20._y + 11;
walls21._y = walls21._y + 11;
walls22._y = walls22._y + 11;
walls23._y = walls23._y + 11;
walls24._y = walls24._y + 11;
walls25._y = walls25._y + 11;
walls26._y = walls26._y + 11;
walls27._y = walls27._y + 11;
walls28._y = walls28._y + 11;
wallsBorder1._y = wallsBorder1._y + 11;
wallsBorder2._y = wallsBorder2._y + 11;
wallsBorder3._y = wallsBorder3._y + 11;
wallsBorder4._y = wallsBorder4._y + 11;
buildings._y = buildings._y + 11;
guardvis8._y = guardvis8._y + 11;
guardvis7._y = guardvis7._y + 11;
guardvis6._y = guardvis6._y + 11;
guardvis5._y = guardvis5._y + 11;
guardvis4._y = guardvis4._y + 11;
guardvis3._y = guardvis3._y + 11;
guardvis2._y = guardvis2._y + 11;
guardvis1._y = guardvis1._y + 11;
guardcapt8._y = guardcapt8._y + 11;
guardcapt7._y = guardcapt7._y + 11;
guardcapt6._y = guardcapt6._y + 11;
guardcapt5._y = guardcapt5._y + 11;
guardcapt4._y = guardcapt4._y + 11;
guardcapt3._y = guardcapt3._y + 11;
guardcapt2._y = guardcapt2._y + 11;
guardcapt1._y = guardcapt1._y + 11;
item._y = item._y + 11;
Teleporter_Bottom._y = Teleporter_Bottom._y + 11;
Teleporter_Top._y = Teleporter_Top._y + 11;
Teleporter_Left._y = Teleporter_Left._y + 11;
Teleporter_Right._y = Teleporter_Right._y + 11;
inn_door._y = inn_door._y + 11;
church_door._y = church_door._y + 11;
}
if (Teleporter_Left.hitTest(this)) {
floor._x = floor._x - 11;
walls._x = walls._x - 11;
walls2._x = walls2._x - 11;
walls3._x = walls3._x - 11;
walls4._x = walls4._x - 11;
walls5._x = walls5._x - 11;
walls6._x = walls6._x - 11;
walls7._x = walls7._x - 11;
walls8._x = walls8._x - 11;
walls9._x = walls9._x - 11;
walls10._x = walls10._x - 11;
walls11._x = walls11._x - 11;
walls12._x = walls12._x - 11;
walls13._x = walls13._x - 11;
walls14._x = walls14._x - 11;
walls15._x = walls15._x - 11;
walls16._x = walls16._x - 11;
walls17._x = walls17._x - 11;
walls18._x = walls18._x - 11;
walls19._x = walls19._x - 11;
walls20._x = walls20._x - 11;
walls21._x = walls21._x - 11;
walls22._x = walls22._x - 11;
walls23._x = walls23._x - 11;
walls24._x = walls24._x - 11;
walls25._x = walls25._x - 11;
walls26._x = walls26._x - 11;
walls27._x = walls27._x - 11;
walls28._x = walls28._x - 11;
wallsBorder1._x = wallsBorder1._x - 11;
wallsBorder2._x = wallsBorder2._x - 11;
wallsBorder3._x = wallsBorder3._x - 11;
wallsBorder4._x = wallsBorder4._x - 11;
buildings._x = buildings._x - 11;
guardvis8._x = guardvis8._x - 11;
guardvis7._x = guardvis7._x - 11;
guardvis6._x = guardvis6._x - 11;
guardvis5._x = guardvis5._x - 11;
guardvis4._x = guardvis4._x - 11;
guardvis3._x = guardvis3._x - 11;
guardvis2._x = guardvis2._x - 11;
guardvis1._x = guardvis1._x - 11;
guardcapt8._x = guardcapt8._x - 11;
guardcapt7._x = guardcapt7._x - 11;
guardcapt6._x = guardcapt6._x - 11;
guardcapt5._x = guardcapt5._x - 11;
guardcapt4._x = guardcapt4._x - 11;
guardcapt3._x = guardcapt3._x - 11;
guardcapt2._x = guardcapt2._x - 11;
guardcapt1._x = guardcapt1._x - 11;
item._x = item._x - 11;
Teleporter_Bottom._x = Teleporter_Bottom._x - 11;
Teleporter_Top._x = Teleporter_Top._x - 11;
Teleporter_Left._x = Teleporter_Left._x - 11;
Teleporter_Right._x = Teleporter_Right._x - 11;
inn_door._x = inn_door._x - 11;
church_door._x = church_door._x - 11;
}
if (Teleporter_Right.hitTest(this)) {
floor._x = floor._x + 11;
walls._x = walls._x + 11;
walls2._x = walls2._x + 11;
walls3._x = walls3._x + 11;
walls4._x = walls4._x + 11;
walls5._x = walls5._x + 11;
walls6._x = walls6._x + 11;
walls7._x = walls7._x + 11;
walls8._x = walls8._x + 11;
walls9._x = walls9._x + 11;
walls10._x = walls10._x + 11;
walls11._x = walls11._x + 11;
walls12._x = walls12._x + 11;
walls13._x = walls13._x + 11;
walls14._x = walls14._x + 11;
walls15._x = walls15._x + 11;
walls16._x = walls16._x + 11;
walls17._x = walls17._x + 11;
walls18._x = walls18._x + 11;
walls19._x = walls19._x + 11;
walls20._x = walls20._x + 11;
walls21._x = walls21._x + 11;
walls22._x = walls22._x + 11;
walls23._x = walls23._x + 11;
walls24._x = walls24._x + 11;
walls25._x = walls25._x + 11;
walls26._x = walls26._x + 11;
walls27._x = walls27._x + 11;
walls28._x = walls28._x + 11;
wallsBorder1._x = wallsBorder1._x + 11;
wallsBorder2._x = wallsBorder2._x + 11;
wallsBorder3._x = wallsBorder3._x + 11;
wallsBorder4._x = wallsBorder4._x + 11;
buildings._x = buildings._x + 11;
guardvis8._x = guardvis8._x + 11;
guardvis7._x = guardvis7._x + 11;
guardvis6._x = guardvis6._x + 11;
guardvis5._x = guardvis5._x + 11;
guardvis4._x = guardvis4._x + 11;
guardvis3._x = guardvis3._x + 11;
guardvis2._x = guardvis2._x + 11;
guardvis1._x = guardvis1._x + 11;
guardcapt8._x = guardcapt8._x + 11;
guardcapt7._x = guardcapt7._x + 11;
guardcapt6._x = guardcapt6._x + 11;
guardcapt5._x = guardcapt5._x + 11;
guardcapt4._x = guardcapt4._x + 11;
guardcapt3._x = guardcapt3._x + 11;
guardcapt2._x = guardcapt2._x + 11;
guardcapt1._x = guardcapt1._x + 11;
item._x = item._x + 11;
Teleporter_Bottom._x = Teleporter_Bottom._x + 11;
Teleporter_Top._x = Teleporter_Top._x + 11;
Teleporter_Left._x = Teleporter_Left._x + 11;
Teleporter_Right._x = Teleporter_Right._x + 11;
inn_door._x = inn_door._x + 11;
church_door._x = church_door._x + 11;
}
healthBar.onEnterFrame = function () {
if (this._width <= 100) {
this._xscale = this._xscale + 2;
}
if ((((((_root.player.hitTest(guardcapt7) or _root.player.hitTest(guardcapt6)) or _root.player.hitTest(guardcapt5)) or _root.player.hitTest(guardcapt4)) or _root.player.hitTest(guardcapt3)) or _root.player.hitTest(guardcapt2)) or _root.player.hitTest(guardcapt1)) {
this._xscale = this._xscale - 6;
Color_Warning.gotoAndPlay(16);
}
if (this._width <= 1) {
gotoAndPlay (29);
}
};
SightedBar.onEnterFrame = function () {
if (this._width <= 100) {
this._xscale = this._xscale + 1;
}
if ((((((_root.player.hitTest(guardvis7) or _root.player.hitTest(guardvis6)) or _root.player.hitTest(guardvis5)) or _root.player.hitTest(guardvis4)) or _root.player.hitTest(guardvis3)) or _root.player.hitTest(guardvis2)) or _root.player.hitTest(guardvis1)) {
this._xscale = this._xscale - 2;
Color_Warning.gotoAndPlay(6);
}
if (this._width <= 1) {
gotoAndPlay (275);
}
};
church_door.onEnterFrame = function () {
if (_root.player.hitTest(this)) {
important_shine.gotoAndPlay(2);
if (Key.isDown(32)) {
gotoAndPlay (27);
}
}
};
dist_x = this._x - _root._xmouse;
dist_y = this._y - _root._ymouse;
angle = -Math.atan2(dist_x, dist_y);
this._rotation = angle / (Math.PI/180);
dist_x = Character_Sight._x - _root._xmouse;
dist_y = Character_Sight._y - _root._ymouse;
angle = -Math.atan2(dist_x, dist_y);
Character_Sight._rotation = angle / (Math.PI/180);
};
Instance of Symbol 129 MovieClip "walls17" in Frame 26
/* no clip actions */
Frame 27
stop();
_root.attachMovie("player", "player", _root.getNextHighestDepth(), {_x:0, _y:0});
items = 0;
walk_speed = 10;
player.onEnterFrame = function () {
if (Key.isDown(65)) {
this.play();
floor._x = floor._x + walk_speed;
walls._x = walls._x + walk_speed;
walls3._x = walls3._x + walk_speed;
walls4._x = walls4._x + walk_speed;
walls5._x = walls5._x + walk_speed;
walls6._x = walls6._x + walk_speed;
walls9._x = walls9._x + walk_speed;
walls10._x = walls10._x + walk_speed;
walls12._x = walls12._x + walk_speed;
walls13._x = walls13._x + walk_speed;
walls14._x = walls14._x + walk_speed;
walls15._x = walls15._x + walk_speed;
walls16._x = walls16._x + walk_speed;
walls17._x = walls17._x + walk_speed;
walls18._x = walls18._x + walk_speed;
walls19._x = walls19._x + walk_speed;
walls24._x = walls24._x + walk_speed;
walls28._x = walls28._x + walk_speed;
wallsBorder1._x = wallsBorder1._x + walk_speed;
wallsBorder2._x = wallsBorder2._x + walk_speed;
wallsBorder3._x = wallsBorder3._x + walk_speed;
wallsBorder4._x = wallsBorder4._x + walk_speed;
buildings._x = buildings._x + walk_speed;
guardvis8._x = guardvis8._x + walk_speed;
guardvis7._x = guardvis7._x + walk_speed;
guardvis6._x = guardvis6._x + walk_speed;
guardvis5._x = guardvis5._x + walk_speed;
guardvis4._x = guardvis4._x + walk_speed;
guardvis3._x = guardvis3._x + walk_speed;
guardvis2._x = guardvis2._x + walk_speed;
guardvis1._x = guardvis1._x + walk_speed;
guardcapt8._x = guardcapt8._x + walk_speed;
guardcapt7._x = guardcapt7._x + walk_speed;
guardcapt6._x = guardcapt6._x + walk_speed;
guardcapt5._x = guardcapt5._x + walk_speed;
guardcapt4._x = guardcapt4._x + walk_speed;
guardcapt3._x = guardcapt3._x + walk_speed;
guardcapt2._x = guardcapt2._x + walk_speed;
guardcapt1._x = guardcapt1._x + walk_speed;
item._x = item._x + walk_speed;
Teleporter_Bottom._x = Teleporter_Bottom._x + walk_speed;
Teleporter_Top._x = Teleporter_Top._x + walk_speed;
Teleporter_Left._x = Teleporter_Left._x + walk_speed;
Teleporter_Right._x = Teleporter_Right._x + walk_speed;
inn_door._x = inn_door._x + walk_speed;
church_door._x = church_door._x + walk_speed;
while ((((((((((((((((((((_root.walls.hitTest(this) or _root.walls3.hitTest(this)) or _root.walls4.hitTest(this)) or _root.walls5.hitTest(this)) or _root.walls6.hitTest(this)) or _root.walls9.hitTest(this)) or _root.walls10.hitTest(this)) or _root.walls12.hitTest(this)) or _root.walls13.hitTest(this)) or _root.walls14.hitTest(this)) or _root.walls15.hitTest(this)) or _root.walls16.hitTest(this)) or _root.walls17.hitTest(this)) or _root.walls18.hitTest(this)) or _root.walls19.hitTest(this)) or _root.walls24.hitTest(this)) or _root.walls28.hitTest(this)) or _root.wallsBorder1.hitTest(this)) or _root.wallsBorder2.hitTest(this)) or _root.wallsBorder3.hitTest(this)) or _root.wallsBorder4.hitTest(this)) {
floor._x = floor._x - walk_speed;
walls._x = walls._x - walk_speed;
walls3._x = walls3._x - walk_speed;
walls4._x = walls4._x - walk_speed;
walls5._x = walls5._x - walk_speed;
walls6._x = walls6._x - walk_speed;
walls9._x = walls9._x - walk_speed;
walls10._x = walls10._x - walk_speed;
walls12._x = walls12._x - walk_speed;
walls13._x = walls13._x - walk_speed;
walls14._x = walls14._x - walk_speed;
walls15._x = walls15._x - walk_speed;
walls16._x = walls16._x - walk_speed;
walls17._x = walls17._x - walk_speed;
walls18._x = walls18._x - walk_speed;
walls19._x = walls19._x - walk_speed;
walls24._x = walls24._x - walk_speed;
walls28._x = walls28._x - walk_speed;
wallsBorder1._x = wallsBorder1._x - walk_speed;
wallsBorder2._x = wallsBorder2._x - walk_speed;
wallsBorder3._x = wallsBorder3._x - walk_speed;
wallsBorder4._x = wallsBorder4._x - walk_speed;
buildings._x = buildings._x - walk_speed;
guardvis8._x = guardvis8._x - walk_speed;
guardvis7._x = guardvis7._x - walk_speed;
guardvis6._x = guardvis6._x - walk_speed;
guardvis5._x = guardvis5._x - walk_speed;
guardvis4._x = guardvis4._x - walk_speed;
guardvis3._x = guardvis3._x - walk_speed;
guardvis2._x = guardvis2._x - walk_speed;
guardvis1._x = guardvis1._x - walk_speed;
guardcapt8._x = guardcapt8._x - walk_speed;
guardcapt7._x = guardcapt7._x - walk_speed;
guardcapt6._x = guardcapt6._x - walk_speed;
guardcapt5._x = guardcapt5._x - walk_speed;
guardcapt4._x = guardcapt4._x - walk_speed;
guardcapt3._x = guardcapt3._x - walk_speed;
guardcapt2._x = guardcapt2._x - walk_speed;
guardcapt1._x = guardcapt1._x - walk_speed;
GuardSight._x = GuardSight._x - walk_speed;
item._x = item._x - walk_speed;
Teleporter_Bottom._x = Teleporter_Bottom._x - walk_speed;
Teleporter_Top._x = Teleporter_Top._x - walk_speed;
Teleporter_Left._x = Teleporter_Left._x - walk_speed;
Teleporter_Right._x = Teleporter_Right._x - walk_speed;
inn_door._x = inn_door._x - walk_speed;
church_door._x = church_door._x - walk_speed;
}
}
if (Key.isDown(68)) {
this.play();
floor._x = floor._x - walk_speed;
walls._x = walls._x - walk_speed;
walls3._x = walls3._x - walk_speed;
walls4._x = walls4._x - walk_speed;
walls5._x = walls5._x - walk_speed;
walls6._x = walls6._x - walk_speed;
walls9._x = walls9._x - walk_speed;
walls10._x = walls10._x - walk_speed;
walls12._x = walls12._x - walk_speed;
walls13._x = walls13._x - walk_speed;
walls14._x = walls14._x - walk_speed;
walls15._x = walls15._x - walk_speed;
walls16._x = walls16._x - walk_speed;
walls17._x = walls17._x - walk_speed;
walls18._x = walls18._x - walk_speed;
walls19._x = walls19._x - walk_speed;
walls24._x = walls24._x - walk_speed;
walls28._x = walls28._x - walk_speed;
wallsBorder1._x = wallsBorder1._x - walk_speed;
wallsBorder2._x = wallsBorder2._x - walk_speed;
wallsBorder3._x = wallsBorder3._x - walk_speed;
wallsBorder4._x = wallsBorder4._x - walk_speed;
buildings._x = buildings._x - walk_speed;
guardvis8._x = guardvis8._x - walk_speed;
guardvis7._x = guardvis7._x - walk_speed;
guardvis6._x = guardvis6._x - walk_speed;
guardvis5._x = guardvis5._x - walk_speed;
guardvis4._x = guardvis4._x - walk_speed;
guardvis3._x = guardvis3._x - walk_speed;
guardvis2._x = guardvis2._x - walk_speed;
guardvis1._x = guardvis1._x - walk_speed;
guardcapt8._x = guardcapt8._x - walk_speed;
guardcapt7._x = guardcapt7._x - walk_speed;
guardcapt6._x = guardcapt6._x - walk_speed;
guardcapt5._x = guardcapt5._x - walk_speed;
guardcapt4._x = guardcapt4._x - walk_speed;
guardcapt3._x = guardcapt3._x - walk_speed;
guardcapt2._x = guardcapt2._x - walk_speed;
guardcapt1._x = guardcapt1._x - walk_speed;
item._x = item._x - walk_speed;
Teleporter_Bottom._x = Teleporter_Bottom._x - walk_speed;
Teleporter_Top._x = Teleporter_Top._x - walk_speed;
Teleporter_Left._x = Teleporter_Left._x - walk_speed;
Teleporter_Right._x = Teleporter_Right._x - walk_speed;
inn_door._x = inn_door._x - walk_speed;
church_door._x = church_door._x - walk_speed;
while ((((((((((((((((((((_root.walls.hitTest(this) or _root.walls3.hitTest(this)) or _root.walls4.hitTest(this)) or _root.walls5.hitTest(this)) or _root.walls6.hitTest(this)) or _root.walls9.hitTest(this)) or _root.walls10.hitTest(this)) or _root.walls12.hitTest(this)) or _root.walls13.hitTest(this)) or _root.walls14.hitTest(this)) or _root.walls15.hitTest(this)) or _root.walls16.hitTest(this)) or _root.walls17.hitTest(this)) or _root.walls18.hitTest(this)) or _root.walls19.hitTest(this)) or _root.walls24.hitTest(this)) or _root.walls28.hitTest(this)) or _root.wallsBorder1.hitTest(this)) or _root.wallsBorder2.hitTest(this)) or _root.wallsBorder3.hitTest(this)) or _root.wallsBorder4.hitTest(this)) {
floor._x = floor._x + walk_speed;
walls._x = walls._x + walk_speed;
walls3._x = walls3._x + walk_speed;
walls4._x = walls4._x + walk_speed;
walls5._x = walls5._x + walk_speed;
walls6._x = walls6._x + walk_speed;
walls9._x = walls9._x + walk_speed;
walls10._x = walls10._x + walk_speed;
walls12._x = walls12._x + walk_speed;
walls13._x = walls13._x + walk_speed;
walls14._x = walls14._x + walk_speed;
walls15._x = walls15._x + walk_speed;
walls16._x = walls16._x + walk_speed;
walls17._x = walls17._x + walk_speed;
walls18._x = walls18._x + walk_speed;
walls19._x = walls19._x + walk_speed;
walls24._x = walls24._x + walk_speed;
walls28._x = walls28._x + walk_speed;
wallsBorder1._x = wallsBorder1._x + walk_speed;
wallsBorder2._x = wallsBorder2._x + walk_speed;
wallsBorder3._x = wallsBorder3._x + walk_speed;
wallsBorder4._x = wallsBorder4._x + walk_speed;
buildings._x = buildings._x + walk_speed;
guardvis8._x = guardvis8._x + walk_speed;
guardvis7._x = guardvis7._x + walk_speed;
guardvis6._x = guardvis6._x + walk_speed;
guardvis5._x = guardvis5._x + walk_speed;
guardvis4._x = guardvis4._x + walk_speed;
guardvis3._x = guardvis3._x + walk_speed;
guardvis2._x = guardvis2._x + walk_speed;
guardvis1._x = guardvis1._x + walk_speed;
guardcapt8._x = guardcapt8._x + walk_speed;
guardcapt7._x = guardcapt7._x + walk_speed;
guardcapt6._x = guardcapt6._x + walk_speed;
guardcapt5._x = guardcapt5._x + walk_speed;
guardcapt4._x = guardcapt4._x + walk_speed;
guardcapt3._x = guardcapt3._x + walk_speed;
guardcapt2._x = guardcapt2._x + walk_speed;
guardcapt1._x = guardcapt1._x + walk_speed;
item._x = item._x + walk_speed;
Teleporter_Bottom._x = Teleporter_Bottom._x + walk_speed;
Teleporter_Top._x = Teleporter_Top._x + walk_speed;
Teleporter_Left._x = Teleporter_Left._x + walk_speed;
Teleporter_Right._x = Teleporter_Right._x + walk_speed;
inn_door._x = inn_door._x + walk_speed;
church_door._x = church_door._x + walk_speed;
}
}
if (Key.isDown(87)) {
this.play();
floor._y = floor._y + walk_speed;
walls._y = walls._y + walk_speed;
walls3._y = walls3._y + walk_speed;
walls4._y = walls4._y + walk_speed;
walls5._y = walls5._y + walk_speed;
walls6._y = walls6._y + walk_speed;
walls9._y = walls9._y + walk_speed;
walls10._y = walls10._y + walk_speed;
walls12._y = walls12._y + walk_speed;
walls13._y = walls13._y + walk_speed;
walls14._y = walls14._y + walk_speed;
walls15._y = walls15._y + walk_speed;
walls16._y = walls16._y + walk_speed;
walls17._y = walls17._y + walk_speed;
walls18._y = walls18._y + walk_speed;
walls19._y = walls19._y + walk_speed;
walls24._y = walls24._y + walk_speed;
walls28._y = walls28._y + walk_speed;
wallsBorder1._y = wallsBorder1._y + walk_speed;
wallsBorder2._y = wallsBorder2._y + walk_speed;
wallsBorder3._y = wallsBorder3._y + walk_speed;
wallsBorder4._y = wallsBorder4._y + walk_speed;
buildings._y = buildings._y + walk_speed;
guardvis8._y = guardvis8._y + walk_speed;
guardvis7._y = guardvis7._y + walk_speed;
guardvis6._y = guardvis6._y + walk_speed;
guardvis5._y = guardvis5._y + walk_speed;
guardvis4._y = guardvis4._y + walk_speed;
guardvis3._y = guardvis3._y + walk_speed;
guardvis2._y = guardvis2._y + walk_speed;
guardvis1._y = guardvis1._y + walk_speed;
guardcapt8._y = guardcapt8._y + walk_speed;
guardcapt7._y = guardcapt7._y + walk_speed;
guardcapt6._y = guardcapt6._y + walk_speed;
guardcapt5._y = guardcapt5._y + walk_speed;
guardcapt4._y = guardcapt4._y + walk_speed;
guardcapt3._y = guardcapt3._y + walk_speed;
guardcapt2._y = guardcapt2._y + walk_speed;
guardcapt1._y = guardcapt1._y + walk_speed;
item._y = item._y + walk_speed;
Teleporter_Bottom._y = Teleporter_Bottom._y + walk_speed;
Teleporter_Top._y = Teleporter_Top._y + walk_speed;
Teleporter_Left._y = Teleporter_Left._y + walk_speed;
Teleporter_Right._y = Teleporter_Right._y + walk_speed;
inn_door._y = inn_door._y + walk_speed;
church_door._y = church_door._y + walk_speed;
while ((((((((((((((((((((_root.walls.hitTest(this) or _root.walls3.hitTest(this)) or _root.walls4.hitTest(this)) or _root.walls5.hitTest(this)) or _root.walls6.hitTest(this)) or _root.walls9.hitTest(this)) or _root.walls10.hitTest(this)) or _root.walls12.hitTest(this)) or _root.walls13.hitTest(this)) or _root.walls14.hitTest(this)) or _root.walls15.hitTest(this)) or _root.walls16.hitTest(this)) or _root.walls17.hitTest(this)) or _root.walls18.hitTest(this)) or _root.walls19.hitTest(this)) or _root.walls24.hitTest(this)) or _root.walls28.hitTest(this)) or _root.wallsBorder1.hitTest(this)) or _root.wallsBorder2.hitTest(this)) or _root.wallsBorder3.hitTest(this)) or _root.wallsBorder4.hitTest(this)) {
floor._y = floor._y - walk_speed;
walls._y = walls._y - walk_speed;
walls3._y = walls3._y - walk_speed;
walls4._y = walls4._y - walk_speed;
walls5._y = walls5._y - walk_speed;
walls6._y = walls6._y - walk_speed;
walls9._y = walls9._y - walk_speed;
walls10._y = walls10._y - walk_speed;
walls12._y = walls12._y - walk_speed;
walls13._y = walls13._y - walk_speed;
walls14._y = walls14._y - walk_speed;
walls15._y = walls15._y - walk_speed;
walls16._y = walls16._y - walk_speed;
walls17._y = walls17._y - walk_speed;
walls18._y = walls18._y - walk_speed;
walls19._y = walls19._y - walk_speed;
walls24._y = walls24._y - walk_speed;
walls28._y = walls28._y - walk_speed;
wallsBorder1._y = wallsBorder1._y - walk_speed;
wallsBorder2._y = wallsBorder2._y - walk_speed;
wallsBorder3._y = wallsBorder3._y - walk_speed;
wallsBorder4._y = wallsBorder4._y - walk_speed;
buildings._y = buildings._y - walk_speed;
guardvis8._y = guardvis8._y - walk_speed;
guardvis7._y = guardvis7._y - walk_speed;
guardvis6._y = guardvis6._y - walk_speed;
guardvis5._y = guardvis5._y - walk_speed;
guardvis4._y = guardvis4._y - walk_speed;
guardvis3._y = guardvis3._y - walk_speed;
guardvis2._y = guardvis2._y - walk_speed;
guardvis1._y = guardvis1._y - walk_speed;
guardcapt8._y = guardcapt8._y - walk_speed;
guardcapt7._y = guardcapt7._y - walk_speed;
guardcapt6._y = guardcapt6._y - walk_speed;
guardcapt5._y = guardcapt5._y - walk_speed;
guardcapt4._y = guardcapt4._y - walk_speed;
guardcapt3._y = guardcapt3._y - walk_speed;
guardcapt2._y = guardcapt2._y - walk_speed;
guardcapt1._y = guardcapt1._y - walk_speed;
item._y = item._y - walk_speed;
Teleporter_Bottom._y = Teleporter_Bottom._y - walk_speed;
Teleporter_Top._y = Teleporter_Top._y - walk_speed;
Teleporter_Left._y = Teleporter_Left._y - walk_speed;
Teleporter_Right._y = Teleporter_Right._y - walk_speed;
inn_door._y = inn_door._y - walk_speed;
church_door._y = church_door._y - walk_speed;
}
}
if (Key.isDown(83)) {
this.play();
floor._y = floor._y - walk_speed;
walls._y = walls._y - walk_speed;
walls3._y = walls3._y - walk_speed;
walls4._y = walls4._y - walk_speed;
walls5._y = walls5._y - walk_speed;
walls6._y = walls6._y - walk_speed;
walls9._y = walls9._y - walk_speed;
walls10._y = walls10._y - walk_speed;
walls12._y = walls12._y - walk_speed;
walls13._y = walls13._y - walk_speed;
walls14._y = walls14._y - walk_speed;
walls15._y = walls15._y - walk_speed;
walls16._y = walls16._y - walk_speed;
walls17._y = walls17._y - walk_speed;
walls18._y = walls18._y - walk_speed;
walls19._y = walls19._y - walk_speed;
walls24._y = walls24._y - walk_speed;
walls28._y = walls28._y - walk_speed;
wallsBorder1._y = wallsBorder1._y - walk_speed;
wallsBorder2._y = wallsBorder2._y - walk_speed;
wallsBorder3._y = wallsBorder3._y - walk_speed;
wallsBorder4._y = wallsBorder4._y - walk_speed;
buildings._y = buildings._y - walk_speed;
guardvis8._y = guardvis8._y - walk_speed;
guardvis7._y = guardvis7._y - walk_speed;
guardvis6._y = guardvis6._y - walk_speed;
guardvis5._y = guardvis5._y - walk_speed;
guardvis4._y = guardvis4._y - walk_speed;
guardvis3._y = guardvis3._y - walk_speed;
guardvis2._y = guardvis2._y - walk_speed;
guardvis1._y = guardvis1._y - walk_speed;
guardcapt8._y = guardcapt8._y - walk_speed;
guardcapt7._y = guardcapt7._y - walk_speed;
guardcapt6._y = guardcapt6._y - walk_speed;
guardcapt5._y = guardcapt5._y - walk_speed;
guardcapt4._y = guardcapt4._y - walk_speed;
guardcapt3._y = guardcapt3._y - walk_speed;
guardcapt2._y = guardcapt2._y - walk_speed;
guardcapt1._y = guardcapt1._y - walk_speed;
item._y = item._y - walk_speed;
Teleporter_Bottom._y = Teleporter_Bottom._y - walk_speed;
Teleporter_Top._y = Teleporter_Top._y - walk_speed;
Teleporter_Left._y = Teleporter_Left._y - walk_speed;
Teleporter_Right._y = Teleporter_Right._y - walk_speed;
inn_door._y = inn_door._y - walk_speed;
church_door._y = church_door._y - walk_speed;
while ((((((((((((((((((((_root.walls.hitTest(this) or _root.walls3.hitTest(this)) or _root.walls4.hitTest(this)) or _root.walls5.hitTest(this)) or _root.walls6.hitTest(this)) or _root.walls9.hitTest(this)) or _root.walls10.hitTest(this)) or _root.walls12.hitTest(this)) or _root.walls13.hitTest(this)) or _root.walls14.hitTest(this)) or _root.walls15.hitTest(this)) or _root.walls16.hitTest(this)) or _root.walls17.hitTest(this)) or _root.walls18.hitTest(this)) or _root.walls19.hitTest(this)) or _root.walls24.hitTest(this)) or _root.walls28.hitTest(this)) or _root.wallsBorder1.hitTest(this)) or _root.wallsBorder2.hitTest(this)) or _root.wallsBorder3.hitTest(this)) or _root.wallsBorder4.hitTest(this)) {
floor._y = floor._y + walk_speed;
walls._y = walls._y + walk_speed;
walls3._y = walls3._y + walk_speed;
walls4._y = walls4._y + walk_speed;
walls5._y = walls5._y + walk_speed;
walls6._y = walls6._y + walk_speed;
walls9._y = walls9._y + walk_speed;
walls10._y = walls10._y + walk_speed;
walls12._y = walls12._y + walk_speed;
walls13._y = walls13._y + walk_speed;
walls14._y = walls14._y + walk_speed;
walls15._y = walls15._y + walk_speed;
walls16._y = walls16._y + walk_speed;
walls17._y = walls17._y + walk_speed;
walls18._y = walls18._y + walk_speed;
walls19._y = walls19._y + walk_speed;
walls24._y = walls24._y + walk_speed;
walls28._y = walls28._y + walk_speed;
wallsBorder1._y = wallsBorder1._y + walk_speed;
wallsBorder2._y = wallsBorder2._y + walk_speed;
wallsBorder3._y = wallsBorder3._y + walk_speed;
wallsBorder4._y = wallsBorder4._y + walk_speed;
buildings._y = buildings._y + walk_speed;
guardvis8._y = guardvis8._y + walk_speed;
guardvis7._y = guardvis7._y + walk_speed;
guardvis6._y = guardvis6._y + walk_speed;
guardvis5._y = guardvis5._y + walk_speed;
guardvis4._y = guardvis4._y + walk_speed;
guardvis3._y = guardvis3._y + walk_speed;
guardvis2._y = guardvis2._y + walk_speed;
guardvis1._y = guardvis1._y + walk_speed;
guardcapt8._y = guardcapt8._y + walk_speed;
guardcapt7._y = guardcapt7._y + walk_speed;
guardcapt6._y = guardcapt6._y + walk_speed;
guardcapt5._y = guardcapt5._y + walk_speed;
guardcapt4._y = guardcapt4._y + walk_speed;
guardcapt3._y = guardcapt3._y + walk_speed;
guardcapt2._y = guardcapt2._y + walk_speed;
guardcapt1._y = guardcapt1._y + walk_speed;
item._y = item._y + walk_speed;
Teleporter_Bottom._y = Teleporter_Bottom._y + walk_speed;
Teleporter_Top._y = Teleporter_Top._y + walk_speed;
Teleporter_Left._y = Teleporter_Left._y + walk_speed;
Teleporter_Right._y = Teleporter_Right._y + walk_speed;
inn_door._y = inn_door._y + walk_speed;
church_door._y = church_door._y + walk_speed;
}
}
if (Teleporter_Top.hitTest(this)) {
floor._y = floor._y - 11;
walls._y = walls._y - 11;
walls3._y = walls3._y - 11;
walls4._y = walls4._y - 11;
walls5._y = walls5._y - 11;
walls6._y = walls6._y - 11;
walls9._y = walls9._y - 11;
walls10._y = walls10._y - 11;
walls12._y = walls12._y - 11;
walls13._y = walls13._y - 11;
walls14._y = walls14._y - 11;
walls15._y = walls15._y - 11;
walls16._y = walls16._y - 11;
walls17._y = walls17._y - 11;
walls18._y = walls18._y - 11;
walls19._y = walls19._y - 11;
walls24._y = walls24._y - 11;
walls28._y = walls28._y - 11;
wallsBorder1._y = wallsBorder1._y - 11;
wallsBorder2._y = wallsBorder2._y - 11;
wallsBorder3._y = wallsBorder3._y - 11;
wallsBorder4._y = wallsBorder4._y - 11;
buildings._y = buildings._y - 11;
guardvis8._y = guardvis8._y - 11;
guardvis7._y = guardvis7._y - 11;
guardvis6._y = guardvis6._y - 11;
guardvis5._y = guardvis5._y - 11;
guardvis4._y = guardvis4._y - 11;
guardvis3._y = guardvis3._y - 11;
guardvis2._y = guardvis2._y - 11;
guardvis1._y = guardvis1._y - 11;
guardcapt8._y = guardcapt8._y - 11;
guardcapt7._y = guardcapt7._y - 11;
guardcapt6._y = guardcapt6._y - 11;
guardcapt5._y = guardcapt5._y - 11;
guardcapt4._y = guardcapt4._y - 11;
guardcapt3._y = guardcapt3._y - 11;
guardcapt2._y = guardcapt2._y - 11;
guardcapt1._y = guardcapt1._y - 11;
item._y = item._y - 11;
Teleporter_Bottom._y = Teleporter_Bottom._y - 11;
Teleporter_Top._y = Teleporter_Top._y - 11;
Teleporter_Left._y = Teleporter_Left._y - 11;
Teleporter_Right._y = Teleporter_Right._y - 11;
inn_door._y = inn_door._y - 11;
church_door._y = church_door._y - 11;
}
if (Teleporter_Bottom.hitTest(this)) {
floor._y = floor._y + 11;
walls._y = walls._y + 11;
walls3._y = walls3._y + 11;
walls4._y = walls4._y + 11;
walls5._y = walls5._y + 11;
walls6._y = walls6._y + 11;
walls9._y = walls9._y + 11;
walls10._y = walls10._y + 11;
walls12._y = walls12._y + 11;
walls13._y = walls13._y + 11;
walls14._y = walls14._y + 11;
walls15._y = walls15._y + 11;
walls16._y = walls16._y + 11;
walls17._y = walls17._y + 11;
walls18._y = walls18._y + 11;
walls19._y = walls19._y + 11;
walls24._y = walls24._y + 11;
walls28._y = walls28._y + 11;
wallsBorder1._y = wallsBorder1._y + 11;
wallsBorder2._y = wallsBorder2._y + 11;
wallsBorder3._y = wallsBorder3._y + 11;
wallsBorder4._y = wallsBorder4._y + 11;
buildings._y = buildings._y + 11;
guardvis8._y = guardvis8._y + 11;
guardvis7._y = guardvis7._y + 11;
guardvis6._y = guardvis6._y + 11;
guardvis5._y = guardvis5._y + 11;
guardvis4._y = guardvis4._y + 11;
guardvis3._y = guardvis3._y + 11;
guardvis2._y = guardvis2._y + 11;
guardvis1._y = guardvis1._y + 11;
guardcapt8._y = guardcapt8._y + 11;
guardcapt7._y = guardcapt7._y + 11;
guardcapt6._y = guardcapt6._y + 11;
guardcapt5._y = guardcapt5._y + 11;
guardcapt4._y = guardcapt4._y + 11;
guardcapt3._y = guardcapt3._y + 11;
guardcapt2._y = guardcapt2._y + 11;
guardcapt1._y = guardcapt1._y + 11;
item._y = item._y + 11;
Teleporter_Bottom._y = Teleporter_Bottom._y + 11;
Teleporter_Top._y = Teleporter_Top._y + 11;
Teleporter_Left._y = Teleporter_Left._y + 11;
Teleporter_Right._y = Teleporter_Right._y + 11;
inn_door._y = inn_door._y + 11;
church_door._y = church_door._y + 11;
}
if (Teleporter_Left.hitTest(this)) {
floor._x = floor._x - 11;
walls._x = walls._x - 11;
walls3._x = walls3._x - 11;
walls4._x = walls4._x - 11;
walls5._x = walls5._x - 11;
walls6._x = walls6._x - 11;
walls9._x = walls9._x - 11;
walls10._x = walls10._x - 11;
walls12._x = walls12._x - 11;
walls13._x = walls13._x - 11;
walls14._x = walls14._x - 11;
walls15._x = walls15._x - 11;
walls16._x = walls16._x - 11;
walls17._x = walls17._x - 11;
walls18._x = walls18._x - 11;
walls19._x = walls19._x - 11;
walls24._x = walls24._x - 11;
walls28._x = walls28._x - 11;
wallsBorder1._x = wallsBorder1._x - 11;
wallsBorder2._x = wallsBorder2._x - 11;
wallsBorder3._x = wallsBorder3._x - 11;
wallsBorder4._x = wallsBorder4._x - 11;
buildings._x = buildings._x - 11;
guardvis8._x = guardvis8._x - 11;
guardvis7._x = guardvis7._x - 11;
guardvis6._x = guardvis6._x - 11;
guardvis5._x = guardvis5._x - 11;
guardvis4._x = guardvis4._x - 11;
guardvis3._x = guardvis3._x - 11;
guardvis2._x = guardvis2._x - 11;
guardvis1._x = guardvis1._x - 11;
guardcapt8._x = guardcapt8._x - 11;
guardcapt7._x = guardcapt7._x - 11;
guardcapt6._x = guardcapt6._x - 11;
guardcapt5._x = guardcapt5._x - 11;
guardcapt4._x = guardcapt4._x - 11;
guardcapt3._x = guardcapt3._x - 11;
guardcapt2._x = guardcapt2._x - 11;
guardcapt1._x = guardcapt1._x - 11;
item._x = item._x - 11;
Teleporter_Bottom._x = Teleporter_Bottom._x - 11;
Teleporter_Top._x = Teleporter_Top._x - 11;
Teleporter_Left._x = Teleporter_Left._x - 11;
Teleporter_Right._x = Teleporter_Right._x - 11;
inn_door._x = inn_door._x - 11;
church_door._x = church_door._x - 11;
}
if (Teleporter_Right.hitTest(this)) {
floor._x = floor._x + 11;
walls._x = walls._x + 11;
walls3._x = walls3._x + 11;
walls4._x = walls4._x + 11;
walls5._x = walls5._x + 11;
walls6._x = walls6._x + 11;
walls9._x = walls9._x + 11;
walls10._x = walls10._x + 11;
walls12._x = walls12._x + 11;
walls13._x = walls13._x + 11;
walls14._x = walls14._x + 11;
walls15._x = walls15._x + 11;
walls16._x = walls16._x + 11;
walls17._x = walls17._x + 11;
walls18._x = walls18._x + 11;
walls19._x = walls19._x + 11;
walls24._x = walls24._x + 11;
walls28._x = walls28._x + 11;
wallsBorder1._x = wallsBorder1._x + 11;
wallsBorder2._x = wallsBorder2._x + 11;
wallsBorder3._x = wallsBorder3._x + 11;
wallsBorder4._x = wallsBorder4._x + 11;
buildings._x = buildings._x + 11;
guardvis8._x = guardvis8._x + 11;
guardvis7._x = guardvis7._x + 11;
guardvis6._x = guardvis6._x + 11;
guardvis5._x = guardvis5._x + 11;
guardvis4._x = guardvis4._x + 11;
guardvis3._x = guardvis3._x + 11;
guardvis2._x = guardvis2._x + 11;
guardvis1._x = guardvis1._x + 11;
guardcapt8._x = guardcapt8._x + 11;
guardcapt7._x = guardcapt7._x + 11;
guardcapt6._x = guardcapt6._x + 11;
guardcapt5._x = guardcapt5._x + 11;
guardcapt4._x = guardcapt4._x + 11;
guardcapt3._x = guardcapt3._x + 11;
guardcapt2._x = guardcapt2._x + 11;
guardcapt1._x = guardcapt1._x + 11;
item._x = item._x + 11;
Teleporter_Bottom._x = Teleporter_Bottom._x + 11;
Teleporter_Top._x = Teleporter_Top._x + 11;
Teleporter_Left._x = Teleporter_Left._x + 11;
Teleporter_Right._x = Teleporter_Right._x + 11;
inn_door._x = inn_door._x + 11;
church_door._x = church_door._x + 11;
}
healthBar.onEnterFrame = function () {
if (this._width <= 100) {
this._xscale = this._xscale + 2;
}
if ((((((_root.player.hitTest(guardcapt7) or _root.player.hitTest(guardcapt6)) or _root.player.hitTest(guardcapt5)) or _root.player.hitTest(guardcapt4)) or _root.player.hitTest(guardcapt3)) or _root.player.hitTest(guardcapt2)) or _root.player.hitTest(guardcapt1)) {
this._xscale = this._xscale - 6;
Color_Warning.gotoAndPlay(16);
}
if (this._width <= 1) {
gotoAndPlay (29);
}
};
SightedBar.onEnterFrame = function () {
if (this._width <= 100) {
this._xscale = this._xscale + 1;
}
if ((((((_root.player.hitTest(guardvis7) or _root.player.hitTest(guardvis6)) or _root.player.hitTest(guardvis5)) or _root.player.hitTest(guardvis4)) or _root.player.hitTest(guardvis3)) or _root.player.hitTest(guardvis2)) or _root.player.hitTest(guardvis1)) {
this._xscale = this._xscale - 2;
Color_Warning.gotoAndPlay(6);
}
if (this._width <= 1) {
gotoAndPlay (275);
}
};
item.onEnterFrame = function () {
if (_root.player.hitTest(this)) {
important_shine.gotoAndPlay(2);
if (Key.isDown(32)) {
gotoAndPlay (30);
}
}
};
dist_x = this._x - _root._xmouse;
dist_y = this._y - _root._ymouse;
angle = -Math.atan2(dist_x, dist_y);
this._rotation = angle / (Math.PI/180);
dist_x = Character_Sight._x - _root._xmouse;
dist_y = Character_Sight._y - _root._ymouse;
angle = -Math.atan2(dist_x, dist_y);
Character_Sight._rotation = angle / (Math.PI/180);
};
Instance of Symbol 129 MovieClip "walls17" in Frame 27
/* no clip actions */
Frame 28
stop();
Frame 29
stop();
Frame 274
gotoAndPlay (28);
Frame 354
stop();
Symbol 24 Button
on (release) {
gotoAndPlay (29);
}
Symbol 26 Button
on (release) {
gotoAndPlay (28);
}
Symbol 29 MovieClip Frame 10
stop();
Symbol 40 Button
on (release) {
gotoAndPlay (24);
}
Symbol 44 Button
on (release) {
gotoAndPlay (23);
}
Symbol 48 Button
on (release) {
gotoAndPlay (25);
}
Symbol 64 Button
on (release) {
gotoAndPlay (22);
}
Symbol 103 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 5
stop();
Symbol 125 MovieClip Frame 15
gotoAndPlay (1);
Symbol 125 MovieClip Frame 25
gotoAndPlay (1);
Symbol 227 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 6
stop();
Symbol 262 MovieClip Frame 229
stop();
Symbol 277 MovieClip Frame 225
stop();
Symbol 287 MovieClip Frame 202
stop();
Symbol 301 MovieClip Frame 140
stop();
Symbol 339 MovieClip Frame 265
gotoAndPlay (51);
Symbol 340 MovieClip Frame 424
stop();
Symbol 344 MovieClip Frame 483
stop();
Symbol 345 MovieClip Frame 261
gotoAndPlay (233);
Symbol 351 MovieClip Frame 225
stop();