Frame 1
Stage.showMenu = false;
stop();
Frame 2
stop();
Frame 3
fscommand ("allowscale", "true");
fscommand ("showmenu", "true");
Instance of Symbol 126 MovieClip in Frame 3
onClipEvent (enterFrame) {
text = ((int(_parent.getBytesLoaded() / 1000) add " KBYTES OF ") add int(_parent.getBytesTotal() / 1000)) add " LOADED ...";
if (_parent.getBytesTotal() == _parent.getBytesLoaded()) {
_parent.gotoAndStop(2);
}
}
Frame 4
function buildMap(map) {
_root.attachMovie("empty", "tiles", 1);
game.clip = _root.tiles;
var mapWidth = map[0].length;
var mapHeight = map.length;
var i = 0;
while (i < mapHeight) {
var j = 0;
while (j < mapWidth) {
var name = ((("t_" + i) + "_") + j);
game[name] = new game["Tile" + map[i][j]]();
game.clip.attachMovie("tile", name, (i * 100) + (j * 2));
game.clip[name]._x = j * game.tileW;
game.clip[name]._y = i * game.tileH;
game.clip[name].gotoAndStop(game[name].frame);
if (game[name].item != "") {
game.clip[name].attachMovie(game[name].item, "item", 1);
}
j++;
}
i++;
}
game.items = myItems[game.currentMap];
var i = 0;
while (i < game.items.length) {
var name = ((("item" + game.items[i][2]) + "_") + game.items[i][1]);
game[name] = new game["Item" + game.items[i][0]]();
game[name].position = i;
game.clip.attachMovie("items", name, 10001 + i);
game[name].clip = game.clip[name];
game[name].clip._x = (game.items[i][1] * game.tileW) + (game.tileW / 10);
game[name].clip._y = (game.items[i][2] * game.tileH) + (game.tileH / 10);
game[name].clip.gotoAndStop(game.items[i][0]);
i++;
}
_root.points = game.points;
var enemies = myEnemies[game.currentMap];
game.currentEnemies = [];
var i = 0;
while (i < enemies.length) {
var name = ("enemy" + i);
game[name] = new game["Enemyp" + enemies[i][0]]();
game[name].id = i;
game.currentEnemies.push(game[name]);
game.clip.attachMovie("enemy" + enemies[i][0], name, 11001 + i);
game[name].clip = game.clip[name];
game[name].xtile = enemies[i][1];
game[name].ytile = enemies[i][2];
game[name].width = game.clip[name]._width / 2;
game[name].height = game.clip[name]._height / 2;
game[name].x = (game[name].xtile * game.tileW) + (game.tileW / 2);
game[name].y = ((game[name].ytile + 1) * game.tileH) - game[name].height;
game[name].clip._x = game[name].x;
game[name].clip._y = game[name].y;
i++;
}
game.clip.attachMovie("char", "char", 10000);
char.clip = game.clip.char;
char.width = char.clip._width / 2;
char.height = char.clip._height / 2;
char.x = (char.xtile * game.tileW) + (game.tileW / 2);
char.y = ((char.ytile + 1) * game.tileH) - char.height;
char.clip._x = char.x;
char.clip._y = char.y;
char.clip.gotoAndStop(char.frame);
}
function changeMap(ob) {
var tempitems = [];
var i = 0;
while (i < game.items.length) {
if (game.items[i]) {
var name = ((("item" + game.items[i][2]) + "_") + game.items[i][1]);
delete game[name];
tempitems.push(game.items[i]);
}
i++;
}
myItems[game.currentMap] = tempitems;
var name = ((("t_" + ob.ytile) + "_") + ob.xtile);
game.currentMap = game[name].newMap;
ob.ytile = game[name].newchary;
ob.xtile = game[name].newcharx;
ob.frame = ob.clip._currentframe;
buildMap(_root["myMap" + game.currentMap]);
}
function getMyCorners(x, y, ob) {
ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH);
ob.upY = Math.floor((y - ob.height) / game.tileH);
ob.leftX = Math.floor((x - ob.width) / game.tileW);
ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW);
ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable;
ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable;
ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable;
ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable;
}
function moveChar(ob, dirx, diry, jump) {
if (dirx != 0) {
ob.dirx = dirx;
}
if (Math.abs(jump) == 1) {
speed = ob.jumpspeed * jump;
} else {
speed = ob.speed;
}
getMyCorners(ob.x, ob.y + (speed * diry), ob);
if (diry == -1) {
if (ob.upleft and ob.upright) {
ob.y = ob.y + (speed * diry);
} else {
ob.y = (ob.ytile * game.tileH) + ob.height;
ob.jumpspeed = 0;
}
}
if (diry == 1) {
if (ob.downleft and ob.downright) {
ob.y = ob.y + (speed * diry);
} else {
ob.y = ((ob.ytile + 1) * game.tileH) - ob.height;
ob.jump = false;
}
}
getMyCorners(ob.x + (speed * dirx), ob.y, ob);
if (dirx == -1) {
if (ob.downleft and ob.upleft) {
ob.climb = true;
ob.x = ob.x + (speed * dirx);
fall(ob);
} else {
ob.x = (ob.xtile * game.tileW) + ob.width;
}
}
if (dirx == 1) {
if (ob.upright and ob.downright) {
ob.climb = true;
ob.x = ob.x + (speed * dirx);
fall(ob);
} else {
ob.x = ((ob.xtile + 1) * game.tileW) - ob.width;
}
}
updateChar(ob, dirx, diry);
return(true);
}
function updateChar(ob, dirx, diry) {
ob.clip._x = ob.x;
ob.clip._y = ob.y;
ob.clip.gotoAndStop((dirx + (diry * 2)) + 3);
ob.xtile = Math.floor(ob.clip._x / game.tileW);
ob.ytile = Math.floor(ob.clip._y / game.tileH);
if (game[(("t_" + ob.ytile) + "_") + ob.xtile].door and (ob == _root.char)) {
changeMap(ob);
}
var itemname = game[(("item" + ob.ytile) + "_") + ob.xtile];
if (itemname and (ob == _root.char)) {
gotoAndPlay (9);
game.points = game.points + itemname.points;
_root.points = game.points;
removeMovieClip(itemname.clip);
game.items[itemname.position] = 0;
delete game[(("item" + ob.ytile) + "_") + ob.xtile];
}
}
function jump(ob) {
ob.jumpspeed = ob.jumpspeed + ob.gravity;
if (game.tileH < ob.jumpspeed) {
ob.jumpspeed = game.tileH;
}
if (ob.jumpspeed < 0) {
moveChar(ob, 0, -1, -1);
} else if (0 < ob.jumpspeed) {
moveChar(ob, 0, 1, 1);
}
}
function fall(ob) {
ob.climb = false;
if (!ob.jump) {
getMyCorners(ob.x, ob.y + 1, ob);
if (ob.downleft and ob.downright) {
ob.jumpspeed = 0;
ob.jump = true;
}
}
}
function checkUpLadder(ob) {
var downY = Math.floor(((ob.y + ob.height) - 1) / game.tileH);
var upY = Math.floor((ob.y - ob.height) / game.tileH);
var upLadder = game[(("t_" + upY) + "_") + ob.xtile].ladder;
var downLadder = game[(("t_" + downY) + "_") + ob.xtile].ladder;
if (upLadder or downLadder) {
return(true);
}
fall(ob);
}
function checkDownLadder(ob) {
var downY = Math.floor(((ob.speed + ob.y) + ob.height) / game.tileH);
var downLadder = game[(("t_" + downY) + "_") + ob.xtile].ladder;
if (downLadder) {
return(true);
}
fall(ob);
}
function climb(ob, diry) {
ob.climb = true;
ob.jump = false;
ob.y = ob.y + (ob.speed * diry);
ob.x = (ob.xtile * game.tileW) + (game.tileW / 2);
updateChar(ob, 0, diry);
return(true);
}
function enemyBrain() {
var i = 0;
while (i < game.currentEnemies.length) {
var name = ("enemy" + i);
var ob = game[name];
getMyCorners(ob.x + (ob.speed * ob.xMove), (ob.y + (ob.speed * ob.yMove)) + 1, ob);
if ((!ob.downleft) and (!ob.downright)) {
moveChar(ob, ob.xMove, ob.yMove);
} else {
ob.xMove = -ob.xMove;
ob.yMove = -ob.yMove;
}
var xdist = (ob.x - char.x);
var ydist = (ob.y - char.y);
if (Math.sqrt((xdist * xdist) + (ydist * ydist)) < (ob.width + char.width)) {
removeMovieClip(_root.tiles);
gotoAndPlay (5);
stopAllSounds();
}
i++;
}
}
function shoot(ob) {
ob.lastshot = getTimer();
game.bulletcounter++;
if (100 < game.bulletcounter) {
game.bulletcounter = 0;
}
var name = ("bullet" + game.bulletcounter);
game[name] = new game.Bullet();
game[name].id = game.bulletcounter;
game.bullets.push(game[name]);
if (ob.dirx or ob.diry) {
game[name].dirx = ob.dirx;
game[name].diry = ob.diry;
}
game[name].xtile = ob.xtile;
game[name].ytile = ob.ytile;
game.clip.attachMovie("bullet", name, 10100 + game.bulletcounter);
game[name].clip = game.clip[name];
game[name].x = ob.x + (game[name].dirx * ob.width);
game[name].y = ob.y + (game[name].diry * ob.height);
game.clip[name]._x = game[name].x;
game.clip[name]._y = game[name].y;
}
function moveBullets() {
var i = 0;
while (i < game.bullets.length) {
var ob = game.bullets[i];
getMyCorners(ob.x + (ob.speed * ob.dirx), ob.y + (ob.speed * ob.diry), ob);
if (((ob.downleft and ob.upleft) and ob.downright) and ob.upright) {
moveChar(ob, ob.dirx, ob.diry);
} else {
ob.clip.removeMovieClip();
delete game["bullet" + game.bullets[i].id];
game.bullets.splice(i, 1);
}
var j = 0;
while (j < game.currentEnemies.length) {
var name = ("enemy" + game.currentEnemies[j].id);
var obenemy = game[name];
var xdist = (ob.x - obenemy.x);
var ydist = (ob.y - obenemy.y);
if (Math.sqrt((xdist * xdist) + (ydist * ydist)) < (ob.width + obenemy.width)) {
obenemy.clip.removeMovieClip();
delete game["enemy" + game.currentEnemies[j].id];
game.currentEnemies.splice(j, 1);
ob.clip.removeMovieClip();
delete game["bullet" + game.bullets[i].id];
game.bullets.splice(i, 1);
}
j++;
}
i++;
}
}
function detectKeys() {
var ob = _root.char;
var keyPressed = false;
if ((Key.isDown(32) and (!ob.jump)) and (!ob.climb)) {
ob.jump = true;
ob.jumpspeed = ob.jumpstart;
}
if (Key.isDown(39)) {
getMyCorners(ob.x - ob.speed, ob.y, ob);
if ((!ob.climb) or (((ob.downleft and ob.upleft) and ob.upright) and ob.downright)) {
keyPressed = _root.moveChar(ob, 1, 0);
}
} else if (Key.isDown(37)) {
getMyCorners(ob.x - ob.speed, ob.y, ob);
if ((!ob.climb) or (((ob.downleft and ob.upleft) and ob.upright) and ob.downright)) {
keyPressed = _root.moveChar(ob, -1, 0);
}
} else if (Key.isDown(38)) {
if ((!ob.jump) and checkUpLadder(ob)) {
keyPressed = _root.climb(ob, -1);
}
} else if (Key.isDown(40)) {
if ((!ob.jump) and checkDownLadder(ob)) {
keyPressed = _root.climb(ob, 1);
}
}
if (Key.isDown(16) and ((ob.lastshot + ob.shootspeed) < getTimer())) {
_root.shoot(ob);
}
if (ob.jump) {
keyPressed = _root.jump(ob);
}
if (!keyPressed) {
ob.clip.char.gotoAndStop(1);
} else {
ob.clip.char.play();
}
_root.enemyBrain();
_root.moveBullets();
}
fscommand ("allowscale", false);
fscommand ("allowscale", false);
myMap1 =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0, 0, 0, 0, 0, 0, 0, 1], [3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
game = {tileW:30, tileH:30, currentMap:1, bulletcounter:0, points:0};
game.bullets = new Array();
game.Tile0 = function () {
};
game.Tile0.prototype.walkable = true;
game.Tile0.prototype.frame = 1;
game.Tile1 = function () {
};
game.Tile1.prototype.walkable = false;
game.Tile1.prototype.frame = 2;
game.Doors = function (newmap, newcharx, newchary) {
this.newmap = newmap;
this.newcharx = newcharx;
this.newchary = newchary;
};
game.Doors.prototype.walkable = true;
game.Doors.prototype.frame = 3;
game.Doors.prototype.door = true;
game.Tile2 = function () {
};
game.Tile2.prototype = new game.Doors(2, 1, 18);
game.Tile3 = function () {
};
game.Tile3.prototype = new game.Doors(1, 11, 1);
game.Tile4 = function () {
};
game.Tile4.prototype.walkable = false;
game.Tile4.prototype.frame = 2;
game.Tile4.prototype.ladder = true;
game.Tile4.prototype.item = "ladder";
game.Tile5 = function () {
};
game.Tile5.prototype.walkable = true;
game.Tile5.prototype.frame = 1;
game.Tile5.prototype.ladder = true;
game.Tile5.prototype.item = "ladder";
myItems = [[0], [[0, 0, 0], [0, 0, 0], [0, 0, 0]], [[0, 0, 0], [0, 0, 0], [1, 3, 2]]];
game.Item1 = function () {
};
game.Item1.prototype.points = 1;
game.Item2 = function () {
};
game.Item2.prototype.points = 1;
myEnemies = [[0], [[1, 15, 4]], [[2, 8, 12]]];
game.Enemyp1 = function () {
};
game.Enemyp1.prototype.xMove = -1;
game.Enemyp1.prototype.yMove = 0;
game.Enemyp1.prototype.speed = 3;
game.Enemyp2 = function () {
};
game.Enemyp2.prototype.xMove = 1;
game.Enemyp2.prototype.yMove = 0;
game.Enemyp2.prototype.speed = 2;
game.Bullet = function () {
};
game.Bullet.prototype.speed = 1;
game.Bullet.prototype.dirx = 0;
game.Bullet.prototype.diry = -1;
game.Bullet.prototype.width = 2;
game.Bullet.prototype.height = 2;
char = {xtile:2, ytile:1, speed:4, jumpstart:-18, gravity:2, jump:false, climb:false, shootspeed:1000};
buildMap(_root["myMap" + game.currentMap]);
fall(_root.char);
stop();
Instance of Symbol 41 MovieClip [empty] "controller" in Frame 4
onClipEvent (enterFrame) {
_root.detectKeys();
}
Frame 5
stop();
Frame 6
gotoAndPlay (7);
Frame 7
stop();
Instance of Symbol 143 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 146 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 149 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 152 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 154 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 157 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 160 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 167 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 170 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 172 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 176 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 179 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 183 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 186 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 188 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 191 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 193 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 196 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 199 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 202 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 205 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 208 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 211 MovieClip in Frame 7
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Frame 8
stop();
Instance of Symbol 154 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 143 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 146 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 149 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 152 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 157 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 160 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 167 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 170 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 172 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 176 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 179 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 183 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 186 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 188 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 191 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 193 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 196 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 199 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 202 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 205 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 208 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Instance of Symbol 211 MovieClip in Frame 8
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.startDrag(true);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
}
Frame 9
stopAllSounds();
Frame 10
delete myArray;
delete game.clip;
delete mapWidth;
delete mapHeight;
delete name;
delete game.clip[name]._x;
delete game.clip[name]._y;
Frame 2389
stop();
Symbol 3 MovieClip [items] Frame 1
stop();
Symbol 18 MovieClip [enemy2] Frame 1
stop();
Symbol 24 MovieClip [enemy1] Frame 1
stop();
Symbol 25 MovieClip [char] Frame 1
stop();
Symbol 49 Button
on (release) {
nextFrame();
}
Symbol 52 Button
on (release) {
prevFrame();
}
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 2
Symbol 74 MovieClip Frame 3
Symbol 74 MovieClip Frame 6
Symbol 74 MovieClip Frame 7
Symbol 74 MovieClip Frame 8
Symbol 74 MovieClip Frame 10
Symbol 74 MovieClip Frame 11
Symbol 81 Button
on (release) {
_root.play();
}
Symbol 82 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop (3);
}
Symbol 82 MovieClip Frame 2
gotoAndPlay (1);
Symbol 92 Button
on (release) {
gotoAndPlay (6);
}
Symbol 122 MovieClip Frame 571
stop();
Symbol 133 Button
on (release) {
gotoAndPlay (3);
}
Symbol 164 Button
on (release) {
gotoAndPlay (8);
}
Symbol 215 Button
on (release) {
gotoAndPlay (5);
}
on (release) {
stopAllSounds();
}
Symbol 217 Button
on (release) {
gotoAndPlay (7);
}