Frame 1
stop();
_root.move2 = 0;
Frame 2
stop();
Frame 3
stop();
_root.sword = 2;
_root.d1 = 1;
_root.saveframe = 3;
Instance of Symbol 58 MovieClip "lockeddoor1" in Frame 3
onClipEvent (load) {
if (_root.opened1 >= 1) {
this.gotoAndStop(43);
}
}
onClipEvent (enterFrame) {
if (this.frame >= 1) {
_root.opened1 = 1;
}
}
Instance of Symbol 183 MovieClip "hero" in Frame 3
onClipEvent (load) {
_root.speed = 6;
_root.ouch = 0;
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
gotoAndPlay (34);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) && (_root.direction <= 0)) {
gotoAndStop (2);
}
if (Key.isDown(40) && (_root.direction <= 0)) {
gotoAndStop (1);
}
if (Key.isDown(37) && (_root.direction <= 0)) {
gotoAndStop (4);
}
if (Key.isDown(39) && (_root.direction <= 0)) {
gotoAndStop (3);
}
}
Instance of Symbol 50 MovieClip in Frame 3
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 56 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 50 MovieClip in Frame 3
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 56 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 50 MovieClip in Frame 3
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 56 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 50 MovieClip in Frame 3
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 56 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 50 MovieClip in Frame 3
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 56 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 50 MovieClip in Frame 3
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 56 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 50 MovieClip in Frame 3
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 56 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 185 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 276);
_root.hero._y = (_root.hero._y = 65);
_root.gotoAndStop("snow5");
}
}
}
Instance of Symbol 185 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 486);
_root.hero._y = (_root.hero._y = 204);
_root.gotoAndStop("dungeon1/2");
}
}
}
Instance of Symbol 185 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 66);
_root.hero._y = (_root.hero._y = 204);
_root.gotoAndStop("dungeon1/5");
}
}
}
Instance of Symbol 185 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 276);
_root.hero._y = (_root.hero._y = 402);
_root.gotoAndStop("dungeon1/8");
}
}
}
Instance of Symbol 188 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Instance of Symbol 188 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Instance of Symbol 188 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Instance of Symbol 188 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Instance of Symbol 201 MovieClip in Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_root.health);
}
onClipEvent (load) {
this.gotoAndStop(_root.health);
}
onClipEvent (enterFrame) {
if (_root.health >= 100) {
_root.health = 100;
}
if (_root.health <= 0) {
_root.hero.gotoAndPlay(34);
_root.health = 100;
}
}
Instance of Symbol 205 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.gold >= 9999) {
_root.gold = 9999;
}
if (_root.gold <= 0) {
_root.gold = 0;
}
}
Instance of Symbol 263 MovieClip "menu" in Frame 3
onClipEvent (load) {
this.potion1 = _root.potion1;
this.potion2 = _root.potion2;
this.bread = _root.bread;
this.herb = _root.herb;
this.quartz = _root.quartz;
}
onClipEvent (enterFrame) {
this.potion1 = _root.potion1;
this.potion2 = _root.potion2;
this.bread = _root.bread;
this.herb = _root.herb;
this.quartz = _root.quartz;
}
onClipEvent (enterFrame) {
if (_root.potion1 >= 10) {
_root.potion1 = 10;
}
if (_root.potion1 <= 0) {
_root.potion1 = 0;
}
if (_root.potion2 >= 10) {
_root.potion2 = 10;
}
if (_root.potion2 <= 0) {
_root.potion2 = 0;
}
if (_root.bread >= 10) {
_root.bread = 10;
}
if (_root.bread <= 0) {
_root.bread = 0;
}
if (_root.herb >= 20) {
_root.herb = 20;
}
if (_root.herb <= 0) {
_root.herb = 0;
}
if (_root.quartz >= 3) {
_root.quartz = 3;
}
if (_root.quartz <= 0) {
_root.quartz = 0;
}
}
Instance of Symbol 281 MovieClip "position" in Frame 3
onClipEvent (enterFrame) {
_root.position.x = _root.hero._x;
_root.position.y = _root.hero._y;
}
Frame 5
stop();
_root.d1 = 2;
_root.saveframe = 5;
Instance of Symbol 353 MovieClip in Frame 5
onClipEvent (load) {
this.hp = 3;
}
onClipEvent (enterFrame) {
if (this.hp <= 0) {
this.hp = 3;
this.gotoAndPlay(2);
}
}
Instance of Symbol 185 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 66);
_root.hero._y = (_root.hero._y = 204);
_root.gotoAndStop("dungeon1/1");
}
}
}
Instance of Symbol 185 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 276);
_root.hero._y = (_root.hero._y = 402);
_root.gotoAndStop("dungeon1/3");
}
}
}
Instance of Symbol 188 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Instance of Symbol 188 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Frame 7
stop();
_root.d1 = 3;
_root.saveframe = 7;
Instance of Symbol 370 MovieClip in Frame 7
onClipEvent (load) {
this.hp = 2;
}
onClipEvent (enterFrame) {
if (this.hp <= 0) {
this.hp = 2;
this.gotoAndPlay(2);
}
}
Instance of Symbol 50 MovieClip in Frame 7
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 7
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 185 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 276);
_root.hero._y = (_root.hero._y = 77);
_root.gotoAndStop("dungeon1/2");
}
}
}
Instance of Symbol 185 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 276);
_root.hero._y = (_root.hero._y = 402);
_root.gotoAndStop("dungeon1/4");
}
}
}
Instance of Symbol 188 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Instance of Symbol 188 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Frame 9
_root.d1 = 4;
stop();
_root.saveframe = 9;
Instance of Symbol 392 MovieClip in Frame 9
onClipEvent (load) {
if (_root.k1 >= 1) {
this.gotoAndStop(3);
}
}
Instance of Symbol 370 MovieClip in Frame 9
onClipEvent (load) {
this.hp = 2;
}
onClipEvent (enterFrame) {
if (this.hp <= 0) {
this.hp = 2;
this.gotoAndPlay(2);
}
}
Instance of Symbol 50 MovieClip in Frame 9
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 185 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 276);
_root.hero._y = (_root.hero._y = 77);
_root.gotoAndStop("dungeon1/3");
}
}
}
Instance of Symbol 188 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Frame 11
stop();
_root.d1 = 5;
_root.saveframe = 11;
Instance of Symbol 50 MovieClip in Frame 11
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 11
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 11
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 56 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 185 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 486);
_root.hero._y = (_root.hero._y = 204);
_root.gotoAndStop("dungeon1/1");
}
}
}
Instance of Symbol 185 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 66);
_root.hero._y = (_root.hero._y = 204);
_root.gotoAndStop("dungeon1/6");
}
}
}
Instance of Symbol 188 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Instance of Symbol 188 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Frame 13
stop();
_root.d1 = 6;
_root.saveframe = 13;
Instance of Symbol 437 MovieClip in Frame 13
onClipEvent (load) {
this.hp = 3;
}
onClipEvent (enterFrame) {
if (this.hp <= 0) {
this.hp = 3;
this.gotoAndPlay(5);
}
}
Instance of Symbol 185 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 486);
_root.hero._y = (_root.hero._y = 204);
_root.gotoAndStop("dungeon1/5");
}
}
}
Instance of Symbol 185 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 66);
_root.hero._y = (_root.hero._y = 204);
_root.gotoAndStop("dungeon1/7");
}
}
}
Instance of Symbol 188 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Instance of Symbol 188 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Frame 15
stop();
_root.d1 = 7;
_root.saveframe = 15;
Instance of Symbol 445 MovieClip in Frame 15
onClipEvent (load) {
if (_root.k2 >= 1) {
this.gotoAndStop(3);
}
}
Instance of Symbol 370 MovieClip in Frame 15
onClipEvent (load) {
this.hp = 2;
}
onClipEvent (enterFrame) {
if (this.hp <= 0) {
this.hp = 2;
this.gotoAndPlay(2);
}
}
Instance of Symbol 50 MovieClip in Frame 15
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 15
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 15
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 15
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 56 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 50 MovieClip in Frame 15
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 15
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 185 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 486);
_root.hero._y = (_root.hero._y = 204);
_root.gotoAndStop("dungeon1/6");
}
}
}
Instance of Symbol 188 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Frame 17
stop();
_root.d1 = 8;
_root.saveframe = 17;
Instance of Symbol 58 MovieClip "lockeddoor1" in Frame 17
onClipEvent (load) {
if (_root.opened2 >= 1) {
this.gotoAndStop(43);
}
}
onClipEvent (enterFrame) {
if (this.frame >= 1) {
_root.opened2 = 1;
}
}
Instance of Symbol 437 MovieClip in Frame 17
onClipEvent (load) {
this.hp = 3;
}
onClipEvent (enterFrame) {
if (this.hp <= 0) {
this.hp = 3;
this.gotoAndPlay(5);
}
}
Instance of Symbol 56 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 50 MovieClip in Frame 17
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 185 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 276);
_root.hero._y = (_root.hero._y = 77);
_root.gotoAndStop("dungeon1/1");
}
}
}
Instance of Symbol 185 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 66);
_root.hero._y = (_root.hero._y = 204);
_root.gotoAndStop("dungeon1/9");
}
}
}
Instance of Symbol 185 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 276);
_root.hero._y = (_root.hero._y = 402);
_root.gotoAndStop("dungeon1/15");
}
}
}
Instance of Symbol 188 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Instance of Symbol 188 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Instance of Symbol 188 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Frame 19
stop();
_root.d1 = 9;
_root.saveframe = 19;
Instance of Symbol 50 MovieClip in Frame 19
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 185 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 486);
_root.hero._y = (_root.hero._y = 204);
_root.gotoAndStop("dungeon1/8");
}
}
}
Instance of Symbol 185 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 66);
_root.hero._y = (_root.hero._y = 204);
_root.gotoAndStop("dungeon1/10");
}
}
}
Instance of Symbol 188 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Instance of Symbol 188 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Frame 21
stop();
_root.d1 = 10;
_root.saveframe = 21;
Instance of Symbol 370 MovieClip in Frame 21
onClipEvent (load) {
this.hp = 2;
}
onClipEvent (enterFrame) {
if (this.hp <= 0) {
this.hp = 2;
this.gotoAndPlay(2);
}
}
Instance of Symbol 370 MovieClip in Frame 21
onClipEvent (load) {
this.hp = 2;
}
onClipEvent (enterFrame) {
if (this.hp <= 0) {
this.hp = 2;
this.gotoAndPlay(2);
}
}
Instance of Symbol 50 MovieClip in Frame 21
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 185 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 486);
_root.hero._y = (_root.hero._y = 204);
_root.gotoAndStop("dungeon1/9");
}
}
}
Instance of Symbol 185 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 276);
_root.hero._y = (_root.hero._y = 402);
_root.gotoAndStop("dungeon1/11");
}
}
}
Instance of Symbol 188 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Instance of Symbol 188 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Frame 23
stop();
_root.d1 = 11;
_root.saveframe = 23;
Instance of Symbol 484 MovieClip in Frame 23
onClipEvent (load) {
this.hp = 2;
}
onClipEvent (enterFrame) {
if (this.hp <= 0) {
this.hp = 2;
this.gotoAndPlay(2);
}
}
Instance of Symbol 50 MovieClip in Frame 23
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 56 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 50 MovieClip in Frame 23
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 56 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 185 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 486);
_root.hero._y = (_root.hero._y = 204);
_root.gotoAndStop("dungeon1/12");
}
}
}
Instance of Symbol 185 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 66);
_root.hero._y = (_root.hero._y = 204);
_root.gotoAndStop("dungeon1/13");
}
}
}
Instance of Symbol 185 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 276);
_root.hero._y = (_root.hero._y = 402);
_root.gotoAndStop("dungeon1/14");
}
}
}
Instance of Symbol 185 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 276);
_root.hero._y = (_root.hero._y = 77);
_root.gotoAndStop("dungeon1/10");
}
}
}
Instance of Symbol 188 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Instance of Symbol 188 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Instance of Symbol 188 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Instance of Symbol 188 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Frame 25
stop();
_root.d1 = 12;
_root.saveframe = 25;
Instance of Symbol 437 MovieClip in Frame 25
onClipEvent (load) {
this.hp = 3;
}
onClipEvent (enterFrame) {
if (this.hp <= 0) {
this.hp = 3;
this.gotoAndPlay(5);
}
}
Instance of Symbol 437 MovieClip in Frame 25
onClipEvent (load) {
this.hp = 3;
}
onClipEvent (enterFrame) {
if (this.hp <= 0) {
this.hp = 3;
this.gotoAndPlay(5);
}
}
Instance of Symbol 437 MovieClip in Frame 25
onClipEvent (load) {
this.hp = 3;
}
onClipEvent (enterFrame) {
if (this.hp <= 0) {
this.hp = 3;
this.gotoAndPlay(5);
}
}
Instance of Symbol 50 MovieClip in Frame 25
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 25
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 185 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 66);
_root.hero._y = (_root.hero._y = 204);
_root.gotoAndStop("dungeon1/11");
}
}
}
Instance of Symbol 188 MovieClip in Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Frame 27
stop();
_root.d1 = 13;
_root.saveframe = 27;
Instance of Symbol 50 MovieClip in Frame 27
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 185 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 486);
_root.hero._y = (_root.hero._y = 204);
_root.gotoAndStop("dungeon1/11");
}
}
}
Instance of Symbol 188 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Frame 29
stop();
_root.d1 = 14;
_root.saveframe = 29;
Instance of Symbol 530 MovieClip "keychest1" in Frame 29
onClipEvent (load) {
if (_root.chestopen2 >= 1) {
gotoAndStop (52);
}
}
onClipEvent (enterFrame) {
if (this.chest >= 1) {
_root.tekst.tekst = "Obtained a small key!";
}
}
onClipEvent (load) {
if (_root.chestopen2 <= 0) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 601 MovieClip in Frame 29
onClipEvent (load) {
this.hp = 7;
}
onClipEvent (load) {
if (_root.boss1 >= 1) {
_root.bardoor.gotoAndStop(16);
gotoAndStop (27);
}
}
onClipEvent (enterFrame) {
if (this.hp <= 0) {
_root.bardoor.play();
_root.boss1 = 1;
_root.keychest1._alpha = 100;
this.hp = 7;
this.gotoAndPlay(5);
}
}
Instance of Symbol 185 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 276);
_root.hero._y = (_root.hero._y = 77);
_root.gotoAndStop("dungeon1/11");
}
}
}
Instance of Symbol 188 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Frame 31
stop();
_root.d1 = 15;
_root.saveframe = 31;
Instance of Symbol 58 MovieClip "lockeddoor1" in Frame 31
onClipEvent (load) {
if (_root.opened3 >= 1) {
this.gotoAndStop(43);
}
}
onClipEvent (enterFrame) {
if (this.frame >= 1) {
_root.opened3 = 1;
}
}
Instance of Symbol 50 MovieClip in Frame 31
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 31
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 56 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 185 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 276);
_root.hero._y = (_root.hero._y = 77);
_root.gotoAndStop("dungeon1/8");
}
}
}
Instance of Symbol 185 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 276);
_root.hero._y = (_root.hero._y = 402);
_root.gotoAndStop("dungeon1/16");
}
}
}
Instance of Symbol 188 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Instance of Symbol 188 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Frame 33
stop();
_root.d1 = 16;
_root.saveframe = 33;
Instance of Symbol 370 MovieClip in Frame 33
onClipEvent (load) {
this.hp = 2;
}
onClipEvent (enterFrame) {
if (this.hp <= 0) {
this.hp = 2;
this.gotoAndPlay(2);
}
}
Instance of Symbol 50 MovieClip in Frame 33
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 56 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 50 MovieClip in Frame 33
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 56 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 50 MovieClip in Frame 33
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 56 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 50 MovieClip in Frame 33
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 56 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 50 MovieClip in Frame 33
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 56 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 50 MovieClip in Frame 33
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 33
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 33
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 33
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 33
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 276);
_root.hero._y = (_root.hero._y = 77);
_root.gotoAndStop("dungeon1/15");
}
}
}
Instance of Symbol 185 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._y = (_root.hero._y = 455);
_root.gotoAndStop("dungeon1/17");
}
}
}
Instance of Symbol 188 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Instance of Symbol 188 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Frame 35
stop();
_root.d1 = 17;
_root.saveframe = 35;
Instance of Symbol 619 MovieClip in Frame 35
onClipEvent (load) {
if (_root.chestopen1 >= 1) {
gotoAndStop (52);
}
}
onClipEvent (enterFrame) {
if (this.chest >= 1) {
_root.tekst.tekst = "You found 20 gold!";
}
}
Instance of Symbol 370 MovieClip in Frame 35
onClipEvent (load) {
this.hp = 2;
}
onClipEvent (enterFrame) {
if (this.hp <= 0) {
this.hp = 2;
this.gotoAndPlay(2);
}
}
Instance of Symbol 370 MovieClip in Frame 35
onClipEvent (load) {
this.hp = 2;
}
onClipEvent (enterFrame) {
if (this.hp <= 0) {
this.hp = 2;
this.gotoAndPlay(2);
}
}
Instance of Symbol 50 MovieClip in Frame 35
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 35
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 35
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 185 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._y = (_root.hero._y = 26);
_root.gotoAndStop("dungeon1/16");
}
}
}
Instance of Symbol 185 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._y = (_root.hero._y = 455);
_root.gotoAndStop("dungeon1/18");
}
}
}
Instance of Symbol 188 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Instance of Symbol 188 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Frame 37
stop();
_root.d1 = 18;
_root.saveframe = 37;
Instance of Symbol 56 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 56 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 56 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 56 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 50 MovieClip in Frame 37
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 56 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 185 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._y = (_root.hero._y = 26);
_root.gotoAndStop("dungeon1/17");
}
}
}
Instance of Symbol 185 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 276);
_root.hero._y = (_root.hero._y = 402);
_root.gotoAndStop("dungeon1/19");
}
}
}
Instance of Symbol 188 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Frame 39
stop();
_root.saveframe = 39;
Instance of Symbol 696 MovieClip "boss1" in Frame 39
onClipEvent (load) {
this.hp1 = 20;
this.hp2 = 25;
}
onClipEvent (load) {
if (_root.boss2 >= 1) {
gotoAndStop (200);
}
}
onClipEvent (enterFrame) {
if (this.hp2 <= 0) {
gotoAndPlay (71);
this.hp2 = 25;
}
}
onClipEvent (enterFrame) {
if (this.hp1 <= 0) {
play();
}
}
Instance of Symbol 50 MovieClip in Frame 39
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 39
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 185 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 66);
_root.hero._y = (_root.hero._y = 204);
_root.gotoAndStop("dungeon1/20");
}
}
}
Instance of Symbol 188 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Instance of Symbol 188 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
play();
}
}
Frame 41
stop();
_root.saveframe = 41;
Instance of Symbol 50 MovieClip in Frame 41
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 41
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 41
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 41
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 41
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 41
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Instance of Symbol 50 MovieClip in Frame 41
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.blok1hit.gotoAndStop(2);
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_root.bang == 1)) {
_root.hero._y = _root.hero._y + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_root.bang == 2)) {
_root.hero._y = _root.hero._y - 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_root.bang == 3)) {
_root.hero._x = _root.hero._x + 6;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_root.bang == 4)) {
_root.hero._x = _root.hero._x - 6;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 1)) {
_root.blok1._y = _root.blok1._y - 6;
}
if ((this.hitTest(_root.blok.blok1hit) == true) && (_root.blok1schuif == 2)) {
_root.blok1._y = _root.blok1._y + 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 3)) {
_root.blok1._x = _root.blok1._x - 6;
}
if ((this.hitTest(_root.blok1.blokhit) == true) && (_root.blok1schuif == 4)) {
_root.blok1._x = _root.blok1._x + 6;
}
}
Frame 42
stop();
Frame 43
stop();
Symbol 14 Button
on (release) {
_root.play();
}
Symbol 18 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop (3);
}
Symbol 18 MovieClip Frame 2
gotoAndPlay (1);
Symbol 24 Button
on (release) {
nextFrame();
}
Symbol 28 Button
on (release) {
play();
}
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 2
stop();
Symbol 44 MovieClip Frame 3
stop();
Symbol 44 MovieClip Frame 4
stop();
Symbol 44 MovieClip Frame 52
_root.play();
Symbol 53 MovieClip Frame 1
stop();
Instance of Symbol 50 MovieClip in Symbol 53 MovieClip Frame 1
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
Instance of Symbol 51 MovieClip in Symbol 53 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero.wallhit) == true) && (Key.isDown(83))) {
_parent.play();
}
}
Symbol 53 MovieClip Frame 2
play();
Symbol 53 MovieClip Frame 16
stop();
Symbol 58 MovieClip Frame 1
stop();
Instance of Symbol 56 MovieClip in Symbol 58 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((hitTest(_root.hero.wallhit) == true) && (Key.isDown(83))) && (_root.keynumber >= 1)) {
_parent.play();
_root.keynumber = _root.keynumber - 1;
}
}
Instance of Symbol 50 MovieClip in Symbol 58 MovieClip Frame 1
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
Symbol 58 MovieClip Frame 2
this.frame = 1;
Symbol 58 MovieClip Frame 35
stop();
Symbol 66 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 2
stop();
Symbol 66 MovieClip Frame 3
stop();
Symbol 66 MovieClip Frame 4
stop();
Instance of Symbol 66 MovieClip in Symbol 68 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Instance of Symbol 66 MovieClip in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Instance of Symbol 66 MovieClip in Symbol 95 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Instance of Symbol 66 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Instance of Symbol 66 MovieClip in Symbol 101 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Symbol 103 MovieClip Frame 1
_root.speed = 6;
stop();
Instance of Symbol 68 MovieClip in Symbol 103 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.direction = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(40) && (_root.move <= 0)) {
_root.hero.down.gotoAndStop(2);
} else {
_root.hero.down.gotoAndStop(1);
}
if ((Key.isDown(68) && (_root.move <= 0)) && (_root.sword >= 2)) {
_root.hero.down.gotoAndStop(3);
}
if (Key.isDown(65) && (_root.move <= 0)) {
_root.hero.down.gotoAndPlay(19);
}
}
Symbol 103 MovieClip Frame 2
stop();
Instance of Symbol 83 MovieClip in Symbol 103 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.direction = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(40) && (_root.move <= 0)) {
_root.hero.down.gotoAndStop(2);
} else {
_root.hero.down.gotoAndStop(1);
}
if ((Key.isDown(68) && (_root.move <= 0)) && (_root.sword >= 2)) {
_root.hero.down.gotoAndStop(3);
}
if (Key.isDown(65) && (_root.move <= 0)) {
_root.hero.down.gotoAndPlay(19);
}
}
Symbol 103 MovieClip Frame 3
_root.move = 1;
_root.direction = 1;
play();
Instance of Symbol 66 MovieClip in Symbol 103 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Symbol 103 MovieClip Frame 11
stop();
Instance of Symbol 68 MovieClip in Symbol 103 MovieClip Frame 11
onClipEvent (enterFrame) {
if (Key.isDown(68)) {
_root.hero.down.gotoAndStop(11);
} else {
_root.move = 0;
_root.direction = 0;
_root.hero.down.gotoAndStop(1);
}
}
Symbol 103 MovieClip Frame 12
_root.move = 1;
_root.direction = 1;
play();
_root.hero.wallhit.play();
Instance of Symbol 95 MovieClip in Symbol 103 MovieClip Frame 12
onClipEvent (enterFrame) {
_root.bang = 1;
_root.hero._y = _root.hero._y - 6;
}
Symbol 103 MovieClip Frame 18
_root.bang = 0;
_root.move = 0;
_root.direction = 0;
gotoAndStop (1);
Instance of Symbol 95 MovieClip in Symbol 103 MovieClip Frame 18
onClipEvent (enterFrame) {
_root.hero._y = _root.hero._y - 6;
}
Symbol 103 MovieClip Frame 19
_root.jump = 1;
_root.direction = 1;
_root.hero.wallhit.play();
play();
_root.speed = 0;
Symbol 103 MovieClip Frame 21
_root.speed = 5;
Symbol 103 MovieClip Frame 40
_root.speed = 0;
Symbol 103 MovieClip Frame 42
stop();
Instance of Symbol 68 MovieClip in Symbol 103 MovieClip Frame 42
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
_root.hero.down.gotoAndStop(42);
} else {
_root.jump = 0;
_root.speed = 6;
_root.move = 0;
_root.direction = 0;
_root.hero.down.gotoAndStop(1);
}
}
Symbol 106 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 1
_root.move = 0;
stop();
Symbol 108 MovieClip Frame 2
play();
Symbol 108 MovieClip Frame 3
play();
Symbol 108 MovieClip Frame 4
play();
Symbol 108 MovieClip Frame 5
play();
Symbol 108 MovieClip Frame 6
play();
Symbol 108 MovieClip Frame 7
play();
Symbol 108 MovieClip Frame 8
play();
Symbol 108 MovieClip Frame 9
play();
Symbol 108 MovieClip Frame 10
play();
Symbol 108 MovieClip Frame 11
play();
Symbol 108 MovieClip Frame 12
play();
Symbol 108 MovieClip Frame 13
play();
Symbol 108 MovieClip Frame 14
play();
Symbol 108 MovieClip Frame 15
play();
Symbol 108 MovieClip Frame 16
play();
Symbol 108 MovieClip Frame 17
play();
Symbol 108 MovieClip Frame 18
play();
Symbol 108 MovieClip Frame 19
play();
Symbol 108 MovieClip Frame 20
play();
Symbol 108 MovieClip Frame 21
play();
Symbol 108 MovieClip Frame 22
play();
Symbol 108 MovieClip Frame 23
play();
Instance of Symbol 66 MovieClip in Symbol 110 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Instance of Symbol 66 MovieClip in Symbol 116 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Instance of Symbol 66 MovieClip in Symbol 121 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Instance of Symbol 66 MovieClip in Symbol 123 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Instance of Symbol 66 MovieClip in Symbol 125 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Symbol 126 MovieClip Frame 1
_root.speed = 6;
stop();
Instance of Symbol 110 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.direction = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38) && (_root.move <= 0)) {
_root.hero.up.gotoAndStop(2);
} else {
_root.hero.up.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((Key.isDown(68) && (_root.move <= 0)) && (_root.sword >= 2)) {
_root.hero.up.gotoAndStop(3);
}
if (Key.isDown(65) && (_root.move <= 0)) {
_root.hero.up.gotoAndPlay(18);
}
}
Symbol 126 MovieClip Frame 2
stop();
Instance of Symbol 116 MovieClip in Symbol 126 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.direction = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(38) && (_root.move <= 0)) {
_root.hero.up.gotoAndStop(2);
} else {
_root.hero.up.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((Key.isDown(68) && (_root.move <= 0)) && (_root.sword >= 2)) {
_root.hero.up.gotoAndStop(3);
}
if (Key.isDown(65) && (_root.move <= 0)) {
_root.hero.up.gotoAndPlay(18);
}
}
Symbol 126 MovieClip Frame 3
_root.move = 1;
_root.direction = 1;
play();
Instance of Symbol 66 MovieClip in Symbol 126 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Symbol 126 MovieClip Frame 10
stop();
Instance of Symbol 110 MovieClip in Symbol 126 MovieClip Frame 10
onClipEvent (enterFrame) {
if (Key.isDown(68)) {
_root.hero.up.gotoAndStop(10);
} else {
_root.move = 0;
_root.direction = 0;
_root.hero.up.gotoAndStop(1);
}
}
Symbol 126 MovieClip Frame 11
_root.move = 1;
_root.direction = 1;
play();
_root.hero.wallhit.play();
Instance of Symbol 121 MovieClip in Symbol 126 MovieClip Frame 11
onClipEvent (enterFrame) {
_root.bang = 2;
_root.hero._y = _root.hero._y + 6;
}
Symbol 126 MovieClip Frame 17
_root.bang = 0;
_root.move = 0;
_root.direction = 0;
gotoAndStop (1);
Instance of Symbol 121 MovieClip in Symbol 126 MovieClip Frame 17
onClipEvent (enterFrame) {
_root.hero._y = _root.hero._y + 6;
}
Symbol 126 MovieClip Frame 18
_root.jump = 1;
_root.direction = 1;
_root.hero.wallhit.play();
play();
_root.speed = 0;
Symbol 126 MovieClip Frame 20
_root.speed = 5;
Symbol 126 MovieClip Frame 39
_root.speed = 0;
Symbol 126 MovieClip Frame 41
stop();
Instance of Symbol 110 MovieClip in Symbol 126 MovieClip Frame 41
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
_root.hero.up.gotoAndStop(41);
} else {
_root.jump = 0;
_root.speed = 6;
_root.move = 0;
_root.direction = 0;
_root.hero.up.gotoAndStop(1);
}
}
Instance of Symbol 66 MovieClip in Symbol 129 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Instance of Symbol 66 MovieClip in Symbol 146 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Instance of Symbol 66 MovieClip in Symbol 153 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Instance of Symbol 66 MovieClip in Symbol 156 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Instance of Symbol 66 MovieClip in Symbol 159 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Symbol 160 MovieClip Frame 1
_root.speed = 6;
stop();
Instance of Symbol 129 MovieClip in Symbol 160 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.direction = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && (_root.move <= 0)) {
_root.hero.right.gotoAndStop(2);
} else {
_root.hero.right.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((Key.isDown(68) && (_root.move <= 0)) && (_root.sword >= 2)) {
_root.hero.right.gotoAndStop(3);
}
if (Key.isDown(65) && (_root.move <= 0)) {
_root.hero.right.gotoAndPlay(18);
}
}
Symbol 160 MovieClip Frame 2
stop();
Instance of Symbol 146 MovieClip in Symbol 160 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.direction = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && (_root.move <= 0)) {
_root.hero.right.gotoAndStop(2);
} else {
_root.hero.right.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((Key.isDown(68) && (_root.move <= 0)) && (_root.sword >= 2)) {
_root.hero.right.gotoAndStop(3);
}
if (Key.isDown(65) && (_root.move <= 0)) {
_root.hero.right.gotoAndPlay(18);
}
}
Symbol 160 MovieClip Frame 3
_root.move = 1;
_root.direction = 1;
play();
Instance of Symbol 66 MovieClip in Symbol 160 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Symbol 160 MovieClip Frame 10
stop();
Instance of Symbol 129 MovieClip in Symbol 160 MovieClip Frame 10
onClipEvent (enterFrame) {
if (Key.isDown(68)) {
_root.hero.right.gotoAndStop(10);
} else {
_root.move = 0;
_root.direction = 0;
_root.hero.right.gotoAndStop(1);
}
}
Symbol 160 MovieClip Frame 11
_root.move = 1;
_root.direction = 1;
play();
_root.hero.wallhit.play();
Instance of Symbol 153 MovieClip in Symbol 160 MovieClip Frame 11
onClipEvent (enterFrame) {
_root.bang = 3;
_root.hero._x = _root.hero._x - 6;
}
Symbol 160 MovieClip Frame 17
_root.bang = 0;
_root.move = 0;
_root.direction = 0;
gotoAndStop (1);
Instance of Symbol 153 MovieClip in Symbol 160 MovieClip Frame 17
onClipEvent (enterFrame) {
_root.hero._x = _root.hero._x - 6;
}
Symbol 160 MovieClip Frame 18
_root.jump = 1;
_root.direction = 1;
_root.hero.wallhit.play();
play();
_root.speed = 1;
Symbol 160 MovieClip Frame 20
_root.speed = 5;
Symbol 160 MovieClip Frame 39
_root.speed = 0;
Symbol 160 MovieClip Frame 41
stop();
Instance of Symbol 129 MovieClip in Symbol 160 MovieClip Frame 41
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
_root.hero.right.gotoAndStop(41);
} else {
_root.speed = 6;
_root.jump = 0;
_root.move = 0;
_root.direction = 0;
_root.hero.right.gotoAndStop(1);
}
}
Instance of Symbol 66 MovieClip in Symbol 162 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Instance of Symbol 66 MovieClip in Symbol 163 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Instance of Symbol 66 MovieClip in Symbol 165 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Symbol 166 MovieClip Frame 1
_root.speed = 6;
stop();
Instance of Symbol 162 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.direction = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.move <= 0)) {
_root.hero.left.gotoAndStop(2);
} else {
_root.hero.left.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((Key.isDown(68) && (_root.move <= 0)) && (_root.sword >= 2)) {
_root.hero.left.gotoAndStop(3);
}
if (Key.isDown(65) && (_root.move <= 0)) {
_root.hero.left.gotoAndPlay(18);
}
}
Symbol 166 MovieClip Frame 2
stop();
Instance of Symbol 163 MovieClip in Symbol 166 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.direction = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.move <= 0)) {
_root.hero.left.gotoAndStop(2);
} else {
_root.hero.left.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((Key.isDown(68) && (_root.move <= 0)) && (_root.sword >= 2)) {
_root.hero.left.gotoAndStop(3);
}
if (Key.isDown(65) && (_root.move <= 0)) {
_root.hero.left.gotoAndPlay(18);
}
}
Symbol 166 MovieClip Frame 3
_root.move = 1;
_root.direction = 1;
play();
Instance of Symbol 66 MovieClip in Symbol 166 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Symbol 166 MovieClip Frame 10
stop();
Instance of Symbol 162 MovieClip in Symbol 166 MovieClip Frame 10
onClipEvent (enterFrame) {
if (Key.isDown(68)) {
_root.hero.left.gotoAndStop(10);
} else {
_root.move = 0;
_root.direction = 0;
_root.hero.left.gotoAndStop(1);
}
}
Symbol 166 MovieClip Frame 11
_root.move = 1;
_root.direction = 1;
play();
_root.hero.wallhit.play();
Instance of Symbol 165 MovieClip in Symbol 166 MovieClip Frame 11
onClipEvent (enterFrame) {
_root.bang = 4;
_root.hero._x = _root.hero._x + 6;
}
Symbol 166 MovieClip Frame 17
_root.bang = 0;
_root.move = 0;
_root.direction = 0;
gotoAndStop (1);
Instance of Symbol 165 MovieClip in Symbol 166 MovieClip Frame 17
onClipEvent (enterFrame) {
_root.hero._x = _root.hero._x + 6;
}
Symbol 166 MovieClip Frame 18
_root.jump = 1;
_root.direction = 1;
_root.hero.wallhit.play();
play();
_root.speed = 1;
Symbol 166 MovieClip Frame 20
_root.speed = 5;
Symbol 166 MovieClip Frame 39
_root.speed = 0;
Symbol 166 MovieClip Frame 41
stop();
Instance of Symbol 162 MovieClip in Symbol 166 MovieClip Frame 41
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
_root.hero.left.gotoAndStop(41);
} else {
_root.speed = 6;
_root.jump = 0;
_root.move = 0;
_root.direction = 0;
_root.hero.left.gotoAndStop(1);
}
}
Symbol 167 MovieClip Frame 1
stop();
Instance of Symbol 66 MovieClip in Symbol 167 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Symbol 167 MovieClip Frame 2
stop();
Symbol 167 MovieClip Frame 3
stop();
Symbol 167 MovieClip Frame 4
stop();
Symbol 167 MovieClip Frame 5
stop();
Symbol 167 MovieClip Frame 6
stop();
Symbol 167 MovieClip Frame 7
stop();
Symbol 167 MovieClip Frame 8
stop();
Symbol 167 MovieClip Frame 9
stop();
Symbol 167 MovieClip Frame 10
stop();
Symbol 167 MovieClip Frame 11
stop();
Symbol 167 MovieClip Frame 12
stop();
Symbol 167 MovieClip Frame 13
stop();
Symbol 167 MovieClip Frame 14
stop();
Instance of Symbol 66 MovieClip in Symbol 170 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Symbol 176 MovieClip Frame 2
stop();
Symbol 176 MovieClip Frame 3
stop();
Symbol 176 MovieClip Frame 4
stop();
Symbol 183 MovieClip Frame 1
stop();
Instance of Symbol 103 MovieClip "down" in Symbol 183 MovieClip Frame 1
onClipEvent (load) {
_root.climb = 0;
gotoAndStop (2);
_root.go = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(40) && (_root.move <= 0)) {
_root.hero._y = _root.hero._y + _root.speed;
}
}
onClipEvent (enterFrame) {
_root.go = 1;
_root.climb = 0;
}
Symbol 183 MovieClip Frame 2
stop();
Instance of Symbol 126 MovieClip "up" in Symbol 183 MovieClip Frame 2
onClipEvent (load) {
_root.climb = 0;
gotoAndStop (2);
_root.go = 2;
}
onClipEvent (enterFrame) {
if (Key.isDown(38) && (_root.move <= 0)) {
_root.hero._y = _root.hero._y - _root.speed;
}
}
onClipEvent (enterFrame) {
_root.go = 2;
_root.climb = 0;
}
Symbol 183 MovieClip Frame 3
stop();
Instance of Symbol 160 MovieClip "right" in Symbol 183 MovieClip Frame 3
onClipEvent (load) {
gotoAndStop (2);
_root.go = 3;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && (_root.move <= 0)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if ((Key.isDown(38) && (_root.move <= 0)) && (_root.jump <= 0)) {
_root.hero.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if ((Key.isDown(40) && (_root.move <= 0)) && (_root.jump <= 0)) {
_root.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.go = 3;
_root.climb = 0;
}
Symbol 183 MovieClip Frame 4
stop();
Instance of Symbol 166 MovieClip "left" in Symbol 183 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop (2);
_root.go = 4;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (_root.move <= 0)) {
_root.hero._x = _root.hero._x - _root.speed;
}
}
onClipEvent (enterFrame) {
if ((Key.isDown(38) && (_root.move <= 0)) && (_root.jump <= 0)) {
_root.hero.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if ((Key.isDown(40) && (_root.move <= 0)) && (_root.jump <= 0)) {
_root.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
_root.go = 4;
_root.climb = 0;
}
Symbol 183 MovieClip Frame 5
stop();
Instance of Symbol 167 MovieClip in Symbol 183 MovieClip Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(38) && (_root.move <= 0)) {
_root.hero._y = _root.hero._y - 3;
play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) && (_root.move <= 0)) {
_root.hero._y = _root.hero._y + 3;
play();
}
if (_root.climb == 0) {
_root.hero.gotoAndStop(2);
}
}
Symbol 183 MovieClip Frame 6
_root.menulock = 1;
_root.menulock2 = 1;
_root.move = 1;
play();
Symbol 183 MovieClip Frame 33
_root.health = _root.health - 5;
_root.hero._x = _root.memx;
_root.hero._y = _root.memy;
_root.menulock = 0;
_root.menulock2 = 0;
_root.move = 0;
gotoAndStop (1);
Symbol 183 MovieClip Frame 34
_root.menulock = 1;
_root.menulock2 = 1;
_root.move = 1;
_root.direction = 1;
play();
Instance of Symbol 176 MovieClip in Symbol 183 MovieClip Frame 34
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Instance of Symbol 176 MovieClip in Symbol 183 MovieClip Frame 60
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Symbol 183 MovieClip Frame 144
_root.menulock = 0;
_root.menulock2 = 0;
_root.move = 0;
_root.direction = 0;
Symbol 183 MovieClip Frame 145
_root.gotoAndStop("gameover");
Symbol 183 MovieClip Frame 146
play();
Instance of Symbol 176 MovieClip in Symbol 183 MovieClip Frame 147
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Instance of Symbol 176 MovieClip in Symbol 183 MovieClip Frame 190
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Instance of Symbol 66 MovieClip in Symbol 183 MovieClip Frame 216
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Symbol 183 MovieClip Frame 228
_root.menulock = 0;
_root.menulock2 = 0;
_root.move = 0;
_root.direction = 0;
Symbol 183 MovieClip Frame 229
gotoAndStop (1);
Instance of Symbol 187 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (load) {
if (this.hitTest(_root.hero.wallhit) == true) {
_root.memx = _parent._x;
_root.memy = _parent._y;
}
}
Symbol 194 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 2
_root.menulock = 1;
_root.menulock2 = 1;
_root.move = 1;
_root.move2 = 1;
_root.read = 1;
Symbol 194 MovieClip Frame 10
stop();
Instance of Symbol 192 MovieClip in Symbol 194 MovieClip Frame 10
on (keyPress "s") {
_root.tekst.tekst = "";
_root.move = 0;
_root.direction = 0;
_root.move2 = 0;
_parent.play();
}
onClipEvent (enterFrame) {
_root.move = 1;
_root.move2 = 1;
}
Symbol 194 MovieClip Frame 22
_root.menulock = 0;
_root.menulock2 = 0;
_root.read = 0;
_root.tekst.tekst = "";
gotoAndStop (1);
Symbol 201 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 2
stop();
Symbol 201 MovieClip Frame 3
stop();
Symbol 201 MovieClip Frame 4
stop();
Symbol 201 MovieClip Frame 5
stop();
Symbol 201 MovieClip Frame 6
stop();
Symbol 201 MovieClip Frame 7
stop();
Symbol 201 MovieClip Frame 8
stop();
Symbol 201 MovieClip Frame 9
stop();
Symbol 201 MovieClip Frame 10
stop();
Symbol 201 MovieClip Frame 11
stop();
Symbol 201 MovieClip Frame 12
stop();
Symbol 201 MovieClip Frame 13
stop();
Symbol 201 MovieClip Frame 14
stop();
Symbol 201 MovieClip Frame 15
stop();
Symbol 201 MovieClip Frame 16
stop();
Symbol 201 MovieClip Frame 17
stop();
Symbol 201 MovieClip Frame 18
stop();
Symbol 201 MovieClip Frame 19
stop();
Symbol 201 MovieClip Frame 20
stop();
Symbol 201 MovieClip Frame 21
stop();
Symbol 201 MovieClip Frame 22
stop();
Symbol 201 MovieClip Frame 23
stop();
Symbol 201 MovieClip Frame 24
stop();
Symbol 201 MovieClip Frame 25
stop();
Symbol 201 MovieClip Frame 26
stop();
Symbol 201 MovieClip Frame 27
stop();
Symbol 201 MovieClip Frame 28
stop();
Symbol 201 MovieClip Frame 29
stop();
Symbol 201 MovieClip Frame 30
stop();
Symbol 201 MovieClip Frame 31
stop();
Symbol 201 MovieClip Frame 32
stop();
Symbol 201 MovieClip Frame 33
stop();
Symbol 201 MovieClip Frame 34
stop();
Symbol 201 MovieClip Frame 35
stop();
Symbol 201 MovieClip Frame 36
stop();
Symbol 201 MovieClip Frame 37
stop();
Symbol 201 MovieClip Frame 38
stop();
Symbol 201 MovieClip Frame 39
stop();
Symbol 201 MovieClip Frame 40
stop();
Symbol 201 MovieClip Frame 41
stop();
Symbol 201 MovieClip Frame 42
stop();
Symbol 201 MovieClip Frame 43
stop();
Symbol 201 MovieClip Frame 44
stop();
Symbol 201 MovieClip Frame 45
stop();
Symbol 201 MovieClip Frame 46
stop();
Symbol 201 MovieClip Frame 47
stop();
Symbol 201 MovieClip Frame 48
stop();
Symbol 201 MovieClip Frame 49
stop();
Symbol 201 MovieClip Frame 50
stop();
Symbol 201 MovieClip Frame 51
stop();
Symbol 201 MovieClip Frame 52
stop();
Symbol 201 MovieClip Frame 53
stop();
Symbol 201 MovieClip Frame 54
stop();
Symbol 201 MovieClip Frame 55
stop();
Symbol 201 MovieClip Frame 56
stop();
Symbol 201 MovieClip Frame 57
stop();
Symbol 201 MovieClip Frame 58
stop();
Symbol 201 MovieClip Frame 59
stop();
Symbol 201 MovieClip Frame 60
stop();
Symbol 201 MovieClip Frame 61
stop();
Symbol 201 MovieClip Frame 62
stop();
Symbol 201 MovieClip Frame 63
stop();
Symbol 201 MovieClip Frame 64
stop();
Symbol 201 MovieClip Frame 65
stop();
Symbol 201 MovieClip Frame 66
stop();
Symbol 201 MovieClip Frame 67
stop();
Symbol 201 MovieClip Frame 68
stop();
Symbol 201 MovieClip Frame 69
stop();
Symbol 201 MovieClip Frame 70
stop();
Symbol 201 MovieClip Frame 71
stop();
Symbol 201 MovieClip Frame 72
stop();
Symbol 201 MovieClip Frame 73
stop();
Symbol 201 MovieClip Frame 74
stop();
Symbol 201 MovieClip Frame 75
stop();
Symbol 201 MovieClip Frame 76
stop();
Symbol 201 MovieClip Frame 77
stop();
Symbol 201 MovieClip Frame 78
stop();
Symbol 201 MovieClip Frame 79
stop();
Symbol 201 MovieClip Frame 80
stop();
Symbol 201 MovieClip Frame 81
stop();
Symbol 201 MovieClip Frame 82
stop();
Symbol 201 MovieClip Frame 83
stop();
Symbol 201 MovieClip Frame 84
stop();
Symbol 201 MovieClip Frame 85
stop();
Symbol 201 MovieClip Frame 86
stop();
Symbol 201 MovieClip Frame 87
stop();
Symbol 201 MovieClip Frame 88
stop();
Symbol 201 MovieClip Frame 89
stop();
Symbol 201 MovieClip Frame 90
stop();
Symbol 201 MovieClip Frame 91
stop();
Symbol 201 MovieClip Frame 92
stop();
Symbol 201 MovieClip Frame 93
stop();
Symbol 201 MovieClip Frame 94
stop();
Symbol 201 MovieClip Frame 95
stop();
Symbol 201 MovieClip Frame 96
stop();
Symbol 201 MovieClip Frame 97
stop();
Symbol 201 MovieClip Frame 98
stop();
Symbol 201 MovieClip Frame 99
stop();
Symbol 201 MovieClip Frame 100
stop();
Symbol 223 Button
on (rollOver) {
_root.menu.explanation = "Replenishes youre HP with 50";
}
on (rollOut) {
_root.menu.explanation = "";
}
on (press) {
if (_root.potion1 >= 1) {
_root.potion1 = _root.potion1 - 1;
_root.health = _root.health + 50;
}
}
Symbol 226 Button
on (rollOver) {
_root.menu.explanation = "Replenishes youre HP with 75";
}
on (rollOut) {
_root.menu.explanation = "";
}
on (press) {
if (_root.potion2 >= 1) {
_root.potion2 = _root.potion2 - 1;
_root.health = _root.health + 75;
}
}
Symbol 229 Button
on (rollOver) {
_root.menu.explanation = "Replenishes youre HP with 20";
}
on (rollOut) {
_root.menu.explanation = "";
}
on (press) {
if (_root.bread >= 1) {
_root.bread = _root.bread - 1;
_root.health = _root.health + 20;
}
}
Symbol 232 Button
on (rollOver) {
_root.menu.explanation = "Cures you when being poisened";
}
on (rollOut) {
_root.menu.explanation = "";
}
on (press) {
if (_root.herb >= 1) {
_root.herb = _root.herb - 1;
}
}
Symbol 235 Button
on (rollOver) {
_root.menu.explanation = "Rivives you when perished, and HP wll be restored by 35";
}
on (rollOut) {
_root.menu.explanation = "";
}
Symbol 247 Button
on (rollOver) {
_root.menu.explanation = "Smith's sword: A sword given by the smith. not very powerfull, but better than nothing.";
}
on (rollOut) {
_root.menu.explanation = "";
}
Symbol 249 Button
on (rollOver) {
_root.menu.explanation = "Corona sword: A nicely crafted sword, powerfull indeed.";
}
on (rollOut) {
_root.menu.explanation = "";
}
Symbol 251 Button
on (rollOver) {
_root.menu.explanation = "Moon sword: A very powerfull sword, it glows like the moon.";
}
on (rollOut) {
_root.menu.explanation = "";
}
Symbol 252 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 2
stop();
Symbol 252 MovieClip Frame 3
stop();
Symbol 252 MovieClip Frame 4
stop();
Symbol 254 Button
on (rollOver) {
_root.menu.explanation = "0 crizzle pieces collected.";
}
on (rollOut) {
_root.menu.explanation = "";
}
Symbol 255 Button
on (rollOver) {
_root.menu.explanation = "1 crizzle piece collected.";
}
on (rollOut) {
_root.menu.explanation = "";
}
Symbol 257 Button
on (rollOver) {
_root.menu.explanation = "2 crizzle pieces collected.";
}
on (rollOut) {
_root.menu.explanation = "";
}
Symbol 259 Button
on (rollOver) {
_root.menu.explanation = "crizzle complete.";
}
on (rollOut) {
_root.menu.explanation = "";
}
Symbol 261 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 2
stop();
Symbol 261 MovieClip Frame 3
stop();
Symbol 261 MovieClip Frame 4
stop();
Symbol 263 MovieClip Frame 1
stop();
Instance of Symbol 214 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(88) && (_root.menulock <= 0)) {
_parent.play();
}
}
Symbol 263 MovieClip Frame 2
_root.menulock2 = 1;
_root.move = 1;
_root.move2 = 1;
Symbol 263 MovieClip Frame 26
stop();
Instance of Symbol 252 MovieClip in Symbol 263 MovieClip Frame 26
onClipEvent (load) {
this.gotoAndStop(_root.sword);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.sword);
}
Instance of Symbol 261 MovieClip in Symbol 263 MovieClip Frame 26
onClipEvent (load) {
this.gotoAndStop(_root.crizzle + 1);
}
Instance of Symbol 214 MovieClip in Symbol 263 MovieClip Frame 26
onClipEvent (enterFrame) {
if (Key.isDown(88)) {
_parent.play();
}
}
Symbol 263 MovieClip Frame 50
_root.menulock = 0;
_root.move = 0;
_root.move2 = 0;
Symbol 274 MovieClip Frame 1
stop();
Instance of Symbol 265 MovieClip in Symbol 274 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(87) && (_root.menulock2 <= 0)) {
_parent.play();
}
}
Symbol 274 MovieClip Frame 2
_root.menulock = 1;
_root.move = 1;
_root.move2 = 1;
Instance of Symbol 271 MovieClip in Symbol 274 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.d1 == 1) {
play();
} else {
stop();
}
}
Instance of Symbol 271 MovieClip in Symbol 274 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.d1 == 5) {
play();
} else {
stop();
}
}
Instance of Symbol 271 MovieClip in Symbol 274 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.d1 == 6) {
play();
} else {
stop();
}
}
Instance of Symbol 271 MovieClip in Symbol 274 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.d1 == 2) {
play();
} else {
stop();
}
}
Instance of Symbol 271 MovieClip in Symbol 274 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.d1 == 3) {
play();
} else {
stop();
}
}
Instance of Symbol 271 MovieClip in Symbol 274 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.d1 == 4) {
play();
} else {
stop();
}
}
Instance of Symbol 271 MovieClip in Symbol 274 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.d1 == 8) {
play();
} else {
stop();
}
}
Instance of Symbol 271 MovieClip in Symbol 274 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.d1 == 15) {
play();
} else {
stop();
}
}
Instance of Symbol 271 MovieClip in Symbol 274 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.d1 == 16) {
play();
} else {
stop();
}
}
Instance of Symbol 271 MovieClip in Symbol 274 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.d1 == 17) {
play();
} else {
stop();
}
}
Instance of Symbol 271 MovieClip in Symbol 274 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.d1 == 9) {
play();
} else {
stop();
}
}
Instance of Symbol 271 MovieClip in Symbol 274 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.d1 == 10) {
play();
} else {
stop();
}
}
Instance of Symbol 271 MovieClip in Symbol 274 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.d1 == 11) {
play();
} else {
stop();
}
}
Instance of Symbol 271 MovieClip in Symbol 274 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.d1 == 12) {
play();
} else {
stop();
}
}
Instance of Symbol 271 MovieClip in Symbol 274 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.d1 == 14) {
play();
} else {
stop();
}
}
Instance of Symbol 271 MovieClip in Symbol 274 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.d1 == 13) {
play();
} else {
stop();
}
}
Instance of Symbol 271 MovieClip in Symbol 274 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.d1 == 18) {
play();
} else {
stop();
}
}
Instance of Symbol 271 MovieClip in Symbol 274 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.d1 == 7) {
play();
} else {
stop();
}
}
Instance of Symbol 271 MovieClip in Symbol 274 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.d1 == 19) {
play();
} else {
stop();
}
}
Instance of Symbol 271 MovieClip in Symbol 274 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.d1 == 20) {
play();
} else {
stop();
}
}
Symbol 274 MovieClip Frame 26
stop();
Instance of Symbol 265 MovieClip in Symbol 274 MovieClip Frame 26
onClipEvent (enterFrame) {
if (Key.isDown(87)) {
_parent.play();
}
}
Symbol 274 MovieClip Frame 50
_root.menulock = 0;
_root.move = 0;
_root.move2 = 0;
Symbol 276 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 26
_root.gotoAndStop("inn1/2");
_root.health = 100;
Symbol 276 MovieClip Frame 50
_root.move = 0;
_root.move2 = 0;
_root.read = 0;
Symbol 277 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 2
_root.menulock = 1;
_root.menulock2 = 1;
_root.move = 1;
_root.move2 = 1;
Symbol 277 MovieClip Frame 13
this.frame = 1;
Symbol 277 MovieClip Frame 25
_root.menulock = 0;
_root.menulock2 = 0;
_root.move = 0;
_root.move2 = 0;
this.frame = 0;
Symbol 295 Button
on (release) {
play();
}
Symbol 297 Button
on (release) {
stop();
}
Symbol 308 Button
on (release) {
prevFrame();
}
Symbol 309 MovieClip Frame 1
stop();
Instance of Symbol 300 MovieClip in Symbol 309 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
dragging = true;
}
}
onClipEvent (enterFrame) {
if (dragging && (_parent.hitRange.hitTest(_root._xmouse, _root._ymouse, false))) {
_x = (_parent._xmouse - 10);
_root.all.setVolume((_x + 62) / 0.55);
}
}
onClipEvent (mouseUp) {
dragging = false;
}
onClipEvent (load) {
dragging = false;
_root.all = new Sound();
}
Symbol 319 MovieClip Frame 1
stop();
_root.bardoor.gotoAndStop(1);
Instance of Symbol 317 MovieClip in Symbol 319 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit.hit) == true) {
_parent.gotoAndStop(2);
}
}
Symbol 319 MovieClip Frame 2
stop();
_root.bardoor.play();
Symbol 322 MovieClip Frame 1
stop();
Instance of Symbol 50 MovieClip in Symbol 322 MovieClip Frame 1
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
Instance of Symbol 56 MovieClip in Symbol 322 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Symbol 322 MovieClip Frame 16
stop();
Symbol 336 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 2
if (_parent.bound == 1) {
_parent._y = _parent._y + 25;
}
if (_parent.bound == 2) {
_parent._y = _parent._y - 25;
}
if (_parent.bound == 3) {
_parent._x = _parent._x - 25;
}
if (_parent.bound == 4) {
_parent._x = _parent._x + 25;
}
Symbol 336 MovieClip Frame 3
if (_parent.bound == 1) {
_parent._y = _parent._y + 15;
}
if (_parent.bound == 2) {
_parent._y = _parent._y - 15;
}
if (_parent.bound == 3) {
_parent._x = _parent._x - 15;
}
if (_parent.bound == 4) {
_parent._x = _parent._x + 15;
}
Symbol 336 MovieClip Frame 4
if (_parent.bound == 1) {
_parent._y = _parent._y + 5;
}
if (_parent.bound == 2) {
_parent._y = _parent._y - 5;
}
if (_parent.bound == 3) {
_parent._x = _parent._x - 5;
}
if (_parent.bound == 4) {
_parent._x = _parent._x + 5;
}
Symbol 336 MovieClip Frame 5
_parent.bound = 0;
Symbol 336 MovieClip Frame 8
_parent.hp = _parent.hp - 1;
Symbol 353 MovieClip Frame 1
stop();
Instance of Symbol 336 MovieClip "up" in Symbol 353 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._x > (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x - (3 + (/:zombiemotion * (_parent._xscale / 50)));
}
if ((_parent._x < (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x + (3 + (/:zombiemotion * (_parent._xscale / 50)));
}
if ((_parent._y > (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y - (2 + (/:zombiemotion * (_parent._yscale / 50)));
}
if ((_parent._y < (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y + (2 + (/:zombiemotion * (_parent._yscale / 50)));
}
}
onClipEvent (enterFrame) {
x = _root.hero._x - _parent._x;
y = _root.hero._y - _parent._y;
hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2));
cos = x / hyp;
rad = Math.acos(cos);
deg = Math.floor(180 / (Math.PI / rad));
if (y < 0) {
deg = -deg;
} else if ((Math.floor(Y) == 0) && (x < 0)) {
deg = 180;
}
_parent._rotation = deg;
}
Instance of Symbol 337 MovieClip in Symbol 353 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_parent.bound = 1;
_parent.up.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_parent.bound = 2;
_parent.up.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_parent.bound = 3;
_parent.up.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_parent.up.play();
_parent.bound = 4;
}
}
Instance of Symbol 338 MovieClip in Symbol 353 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.health = _root.health - 5;
_root.hero.down.gotoAndPlay(12);
_root.hero.up.gotoAndPlay(11);
_root.hero.right.gotoAndPlay(11);
_root.hero.left.gotoAndPlay(11);
}
}
Symbol 353 MovieClip Frame 2
this._rotation = 360;
play();
Symbol 353 MovieClip Frame 23
stop();
Instance of Symbol 357 MovieClip in Symbol 358 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.hero.gotoAndPlay(6);
_root.hero._y = _parent._y;
_root.hero._x = _parent._x;
}
}
Instance of Symbol 357 MovieClip in Symbol 358 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.blok1.blokhit) == true) {
_root.blok1.play();
_root.blok1._y = _parent._y;
_root.blok1._x = _parent._x;
}
}
Symbol 363 MovieClip Frame 1
stop();
Symbol 363 MovieClip Frame 2
if (_parent.bound == 1) {
_parent._y = _parent._y + 25;
}
if (_parent.bound == 2) {
_parent._y = _parent._y - 25;
}
if (_parent.bound == 3) {
_parent._x = _parent._x - 25;
}
if (_parent.bound == 4) {
_parent._x = _parent._x + 25;
}
Symbol 363 MovieClip Frame 3
if (_parent.bound == 1) {
_parent._y = _parent._y + 15;
}
if (_parent.bound == 2) {
_parent._y = _parent._y - 15;
}
if (_parent.bound == 3) {
_parent._x = _parent._x - 15;
}
if (_parent.bound == 4) {
_parent._x = _parent._x + 15;
}
Symbol 363 MovieClip Frame 4
if (_parent.bound == 1) {
_parent._y = _parent._y + 5;
}
if (_parent.bound == 2) {
_parent._y = _parent._y - 5;
}
if (_parent.bound == 3) {
_parent._x = _parent._x - 5;
}
if (_parent.bound == 4) {
_parent._x = _parent._x + 5;
}
Symbol 363 MovieClip Frame 5
_parent.bound = 0;
Symbol 363 MovieClip Frame 8
_parent.hp = _parent.hp - 1;
Symbol 370 MovieClip Frame 1
stop();
Instance of Symbol 363 MovieClip "up" in Symbol 370 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._x > (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x - (3 + (/:zombiemotion * (_parent._xscale / 50)));
}
if ((_parent._x < (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x + (3 + (/:zombiemotion * (_parent._xscale / 50)));
}
if ((_parent._y > (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y - (2 + (/:zombiemotion * (_parent._yscale / 50)));
}
if ((_parent._y < (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y + (2 + (/:zombiemotion * (_parent._yscale / 50)));
}
}
Instance of Symbol 364 MovieClip in Symbol 370 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_parent.bound = 1;
_parent.up.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_parent.bound = 2;
_parent.up.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_parent.bound = 3;
_parent.up.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_parent.up.play();
_parent.bound = 4;
}
}
Instance of Symbol 365 MovieClip in Symbol 370 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.health = _root.health - 5;
_root.hero.down.gotoAndPlay(12);
_root.hero.up.gotoAndPlay(11);
_root.hero.right.gotoAndPlay(11);
_root.hero.left.gotoAndPlay(11);
}
}
Symbol 370 MovieClip Frame 2
play();
Symbol 370 MovieClip Frame 23
stop();
Instance of Symbol 357 MovieClip in Symbol 374 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.hero.gotoAndPlay(6);
_root.hero._y = _parent._y;
_root.hero._x = _parent._x;
}
}
Instance of Symbol 357 MovieClip in Symbol 374 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.blok1.blokhit) == true) {
_root.blok1.play();
_root.blok1._y = _parent._y;
_root.blok1._x = _parent._x;
}
}
Instance of Symbol 357 MovieClip in Symbol 376 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.hero.gotoAndPlay(6);
_root.hero._y = _parent._y;
_root.hero._x = _parent._x;
}
}
Instance of Symbol 357 MovieClip in Symbol 376 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.blok1.blokhit) == true) {
_root.blok1.play();
_root.blok1._y = _parent._y;
_root.blok1._x = _parent._x;
}
}
Instance of Symbol 357 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.hero.gotoAndPlay(6);
_root.hero._y = _parent._y;
_root.hero._x = _parent._x;
}
}
Instance of Symbol 357 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.blok1.blokhit) == true) {
_root.blok1.play();
_root.blok1._y = _parent._y;
_root.blok1._x = _parent._x;
}
}
Instance of Symbol 357 MovieClip in Symbol 380 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.hero.gotoAndPlay(6);
_root.hero._y = _parent._y;
_root.hero._x = _parent._x;
}
}
Instance of Symbol 357 MovieClip in Symbol 380 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.blok1.blokhit) == true) {
_root.blok1.play();
_root.blok1._y = _parent._y;
_root.blok1._x = _parent._x;
}
}
Instance of Symbol 357 MovieClip in Symbol 382 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.hero.gotoAndPlay(6);
_root.hero._y = _parent._y;
_root.hero._x = _parent._x;
}
}
Instance of Symbol 357 MovieClip in Symbol 382 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.hero.gotoAndPlay(6);
_root.hero._y = _parent._y;
_root.hero._x = _parent._x;
}
}
Instance of Symbol 357 MovieClip in Symbol 382 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.blok1.blokhit) == true) {
_root.blok1.play();
_root.blok1._y = _parent._y;
_root.blok1._x = _parent._x;
}
}
Instance of Symbol 357 MovieClip in Symbol 382 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.blok1.blokhit) == true) {
_root.blok1.play();
_root.blok1._y = _parent._y;
_root.blok1._x = _parent._x;
}
}
Instance of Symbol 387 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.hero._x = _root.hero._x - 2;
}
}
Instance of Symbol 387 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.blok1.blokhit) == true) {
_root.blok1._x = _root.blok1._x - 2;
}
}
Symbol 392 MovieClip Frame 1
stop();
Instance of Symbol 390 MovieClip in Symbol 392 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.k1 = 1;
_parent.play();
_root.keynumber = _root.keynumber + 1;
}
}
Symbol 392 MovieClip Frame 3
stop();
Symbol 400 MovieClip Frame 1
stop();
Instance of Symbol 398 MovieClip in Symbol 400 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((hitTest(_root.hero.wallhit) == true) && (Key.isDown(83))) {
_parent.play();
}
}
Symbol 400 MovieClip Frame 15
stop();
_root.bardoor.play();
Instance of Symbol 402 MovieClip in Symbol 403 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.health = _root.health - 5;
_root.hero.down.gotoAndPlay(12);
_root.hero.up.gotoAndPlay(11);
_root.hero.right.gotoAndPlay(11);
_root.hero.left.gotoAndPlay(11);
}
}
Instance of Symbol 402 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.health = _root.health - 5;
_root.hero.down.gotoAndPlay(12);
_root.hero.up.gotoAndPlay(11);
_root.hero.right.gotoAndPlay(11);
_root.hero.left.gotoAndPlay(11);
}
}
Symbol 422 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 2
_parent._y = _parent._y - 25;
Symbol 422 MovieClip Frame 3
_parent._y = _parent._y - 15;
Symbol 422 MovieClip Frame 4
_parent._y = _parent._y - 5;
Symbol 422 MovieClip Frame 8
_parent.hp = _parent.hp - 1;
Symbol 427 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 2
_parent._y = _parent._y + 25;
Symbol 427 MovieClip Frame 3
_parent._y = _parent._y + 15;
Symbol 427 MovieClip Frame 4
_parent._y = _parent._y + 5;
Symbol 427 MovieClip Frame 8
_parent.hp = _parent.hp - 1;
Symbol 429 MovieClip Frame 1
stop();
Symbol 429 MovieClip Frame 2
_parent._x = _parent._x - 25;
Symbol 429 MovieClip Frame 3
_parent._x = _parent._x - 15;
Symbol 429 MovieClip Frame 4
_parent._x = _parent._x - 5;
Symbol 429 MovieClip Frame 8
_parent.hp = _parent.hp - 1;
Symbol 431 MovieClip Frame 1
stop();
Symbol 431 MovieClip Frame 2
_parent._x = _parent._x + 25;
Symbol 431 MovieClip Frame 3
_parent._x = _parent._x + 15;
Symbol 431 MovieClip Frame 4
_parent._x = _parent._x + 5;
Symbol 431 MovieClip Frame 8
_parent.hp = _parent.hp - 1;
Symbol 437 MovieClip Frame 1
stop();
Instance of Symbol 422 MovieClip "down" in Symbol 437 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._x > (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x - (2 + /:zombiemotion);
}
if ((_parent._x < (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x + (2 + /:zombiemotion);
}
if ((_parent._y > (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y - (2 + /:zombiemotion);
}
if ((_parent._y < (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y + (2 + /:zombiemotion);
}
}
Instance of Symbol 423 MovieClip in Symbol 437 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit)) {
_parent.gotoAndStop(2);
}
}
Instance of Symbol 423 MovieClip in Symbol 437 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit)) {
_parent.gotoAndStop(3);
}
}
Instance of Symbol 423 MovieClip in Symbol 437 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit)) {
_parent.gotoAndStop(1);
}
}
Instance of Symbol 423 MovieClip in Symbol 437 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit)) {
_parent.gotoAndStop(4);
}
}
Instance of Symbol 424 MovieClip in Symbol 437 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_parent.down.play();
_parent.up.play();
_parent.right.play();
_parent.left.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_parent.up.play();
_parent.down.play();
_parent.right.play();
_parent.left.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_parent.left.play();
_parent.down.play();
_parent.up.play();
_parent.right.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_parent.right.play();
_parent.down.play();
_parent.up.play();
_parent.left.play();
}
}
Instance of Symbol 425 MovieClip in Symbol 437 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.health = _root.health - 5;
_root.hero.down.gotoAndPlay(12);
_root.hero.up.gotoAndPlay(11);
_root.hero.right.gotoAndPlay(11);
_root.hero.left.gotoAndPlay(11);
}
}
Symbol 437 MovieClip Frame 2
stop();
Instance of Symbol 427 MovieClip "up" in Symbol 437 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((_parent._x > (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x - (2 + /:zombiemotion);
}
if ((_parent._x < (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x + (2 + /:zombiemotion);
}
if ((_parent._y > (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y - (2 + /:zombiemotion);
}
if ((_parent._y < (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y + (2 + /:zombiemotion);
}
}
Symbol 437 MovieClip Frame 3
stop();
Instance of Symbol 429 MovieClip "right" in Symbol 437 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((_parent._x > (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x - (2 + /:zombiemotion);
}
if ((_parent._x < (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x + (2 + /:zombiemotion);
}
if ((_parent._y > (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y - (2 + /:zombiemotion);
}
if ((_parent._y < (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y + (2 + /:zombiemotion);
}
}
Symbol 437 MovieClip Frame 4
stop();
Instance of Symbol 431 MovieClip "left" in Symbol 437 MovieClip Frame 4
onClipEvent (enterFrame) {
if ((_parent._x > (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x - (2 + /:zombiemotion);
}
if ((_parent._x < (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x + (2 + /:zombiemotion);
}
if ((_parent._y > (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y - (2 + /:zombiemotion);
}
if ((_parent._y < (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y + (2 + /:zombiemotion);
}
}
Symbol 437 MovieClip Frame 5
play();
Symbol 437 MovieClip Frame 27
stop();
Instance of Symbol 441 MovieClip in Symbol 443 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.climb == 1) {
_root.hero.gotoAndStop(5);
}
}
Instance of Symbol 442 MovieClip in Symbol 443 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.climb = 1;
} else {
_root.climb = 0;
}
}
Symbol 445 MovieClip Frame 1
stop();
Instance of Symbol 390 MovieClip in Symbol 445 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit) == true) {
_root.k2 = 1;
_parent.play();
_root.keynumber = _root.keynumber + 1;
}
}
Symbol 445 MovieClip Frame 3
stop();
Instance of Symbol 357 MovieClip in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.hero.gotoAndPlay(6);
_root.hero._y = _parent._y;
_root.hero._x = _parent._x;
}
}
Instance of Symbol 357 MovieClip in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.blok1.blokhit) == true) {
_root.blok1.play();
_root.blok1._y = _parent._y;
_root.blok1._x = _parent._x;
}
}
Symbol 452 MovieClip Frame 1
stop();
_root.bardoor.gotoAndStop(1);
Instance of Symbol 317 MovieClip in Symbol 452 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.hero.wallhit.hit) == true) {
_root.blokswitch.gotoAndStop(2);
} else {
_root.blokswitch.gotoAndStop(1);
}
if (hitTest(_root.blok1.blokhit) == true) {
_root.blokswitch.gotoAndStop(3);
}
}
Symbol 452 MovieClip Frame 2
stop();
_root.bardoor.play();
Symbol 452 MovieClip Frame 3
stop();
_root.bardoor.play();
Instance of Symbol 317 MovieClip in Symbol 452 MovieClip Frame 3
onClipEvent (enterFrame) {
if (hitTest(_root.blok1.blok1hit) == false) {
_root.blokswitch.gotoAndStop(1);
}
}
Symbol 454 MovieClip Frame 1
stop();
Symbol 459 MovieClip Frame 1
stop();
Instance of Symbol 456 MovieClip "blok1hit" in Symbol 459 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.speed = 3;
_root.blok1schuif = 1;
_root.blok1._y = _root.blok1._y + 3;
_root.blok1.schuifgeluid.play();
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.speed = 3;
_root.blok1schuif = 2;
_root.blok1._y = _root.blok1._y - 3;
_root.blok1.schuifgeluid.play();
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.speed = 3;
_root.blok1schuif = 3;
_root.blok1._x = _root.blok1._x + 3;
_root.blok1.schuifgeluid.play();
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.speed = 3;
_root.blok1schuif = 4;
_root.blok1._x = _root.blok1._x - 3;
_root.blok1.schuifgeluid.play();
}
}
Instance of Symbol 56 MovieClip in Symbol 459 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Instance of Symbol 50 MovieClip in Symbol 459 MovieClip Frame 1
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
Symbol 459 MovieClip Frame 2
play();
Symbol 459 MovieClip Frame 23
stop();
Instance of Symbol 357 MovieClip in Symbol 463 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.hero.gotoAndPlay(6);
_root.hero._y = _parent._y;
_root.hero._x = _parent._x;
}
}
Instance of Symbol 357 MovieClip in Symbol 463 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.hero.gotoAndPlay(6);
_root.hero._y = _parent._y;
_root.hero._x = _parent._x;
}
}
Instance of Symbol 387 MovieClip in Symbol 464 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.hero._x = _root.hero._x + 3;
}
}
Instance of Symbol 387 MovieClip in Symbol 464 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.blok1.blokhit) == true) {
_root.blok1._x = _root.blok1._x + 2;
}
}
Instance of Symbol 387 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.hero._y = _root.hero._y - 2;
}
}
Instance of Symbol 387 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.blok1.blokhit) == true) {
_root.blok1._y = _root.blok1._y - 2;
}
}
Instance of Symbol 50 MovieClip in Symbol 469 MovieClip Frame 1
onClipEvent (load) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
Instance of Symbol 56 MovieClip in Symbol 469 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_root.hero.sparks.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_root.hero.sparks.play();
}
}
Symbol 478 MovieClip Frame 1
stop();
Symbol 478 MovieClip Frame 2
if (_parent.bound == 1) {
_parent._y = _parent._y + 25;
}
if (_parent.bound == 2) {
_parent._y = _parent._y - 25;
}
if (_parent.bound == 3) {
_parent._x = _parent._x - 25;
}
if (_parent.bound == 4) {
_parent._x = _parent._x + 25;
}
Symbol 478 MovieClip Frame 3
if (_parent.bound == 1) {
_parent._y = _parent._y + 15;
}
if (_parent.bound == 2) {
_parent._y = _parent._y - 15;
}
if (_parent.bound == 3) {
_parent._x = _parent._x - 15;
}
if (_parent.bound == 4) {
_parent._x = _parent._x + 15;
}
Symbol 478 MovieClip Frame 4
if (_parent.bound == 1) {
_parent._y = _parent._y + 5;
}
if (_parent.bound == 2) {
_parent._y = _parent._y - 5;
}
if (_parent.bound == 3) {
_parent._x = _parent._x - 5;
}
if (_parent.bound == 4) {
_parent._x = _parent._x + 5;
}
Symbol 478 MovieClip Frame 5
_parent.bound = 0;
Symbol 478 MovieClip Frame 8
_parent.hp = _parent.hp - 1;
Symbol 484 MovieClip Frame 1
stop();
Instance of Symbol 478 MovieClip "up" in Symbol 484 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._x > (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x - (3 + (/:zombiemotion * (_parent._xscale / 50)));
_parent._xscale = 100;
}
if ((_parent._x < (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x + (3 + (/:zombiemotion * (_parent._xscale / 50)));
_parent._xscale = -100;
}
if ((_parent._y > (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y - (2 + (/:zombiemotion * (_parent._yscale / 50)));
}
if ((_parent._y < (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y + (2 + (/:zombiemotion * (_parent._yscale / 50)));
}
}
Instance of Symbol 479 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_parent.bound = 1;
_parent.up.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_parent.bound = 2;
_parent.up.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_parent.bound = 3;
_parent.up.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_parent.up.play();
_parent.bound = 4;
}
}
Instance of Symbol 480 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.health = _root.health - 5;
_root.hero.down.gotoAndPlay(12);
_root.hero.up.gotoAndPlay(11);
_root.hero.right.gotoAndPlay(11);
_root.hero.left.gotoAndPlay(11);
}
}
Symbol 484 MovieClip Frame 2
play();
Symbol 484 MovieClip Frame 8
removeMovieClip(_parent);
Symbol 484 MovieClip Frame 24
stop();
Symbol 530 MovieClip Frame 1
stop();
Instance of Symbol 526 MovieClip in Symbol 530 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (Key.isDown(83))) && (_root.go == 2)) {
if (_parent._alpha == 100) {
_parent.chest = 1;
_root.move = 1;
_parent.play();
}
}
}
Instance of Symbol 50 MovieClip in Symbol 530 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) && (_parent._alpha == 100)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) && (_parent._alpha == 100)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) && (_parent._alpha == 100)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if (((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) && (_parent._alpha == 100)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
Symbol 530 MovieClip Frame 2
_root.chestopen2 = 1;
play();
Symbol 530 MovieClip Frame 20
_root.tekst.play();
_root.keynumber = _root.keynumber + 1;
Symbol 530 MovieClip Frame 52
stop();
Instance of Symbol 546 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.health = _root.health - 5;
_root.hero.down.gotoAndPlay(12);
_root.hero.up.gotoAndPlay(11);
_root.hero.right.gotoAndPlay(11);
_root.hero.left.gotoAndPlay(11);
}
}
Symbol 549 MovieClip Frame 1
stop();
Symbol 549 MovieClip Frame 2
_parent._y = _parent._y - 25;
Symbol 549 MovieClip Frame 3
_parent._y = _parent._y - 15;
Symbol 549 MovieClip Frame 4
_parent._y = _parent._y - 5;
Symbol 549 MovieClip Frame 8
_parent.hp = _parent.hp - 1;
Instance of Symbol 546 MovieClip in Symbol 567 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.health = _root.health - 5;
_root.hero.down.gotoAndPlay(12);
_root.hero.up.gotoAndPlay(11);
_root.hero.right.gotoAndPlay(11);
_root.hero.left.gotoAndPlay(11);
}
}
Symbol 568 MovieClip Frame 1
stop();
Symbol 568 MovieClip Frame 2
_parent._y = _parent._y + 25;
Symbol 568 MovieClip Frame 3
_parent._y = _parent._y + 15;
Symbol 568 MovieClip Frame 4
_parent._y = _parent._y + 5;
Symbol 568 MovieClip Frame 8
_parent.hp = _parent.hp - 1;
Instance of Symbol 546 MovieClip in Symbol 583 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.health = _root.health - 5;
_root.hero.down.gotoAndPlay(12);
_root.hero.up.gotoAndPlay(11);
_root.hero.right.gotoAndPlay(11);
_root.hero.left.gotoAndPlay(11);
}
}
Symbol 584 MovieClip Frame 1
stop();
Symbol 584 MovieClip Frame 2
_parent._x = _parent._x - 25;
Symbol 584 MovieClip Frame 3
_parent._x = _parent._x - 15;
Symbol 584 MovieClip Frame 4
_parent._x = _parent._x - 5;
Symbol 584 MovieClip Frame 8
_parent.hp = _parent.hp - 1;
Instance of Symbol 546 MovieClip in Symbol 585 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.health = _root.health - 5;
_root.hero.down.gotoAndPlay(12);
_root.hero.up.gotoAndPlay(11);
_root.hero.right.gotoAndPlay(11);
_root.hero.left.gotoAndPlay(11);
}
}
Symbol 586 MovieClip Frame 1
stop();
Symbol 586 MovieClip Frame 2
_parent._x = _parent._x + 25;
Symbol 586 MovieClip Frame 3
_parent._x = _parent._x + 15;
Symbol 586 MovieClip Frame 4
_parent._x = _parent._x + 5;
Symbol 586 MovieClip Frame 8
_parent.hp = _parent.hp - 1;
Symbol 601 MovieClip Frame 1
stop();
Instance of Symbol 549 MovieClip "down" in Symbol 601 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._x > (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x - (2 + /:zombiemotion);
}
if ((_parent._x < (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x + (2 + /:zombiemotion);
}
if ((_parent._y > (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y - (2 + /:zombiemotion);
}
if ((_parent._y < (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y + (2 + /:zombiemotion);
}
}
Instance of Symbol 550 MovieClip in Symbol 601 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit)) {
_parent.gotoAndStop(2);
}
}
Instance of Symbol 550 MovieClip in Symbol 601 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit)) {
_parent.gotoAndStop(3);
}
}
Instance of Symbol 550 MovieClip in Symbol 601 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit)) {
_parent.gotoAndStop(1);
}
}
Instance of Symbol 550 MovieClip in Symbol 601 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit)) {
_parent.gotoAndStop(4);
}
}
Instance of Symbol 551 MovieClip in Symbol 601 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_parent.down.play();
_parent.up.play();
_parent.right.play();
_parent.left.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_parent.up.play();
_parent.down.play();
_parent.right.play();
_parent.left.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_parent.left.play();
_parent.down.play();
_parent.up.play();
_parent.right.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_parent.right.play();
_parent.down.play();
_parent.up.play();
_parent.left.play();
}
}
Instance of Symbol 546 MovieClip in Symbol 601 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.health = _root.health - 5;
_root.hero.down.gotoAndPlay(12);
_root.hero.up.gotoAndPlay(11);
_root.hero.right.gotoAndPlay(11);
_root.hero.left.gotoAndPlay(11);
}
}
Symbol 601 MovieClip Frame 2
stop();
Instance of Symbol 568 MovieClip "up" in Symbol 601 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((_parent._x > (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x - (2 + /:zombiemotion);
}
if ((_parent._x < (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x + (2 + /:zombiemotion);
}
if ((_parent._y > (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y - (2 + /:zombiemotion);
}
if ((_parent._y < (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y + (2 + /:zombiemotion);
}
}
Symbol 601 MovieClip Frame 3
stop();
Instance of Symbol 584 MovieClip "right" in Symbol 601 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((_parent._x > (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x - (2 + /:zombiemotion);
}
if ((_parent._x < (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x + (2 + /:zombiemotion);
}
if ((_parent._y > (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y - (2 + /:zombiemotion);
}
if ((_parent._y < (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y + (2 + /:zombiemotion);
}
}
Symbol 601 MovieClip Frame 4
stop();
Instance of Symbol 586 MovieClip "left" in Symbol 601 MovieClip Frame 4
onClipEvent (enterFrame) {
if ((_parent._x > (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x - (2 + /:zombiemotion);
}
if ((_parent._x < (_root.hero._x - 10)) && (_root.move2 <= 0)) {
_parent._x = _parent._x + (2 + /:zombiemotion);
}
if ((_parent._y > (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y - (2 + /:zombiemotion);
}
if ((_parent._y < (_root.hero._y - 10)) && (_root.move2 <= 0)) {
_parent._y = _parent._y + (2 + /:zombiemotion);
}
}
Symbol 601 MovieClip Frame 5
play();
Symbol 601 MovieClip Frame 27
stop();
Instance of Symbol 357 MovieClip in Symbol 608 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.hero.gotoAndPlay(6);
_root.hero._y = _parent._y;
_root.hero._x = _parent._x;
}
}
Instance of Symbol 357 MovieClip in Symbol 608 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.blok1.blokhit) == true) {
_root.blok1.play();
_root.blok1._y = _parent._y;
_root.blok1._x = _parent._x;
}
}
Instance of Symbol 615 MovieClip in Symbol 616 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.health = _root.health - 5;
_root.hero.down.gotoAndPlay(12);
_root.hero.up.gotoAndPlay(11);
_root.hero.right.gotoAndPlay(11);
_root.hero.left.gotoAndPlay(11);
}
}
Symbol 619 MovieClip Frame 1
stop();
Instance of Symbol 526 MovieClip in Symbol 619 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((this.hitTest(_root.hero.wallhit) == true) && (Key.isDown(83))) && (_root.go == 2)) {
_parent.chest = 1;
_root.move = 1;
_parent.play();
}
}
Instance of Symbol 50 MovieClip in Symbol 619 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 1)) {
_root.hero._y = _root.hero._y - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 2)) {
_root.hero._y = _root.hero._y + _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 3)) {
_root.hero._x = _root.hero._x - _root.speed;
}
if ((this.hitTest(_root.hero.wallhit) == true) && (_root.go == 4)) {
_root.hero._x = _root.hero._x + _root.speed;
}
}
Symbol 619 MovieClip Frame 2
_root.chestopen1 = 1;
play();
Symbol 619 MovieClip Frame 20
_root.tekst.play();
Symbol 619 MovieClip Frame 52
stop();
Symbol 633 MovieClip Frame 1
stop();
Symbol 633 MovieClip Frame 2
stop();
Symbol 633 MovieClip Frame 3
stop();
Symbol 633 MovieClip Frame 4
stop();
Symbol 633 MovieClip Frame 5
stop();
Symbol 633 MovieClip Frame 6
stop();
Symbol 633 MovieClip Frame 7
stop();
Symbol 633 MovieClip Frame 8
stop();
Symbol 633 MovieClip Frame 9
stop();
Symbol 633 MovieClip Frame 10
stop();
Symbol 633 MovieClip Frame 11
stop();
Symbol 633 MovieClip Frame 12
stop();
Symbol 633 MovieClip Frame 13
stop();
Symbol 633 MovieClip Frame 14
stop();
Symbol 633 MovieClip Frame 15
stop();
Symbol 633 MovieClip Frame 16
stop();
Symbol 633 MovieClip Frame 17
stop();
Symbol 633 MovieClip Frame 18
stop();
Symbol 633 MovieClip Frame 19
stop();
Symbol 633 MovieClip Frame 20
stop();
Symbol 633 MovieClip Frame 21
stop();
Symbol 633 MovieClip Frame 22
stop();
Symbol 633 MovieClip Frame 23
stop();
Symbol 633 MovieClip Frame 24
stop();
Symbol 633 MovieClip Frame 25
stop();
Symbol 633 MovieClip Frame 26
stop();
Symbol 633 MovieClip Frame 27
stop();
Symbol 633 MovieClip Frame 28
stop();
Symbol 633 MovieClip Frame 29
stop();
Symbol 633 MovieClip Frame 30
stop();
Symbol 644 MovieClip Frame 1
stop();
Instance of Symbol 642 MovieClip in Symbol 644 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_parent.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_parent.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_parent.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_parent.play();
}
}
Instance of Symbol 643 MovieClip in Symbol 644 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.health = _root.health - 5;
_root.hero.down.gotoAndPlay(12);
_root.hero.up.gotoAndPlay(11);
_root.hero.right.gotoAndPlay(11);
_root.hero.left.gotoAndPlay(11);
}
}
Symbol 644 MovieClip Frame 8
_parent.hp1 = _parent.hp1 - 1;
Symbol 648 MovieClip Frame 1
play();
Instance of Symbol 647 MovieClip in Symbol 648 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.move2 <= 0) {
_root.boss1.loop.play();
xmove = (_root.boss1.xpos - _root.boss1._x) / 50;
_root.boss1._x = _root.boss1._x + xmove;
}
}
onClipEvent (enterFrame) {
if (_root.move2 <= 0) {
ymove = (_root.boss1.ypos - _root.boss1._y) / 70;
_root.boss1._y = _root.boss1._y + ymove;
}
}
Symbol 648 MovieClip Frame 32
function Randomizeme(minimum, maximum) {
return(minimum + Math.floor(Math.random() * ((maximum + 1) - minimum)));
}
_root.boss1.xpos = Randomizeme(100, 450);
Symbol 648 MovieClip Frame 33
function Randomizeme(minimum, maximum) {
return(minimum + Math.floor(Math.random() * ((maximum + 1) - minimum)));
}
_root.boss1.ypos = Randomizeme(200, 300);
Instance of Symbol 650 MovieClip in Symbol 651 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.health = _root.health - 5;
_root.hero.down.gotoAndPlay(12);
_root.hero.up.gotoAndPlay(11);
_root.hero.right.gotoAndPlay(11);
_root.hero.left.gotoAndPlay(11);
}
}
Symbol 654 MovieClip Frame 70
_root.boss1.atack.gotoAndPlay(1);
Instance of Symbol 643 MovieClip in Symbol 661 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.health = _root.health - 10;
_root.hero.down.gotoAndPlay(12);
_root.hero.up.gotoAndPlay(11);
_root.hero.right.gotoAndPlay(11);
_root.hero.left.gotoAndPlay(11);
}
}
Symbol 663 MovieClip Frame 105
_root.boss1.atack.gotoAndPlay(1);
Instance of Symbol 643 MovieClip in Symbol 665 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.health = _root.health - 5;
_root.hero.down.gotoAndPlay(12);
_root.hero.up.gotoAndPlay(11);
_root.hero.right.gotoAndPlay(11);
_root.hero.left.gotoAndPlay(11);
}
}
Symbol 667 MovieClip Frame 120
_root.boss1.atack.gotoAndPlay(1);
Symbol 668 MovieClip Frame 1
play();
Symbol 668 MovieClip Frame 2
function Randomizeme(minimum, maximum) {
return(minimum + Math.floor(Math.random() * ((maximum + 1) - minimum)));
}
var Frame = Randomizeme(3, 5);
this.gotoAndPlay(Frame);
Symbol 668 MovieClip Frame 3
stop();
Instance of Symbol 654 MovieClip in Symbol 668 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.move2 >= 1) {
stop();
} else {
play();
}
}
Symbol 668 MovieClip Frame 4
stop();
Instance of Symbol 663 MovieClip in Symbol 668 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.move2 >= 1) {
stop();
} else {
play();
}
}
Symbol 668 MovieClip Frame 5
stop();
Instance of Symbol 667 MovieClip in Symbol 668 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.move2 >= 1) {
stop();
} else {
play();
}
}
Symbol 675 MovieClip Frame 1
stop();
Instance of Symbol 674 MovieClip in Symbol 675 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.down.swordhit) == true) {
_parent.play();
}
if (this.hitTest(_root.hero.up.swordhit) == true) {
_parent.play();
}
if (this.hitTest(_root.hero.left.swordhit) == true) {
_parent.play();
}
if (this.hitTest(_root.hero.right.swordhit) == true) {
_parent.play();
}
}
Symbol 675 MovieClip Frame 8
_parent.hp2 = _parent.hp2 - 1;
Symbol 678 MovieClip Frame 155
_parent.play();
Symbol 696 MovieClip Frame 1
stop();
Instance of Symbol 643 MovieClip in Symbol 696 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.health = _root.health - 5;
_root.hero.down.gotoAndPlay(12);
_root.hero.up.gotoAndPlay(11);
_root.hero.right.gotoAndPlay(11);
_root.hero.left.gotoAndPlay(11);
}
}
Instance of Symbol 643 MovieClip in Symbol 696 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit.hit) == true) {
_root.health = _root.health - 5;
_root.hero.down.gotoAndPlay(12);
_root.hero.up.gotoAndPlay(11);
_root.hero.right.gotoAndPlay(11);
_root.hero.left.gotoAndPlay(11);
}
}
Symbol 696 MovieClip Frame 2
hp1 = 20;
play();
Symbol 696 MovieClip Frame 42
stop();
Symbol 696 MovieClip Frame 70
gotoAndStop (1);
Symbol 696 MovieClip Frame 71
play();
Symbol 696 MovieClip Frame 200
_root.bosssong1.stop();
_root.bardoor.play();
_root.boss2 = 1;
stop();
Instance of Symbol 703 MovieClip in Symbol 704 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.wallhit) == true) {
_root.trans.play();
if (_root.trans.frame >= 1) {
_root.hero._x = (_root.hero._x = 276);
_root.hero._y = (_root.hero._y = 65);
_root.gotoAndStop("end");
}
}
}
Symbol 713 Button
on (release) {
_root.hero._y = _root.memy;
_root.hero._x = _root.memx;
_root.gotoAndStop(_root.saveframe);
}
Symbol 715 Button
on (release) {
_root.gotoAndStop("preloader");
}
Symbol 716 MovieClip Frame 1
play();
Symbol 716 MovieClip Frame 116
stop();