Frame 3
ifFrameLoaded (1) {
gotoAndPlay (10);
}
Frame 6
gotoAndPlay (1);
Frame 15
stop();
Frame 16
health = 999;
score = 0;
keys = 0;
potions = 0;
stop();
Instance of Symbol 68 MovieClip "bound4" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 70 MovieClip "bound1" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 72 MovieClip "bound2" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 74 MovieClip "bound3" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall1" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 77 MovieClip "door2" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 76 MovieClip "wall2" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 84 MovieClip in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
i = 1;
while (i < 200) {
removeMovieClip(_root["enemy" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyb" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyc" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyd" + i]);
i = i + 1;
}
tellTarget (_root) {
gotoAndStop (17);
};
}
}
Instance of Symbol 96 MovieClip "ghosthouse1" in Frame 16
onClipEvent (load) {
with (_root.enemy) {
gotoAndPlay("stopper");
}
}
Frame 17
stop();
Instance of Symbol 77 MovieClip "door4" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 76 MovieClip "wall4" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 77 MovieClip "door1" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 68 MovieClip "bound4" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 70 MovieClip "bound1" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 72 MovieClip "bound2" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 74 MovieClip "bound3" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall1" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 77 MovieClip "door2" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 76 MovieClip "wall2" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall3" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall7" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 168 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
i = 1;
while (i < 200) {
removeMovieClip(_root["enemy" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyb" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyc" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyd" + i]);
i = i + 1;
}
tellTarget (_root) {
gotoAndStop (18);
};
}
}
Instance of Symbol 170 MovieClip "ghosthouse2" in Frame 17
onClipEvent (load) {
with (_root.enemyb) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 172 MovieClip "ghosthouse3" in Frame 17
onClipEvent (load) {
with (_root.enemyc) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 174 MovieClip in Frame 17
onClipEvent (load) {
with (_root.enemyd) {
gotoAndPlay("stopper");
}
}
Frame 18
stop();
Instance of Symbol 77 MovieClip "door4" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 77 MovieClip "door1" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 68 MovieClip "bound4" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 70 MovieClip "bound1" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 72 MovieClip "bound2" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 74 MovieClip "bound3" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall1" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 77 MovieClip "door2" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 76 MovieClip "wall2" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall6" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall8" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 182 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
i = 1;
while (i < 200) {
removeMovieClip(_root["enemy" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyb" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyc" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyd" + i]);
i = i + 1;
}
tellTarget (_root) {
gotoAndStop (19);
};
}
}
Instance of Symbol 183 MovieClip "ghosthouse1" in Frame 18
onClipEvent (load) {
with (_root.enemy) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 184 MovieClip "ghosthouse2" in Frame 18
onClipEvent (load) {
with (_root.enemyb) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 185 MovieClip "ghosthouse3" in Frame 18
onClipEvent (load) {
with (_root.enemyc) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 186 MovieClip in Frame 18
onClipEvent (load) {
with (_root.enemyd) {
gotoAndPlay("stopper");
}
}
Frame 19
stop();
Instance of Symbol 76 MovieClip "wall5" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 77 MovieClip "door2" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 76 MovieClip "wall7" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall4" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 77 MovieClip "door4" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 68 MovieClip "bound4" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 70 MovieClip "bound1" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 72 MovieClip "bound2" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 74 MovieClip "bound3" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall1" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 77 MovieClip "door3" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 76 MovieClip "wall2" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall8" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall3" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 193 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
i = 1;
while (i < 200) {
removeMovieClip(_root["enemy" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyb" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyc" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyd" + i]);
i = i + 1;
}
tellTarget (_root) {
gotoAndStop (20);
};
}
}
Instance of Symbol 194 MovieClip "ghosthouse1" in Frame 19
onClipEvent (load) {
with (_root.enemy) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 195 MovieClip "ghosthouse2" in Frame 19
onClipEvent (load) {
with (_root.enemyb) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 196 MovieClip "ghosthouse3" in Frame 19
onClipEvent (load) {
with (_root.enemyc) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 197 MovieClip in Frame 19
onClipEvent (load) {
with (_root.enemyd) {
gotoAndPlay("stopper");
}
}
Frame 20
stop();
Instance of Symbol 77 MovieClip "door3" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 77 MovieClip "door1" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 68 MovieClip "bound4" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 70 MovieClip "bound1" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 72 MovieClip "bound2" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 74 MovieClip "bound3" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall1" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall3" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall4" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall5" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall7" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall8" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall6" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall2" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 204 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
i = 1;
while (i < 200) {
removeMovieClip(_root["enemy" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyb" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyc" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyd" + i]);
i = i + 1;
}
tellTarget (_root) {
gotoAndStop (21);
};
}
}
Instance of Symbol 205 MovieClip "ghosthouse1" in Frame 20
onClipEvent (load) {
with (_root.enemy) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 206 MovieClip "ghosthouse2" in Frame 20
onClipEvent (load) {
with (_root.enemyb) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 207 MovieClip "ghosthouse3" in Frame 20
onClipEvent (load) {
with (_root.enemyc) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 208 MovieClip in Frame 20
onClipEvent (load) {
with (_root.enemyd) {
gotoAndPlay("stopper");
}
}
Frame 21
stop();
Instance of Symbol 76 MovieClip "wall5" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 77 MovieClip "door3" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 77 MovieClip "door4" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 77 MovieClip "door1" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 76 MovieClip "wall2" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 68 MovieClip "bound4" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 70 MovieClip "bound1" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 72 MovieClip "bound2" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 74 MovieClip "bound3" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall1" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall3" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall4" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 215 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
i = 1;
while (i < 200) {
removeMovieClip(_root["enemy" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyb" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyc" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyd" + i]);
i = i + 1;
}
tellTarget (_root) {
gotoAndStop (22);
};
}
}
Instance of Symbol 216 MovieClip "ghosthouse1" in Frame 21
onClipEvent (load) {
with (_root.enemy) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 217 MovieClip "ghosthouse2" in Frame 21
onClipEvent (load) {
with (_root.enemyb) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 218 MovieClip "ghosthouse3" in Frame 21
onClipEvent (load) {
with (_root.enemyc) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 219 MovieClip in Frame 21
onClipEvent (load) {
with (_root.enemyd) {
gotoAndPlay("stopper");
}
}
Frame 22
stop();
Instance of Symbol 77 MovieClip "door2" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 77 MovieClip "door1" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 76 MovieClip "wall7" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall6" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 77 MovieClip "door3" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 77 MovieClip "door4" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 76 MovieClip "wall3" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall2" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall1" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 68 MovieClip "bound4" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 70 MovieClip "bound1" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 72 MovieClip "bound2" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 74 MovieClip "bound3" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall4" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall5" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 226 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
i = 1;
while (i < 200) {
removeMovieClip(_root["enemy" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyb" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyc" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyd" + i]);
i = i + 1;
}
tellTarget (_root) {
gotoAndStop (23);
};
}
}
Instance of Symbol 227 MovieClip "ghosthouse1" in Frame 22
onClipEvent (load) {
with (_root.enemy) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 228 MovieClip "ghosthouse2" in Frame 22
onClipEvent (load) {
with (_root.enemyb) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 229 MovieClip "ghosthouse3" in Frame 22
onClipEvent (load) {
with (_root.enemyc) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 230 MovieClip in Frame 22
onClipEvent (load) {
with (_root.enemyd) {
gotoAndPlay("stopper");
}
}
Frame 23
stop();
Instance of Symbol 77 MovieClip "door4" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 76 MovieClip "wall4" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall3" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall8" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 68 MovieClip "bound4" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 70 MovieClip "bound1" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 72 MovieClip "bound2" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 74 MovieClip "bound3" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall1" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 77 MovieClip "door2" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 77 MovieClip "door3" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (0 < _root.keys) {
_root.keys = _root.keys - 1;
setProperty(this, _x , -40);
setProperty(this, _y , -40);
setProperty(this, _visible , 0);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
}
}
Instance of Symbol 76 MovieClip "wall2" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 MovieClip "wall5" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 237 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
i = 1;
while (i < 200) {
removeMovieClip(_root["enemy" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyb" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyc" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyd" + i]);
i = i + 1;
}
tellTarget (_root) {
gotoAndStop (24);
};
}
}
Instance of Symbol 238 MovieClip "ghosthouse1" in Frame 23
onClipEvent (load) {
with (_root.enemy) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 239 MovieClip "ghosthouse2" in Frame 23
onClipEvent (load) {
with (_root.enemyb) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 240 MovieClip "ghosthouse3" in Frame 23
onClipEvent (load) {
with (_root.enemyc) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 241 MovieClip in Frame 23
onClipEvent (load) {
with (_root.enemyd) {
gotoAndPlay("stopper");
}
}
Frame 32
stop();
Frame 43
stop();
Symbol 26 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 1
if (this.hitTest(_root.player)) {
_root.score = _root.score + 100;
setProperty(this, _x , -50);
setProperty(this, _y , -50);
}
Symbol 28 MovieClip Frame 2
gotoAndPlay (1);
Symbol 31 MovieClip Frame 1
if (this.hitTest(_root.player)) {
_root.health = _root.health + 30;
setProperty(this, _x , -50);
setProperty(this, _y , -50);
}
Symbol 31 MovieClip Frame 2
gotoAndPlay (1);
Symbol 45 Button
on (release) {
getURL ("mailto:erik@allebest.com");
}
Symbol 54 Button
on (release) {
gotoAndPlay (16);
}
Symbol 78 MovieClip Frame 1
if (this.hitTest(_root.player)) {
_root.score = _root.score + 100;
setProperty(this, _x , -50);
setProperty(this, _y , -50);
}
Symbol 78 MovieClip Frame 2
gotoAndPlay (1);
Symbol 79 MovieClip Frame 1
if (this.hitTest(_root.player)) {
_root.health = _root.health + 30;
setProperty(this, _x , -50);
setProperty(this, _y , -50);
}
Symbol 79 MovieClip Frame 2
gotoAndPlay (1);
Symbol 81 MovieClip Frame 1
if (this.hitTest(_root.player)) {
_root.keys = _root.keys + 1;
setProperty(this, _x , -50);
setProperty(this, _y , -50);
}
Symbol 81 MovieClip Frame 2
gotoAndPlay (1);
Symbol 83 MovieClip Frame 1
if (this.hitTest(_root.player)) {
_root.potions = _root.potions + 1;
setProperty(this, _x , -50);
setProperty(this, _y , -50);
}
Symbol 83 MovieClip Frame 2
gotoAndPlay (1);
Symbol 94 MovieClip Frame 1
newy = 30 + random(450);
newx = 30 + random(540);
playerx = _root.player._x;
playery = _root.player._y;
diffx = Math.abs(playerx - this._x);
diffx = Math.abs(playery - this._y);
if (this.hitTest(_root.wall1)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall2)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall3)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall4)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall5)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall6)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall7)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall8)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.door1)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.door2)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.door3)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.door4)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.player)) {
_root.health = _root.health - 10;
removeMovieClip(this);
} else if (this.hitTest(_root.shot1.shoot)) {
_root.score = _root.score + 10;
removeMovieClip(_root.shot1);
removeMovieClip(this);
} else if ((100 >= diffx) && (100 >= diffy)) {
gotoAndPlay (11);
} else {
gotoAndPlay (6);
}
Symbol 94 MovieClip Frame 6
distx = int(getProperty(this, _x) - newx);
disty = int(getProperty(this, _y) - newy);
if ((0 < disty) && (0 < distx)) {
if (Math.abs(distx) < Math.abs(disty / 2)) {
with (this.ghost) {
gotoAndStop("u");
}
} else if (Math.abs(disty) < Math.abs(distx / 2)) {
with (this.ghost) {
gotoAndStop("l");
}
} else {
with (this.ghost) {
gotoAndStop("ul");
}
}
}
if ((disty < 0) && (0 < distx)) {
if (Math.abs(distx) < Math.abs(disty / 2)) {
with (this.ghost) {
gotoAndStop("d");
}
} else if (Math.abs(disty) < Math.abs(distx / 2)) {
with (this.ghost) {
gotoAndStop("l");
}
} else {
with (this.ghost) {
gotoAndStop("dl");
}
}
}
if ((disty < 0) && (distx < 0)) {
if (Math.abs(distx) < Math.abs(disty / 2)) {
with (this.ghost) {
gotoAndStop("d");
}
} else if (Math.abs(disty) < Math.abs(distx / 2)) {
with (this.ghost) {
gotoAndStop("r");
}
} else {
with (this.ghost) {
gotoAndStop("dr");
}
}
}
if ((0 < disty) && (distx < 0)) {
if (Math.abs(disty) < Math.abs(distx / 2)) {
with (this.ghost) {
gotoAndStop("r");
}
} else if (Math.abs(distx) < Math.abs(disty / 2)) {
with (this.ghost) {
gotoAndStop("u");
}
} else {
with (this.ghost) {
gotoAndStop("ur");
}
}
}
z = (distx * distx) + (disty * disty);
hyp = Math.sqrt(z);
speed = 2;
distance = int(hyp / speed);
movex = distx / distance;
movey = disty / distance;
if (0 >= distance) {
gotoAndPlay (1);
} else {
setProperty(this, _x , getProperty(this, _x) - movex);
setProperty(this, _y , getProperty(this, _y) - movey);
distance = distance - 1;
}
Symbol 94 MovieClip Frame 7
playerx = _root.player._x;
playery = _root.player._y;
diffx = Math.abs(playerx - this._x);
diffx = Math.abs(playery - this._y);
if (this.hitTest(_root.wall1)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall2)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall3)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall4)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall5)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall6)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall7)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall8)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.door1)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.door2)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.door3)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.door4)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.player)) {
_root.health = _root.health - 10;
removeMovieClip(this);
} else if (this.hitTest(_root.shot1.shoot)) {
_root.score = _root.score + 10;
removeMovieClip(_root.shot1);
removeMovieClip(this);
} else if ((100 >= diffx) && (100 >= diffy)) {
gotoAndPlay (11);
} else {
gotoAndPlay (6);
}
Symbol 94 MovieClip Frame 11
newx = _root.player._x;
newy = _root.player._y;
distx = int(getProperty(this, _x) - newx);
disty = int(getProperty(this, _y) - newy);
if ((0 < disty) && (0 < distx)) {
if (Math.abs(distx) < Math.abs(disty / 2)) {
with (this.ghost) {
gotoAndStop("u");
}
} else if (Math.abs(disty) < Math.abs(distx / 2)) {
with (this.ghost) {
gotoAndStop("l");
}
} else {
with (this.ghost) {
gotoAndStop("ul");
}
}
}
if ((disty < 0) && (0 < distx)) {
if (Math.abs(distx) < Math.abs(disty / 2)) {
with (this.ghost) {
gotoAndStop("d");
}
} else if (Math.abs(disty) < Math.abs(distx / 2)) {
with (this.ghost) {
gotoAndStop("l");
}
} else {
with (this.ghost) {
gotoAndStop("dl");
}
}
}
if ((disty < 0) && (distx < 0)) {
if (Math.abs(distx) < Math.abs(disty / 2)) {
with (this.ghost) {
gotoAndStop("d");
}
} else if (Math.abs(disty) < Math.abs(distx / 2)) {
with (this.ghost) {
gotoAndStop("r");
}
} else {
with (this.ghost) {
gotoAndStop("dr");
}
}
}
if ((0 < disty) && (distx < 0)) {
if (Math.abs(disty) < Math.abs(distx / 2)) {
with (this.ghost) {
gotoAndStop("r");
}
} else if (Math.abs(distx) < Math.abs(disty / 2)) {
with (this.ghost) {
gotoAndStop("u");
}
} else {
with (this.ghost) {
gotoAndStop("ur");
}
}
}
z = (distx * distx) + (disty * disty);
hyp = Math.sqrt(z);
speed = 4;
distance = int(hyp / speed);
movex = distx / distance;
movey = disty / distance;
if (0 >= distance) {
gotoAndPlay (1);
} else {
setProperty(this, _x , getProperty(this, _x) - movex);
setProperty(this, _y , getProperty(this, _y) - movey);
distance = distance - 1;
}
Symbol 94 MovieClip Frame 12
playerx = _root.player._x;
playery = _root.player._y;
diffx = Math.abs(playerx - this._x);
diffx = Math.abs(playery - this._y);
if (this.hitTest(_root.wall1)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall2)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall3)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall4)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall5)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall6)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall7)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.wall8)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.door1)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.door2)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.door3)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.door4)) {
setProperty(this, _x , this._x + movex);
setProperty(this, _y , this._y + movey);
gotoAndPlay (1);
} else if (this.hitTest(_root.player)) {
_root.health = _root.health - 10;
removeMovieClip(this);
} else if (this.hitTest(_root.shot1.shoot)) {
_root.score = _root.score + 10;
removeMovieClip(_root.shot1);
removeMovieClip(this);
} else if ((100 >= diffx) && (100 >= diffy)) {
gotoAndPlay (11);
} else {
gotoAndPlay (6);
}
Symbol 94 MovieClip Frame 16
stop();
Symbol 95 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 1
i = 1;
Instance of Symbol 95 MovieClip "skull" in Symbol 96 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 96 MovieClip Frame 2
duplicateMovieClip (_root.enemy, "enemy" + i, i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 96 MovieClip Frame 30
gotoAndPlay (2);
Symbol 96 MovieClip Frame 31
stop();
Symbol 104 Button
on (release, keyPress "<Space>") {
duplicateMovieClip (_root.shot, "shot1", 300);
setProperty(_root.shot1, _x , _root.player._x);
setProperty(_root.shot1, _y , _root.player._y);
setProperty(_root.shot1, _rotation , -90);
}
Symbol 105 Button
on (release, keyPress "p") {
if (0 < _root.potions) {
_root.potions = _root.potions - 1;
with (_root.screenflash) {
gotoAndPlay(2);
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemy" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyb" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyc" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyd" + i]);
i = i + 1;
}
}
}
on (keyPress "`") {
_root.health = 999;
_root.keys = 9;
_root.potions = 9;
}
Symbol 113 Button
on (release, keyPress "<Space>") {
duplicateMovieClip (_root.shot, "shot1", 300);
setProperty(_root.shot1, _x , _root.player._x);
setProperty(_root.shot1, _y , _root.player._y);
setProperty(_root.shot1, _rotation , 315);
}
Symbol 121 Button
on (release, keyPress "<Space>") {
duplicateMovieClip (_root.shot, "shot1", 300);
setProperty(_root.shot1, _x , _root.player._x);
setProperty(_root.shot1, _y , _root.player._y);
setProperty(_root.shot1, _rotation , 0);
}
Symbol 124 Button
on (release, keyPress "<Space>") {
duplicateMovieClip (_root.shot, "shot1", 300);
setProperty(_root.shot1, _x , _root.player._x);
setProperty(_root.shot1, _y , _root.player._y);
setProperty(_root.shot1, _rotation , 45);
}
Symbol 127 Button
on (release, keyPress "<Space>") {
duplicateMovieClip (_root.shot, "shot1", 300);
setProperty(_root.shot1, _x , _root.player._x);
setProperty(_root.shot1, _y , _root.player._y);
setProperty(_root.shot1, _rotation , 90);
}
Symbol 135 Button
on (release, keyPress "<Space>") {
duplicateMovieClip (_root.shot, "shot1", 300);
setProperty(_root.shot1, _x , _root.player._x);
setProperty(_root.shot1, _y , _root.player._y);
setProperty(_root.shot1, _rotation , 135);
}
Symbol 143 Button
on (release, keyPress "<Space>") {
duplicateMovieClip (_root.shot, "shot1", 300);
setProperty(_root.shot1, _x , _root.player._x);
setProperty(_root.shot1, _y , _root.player._y);
setProperty(_root.shot1, _rotation , 180);
}
Symbol 146 Button
on (release, keyPress "<Space>") {
duplicateMovieClip (_root.shot, "shot1", 300);
setProperty(_root.shot1, _x , _root.player._x);
setProperty(_root.shot1, _y , _root.player._y);
setProperty(_root.shot1, _rotation , -135);
}
Symbol 148 MovieClip Frame 1
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x + 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x + 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x + 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x + 5);
}
Instance of Symbol 102 MovieClip in Symbol 148 MovieClip Frame 1
onClipEvent (enterFrame) {
playerx = _root.player._x;
playery = _root.player._y;
move = 7;
movediag = 5;
if (Key.isDown(37)) {
setProperty(_root.player, _x , _root.player._X - move);
with (_root.player.wizard) {
gotoAndPlay("l");
}
} else {
with (_root.player.wizard) {
gotoAndStop("ll");
}
}
}
Symbol 148 MovieClip Frame 2
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x + 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x + 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x + 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x + 5);
}
Symbol 148 MovieClip Frame 3
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x + 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x + 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x + 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x + 5);
}
stop();
Symbol 148 MovieClip Frame 4
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x + 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x + 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x + 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x + 5);
}
stop();
Symbol 148 MovieClip Frame 5
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
Instance of Symbol 112 MovieClip in Symbol 148 MovieClip Frame 5
onClipEvent (enterFrame) {
playerx = _root.player._x;
playery = _root.player._y;
move = 7;
movediag = 5;
if (Key.isDown(37) && (Key.isDown(38))) {
setProperty(_root.player, _x , _root.player._X - movediag);
setProperty(_root.player, _y , _root.player._y - movediag);
with (_root.player.wizard) {
gotoAndPlay("ul");
}
} else {
with (_root.player.wizard) {
gotoAndStop("ulul");
}
}
}
Symbol 148 MovieClip Frame 6
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
Symbol 148 MovieClip Frame 7
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
stop();
Symbol 148 MovieClip Frame 8
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
stop();
Symbol 148 MovieClip Frame 9
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _y , _root.player._y + 5);
}
Instance of Symbol 120 MovieClip in Symbol 148 MovieClip Frame 9
onClipEvent (enterFrame) {
playerx = _root.player._x;
playery = _root.player._y;
move = 7;
movediag = 5;
if (Key.isDown(38)) {
setProperty(_root.player, _y , _root.player._y - move);
with (_root.player.wizard) {
gotoAndPlay("u");
}
} else {
with (_root.player.wizard) {
gotoAndStop("uu");
}
}
}
Symbol 148 MovieClip Frame 10
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _y , _root.player._y + 5);
}
Symbol 148 MovieClip Frame 11
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _y , _root.player._y + 5);
}
stop();
Symbol 148 MovieClip Frame 12
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _y , _root.player._y + 5);
}
stop();
Symbol 148 MovieClip Frame 13
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
Instance of Symbol 123 MovieClip in Symbol 148 MovieClip Frame 13
onClipEvent (enterFrame) {
playerx = _root.player._x;
playery = _root.player._y;
move = 7;
movediag = 5;
if (Key.isDown(39) && (Key.isDown(38))) {
setProperty(_root.player, _x , _root.player._X + movediag);
setProperty(_root.player, _y , _root.player._y - movediag);
with (_root.player.wizard) {
gotoAndPlay("ur");
}
} else {
with (_root.player.wizard) {
gotoAndStop("urur");
}
}
}
Symbol 148 MovieClip Frame 14
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
Symbol 148 MovieClip Frame 15
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
stop();
Symbol 148 MovieClip Frame 16
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y + 5);
}
stop();
Symbol 148 MovieClip Frame 17
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x - 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x - 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x - 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x - 5);
}
Instance of Symbol 126 MovieClip in Symbol 148 MovieClip Frame 17
onClipEvent (enterFrame) {
playerx = _root.player._x;
playery = _root.player._y;
move = 7;
movediag = 5;
if (Key.isDown(39)) {
setProperty(_root.player, _x , _root.player._X + move);
with (_root.player.wizard) {
gotoAndPlay("r");
}
} else {
with (_root.player.wizard) {
gotoAndStop("rr");
}
}
}
Symbol 148 MovieClip Frame 18
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x - 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x - 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x - 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x - 5);
}
Symbol 148 MovieClip Frame 19
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x - 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x - 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x - 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x - 5);
}
stop();
Symbol 148 MovieClip Frame 20
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x - 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x - 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x - 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x - 5);
}
stop();
Symbol 148 MovieClip Frame 21
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
Instance of Symbol 134 MovieClip in Symbol 148 MovieClip Frame 21
onClipEvent (enterFrame) {
playerx = _root.player._x;
playery = _root.player._y;
move = 7;
movediag = 5;
if (Key.isDown(39) && (Key.isDown(40))) {
setProperty(_root.player, _x , _root.player._X + movediag);
setProperty(_root.player, _y , _root.player._y + movediag);
with (_root.player.wizard) {
gotoAndPlay("dr");
}
} else {
with (_root.player.wizard) {
gotoAndStop("drdr");
}
}
}
Symbol 148 MovieClip Frame 22
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
Symbol 148 MovieClip Frame 23
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
stop();
Symbol 148 MovieClip Frame 24
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x - 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
stop();
Symbol 148 MovieClip Frame 25
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _y , _root.player._y - 5);
}
Instance of Symbol 142 MovieClip in Symbol 148 MovieClip Frame 25
onClipEvent (enterFrame) {
playerx = _root.player._x;
playery = _root.player._y;
move = 7;
movediag = 5;
if (Key.isDown(40)) {
setProperty(_root.player, _y , _root.player._y + move);
with (_root.player.wizard) {
gotoAndPlay("d");
}
} else {
with (_root.player.wizard) {
gotoAndStop("dd");
}
}
}
Symbol 148 MovieClip Frame 26
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _y , _root.player._y - 5);
}
Symbol 148 MovieClip Frame 27
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _y , _root.player._y - 5);
}
stop();
Symbol 148 MovieClip Frame 28
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _y , _root.player._y - 5);
}
stop();
Symbol 148 MovieClip Frame 29
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
Instance of Symbol 145 MovieClip in Symbol 148 MovieClip Frame 29
onClipEvent (enterFrame) {
playerx = _root.player._x;
playery = _root.player._y;
move = 7;
movediag = 5;
if (Key.isDown(37) && (Key.isDown(40))) {
setProperty(_root.player, _x , _root.player._X - movediag);
setProperty(_root.player, _y , _root.player._y + movediag);
with (_root.player.wizard) {
gotoAndPlay("dl");
}
} else {
with (_root.player.wizard) {
gotoAndStop("dldl");
}
}
}
Symbol 148 MovieClip Frame 30
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
Symbol 148 MovieClip Frame 31
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
stop();
Symbol 148 MovieClip Frame 32
if (((this.hitTest(_root.bound1) || (this.hitTest(_root.bound2))) || (this.hitTest(_root.bound3))) || (this.hitTest(_root.bound4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall1) || (this.hitTest(_root.wall2))) || (this.hitTest(_root.wall3))) || (this.hitTest(_root.wall4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.wall5) || (this.hitTest(_root.wall6))) || (this.hitTest(_root.wall7))) || (this.hitTest(_root.wall8))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
if (((this.hitTest(_root.door1) || (this.hitTest(_root.door2))) || (this.hitTest(_root.door3))) || (this.hitTest(_root.door4))) {
setProperty(_root.player, _x , _root.player._x + 5);
setProperty(_root.player, _y , _root.player._y - 5);
}
stop();
Instance of Symbol 149 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(39) && (Key.isDown(40))) {
with (_root.player.wizard) {
gotoAndPlay("dr");
}
} else if (Key.isDown(39) && (Key.isDown(38))) {
with (_root.player.wizard) {
gotoAndPlay("ur");
}
} else if (Key.isDown(37) && (Key.isDown(40))) {
with (_root.player.wizard) {
gotoAndPlay("dl");
}
} else if (Key.isDown(37) && (Key.isDown(38))) {
with (_root.player.wizard) {
gotoAndPlay("ul");
}
} else if (Key.isDown(39)) {
with (_root.player.wizard) {
gotoAndPlay("r");
}
} else if (Key.isDown(38)) {
with (_root.player.wizard) {
gotoAndPlay("u");
}
} else if (Key.isDown(40)) {
with (_root.player.wizard) {
gotoAndPlay("d");
}
} else if (Key.isDown(37)) {
with (_root.player.wizard) {
gotoAndPlay("l");
}
}
}
Symbol 153 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 6
gotoAndStop (1);
Symbol 154 MovieClip Frame 1
_root.health = _root.health - 1;
if (0 >= _root.health) {
i = 1;
while (i < 200) {
removeMovieClip(_root["enemy" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyb" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyc" + i]);
i = i + 1;
}
i = 1;
while (i < 200) {
removeMovieClip(_root["enemyd" + i]);
i = i + 1;
}
tellTarget (_root) {
gotoAndPlay ("die");
};
}
Symbol 154 MovieClip Frame 15
gotoAndPlay (1);
Symbol 160 MovieClip Frame 3
stop();
Instance of Symbol 160 MovieClip "shoot" in Symbol 161 MovieClip Frame 1
onClipEvent (enterFrame) {
setProperty(this, _y , this._y - 30);
}
Symbol 169 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 1
i = 1;
Instance of Symbol 169 MovieClip "skull" in Symbol 170 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 170 MovieClip Frame 2
duplicateMovieClip (_root.enemyb, "enemyb" + i, 400 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 170 MovieClip Frame 30
gotoAndPlay (2);
Symbol 170 MovieClip Frame 31
stop();
Symbol 171 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 1
i = 1;
Instance of Symbol 171 MovieClip "skull" in Symbol 172 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 172 MovieClip Frame 2
duplicateMovieClip (_root.enemyc, "enemyc" + i, 600 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 172 MovieClip Frame 30
gotoAndPlay (2);
Symbol 172 MovieClip Frame 31
stop();
Symbol 173 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 1
i = 1;
Instance of Symbol 173 MovieClip "skull" in Symbol 174 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 174 MovieClip Frame 2
duplicateMovieClip (_root.enemyd, "enemyd" + i, 800 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 174 MovieClip Frame 30
gotoAndPlay (2);
Symbol 174 MovieClip Frame 31
stop();
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 6
gotoAndStop (1);
Symbol 183 MovieClip Frame 1
i = 1;
Instance of Symbol 95 MovieClip "skull" in Symbol 183 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 183 MovieClip Frame 2
duplicateMovieClip (_root.enemy, "enemy" + i, i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 183 MovieClip Frame 30
gotoAndPlay (2);
Symbol 183 MovieClip Frame 31
stop();
Symbol 184 MovieClip Frame 1
i = 1;
Instance of Symbol 169 MovieClip "skull" in Symbol 184 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 184 MovieClip Frame 2
duplicateMovieClip (_root.enemyb, "enemyb" + i, 400 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 184 MovieClip Frame 30
gotoAndPlay (2);
Symbol 184 MovieClip Frame 31
stop();
Symbol 185 MovieClip Frame 1
i = 1;
Instance of Symbol 171 MovieClip "skull" in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 185 MovieClip Frame 2
duplicateMovieClip (_root.enemyc, "enemyc" + i, 600 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 185 MovieClip Frame 30
gotoAndPlay (2);
Symbol 185 MovieClip Frame 31
stop();
Symbol 186 MovieClip Frame 1
i = 1;
Instance of Symbol 173 MovieClip "skull" in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 186 MovieClip Frame 2
duplicateMovieClip (_root.enemyd, "enemyd" + i, 800 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 186 MovieClip Frame 30
gotoAndPlay (2);
Symbol 186 MovieClip Frame 31
stop();
Symbol 194 MovieClip Frame 1
i = 1;
Instance of Symbol 95 MovieClip "skull" in Symbol 194 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 194 MovieClip Frame 2
duplicateMovieClip (_root.enemy, "enemy" + i, i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 194 MovieClip Frame 30
gotoAndPlay (2);
Symbol 194 MovieClip Frame 31
stop();
Symbol 195 MovieClip Frame 1
i = 1;
Instance of Symbol 169 MovieClip "skull" in Symbol 195 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 195 MovieClip Frame 2
duplicateMovieClip (_root.enemyb, "enemyb" + i, 400 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 195 MovieClip Frame 30
gotoAndPlay (2);
Symbol 195 MovieClip Frame 31
stop();
Symbol 196 MovieClip Frame 1
i = 1;
Instance of Symbol 171 MovieClip "skull" in Symbol 196 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 196 MovieClip Frame 2
duplicateMovieClip (_root.enemyc, "enemyc" + i, 600 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 196 MovieClip Frame 30
gotoAndPlay (2);
Symbol 196 MovieClip Frame 31
stop();
Symbol 197 MovieClip Frame 1
i = 1;
Instance of Symbol 173 MovieClip "skull" in Symbol 197 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 197 MovieClip Frame 2
duplicateMovieClip (_root.enemyd, "enemyd" + i, 800 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 197 MovieClip Frame 30
gotoAndPlay (2);
Symbol 197 MovieClip Frame 31
stop();
Symbol 205 MovieClip Frame 1
i = 1;
Instance of Symbol 95 MovieClip "skull" in Symbol 205 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 205 MovieClip Frame 2
duplicateMovieClip (_root.enemy, "enemy" + i, i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 205 MovieClip Frame 30
gotoAndPlay (2);
Symbol 205 MovieClip Frame 31
stop();
Symbol 206 MovieClip Frame 1
i = 1;
Instance of Symbol 169 MovieClip "skull" in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 206 MovieClip Frame 2
duplicateMovieClip (_root.enemyb, "enemyb" + i, 400 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 206 MovieClip Frame 30
gotoAndPlay (2);
Symbol 206 MovieClip Frame 31
stop();
Symbol 207 MovieClip Frame 1
i = 1;
Instance of Symbol 171 MovieClip "skull" in Symbol 207 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 207 MovieClip Frame 2
duplicateMovieClip (_root.enemyc, "enemyc" + i, 600 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 207 MovieClip Frame 30
gotoAndPlay (2);
Symbol 207 MovieClip Frame 31
stop();
Symbol 208 MovieClip Frame 1
i = 1;
Instance of Symbol 173 MovieClip "skull" in Symbol 208 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 208 MovieClip Frame 2
duplicateMovieClip (_root.enemyd, "enemyd" + i, 800 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 208 MovieClip Frame 30
gotoAndPlay (2);
Symbol 208 MovieClip Frame 31
stop();
Symbol 216 MovieClip Frame 1
i = 1;
Instance of Symbol 95 MovieClip "skull" in Symbol 216 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 216 MovieClip Frame 2
duplicateMovieClip (_root.enemy, "enemy" + i, i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 216 MovieClip Frame 30
gotoAndPlay (2);
Symbol 216 MovieClip Frame 31
stop();
Symbol 217 MovieClip Frame 1
i = 1;
Instance of Symbol 169 MovieClip "skull" in Symbol 217 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 217 MovieClip Frame 2
duplicateMovieClip (_root.enemyb, "enemyb" + i, 400 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 217 MovieClip Frame 30
gotoAndPlay (2);
Symbol 217 MovieClip Frame 31
stop();
Symbol 218 MovieClip Frame 1
i = 1;
Instance of Symbol 171 MovieClip "skull" in Symbol 218 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 218 MovieClip Frame 2
duplicateMovieClip (_root.enemyc, "enemyc" + i, 600 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 218 MovieClip Frame 30
gotoAndPlay (2);
Symbol 218 MovieClip Frame 31
stop();
Symbol 219 MovieClip Frame 1
i = 1;
Instance of Symbol 173 MovieClip "skull" in Symbol 219 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 219 MovieClip Frame 2
duplicateMovieClip (_root.enemyd, "enemyd" + i, 800 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 219 MovieClip Frame 30
gotoAndPlay (2);
Symbol 219 MovieClip Frame 31
stop();
Symbol 227 MovieClip Frame 1
i = 1;
Instance of Symbol 95 MovieClip "skull" in Symbol 227 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 227 MovieClip Frame 2
duplicateMovieClip (_root.enemy, "enemy" + i, i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 227 MovieClip Frame 30
gotoAndPlay (2);
Symbol 227 MovieClip Frame 31
stop();
Symbol 228 MovieClip Frame 1
i = 1;
Instance of Symbol 169 MovieClip "skull" in Symbol 228 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 228 MovieClip Frame 2
duplicateMovieClip (_root.enemyb, "enemyb" + i, 400 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 228 MovieClip Frame 30
gotoAndPlay (2);
Symbol 228 MovieClip Frame 31
stop();
Symbol 229 MovieClip Frame 1
i = 1;
Instance of Symbol 171 MovieClip "skull" in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 229 MovieClip Frame 2
duplicateMovieClip (_root.enemyc, "enemyc" + i, 600 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 229 MovieClip Frame 30
gotoAndPlay (2);
Symbol 229 MovieClip Frame 31
stop();
Symbol 230 MovieClip Frame 1
i = 1;
Instance of Symbol 173 MovieClip "skull" in Symbol 230 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 230 MovieClip Frame 2
duplicateMovieClip (_root.enemyd, "enemyd" + i, 800 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 230 MovieClip Frame 30
gotoAndPlay (2);
Symbol 230 MovieClip Frame 31
stop();
Symbol 238 MovieClip Frame 1
i = 1;
Instance of Symbol 95 MovieClip "skull" in Symbol 238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 238 MovieClip Frame 2
duplicateMovieClip (_root.enemy, "enemy" + i, i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 238 MovieClip Frame 30
gotoAndPlay (2);
Symbol 238 MovieClip Frame 31
stop();
Symbol 239 MovieClip Frame 1
i = 1;
Instance of Symbol 169 MovieClip "skull" in Symbol 239 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 239 MovieClip Frame 2
duplicateMovieClip (_root.enemyb, "enemyb" + i, 400 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 239 MovieClip Frame 30
gotoAndPlay (2);
Symbol 239 MovieClip Frame 31
stop();
Symbol 240 MovieClip Frame 1
i = 1;
Instance of Symbol 171 MovieClip "skull" in Symbol 240 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 240 MovieClip Frame 2
duplicateMovieClip (_root.enemyc, "enemyc" + i, 600 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 240 MovieClip Frame 30
gotoAndPlay (2);
Symbol 240 MovieClip Frame 31
stop();
Symbol 241 MovieClip Frame 1
i = 1;
Instance of Symbol 173 MovieClip "skull" in Symbol 241 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 241 MovieClip Frame 2
duplicateMovieClip (_root.enemyd, "enemyd" + i, 800 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 241 MovieClip Frame 30
gotoAndPlay (2);
Symbol 241 MovieClip Frame 31
stop();
Symbol 248 Button
on (release) {
stopAllSounds();
gotoAndPlay (1);
}