Frame 1
stop();
Instance of Symbol 49 MovieClip "loader" in Frame 1
onClipEvent (enterFrame) {
txtPercent = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
txtPercentage = txtPercent + "% loaded";
if (txtPercent < 51) {
gotoAndStop(txtPercent);
} else {
_root.play();
}
}
Frame 2
stop();
Frame 3
stop();
_quality = "low";
Frame 8
stop();
_quality = "low";
Frame 17
stop();
_quality = "low";
Frame 26
function checkWay() {
if (checkpoint == 0) {
currentMap = "map0";
} else if (checkpoint == 1) {
currentMap = "map10";
} else if (checkpoint == 2) {
currentMap = "mapB1";
} else if (checkpoint == 3) {
currentMap = "mapC2";
} else if (checkpoint == 4) {
currentMap = "mapD11";
} else if (checkpoint == 5) {
currentMap = "map10";
}
nextMap = currentMap;
}
function movement() {
blinkFrame = player.blink._currentFrame;
playerDamage();
if ((!attack) && (!hurt)) {
if (Key.isDown(38) || (Key.isDown(87))) {
if ((((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(65))) && (!Key.isDown(68))) {
facing = "up";
}
walking = true;
moveUp();
hitPlus = 0;
hitPlusY = -20;
walkDir = 0;
} else if (Key.isDown(40) || (Key.isDown(83))) {
if ((!Key.isDown(37)) && (!Key.isDown(39))) {
facing = "down";
}
walking = true;
moveDown();
hitPlus = 0;
hitPlusY = 10;
walkDir = 1;
}
if (Key.isDown(37) || (Key.isDown(65))) {
facing = "left";
walking = true;
moveLeft();
hitPlus = -10;
hitPlusY = 0;
walkDir = 2;
} else if (Key.isDown(39) || (Key.isDown(68))) {
facing = "right";
walking = true;
moveRight();
hitPlus = 10;
hitPlusY = 0;
walkDir = 3;
}
if ((((((((!Key.isDown(38)) && (!Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(87))) && (!Key.isDown(83))) && (!Key.isDown(68))) && (!Key.isDown(65))) {
walkDir = "none";
walking = false;
}
if (Key.isDown(32) && (!keyHit)) {
keyHit = true;
attack = true;
if (facing == "up") {
player.gotoAndStop("attackUp");
} else if (facing == "down") {
player.gotoAndStop("attackDown");
} else if (facing == "left") {
player.gotoAndStop("attackLeft");
} else if (facing == "right") {
player.gotoAndStop("attackRight");
}
} else if (facing == "up") {
if (walking) {
player.gotoAndStop("walkUp");
} else {
player.gotoAndStop("standUp");
}
} else if (facing == "down") {
if (walking) {
player.gotoAndStop("walkDown");
} else {
player.gotoAndStop("standDown");
}
} else if (facing == "left") {
if (walking) {
player.gotoAndStop("walkLeft");
} else {
player.gotoAndStop("standLeft");
}
} else if (facing == "right") {
if (walking) {
player.gotoAndStop("walkRight");
} else {
player.gotoAndStop("standRight");
}
}
}
}
function moveLeft() {
var _local1 = this;
if ((!_local1[currentMap].hit.hitTest(player._x - 10, player._y - 3, true)) && (!_local1[currentMap].hit.hitTest(player._x - 10, player._y - 20, true))) {
player._x = player._x - playerSpeed;
} else if (!_local1[currentMap].hit.hitTest(player._x - 10, player._y - 3, true)) {
player._y = player._y + playerSpeed;
} else if (!_local1[currentMap].hit.hitTest(player._x - 10, player._y - 25, true)) {
player._y = player._y - playerSpeed;
}
}
function moveRight() {
var _local1 = this;
if ((!_local1[currentMap].hit.hitTest(player._x + 10, player._y - 3, true)) && (!_local1[currentMap].hit.hitTest(player._x + 10, player._y - 20, true))) {
player._x = player._x + playerSpeed;
} else if (!_local1[currentMap].hit.hitTest(player._x + 10, player._y + -3, true)) {
player._y = player._y + playerSpeed;
} else if (!_local1[currentMap].hit.hitTest(player._x + 10, player._y - 25, true)) {
player._y = player._y - playerSpeed;
}
}
function moveUp() {
var _local1 = this;
if ((!_local1[currentMap].hit.hitTest(player._x - 10, player._y - 15, true)) && (!_local1[currentMap].hit.hitTest(player._x + 10, player._y - 15, true))) {
player._y = player._y - playerSpeed;
} else if (!_local1[currentMap].hit.hitTest(player._x - 15, player._y - 15, true)) {
player._x = player._x - playerSpeed;
} else if (!_local1[currentMap].hit.hitTest(player._x + 15, player._y - 15, true)) {
player._x = player._x + playerSpeed;
}
}
function moveDown() {
var _local1 = this;
if ((!_local1[currentMap].hit.hitTest(player._x - 10, player._y + 1, true)) && (!_local1[currentMap].hit.hitTest(player._x + 10, player._y + 1, true))) {
player._y = player._y + playerSpeed;
} else if (!_local1[currentMap].hit.hitTest(player._x - 15, player._y + 1, true)) {
player._x = player._x - playerSpeed;
} else if (!_local1[currentMap].hit.hitTest(player._x + 15, player._y + 1, true)) {
player._x = player._x + playerSpeed;
}
}
function playerDamage() {
var _local1 = _root;
i = 1;
while (i < 5) {
if ((player.hit.hitTest(_local1[currentMap]["enemy" + i].hit) && (!hurt)) && (!blink)) {
health = health - 1;
hud.hearts.gotoAndStop(health + 1);
blink = true;
player.blink.gotoAndPlay(3);
hurt = true;
if (health <= 0) {
player.gotoAndStop("die");
} else if (facing == "up") {
player.gotoAndStop("hurtUp");
moveDown();
moveDown();
moveDown();
moveDown();
moveDown();
moveDown();
} else if (facing == "down") {
player.gotoAndStop("hurtDown");
moveUp();
moveUp();
moveUp();
moveUp();
moveUp();
moveUp();
} else if (facing == "left") {
player.gotoAndStop("hurtLeft");
moveRight();
moveRight();
moveRight();
moveRight();
moveRight();
moveRight();
} else if (facing == "right") {
player.gotoAndStop("hurtright");
moveLeft();
moveLeft();
moveLeft();
moveLeft();
moveLeft();
moveLeft();
}
}
i++;
}
}
function attacker() {
var _local1 = _root;
i = 1;
while (i < 5) {
if (player.guy.hit.hitTest(_local1[currentMap]["enemy" + i].hit) && (_local1[currentMap]["enemy" + i].hurt == false)) {
_local1[currentMap]["enemy" + i].health = _local1[currentMap]["enemy" + i].health - damage;
_local1[currentMap]["enemy" + i].hurt = true;
_local1[currentMap]["enemy" + i].attackMode = 2;
if (facing == "down") {
_local1[currentMap]["enemy" + i].gotoAndStop("hurtUp");
_local1[currentMap]["enemy" + i].moveDown();
_local1[currentMap]["enemy" + i].moveDown();
_local1[currentMap]["enemy" + i].moveDown();
_local1[currentMap]["enemy" + i].moveDown();
_local1[currentMap]["enemy" + i].moveDown();
_local1[currentMap]["enemy" + i].moveDown();
_local1[currentMap]["enemy" + i].moveDown();
_local1[currentMap]["enemy" + i].moveDown();
_local1[currentMap]["enemy" + i].moveDown();
_local1[currentMap]["enemy" + i].moveDown();
} else if (facing == "up") {
_local1[currentMap]["enemy" + i].gotoAndStop("hurtDown");
_local1[currentMap]["enemy" + i].moveUp();
_local1[currentMap]["enemy" + i].moveUp();
_local1[currentMap]["enemy" + i].moveUp();
_local1[currentMap]["enemy" + i].moveUp();
_local1[currentMap]["enemy" + i].moveUp();
_local1[currentMap]["enemy" + i].moveUp();
_local1[currentMap]["enemy" + i].moveUp();
_local1[currentMap]["enemy" + i].moveUp();
_local1[currentMap]["enemy" + i].moveUp();
_local1[currentMap]["enemy" + i].moveUp();
} else if (facing == "right") {
_local1[currentMap]["enemy" + i].gotoAndStop("hurtLeft");
_local1[currentMap]["enemy" + i].moveRight();
_local1[currentMap]["enemy" + i].moveRight();
_local1[currentMap]["enemy" + i].moveRight();
_local1[currentMap]["enemy" + i].moveRight();
_local1[currentMap]["enemy" + i].moveRight();
_local1[currentMap]["enemy" + i].moveRight();
_local1[currentMap]["enemy" + i].moveRight();
_local1[currentMap]["enemy" + i].moveRight();
_local1[currentMap]["enemy" + i].moveRight();
_local1[currentMap]["enemy" + i].moveRight();
} else if (facing == "left") {
_local1[currentMap]["enemy" + i].gotoAndStop("hurtRight");
_local1[currentMap]["enemy" + i].moveLeft();
_local1[currentMap]["enemy" + i].moveLeft();
_local1[currentMap]["enemy" + i].moveLeft();
_local1[currentMap]["enemy" + i].moveLeft();
_local1[currentMap]["enemy" + i].moveLeft();
_local1[currentMap]["enemy" + i].moveLeft();
_local1[currentMap]["enemy" + i].moveLeft();
_local1[currentMap]["enemy" + i].moveLeft();
_local1[currentMap]["enemy" + i].moveLeft();
_local1[currentMap]["enemy" + i].moveLeft();
}
}
i++;
}
}
function travoltaHurt() {
var _local1 = _root;
if (player.guy.hit.hitTest(_local1[currentMap].travolta.hit) && (_local1[currentMap].travolta.dance)) {
_local1[currentMap].travolta.gotoAndStop("hurt");
}
}
function blinky() {
if (blinkOn) {
player._alpha = 50;
blinkOn = false;
} else {
player._alpha = 100;
blinkOn = true;
}
}
function screenScroll() {
if (screenChangeDir == "up") {
screenUp();
} else if (screenChangeDir == "down") {
screenDown();
} else if (screenChangeDir == "left") {
screenLeft();
} else if (screenChangeDir == "right") {
screenRight();
}
}
function screenUp() {
var _local1 = this;
if ((screenCount < mapHeight) && (screenChange)) {
player._y = player._y + 9;
_local1[currentMap]._y = _local1[currentMap]._y + 10;
_local1[nextMap]._y = _local1[nextMap]._y + 10;
screenCount = screenCount + 10;
} else {
removeMovieClip(_local1[currentMap]);
currentMap = nextMap;
nextMap = "none";
screenChange = false;
screenChangeDir = "none";
screenCount = 0;
}
}
function screenDown() {
var _local1 = this;
if ((screenCount < mapHeight) && (screenChange)) {
player._y = player._y - 9;
_local1[currentMap]._y = _local1[currentMap]._y - 10;
_local1[nextMap]._y = _local1[nextMap]._y - 10;
screenCount = screenCount + 10;
} else {
removeMovieClip(_local1[currentMap]);
currentMap = nextMap;
nextMap = "none";
screenChange = false;
screenChangeDir = "none";
screenCount = 0;
}
}
function screenRight() {
var _local1 = this;
if ((screenCount < mapWidth) && (screenChange)) {
player._x = player._x - 9;
_local1[currentMap]._x = _local1[currentMap]._x - 10;
_local1[nextMap]._x = _local1[nextMap]._x - 10;
screenCount = screenCount + 10;
} else {
removeMovieClip(_local1[currentMap]);
currentMap = nextMap;
nextMap = "none";
screenChange = false;
screenChangeDir = "none";
screenCount = 0;
}
}
function screenLeft() {
var _local1 = this;
if ((screenCount < mapWidth) && (screenChange)) {
player._x = player._x + 9;
_local1[currentMap]._x = _local1[currentMap]._x + 10;
_local1[nextMap]._x = _local1[nextMap]._x + 10;
screenCount = screenCount + 10;
} else {
removeMovieClip(_local1[currentMap]);
currentMap = nextMap;
nextMap = "none";
screenChange = false;
screenChangeDir = "none";
screenCount = 0;
}
}
function nextMap() {
attachMovie(nextMap, nextMap, mapDepth);
}
function loadMap(dir) {
var _local1 = this;
var _local2 = _root;
var _local3 = dir;
i = 1;
while (i <= 6) {
j = 0;
while (j <= 3) {
if (_local2[(_local1["doors_" + currentMap][j] + "_enemySpawn") + i] > 0) {
_local2[(_local1["doors_" + currentMap][j] + "_enemySpawn") + i] = _local2[(_local1["doors_" + currentMap][j] + "_enemySpawn") + i] - 1;
}
j++;
}
i++;
}
screenChange = true;
if (_local3 == "up") {
nextMap = _local1["doors_" + currentMap][0];
screenChangeDir = "up";
attachMovie(nextMap, nextMap, mapDepth);
_local1[nextmap].lock = _local1["doors_" + nextMap].lock;
_local1[nextmap]._x = mapX;
_local1[nextmap]._y = mapY - mapHeight;
locksOpen();
player.setMask(_local1[nextmap].mask);
} else if (_local3 == "down") {
nextMap = _local1["doors_" + currentMap][1];
screenChangeDir = "down";
attachMovie(nextMap, nextmap, mapDepth);
_local1[nextmap].lock = _local1["doors_" + nextMap].lock;
_local1[nextmap]._x = mapX;
_local1[nextmap]._y = mapY + mapHeight;
locksOpen();
player.setMask(_local1[nextmap].mask);
} else if (_local3 == "left") {
nextMap = _local1["doors_" + currentMap][2];
screenChangeDir = "left";
attachMovie(nextMap, nextmap, mapDepth);
_local1[nextmap].lock = _local1["doors_" + nextMap].lock;
_local1[nextmap]._x = mapX - mapWidth;
_local1[nextmap]._y = mapY;
locksOpen();
player.setMask(_local1[nextmap].mask);
} else if (_local3 == "right") {
nextMap = _local1["doors_" + currentMap][3];
screenChangeDir = "right";
attachMovie(nextMap, nextmap, mapDepth);
_local1[nextmap].lock = _local1["doors_" + nextMap].lock;
_local1[nextmap]._x = mapX + mapWidth;
_local1[nextmap]._y = mapY;
locksOpen();
player.setMask(_local1[nextmap].mask);
}
mapDepthSwitch();
enemyNum = 1;
npcNum = 1;
death = 0;
}
function mapDepthSwitch() {
if (mapDepth == 100) {
mapDepth = 101;
} else {
mapDepth = 100;
}
}
function locksOpen() {
var _local1 = _root;
if (_local1["doors_" + nextMap].lock[0] == "none") {
_local1[nextMap].up.gotoAndStop(2);
_local1[nextMap].hit.up.gotoAndStop(2);
_local1["doors_" + nextMap].lock[0] = "none";
}
if (_local1["doors_" + nextMap].lock[1] == "none") {
_local1[nextMap].down.gotoAndStop(2);
_local1[nextMap].hit.down.gotoAndStop(2);
_local1["doors_" + nextMap].lock[1] = "none";
}
if (_local1["doors_" + nextMap].lock[2] == "none") {
_local1[nextMap].left.gotoAndStop(2);
_local1[nextMap].hit.left.gotoAndStop(2);
_local1["doors_" + nextMap].lock[2] = "none";
}
if (_local1["doors_" + nextMap].lock[3] == "none") {
_local1[nextMap].right.gotoAndStop(2);
_local1[nextMap].hit.right.gotoAndStop(2);
_local1["doors_" + nextMap].lock[3] = "none";
}
}
function doorCheck() {
if (!screenChange) {
if (player._y < (mapY + 5)) {
loadMap("up");
} else if (player._y > (mapY + mapHeight)) {
loadMap("down");
} else if (player._x < mapX) {
loadMap("left");
} else if (player._x > (mapX + mapWidth)) {
loadMap("right");
}
}
}
function menuUpdate() {
hud.menu.menu.map.gotoAndStop(1);
hud.menu.menu.map.gotoAndStop(currentFloor + 1);
hud.menu.menu.map[currentMap].gotoAndStop(2);
if ((((girls[0] == "girl") && (girls[1] == "girl")) && (girls[2] == "girl")) && (objective == 2)) {
objective = 3;
}
hud.menu.menu.objective.gotoAndStop(objective);
if ((inventory[0] == "empty") || (inventory[0] == "used")) {
hud.menu.menu.blue._visible = false;
} else {
hud.menu.menu.blue._visible = true;
}
if ((inventory[1] == "empty") || (inventory[1] == "used")) {
hud.menu.menu.green._visible = false;
} else {
hud.menu.menu.green._visible = true;
}
if ((inventory[2] == "empty") || (inventory[2] == "used")) {
hud.menu.menu.red._visible = false;
} else {
hud.menu.menu.red._visible = true;
}
if ((inventory[3] == "empty") || (inventory[3] == "used")) {
hud.menu.menu.gold._visible = false;
} else {
hud.menu.menu.gold._visible = true;
}
if ((inventory[4] == "empty") || (inventory[4] == "used")) {
hud.menu.menu.purple._visible = false;
} else {
hud.menu.menu.purple._visible = true;
}
if ((girls[0] == "empty") || (girls[0] == "used")) {
hud.menu.menu.girl1._visible = false;
} else {
hud.menu.menu.girl1._visible = true;
}
if ((girls[1] == "empty") || (girls[1] == "used")) {
hud.menu.menu.girl2._visible = false;
} else {
hud.menu.menu.girl2._visible = true;
}
if ((girls[2] == "empty") || (girls[2] == "used")) {
hud.menu.menu.girl3._visible = false;
} else {
hud.menu.menu.girl3._visible = true;
}
if (maltGet == false) {
hud.menu.menu.malt._visible = false;
} else {
hud.menu.menu.malt._visible = true;
}
if (stdGet == false) {
hud.menu.menu.std._visible = false;
} else {
hud.menu.menu.std._visible = true;
}
if (alimonyGet == false) {
hud.menu.menu.alimony._visible = false;
} else {
hud.menu.menu.alimony._visible = true;
}
if (pillGet == false) {
hud.menu.menu.pills._visible = false;
} else {
hud.menu.menu.pills._visible = true;
}
}
function hayesTalk() {
var _local1 = this;
if (player.hit.hitTest(_local1[currentMap].hayes.hit)) {
if (key.isDown(32) && (!talking)) {
if (((girls[0] == "girl") && (girls[1] == "girl")) && (girls[2] == "girl")) {
if (inventory[3] == "empty") {
attachMovie("hayesMessage2", "message", 801);
_local1[currentMap].attachMovie("goldKey", "goldKey", 506);
_local1[currentMap].goldKey._x = 450;
_local1[currentMap].goldKey._y = 260;
girls[0] = "empty";
girls[1] = "empty";
girls[2] = "empty";
objective = 4;
checkpoint = 5;
}
} else if ((objective == 1) || (objective == 2)) {
if (girlCount == 0) {
hayesTalked = true;
objective = 2;
checkpoint = 1;
attachMovie("hayesMessage1", "message", 801);
} else if (girlCount == 1) {
attachMovie("hayesMessage1A", "message", 801);
} else if (girlCount == 2) {
attachMovie("hayesMessage1B", "message", 801);
}
}
}
}
}
function darkFilter(setting) {
attachMovie("dark", "dark", 517);
if (setting == 1) {
dark.gotoAndStop(1);
} else if (setting == 2) {
dark.gotoAndStop(2);
}
}
function restart() {
removeStuff();
gameStart();
removeMovieClip("gameover");
}
function gameOver() {
attachMovie("gameover", "gameover", 999);
}
function removeStuff() {
removeMovieClip("player");
removeMovieClip("hud");
removeMovieClip(_root[currentMap]);
removeMovieClip(_root[nextMap]);
}
function endCard() {
if (score < 1800) {
endbox.card.gotoAndStop(1);
endbox.link.gotoAndStop(1);
} else if ((score >= 1800) && (score < 2400)) {
endbox.card.gotoAndStop(2);
endbox.link.gotoAndStop(2);
} else if (score >= 2400) {
endbox.card.gotoAndStop(3);
endbox.link.gotoAndStop(3);
}
}
function gameStart() {
var _local1 = this;
attachMovie("hud", "hud", 995);
attachMovie("player", "player", 500);
player._x = 275;
player._y = 215;
health = 12;
hud.hearts.gotoAndStop(health + 1);
scenarioReset();
checkWay();
attachMovie(currentMap, currentMap, mapDepth);
_local1[currentMap].lock = _local1["doors_" + currentMap].lock;
_local1[currentMap]._x = mapX;
_local1[currentMap]._y = mapY;
player.setMask(_local1[currentMap].mask);
locksOpen();
mapDepthSwitch();
fade.gotoAndPlay(1);
floor.gotoAndPlay(1);
music.start(0, 999);
music.setVolume(musicVol);
travoltaFight = false;
}
_quality = "low";
var hurt = false;
var keyHit = false;
var mapWidth = 540;
var mapHeight = 360;
var mapX = 5;
var mapY = 36;
var mapDepth = 100;
var currentMap = "map0";
var nextMap = currentMap;
var currentFloor = 1;
var screenChange = false;
var screenChangeDir = "none";
var screenCount = 0;
var objective = 1;
var playerSpeed = 5;
var damage = 3;
var health = 12;
var talking = false;
var score = 0;
var blink = false;
var blinkOn = false;
var npcNum = 1;
var enemyNum = 1;
var itemNum = 1;
var death = 0;
var gamePause = false;
var instructOpen = false;
var menuOpen = false;
fade.swapDepths(800);
floor.swapDepths(877);
gradient.swapDepths(510);
var musicVol = 25;
var music = new Sound();
music.attachSound("music_dungeon");
var inventory = ["empty", "empty", "empty", "empty", "empty"];
var girls = ["empty", "empty", "empty"];
var girlCount = 0;
var hayesTalked = false;
var maltGet = false;
var stdGet = false;
var alimonyGet = false;
var travoltaFight = false;
var travoltaDead = false;
var pillGet = false;
var checkpoint = 0;
var keyMenu = 73;
var keyAttack = 32;
doors_map = ["map", "mapE", "mapB", "none", "none"];
doors_map.lock = ["none", "apple", "none", "none"];
doors_mapB = ["mapB", "map", "mapE", "mapD", "mapC"];
doors_mapB.lock = ["none", "orange", "none", "none"];
doors_mapC = ["mapB", "mapB", "map", "mapB", "mapD"];
doors_mapC.lock = ["none", "apple", "none", "none"];
doors_mapD = ["mapB", "mapB", "map", "mapC", "mapB"];
doors_mapE = ["mapC", "mapB", "map", "mapB", "mapB"];
doors_mapE.lock = ["none", "orange", "apple", "apple"];
doors.map.up = "mapB";
doors.map.down = "mapB";
doors.map.left = "none";
doors.map.right = "none";
doors_map0 = ["none", "mapH1", "none", "none"];
doors_map1 = ["none", "none", "mapH1", "none"];
doors_map2 = ["none", "none", "none", "mapH1"];
doors_map3 = ["none", "none", "none", "mapH2"];
doors_map4 = ["none", "none", "none", "mapH3"];
doors_map6 = ["none", "none", "mapH2", "none"];
doors_map7 = ["none", "none", "mapH3", "none"];
doors_map8 = ["none", "mapH6", "none", "none"];
doors_map9 = ["none", "mapH7", "none", "none"];
doors_map10 = ["none", "none", "mapH7", "none"];
doors_map11 = ["mapH7", "none", "none", "none"];
doors_map12 = ["mapH6", "none", "none", "none"];
doors_map13 = ["mapH4", "none", "none", "none"];
doors_map14 = ["mapH5", "none", "none", "none"];
doors_map15 = ["none", "none", "none", "mapH5"];
doors_map16 = ["none", "mapH5", "none", "none"];
doors_map17 = ["none", "mapH4", "none", "none"];
doors_map18 = ["none", "none", "mapH4", "map20"];
doors_map19 = ["none", "none", "map20", "mapH6"];
doors_map20 = ["mapH3", "mapB4", "map18", "map19"];
doors_mapH1 = ["map0", "mapH3", "map2", "map1"];
doors_mapH2 = ["mapH1", "mapH3", "map3", "map6"];
doors_mapH3 = ["mapH1", "map20", "map4", "map7"];
doors_mapH4 = ["map17", "map13", "mapH5", "map18"];
doors_mapH5 = ["map16", "map14", "map15", "mapH4"];
doors_mapH6 = ["map8", "map12", "map19", "mapH7"];
doors_mapH7 = ["map9", "map11", "mapH6", "map10"];
doors_mapB1 = ["none", "mapB6", "none", "none"];
doors_mapB2 = ["none", "mapB11", "none", "none"];
doors_mapB3 = ["none", "mapB10", "none", "none"];
doors_mapB4 = ["map20", "mapB9", "none", "none"];
doors_mapB5 = ["mapC13", "mapB8", "none", "none"];
doors_mapB6 = ["mapB1", "mapB7", "none", "none"];
doors_mapB6.lock = ["purple", "none", "none", "none"];
doors_mapB7 = ["mapB6", "mapB15", "none", "none"];
doors_mapB8 = ["mapB5", "mapB14", "none", "none"];
doors_mapB9 = ["mapB4", "none", "mapB10", "none"];
doors_mapB10 = ["mapB3", "mapB12", "mapB11", "mapB9"];
doors_mapB11 = ["mapB2", "none", "none", "mapB10"];
doors_mapB12 = ["mapB10", "none", "none", "mapB13"];
doors_mapB13 = ["none", "none", "mapB12", "mapB14"];
doors_mapB14 = ["mapB8", "none", "mapB13", "mapB15"];
doors_mapB14.lock = ["none", "gold", "none", "none"];
doors_mapB15 = ["mapB7", "none", "mapB14", "mapB16"];
doors_mapB16 = ["none", "none", "mapB15", "none"];
doors_mapC1 = ["mapD6", "none", "mapC4", "none"];
doors_mapC2 = ["none", "mapC9", "none", "none"];
doors_mapC3 = ["none", "none", "none", "mapC4"];
doors_mapC4 = ["none", "mapC7", "mapC3", "mapC1"];
doors_mapC7 = ["mapC4", "none", "none", "mapC8"];
doors_mapC8 = ["none", "mapC13", "mapC7", "mapC9"];
doors_mapC9 = ["mapC2", "none", "mapC8", "none"];
doors_mapC9.lock = ["red", "none", "none", "none"];
doors_mapC10 = ["none", "none", "mapC9", "none"];
doors_mapC11 = ["none", "mapC15", "none", "mapC13"];
doors_mapC13 = ["mapC8", "mapB5", "mapC11", "mapC14"];
doors_mapC14 = ["none", "mapC16", "mapC13", "none"];
doors_mapC15 = ["mapC11", "none", "none", "none"];
doors_mapC16 = ["mapC14", "mapC20", "none", "none"];
doors_mapC17 = ["none", "mapC21", "none", "mapC18"];
doors_mapC18 = ["none", "none", "mapC17", "none"];
doors_mapC19 = ["none", "none", "none", "mapC20"];
doors_mapC20 = ["mapC16", "none", "mapC19", "mapC21"];
doors_mapC20.lock = ["none", "none", "green", "none"];
doors_mapC21 = ["mapC17", "none", "mapC20", "none"];
doors_mapD1 = ["none", "mapD5", "none", "none"];
doors_mapD2 = ["none", "mapD7", "none", "mapD3"];
doors_mapD3 = ["none", "mapD8", "mapD2", "none"];
doors_mapD4 = ["none", "none", "none", "mapD5"];
doors_mapD5 = ["mapD1", "none", "none", "mapD6"];
doors_mapD6 = ["none", "mapC1", "mapD5", "mapD7"];
doors_mapD7 = ["mapD2", "none", "mapD6", "none"];
doors_mapD8 = ["mapD3", "mapD11", "none", "none"];
doors_mapD8.lock = ["none", "blue", "none", "none"];
doors_mapD9 = ["mapD5", "none", "none", "none"];
doors_mapD10 = ["mapD7", "none", "none", "none"];
doors_mapD11 = ["mapD8", "none", "none", "none"];
MovieClip.prototype.botAttack = function () {
if ((this.hitTest(_root.player.hit) && (!hurt)) && (!blink)) {
health = health - 1;
hud.hearts.gotoAndStop(health + 1);
blink = true;
player.blink.gotoAndPlay(3);
hurt = true;
if (health <= 0) {
player.gotoAndStop("die");
} else if (facing == "up") {
player.gotoAndStop("hurtUp");
moveDown();
moveDown();
moveDown();
moveDown();
moveDown();
moveDown();
} else if (facing == "down") {
player.gotoAndStop("hurtDown");
moveUp();
moveUp();
moveUp();
moveUp();
moveUp();
moveUp();
} else if (facing == "left") {
player.gotoAndStop("hurtLeft");
moveRight();
moveRight();
moveRight();
moveRight();
moveRight();
moveRight();
} else if (facing == "right") {
player.gotoAndStop("hurtright");
moveLeft();
moveLeft();
moveLeft();
moveLeft();
moveLeft();
moveLeft();
}
}
};
MovieClip.prototype.dreadAttack = function () {
if ((this.hitTest(_root.player._x, _root.player._y, true) && (!hurt)) && (!blink)) {
health = health - 1;
hud.hearts.gotoAndStop(health + 1);
blink = true;
player.blink.gotoAndPlay(3);
hurt = true;
if (health <= 0) {
player.gotoAndStop("die");
} else if (facing == "up") {
player.gotoAndStop("hurtUp");
moveDown();
moveDown();
moveDown();
moveDown();
moveDown();
moveDown();
} else if (facing == "down") {
player.gotoAndStop("hurtDown");
moveUp();
moveUp();
moveUp();
moveUp();
moveUp();
moveUp();
} else if (facing == "left") {
player.gotoAndStop("hurtLeft");
moveRight();
moveRight();
moveRight();
moveRight();
moveRight();
moveRight();
} else if (facing == "right") {
player.gotoAndStop("hurtright");
moveLeft();
moveLeft();
moveLeft();
moveLeft();
moveLeft();
moveLeft();
}
}
};
MovieClip.prototype.theStair = function () {
var _local1 = _root;
var _local2 = this;
if (player.hit.hitTest(_local2)) {
if ((_local2.dir == "down") && (facing == "down")) {
nextMap = _local1["doors_" + currentMap][1];
fade.gotoAndPlay(1);
floor.gotoAndPlay(1);
_local1.attachMovie(nextMap, nextMap, mapDepth);
_local1[nextmap].lock = _local1["doors_" + nextMap].lock;
_local1[nextmap]._x = mapX;
_local1[nextmap]._y = mapY;
locksOpen();
removeMovieClip(_local1[currentMap]);
currentMap = nextMap;
nextMap = "none";
screenChange = false;
screenChangeDir = "none";
screenCount = 0;
player.setMask(_local1[currentMap].mask);
player._y = mapY + 60;
} else if ((_local2.dir == "up") && (facing == "up")) {
nextMap = _local1["doors_" + currentMap][0];
fade.gotoAndPlay(1);
floor.gotoAndPlay(1);
_local1.attachMovie(nextMap, nextMap, mapDepth);
_local1[nextmap].lock = _local1["doors_" + nextMap].lock;
_local1[nextmap]._x = mapX;
_local1[nextmap]._y = mapY;
locksOpen();
removeMovieClip(_local1[currentMap]);
currentMap = nextMap;
nextMap = "none";
screenChange = false;
screenChangeDir = "none";
screenCount = 0;
player.setMask(_local1[currentMap].mask);
player._y = (mapY + mapHeight) - 30;
}
mapDepthSwitch();
enemyNum = 1;
npcNum = 1;
death = 0;
}
};
MovieClip.prototype.lockCheck = function () {
var _local1 = this;
var _local2 = _root;
if (_local1.hitTest(_local2.player._x + hitPlus, _local2.player._y + hitPlusY, false)) {
i = 0;
while (i <= 4) {
if (inventory[i] == _local1._parent._parent.lock[walkDir]) {
_local1.gotoAndStop(2);
_local1._parent._parent[_local1.dir].gotoAndStop(2);
_local2["doors_" + currentMap].lock[walkDir] = "none";
inventory[i] = "used";
}
i++;
}
}
};
MovieClip.prototype.theDoor = function () {
var _local1 = this;
if (_local1.hitTest(_root.player)) {
if (_local1.dir == "up") {
if (Key.isDown(38) || (Key.isDown(87))) {
player._y = mapY;
}
} else if (_local1.dir == "down") {
if (Key.isDown(40) || (Key.isDown(83))) {
player._y = mapY + mapHeight;
}
} else if (_local1.dir == "left") {
if (Key.isDown(37) || (Key.isDown(65))) {
player._x = mapX;
} else if (Key.isDown(39) || (Key.isDown(68))) {
player._x = player._x + 15;
}
} else if (_local1.dir == "right") {
if (Key.isDown(39) || (Key.isDown(68))) {
player._x = mapX + mapWidth;
} else if (Key.isDown(37) || (Key.isDown(65))) {
player._x = player._x - 15;
}
}
}
};
MovieClip.prototype.itemDrop = function () {
var _local1 = this;
var _local2 = _root;
if (random(10) == 0) {
_local2[currentMap].attachMovie("heart", "heart" + itemNum, _local1._y + 1);
_local2[currentMap]["heart" + itemNum]._x = _local1._x;
_local2[currentMap]["heart" + itemNum]._y = _local1._y - 5;
itemNum++;
} else if (random(5) == 0) {
_local2[currentMap].attachMovie("coin2", "coin" + itemNum, _local1._y + 1);
_local2[currentMap]["coin" + itemNum]._x = _local1._x;
_local2[currentMap]["coin" + itemNum]._y = _local1._y - 5;
itemNum++;
} else {
_local2[currentMap].attachMovie("coin", "coin" + itemNum, _local1._y + 1);
_local2[currentMap]["coin" + itemNum]._x = _local1._x;
_local2[currentMap]["coin" + itemNum]._y = _local1._y - 5;
itemNum++;
}
};
MovieClip.prototype.keyCollect = function () {
var _local1 = this;
var _local2 = _root;
if ((_local2.inventory[_local1.slot] == _local1.keyName) || (_local2.inventory[_local1.slot] == "used")) {
_local1.gotoAndStop(2);
}
if (_local1.hitTest(_local2.player.hit)) {
_local2.inventory[_local1.slot] = _local1.keyName;
attachMovie("message_" + _local1.keyName, "message", 801);
_local1.gotoAndStop(2);
}
};
MovieClip.prototype.girlCollect = function () {
var _local1 = this;
var _local2 = _root;
if ((_local2.girls[_local1.slot] == "girl") && (!talking)) {
_local1.gotoAndStop(2);
}
if (_local1.hitTest(_local2.player.hit) && (!talking)) {
girlCount++;
_local2.girls[_local1.slot] = "girl";
_local2.attachMovie(("message_" + _local1.keyName) + "B", "message", 801);
}
};
MovieClip.prototype.heartCollect = function () {
if (this.hitTest(_root.player.hit)) {
if (health < 12) {
health++;
hud.hearts.gotoAndStop(health + 1);
}
if (health < 12) {
health++;
hud.hearts.gotoAndStop(health + 1);
}
this.gotoAndStop(3);
}
};
MovieClip.prototype.coinCollect = function (pts) {
if (this.hitTest(_root.player.hit)) {
score = score + pts;
this.gotoAndStop(3);
}
};
MovieClip.prototype.maltCollect = function () {
if (this.hitTest(_root.player.hit)) {
maltGet = true;
this.gotoAndStop(3);
}
};
MovieClip.prototype.stdCollect = function () {
if (this.hitTest(_root.player.hit)) {
stdGet = true;
this.gotoAndStop(3);
}
};
MovieClip.prototype.alimonyCollect = function () {
if (this.hitTest(_root.player.hit)) {
alimonyGet = true;
this.gotoAndStop(3);
}
};
MovieClip.prototype.pillCollect = function () {
var _local1 = _root;
if (this.hitTest(_local1.player.hit)) {
_local1.pillGet = true;
attack = true;
_local1.attachMovie("message_travoltaB", "message", 801);
player.gotoAndStop("pillget");
this.gotoAndStop(3);
}
};
MovieClip.prototype.npcLoad = function () {
var _local1 = this;
_local1._visible = false;
if (_local1.enemy) {
if ((_root[(nextMap + "_enemySpawn") + enemyNum] == null) || (_root[(nextMap + "_enemySpawn") + enemyNum] == 0)) {
_local1._parent.attachMovie(_local1.npc, "enemy" + enemyNum, _local1._y);
_local1._parent["enemy" + enemyNum]._x = _local1._x;
_local1._parent["enemy" + enemyNum]._y = _local1._y;
_local1._parent["enemy" + enemyNum].myNum = enemyNum;
enemyNum++;
}
} else {
_local1._parent.attachMovie(_local1.npc, "npc" + npcNum, _local1._y);
_local1._parent["npc" + npcNum]._x = _local1._x;
_local1._parent["npc" + npcNum]._y = _local1._y;
npcNum++;
}
};
MovieClip.prototype.toiletPower = function () {
if (this.hit.hitTest(_root.player)) {
if (key.isDown(32)) {
hud.power.gotoAndPlay(15);
player.gotoAndStop("powerUp");
}
}
};
MovieClip.prototype.distance = function (mc) {
if (typeof(mc) == "string") {
mc = eval (mc);
}
var temp = new Object();
temp.xdist = Math.abs(mc._x - this._x);
temp.distx = mc._x - this._x;
temp.disty = mc._y - this._y;
temp.distance = Math.round(Math.sqrt((temp.distx * temp.distx) + (temp.disty * temp.disty)));
return(temp);
};
onEnterFrame = function () {
var _local1 = _root;
if (!Key.isDown(32)) {
keyHit = false;
}
if (!gamePause) {
if (!screenChange) {
movement();
}
screenScroll();
doorCheck();
}
if (key.isDown(keyMenu)) {
if (((!_local1.talking) && (!_local1.gamePause)) && (!_local1.menuOpen)) {
hud.menu.play();
menuUpdate();
} else if (_local1.menuOpen) {
hud.menu.play();
}
}
locationX = player._x;
locationY = player._y;
elocationX = this[currentMap].enemy1._x + mapX;
elocationY = this[currentMap].enemy1._y + mapY;
};
gameStart();
_root.attachMovie("message_begin", "message", 801);
stop();
Frame 33
prevFrame();
Frame 35
removeStuff();
stop();
music.stop();
Frame 45
onEnterFrame = function () {
};
removeStuff();
stop();
Frame 55
endCard();
stop();
Frame 64
prevFrame();
Instance of Symbol 295 MovieClip in Frame 80
//component parameters
onClipEvent (initialize) {
npc = "hooker1";
enemy = false;
}
Symbol 12 Button
on (release) {
_root.restart();
}
Symbol 13 MovieClip [gameover] Frame 1
_root.music.stop();
Symbol 13 MovieClip [gameover] Frame 25
stop();
Symbol 16 MovieClip Frame 1
stop();
Symbol 19 MovieClip [travoltahealth] Frame 10
onEnterFrame = function () {
var _local1 = _root;
bar.gotoAndStop(_local1[_local1.currentMap].travolta.health + 1);
if (_local1[_local1.currentMap].travolta.health <= 0) {
this.removeMovieClip();
}
};
stop();
Symbol 34 MovieClip [coin2] Frame 1
coinCollect(45);
play();
Symbol 34 MovieClip [coin2] Frame 2
coinCollect(45);
gotoAndPlay (1);
Symbol 34 MovieClip [coin2] Frame 3
stop();
this.removeMovieClip();
Symbol 37 MovieClip [std] Frame 1
stdCollect();
play();
Symbol 37 MovieClip [std] Frame 2
stdCollect();
gotoAndPlay (1);
Symbol 37 MovieClip [std] Frame 3
stop();
this.removeMovieClip();
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 55
stop();
Symbol 49 MovieClip Frame 61
_root.play();
Symbol 49 MovieClip Frame 100
_root.play();
Symbol 90 MovieClip Frame 203
stop();
_root.play();
Symbol 100 Button
on (release) {
gotoAndStop ("intro");
}
Symbol 104 Button
on (release) {
gotoAndStop ("characters");
}
Symbol 106 Button
on (release) {
getURL ("http://www.liquidgeneration.com/s2f/emailbitch.aspx?/games/escape_scientologyland1.swf", "_blank");
}
Symbol 114 Button
on (release) {
getURL ("http://www.liquidgeneration.com/games/escape_scientologyland1.asp", "_blank");
}
Symbol 202 Button
on (release) {
play();
}
Symbol 245 MovieClip Frame 130
stop();
Symbol 245 MovieClip Frame 196
stop();
Symbol 245 MovieClip Frame 237
stop();
Symbol 245 MovieClip Frame 333
stop();
Symbol 245 MovieClip Frame 403
stop();
Symbol 245 MovieClip Frame 554
stop();
Symbol 245 MovieClip Frame 664
stop();
Symbol 245 MovieClip Frame 810
_root.gotoAndStop("game");
Symbol 247 MovieClip Frame 1
this._visible = false;
Symbol 268 MovieClip Frame 1
this._visible = false;
if (locked) {
stop();
} else {
gotoAndStop (2);
}
onEnterFrame = function () {
if (locked) {
lockCheck();
}
};
Symbol 268 MovieClip Frame 2
onEnterFrame = function () {
};
stop();
Instance of Symbol 268 MovieClip "down" in Symbol 269 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "orange";
}
Symbol 275 MovieClip [map0] Frame 1
if ((_root.currentFloor == 2) || (_root.currentFloor == 3)) {
_root.gradient._visible = false;
} else {
_root.gradient._visible = true;
}
Symbol 277 MovieClip Frame 1
this._visible = false;
Instance of Symbol 268 MovieClip "left" in Symbol 278 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "orange";
}
Symbol 289 MovieClip Frame 1
toiletPower();
Symbol 289 MovieClip Frame 2
toiletPower();
Symbol 295 MovieClip Frame 1
npcLoad();
Instance of Symbol 295 MovieClip in Symbol 296 MovieClip [map1] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "right" in Symbol 299 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "right";
locked = false;
keyName = "orange";
}
Instance of Symbol 295 MovieClip in Symbol 302 MovieClip [map2] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 302 MovieClip [map2] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "right" in Symbol 303 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "right";
locked = false;
keyName = "orange";
}
Instance of Symbol 295 MovieClip in Symbol 304 MovieClip [map3] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "right" in Symbol 305 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "right";
locked = false;
keyName = "orange";
}
Instance of Symbol 295 MovieClip in Symbol 306 MovieClip [map4] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "left" in Symbol 307 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "orange";
}
Instance of Symbol 295 MovieClip in Symbol 308 MovieClip [map6] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "left" in Symbol 309 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "orange";
}
Instance of Symbol 295 MovieClip in Symbol 310 MovieClip [map7] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "right" in Symbol 311 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "orange";
}
Instance of Symbol 295 MovieClip in Symbol 312 MovieClip [map8] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 312 MovieClip [map8] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "right" in Symbol 313 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "orange";
}
Instance of Symbol 295 MovieClip in Symbol 314 MovieClip [map9] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "right" in Symbol 315 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "orange";
}
Symbol 318 MovieClip Frame 1
stop();
onEnterFrame = function () {
_root.hayesTalk();
};
Symbol 319 MovieClip [map10] Frame 1
_root.currentFloor = 1;
if ((_root.currentFloor == 2) || (_root.currentFloor == 3)) {
_root.gradient._visible = false;
} else {
_root.gradient._visible = true;
}
Instance of Symbol 295 MovieClip in Symbol 319 MovieClip [map10] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 319 MovieClip [map10] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "right" in Symbol 320 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "orange";
}
Instance of Symbol 295 MovieClip in Symbol 321 MovieClip [map11] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "right" in Symbol 322 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "orange";
}
Instance of Symbol 295 MovieClip in Symbol 323 MovieClip [map12] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 323 MovieClip [map12] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "right" in Symbol 325 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "orange";
}
Instance of Symbol 295 MovieClip in Symbol 326 MovieClip [map13] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 326 MovieClip [map13] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "right" in Symbol 327 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "orange";
}
Instance of Symbol 295 MovieClip in Symbol 328 MovieClip [map14] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 328 MovieClip [map14] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "right" in Symbol 329 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "right";
locked = false;
keyName = "orange";
}
Instance of Symbol 295 MovieClip in Symbol 330 MovieClip [map15] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 330 MovieClip [map15] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 330 MovieClip [map15] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "right" in Symbol 332 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "orange";
}
Instance of Symbol 295 MovieClip in Symbol 333 MovieClip [map16] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 333 MovieClip [map16] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "right" in Symbol 335 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "orange";
}
Instance of Symbol 295 MovieClip in Symbol 336 MovieClip [map17] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 336 MovieClip [map17] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "right" in Symbol 341 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "orange";
}
Instance of Symbol 295 MovieClip in Symbol 342 MovieClip [map18] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "right" in Symbol 343 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "right";
locked = false;
keyName = "orange";
}
Instance of Symbol 295 MovieClip in Symbol 344 MovieClip [map19] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 344 MovieClip [map19] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "down" in Symbol 345 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = true;
keyName = "defaultValue";
}
Symbol 356 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 2
stop();
Symbol 358 MovieClip Frame 1
this._visible = false;
onEnterFrame = function () {
theStair();
};
Symbol 359 MovieClip [map20] Frame 1
if (_root.hayesTalked) {
down.gotoAndStop(2);
hit.down.gotoAndStop(2);
}
_root.currentFloor = 1;
if ((_root.currentFloor == 2) || (_root.currentFloor == 3)) {
_root.gradient._visible = false;
} else {
_root.gradient._visible = true;
}
Instance of Symbol 358 MovieClip in Symbol 359 MovieClip [map20] Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
}
Instance of Symbol 295 MovieClip in Symbol 359 MovieClip [map20] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 359 MovieClip [map20] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "up" in Symbol 361 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "orange";
}
Instance of Symbol 268 MovieClip "right" in Symbol 361 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "right";
locked = false;
keyName = "orange";
}
Instance of Symbol 268 MovieClip "left" in Symbol 361 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "orange";
}
Symbol 363 MovieClip Frame 1
this._visible = false;
onEnterFrame = function () {
theDoor();
};
Instance of Symbol 363 MovieClip in Symbol 364 MovieClip [mapH1] Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
}
Instance of Symbol 363 MovieClip in Symbol 364 MovieClip [mapH1] Frame 1
//component parameters
onClipEvent (initialize) {
dir = "right";
}
Instance of Symbol 268 MovieClip "right" in Symbol 370 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "right";
locked = false;
keyName = "orange";
}
Instance of Symbol 268 MovieClip "left" in Symbol 370 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "orange";
}
Instance of Symbol 363 MovieClip in Symbol 371 MovieClip [mapH2] Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
}
Instance of Symbol 363 MovieClip in Symbol 371 MovieClip [mapH2] Frame 1
//component parameters
onClipEvent (initialize) {
dir = "right";
}
Instance of Symbol 295 MovieClip in Symbol 371 MovieClip [mapH2] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "right" in Symbol 372 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "right";
locked = false;
keyName = "orange";
}
Instance of Symbol 268 MovieClip "left" in Symbol 372 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "orange";
}
Instance of Symbol 295 MovieClip in Symbol 373 MovieClip [mapH3] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 363 MovieClip in Symbol 373 MovieClip [mapH3] Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
}
Instance of Symbol 363 MovieClip in Symbol 373 MovieClip [mapH3] Frame 1
//component parameters
onClipEvent (initialize) {
dir = "right";
}
Instance of Symbol 268 MovieClip "right" in Symbol 374 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "orange";
}
Instance of Symbol 268 MovieClip "right" in Symbol 374 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "orange";
}
Instance of Symbol 268 MovieClip "right" in Symbol 374 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "orange";
}
Instance of Symbol 363 MovieClip in Symbol 375 MovieClip [mapH4] Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
}
Instance of Symbol 363 MovieClip in Symbol 375 MovieClip [mapH4] Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
}
Instance of Symbol 295 MovieClip in Symbol 375 MovieClip [mapH4] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "right" in Symbol 376 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "orange";
}
Instance of Symbol 268 MovieClip "right" in Symbol 376 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "orange";
}
Instance of Symbol 268 MovieClip "right" in Symbol 376 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "orange";
}
Instance of Symbol 363 MovieClip in Symbol 377 MovieClip [mapH5] Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
}
Instance of Symbol 363 MovieClip in Symbol 377 MovieClip [mapH5] Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
}
Instance of Symbol 295 MovieClip in Symbol 377 MovieClip [mapH5] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "right" in Symbol 378 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "orange";
}
Instance of Symbol 268 MovieClip "right" in Symbol 378 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "orange";
}
Instance of Symbol 268 MovieClip "right" in Symbol 378 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "orange";
}
Instance of Symbol 363 MovieClip in Symbol 379 MovieClip [mapH6] Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
}
Instance of Symbol 363 MovieClip in Symbol 379 MovieClip [mapH6] Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
}
Instance of Symbol 295 MovieClip in Symbol 379 MovieClip [mapH6] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "right" in Symbol 380 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "orange";
}
Instance of Symbol 268 MovieClip "right" in Symbol 380 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "right";
locked = false;
keyName = "orange";
}
Instance of Symbol 268 MovieClip "right" in Symbol 380 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "orange";
}
Instance of Symbol 363 MovieClip in Symbol 381 MovieClip [mapH7] Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
}
Instance of Symbol 363 MovieClip in Symbol 381 MovieClip [mapH7] Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
}
Instance of Symbol 295 MovieClip in Symbol 381 MovieClip [mapH7] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 398 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "defaultValue";
}
Symbol 413 MovieClip Frame 1
keyName = "blue";
slot = 0;
onEnterFrame = function () {
keyCollect();
};
stop();
Symbol 413 MovieClip Frame 2
onEnterFrame = function () {
};
stop();
Instance of Symbol 295 MovieClip in Symbol 414 MovieClip [mapD1] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 417 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 423 MovieClip [mapD2] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 423 MovieClip [mapD2] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 424 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 428 MovieClip [mapD3] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 428 MovieClip [mapD3] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 429 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 430 MovieClip [mapD4] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 430 MovieClip [mapD4] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 430 MovieClip [mapD4] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 430 MovieClip [mapD4] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 433 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 433 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 434 MovieClip [mapD5] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 434 MovieClip [mapD5] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 434 MovieClip [mapD5] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 435 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 435 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 435 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "defaultValue";
}
Symbol 440 MovieClip [mapD6] Frame 1
_root.currentFloor = 4;
if ((_root.currentFloor == 2) || (_root.currentFloor == 3)) {
_root.gradient._visible = false;
} else {
_root.gradient._visible = true;
}
Instance of Symbol 295 MovieClip in Symbol 440 MovieClip [mapD6] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 358 MovieClip in Symbol 440 MovieClip [mapD6] Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
}
Instance of Symbol 268 MovieClip in Symbol 441 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 441 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 444 MovieClip [mapD7] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 444 MovieClip [mapD7] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "down" in Symbol 445 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = true;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 445 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Symbol 450 MovieClip Frame 1
stop();
Symbol 450 MovieClip Frame 2
stop();
Instance of Symbol 295 MovieClip in Symbol 451 MovieClip [mapD8] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 451 MovieClip [mapD8] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 452 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 453 MovieClip [mapD9] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 453 MovieClip [mapD9] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 453 MovieClip [mapD9] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 455 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 457 MovieClip [mapD10] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 457 MovieClip [mapD10] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "up" in Symbol 458 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Symbol 461 MovieClip [hooker3] Frame 1
keyName = "girl3";
slot = 2;
itemDrop = false;
messageShow = false;
onEnterFrame = function () {
var _local1 = _root;
var _local2 = _parent;
if ((!_local1.alimonyGet) && (!itemDrop)) {
if (this.hitTest(_local1.player.hit) && (!messageShow)) {
_local1.attachMovie("message_girl3A", "message", 801);
messageShow = true;
}
if (_local1.death >= 3) {
_local2.attachMovie("alimony", "alimony", 333);
_local2.alimony._x = 150;
_local2.alimony._y = 150;
itemDrop = true;
}
} else if (_local1.alimonyGet) {
_local1.checkpoint = 4;
girlCollect();
}
};
stop();
Symbol 461 MovieClip [hooker3] Frame 2
onEnterFrame = function () {
};
stop();
Symbol 464 MovieClip [mapD11] Frame 1
stop();
_root.currentFloor = 4;
if ((_root.currentFloor == 2) || (_root.currentFloor == 3)) {
_root.gradient._visible = false;
} else {
_root.gradient._visible = true;
}
Symbol 464 MovieClip [mapD11] Frame 2
_root.fade.gotoAndPlay(1);
hit.up.gotoAndStop(1);
hit.up.locked = true;
Instance of Symbol 295 MovieClip in Symbol 464 MovieClip [mapD11] Frame 2
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 464 MovieClip [mapD11] Frame 2
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 464 MovieClip [mapD11] Frame 2
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Symbol 464 MovieClip [mapD11] Frame 3
hit.up.gotoAndStop(2);
hit.up.locked = false;
_root.currentFloor = 4;
if ((_root.currentFloor == 2) || (_root.currentFloor == 3)) {
_root.gradient._visible = false;
} else {
_root.gradient._visible = true;
}
Instance of Symbol 268 MovieClip "down" in Symbol 486 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Symbol 490 MovieClip [hooker1] Frame 1
keyName = "girl1";
slot = 0;
itemDrop = false;
messageShow = false;
onEnterFrame = function () {
var _local1 = _root;
var _local2 = _parent;
if ((!_local1.maltGet) && (!itemDrop)) {
if (this.hitTest(_local1.player) && (!messageShow)) {
_local1.attachMovie("message_girl1A", "message", 801);
messageShow = true;
}
if (_local1.death >= 3) {
_local2.attachMovie("malt", "malt", 333);
_local2.malt._x = 200;
_local2.malt._y = 200;
itemDrop = true;
}
} else if (_local1.maltGet) {
_local1.checkpoint = 2;
girlCollect();
}
};
stop();
Symbol 490 MovieClip [hooker1] Frame 2
onEnterFrame = function () {
};
stop();
Symbol 493 MovieClip [mapB1] Frame 1
stop();
Symbol 493 MovieClip [mapB1] Frame 2
_root.fade.gotoAndPlay(1);
hit.down.gotoAndStop(1);
hit.down.locked = true;
Instance of Symbol 295 MovieClip in Symbol 493 MovieClip [mapB1] Frame 2
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 493 MovieClip [mapB1] Frame 2
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 493 MovieClip [mapB1] Frame 2
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Symbol 493 MovieClip [mapB1] Frame 3
hit.down.gotoAndStop(2);
hit.down.locked = false;
Instance of Symbol 268 MovieClip in Symbol 512 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "defaultValue";
}
Symbol 523 MovieClip Frame 1
keyName = "purple";
slot = 4;
onEnterFrame = function () {
keyCollect();
};
stop();
Symbol 523 MovieClip Frame 2
onEnterFrame = function () {
};
stop();
Instance of Symbol 295 MovieClip in Symbol 524 MovieClip [mapB2] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 524 MovieClip [mapB2] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 524 MovieClip [mapB2] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 524 MovieClip [mapB2] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 529 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 530 MovieClip [mapB3] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 530 MovieClip [mapB3] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 533 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 533 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Symbol 536 MovieClip [mapB4] Frame 1
_root.currentFloor = 2;
if ((_root.currentFloor == 2) || (_root.currentFloor == 3)) {
_root.gradient._visible = false;
} else {
_root.gradient._visible = true;
}
Instance of Symbol 358 MovieClip in Symbol 536 MovieClip [mapB4] Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
}
Instance of Symbol 295 MovieClip in Symbol 536 MovieClip [mapB4] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 539 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Symbol 542 MovieClip [mapB5] Frame 1
_root.currentFloor = 2;
if ((_root.currentFloor == 2) || (_root.currentFloor == 3)) {
_root.gradient._visible = false;
} else {
_root.gradient._visible = true;
}
Instance of Symbol 358 MovieClip in Symbol 542 MovieClip [mapB5] Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
}
Instance of Symbol 295 MovieClip in Symbol 542 MovieClip [mapB5] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 542 MovieClip [mapB5] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip "up" in Symbol 547 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = true;
keyName = "defaultValue";
}
Symbol 552 MovieClip Frame 1
stop();
Symbol 552 MovieClip Frame 2
stop();
Instance of Symbol 295 MovieClip in Symbol 553 MovieClip [mapB6] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 553 MovieClip [mapB6] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 553 MovieClip [mapB6] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 554 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 555 MovieClip [mapB7] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 555 MovieClip [mapB7] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 556 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 557 MovieClip [mapB8] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 557 MovieClip [mapB8] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 557 MovieClip [mapB8] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 557 MovieClip [mapB8] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 560 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 560 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 563 MovieClip [mapB9] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 563 MovieClip [mapB9] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 566 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 566 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 566 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 566 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 567 MovieClip [mapB10] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 567 MovieClip [mapB10] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 567 MovieClip [mapB10] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 568 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 568 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "right";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 569 MovieClip [mapB11] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 569 MovieClip [mapB11] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 569 MovieClip [mapB11] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 572 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 572 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 573 MovieClip [mapB12] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Symbol 580 MovieClip Frame 1
stop();
Symbol 580 MovieClip Frame 27
_parent.travolta.gotoAndStop("dance");
stop();
Instance of Symbol 268 MovieClip "left" in Symbol 583 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip "right" in Symbol 583 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Symbol 588 MovieClip Frame 1
this._visible = false;
Symbol 592 MovieClip Frame 40
if (_parent.loops <= 3) {
_parent.gotoAndStop("attack");
} else {
_parent.gotoAndStop("attack2");
}
Symbol 624 MovieClip Frame 1
_parent.loops = _parent.loops + 1;
Instance of Symbol 623 MovieClip "extend1" in Symbol 624 MovieClip Frame 7
onClipEvent (load) {
var dirx = (_root.player._x - ((_parent._parent._x + this._x) + _root.mapX));
var diry = ((_root.player._y - 10) - ((_parent._parent._y + this._y) + _root.mapY));
var angle = Math.atan2(diry, dirx);
this._rotation = (angle * 180) / Math.PI;
}
onClipEvent (enterFrame) {
dreadAttack();
}
Instance of Symbol 623 MovieClip "extend2" in Symbol 624 MovieClip Frame 7
onClipEvent (load) {
var dirx = (_root.player._x - ((_parent._parent._x + this._x) + _root.mapX));
var diry = ((_root.player._y - 10) - ((_parent._parent._y + this._y) + _root.mapY));
var angle = Math.atan2(diry, dirx);
this._rotation = (angle * 180) / Math.PI;
}
onClipEvent (enterFrame) {
dreadAttack();
}
Symbol 624 MovieClip Frame 50
_parent.gotoAndStop("stand");
Symbol 625 MovieClip Frame 1
_parent.loops = 0;
Instance of Symbol 623 MovieClip "extend" in Symbol 625 MovieClip Frame 7
onClipEvent (load) {
this._rotation = 120;
}
onClipEvent (enterFrame) {
dreadAttack();
}
Instance of Symbol 623 MovieClip "extend1" in Symbol 625 MovieClip Frame 7
onClipEvent (load) {
var dirx = (_root.player._x - ((_parent._parent._x + this._x) + _root.mapX));
var diry = (_root.player._y - ((_parent._parent._y + this._y) + _root.mapY));
var angle = Math.atan2(diry, dirx);
this._rotation = 60;
}
onClipEvent (enterFrame) {
dreadAttack();
}
Instance of Symbol 623 MovieClip "extend2" in Symbol 625 MovieClip Frame 7
onClipEvent (load) {
var dirx = (_root.player._x - ((_parent._parent._x + this._x) + _root.mapX));
var diry = (_root.player._y - ((_parent._parent._y + this._y) + _root.mapY));
var angle = Math.atan2(diry, dirx);
this._rotation = 90;
}
onClipEvent (enterFrame) {
dreadAttack();
}
Instance of Symbol 623 MovieClip "extend3" in Symbol 625 MovieClip Frame 7
onClipEvent (load) {
this._rotation = 90;
}
onClipEvent (enterFrame) {
dreadAttack();
}
Symbol 625 MovieClip Frame 50
_parent._parent.disco.play();
_parent.gotoAndStop("transform");
stop();
Symbol 646 MovieClip Frame 118
_parent._parent.disco.gotoAndPlay("out");
_parent.gotoAndStop("stand");
Symbol 651 MovieClip Frame 14
_parent.health = _parent.health - 1;
if (_parent.health <= 0) {
_parent.gotoAndStop("die");
_parent._parent.disco.gotoAndPlay("out");
} else {
_parent._parent.disco.gotoAndPlay("out");
_parent.gotoAndStop("stand");
}
Symbol 654 MovieClip Frame 65
_root.travoltaDead = true;
_parent._parent.attachMovie("pills", "pills", 339);
_parent._parent.pills._x = 250;
_parent._parent.pills._y = 130;
stop();
Symbol 655 MovieClip Frame 1
health = 4;
loops = 0;
dance = false;
stop();
Instance of Symbol 588 MovieClip "hit" in Symbol 655 MovieClip Frame 1
onClipEvent (enterFrame) {
this.dreadAttack();
}
Symbol 655 MovieClip Frame 2
dance = false;
_root.music.stop();
_root.music.attachSound("music_boss");
_root.music.start(0, 999);
_root.music.setVolume(_root.musicVol);
Instance of Symbol 588 MovieClip "hit" in Symbol 655 MovieClip Frame 25
onClipEvent (enterFrame) {
_root.travoltaHurt();
}
Symbol 655 MovieClip Frame 37
dance = true;
_root.music.stop();
_root.music.attachSound("music_disco");
_root.music.start(0, 999);
_root.music.setVolume(_root.musicVol);
Symbol 656 MovieClip [mapB13] Frame 1
stop();
if (_root.travoltaDead) {
gotoAndStop (3);
}
Instance of Symbol 277 MovieClip in Symbol 656 MovieClip [mapB13] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if ((_root.inventory[3] == "gold") && (!_root.travoltaFight)) {
_root.travoltaFight = true;
_root.fade.gotoAndPlay(1);
_parent.play();
}
}
}
Symbol 656 MovieClip [mapB13] Frame 2
_root.fade.gotoAndPlay(1);
hit.left.gotoAndStop(1);
hit.left.locked = true;
hit.right.gotoAndStop(1);
hit.right.locked = true;
_root.attachMovie("message_travoltaA", "message", 801);
stop();
Symbol 656 MovieClip [mapB13] Frame 3
hit.right.gotoAndStop(2);
hit.right.locked = false;
hit.left.gotoAndStop(1);
hit.left.locked = true;
disco.gotoAndStop("out");
_root.music.stop();
stop();
Instance of Symbol 268 MovieClip "up" in Symbol 659 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 659 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip "right" in Symbol 659 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip "down" in Symbol 659 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = true;
keyName = "gold";
}
Symbol 664 MovieClip Frame 1
stop();
Symbol 664 MovieClip Frame 2
stop();
Symbol 665 MovieClip [mapB14] Frame 1
if (_root.travoltaDead) {
gotoAndStop (3);
}
Symbol 665 MovieClip [mapB14] Frame 2
stop();
Instance of Symbol 295 MovieClip in Symbol 665 MovieClip [mapB14] Frame 2
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 665 MovieClip [mapB14] Frame 2
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 665 MovieClip [mapB14] Frame 2
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Symbol 665 MovieClip [mapB14] Frame 3
hit.up.gotoAndStop(1);
hit.up.locked = true;
hit.right.gotoAndStop(1);
hit.right.locked = true;
stop();
Instance of Symbol 277 MovieClip in Symbol 665 MovieClip [mapB14] Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hit)) {
_root.gotoAndStop("ending");
}
}
Instance of Symbol 268 MovieClip in Symbol 668 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 668 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 668 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 669 MovieClip [mapB15] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 669 MovieClip [mapB15] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 669 MovieClip [mapB15] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 669 MovieClip [mapB15] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 675 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 678 MovieClip [mapB16] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 678 MovieClip [mapB16] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 690 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 690 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "defaultValue";
}
Symbol 695 MovieClip [mapC1] Frame 1
_root.currentFloor = 3;
if ((_root.currentFloor == 2) || (_root.currentFloor == 3)) {
_root.gradient._visible = false;
} else {
_root.gradient._visible = true;
}
Instance of Symbol 295 MovieClip in Symbol 695 MovieClip [mapC1] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 695 MovieClip [mapC1] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 695 MovieClip [mapC1] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 358 MovieClip in Symbol 695 MovieClip [mapC1] Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
}
Instance of Symbol 268 MovieClip "down" in Symbol 709 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "defaultValue";
}
Symbol 711 MovieClip [hooker2] Frame 1
keyName = "girl2";
slot = 1;
itemDrop = false;
messageShow = false;
onEnterFrame = function () {
var _local1 = _root;
var _local2 = _parent;
if ((!_local1.stdGet) && (!itemDrop)) {
if (this.hitTest(_local1.player.hit) && (!messageShow)) {
_local1.attachMovie("message_girl2A", "message", 801);
messageShow = true;
}
if (_local1.death >= 2) {
_local2.attachMovie("std", "std", 333);
_local2.std._x = 350;
_local2.std._y = 150;
itemDrop = true;
}
} else if (_local1.stdGet) {
_local1.checkpoint = 3;
girlCollect();
}
};
stop();
Symbol 711 MovieClip [hooker2] Frame 2
onEnterFrame = function () {
};
stop();
Symbol 716 MovieClip [mapC2] Frame 1
stop();
Symbol 716 MovieClip [mapC2] Frame 2
_root.fade.gotoAndPlay(1);
hit.down.gotoAndStop(1);
hit.down.locked = true;
Instance of Symbol 295 MovieClip in Symbol 716 MovieClip [mapC2] Frame 2
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 716 MovieClip [mapC2] Frame 2
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Symbol 716 MovieClip [mapC2] Frame 3
hit.down.gotoAndStop(2);
hit.down.locked = false;
Instance of Symbol 268 MovieClip in Symbol 717 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Symbol 718 MovieClip Frame 1
keyName = "green";
slot = 1;
onEnterFrame = function () {
keyCollect();
};
stop();
Symbol 718 MovieClip Frame 2
onEnterFrame = function () {
};
stop();
Instance of Symbol 295 MovieClip in Symbol 719 MovieClip [mapC3] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 719 MovieClip [mapC3] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 720 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 720 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 720 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 721 MovieClip [mapC4] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 721 MovieClip [mapC4] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 722 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 722 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "defaultValue";
}
Symbol 723 MovieClip [mapC5] Frame 1
_root.currentFloor = 3;
Instance of Symbol 295 MovieClip in Symbol 723 MovieClip [mapC5] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 723 MovieClip [mapC5] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Symbol 728 MovieClip Frame 1
stop();
Symbol 728 MovieClip Frame 2
stop();
Instance of Symbol 268 MovieClip "up" in Symbol 729 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = true;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 729 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 730 MovieClip [mapC6] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 730 MovieClip [mapC6] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 730 MovieClip [mapC6] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 731 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 731 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 732 MovieClip [mapC7] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 732 MovieClip [mapC7] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 733 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 733 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 733 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 734 MovieClip [mapC8] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 734 MovieClip [mapC8] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 734 MovieClip [mapC8] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 735 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip "up" in Symbol 735 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = true;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 736 MovieClip [mapC9] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 736 MovieClip [mapC9] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 737 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 738 MovieClip [mapC10] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 738 MovieClip [mapC10] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 738 MovieClip [mapC10] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 739 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 739 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "right";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 740 MovieClip [mapC11] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 740 MovieClip [mapC11] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 741 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 741 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 741 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 742 MovieClip [mapC12] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 742 MovieClip [mapC12] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 743 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 743 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 743 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 743 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Symbol 746 MovieClip [mapC13] Frame 1
_root.currentFloor = 3;
Instance of Symbol 358 MovieClip in Symbol 746 MovieClip [mapC13] Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
}
Instance of Symbol 295 MovieClip in Symbol 746 MovieClip [mapC13] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 746 MovieClip [mapC13] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 747 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 747 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 748 MovieClip [mapC14] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 748 MovieClip [mapC14] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 749 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 750 MovieClip [mapC15] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 751 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 751 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 752 MovieClip [mapC16] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 752 MovieClip [mapC16] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 752 MovieClip [mapC16] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 753 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "down";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 753 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 754 MovieClip [mapC17] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 754 MovieClip [mapC17] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 754 MovieClip [mapC17] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 757 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 758 MovieClip [mapC18] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 758 MovieClip [mapC18] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 759 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Symbol 762 MovieClip Frame 1
keyName = "red";
slot = 2;
onEnterFrame = function () {
keyCollect();
};
stop();
Symbol 762 MovieClip Frame 2
onEnterFrame = function () {
};
stop();
Instance of Symbol 295 MovieClip in Symbol 763 MovieClip [mapC19] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 763 MovieClip [mapC19] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "robot";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 764 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip "left" in Symbol 764 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = true;
keyName = "\"green\"";
}
Symbol 769 MovieClip Frame 1
stop();
Symbol 769 MovieClip Frame 2
stop();
Instance of Symbol 295 MovieClip in Symbol 770 MovieClip [mapC20] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 268 MovieClip in Symbol 771 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "up";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 268 MovieClip in Symbol 771 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dir = "left";
locked = false;
keyName = "defaultValue";
}
Instance of Symbol 295 MovieClip in Symbol 772 MovieClip [mapC21] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 772 MovieClip [mapC21] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Instance of Symbol 295 MovieClip in Symbol 772 MovieClip [mapC21] Frame 1
//component parameters
onClipEvent (initialize) {
npc = "mib";
enemy = true;
}
Symbol 773 MovieClip Frame 1
if (!_root.gamePause) {
_parent.brain();
}
Symbol 773 MovieClip Frame 2
if (!_root.gamePause) {
_parent.brain();
}
Symbol 788 MovieClip Frame 4
_parent.hurt = false;
_parent.attack = false;
_parent.gotoAndStop("standDown");
Symbol 789 MovieClip Frame 4
_parent.hurt = false;
_parent.attack = false;
_parent.gotoAndStop("standRight");
Symbol 790 MovieClip Frame 4
_root.hurt = false;
_root.attack = false;
_parent.gotoAndStop("standUp");
Symbol 791 MovieClip Frame 4
_parent.hurt = false;
_parent.attack = false;
_parent.gotoAndStop("standLeft");
Symbol 792 MovieClip Frame 1
_parent.moveDown();
Symbol 792 MovieClip Frame 2
_parent.moveDown();
_parent.moveDown();
Symbol 792 MovieClip Frame 3
_parent.moveDown();
_parent.moveDown();
Symbol 792 MovieClip Frame 4
_parent.moveDown();
Symbol 792 MovieClip Frame 8
_parent.attack = false;
_parent.gotoAndStop("standDown");
Symbol 797 MovieClip Frame 1
_parent.moveRight();
Symbol 797 MovieClip Frame 2
_parent.moveRight();
_parent.moveRight();
Symbol 797 MovieClip Frame 3
_parent.moveRight();
_parent.moveRight();
Symbol 797 MovieClip Frame 4
_parent.moveRight();
Symbol 797 MovieClip Frame 8
_parent.attack = false;
_parent.gotoAndStop("standRight");
Symbol 802 MovieClip Frame 1
_parent.moveUp();
Symbol 802 MovieClip Frame 2
_parent.moveUp();
_parent.moveUp();
Symbol 802 MovieClip Frame 3
_parent.moveUp();
_parent.moveUp();
Symbol 802 MovieClip Frame 4
_parent.moveUp();
Symbol 802 MovieClip Frame 8
_parent.attack = false;
_parent.gotoAndStop("standUp");
Symbol 803 MovieClip Frame 1
_parent.moveLeft();
Symbol 803 MovieClip Frame 2
_parent.moveLeft();
_parent.moveLeft();
Symbol 803 MovieClip Frame 3
_parent.moveLeft();
_parent.moveLeft();
Symbol 803 MovieClip Frame 4
_parent.moveLeft();
Symbol 803 MovieClip Frame 8
_parent.attack = false;
_parent.gotoAndStop("standLeft");
Symbol 816 MovieClip Frame 7
_root.death++;
_parent.removeMovieClip();
Symbol 818 MovieClip [mib] Frame 1
function moveLeft() {
var _local1 = this;
var _local2 = _root;
var _local3 = _parent;
facing = "left";
if ((_local1._x + _local2.mapX) > 50) {
if ((!_local3.hit.hitTest((_local1._x + _local2.mapX) - 10, (_local1._y + _local2.mapY) - 3, true)) && (!_local3.hit.hitTest((_local1._x + _local2.mapX) - 10, (_local1._y + _local2.mapY) - 3, true))) {
_local1._x = _local1._x - enemySpeed;
} else if (!_local3.hit.hitTest((_local1._x + _local2.mapX) - 10, (_local1._y + _local2.mapY) - 3, true)) {
_local1._y = _local1._y + enemySpeed;
} else if (!_local3.hit.hitTest((_local1._x + _local2.mapX) - 10, (_local1._y + _local2.mapY) - 25, true)) {
_local1._y = _local1._y - enemySpeed;
}
}
}
function moveRight() {
var _local1 = this;
var _local2 = _root;
var _local3 = _parent;
facing = "right";
if ((_local1._x + _local2.mapX) < 500) {
if ((!_local3.hit.hitTest((_local1._x + _local2.mapX) + 10, (_local1._y + _local2.mapY) - 3, true)) && (!_local3.hit.hitTest((_local1._x + _local2.mapX) + 10, (_local1._y + _local2.mapY) - 3, true))) {
_local1._x = _local1._x + enemySpeed;
} else if (!_local3.hit.hitTest((_local1._x + _local2.mapX) + 10, (_local1._y + _local2.mapY) - 3, true)) {
_local1._y = _local1._y + enemySpeed;
} else if (!_local3.hit.hitTest((_local1._x + _local2.mapX) + 10, (_local1._y + _local2.mapY) - 25, true)) {
_local1._y = _local1._y - enemySpeed;
}
}
}
function moveUp() {
var _local1 = this;
var _local2 = _root;
var _local3 = _parent;
_local1.swapDepths(_local1._y + _local2.mapY);
facing = "up";
if ((_local1._y + _local2.mapY) > 110) {
if ((!_local3.hit.hitTest((_local1._x + _local2.mapX) - 10, (_local1._y + _local2.mapY) - 15, true)) && (!_local3.hit.hitTest((_local1._x + _local2.mapX) + 10, (_local1._y + _local2.mapY) - 15, true))) {
_local1._y = _local1._y - enemySpeed;
} else if (!_local3.hit.hitTest((_local1._x + _local2.mapX) - 15, (_local1._y + _local2.mapY) - 15, true)) {
_local1._x = _local1._x - enemySpeed;
} else if (!_local3.hit.hitTest((_local1._x + _local2.mapX) + 15, (_local1._y + _local2.mapY) - 15, true)) {
_local1._x = _local1._x + enemySpeed;
}
}
}
function moveDown() {
var _local1 = this;
var _local2 = _root;
var _local3 = _parent;
_local1.swapDepths(_local1._y + _local2.mapY);
facing = "down";
if ((_local1._y + _local2.mapY) < 335) {
if ((!_local3.hit.hitTest((_local1._x + _local2.mapX) - 10, (_local1._y + _local2.mapY) + 1, true)) && (!_local3.hit.hitTest((_local1._x + _local2.mapX) + 10, (_local1._y + _local2.mapY) + 1, true))) {
_local1._y = _local1._y + enemySpeed;
} else if (!_local3.hit.hitTest((_local1._x + _local2.mapX) - 15, (_local1._y + _local2.mapY) + 1, true)) {
_local1._x = _local1._x - enemySpeed;
} else if (!_local3.hit.hitTest((_local1._x + _local2.mapX) + 15, (_local1._y + _local2.mapY) + 1, true)) {
_local1._x = _local1._x + enemySpeed;
}
}
}
function brain() {
var _local1 = _root;
var _local2 = this;
if (!_local1.screenChange) {
if (!attack) {
if (dir == "up") {
if (aim.hitTest(_local1.player)) {
attack = true;
gotoAndStop ("attackUp");
} else {
moveUp();
gotoAndStop ("walkUp");
}
} else if (dir == "down") {
if (aim.hitTest(_local1.player)) {
attack = true;
gotoAndStop ("attackDown");
} else {
moveDown();
gotoAndStop ("walkDown");
}
} else if (dir == "left") {
if (aim.hitTest(_local1.player)) {
attack = true;
gotoAndStop ("attackLeft");
} else {
moveLeft();
gotoAndStop ("walkLeft");
}
} else if (dir == "right") {
if (aim.hitTest(_local1.player)) {
attack = true;
gotoAndStop ("attackRight");
} else {
moveRight();
gotoAndStop ("walkRight");
}
}
}
if (health <= 0) {
_local1[(_local1.currentMap + "_enemySpawn") + myNum] = 2;
gotoAndStop ("die");
}
if (attackMode == 1) {
if (timer == (20 - timePlus)) {
dir = directions[random(4)];
timer++;
} else if (timer >= 50) {
dir = "none";
if (facing == "up") {
gotoAndStop ("standUp");
} else if (facing == "down") {
gotoAndStop ("standDown");
} else if (facing == "left") {
gotoAndStop ("standLeft");
} else if (facing == "right") {
gotoAndStop ("standright");
}
timer = 0;
timePlus = random(20);
} else {
timer++;
}
} else {
if ((_local2._x + _local1.mapX) > (_local1.player._x + 10)) {
dir = "left";
} else if ((_local2._x + _local1.mapX) < (_local1.player._x - 10)) {
dir = "right";
}
if ((_local2._y + _local1.mapY) > (_local1.player._y + 10)) {
dir = "up";
} else if ((_local2._y + _local1.mapY) < (_local1.player._y - 10)) {
dir = "down";
}
}
}
}
directions = ["up", "down", "left", "right"];
dir = "none";
enemySpeed = 3;
timePlus = 10;
health = 3;
hurt = false;
attackMode = 1 + random(2);
Symbol 818 MovieClip [mib] Frame 2
attack = false;
hurt = false;
stop();
Symbol 818 MovieClip [mib] Frame 9
hurt = false;
attack = false;
Symbol 818 MovieClip [mib] Frame 17
hurt = false;
attack = false;
Symbol 818 MovieClip [mib] Frame 24
hurt = false;
attack = false;
Symbol 818 MovieClip [mib] Frame 31
hurt = false;
Symbol 818 MovieClip [mib] Frame 39
hurt = false;
Symbol 818 MovieClip [mib] Frame 47
hurt = false;
Symbol 818 MovieClip [mib] Frame 54
hurt = false;
Symbol 818 MovieClip [mib] Frame 119
itemDrop();
Symbol 834 MovieClip Frame 8
_parent.hurt = false;
_parent.attack = false;
_parent.gotoAndStop("standRight");
Instance of Symbol 588 MovieClip "aim3" in Symbol 835 MovieClip Frame 3
onClipEvent (enterFrame) {
botAttack();
}
Symbol 835 MovieClip Frame 50
_parent.gotoAndStop("standDown");
Instance of Symbol 588 MovieClip "aim3" in Symbol 842 MovieClip Frame 3
onClipEvent (enterFrame) {
botAttack();
}
Symbol 842 MovieClip Frame 50
_parent.gotoAndStop("standRight");
Instance of Symbol 588 MovieClip "aim3" in Symbol 849 MovieClip Frame 3
onClipEvent (enterFrame) {
botAttack();
}
Symbol 849 MovieClip Frame 50
_parent.gotoAndStop("standUp");
Instance of Symbol 588 MovieClip "aim3" in Symbol 850 MovieClip Frame 3
onClipEvent (enterFrame) {
botAttack();
}
Symbol 850 MovieClip Frame 50
_parent.gotoAndStop("standLeft");
Symbol 852 MovieClip [robot] Frame 1
function moveLeft() {
var _local1 = this;
var _local2 = _root;
var _local3 = _parent;
facing = "left";
if ((_local1._x + _local2.mapX) > 50) {
if ((!_local3.hit.hitTest((_local1._x + _local2.mapX) - 10, (_local1._y + _local2.mapY) - 3, true)) && (!_local3.hit.hitTest((_local1._x + _local2.mapX) - 10, (_local1._y + _local2.mapY) - 3, true))) {
_local1._x = _local1._x - enemySpeed;
} else if (!_local3.hit.hitTest((_local1._x + _local2.mapX) - 10, (_local1._y + _local2.mapY) - 3, true)) {
_local1._y = _local1._y + enemySpeed;
} else if (!_local3.hit.hitTest((_local1._x + _local2.mapX) - 10, (_local1._y + _local2.mapY) - 25, true)) {
_local1._y = _local1._y - enemySpeed;
}
}
}
function moveRight() {
var _local1 = this;
var _local2 = _root;
var _local3 = _parent;
facing = "right";
if ((_local1._x + _local2.mapX) < 500) {
if ((!_local3.hit.hitTest((_local1._x + _local2.mapX) + 10, (_local1._y + _local2.mapY) - 3, true)) && (!_local3.hit.hitTest((_local1._x + _local2.mapX) + 10, (_local1._y + _local2.mapY) - 3, true))) {
_local1._x = _local1._x + enemySpeed;
} else if (!_local3.hit.hitTest((_local1._x + _local2.mapX) + 10, (_local1._y + _local2.mapY) - 3, true)) {
_local1._y = _local1._y + enemySpeed;
} else if (!_local3.hit.hitTest((_local1._x + _local2.mapX) + 10, (_local1._y + _local2.mapY) - 25, true)) {
_local1._y = _local1._y - enemySpeed;
}
}
}
function moveUp() {
var _local1 = this;
var _local2 = _root;
var _local3 = _parent;
_local1.swapDepths(_local1._y + _local2.mapY);
facing = "up";
if ((_local1._y + _local2.mapY) > 110) {
if ((!_local3.hit.hitTest((_local1._x + _local2.mapX) - 10, (_local1._y + _local2.mapY) - 15, true)) && (!_local3.hit.hitTest((_local1._x + _local2.mapX) + 10, (_local1._y + _local2.mapY) - 15, true))) {
_local1._y = _local1._y - enemySpeed;
} else if (!_local3.hit.hitTest((_local1._x + _local2.mapX) - 15, (_local1._y + _local2.mapY) - 15, true)) {
_local1._x = _local1._x - enemySpeed;
} else if (!_local3.hit.hitTest((_local1._x + _local2.mapX) + 15, (_local1._y + _local2.mapY) - 15, true)) {
_local1._x = _local1._x + enemySpeed;
}
}
}
function moveDown() {
var _local1 = this;
var _local2 = _root;
var _local3 = _parent;
_local1.swapDepths(_local1._y + _local2.mapY);
facing = "down";
if ((_local1._y + _local2.mapY) < 335) {
if ((!_local3.hit.hitTest((_local1._x + _local2.mapX) - 10, (_local1._y + _local2.mapY) + 1, true)) && (!_local3.hit.hitTest((_local1._x + _local2.mapX) + 10, (_local1._y + _local2.mapY) + 1, true))) {
_local1._y = _local1._y + enemySpeed;
} else if (!_local3.hit.hitTest((_local1._x + _local2.mapX) - 15, (_local1._y + _local2.mapY) + 1, true)) {
_local1._x = _local1._x - enemySpeed;
} else if (!_local3.hit.hitTest((_local1._x + _local2.mapX) + 15, (_local1._y + _local2.mapY) + 1, true)) {
_local1._x = _local1._x + enemySpeed;
}
}
}
function aiming() {
var _local1 = _root;
if (aim1.hitTest(_local1.player)) {
gotoAndStop ("attackLeft");
} else if (aim2.hitTest(_local1.player)) {
gotoAndStop ("attackUp");
} else if (aim3.hitTest(_local1.player)) {
gotoAndStop ("attackRight");
} else if (aim4.hitTest(_local1.player)) {
gotoAndStop ("attackDown");
}
}
function brain() {
var _local1 = _root;
var _local2 = this;
if (!_local1.screenChange) {
if (dir == "up") {
moveUp();
gotoAndStop ("walkUp");
} else if (dir == "down") {
moveDown();
gotoAndStop ("walkDown");
} else if (dir == "left") {
moveLeft();
gotoAndStop ("walkLeft");
} else if (dir == "right") {
moveRight();
gotoAndStop ("walkRight");
}
if (health <= 0) {
gotoAndStop ("die");
}
if (attackMode == 1) {
if (timer == (20 - timePlus)) {
dir = directions[random(4)];
timer++;
} else if (timer >= 40) {
dir = "none";
if (facing == "up") {
gotoAndStop ("standUp");
} else if (facing == "down") {
gotoAndStop ("standDown");
} else if (facing == "left") {
gotoAndStop ("standLeft");
} else if (facing == "right") {
gotoAndStop ("standright");
}
timer = 0;
timePlus = random(20);
} else {
timer++;
}
} else {
if ((_local2._x + _local1.mapX) > (_local1.player._x + 10)) {
dir = "left";
} else if ((_local2._x + _local1.mapX) < (_local1.player._x - 10)) {
dir = "right";
}
if ((_local2._y + _local1.mapY) > (_local1.player._y + 10)) {
dir = "up";
} else if ((_local2._y + _local1.mapY) < (_local1.player._y - 10)) {
dir = "down";
}
}
}
}
directions = ["up", "down", "left", "right"];
dir = "none";
enemySpeed = 3;
timePlus = 10;
health = 5;
hurt = false;
attackMode = 1 + random(2);
Instance of Symbol 588 MovieClip "aim4" in Symbol 852 MovieClip [robot] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && (random(15) == 0)) {
_parent.gotoAndStop("attackDown");
}
}
Instance of Symbol 588 MovieClip "aim3" in Symbol 852 MovieClip [robot] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && (random(15) == 0)) {
_parent.gotoAndStop("attackRight");
}
}
Instance of Symbol 588 MovieClip "aim2" in Symbol 852 MovieClip [robot] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && (random(15) == 0)) {
_parent.gotoAndStop("attackUp");
}
}
Instance of Symbol 588 MovieClip "aim1" in Symbol 852 MovieClip [robot] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && (random(15) == 0)) {
_parent.gotoAndStop("attackLeft");
}
}
Symbol 852 MovieClip [robot] Frame 2
hurt = false;
stop();
Symbol 852 MovieClip [robot] Frame 9
hurt = false;
Symbol 852 MovieClip [robot] Frame 17
hurt = false;
Symbol 852 MovieClip [robot] Frame 24
hurt = false;
Symbol 852 MovieClip [robot] Frame 31
hurt = false;
Symbol 852 MovieClip [robot] Frame 39
hurt = false;
Symbol 852 MovieClip [robot] Frame 47
hurt = false;
Symbol 852 MovieClip [robot] Frame 54
hurt = false;
Symbol 852 MovieClip [robot] Frame 124
itemDrop();
Symbol 867 MovieClip [hayesMessage1] Frame 1
_root[currentMap].hayes.gotoAndStop(2);
_root.gamePause = true;
_root.talking = true;
Symbol 867 MovieClip [hayesMessage1] Frame 418
_root[currentMap].hayes.gotoAndStop(1);
_root.gamePause = false;
_root.talking = false;
this.removeMovieClip();
Symbol 870 MovieClip [message_purple] Frame 1
_root[currentMap].hayes.gotoAndStop(2);
_root.gamePause = true;
Symbol 870 MovieClip [message_purple] Frame 80
_root[currentMap].hayes.gotoAndStop(1);
_root.gamePause = false;
this.removeMovieClip();
Symbol 884 MovieClip [coin] Frame 1
coinCollect(15);
play();
Symbol 884 MovieClip [coin] Frame 2
coinCollect(15);
gotoAndPlay (1);
Symbol 884 MovieClip [coin] Frame 3
stop();
this.removeMovieClip();
Symbol 888 MovieClip [heart] Frame 1
heartCollect();
play();
Symbol 888 MovieClip [heart] Frame 2
heartCollect();
gotoAndPlay (1);
Symbol 888 MovieClip [heart] Frame 3
stop();
this.removeMovieClip();
Symbol 891 MovieClip [goldKey] Frame 1
keyName = "gold";
slot = 3;
onEnterFrame = function () {
keyCollect();
};
stop();
Symbol 891 MovieClip [goldKey] Frame 2
onEnterFrame = function () {
};
stop();
Symbol 894 MovieClip [malt] Frame 1
maltCollect();
play();
Symbol 894 MovieClip [malt] Frame 2
maltCollect();
gotoAndPlay (1);
Symbol 894 MovieClip [malt] Frame 3
stop();
this.removeMovieClip();
Symbol 897 MovieClip [alimony] Frame 1
alimonyCollect();
play();
Symbol 897 MovieClip [alimony] Frame 2
alimonyCollect();
gotoAndPlay (1);
Symbol 897 MovieClip [alimony] Frame 3
stop();
this.removeMovieClip();
Symbol 900 MovieClip [pills] Frame 1
pillCollect();
play();
Symbol 900 MovieClip [pills] Frame 2
pillCollect();
gotoAndPlay (1);
Symbol 900 MovieClip [pills] Frame 3
stop();
this.removeMovieClip();
Symbol 901 MovieClip Frame 1
stop();
Symbol 901 MovieClip Frame 2
stop();
Symbol 905 MovieClip Frame 1
onEnterFrame = function () {
};
_root.player._alpha = 100;
_root.blink = false;
stop();
Symbol 905 MovieClip Frame 2
_root.player._alpha = 100;
_root.blink = false;
prevFrame();
Symbol 905 MovieClip Frame 3
onEnterFrame = function () {
_root.blinky();
};
Symbol 937 MovieClip Frame 2
_root.attacker();
Symbol 937 MovieClip Frame 5
_root.attack = false;
_parent.gotoAndStop("standUp");
Symbol 942 MovieClip Frame 2
_root.attacker();
Instance of Symbol 588 MovieClip "hit" in Symbol 942 MovieClip Frame 2
/* no clip actions */
Symbol 942 MovieClip Frame 5
_root.attack = false;
_parent.gotoAndStop("standRight");
Symbol 947 MovieClip Frame 2
_root.attacker();
Symbol 947 MovieClip Frame 6
_root.attack = false;
_parent.gotoAndStop("standDown");
Symbol 950 MovieClip Frame 2
_root.attacker();
Symbol 950 MovieClip Frame 5
_root.attack = false;
_parent.gotoAndStop("standLeft");
Symbol 954 MovieClip Frame 40
stop();
_root.gameOver();
Symbol 965 MovieClip Frame 23
_parent.gotoAndStop("standDown");
Symbol 967 MovieClip Frame 5
_root.hurt = false;
_root.attack = false;
_parent.gotoAndStop("standDown");
Symbol 968 MovieClip Frame 5
_root.hurt = false;
_root.attack = false;
_parent.gotoAndStop("standUp");
Symbol 970 MovieClip Frame 5
_root.hurt = false;
_root.attack = false;
_parent.gotoAndStop("standLeft");
Symbol 971 MovieClip Frame 5
_root.hurt = false;
_root.attack = false;
_parent.gotoAndStop("standRight");
Symbol 974 MovieClip Frame 62
stop();
Symbol 975 MovieClip [player] Frame 1
stop();
_root.facing = "down";
_root.hurt = false;
_root.attack = false;
Symbol 975 MovieClip [player] Frame 10
_root.hurt = false;
_root.attack = false;
Symbol 975 MovieClip [player] Frame 17
_root.hurt = false;
_root.attack = false;
Symbol 975 MovieClip [player] Frame 25
_root.hurt = false;
_root.attack = false;
Symbol 975 MovieClip [player] Frame 34
_root.hurt = false;
_root.attack = false;
Symbol 975 MovieClip [player] Frame 41
_root.hurt = false;
_root.attack = false;
Symbol 975 MovieClip [player] Frame 49
_root.hurt = false;
_root.attack = false;
Symbol 975 MovieClip [player] Frame 57
_root.hurt = false;
_root.attack = false;
Symbol 978 MovieClip [hayesMessage2] Frame 1
_root[currentMap].hayes.gotoAndStop(2);
_root.gamePause = true;
_root.talking = true;
Symbol 978 MovieClip [hayesMessage2] Frame 267
_root[currentMap].hayes.gotoAndStop(1);
_root.gamePause = false;
_root.talking = false;
this.removeMovieClip();
Symbol 984 MovieClip [message_girl1A] Frame 1
_root.gamePause = true;
_root.talking = true;
_root.walking = false;
if (_root.facing == "left") {
_root.player.gotoAndStop("standLeft");
} else if (_root.facing == "right") {
_root.player.gotoAndStop("standRight");
} else if (_root.facing == "up") {
_root.player.gotoAndStop("standUp");
} else if (_root.facing == "down") {
_root.player.gotoAndStop("standDown");
}
Symbol 984 MovieClip [message_girl1A] Frame 244
_root.gamePause = false;
_root.talking = false;
_root[_root.currentMap].gotoAndStop(2);
this.removeMovieClip();
Symbol 987 MovieClip [message_girl1B] Frame 1
_root.gamePause = true;
_root.talking = true;
_root.walking = false;
if (_root.facing == "left") {
_root.player.gotoAndStop("standLeft");
} else if (_root.facing == "right") {
_root.player.gotoAndStop("standRight");
} else if (_root.facing == "up") {
_root.player.gotoAndStop("standUp");
} else if (_root.facing == "down") {
_root.player.gotoAndStop("standDown");
}
Symbol 987 MovieClip [message_girl1B] Frame 211
_root.gamePause = false;
_root.talking = false;
_root[_root.currentMap].gotoAndStop(3);
this.removeMovieClip();
Symbol 993 MovieClip [message_girl2A] Frame 1
_root.gamePause = true;
_root.talking = true;
_root.walking = false;
if (_root.facing == "left") {
_root.player.gotoAndStop("standLeft");
} else if (_root.facing == "right") {
_root.player.gotoAndStop("standRight");
} else if (_root.facing == "up") {
_root.player.gotoAndStop("standUp");
} else if (_root.facing == "down") {
_root.player.gotoAndStop("standDown");
}
Symbol 993 MovieClip [message_girl2A] Frame 222
_root.gamePause = false;
_root.talking = false;
_root[_root.currentMap].gotoAndStop(2);
this.removeMovieClip();
Symbol 996 MovieClip [message_girl2B] Frame 1
_root.gamePause = true;
_root.talking = true;
_root.walking = false;
if (_root.facing == "left") {
_root.player.gotoAndStop("standLeft");
} else if (_root.facing == "right") {
_root.player.gotoAndStop("standRight");
} else if (_root.facing == "up") {
_root.player.gotoAndStop("standUp");
} else if (_root.facing == "down") {
_root.player.gotoAndStop("standDown");
}
Symbol 996 MovieClip [message_girl2B] Frame 222
_root.gamePause = false;
_root.talking = false;
_root[_root.currentMap].gotoAndStop(3);
this.removeMovieClip();
Symbol 1002 MovieClip [message_girl3A] Frame 1
_root.gamePause = true;
_root.talking = true;
_root.walking = false;
if (_root.facing == "left") {
_root.player.gotoAndStop("standLeft");
} else if (_root.facing == "right") {
_root.player.gotoAndStop("standRight");
} else if (_root.facing == "up") {
_root.player.gotoAndStop("standUp");
} else if (_root.facing == "down") {
_root.player.gotoAndStop("standDown");
}
Symbol 1002 MovieClip [message_girl3A] Frame 247
_root.gamePause = false;
_root.talking = false;
_root[_root.currentMap].gotoAndStop(2);
this.removeMovieClip();
Symbol 1005 MovieClip [message_girl3B] Frame 1
_root.gamePause = true;
_root.talking = true;
_root.walking = false;
if (_root.facing == "left") {
_root.player.gotoAndStop("standLeft");
} else if (_root.facing == "right") {
_root.player.gotoAndStop("standRight");
} else if (_root.facing == "up") {
_root.player.gotoAndStop("standUp");
} else if (_root.facing == "down") {
_root.player.gotoAndStop("standDown");
}
Symbol 1005 MovieClip [message_girl3B] Frame 236
_root.gamePause = false;
_root.talking = false;
_root[_root.currentMap].gotoAndStop(3);
this.removeMovieClip();
Symbol 1013 MovieClip [message_travoltaA] Frame 1
_root.gamePause = true;
_root.talking = true;
_root.walking = false;
if (_root.facing == "left") {
_root.player.gotoAndStop("standLeft");
} else if (_root.facing == "right") {
_root.player.gotoAndStop("standRight");
} else if (_root.facing == "up") {
_root.player.gotoAndStop("standUp");
} else if (_root.facing == "down") {
_root.player.gotoAndStop("standDown");
}
Symbol 1013 MovieClip [message_travoltaA] Frame 437
_root.gamePause = false;
_root.talking = false;
_root.attachMovie("travoltahealth", "travoltahealth", 917);
_root[_root.currentMap].travolta.gotoAndStop("stand");
this.removeMovieClip();
Symbol 1015 MovieClip [message_travoltaB] Frame 1
_root.gamePause = true;
_root.talking = true;
_root.walking = false;
_root.player.gotoAndStop("pillGet");
Symbol 1015 MovieClip [message_travoltaB] Frame 211
_root.gamePause = false;
_root.talking = false;
_root.player.gotoAndStop("standDown");
_root[_root.currentMap].gotoAndStop(3);
this.removeMovieClip();
Symbol 1018 MovieClip [message_blue] Frame 1
_root[currentMap].hayes.gotoAndStop(2);
_root.gamePause = true;
Symbol 1018 MovieClip [message_blue] Frame 80
_root[currentMap].hayes.gotoAndStop(1);
_root.gamePause = false;
this.removeMovieClip();
Symbol 1021 MovieClip [message_gold] Frame 1
_root[currentMap].hayes.gotoAndStop(2);
_root.gamePause = true;
Symbol 1021 MovieClip [message_gold] Frame 80
_root[currentMap].hayes.gotoAndStop(1);
_root.gamePause = false;
this.removeMovieClip();
Symbol 1024 MovieClip [message_green] Frame 1
_root[currentMap].hayes.gotoAndStop(2);
_root.gamePause = true;
Symbol 1024 MovieClip [message_green] Frame 80
_root[currentMap].hayes.gotoAndStop(1);
_root.gamePause = false;
this.removeMovieClip();
Symbol 1027 MovieClip [message_red] Frame 1
_root[currentMap].hayes.gotoAndStop(2);
_root.gamePause = true;
Symbol 1027 MovieClip [message_red] Frame 80
_root[currentMap].hayes.gotoAndStop(1);
_root.gamePause = false;
this.removeMovieClip();
Symbol 1060 MovieClip [message_begin] Frame 1
_root.gamePause = true;
_root.talking = true;
Symbol 1060 MovieClip [message_begin] Frame 421
_root.player.gotoAndStop("powerup");
Symbol 1060 MovieClip [message_begin] Frame 536
stop();
Symbol 1060 MovieClip [message_begin] Frame 538
_root.gamePause = false;
_root.talking = false;
this.removeMovieClip();
Symbol 1063 Button
on (release) {
play();
}
Symbol 1065 MovieClip [message_instruct] Frame 1
stop();
_root.gamePause = true;
_root.talking = true;
Symbol 1065 MovieClip [message_instruct] Frame 3
_root.gamePause = false;
_root.talking = false;
this.removeMovieClip();
Symbol 1067 MovieClip [hayesMessage1A] Frame 1
_root[currentMap].hayes.gotoAndStop(2);
_root.gamePause = true;
_root.talking = true;
Symbol 1067 MovieClip [hayesMessage1A] Frame 105
_root[currentMap].hayes.gotoAndStop(1);
_root.gamePause = false;
_root.talking = false;
this.removeMovieClip();
Symbol 1069 MovieClip [hayesMessage1B] Frame 1
_root[currentMap].hayes.gotoAndStop(2);
_root.gamePause = true;
_root.talking = true;
Symbol 1069 MovieClip [hayesMessage1B] Frame 105
_root[currentMap].hayes.gotoAndStop(1);
_root.gamePause = false;
_root.talking = false;
this.removeMovieClip();
Symbol 1072 MovieClip [dark] Frame 1
onEnterFrame = function () {
this._x = _root.player._x;
this._y = _root.player._y;
};
stop();
Symbol 1072 MovieClip [dark] Frame 2
onEnterFrame = function () {
this._x = _root.player._x;
this._y = _root.player._y;
};
stop();
Symbol 1082 MovieClip Frame 1
stop();
Symbol 1082 MovieClip Frame 2
stop();
Symbol 1097 MovieClip Frame 1
stop();
Symbol 1097 MovieClip Frame 2
stop();
Symbol 1106 MovieClip Frame 1
stop();
Symbol 1113 MovieClip Frame 1
stop();
Symbol 1116 MovieClip Frame 1
stop();
Symbol 1116 MovieClip Frame 2
_root.gamePause = true;
_root.menuOpen = true;
Symbol 1116 MovieClip Frame 10
stop();
Symbol 1116 MovieClip Frame 11
_root.gamePause = false;
_root.menuOpen = false;
Symbol 1125 MovieClip Frame 1
_root.damage = 1;
_root.player.glow.gotoAndStop(1);
stop();
Symbol 1125 MovieClip Frame 15
_root.damage = 3;
_root.player.glow.gotoAndStop(2);
Symbol 1132 MovieClip Frame 1
stop();
Symbol 1133 Button
on (release) {
if (((!_root.talking) && (!_root.gamePause)) && (!_root.menuOpen)) {
menu.play();
_root.menuUpdate();
} else if (_root.menuOpen) {
menu.play();
}
}
Symbol 1139 Button
on (release) {
if ((((!_root.talking) && (!_root.gamePause)) && (!_root.instructOpen)) && (!_root.menuOpen)) {
_root.instructOpen = true;
_root.attachMovie("message_instruct", "instruct", 803);
} else if (_root.instructOpen && (!_root.menuOpen)) {
_root.instructOpen = false;
_root.talking = false;
_root.gamePause = false;
_root.instruct.play();
}
}
Symbol 1149 MovieClip Frame 20
stop();
Symbol 1154 MovieClip Frame 1
stop();
_root.music.stop();
_root.music.attachSound("music_dungeon");
_root.music.start(0, 999);
_root.music.setVolume(_root.musicVol);
_root.darkFilter(1);
Symbol 1154 MovieClip Frame 2
stop();
_root.music.stop();
_root.music.attachSound("music_floor1");
_root.music.start(0, 999);
_root.music.setVolume(_root.musicVol);
removeMovieClip(_root.dark);
Symbol 1154 MovieClip Frame 3
stop();
_root.music.stop();
_root.music.attachSound("music_floor2");
_root.music.start(0, 999);
_root.music.setVolume(_root.musicVol);
removeMovieClip(_root.dark);
Symbol 1154 MovieClip Frame 4
stop();
_root.music.stop();
_root.music.attachSound("music_attic");
_root.music.start(0, 999);
_root.music.setVolume(_root.musicVol);
_root.darkFilter(2);
Symbol 1155 MovieClip Frame 3
label.gotoAndStop(_root.currentFloor);
Symbol 1155 MovieClip Frame 30
stop();
Symbol 1157 MovieClip Frame 1
if ((_root.floor == 2) || (_root.floor == 3)) {
this._visible = false;
}
Symbol 1228 Button
on (release) {
gotoAndPlay ("exit");
}
Symbol 1229 MovieClip Frame 972
stop();
Symbol 1229 MovieClip Frame 1015
_root.gotoAndStop("end");
stop();
Symbol 1248 MovieClip Frame 1
stop();
Symbol 1248 MovieClip Frame 2
stop();
Symbol 1248 MovieClip Frame 3
stop();
Symbol 1253 MovieClip Frame 1
stop();
Symbol 1253 MovieClip Frame 2
stop();
Symbol 1253 MovieClip Frame 3
stop();
Symbol 1255 Button
on (release) {
gotoAndPlay (1);
}
Symbol 1257 Button
on (release) {
_root.gotoAndStop("title");
}
Symbol 1258 MovieClip Frame 9
stop();