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 67 MovieClip "bound4" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 69 MovieClip "bound1" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 71 MovieClip "bound2" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 73 MovieClip "bound3" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall1" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 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 75 MovieClip "wall2" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 83 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 95 MovieClip "ghosthouse1" in Frame 16
onClipEvent (load) {
with (_root.enemy) {
gotoAndPlay("stopper");
}
}
Frame 17
stop();
Instance of Symbol 76 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 75 MovieClip "wall4" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 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 67 MovieClip "bound4" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 69 MovieClip "bound1" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 71 MovieClip "bound2" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 73 MovieClip "bound3" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall1" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 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 75 MovieClip "wall2" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall3" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall7" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 167 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 169 MovieClip "ghosthouse2" in Frame 17
onClipEvent (load) {
with (_root.enemyb) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 171 MovieClip "ghosthouse3" in Frame 17
onClipEvent (load) {
with (_root.enemyc) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 173 MovieClip in Frame 17
onClipEvent (load) {
with (_root.enemyd) {
gotoAndPlay("stopper");
}
}
Frame 18
stop();
Instance of Symbol 76 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 76 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 67 MovieClip "bound4" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 69 MovieClip "bound1" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 71 MovieClip "bound2" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 73 MovieClip "bound3" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall1" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 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 75 MovieClip "wall2" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall6" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall8" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 181 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 182 MovieClip "ghosthouse1" in Frame 18
onClipEvent (load) {
with (_root.enemy) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 183 MovieClip "ghosthouse2" in Frame 18
onClipEvent (load) {
with (_root.enemyb) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 184 MovieClip "ghosthouse3" in Frame 18
onClipEvent (load) {
with (_root.enemyc) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 185 MovieClip in Frame 18
onClipEvent (load) {
with (_root.enemyd) {
gotoAndPlay("stopper");
}
}
Frame 19
stop();
Instance of Symbol 75 MovieClip "wall5" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 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 75 MovieClip "wall7" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall4" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 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 67 MovieClip "bound4" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 69 MovieClip "bound1" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 71 MovieClip "bound2" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 73 MovieClip "bound3" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall1" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 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 75 MovieClip "wall2" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall8" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall3" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 192 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 193 MovieClip "ghosthouse1" in Frame 19
onClipEvent (load) {
with (_root.enemy) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 194 MovieClip "ghosthouse2" in Frame 19
onClipEvent (load) {
with (_root.enemyb) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 195 MovieClip "ghosthouse3" in Frame 19
onClipEvent (load) {
with (_root.enemyc) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 196 MovieClip in Frame 19
onClipEvent (load) {
with (_root.enemyd) {
gotoAndPlay("stopper");
}
}
Frame 20
stop();
Instance of Symbol 76 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 76 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 67 MovieClip "bound4" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 69 MovieClip "bound1" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 71 MovieClip "bound2" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 73 MovieClip "bound3" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall1" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall3" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall4" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall5" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall7" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall8" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall6" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall2" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 203 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 204 MovieClip "ghosthouse1" in Frame 20
onClipEvent (load) {
with (_root.enemy) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 205 MovieClip "ghosthouse2" in Frame 20
onClipEvent (load) {
with (_root.enemyb) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 206 MovieClip "ghosthouse3" in Frame 20
onClipEvent (load) {
with (_root.enemyc) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 207 MovieClip in Frame 20
onClipEvent (load) {
with (_root.enemyd) {
gotoAndPlay("stopper");
}
}
Frame 21
stop();
Instance of Symbol 75 MovieClip "wall5" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 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 76 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 76 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 75 MovieClip "wall2" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 67 MovieClip "bound4" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 69 MovieClip "bound1" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 71 MovieClip "bound2" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 73 MovieClip "bound3" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall1" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall3" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall4" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 214 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 215 MovieClip "ghosthouse1" in Frame 21
onClipEvent (load) {
with (_root.enemy) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 216 MovieClip "ghosthouse2" in Frame 21
onClipEvent (load) {
with (_root.enemyb) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 217 MovieClip "ghosthouse3" in Frame 21
onClipEvent (load) {
with (_root.enemyc) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 218 MovieClip in Frame 21
onClipEvent (load) {
with (_root.enemyd) {
gotoAndPlay("stopper");
}
}
Frame 22
stop();
Instance of Symbol 76 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 76 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 75 MovieClip "wall7" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall6" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 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 76 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 75 MovieClip "wall3" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall2" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall1" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 67 MovieClip "bound4" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 69 MovieClip "bound1" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 71 MovieClip "bound2" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 73 MovieClip "bound3" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall4" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall5" in Frame 22
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 225 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 226 MovieClip "ghosthouse1" in Frame 22
onClipEvent (load) {
with (_root.enemy) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 227 MovieClip "ghosthouse2" in Frame 22
onClipEvent (load) {
with (_root.enemyb) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 228 MovieClip "ghosthouse3" in Frame 22
onClipEvent (load) {
with (_root.enemyc) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 229 MovieClip in Frame 22
onClipEvent (load) {
with (_root.enemyd) {
gotoAndPlay("stopper");
}
}
Frame 23
stop();
Instance of Symbol 76 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 75 MovieClip "wall4" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall3" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall8" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 67 MovieClip "bound4" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 69 MovieClip "bound1" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 71 MovieClip "bound2" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 73 MovieClip "bound3" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall1" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 76 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 76 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 75 MovieClip "wall2" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 75 MovieClip "wall5" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip("_root.shot1");
}
}
Instance of Symbol 236 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 237 MovieClip "ghosthouse1" in Frame 23
onClipEvent (load) {
with (_root.enemy) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 238 MovieClip "ghosthouse2" in Frame 23
onClipEvent (load) {
with (_root.enemyb) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 239 MovieClip "ghosthouse3" in Frame 23
onClipEvent (load) {
with (_root.enemyc) {
gotoAndPlay("stopper");
}
}
Instance of Symbol 240 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 53 Button
on (release) {
gotoAndPlay (16);
}
Symbol 77 MovieClip Frame 1
if (this.hitTest(_root.player)) {
_root.score = _root.score + 100;
setProperty(this, _x , -50);
setProperty(this, _y , -50);
}
Symbol 77 MovieClip Frame 2
gotoAndPlay (1);
Symbol 78 MovieClip Frame 1
if (this.hitTest(_root.player)) {
_root.health = _root.health + 30;
setProperty(this, _x , -50);
setProperty(this, _y , -50);
}
Symbol 78 MovieClip Frame 2
gotoAndPlay (1);
Symbol 80 MovieClip Frame 1
if (this.hitTest(_root.player)) {
_root.keys = _root.keys + 1;
setProperty(this, _x , -50);
setProperty(this, _y , -50);
}
Symbol 80 MovieClip Frame 2
gotoAndPlay (1);
Symbol 82 MovieClip Frame 1
if (this.hitTest(_root.player)) {
_root.potions = _root.potions + 1;
setProperty(this, _x , -50);
setProperty(this, _y , -50);
}
Symbol 82 MovieClip Frame 2
gotoAndPlay (1);
Symbol 93 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 93 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 93 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 93 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 93 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 93 MovieClip Frame 16
stop();
Symbol 94 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 1
i = 1;
Instance of Symbol 94 MovieClip "skull" in Symbol 95 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 95 MovieClip Frame 2
duplicateMovieClip (_root.enemy, "enemy" + i, i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 95 MovieClip Frame 30
gotoAndPlay (2);
Symbol 95 MovieClip Frame 31
stop();
Symbol 103 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 104 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 112 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 120 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 123 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 126 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 134 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 142 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 145 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);
}
Instance of Symbol 101 MovieClip in Symbol 147 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 147 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 147 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 147 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 147 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 111 MovieClip in Symbol 147 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 147 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 147 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 147 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 147 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 119 MovieClip in Symbol 147 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 147 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 147 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 147 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 147 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 122 MovieClip in Symbol 147 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 147 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 147 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 147 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 147 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 125 MovieClip in Symbol 147 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 147 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 147 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 147 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 147 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 133 MovieClip in Symbol 147 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 147 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 147 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 147 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 147 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 141 MovieClip in Symbol 147 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 147 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 147 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 147 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 147 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 144 MovieClip in Symbol 147 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 147 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 147 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 147 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 148 MovieClip in Symbol 149 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 152 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 6
gotoAndStop (1);
Symbol 153 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 153 MovieClip Frame 15
gotoAndPlay (1);
Symbol 159 MovieClip Frame 3
stop();
Instance of Symbol 159 MovieClip "shoot" in Symbol 160 MovieClip Frame 1
onClipEvent (enterFrame) {
setProperty(this, _y , this._y - 30);
}
Symbol 168 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 1
i = 1;
Instance of Symbol 168 MovieClip "skull" in Symbol 169 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 169 MovieClip Frame 2
duplicateMovieClip (_root.enemyb, "enemyb" + i, 400 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 169 MovieClip Frame 30
gotoAndPlay (2);
Symbol 169 MovieClip Frame 31
stop();
Symbol 170 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 1
i = 1;
Instance of Symbol 170 MovieClip "skull" in Symbol 171 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 171 MovieClip Frame 2
duplicateMovieClip (_root.enemyc, "enemyc" + i, 600 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 171 MovieClip Frame 30
gotoAndPlay (2);
Symbol 171 MovieClip Frame 31
stop();
Symbol 172 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 1
i = 1;
Instance of Symbol 172 MovieClip "skull" in Symbol 173 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 173 MovieClip Frame 2
duplicateMovieClip (_root.enemyd, "enemyd" + i, 800 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 173 MovieClip Frame 30
gotoAndPlay (2);
Symbol 173 MovieClip Frame 31
stop();
Symbol 174 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 6
gotoAndStop (1);
Symbol 182 MovieClip Frame 1
i = 1;
Instance of Symbol 94 MovieClip "skull" in Symbol 182 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 182 MovieClip Frame 2
duplicateMovieClip (_root.enemy, "enemy" + i, i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 182 MovieClip Frame 30
gotoAndPlay (2);
Symbol 182 MovieClip Frame 31
stop();
Symbol 183 MovieClip Frame 1
i = 1;
Instance of Symbol 168 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.enemyb, "enemyb" + i, 400 + 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 170 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.enemyc, "enemyc" + i, 600 + 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 172 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.enemyd, "enemyd" + i, 800 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 185 MovieClip Frame 30
gotoAndPlay (2);
Symbol 185 MovieClip Frame 31
stop();
Symbol 193 MovieClip Frame 1
i = 1;
Instance of Symbol 94 MovieClip "skull" in Symbol 193 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 193 MovieClip Frame 2
duplicateMovieClip (_root.enemy, "enemy" + i, i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 193 MovieClip Frame 30
gotoAndPlay (2);
Symbol 193 MovieClip Frame 31
stop();
Symbol 194 MovieClip Frame 1
i = 1;
Instance of Symbol 168 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.enemyb, "enemyb" + i, 400 + 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 170 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.enemyc, "enemyc" + i, 600 + 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 172 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.enemyd, "enemyd" + i, 800 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 196 MovieClip Frame 30
gotoAndPlay (2);
Symbol 196 MovieClip Frame 31
stop();
Symbol 204 MovieClip Frame 1
i = 1;
Instance of Symbol 94 MovieClip "skull" in Symbol 204 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 204 MovieClip Frame 2
duplicateMovieClip (_root.enemy, "enemy" + i, i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 204 MovieClip Frame 30
gotoAndPlay (2);
Symbol 204 MovieClip Frame 31
stop();
Symbol 205 MovieClip Frame 1
i = 1;
Instance of Symbol 168 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.enemyb, "enemyb" + i, 400 + 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 170 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.enemyc, "enemyc" + i, 600 + 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 172 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.enemyd, "enemyd" + i, 800 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 207 MovieClip Frame 30
gotoAndPlay (2);
Symbol 207 MovieClip Frame 31
stop();
Symbol 215 MovieClip Frame 1
i = 1;
Instance of Symbol 94 MovieClip "skull" in Symbol 215 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 215 MovieClip Frame 2
duplicateMovieClip (_root.enemy, "enemy" + i, i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 215 MovieClip Frame 30
gotoAndPlay (2);
Symbol 215 MovieClip Frame 31
stop();
Symbol 216 MovieClip Frame 1
i = 1;
Instance of Symbol 168 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.enemyb, "enemyb" + i, 400 + 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 170 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.enemyc, "enemyc" + i, 600 + 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 172 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.enemyd, "enemyd" + i, 800 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 218 MovieClip Frame 30
gotoAndPlay (2);
Symbol 218 MovieClip Frame 31
stop();
Symbol 226 MovieClip Frame 1
i = 1;
Instance of Symbol 94 MovieClip "skull" in Symbol 226 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 226 MovieClip Frame 2
duplicateMovieClip (_root.enemy, "enemy" + i, i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 226 MovieClip Frame 30
gotoAndPlay (2);
Symbol 226 MovieClip Frame 31
stop();
Symbol 227 MovieClip Frame 1
i = 1;
Instance of Symbol 168 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.enemyb, "enemyb" + i, 400 + 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 170 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.enemyc, "enemyc" + i, 600 + 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 172 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.enemyd, "enemyd" + i, 800 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 229 MovieClip Frame 30
gotoAndPlay (2);
Symbol 229 MovieClip Frame 31
stop();
Symbol 237 MovieClip Frame 1
i = 1;
Instance of Symbol 94 MovieClip "skull" in Symbol 237 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shot1)) {
removeMovieClip(_root.shot1);
_root.score = _root.score + 200;
with (_parent) {
gotoAndPlay("done");
}
}
}
Symbol 237 MovieClip Frame 2
duplicateMovieClip (_root.enemy, "enemy" + i, i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 237 MovieClip Frame 30
gotoAndPlay (2);
Symbol 237 MovieClip Frame 31
stop();
Symbol 238 MovieClip Frame 1
i = 1;
Instance of Symbol 168 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.enemyb, "enemyb" + i, 400 + 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 170 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.enemyc, "enemyc" + i, 600 + 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 172 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.enemyd, "enemyd" + i, 800 + i);
i = i + 1;
if (i >= 199) {
gotoAndStop (31);
}
Symbol 240 MovieClip Frame 30
gotoAndPlay (2);
Symbol 240 MovieClip Frame 31
stop();
Symbol 247 Button
on (release) {
stopAllSounds();
gotoAndPlay (1);
}