Frame 1
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
this.menu = my_cm;
MochiAd.showPreloaderAd({id:"64072e0330928c64", res:"500x500"});
Frame 3
if (_root.getBytesLoaded() < _root.getBytesTotal()) {
gotoAndStop ("loading");
}
Frame 5
stop();
Instance of Symbol 71 MovieClip in Frame 5
//component parameters
onClipEvent (construct) {
_game_name = "heist";
score_var = "_parent.n";
}
Instance of Symbol 43 MovieClip in Frame 5
on (press) {
_root.gotoAndStop(7);
}
Frame 7
stop();
Instance of Symbol 43 MovieClip "game_sd" in Frame 7
onClipEvent (load) {
var bar_sd = new Sound(this);
var gun_sd = new Sound(this);
var door_op = new Sound(this);
var bomb_sd = new Sound(this);
bomb_sd.attachSound("bfire");
var lift_op = new Sound(this);
lift_op.attachSound("liftop");
var lift_ar = new Sound(this);
lift_ar.attachSound("liftar");
var step_sd = new Sound(this);
step_sd.attachSound("step");
var dead_sd = new Sound(this);
dead_sd.attachSound("death");
}
Symbol 5 MovieClip Frame 1
onEnterFrame = function () {
var _local4 = _root.getBytesLoaded();
var _local3 = _root.getBytesTotal();
var _local5 = int((_local4 / _local3) * 100);
num_txt.text = _local5 + "%";
if (_local4 == _local3) {
delete this.onEnterFrame;
if ((_root._mochiad instanceof MovieClip) != true) {
_root.play();
}
}
};
Symbol 9 MovieClip Frame 1
this._visible = false;
Symbol 9 MovieClip Frame 2
this._visible = true;
Symbol 9 MovieClip Frame 39
stop();
Instance of Symbol 2 MovieClip in Symbol 9 MovieClip Frame 39
on (release) {
getURL ("http://www.freeworldgroup.com/", "_blank");
}
Symbol 1014 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("1.5");
}
static function showPreloaderAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}};
options = _parseOptions(options, _local27);
var clip = options.clip;
var _local23 = 11000;
var _local26 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local7._x = 10;
_local7._y = _local13 - 20;
var _local22 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local24 = options.outline;
delete options.outline;
var _local5 = _local7.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local7.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local22);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local6 = _local7.createEmptyMovieClip("_outline", 3);
_local6.lineStyle(0, _local24, 100);
_local6.moveTo(0, 0);
_local6.lineTo(_local4 - 20, 0);
_local6.lineTo(_local4 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
chk.ad_msec = _local23;
chk.ad_timeout = _local26;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = function (width, height) {
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local12 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local10 = (100 * _local8) / _local4;
var _local11 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(_local10 || 0, _local11));
_local2 = Math.max(this.last_pcnt, _local2);
this.last_pcnt = _local2;
_local9._xscale = _local2;
if (!chk.showing) {
var _local7 = _local12.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local5 > chk.ad_timeout) {
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showTimedAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function _loadCommunicator(options) {
var _local25 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = _parseOptions(options, _local25);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local18 = options.clip;
var _local20 = "_mochiad_com_" + options.id;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local18[_local20]) {
return(_local18[_local20].lc);
}
var _local21 = options.com_server + options.id;
_allowDomains(_local21);
delete options.id;
delete options.com_server;
var _local24 = options.depth;
delete options.depth;
var _local17 = _local18.createEmptyMovieClip(_local20, _local24);
var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1);
for (var _local15 in options) {
_local11[_local15] = options[_local15];
}
var _local6 = new LocalConnection();
var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local17;
_local6.name = _local16;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local16);
_local17.lc = _local6;
_local11.lc = _local16;
_local6._id = 0;
_local6._queue = [];
_local6.rpcResult = function (cb) {
cb = parseInt(cb);
var _local4 = this._callbacks[cb];
if (!_local4) {
return(undefined);
}
delete this._callbacks[cb];
var _local5 = [];
var _local3 = 2;
while (_local3 < _local4.length) {
_local5.push(_local4[_local3]);
_local3++;
}
_local3 = 1;
while (_local3 < arguments.length) {
_local5.push(arguments[_local3]);
_local3++;
}
var _local6 = _local4[1];
var _local7 = _local4[0];
if (_local7 && (typeof(_local6) == "string")) {
_local6 = _local7[_local6];
}
if (_local6) {
_local6.apply(_local7, _local5);
}
};
_local6._didConnect = function (endpoint) {
this._endpoint = endpoint;
var _local4 = this._queue;
delete this._queue;
var _local5 = this.doSend;
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2];
_local5.apply(this, _local3);
_local2++;
}
};
_local6.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var _local4 = [];
var _local3 = 0;
while (_local3 < arguments.length) {
_local4.push(arguments[_local3]);
_local3++;
}
this._queue.push(_local4);
return(undefined);
}
this._id = this._id + 1;
var _local5 = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[_local5] = [cbobj, cbfn];
var _local7 = new LocalConnection();
var _local9 = _local7.send(this._endpoint, "rpc", _local5, args);
};
_local6._callbacks = {};
_local6._callbacks[0] = [_local6, "_didConnect"];
_local11.st = getTimer();
_local11.loadMovie(_local21 + ".swf", "POST");
return(_local6);
}
static function fetchHighScores(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["fetchHighScores", options];
_local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}
static function sendHighScore(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["sendHighScore", options];
_local1.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local7 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local7._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local7._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
if (_local7._url.indexOf("http") != 0) {
options.no_page = true;
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local9;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local4);
}
}
Symbol 1015 MovieClip [__Packages.Game] Frame 0
class Game
{
var halfvx, halfvy, centerx, centery, tiles_wb, tiles_st, ob_roll, timer, iq_btn, ie_btn, gameover, gamerst, mini, lifton, clip, cra, sd_path, mapopen, mappingnow, mapwidth, mapheight, enemy_num, object_num, event_num, inf_num, monitor_num, player, xm, ym;
function Game (mc) {
xl = [[0, 0], [-1, -1], [0, -1], [1, -1], [1, 0], [1, 1], [0, 1], [-1, 1], [-1, 0]];
halfvx = 5;
halfvy = 5;
centerx = 250;
centery = 250;
tiles_wb = 5;
tiles_st = 45;
ob_roll = 7;
player_info[0] = [14, 7, -1, 0, 87, 83, 65, 68, 81, 69];
player_info[1] = [false, false, false, false, true, false, false, false];
player_info[2] = [9, 9, 2, 10, 0, 0, 0, 0];
player_info[3] = [false, false, false, false, false, false, false, false, false, false, false, false];
player_info[4] = [false, false, false, false, false, false, false, false, false];
player_info[5] = [10, 2, 1, 0, 8, 7, 5, 4, 6, 3, 9, 11];
player_info[6] = [false, false, false, false, false, false, false, false, false, false, false, false];
word = ["", "a blue card", "a red card", "a yellow card", "a gun", "a bomb", "a box", "night-vision IR glasses"];
player_it = [[], [], [], [], []];
level_info = [];
level_it = [];
timer = new Date();
timer.setTime(2700000);
iq_btn = true;
ie_btn = true;
gameover = false;
gamerst = false;
mini = false;
lifton = false;
mc.createEmptyMovieClip("main", 10);
if (mc.mask == undefined) {
mc.attachMovie("mask", "mask", 20);
} else if (mc.mu > 10) {
mc.mask.gotoAndStop(1);
}
mc.mask.cacheAsBitmap = true;
clip = mc.main;
clip.createEmptyMovieClip("back", 10);
clip.attachMovie("mouse", "mouse", 20);
clip.createEmptyMovieClip("middle", 30);
clip.createEmptyMovieClip("fround", 40);
cra = new Camera_game();
sd_path = clip._parent._parent.game_sd;
remary = [];
mapopen = 0;
}
function mapping(map, en, ob, ev, inf, mon) {
mappingnow = true;
mapary = map.concat();
mapwidth = mapary[0].length;
mapheight = mapary.length;
enemy_num = en.length;
object_num = ob.length;
event_num = ev.length;
inf_num = inf.length;
monitor_num = mon.length;
eve = ev;
var _local13 = false;
if (gameover) {
if ((mapopen == 10) || (mapopen == 14)) {
_local13 = true;
}
}
if ((!level_info[mapopen].length) > 0) {
level_info[mapopen] = new Array();
level_info[mapopen][0] = new Array();
var _local8 = 0;
while (_local8 < enemy_num) {
level_info[mapopen][0][_local8] = true;
_local8++;
}
level_info[mapopen][1] = new Array();
_local8 = 0;
while (_local8 < object_num) {
level_info[mapopen][1][_local8] = true;
_local8++;
}
level_info[mapopen][2] = new Array();
_local8 = 0;
while (_local8 < inf_num) {
level_info[mapopen][2][_local8] = true;
_local8++;
}
player_info[2][4] = player_info[2][4] + 300;
}
var _local8 = 0;
while (_local8 < level_info.length) {
level_it[_local8] = [];
var _local5 = 0;
while (_local5 < level_info[_local8].length) {
level_it[_local8][_local5] = [];
if ((_local13 || (lastm)) && (remary.length > 0)) {
level_it[_local8][_local5] = remary[remary.length - 1][4][_local8][_local5].concat();
} else {
level_it[_local8][_local5] = level_info[_local8][_local5].concat();
}
_local5++;
}
_local8++;
}
_local8 = 0;
while (_local8 < player_info.length) {
if ((_local13 || (lastm)) && (remary.length > 0)) {
player_it[_local8] = remary[remary.length - 1][0][_local8].concat();
} else {
player_it[_local8] = player_info[_local8].concat();
}
_local8++;
}
if (!lastm) {
player_it[2][6] = 0;
}
player = new Player_game(player_it[0][0], player_it[0][1]);
player.dirx = player_it[0][2];
player.diry = player_it[0][3];
obchar(player);
cra.viewer = player;
if (player.xtile < halfvx) {
xm = player.xtile - halfvx;
} else if ((player.xtile + halfvx) > (mapwidth - 1)) {
xm = ((player.xtile + halfvx) - mapwidth) + 1;
} else {
xm = 0;
}
if (player.ytile < halfvy) {
ym = player.ytile - halfvy;
} else if ((player.ytile + halfvy) > (mapheight - 1)) {
ym = ((player.ytile + halfvy) - mapheight) + 1;
} else {
ym = 0;
}
_local8 = 0;
while (_local8 < enemy_num) {
if (level_it[mapopen][0][_local8]) {
if ((_local13 || (lastm)) && (remary.length > 0)) {
enemy[_local8] = new Enemy_game(remary[remary.length - 1][3][_local8][0], remary[remary.length - 1][3][_local8][1]);
} else {
enemy[_local8] = new Enemy_game(en[_local8][0][0], en[_local8][0][1]);
}
enemy[_local8].num = _local8;
enemy[_local8].action = en[_local8][1];
obxy(enemy[_local8]);
}
_local8++;
}
_local8 = 0;
while (_local8 < object_num) {
if (level_it[mapopen][1][_local8]) {
if ((_local13 || (lastm)) && (remary.length > 0)) {
object[_local8] = new Object_game(remary[remary.length - 1][1][_local8][0], remary[remary.length - 1][1][_local8][1]);
} else {
object[_local8] = new Object_game(ob[_local8][0], ob[_local8][1]);
}
object[_local8].num = _local8;
object[_local8].frame = ob[_local8][2];
object[_local8].destroy = ob[_local8][3];
object[_local8].roll = object[_local8].frame >= ob_roll;
obxy(object[_local8]);
}
_local8++;
}
_local8 = 0;
while (_local8 < inf_num) {
if (level_it[mapopen][2][_local8]) {
infrared[_local8] = new Infrared_game(inf[_local8][0], inf[_local8][1]);
infrared[_local8].num = _local8;
infrared[_local8].dirx = inf[_local8][2];
infrared[_local8].diry = inf[_local8][3];
infrared[_local8].frame = ((infrared[_local8].dirx > 0) ? 1 : 2);
infrared[_local8].time = inf[_local8][4];
infrared[_local8].timeud = inf[_local8][5];
infrared[_local8].power = inf[_local8][6];
obxy(infrared[_local8]);
var _local2 = 1;
var _local4 = infrared[_local8].xtile;
var _local6 = infrared[_local8].ytile;
while (true) {
var _local12;
if (infrared[_local8].dirx != 0) {
_local12 = getdepth(_local4 + _local2, _local6, 7);
if (mapary[_local6][_local4 + _local2] < tiles_wb) {
clip.middle.attachMovie("line", (("line" + _local8) + "_") + _local2, _local12);
clip.middle[(("line" + _local8) + "_") + _local2]._x = ((_local4 + _local2) - _local6) * tilew;
clip.middle[(("line" + _local8) + "_") + _local2]._y = (((_local4 + _local2) + _local6) * tilew) / 2;
clip.middle[(("line" + _local8) + "_") + _local2].gotoAndStop(1);
infrared[_local8].lth = _local2;
} else {
break;
}
} else {
_local12 = getdepth(_local4, _local6 + _local2, 6);
if (mapary[_local6 + _local2][_local4] < tiles_wb) {
clip.middle.attachMovie("line", (("line" + _local8) + "_") + _local2, _local12);
clip.middle[(("line" + _local8) + "_") + _local2]._x = (_local4 - (_local6 + _local2)) * tilew;
clip.middle[(("line" + _local8) + "_") + _local2]._y = (((_local4 + _local2) + _local6) * tilew) / 2;
clip.middle[(("line" + _local8) + "_") + _local2].gotoAndStop(2);
infrared[_local8].lth = _local2;
} else {
break;
}
}
_local2++;
}
}
_local8++;
}
_local8 = 0;
while (_local8 < monitor_num) {
monitor[_local8] = new Monitor_game(mon[_local8][0], mon[_local8][1]);
monitor[_local8].num = _local8;
monitor[_local8].frame = mon[_local8][2];
if (monitor[_local8].frame == 1) {
monitor[_local8].dirx = 0;
monitor[_local8].diry = 1;
} else {
monitor[_local8].dirx = 1;
monitor[_local8].diry = 0;
}
obxy(monitor[_local8]);
_local8++;
}
_local8 = 0;
while (_local8 < event_num) {
var _local3 = (("ev_" + ev[_local8][0][1]) + "_") + ev[_local8][0][0];
this[_local3] = new Event_game(ev[_local8][1]);
this[_local3].condition = ev[_local8][2];
this[_local3].active = ev[_local8][0][2];
_local8++;
}
if ((_local13 || (lastm)) && (remary.length > 0)) {
_local8 = 0;
while (_local8 < remary[remary.length - 1][2].length) {
listener(remary[remary.length - 1][2][_local8][1], remary[remary.length - 1][2][_local8][0], 1);
listener(remary[remary.length - 1][2][_local8][1], remary[remary.length - 1][2][_local8][0], 0);
_local8++;
}
}
ob = cra.viewer;
var _local6 = ob.ytile - (halfvy + ym);
while (_local6 <= (ob.ytile + (halfvy - ym))) {
var _local4 = ob.xtile - (halfvx + xm);
while (_local4 <= (ob.xtile + (halfvx - xm))) {
var _local3 = (("t_" + _local6) + "_") + _local4;
var _local12 = getdepth(_local4, _local6, 0);
if ((((_local6 >= 0) && (_local4 >= 0)) && (_local6 < mapheight)) && (_local4 < mapwidth)) {
var _local9 = mapary[_local6][_local4];
this[_local3] = new Tiles_game(_local9, _local9 < tiles_wb);
} else {
this[_local3] = new Tiles_game(70, false);
}
if (this[_local3].walkable) {
var _local7 = clip.back;
} else {
var _local7 = clip.middle;
}
_local7.attachMovie("tile", _local3, _local12);
this[_local3].clip_1 = _local7[_local3];
_local7[_local3]._x = (_local4 - _local6) * tilew;
_local7[_local3]._y = ((_local4 + _local6) * tilew) / 2;
_local7[_local3].gotoAndStop(this[_local3].frame);
_local7[_local3].cacheAsBitmap = true;
_local4++;
}
_local6++;
}
_local8 = 0;
while (_local8 < object_num) {
if (level_it[mapopen][1][_local8]) {
this[(("t_" + object[_local8].ytile) + "_") + object[_local8].xtile].obon = true;
this[(("t_" + object[_local8].ytile) + "_") + object[_local8].xtile].ob_n = _local8;
}
_local8++;
}
player.a1 = clip.middle[(("t_" + (player.ytile + 1)) + "_") + (player.xtile + 1)];
player.a2 = clip.middle[(("t_" + (player.ytile + 1)) + "_") + player.xtile];
player.a3 = clip.middle[(("t_" + player.ytile) + "_") + (player.xtile + 1)];
player.a1._alpha = 50;
player.a2._alpha = 50;
player.a3._alpha = 50;
if (_local13 || (lastm)) {
remary.pop();
}
lifton = false;
gameover = false;
lastm = false;
mappingnow = false;
}
function it_info() {
var _local3 = 0;
while (_local3 < level_it.length) {
level_info[_local3] = [];
var _local2 = 0;
while (_local2 < level_it[_local3].length) {
level_info[_local3][_local2] = level_it[_local3][_local2].concat();
_local2++;
}
_local3++;
}
_local3 = 0;
while (_local3 < player_it.length) {
player_info[_local3] = player_it[_local3].concat();
_local3++;
}
}
function changemap(frame, x, y, dx, dy) {
mappingnow = true;
if (((!gameover) && (!gamerst)) && (!lastm)) {
it_info();
}
var _local7 = false;
if (gameover) {
if ((mapopen == 10) || (mapopen == 14)) {
_local7 = true;
}
}
if ((gamerst || (!_local7)) && (!lastm)) {
remary = [];
}
if ((x != undefined) && (y != undefined)) {
player_info[0][0] = x;
player_info[0][1] = y;
player_info[0][2] = dx;
player_info[0][3] = dy;
}
var _local6 = 0;
while (_local6 < enemy_num) {
delete enemy[_local6];
_local6++;
}
_local6 = 0;
while (_local6 < object_num) {
delete object[_local6];
_local6++;
}
_local6 = 0;
while (_local6 < event_num) {
var _local4 = (("ev_" + clip._parent.evary[_local6][0][1]) + "_") + clip._parent.evary[_local6][0][0];
delete this[_local4];
_local6++;
}
_local6 = 0;
while (_local6 < inf_num) {
delete infrared[_local6];
_local6++;
}
_local6 = 0;
while (_local6 < monitor_num) {
delete monitor[_local6];
_local6++;
}
var _local3 = cra.viewer;
y = _local3.ytile - (halfvy + 1);
while (y <= (_local3.ytile + (halfvy + 1))) {
x = _local3.xtile - (halfvx + 1);
while (x <= (_local3.xtile + (halfvx + 1))) {
var _local4 = (("t_" + y) + "_") + x;
delete this[_local4];
x++;
}
y++;
}
enemy = [];
object = [];
mapary = [];
infrared = [];
monitor = [];
bomb = [];
clip.createEmptyMovieClip("back", 10);
clip.createEmptyMovieClip("middle", 30);
clip.createEmptyMovieClip("fround", 40);
if (!gameover) {
mapopen = frame - 2;
}
gamerst = false;
clip._parent.gotoAndStop(frame);
}
function Keys(ob) {
var _local21 = Key.isDown(player_info[0][7]);
var _local20 = Key.isDown(player_info[0][6]);
var _local19 = Key.isDown(player_info[0][4]);
var _local11 = Key.isDown(player_info[0][5]);
if (ob.statement == 2) {
ob.clip.gotoAndStop(8);
ob.clip.char.gotoAndStop((3 - ob.dirx) - (ob.diry * 2));
if (ob.dirx != 0) {
if (((ob.dirx > 0) ? (!_local21) : (!_local20))) {
ob.statement = 0;
}
ob.xcent = ob.dirx;
ob.ycent = ob.dirx;
if (_local19) {
ob.up = true;
ob.down = false;
} else if (_local11) {
ob.up = false;
ob.down = true;
} else {
ob.up = false;
ob.down = false;
}
ob.right = false;
ob.left = false;
} else {
if (((ob.diry > 0) ? (!_local11) : (!_local19))) {
ob.statement = 0;
}
ob.xcent = -ob.diry;
ob.ycent = ob.diry;
if (_local21) {
ob.right = true;
ob.left = false;
} else if (_local20) {
ob.right = false;
ob.left = true;
} else {
ob.right = false;
ob.left = false;
}
ob.up = false;
ob.down = false;
}
if (((ob.dirx != 0) ? (ob.up || (ob.down)) : (ob.left || (ob.right)))) {
ob.statement = 3;
}
} else if (ob.statement == 3) {
if (((ob.x % tilew) == 0) && ((ob.y % tilew) == 0)) {
if (ob.dirx != 0) {
if (((ob.dirx > 0) ? (!_local21) : (!_local20))) {
ob.statement = 0;
} else if ((_local19 != ob.up) || (_local11 != ob.down)) {
ob.statement = 2;
}
} else if (((ob.diry > 0) ? (!_local11) : (!_local19))) {
ob.statement = 0;
} else if ((_local21 != ob.right) || (_local20 != ob.left)) {
ob.statement = 2;
}
if (ob.statement == 3) {
switch (getfround((ob.xtile + (Math.abs(ob.diry) * (ob.right ? 1 : -1))) + ob.dirx, (ob.ytile + (Math.abs(ob.dirx) * (ob.down ? 1 : -1))) + ob.diry)) {
case 0 :
case 1 :
case 2 :
ob.statement = 2;
break;
case 3 :
ob.statement = 3;
}
if (ob.statement == 3) {
switch (getfround(ob.xtile + (Math.abs(ob.diry) * (ob.right ? 1 : -1)), ob.ytile + (Math.abs(ob.dirx) * (ob.down ? 1 : -1)))) {
case 0 :
ob.statement = 3;
break;
case 1 :
ob.statement = 2;
break;
case 2 :
case 3 :
ob.statement = 2;
}
if (ob.statement == 3) {
if (remary.length == 10) {
remary.shift();
}
getchange(remary.length);
}
}
}
}
if (ob.statement == 3) {
obchar(ob);
}
} else if (ob.statement == 1) {
if (((ob.x % tilew) == 0) && ((ob.y % tilew) == 0)) {
if (_local21) {
ob.dirx = 1;
ob.diry = 0;
} else if (_local20) {
ob.dirx = -1;
ob.diry = 0;
} else if (_local19) {
ob.dirx = 0;
ob.diry = -1;
} else if (_local11) {
ob.dirx = 0;
ob.diry = 1;
} else {
ob.statement = 0;
}
if (ob.statement == 1) {
switch (getfround(ob.xtile + ob.dirx, ob.ytile + ob.diry, ob.dirx, ob.diry)) {
case 0 :
ob.statement = 1;
break;
case 1 :
ob.statement = 1;
var _local6 = this[(("t_" + (ob.ytile + ob.diry)) + "_") + (ob.xtile + ob.dirx)].ob_n;
var _local5 = 0;
while (_local5 < rollnow.length) {
if (rollnow[_local5] == _local6) {
rollnow.splice(_local5, 1);
break;
}
_local5++;
}
object[_local6].dirx = ob.dirx;
object[_local6].diry = ob.diry;
this[(("t_" + object[_local6].ytile) + "_") + object[_local6].xtile].obon = false;
this[(("t_" + object[_local6].ytile) + "_") + object[_local6].xtile].ob_n = undefined;
rollnow[rollnow.length] = object[_local6].num;
object[_local6].statement = 1;
break;
case 2 :
ob.statement = 0;
break;
case 3 :
ob.statement = 2;
}
if (ob.statement == 1) {
if (remary.length == 10) {
remary.shift();
}
getchange(remary.length);
}
}
}
if (ob.statement == 1) {
obchar(ob);
}
} else if (ob.statement == 0) {
ob.xcent = 0;
ob.ycent = 0;
ob.clip.gotoAndStop(3);
ob.clip.char.gotoAndStop((ob.dirx + (ob.diry * 2)) + 3);
if (((_local21 || (_local20)) || (_local19)) || (_local11)) {
ob.statement = 1;
}
if (Key.isDown(player_info[0][8])) {
if (iq_btn) {
listener(ob.xtile + ob.dirx, ob.ytile + ob.diry, 0);
}
iq_btn = false;
} else {
iq_btn = true;
}
}
if (((ob.statement == 0) || (ob.statement == 4)) && (Key.isDown(player_info[0][9]))) {
if (ie_btn) {
switch (player_it[2][1]) {
case 5 :
ob.statement = 4;
ob.gun = true;
sd_path.gun_sd.attachSound("grd");
sd_path.gun_sd.start();
ob.clip.gotoAndStop(13);
ob.clip.char.gotoAndStop((ob.dirx + (ob.diry * 2)) + 3);
break;
case 6 :
ob.statement = 4;
if (player_it[2][3] != 0) {
if (bomb[0] == undefined) {
var _local13 = ob.xtile;
var _local12 = ob.ytile;
if (this[(("t_" + _local12) + "_") + _local13].walkable && (!this[(("t_" + _local12) + "_") + _local13].obon)) {
bomb[0] = new Object_game(_local13, _local12);
bomb[0].roll = false;
bomb[0].frame = 12;
bomb[0].num = 0;
bomb[0].name = "bomb";
obxy(bomb[0]);
}
} else {
_local11 = 1;
while (_local11 < 6) {
var _local5 = 0;
while (_local5 < xl.length) {
var _local8 = getdepth(bomb[0].xtile + xl[_local5][0], bomb[0].ytile + xl[_local5][1], _local11);
var _local3 = clip.middle.getInstanceAtDepth(_local8);
if (_local3 != undefined) {
if (_local3._name.substr(0, 1) == "o") {
var _local6 = Number(_local3._name.substring(3));
if (object[_local6].destroy) {
this[(("t_" + object[_local6].ytile) + "_") + object[_local6].xtile].obon = false;
this[(("t_" + object[_local6].ytile) + "_") + object[_local6].xtile].ob_n = undefined;
listener(object[_local6].xtile, object[_local6].ytile, 1);
level_it[mapopen][1][_local6] = false;
delete object[_local6];
removeMovieClip(_local3);
}
} else if (_local3._name.substr(0, 1) == "e") {
var _local6 = Number(_local3._name.substring(5));
level_it[mapopen][0][_local6] = false;
delete enemy[Number(_local3._name.substring(5))];
removeMovieClip(_local3);
} else if (_local3._name.substr(0, 1) == "i") {
} else if (_local3._name.substr(0, 1) == "c") {
if (clip._parent._currentframe != 30) {
gameover = true;
player_info[2][5]++;
var _local13 = _local3._x;
var _local12 = _local3._y;
var _local7 = 100;
var _local4;
if (_local3._currentframe < 3) {
_local4 = "player_b";
} else if (_local3._currentframe > 3) {
_local4 = "player_f";
} else if (_local3.char._currentframe < 3) {
_local4 = "player_b";
} else if (_local3.char._currentframe > 3) {
_local4 = "player_f";
}
if ((player.dirx == 1) || (player.diry == -1)) {
_local7 = -100;
_local13 = _local3._x + (tilew * 2);
}
removeMovieClip(_local3);
clip.middle.attachMovie(_local4, "player", _local8, {_x:_local13, _y:_local12, _xscale:_local7});
} else {
clip.fround.attachMovie("word", "word", 10000, {_x:player.clip._x + tilew, _y:player.clip._y - 50, st:"That was silly, you died."});
var _local13 = _local3._x;
var _local12 = _local3._y;
var _local7 = 100;
if (_local3._currentframe < 3) {
var _local4 = "player_b";
} else if (_local3._currentframe > 3) {
var _local4 = "player_f";
} else if (_local3.char._currentframe < 3) {
var _local4 = "player_b";
} else if (_local3.char._currentframe > 3) {
var _local4 = "player_f";
}
if ((player.dirx == 1) || (player.diry == -1)) {
_local7 = -100;
_local13 = _local3._x + (tilew * 2);
}
clip.middle.attachMovie(_local4, "tplayer", _local8 + 2, {_x:_local13, _y:_local12, _xscale:_local7});
}
} else if (_local3._name.substr(0, 1) != "t") {
removeMovieClip(_local3);
}
}
_local5++;
}
_local11++;
}
sd_path.bomb_sd.start();
player_it[2][3]--;
clip.middle.attachMovie("boom", "boom", bomb[0].depth, {_x:bomb[0].xiso, _y:bomb[0].yiso});
delete bomb[0];
}
}
break;
case 7 :
ob.statement = 4;
ob.hide = true;
ob.clip.gotoAndStop(12);
ob.clip.char.gotoAndStop((ob.dirx + (ob.diry * 2)) + 3);
break;
case 8 :
}
}
if (ob.gun && (player_it[2][2] != 0)) {
if (ob.ban) {
player_it[2][2]--;
sd_path.gun_sd.attachSound("gfire");
sd_path.gun_sd.start();
ob.clip.char.mc.play();
var _local18 = false;
var _local10 = -1;
while (_local10 < 2) {
var _local5 = 1;
while (_local5 < (halfvx + 3)) {
var _local13 = (ob.xtile + (ob.dirx * _local5)) + _local10;
var _local12 = (ob.ytile + (ob.diry * _local5)) + _local10;
if (mapary[_local12][_local13] < tiles_st) {
var _local8 = getdepth(_local13, _local12, 4);
var _local3 = clip.middle.getInstanceAtDepth(_local8);
if ((_local3 != undefined) && (_local3._name.substr(0, 1) == "e")) {
var _local6 = Number(_local3._name.substring(5));
level_it[mapopen][0][_local6] = false;
_local13 = _local3._x;
_local12 = _local3._y;
delete enemy[Number(_local3._name.substring(5))];
var _local9;
if ((_local3._currentframe != 3) && (_local3._currentframe < 6)) {
_local9 = _local3._currentframe;
} else {
_local9 = _local3.char._currentframe;
}
player_it[2][7]++;
removeMovieClip(_local3);
clip.middle.attachMovie("dead", "dead" + _local6, _local8, {_x:_local13, _y:_local12});
clip.middle["dead" + _local6].gotoAndStop(_local9);
_local18 = true;
break;
}
} else {
break;
}
_local5++;
}
if (_local18) {
break;
}
_local10++;
}
ob.ban = false;
}
}
ie_btn = false;
} else {
ob.hide = false;
if (ob.statement == 4) {
ob.statement = 0;
}
if (ob.gun) {
sd_path.gun_sd.attachSound("gsb");
sd_path.gun_sd.start();
ob.gun = false;
}
ie_btn = true;
}
}
function getchange(num) {
remary[num] = [];
remary[num][0] = [];
var _local5 = 0;
while (_local5 < player_it.length) {
remary[num][0][_local5] = [];
remary[num][0][_local5] = player_it[_local5].concat();
_local5++;
}
remary[num][0][0][0] = player.xtile;
remary[num][0][0][1] = player.ytile;
remary[num][0][0][2] = player.dirx;
remary[num][0][0][3] = player.diry;
remary[num][1] = [];
_local5 = 0;
while (_local5 < object_num) {
if (level_it[mapopen][1][_local5]) {
remary[num][1][_local5] = new Array(object[_local5].xtile, object[_local5].ytile);
}
_local5++;
}
remary[num][2] = [];
_local5 = 0;
while (_local5 < event_num) {
var _local2 = (("ev_" + eve[_local5][0][1]) + "_") + eve[_local5][0][0];
if (this[_local2].active == 1) {
var _local4 = 0;
while (_local4 < this[_local2].action.length) {
if ((this[_local2].action[_local4][0] == "setter") && (this[_local2].action[_local4][5] != 2)) {
if (this[_local2].action[_local4][2] > 0) {
if (this[_local2].action[_local4][3] == this[_local2].action[_local4][4]) {
remary[num][2][remary[num][2].length] = new Array(eve[_local5][0][1], eve[_local5][0][0]);
break;
}
}
}
_local4++;
}
} else {
var _local4 = 0;
while (_local4 < this[_local2].action.length) {
if ((this[_local2].action[_local4][0] == "setter") && (this[_local2].action[_local4][5] == 4)) {
if (this[_local2].action[_local4][2] < 0) {
if (this[_local2].action[_local4][3] == this[_local2].action[_local4][4]) {
remary[num][2][remary[num][2].length] = new Array(eve[_local5][0][1], eve[_local5][0][0]);
break;
}
}
}
_local4++;
}
}
_local5++;
}
remary[num][3] = [];
_local5 = 0;
while (_local5 < enemy_num) {
remary[num][3][_local5] = new Array(enemy[_local5].xtile, enemy[_local5].ytile);
_local5++;
}
remary[num][4] = [];
_local5 = 0;
while (_local5 < level_it.length) {
remary[num][4][_local5] = [];
var _local4 = 0;
while (_local4 < level_it[_local5].length) {
remary[num][4][_local5][_local4] = [];
remary[num][4][_local5][_local4] = level_it[_local5][_local4].concat();
_local4++;
}
_local5++;
}
}
function obchar(ob) {
if (ob.statement == 1) {
ob.x = ob.x + (ob.speed * ob.dirx);
ob.y = ob.y + (ob.speed * ob.diry);
ob.frame = (ob.dirx + (ob.diry * 2)) + 3;
} else if (ob.statement == 3) {
ob.x = ob.x + (ob.speed * ((ob.dirx != 0) ? 0 : ((ob.right ? 1 : -1))));
ob.y = ob.y + (ob.speed * ((ob.diry != 0) ? 0 : ((ob.up ? -1 : 1))));
ob.frame = (8 - ob.dirx) - (ob.diry * 2);
}
ob.xiso = ob.x - ob.y;
ob.yiso = (ob.x + ob.y) / 2;
var _local5 = Math.round(ob.x / tilew);
var _local4 = Math.round(ob.y / tilew);
switch ((((_local5 - ob.xtile) * 10) + _local4) - ob.ytile) {
case 10 :
case -10 :
var _local8 = ob.xtile - ((_local5 - ob.xtile) * halfvx);
var _local6 = _local5 + ((_local5 - ob.xtile) * halfvx);
if (_local6 < 0) {
xm = _local6;
} else if (_local6 > (mapwidth - 1)) {
xm = (_local6 - mapwidth) + 1;
} else {
if (xm < 0) {
xm++;
} else if (xm > 0) {
xm--;
}
var _local3 = ob.ytile - (halfvy + ym);
while (_local3 <= (ob.ytile + (halfvy - ym))) {
changeTile(_local8, _local3, _local6, _local3);
_local3++;
}
}
break;
case 1 :
case -1 :
var _local9 = ob.ytile - ((_local4 - ob.ytile) * halfvy);
var _local7 = _local4 + ((_local4 - ob.ytile) * halfvy);
if (_local7 < 0) {
ym = _local7;
} else if (_local7 > (mapheight - 1)) {
ym = (_local7 - mapheight) + 1;
} else {
if (ym < 0) {
ym++;
} else if (ym > 0) {
ym--;
}
var _local3 = ob.xtile - (halfvx + xm);
for(;;){
if (_local3 > (ob.xtile + (halfvx - xm))) {
break;
}
changeTile(_local3, _local9, _local3, _local7);
_local3++;
};
}
}
clip._x = (centerx - ob.xiso) - tilew;
clip._y = (centery - ob.yiso) - (tilew / 2);
if ((ob.xtile != _local5) || (ob.ytile != _local4)) {
var _local3 = 1;
while (_local3 < 9) {
ob["a" + _local3]._alpha = 100;
_local3++;
}
ob.a1 = changealpha(_local5 + 1, _local4 + 1);
ob.a2 = changealpha(_local5, _local4 + 1);
ob.a3 = changealpha(_local5 + 1, _local4);
ob.a4 = changealpha(_local5 + 2, _local4 + 2);
ob.a5 = changealpha(_local5 + 2, _local4 + 1);
ob.a6 = changealpha(_local5 + 2, _local4);
ob.a7 = changealpha(_local5 + 1, _local4 + 2);
ob.a8 = changealpha(_local5, _local4 + 2);
_local3 = 1;
while (_local3 < 9) {
ob["a" + _local3]._alpha = 50;
_local3++;
}
listener(_local5 - ob.dirx, _local4 - ob.diry, 1, ob);
listener(_local5, _local4, 1, ob);
}
if (ob.depth == undefined) {
ob.depth = getdepth(_local5, _local4, ob.level);
} else if ((ob.xtile != _local5) || (ob.ytile != _local4)) {
ob.depth = getdepth(_local5, _local4, ob.level);
}
if (ob.clip == undefined) {
var _local10 = clip.middle;
_local10.attachMovie(ob.name, ob.name + ob.num, ob.depth);
ob.clip = _local10[ob.name + ob.num];
}
ob.clip._x = ob.xiso;
ob.clip._y = ob.yiso;
ob.clip.swapDepths(ob.depth);
ob.clip.gotoAndStop(ob.frame);
ob.xtile = _local5;
ob.ytile = _local4;
}
function changealpha(x, y) {
if (mapary[y][x] >= tiles_st) {
return(clip.middle[(("t_" + y) + "_") + x]);
}
return(undefined);
}
function obroll(ob) {
ob.x = ob.x + (ob.dirx * ob.speed);
ob.y = ob.y + (ob.diry * ob.speed);
obxy(ob);
if (((ob.x % tilew) == 0) && ((ob.y % tilew) == 0)) {
var _local5 = mapary[ob.ytile + ob.diry][ob.xtile + ob.dirx] < tiles_wb;
var _local4 = clip.middle.getInstanceAtDepth(getdepth(ob.xtile + ob.dirx, ob.ytile + ob.diry, 1));
if (ob.roll) {
if ((!_local5) || (_local4 != undefined)) {
if (_local5 && (_local4 != undefined)) {
var _local3 = Number(_local4._name.substr(3));
var _local7 = mapary[ob.ytile + (2 * ob.diry)][ob.xtile + (2 * ob.dirx)] < tiles_wb;
var _local6 = clip.middle.getInstanceAtDepth(getdepth(ob.xtile + (2 * ob.dirx), ob.ytile + (2 * ob.diry), 1));
if (_local7 && (_local6 == undefined)) {
object[_local3].dirx = ob.dirx;
object[_local3].diry = ob.diry;
this[(("t_" + object[_local3].ytile) + "_") + object[_local3].xtile].obon = false;
this[(("t_" + object[_local3].ytile) + "_") + object[_local3].xtile].ob_n = undefined;
rollnow[rollnow.length] = object[_local3].num;
object[_local3].statement = 1;
}
}
this[(("t_" + ob.ytile) + "_") + ob.xtile].obon = true;
this[(("t_" + ob.ytile) + "_") + ob.xtile].ob_n = ob.num;
ob.statement = 0;
}
} else {
this[(("t_" + ob.ytile) + "_") + ob.xtile].obon = true;
this[(("t_" + ob.ytile) + "_") + ob.xtile].ob_n = ob.num;
ob.statement = 0;
}
}
}
function changeTile(xold, yold, xnew, ynew) {
var _local6 = (("t_" + yold) + "_") + xold;
var _local2 = (("t_" + ynew) + "_") + xnew;
if (this[_local6].walkable) {
var _local10 = clip.back;
} else {
var _local10 = clip.middle;
}
delete this[_local6];
var _local8 = getdepth(xnew, ynew, 0);
if ((((ynew >= 0) && (xnew >= 0)) && (ynew <= (mapheight - 1))) && (xnew <= (mapwidth - 1))) {
var _local9 = mapary[ynew][xnew];
this[_local2] = new Tiles_game(_local9, _local9 < tiles_wb);
if (this[_local2].walkable) {
var _local7 = clip.middle.getInstanceAtDepth(_local8 + ((((ynew + xnew) + (halfvx * 2)) - 1) * 1));
if ((_local7 != undefined) && (object[Number(_local7._name.substr(3))].statement != 1)) {
this[_local2].obon = true;
this[_local2].ob_n = Number(_local7._name.substring(3));
}
}
} else {
this[_local2] = new Tiles_game(70, false);
}
if (this[_local2].walkable) {
var _local3 = clip.back;
} else {
var _local3 = clip.middle;
}
if (_local10 != _local3) {
_local10[_local6].removeMovieClip();
_local3.attachMovie("tile", _local2, _local8);
} else {
_local3[_local6]._name = _local2;
_local3[_local2].swapDepths(_local8);
}
this[_local2].clip_1 = _local3[_local2];
_local3[_local2]._x = (xnew - ynew) * tilew;
_local3[_local2]._y = ((ynew + xnew) * tilew) / 2;
_local3[_local2].gotoAndStop(this[_local2].frame);
_local3[_local2].cacheAsBitmap = true;
}
function getdepth(x, y, num) {
var _local2 = ((y + x) + (halfvx * 2)) - 2;
return(((((_local2 * 5) + num) * (_local2 + 1)) + y) + halfvy);
}
function getsight(ob0, ob1) {
var _local18;
var _local17;
if (ob1.xcent == ob1.ycent) {
_local18 = ob1.xcent;
_local17 = 0;
} else {
_local18 = 0;
_local17 = ob1.ycent;
}
var _local15 = (ob1.x + ((ob1.width / 2) * _local18)) - ob0.x;
var _local14 = (ob1.y + ((ob1.height / 2) * _local17)) - ob0.y;
if (((ob0.statement > 6) ? true : (!ob1.hide)) && ((_local15 < ob0.sight_d) || (_local14 < ob0.sight_d))) {
var _local21 = Math.atan2(_local14, _local15);
var _local20 = Math.atan2(ob0.diry, ob0.dirx);
var _local16 = (Math.abs(_local21 - _local20) / Math.PI) * 180;
if (((_local16 < 280) ? (_local16 < ob0.sight_r) : ((360 - _local16) < ob0.sight_r))) {
var _local19 = Math.sqrt((_local15 * _local15) + (_local14 * _local14));
if (_local19 < ob0.sight_d) {
var _local3 = ob0.clip._x + tilew;
var _local6 = ob0.clip._y + (tilew / 2);
var _local13 = ((ob1.clip._x + ((ob1.width / 2) * ob1.xcent)) - ob0.clip._x) / 50;
var _local12 = ((ob1.clip._y + ((ob1.height / 4) * ob1.ycent)) - ob0.clip._y) / 50;
var _local5 = 0;
while (_local5 < 50) {
_local3 = _local3 + _local13;
_local6 = _local6 + _local12;
if ((Math.abs(((ob1.clip._x + tilew) + ((ob1.width / 2) * ob1.xcent)) - _local3) < 2) && (Math.abs(((ob1.clip._y + (tilew / 2)) + ((ob1.height / 4) * ob1.ycent)) - _local6) < 2)) {
break;
}
var _local4 = ((2 * _local6) - _local3) / 2;
var _local8 = _local3 + _local4;
var _local9 = Math.round(_local4 / tilew);
var _local10 = Math.round(_local8 / tilew) - 1;
var _local7 = mapary;
if (_local7[_local9][_local10] >= tiles_st) {
return(false);
}
_local5++;
}
if (_local19 < (tilew * 2.5)) {
clip.fround.attachMovie("mark", "mark", 0, {_x:ob0.xiso + tilew, _y:ob0.yiso - (tilew * 2), st:"!"});
player_info[2][5]++;
gameover = true;
}
return(true);
}
}
}
return(false);
}
function getfround(x, y, dx, dy) {
if (mapary[y][x] < tiles_wb) {
if (this[(("t_" + y) + "_") + x].obon) {
if (this[(("t_" + (y + dy)) + "_") + (x + dx)].obon || (mapary[y + dy][x + dx] >= tiles_wb)) {
return(2);
}
return(1);
}
return(0);
}
if ((mapary[y][x] >= tiles_st) && (mapary[y][x] != undefined)) {
return(3);
}
return(2);
}
function obxy(ob) {
if (ob.name == "enemy") {
ob.frame = (ob.dirx + (ob.diry * 2)) + 3;
}
ob.xiso = ob.x - ob.y;
ob.yiso = (ob.x + ob.y) / 2;
var _local4 = Math.round(ob.x / tilew);
var _local3 = Math.round(ob.y / tilew);
if (ob.depth == undefined) {
ob.depth = getdepth(_local4, _local3, ob.level);
} else if ((ob.xtile != _local4) || (ob.ytile != _local3)) {
ob.depth = getdepth(_local4, _local3, ob.level);
}
if (ob.name != "enemy") {
if (ob.clip == undefined) {
var _local6;
if (ob.name == "monitor") {
_local6 = clip.fround;
} else {
_local6 = clip.middle;
}
if (ob.name != "bomb") {
_local6.attachMovie(ob.name, ob.name + ob.num, ob.depth);
ob.clip = _local6[ob.name + ob.num];
} else {
_local6.attachMovie("obj", "bomb" + ob.num, ob.depth);
ob.clip = _local6["bomb" + ob.num];
}
}
if ((ob.name == "obj") && (ob.statement == 1)) {
if ((ob.xtile != _local4) || (ob.ytile != _local3)) {
listener(_local4 - ob.dirx, _local3 - ob.diry, 1);
listener(_local4, _local3, 1);
}
}
ob.clip._x = ob.xiso;
ob.clip._y = ob.yiso;
ob.clip.swapDepths(ob.depth);
ob.clip.gotoAndStop(ob.frame);
} else {
var _local5 = false;
if (_local4 > player.xtile) {
if ((_local4 - player.xtile) > (halfvx - xm)) {
_local5 = true;
}
} else if ((player.xtile - _local4) > (halfvx + xm)) {
_local5 = true;
}
if (_local3 > player.ytile) {
if ((_local3 - player.ytile) > (halfvy - ym)) {
_local5 = true;
}
} else if ((player.ytile - _local3) > (halfvy + ym)) {
_local5 = true;
}
if (_local5 && (ob.statement == 6)) {
removeMovieClip(ob.clip);
ob.clip = undefined;
} else {
if (ob.clip == undefined) {
var _local6 = clip.middle;
_local6.attachMovie(ob.name, ob.name + ob.num, ob.depth);
ob.clip = _local6[ob.name + ob.num];
}
ob.clip._x = ob.xiso;
ob.clip._y = ob.yiso;
ob.clip.swapDepths(ob.depth);
ob.clip.gotoAndStop(ob.frame);
}
}
ob.xtile = _local4;
ob.ytile = _local3;
}
function listener(x, y, num, ob) {
var _local2 = (("ev_" + y) + "_") + x;
if ((this[_local2] == undefined) && (num == 0)) {
if ((((mapary[y][x] > tiles_wb) && (mapary[y][x] != 55)) && (mapary[y][x] != 57)) && (mapary[y][x] != 58)) {
clip.fround.attachMovie("word", "word", 10000, {_x:player.clip._x + tilew, _y:player.clip._y - 50, st:"Nothing here!"});
}
}
if ((this[_local2] != undefined) && (this[_local2].active == num)) {
var _local7;
if (this[_local2].condition.length < 1) {
_local7 = true;
} else {
var _local3 = 0;
_local7 = true;
while (_local3 < this[_local2].condition.length) {
switch (this[_local2].condition[_local3][0]) {
case "player_it" :
_local7 = _local7 * (player_it[this[_local2].condition[_local3][1]][this[_local2].condition[_local3][2]] == this[_local2].condition[_local3][3]);
break;
case false :
_local7 = _local7 * this[_local2].condition[_local3][0];
break;
case true :
_local7 = _local7 * this[_local2].condition[_local3][0];
}
_local3++;
}
}
if (_local7) {
var _local3 = 0;
while (_local3 < this[_local2].action.length) {
switch (this[_local2].action[_local3][0]) {
case "changemap" :
changemap(this[_local2].action[_local3][1], this[_local2].action[_local3][2], this[_local2].action[_local3][3], this[_local2].action[_local3][4], this[_local2].action[_local3][5]);
sd_path.door_op.attachSound("door");
sd_path.door_op.start();
break;
case "cutdown" :
_local3 = 0;
while (_local3 < level_it[mapopen][2].length) {
level_it[mapopen][2][_local3] = false;
_local3++;
}
clip.fround.attachMovie("word", "word", 10000, {_x:player.clip._x + tilew, _y:player.clip._y - 50, st:"Turn off IR motion detectors"});
break;
case "lift" :
mini = true;
clip._parent.attachMovie("lift", "lift", 100, {_x:centerx, _y:centery});
clip._parent.lift.game = this;
clip._parent.lift.slift = function (num) {
if (num != (this.game.mapopen + 2)) {
this.game.changemap(num, 1, 1, -1, 0);
} else {
this.game.ev_2_0.active = 1;
this.game.ev_2_0.action[0] = this.game.ev_2_0.action[0][8];
}
this.game.lifton = true;
this.game.sd_path.lift_ar.start();
};
break;
case "lift_2" :
mini = true;
clip._parent.attachMovie("lift_2", "lift_2", 100, {_x:centerx, _y:centery});
clip._parent.lift_2.game = this;
clip._parent.lift_2.slift = function (num) {
if (num != (this.game.mapopen + 2)) {
this.game.changemap(num, 1, 3, -1, 0);
}
this.game.ev_4_2.active = 1;
this.game.ev_4_2.action[0] = this.game.ev_4_2.action[0][8];
this.game.lifton = true;
this.game.sd_path.lift_ar.start();
};
break;
case "getter" :
if (player_it[this[_local2].action[_local3][2]][this[_local2].action[_local3][3]] != this[_local2].action[_local3][1]) {
player_it[this[_local2].action[_local3][2]][this[_local2].action[_local3][3]] = this[_local2].action[_local3][1];
if (this[_local2].action[_local3][2] == 1) {
clip.fround.attachMovie("word", "word", 10000, {_x:player.clip._x + tilew, _y:player.clip._y - 50, st:"You found " + word[this[_local2].action[_local3][3]]});
clip.fround.word.attachMovie("item_mc", "item_mc", 0, {_y:40});
clip.fround.word.item_mc.gotoAndStop(this[_local2].action[_local3][3] + 1);
} else if (this[_local2].action[_local3][2] == 4) {
clip.fround.attachMovie("word", "word", 10000, {_x:player.clip._x + tilew, _y:player.clip._y - 50, st:"Active"});
} else if (this[_local2].action[_local3][2] == 3) {
player_it[1][0] = true;
var _local8 = 0;
var _local4 = 0;
while (_local4 < 12) {
if (player_it[3][_local4]) {
_local8++;
}
_local4++;
}
if (clip._parent._currentframe == 30) {
clip.fround.attachMovie("word_b", "word", 10000, {_x:player.clip._x + tilew, _y:player.clip._y - 50, st:"You found a security code.\nYou need 12 codes to access the safe with the diamond"});
} else if (_local8 != 12) {
clip.fround.attachMovie("word_b", "word", 10000, {_x:player.clip._x + tilew, _y:player.clip._y - 50, st:((("You found a security code. [" + _local8) + "/12]") + newline) + "You need 12 codes to access the safe with the diamond"});
} else {
clip.fround.attachMovie("word", "word", 10000, {_x:player.clip._x + tilew, _y:player.clip._y - 50, st:"You found the last security code!"});
}
clip.fround.word.attachMovie("item_mc", "item_mc", 0, {_y:70});
clip.fround.word.item_mc.gotoAndStop(1);
} else if (this[_local2].action[_local3][2] == 6) {
player_it[2][2] = player_it[2][2] + this[_local2].action[_local3][4];
clip.fround.attachMovie("word", "word", 10000, {_x:player.clip._x + tilew, _y:player.clip._y - 50, st:"You found bullets"});
}
if ((this[_local2].action[_local3][4] != undefined) && (this[_local2].action[_local3][2] != 6)) {
object[this[_local2].action[_local3][4]].clip.removeMovieClip();
delete object[this[_local2].action[_local3][4]];
level_it[mapopen][1][this[_local2].action[_local3][4]] = false;
this[(("t_" + y) + "_") + x].obon = false;
this[(("t_" + y) + "_") + x].ob_n = undefined;
}
} else {
clip.fround.attachMovie("word", "word", 10000, {_x:player.clip._x + tilew, _y:player.clip._y - 50, st:"Nothing here!"});
}
break;
case "score" :
if (!player_it[6][this[_local2].action[_local3][1]]) {
player_it[6][this[_local2].action[_local3][1]] = true;
clip.fround.attachMovie("word", "word", 10000, {_x:player.clip._x + tilew, _y:player.clip._y - 50, st:"You found some Money!"});
} else {
clip.fround.attachMovie("word", "word", 10000, {_x:player.clip._x + tilew, _y:player.clip._y - 50, st:"Nothing here!"});
}
break;
case "outhere" :
if (ob.name == "char") {
if (player_it[4][5]) {
clip._parent.mask.gotoAndStop(7);
mini = true;
} else {
clip.fround.attachMovie("word", "word", 10000, {_x:player.clip._x + tilew, _y:player.clip._y - 50, st:"You can't leave now!"});
}
}
break;
case "final" :
_local7 = true;
_local3 = 0;
while (_local3 < player_it[3].length) {
_local7 = _local7 * player_it[3][_local3];
if (!_local7) {
break;
}
_local3++;
}
if (_local7 && (player_it[2][0] == 1)) {
mini = true;
clip._parent.attachMovie("game_1", "game_1", 100, {_x:90, _y:170});
clip._parent.game_1.game = this;
clip._parent.game_1.ary = player_info[5].concat();
clip._parent.game_1.theend = function (t) {
if (t) {
this.game.player_it[4][5] = true;
}
this.game.mini = false;
removeMovieClip(this);
};
} else {
clip.fround.attachMovie("word", "word", 10000, {_x:player.clip._x + tilew, _y:player.clip._y - 50, st:"You need 12 security codes"});
}
break;
case "game_2" :
mini = true;
clip._parent.attachMovie("game_2", "game_2", 100, {_x:30, _y:30});
clip._parent.game_2.game = this;
clip._parent.game_2.theend = function (t) {
if (t) {
this.game.player_it[4][1] = true;
} else {
this.game.player_it[2][6]++;
if (this.game.player_it[2][6] >= 3) {
this.game.gameover = true;
this.game.player_info[2][5]++;
}
}
this.game.mini = false;
removeMovieClip(this);
};
break;
case "game_3" :
mini = true;
clip._parent.attachMovie("game_3", "game_3", 100, {_x:30, _y:30});
clip._parent.game_3.game = this;
clip._parent.game_3.theend = function (t) {
if (t) {
this.game.player_it[4][2] = true;
} else {
this.game.player_it[2][6]++;
if (this.game.player_it[2][6] >= 3) {
this.game.gameover = true;
this.game.player_info[2][5]++;
}
}
this.game.mini = false;
removeMovieClip(this);
};
break;
case "game_4" :
mini = true;
clip._parent.attachMovie("game_4", "game_4", 100, {_x:30, _y:30});
clip._parent.game_4.game = this;
clip._parent.game_4.theend = function (t) {
if (t) {
this.game.player_it[4][0] = true;
} else {
this.game.player_it[2][6]++;
if (this.game.player_it[2][6] >= 3) {
this.game.gameover = true;
this.game.player_info[2][5]++;
}
}
this.game.mini = false;
removeMovieClip(this);
};
break;
case "game_5" :
mini = true;
clip._parent.attachMovie("game_5", "game_5", 100, {_x:30, _y:30});
clip._parent.game_5.game = this;
clip._parent.game_5.theend = function (t) {
if (t) {
this.game.player_it[4][6] = true;
} else {
this.game.player_it[2][6]++;
if (this.game.player_it[2][6] >= 3) {
this.game.gameover = true;
this.game.player_info[2][5]++;
}
}
this.game.mini = false;
removeMovieClip(this);
};
break;
case "game_6" :
mini = true;
clip._parent.attachMovie("game_6", "game_6", 100, {_x:30, _y:30});
clip._parent.game_6.game = this;
clip._parent.game_6.theend = function (t) {
if (t) {
this.game.player_it[4][7] = true;
} else {
this.game.player_it[2][6]++;
if (this.game.player_it[2][6] >= 3) {
this.game.gameover = true;
this.game.player_info[2][5]++;
}
}
this.game.mini = false;
removeMovieClip(this);
};
break;
case "game_7" :
mini = true;
clip._parent.attachMovie("game_7", "game_7", 100, {_x:30, _y:30});
clip._parent.game_7.game = this;
clip._parent.game_7.theend = function (t) {
if (t) {
this.game.player_it[4][8] = true;
} else {
this.game.player_it[2][6]++;
if (this.game.player_it[2][6] >= 3) {
this.game.gameover = true;
this.game.player_info[2][5]++;
}
}
this.game.mini = false;
removeMovieClip(this);
};
break;
case "showme_1" :
mini = true;
clip._parent.attachMovie("show1", "show1", 100, {_x:30, _y:30});
break;
case "setter" :
var _local10 = false;
if (this[_local2].action[_local3][2] < 0) {
if (this[_local2].action[_local3][4] != this[_local2].action[_local3][3]) {
this[_local2].action[_local3][4] = this[_local2].action[_local3][3];
_local10 = true;
}
} else {
this[_local2].action[_local3][4] = !this[_local2].action[_local3][4];
_local10 = true;
}
if (!_local10) {
break;
}
switch (this[_local2].action[_local3][5]) {
case 3 :
var _local6 = this[_local2].action[_local3][6];
var _local5 = this[_local2].action[_local3][7];
if (mapary[_local5][_local6] != 3) {
this[_local2].active = 1;
this[_local2].action[0] = this[_local2].action[0][8];
clip.middle[(("t_" + _local5) + "_") + _local6].clip.play();
mapary[_local5][_local6] = 3;
}
break;
case 4 :
_local6 = this[_local2].action[_local3][6];
_local5 = this[_local2].action[_local3][7];
if (this[_local2].action[_local3][4]) {
mapary[_local5][_local6] = clip._parent.mymap[_local5][_local6];
} else {
mapary[_local5][_local6] = clip._parent.ground;
}
if (this[(("t_" + _local5) + "_") + _local6] != undefined) {
changeTile(_local6, _local5, _local6, _local5);
sd_path.door_op.attachSound("door");
sd_path.door_op.start();
}
break;
case 5 :
infrared[this[_local2].action[_local3][6]].power = this[_local2].action[_local3][4];
break;
case 6 :
var _local9;
var _local12;
if (this[_local2].action[_local3][4]) {
_local9 = this[_local2].action[_local3][9];
_local12 = this[_local2].action[_local3][8];
} else {
_local9 = this[_local2].action[_local3][8];
_local12 = this[_local2].action[_local3][9];
}
if (mapary[this[_local2].action[_local3][7]][this[_local2].action[_local3][6]] == _local12) {
clip.back[(("t_" + this[_local2].action[_local3][7]) + "_") + this[_local2].action[_local3][6]].gotoAndStop(_local9);
mapary[this[_local2].action[_local3][7]][this[_local2].action[_local3][6]] = _local9;
sd_path.door_op.attachSound("glow");
sd_path.door_op.start();
}
break;
case 7 :
this[(("ev_" + this[_local2].action[_local3][7]) + "_") + this[_local2].action[_local3][6]].condition[this[_local2].action[_local3][8]][0] = this[_local2].action[_local3][4];
}
}
_local3++;
}
} else if (((this[_local2].condition[0][0] == "player_it") && (this[_local2].condition[0][1] == 2)) && (this[_local2].condition[0][2] == 0)) {
if (this[_local2].condition[0][3] == 2) {
clip.fround.attachMovie("word_b", "word", 10000, {_x:player.clip._x + tilew, _y:player.clip._y - 50, st:"Locked.\nYou need a blue card to open door."});
} else if (this[_local2].condition[0][3] == 3) {
clip.fround.attachMovie("word_b", "word", 10000, {_x:player.clip._x + tilew, _y:player.clip._y - 50, st:"Locked.\nYou need a red card to open door."});
} else {
clip.fround.attachMovie("word_b", "word", 10000, {_x:player.clip._x + tilew, _y:player.clip._y - 50, st:"Locked.\nYou need a yellow card to open door."});
}
} else {
clip.fround.attachMovie("word", "word", 10000, {_x:player.clip._x + tilew, _y:player.clip._y - 50, st:"Locked"});
}
}
}
function changedir(ob) {
if (ob.dirx == 0) {
if (mapary[ob.ytile][ob.xtile + 1] < tiles_st) {
ob.dirx = 1;
ob.diry = 0;
} else if (mapary[ob.ytile][ob.xtile - 1] < tiles_st) {
ob.dirx = -1;
ob.diry = 0;
} else {
ob.diry = -ob.diry;
}
} else if (mapary[ob.ytile + 1][ob.xtile] < tiles_st) {
(ob.dirx = 0);
(ob.diry = 1);
} else if (mapary[ob.ytile - 1][ob.xtile] < tiles_st) {
ob.dirx = 0;
ob.diry = -1;
} else {
ob.dirx = -ob.dirx;
}
}
function move_road(ob) {
if (((ob.x % tilew) == 0) && ((ob.y % tilew) == 0)) {
if (ob.road_on == ob.road.length) {
ob.road_on = 0;
return(true);
}
if ((ob.xtile == ob.road[ob.road_on][0]) && (ob.ytile == ob.road[ob.road_on][1])) {
ob.road_on++;
}
if ((ob.road[ob.road_on][0] - ob.xtile) > 0) {
ob.dirx = 1;
} else if ((ob.road[ob.road_on][0] - ob.xtile) < 0) {
ob.dirx = -1;
} else {
ob.dirx = 0;
}
if (ob.dirx == 0) {
if ((ob.road[ob.road_on][1] - ob.ytile) > 0) {
ob.diry = 1;
} else if ((ob.road[ob.road_on][1] - ob.ytile) < 0) {
ob.diry = -1;
} else {
ob.diry = 0;
}
} else {
ob.diry = 0;
}
var _local4 = ob.xtile + ob.dirx;
var _local3 = ob.ytile + ob.diry;
var _local5 = clip.middle.getInstanceAtDepth(getdepth(_local4, _local3, 1));
if ((mapary[_local3][_local4] >= tiles_st) || (_local5 != undefined)) {
changedir(ob);
}
}
ob.x = ob.x + (ob.speed * ob.dirx);
ob.y = ob.y + (ob.speed * ob.diry);
obxy(ob);
return(false);
}
function move_road_2(ob) {
if (((ob.x % tilew) == 0) && ((ob.y % tilew) == 0)) {
if (ob.road_on_2 == ob.road_2.length) {
return(true);
}
ob.dirx = ob.road_2[ob.road_on_2][0] - ob.xtile;
ob.diry = ob.road_2[ob.road_on_2][1] - ob.ytile;
if ((ob.statement == 7) || (ob.statement == 9)) {
ob.road_on_2++;
} else {
ob.road_2.shift();
}
}
ob.x = ob.x + (ob.speed * ob.dirx);
ob.y = ob.y + (ob.speed * ob.diry);
obxy(ob);
return(false);
}
function actz(ob) {
if (getsight(ob, player)) {
if (ob.statement == 8) {
ob.road_2.reverse();
ob.road_on_2 = ob.road_2.length;
}
ob.statement = 7;
} else {
if (ob.statement == 7) {
ob.time_2 = undefined;
ob.statement = 9;
}
if (ob.statement < 7) {
ob.statement = ob.action[ob.action_num][0];
}
}
switch (ob.statement) {
case 5 :
if (ob.time == undefined) {
ob.time = ob.action[ob.action_num][1];
ob.dirx = ob.action[ob.action_num][2];
ob.diry = ob.action[ob.action_num][3];
ob.clip.gotoAndStop(3);
ob.clip.char.gotoAndStop((ob.dirx + (ob.diry * 2)) + 3);
} else if (ob.time == 0) {
if (ob.action_dir) {
if (ob.action_num == (ob.action.length - 1)) {
ob.action_dir = false;
ob.action_num--;
} else {
ob.action_num++;
}
} else if (ob.action_num == 0) {
ob.action_dir = true;
ob.action_num++;
} else {
ob.action_num--;
}
ob.time = undefined;
} else {
ob.time--;
}
break;
case 6 :
if (ob.road.length == 0) {
ob.road = ob.action[ob.action_num].concat();
ob.road.shift();
if (!ob.action_dir) {
ob.road.reverse();
}
} else if (move_road(ob)) {
if (ob.action_dir) {
ob.action_num++;
} else {
ob.action_num--;
}
ob.road = [];
}
break;
case 7 :
if (ob.road_2.length == 0) {
ob.road_2 = [[ob.xtile + ob.dirx, ob.ytile + ob.diry]];
}
var _local7 = ob.road_2.length - 1;
if (_local7 != -1) {
if ((ob.road_2[_local7][0] != player.xtile) || (ob.road_2[_local7][1] != player.ytile)) {
var _local9 = player.xtile - ob.road_2[_local7][0];
var _local8 = player.ytile - ob.road_2[_local7][1];
var _local6 = 0;
var _local5 = 0;
var _local3;
var _local4;
if (Math.abs(_local9) < Math.abs(_local8)) {
if (_local8 == 0) {
_local4 = 0;
_local3 = ((_local9 > 0) ? 1 : -1);
} else {
_local3 = 0;
_local4 = ((_local8 > 0) ? 1 : -1);
}
} else if (_local9 == 0) {
_local3 = 0;
_local4 = ((_local8 > 0) ? 1 : -1);
} else {
_local4 = 0;
_local3 = ((_local9 > 0) ? 1 : -1);
}
while ((_local6 != _local9) || (_local5 != _local8)) {
if (!this[(("t_" + ((ob.road_2[_local7][1] + _local5) + _local4)) + "_") + ((ob.road_2[_local7][0] + _local6) + _local3)].walkable) {
if (_local3 == 0) {
_local4 = 0;
_local3 = ((_local9 > 0) ? 1 : -1);
} else {
_local3 = 0;
_local4 = ((_local8 > 0) ? 1 : -1);
}
}
if (_local6 == _local9) {
_local3 = 0;
_local4 = ((_local8 > 0) ? 1 : -1);
} else if (_local5 == _local8) {
_local4 = 0;
_local3 = ((_local9 > 0) ? 1 : -1);
}
_local6 = _local6 + _local3;
_local5 = _local5 + _local4;
ob.road_2.push([ob.road_2[_local7][0] + _local6, ob.road_2[_local7][1] + _local5]);
}
}
}
move_road_2(ob);
break;
case 8 :
if (move_road_2(ob)) {
ob.road_2 = [];
ob.road_on_2 = 0;
ob.statement = 0;
}
break;
case 9 :
if (!move_road_2(ob)) {
break;
}
if (ob.time_2 == undefined) {
ob.time_2 = 40;
if (ob.dirx == 0) {
if ((player.xtile - ob.xtile) > 0) {
ob.dirx = 1;
} else {
ob.dirx = -1;
}
ob.diry = 0;
} else {
if ((player.ytile - ob.ytile) > 0) {
ob.diry = 1;
} else {
ob.diry = -1;
}
ob.dirx = 0;
}
ob.clip.gotoAndStop(3);
ob.clip.char.gotoAndStop((ob.dirx + (ob.diry * 2)) + 3);
} else if (ob.time_2 == 20) {
if (ob.dirx == 0) {
ob.diry = -ob.diry;
} else {
ob.dirx = -ob.dirx;
}
ob.clip.gotoAndStop(3);
ob.clip.char.gotoAndStop((ob.dirx + (ob.diry * 2)) + 3);
} else if (ob.time_2 == 0) {
ob.road_2.reverse();
ob.road_on_2 = 0;
ob.statement = 8;
ob.time_2 = undefined;
}
if (ob.time_2 == undefined) {
break;
}
ob.time_2--;
}
}
function actz_m(ob) {
if (((ob.dirx > 0) ? ((player.xtile - ob.xtile) > 0) : ((player.ytile - ob.ytile) > 0))) {
if (getsight(ob, player)) {
clip.fround.attachMovie("mark", "mark", 10000, {_x:ob.xiso + tilew, _y:ob.yiso - (tilew * 3), st:"!"});
gameover = true;
player_info[2][5]++;
}
}
}
function actz_i(ob) {
if (ob.timeud >= 0) {
if (ob.time != 0) {
ob.time--;
} else {
ob.power = !ob.power;
ob.time = ob.timeud;
}
}
if (ob.power && (level_it[mapopen][2][ob.num])) {
if (ob.dirx != 0) {
if ((ob.ytile - player.ytile) == 0) {
if (((player.xtile - ob.xtile) >= 0) && ((player.xtile - ob.xtile) <= ob.lth)) {
clip.fround.attachMovie("mark", "mark", 0, {_x:ob.xiso + (tilew * 1.5), _y:ob.yiso - tilew, st:"!"});
if (clip._parent._currentframe != 30) {
gameover = true;
} else if (clip.fround.getInstanceAtDepth(1) == undefined) {
clip.fround.attachMovie("word", "word", 1, {_x:player.clip._x + tilew, _y:player.clip._y - 50, st:"You were detected by the IR beam."});
}
player_info[2][5]++;
}
}
} else if ((ob.xtile - player.xtile) == 0) {
if (((player.ytile - ob.ytile) >= 0) && ((player.ytile - ob.ytile) <= ob.lth)) {
clip.fround.attachMovie("mark", "mark", 0, {_x:ob.xiso + (tilew * 1.5), _y:ob.yiso - tilew, st:"!"});
if (clip._parent._currentframe != 30) {
gameover = true;
} else if (clip.fround.getInstanceAtDepth(1) == undefined) {
clip.fround.attachMovie("word", "word", 1, {_x:player.clip._x + tilew, _y:player.clip._y - 50, st:"You were detected by the IR beam."});
}
player_info[2][5]++;
}
}
}
if (((player_it[2][1] == 8) && (ob.power)) && (level_it[mapopen][2][ob.num])) {
var _local3 = 0;
while (_local3 < ob.lth) {
if (clip.middle[(("line" + ob.num) + "_") + (_local3 + 1)]._visible != true) {
clip.middle[(("line" + ob.num) + "_") + (_local3 + 1)]._visible = true;
}
_local3++;
}
} else {
var _local3 = 0;
while (_local3 < ob.lth) {
if (clip.middle[(("line" + ob.num) + "_") + (_local3 + 1)]._visible != false) {
clip.middle[(("line" + ob.num) + "_") + (_local3 + 1)]._visible = false;
}
_local3++;
}
}
}
function mappingforme(map) {
mapary = map;
mapwidth = mapary[0].length;
mapheight = mapary.length;
cra.xtile = Math.ceil(mapwidth / 2);
cra.ytile = Math.ceil(mapheight / 2);
var _local6 = cra;
_local6.x = _local6.xtile * tilew;
_local6.y = _local6.ytile * tilew;
_local6.xiso = _local6.x - _local6.y;
_local6.yiso = (_local6.x + _local6.y) / 2;
clip._x = (centerx - _local6.xiso) - tilew;
clip._y = (centery - _local6.yiso) - (tilew / 2);
clip.createEmptyMovieClip("back", 10);
var _local3 = _local6.ytile - halfvy;
while (_local3 <= (_local6.ytile + halfvy)) {
var _local2 = _local6.xtile - halfvx;
while (_local2 <= (_local6.xtile + halfvx)) {
if ((((_local3 >= 0) && (_local2 >= 0)) && (_local3 < mapheight)) && (_local2 < mapwidth)) {
var _local7 = mapary[_local3][_local2];
var _local4 = (("t_" + _local3) + "_") + _local2;
var _local5 = clip.back;
_local5.attachMovie("tile", _local4, getdepth(_local2, _local3, 0));
_local5[_local4]._x = (_local2 - _local3) * tilew;
_local5[_local4]._y = ((_local2 + _local3) * tilew) / 2;
_local5[_local4].gotoAndStop(_local7);
}
_local2++;
}
_local3++;
}
}
static var tilew = 32;
var player_info = new Array();
var level_info = new Array();
var player_it = new Array();
var level_it = new Array();
var enemy = new Array();
var object = new Array();
var objecttemp = new Array();
var infrared = new Array();
var monitor = new Array();
var bomb = new Array();
var eve = new Array();
var rollnow = new Array();
var eventtemp = new Array();
var mapary = new Array();
var word = new Array();
var xl = new Array();
var remary = new Array();
var lastm = false;
}
Symbol 1016 MovieClip [__Packages.Char_game] Frame 0
class Char_game
{
var speed, width, height, xtile, ytile, x, y, statement;
function Char_game (_xtile, _ytile) {
speed = 5;
width = 20;
height = 20;
xtile = _xtile;
ytile = _ytile;
x = xtile * Game.tilew;
y = ytile * Game.tilew;
statement = 0;
}
var dirx = -1;
var diry = 0;
}
Symbol 1017 MovieClip [__Packages.Player_game] Frame 0
class Player_game extends Char_game
{
var hide, busy, num, name, speed, width, height, level, xtile, ytile, x, y, xcent, ycent, statement;
function Player_game (_xtile, _ytile) {
super();
hide = false;
busy = false;
num = 0;
name = "char";
speed = 4;
width = 30;
height = 30;
level = 5;
xtile = _xtile;
ytile = _ytile;
x = xtile * Game.tilew;
y = ytile * Game.tilew;
xcent = x + (width / 2);
ycent = y + (width / 2);
statement = 0;
}
}
Symbol 1018 MovieClip [__Packages.Camera_game] Frame 0
class Camera_game
{
var speed;
function Camera_game () {
speed = 2;
}
}
Symbol 1019 MovieClip [__Packages.Mouse_game] Frame 0
class Mouse_game
{
var width, height;
function Mouse_game () {
width = 20;
height = 20;
}
}
Symbol 1020 MovieClip [__Packages.Enemy_game] Frame 0
class Enemy_game extends Char_game
{
var name, speed, width, height, level, xtile, ytile, x, y, statement;
function Enemy_game (_xtile, _ytile) {
super();
name = "enemy";
speed = 4;
width = 30;
height = 30;
level = 4;
xtile = _xtile;
ytile = _ytile;
x = xtile * Game.tilew;
y = ytile * Game.tilew;
statement = 0;
}
var road = new Array();
var road_2 = new Array();
var road_on = 0;
var road_on_2 = 0;
var sight_d = 150;
var sight_r = 60;
var action = new Array();
var action_num = 0;
var action_dir = true;
}
Symbol 1021 MovieClip [__Packages.Object_game] Frame 0
class Object_game extends Char_game
{
var name, speed, level, width, height, xtile, ytile, x, y, statement;
function Object_game (_xtile, _ytile) {
super();
name = "obj";
speed = 4;
level = 1;
width = 32;
height = 32;
xtile = _xtile;
ytile = _ytile;
x = xtile * Game.tilew;
y = ytile * Game.tilew;
statement = 0;
}
}
Symbol 1022 MovieClip [__Packages.Infrared_game] Frame 0
class Infrared_game
{
var name, level, xtile, ytile, x, y, statement, power;
function Infrared_game (_xtile, _ytile) {
name = "infrared";
level = 1;
xtile = _xtile;
ytile = _ytile;
x = xtile * Game.tilew;
y = ytile * Game.tilew;
statement = 0;
power = true;
}
var dirx = 1;
var diry = 0;
}
Symbol 1023 MovieClip [__Packages.Monitor_game] Frame 0
class Monitor_game extends Char_game
{
var level, name, xtile, ytile, x, y, statement;
function Monitor_game (_xtile, _ytile) {
super();
level = 1;
name = "monitor";
xtile = _xtile;
ytile = _ytile;
x = xtile * Game.tilew;
y = ytile * Game.tilew;
statement = 0;
}
var sight_d = 150;
var sight_r = 30;
}
Symbol 1024 MovieClip [__Packages.Event_game] Frame 0
class Event_game
{
function Event_game (a1) {
action = a1;
}
var condition = new Array();
var action = new Array();
}
Symbol 1025 MovieClip [__Packages.Tiles_game] Frame 0
class Tiles_game
{
var level, frame, walkable, obon;
function Tiles_game (a, b) {
level = 0;
frame = a;
walkable = b;
obon = false;
}
}
Symbol 44 MovieClip Frame 145
_root.nextFrame();
Symbol 48 Button
on (press) {
gotoAndStop ("submit");
}
Symbol 56 Button
on (release) {
gotoAndStop (1);
}
Symbol 70 Button
on (release) {
viewHighscore();
}
Symbol 71 MovieClip Frame 1
stop();
_global.game_name = _game_name;
var highscore = eval (score_var);
_global.viewHighscore = function () {
getURL ("http://www.freeworldgroup.com/score/index.asp?game=" + game_name, "_blank");
};
if (highscore == 0) {
this._visible = false;
}
Symbol 71 MovieClip Frame 3
function sendData() {
send_var.game = game_name;
send_var.score = highscore;
send_var.name = name_txt.text;
if (send_var.name == "") {
send_var.name = "guest" + int(Math.random() * 1000);
}
send_var.sendAndLoad("http://www.freeworldgroup.com/score/score.asp", load_var, "POST");
gotoAndStop ("sending");
}
stop();
gold_txt.text = highscore;
gold_txt.backgroundColor = 3368601 /* 0x336699 */;
name_txt.backgroundColor = 3368601 /* 0x336699 */;
send_var = new LoadVars();
load_var = new LoadVars();
ok_btn.onRelease = sendData;
load_var.onLoad = function () {
gotoAndStop ("done");
};
Instance of Symbol 52 MovieClip in Symbol 71 MovieClip Frame 3
on (release) {
}
Symbol 83 MovieClip [item_mc] Frame 1
stop();
Symbol 87 MovieClip [mark] Frame 1
var st;
tmc.txt.text = st;
var time = 30;
onEnterFrame = function () {
if (time != 0) {
time--;
} else {
removeMovieClip(this);
}
};
Symbol 87 MovieClip [mark] Frame 8
stop();
Symbol 93 MovieClip [word] Frame 1
var st;
tmc.txt.text = st;
var time = 30;
onEnterFrame = function () {
if (time != 0) {
time--;
} else {
removeMovieClip(this);
}
};
Symbol 93 MovieClip [word] Frame 8
stop();
Symbol 97 MovieClip [word_b] Frame 1
var st;
tmc.txt.text = st;
var time = 120;
onEnterFrame = function () {
if (time != 0) {
time--;
} else {
removeMovieClip(this);
}
};
Symbol 97 MovieClip [word_b] Frame 8
stop();
Symbol 108 MovieClip Frame 150
_parent.theend(true);
stop();
Symbol 109 MovieClip [game_1] Frame 1
var theend;
Symbol 121 MovieClip Frame 1
onPress = function () {
if (!_parent.gameend) {
if ((!_parent.player) && (_parent.time != 0)) {
_parent.time = 0;
} else {
play();
}
}
};
stop();
Symbol 121 MovieClip Frame 6
stop();
Symbol 121 MovieClip Frame 11
stop();
Symbol 121 MovieClip Frame 16
stop();
Symbol 121 MovieClip Frame 21
gotoAndStop (1);
Symbol 122 MovieClip Frame 1
function fun_mask() {
var _local5;
var _local2 = 0;
while (_local2 < num_sum) {
_local2 && (mc0.duplicateMovieClip("mc" + _local2, _local2));
if (time < 0) {
_local5 = (Math.round(Math.random() * 3) * 5) + 1;
this["mc" + _local2].gotoAndStop(_local5);
ary[_local2] = _local5;
} else {
this["mc" + _local2].gotoAndStop(1);
}
if (!(action === 0)) {
} else if (ff) {
this["mc" + _local2]._x = (fx ? (_local2 % num_x) : ((num_x - (_local2 % num_x)) - 1)) * dw;
this["mc" + _local2]._y = (fy ? (Math.floor(_local2 / num_x)) : ((num_y - Math.floor(_local2 / num_x)) - 1)) * dh;
} else {
this["mc" + _local2]._x = (fx ? (Math.floor(_local2 / num_y)) : ((num_x - Math.floor(_local2 / num_y)) - 1)) * dw;
this["mc" + _local2]._y = (fy ? (_local2 % num_y) : ((num_y - (_local2 % num_y)) - 1)) * dh;
}
this["mc" + _local2]._xscale = dw * b_x;
this["mc" + _local2]._yscale = dh * b_y;
var _local4 = this["mc" + _local2]._x;
var _local3 = this["mc" + _local2]._y;
this["mc" + _local2]._x = _local4 - _local3;
this["mc" + _local2]._y = (_local4 + _local3) / 2;
_local2++;
}
}
function ckit() {
var _local2 = 0;
while (_local2 < num_sum) {
if (ary[_local2] != this["mc" + _local2]._currentframe) {
return(false);
}
_local2++;
}
return(true);
}
function fun_time() {
if (time == 0) {
if (player) {
clearInterval(Id);
} else {
fun_mask();
time = 20;
player = true;
}
} else {
time--;
}
}
var Width = 150;
var Height = 150;
var num_x = 3;
var num_y = 3;
var timer = 10;
var action = 0;
var ff = false;
var fx = true;
var fy = true;
var b_x = 10;
var b_y = 10;
var ck = 3;
var time = -1;
var dw = (Width / num_x);
var dh = (Height / num_y);
var num_sum = (num_x * num_y);
var ary = new Array();
var player = false;
var gameend = false;
var cl_1 = "<font color='#ff00ff'>";
var cl_2 = "<font color='#ffff00'>";
var cl_ed = "</font>";
fun_mask();
time = 20;
var Id = setInterval(this, "fun_time", 1000);
onEnterFrame = function () {
if (!gameend) {
if (player) {
if (time == 0) {
if (ckit()) {
_parent.end = true;
gameend = true;
_parent.txt.htmlText = "You Win!";
} else {
gameend = true;
_parent.txt.htmlText = "Time Over! You Lose!";
}
} else {
_parent.txt.htmlText = (("Time Remaining : " + cl_2) + time) + cl_ed;
if (ckit()) {
_parent.end = true;
gameend = true;
_parent.txt.htmlText = "You Win!";
}
}
} else {
_parent.txt.htmlText = ((((("Try to remember the pattern below.\nYou have " + cl_2) + time) + cl_ed) + " seconds to remember.") + newline) + "Click on the squares to change their shapes.";
}
}
};
Symbol 128 Button
on (release) {
theend(end);
}
Symbol 130 MovieClip [game_2] Frame 1
var theend;
var end = false;
Symbol 131 MovieClip Frame 20
stop();
Symbol 132 MovieClip Frame 20
stop();
Symbol 134 MovieClip Frame 1
function timedown() {
if (player) {
if ((gameend != true) && (_parent.end != true)) {
if (time != 0) {
_parent.txt.htmlText = (("Time Remaining : " + cl_2) + time) + cl_ed;
time--;
} else {
_parent.txt.htmlText = "Time over. You lose";
gameend = true;
}
}
}
}
function fun_mask() {
if (i < num_sum) {
i && (mc0.duplicateMovieClip("mc" + i, i));
if (ff) {
this["mc" + i]._x = (fx ? (i % num_x) : ((num_x - (i % num_x)) - 1)) * dw;
this["mc" + i]._y = (fy ? (Math.floor(i / num_x)) : ((num_y - Math.floor(i / num_x)) - 1)) * dh;
} else {
this["mc" + i]._x = (fx ? (Math.floor(i / num_y)) : ((num_x - Math.floor(i / num_y)) - 1)) * dw;
this["mc" + i]._y = (fy ? (i % num_y) : ((num_y - (i % num_y)) - 1)) * dh;
}
this["mc" + i]._xscale = dw * b_x;
this["mc" + i]._yscale = dh * b_y;
this["mc" + i].gotoAndStop(2);
i++;
} else {
clearInterval(intervalId);
}
}
function changeall() {
var _local2 = 0;
while (_local2 < num_sum) {
if ((((this["mc" + _local2]._y / dh) % 2) == 0) && (((this["mc" + _local2]._x / dw) % 2) == 0)) {
this["mc" + _local2].gotoAndStop(1);
} else {
this["mc" + _local2].gotoAndStop(2);
}
this["mc" + _local2]._name = (("mc" + (this["mc" + _local2]._y / dh)) + "_") + (this["mc" + _local2]._x / dw);
_local2++;
}
}
function changec(mc) {
if (mc._currentframe != 2) {
mc.nextFrame();
} else {
mc.prevFrame();
}
}
function ck() {
var _local2 = 0;
while (_local2 < num_sum) {
if (this[(("mc" + Math.floor(_local2 / 5)) + "_") + (_local2 % 5)]._currentframe != 2) {
return(false);
}
_local2++;
}
return(true);
}
var Width = 400;
var Height = 300;
var num_x = 5;
var num_y = 5;
var timer = 10;
var ff = false;
var fx = true;
var fy = true;
var b_x = 10;
var b_y = 10;
var i = 0;
var dw = (Width / num_x);
var dh = (Height / num_y);
var num_sum = (num_x * num_y);
var time = 120;
var gameend = false;
xl = [[0, 0], [0, -1], [1, 0], [0, 1], [-1, 0]];
var player = false;
var cl_1 = "<font color='#ff00ff'>";
var cl_2 = "<font color='#ffff00'>";
var cl_ed = "</font>";
var Id = setInterval(this, "timedown", 1000);
_parent.txt.htmlText = "Rearrange all the squares so the whole board looks like the image below.\nClick on the image below to begin.\nYou have 2 minutes to solve this puzzle.";
var intervalId = setInterval(this, "fun_mask", timer);
onPress = function () {
if (time != 0) {
if (player) {
var _local5 = Math.floor((_xmouse / dw) + 0.5);
var _local4 = Math.floor((_ymouse / dh) + 0.5);
var _local3 = 0;
while (_local3 < xl.length) {
changec(this[(("mc" + (_local4 + xl[_local3][1])) + "_") + (_local5 + xl[_local3][0])]);
_local3++;
}
if (ck()) {
_parent.txt.htmlText = "You Win";
_parent.end = true;
}
} else {
changeall();
player = true;
}
}
};
Symbol 136 MovieClip [game_3] Frame 1
var theend;
var end = false;
Symbol 148 MovieClip Frame 1
stop();
Symbol 149 MovieClip [game_4] Frame 1
function timedown() {
if (gameplay) {
if (time != 0) {
time--;
}
}
}
function p_5(pt) {
if (p_ary[pt][0] != undefined) {
p1 = p_ary[pt][0];
p2 = p_ary[pt][1];
p3 = p_ary[pt][2];
p4 = p_ary[pt][3];
p5 = p_ary[pt][4];
var len = flash.geom.Point.distance(p1, p3);
var pianyi = ((lenmax - len) * r);
if (pianyi < 0) {
pianyi = 0;
}
var ax = ((((p1.x + p3.x) / 2) - p2.x) / i);
var ay = (((((p1.y + p3.y) / 2) - p2.y) + pianyi) / i);
p_ary[pt][5] = p_ary[pt][5] + ax;
p_ary[pt][6] = p_ary[pt][6] + ay;
p_ary[pt][5] = p_ary[pt][5] * q;
p_ary[pt][6] = p_ary[pt][6] * q;
p2.x = p2.x + p_ary[pt][5];
p2.y = p2.y + p_ary[pt][6];
with (p_ary[pt][7]) {
clear();
lineStyle(4, 16711680, 100);
moveTo(p1.x, p1.y);
p4.x = ((p1.x + p2.x) / 2) - p_ary[pt][5];
p4.y = (((p1.y + p2.y) / 2) + (pianyi / 2)) - p_ary[pt][6];
curveTo(p4.x, p4.y, p2.x, p2.y);
var len2 = flash.geom.Point.distance(p2, p3);
var lent = flash.geom.Point.distance(p2, p4);
lent_x = p4.x - p2.x;
lent_y = p4.y - p2.y;
p5.x = p2.x - (((len2 * lent_x) / lent) * p);
p5.y = p2.y - (((len2 * lent_y) / lent) * p);
curveTo(p5.x, p5.y, p3.x, p3.y);
}
if (((md != pt) && (Math.abs(p_ary[pt][5]) < 0.01)) && (Math.abs(p_ary[pt][6]) < 0.01)) {
p_ary[pt][0] = undefined;
}
}
}
function ckhit() {
var _local4 = mc._x;
var _local3 = mc._y;
var _local6 = (mc._x - p_ary[md][0].x) / 100;
var _local5 = (mc._y - p_ary[md][0].y) / 100;
var _local2 = 0;
while (_local2 < 100) {
_local4 = _local4 - _local6;
_local3 = _local3 - _local5;
if (ground.hitTest(_local4 + 30, _local3 + 30, true)) {
mc._x = p_ary[md][0].x;
mc._y = p_ary[md][0].y;
p_ary[md][8].removeMovieClip();
p_ary.pop();
break;
}
_local2++;
}
_local2 = 1;
while (_local2 < 3) {
if (this["a" + _local2].hitTest(mc)) {
this["t" + _local2] = true;
mc._x = this["a" + _local2]._x;
mc._y = this["a" + _local2]._y;
p_ary[md][2].x = mc._x;
p_ary[md][2].y = mc._y;
}
_local2++;
}
if (t1 && (t2)) {
end = true;
}
mc.stopDrag();
md = -1;
mc.gotoAndStop(1);
}
i = 9;
q = 0.91;
lenmax = 10;
r = 0.2;
p = 0.7;
var p_ary = new Array();
var md = -1;
var t1 = ((t2 = false));
var theend;
var end = false;
var gameplay = false;
var time = 25;
var Id = setInterval(this, "timedown", 1000);
var cl_1 = "<font color='#ff00ff'>";
var cl_2 = "<font color='#ffff00'>";
var cl_ed = "</font>";
mc.onPress = function () {
gameplay = true;
if (time != 0) {
this.startDrag(true);
this.gotoAndStop(2);
md = p_ary.length;
p_ary[p_ary.length] = new Array();
var _local2 = 0;
while (_local2 < 9) {
if (_local2 < 5) {
if (md == 0) {
p_ary[p_ary.length - 1][_local2] = new flash.geom.Point(this._x, this._y);
} else {
p_ary[p_ary.length - 1][_local2] = new flash.geom.Point(p_ary[p_ary.length - 2][2].x, p_ary[p_ary.length - 2][2].y);
}
} else if (_local2 < 7) {
p_ary[p_ary.length - 1][_local2] = 0;
} else {
this._parent.createEmptyMovieClip("mc" + (p_ary.length - 1), p_ary.length - 1);
p_ary[p_ary.length - 1][_local2] = this._parent["mc" + (p_ary.length - 1)];
}
_local2++;
}
}
};
mc.onRelease = function () {
ckhit();
};
this.onEnterFrame = function () {
var _local1 = 0;
while (_local1 < p_ary.length) {
if (md != _local1) {
p_5(_local1);
}
_local1++;
}
if (md >= 0) {
if (ground.hitTest(mc._x + 30, mc._y + 30, true)) {
mc.stopDrag();
mc.gotoAndStop(1);
mc._x = p_ary[md][0].x;
mc._y = p_ary[md][0].y;
p_ary[md][8].removeMovieClip();
md = -1;
p_ary.pop();
} else {
p_ary[md][2].x = mc._x;
p_ary[md][2].y = mc._y;
p_5(md);
}
}
if (end) {
txt.htmlText = "The lift is actived.";
} else if (time == 0) {
txt.htmlText = "Time over. You lose.";
} else if (!gameplay) {
txt.htmlText = "Connect the 3 flashing points by drawing a line (wire) between each point. \nYou cannot touch the circuit walls, but you can make any number of connections to link the wire together.";
} else {
txt.htmlText = (("Time Remaining : " + cl_2) + time) + cl_ed;
}
};
Symbol 153 Button
on (release, keyPress "<Enter>") {
if (gameend == false) {
if (answer.htmlText == "prison") {
end = true;
gameend = true;
txt.htmlText = "OK! The answer is right!";
} else {
end = false;
this.attachMovie("word", "word", 0, {_x:215, _y:200, st:"No! The answer is wrong!"});
}
} else {
theend(end);
}
}
Symbol 155 MovieClip [game_5] Frame 1
function timedown() {
if (time != 0) {
time--;
} else {
gameend = true;
}
}
var theend;
var end = false;
var gameend = false;
var time = 25;
var Id = setInterval(this, "timedown", 1000);
var cl_1 = "<font color='#ff00ff'>";
var cl_2 = "<font color='#ffff00'>";
var cl_ed = "</font>";
answer.type = "input";
answer.restrict = "a-z";
answer.maxChars = 6;
answer.password = true;
onEnterFrame = function () {
if (gameend) {
if (end == false) {
txt.htmlText = "Timeover. You lose.";
}
} else {
txt.htmlText = (("Where you are going if you fail?\nAnagram of prions.\nTime Remaining : " + cl_2) + time) + cl_ed;
}
};
Symbol 158 Button
on (release, keyPress "<Enter>") {
if (gameend == false) {
if (answer.htmlText == "f") {
end = true;
gameend = true;
txt.htmlText = "OK! The answer is right!";
} else {
end = false;
this.attachMovie("word", "word", 0, {_x:215, _y:200, st:"No! The answer is wrong!"});
}
} else {
theend(end);
}
}
Symbol 159 MovieClip [game_6] Frame 1
function timedown() {
if (time != 0) {
time--;
} else {
gameend = true;
}
}
var theend;
var end = false;
var gameend = false;
var time = 25;
var Id = setInterval(this, "timedown", 1000);
var cl_1 = "<font color='#ff00ff'>";
var cl_2 = "<font color='#ffff00'>";
var cl_ed = "</font>";
answer.type = "input";
answer.restrict = "a-z";
answer.maxChars = 1;
answer.password = true;
onEnterFrame = function () {
if (gameend) {
if (end == false) {
txt.htmlText = "Timeover. You lose.";
}
} else {
txt.htmlText = (("What is the next letter in the sequence below.\na, c, b, d, c, e, d, ...\nTime Remaining : " + cl_2) + time) + cl_ed;
}
};
Symbol 162 Button
on (release, keyPress "<Enter>") {
if (gameend == false) {
if (answer.htmlText == "heist") {
end = true;
gameend = true;
txt.htmlText = "OK! The answer is right!";
} else {
end = false;
this.attachMovie("word", "word", 0, {_x:215, _y:200, st:"No! The answer is wrong!"});
}
} else {
theend(end);
}
}
Symbol 163 MovieClip [game_7] Frame 1
function timedown() {
if (time != 0) {
time--;
} else {
gameend = true;
}
}
var theend;
var end = false;
var gameend = false;
var time = 25;
var Id = setInterval(this, "timedown", 1000);
var cl_1 = "<font color='#ff00ff'>";
var cl_2 = "<font color='#ffff00'>";
var cl_ed = "</font>";
answer.type = "input";
answer.restrict = "a-z";
answer.maxChars = 5;
answer.password = true;
onEnterFrame = function () {
if (gameend) {
if (end == false) {
txt.htmlText = "Timeover. You lose.";
}
} else {
txt.htmlText = (("What you are doing now?\nAnagram of shite.\nTime Remaining : " + cl_2) + time) + cl_ed;
}
};
Symbol 166 Button
on (release) {
n = 8;
if (_parent._currentframe == 8) {
gotoAndPlay (25);
} else if (_parent._currentframe == 7) {
gotoAndPlay (15);
} else {
gotoAndPlay (5);
}
}
Symbol 167 Button
on (release) {
n = 7;
if (_parent._currentframe == 8) {
gotoAndPlay (25);
} else if (_parent._currentframe == 7) {
gotoAndPlay (15);
} else {
gotoAndPlay (5);
}
}
Symbol 168 Button
on (release) {
n = 14;
if (_parent._currentframe == 8) {
gotoAndPlay (25);
} else if (_parent._currentframe == 7) {
gotoAndPlay (35);
} else {
gotoAndPlay (5);
}
}
Symbol 174 MovieClip [lift] Frame 1
for (var name in this) {
if (typeof(this[name]) == "movieclip") {
if (Number(name.substr(2)) != _parent._currentframe) {
this[name]._visible = false;
}
}
}
var n;
var slift;
var mc = _parent.main.middle.t_2_0.clip;
mc.gotoAndStop(1);
stop();
Symbol 174 MovieClip [lift] Frame 5
if (n == 14) {
slift(14);
}
Symbol 174 MovieClip [lift] Frame 14
if (n == 14) {
mc.play();
_parent.my.mapary[2][0] = 3;
_parent.my.mini = false;
removeMovieClip(this);
stop();
}
Symbol 174 MovieClip [lift] Frame 15
if (n == 7) {
slift(7);
}
Symbol 174 MovieClip [lift] Frame 24
if (n == 7) {
mc.play();
_parent.my.mapary[2][0] = 3;
_parent.my.mini = false;
removeMovieClip(this);
stop();
}
Symbol 174 MovieClip [lift] Frame 25
if (n == 8) {
slift(8);
}
Symbol 174 MovieClip [lift] Frame 34
if (n == 8) {
mc.play();
_parent.my.mapary[2][0] = 3;
_parent.my.mini = false;
removeMovieClip(this);
stop();
}
Symbol 174 MovieClip [lift] Frame 35
if (n == 7) {
slift(7);
}
Symbol 174 MovieClip [lift] Frame 44
if (n == 7) {
mc.play();
_parent.my.mapary[2][0] = 3;
_parent.my.mini = false;
removeMovieClip(this);
stop();
}
Symbol 174 MovieClip [lift] Frame 45
if (n == 14) {
slift(14);
}
Symbol 174 MovieClip [lift] Frame 55
if (n == 14) {
mc.play();
_parent.my.mapary[2][0] = 3;
_parent.my.mini = false;
removeMovieClip(this);
stop();
}
Symbol 176 Button
on (release) {
n = 19;
if (_parent._currentframe == 20) {
gotoAndPlay (5);
} else {
gotoAndPlay (15);
}
}
Symbol 177 Button
on (release) {
n = 20;
if (_parent._currentframe == 20) {
gotoAndPlay (5);
} else {
gotoAndPlay (15);
}
}
Symbol 178 MovieClip [lift_2] Frame 1
for (var name in this) {
if (typeof(this[name]) == "movieclip") {
if (Number(name.substr(2)) != _parent._currentframe) {
this[name]._visible = false;
}
}
}
var n;
var slift;
var mc = _parent.main.middle.t_4_2.clip;
mc.gotoAndStop(1);
stop();
Symbol 178 MovieClip [lift_2] Frame 5
if (n == 20) {
slift(20);
}
Symbol 178 MovieClip [lift_2] Frame 14
if (n == 20) {
mc.play();
_parent.my.mapary[4][2] = 3;
_parent.my.mini = false;
removeMovieClip(this);
stop();
}
Symbol 178 MovieClip [lift_2] Frame 15
if (n == 19) {
slift(19);
}
Symbol 178 MovieClip [lift_2] Frame 24
if (n == 19) {
mc.play();
_parent.my.mapary[4][2] = 3;
_parent.my.mini = false;
removeMovieClip(this);
stop();
}
Symbol 178 MovieClip [lift_2] Frame 25
if (n == 20) {
slift(20);
}
Symbol 178 MovieClip [lift_2] Frame 35
if (n == 20) {
mc.play();
_parent.my.mapary[4][2] = 3;
_parent.my.mini = false;
removeMovieClip(this);
stop();
}
Symbol 185 Button
on (press) {
_parent._parent.mask.gotoAndStop(1);
_parent._parent.gotoAndStop(1);
}
Symbol 193 MovieClip [trmc] Frame 1
function chcl(t, st) {
if (t) {
return((cl_1 + st) + cl_ed);
}
return((cl_2 + st) + cl_ed);
}
var up = String.fromCharCode(_parent.my.player_info[0][4]);
var down = String.fromCharCode(_parent.my.player_info[0][5]);
var left = String.fromCharCode(_parent.my.player_info[0][6]);
var right = String.fromCharCode(_parent.my.player_info[0][7]);
var h1 = String.fromCharCode(_parent.my.player_info[0][8]);
var h2 = String.fromCharCode(_parent.my.player_info[0][9]);
var a;
var b;
var c;
var d;
var e;
var f;
var g;
var h = false;
var t = 0;
var cl_1 = "<font color='#00ff00'>";
var cl_2 = "<font color='#ffffff'>";
var cl_ed = "</font>";
mc._visible = false;
mc_2._visible = false;
mc_4._visible = false;
if (temp == undefined) {
var temp = _parent.my.player_info[0][8];
}
_parent.my.player_info[0][8] = 0;
onEnterFrame = function () {
if (_parent._currentframe < 30) {
removeMovieClip(this);
} else {
switch (_currentframe) {
case 1 :
(!a) && ((a = Key.isDown(_parent.my.player_info[0][4])));
(!b) && ((b = Key.isDown(_parent.my.player_info[0][5])));
(!c) && ((c = Key.isDown(_parent.my.player_info[0][6])));
(!d) && ((d = Key.isDown(_parent.my.player_info[0][7])));
if (((a & b) & c) & d) {
_parent.my.player_info[0][8] = temp;
a = (b = (c = (d = (e = (f = (g = (h = false)))))));
nextFrame();
} else {
txt.htmlText = ((((((("Press " + chcl(a, up)) + " ") + chcl(b, down)) + " ") + chcl(c, left)) + " ") + chcl(d, right)) + " Keys to move character.";
}
break;
case 2 :
a = _parent.my.player_it[1][4];
b = _parent.my.player_it[1][5];
c = _parent.my.player_it[1][6];
d = _parent.my.player_it[1][7];
if (((a & b) & c) & d) {
if (_parent.my.player_it[2][1] == 9) {
mc._visible = true;
_parent.mask.item_e._visible = (_parent.mask.item_q._visible = true);
txt.htmlText = (((cl_2 + "Now click on each of the items in the toolbox.") + cl_ed) + newline) + "These items will help you through different parts of the game.";
} else if (_parent.my.player_it[2][1] == 5) {
txt.htmlText = ("Hold " + chcl(Key.isDown(_parent.my.player_info[0][9]), h2)) + " to activate your gun and click mouse to shoot.";
e = 1;
} else if (_parent.my.player_it[2][1] == 6) {
txt.htmlText = ((((((((("Now Press " + chcl(Key.isDown(_parent.my.player_info[0][9]), h2)) + " to place a bomb in front of the box near the door.") + newline) + "And press ") + chcl(Key.isDown(_parent.my.player_info[0][9]), h2)) + " again to activate the bomb. ") + newline) + cl_1) + "Move away from bomb, be careful, it could hurt you!") + cl_ed;
f = 1;
} else if (_parent.my.player_it[2][1] == 7) {
txt.htmlText = ("Hold " + chcl(Key.isDown(_parent.my.player_info[0][9]), h2)) + " to hide in a box.";
g = 1;
} else if (_parent.my.player_it[2][1] == 8) {
txt.htmlText = "Use the IR goggles to see infra-red security movement detectors in a room.";
h = 1;
}
if ((_parent.main.back.t_7_2._currentframe == 1) && ((((e + f) + g) + h) < 4)) {
e = (f = (g = (h = 1)));
}
if (((e & f) & g) & h) {
if (t != 40) {
t++;
} else {
mc._visible = false;
txt.htmlText = (((("Walk to the door and face it. Press " + chcl(Key.isDown(_parent.my.player_info[0][8]), h1)) + " to open the door. ") + newline) + "And search the lockers in the next room.") + newline;
if (_parent.main.back.t_7_2._currentframe == 1) {
txt.htmlText = (((((((cl_2 + "Click on the night-vision glasses from your toolbox.") + cl_ed) + newline) + "You will see an IR motion detector with the IR glasses.") + newline) + "Time your movement passed the detector for when it is turned off.") + newline) + "After you pass by the IR beam, search the 3 lockers.";
a = (b = (c = (d = (e = (f = (g = (h = false)))))));
nextFrame();
}
}
}
} else {
mc._visible = false;
mc_2._visible = false;
txt.htmlText = (((("Walk to the lockers, face them and press " + chcl(Key.isDown(_parent.my.player_info[0][8]), h1)) + " to search them.") + newline) + chcl(Key.isDown(_parent.my.player_info[0][8]), h1)) + " is an action key that will allow you to open doors, use card items and search for things. ";
_parent.mask.item_e._visible = (_parent.mask.item_q._visible = false);
}
break;
case 3 :
a = _parent.my.player_it[1][1];
b = _parent.my.player_it[1][2];
c = _parent.my.player_it[1][3];
if ((a & b) & c) {
if (_parent.main.back.t_7_9._currentframe == 1) {
txt.htmlText = ("The switch on the wall can turn on or off the IR motion detectors.\nWalk to the switch and click on it by pressing " + chcl(Key.isDown(_parent.my.player_info[0][8]), h1)) + " .";
a = (b = (c = (d = (e = (f = (g = (h = false)))))));
nextFrame();
} else if ((_parent.main.back.t_1_14._currentframe == 3) || (d == true)) {
d = true;
txt.htmlText = "Now go to the red door and use the red card to open it.";
} else if ((_parent.main.back.t_1_7._currentframe == 1) && (d != true)) {
mc_4._visible = false;
txt.htmlText = "Walk to the chair and push it.\nIt will press a floor button that will turn off the IR motion detectors.";
} else {
mc_4._visible = true;
txt.htmlText = ("You will need to use the blue card to open the blue door.\nFirst select the blue card from the card list\nWalk to the blue door and then press " + chcl(Key.isDown(_parent.my.player_info[0][8]), h1)) + " to open door.";
}
}
break;
case 4 :
a = _parent.my.player_it[3][0];
if (a) {
mc_2._visible = true;
txt.text = "End of Tutorial.";
} else {
if (_parent.my.level_it[_parent.my.mapopen][2][0] != false) {
break;
}
txt.text = ("Now search the table - move to it and press " + h1) + ".";
}
}
}
};
stop();
Instance of Symbol 43 MovieClip in Symbol 193 MovieClip [trmc] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_parent.mc_3._visible = true;
} else {
_parent.mc_3._visible = false;
}
}
Symbol 205 MovieClip Frame 4
_root.game_sd.step_sd.start();
Symbol 205 MovieClip Frame 12
_root.game_sd.step_sd.start();
Symbol 220 MovieClip Frame 4
_root.game_sd.step_sd.start();
Symbol 220 MovieClip Frame 12
_root.game_sd.step_sd.start();
Symbol 248 MovieClip Frame 4
stop();
Symbol 250 MovieClip Frame 4
stop();
Symbol 257 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 4
gotoAndStop (1);
Symbol 260 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 4
gotoAndStop (1);
Symbol 293 MovieClip [infrared] Frame 1
stop();
Symbol 339 MovieClip Frame 1
stop();
Symbol 339 MovieClip Frame 2
_root.game_sd.lift_op.start();
Symbol 339 MovieClip Frame 10
stop();
Symbol 375 Button
on (release) {
getURL ("http://www.freeworldgroup.com/", "_blank");
}
Symbol 378 Button
on (release) {
gotoAndStop (8);
}
Symbol 380 Button
on (press) {
viewHighscore();
}
Symbol 381 Button
on (press) {
getURL ("http://www.ifungames.com", "_blank");
}
Symbol 382 Button
on (press) {
gotoAndStop (2);
}
Symbol 383 Button
on (press) {
getURL ("http://www.freeworldgroup.com/", "_blank");
}
Symbol 384 Button
on (press) {
getURL ("http://www.freeworldgroup.com/koalafiles.htm", "_blank");
}
Symbol 391 Button
on (press) {
gotoAndStop (3);
}
Symbol 393 Button
on (press) {
_parent.gotoAndStop(30);
_parent.mu = 10;
}
Symbol 399 Button
on (press) {
gotoAndStop (6);
}
Symbol 400 Button
on (press) {
_root._quality = "BEST";
}
Symbol 401 Button
on (press) {
_root._quality = "HIGH";
}
Symbol 402 Button
on (press) {
_root._quality = "LOW";
}
Symbol 403 Button
on (press) {
_root._quality = "MEDIUM";
}
Symbol 408 Button
on (press) {
gotoAndStop (1);
}
Symbol 478 MovieClip Frame 1
function movTo(mc) {
this._x = mc._x + 10;
this.clear();
this.lineStyle(1, 16777215);
this.moveTo(0, 0);
this.lineTo(0, mc._y - this._y);
}
Symbol 479 MovieClip Frame 1
function getCode(id) {
return(keyCodeArr[id]);
}
function setKey(key_mc) {
key_mc.isUsed = true;
key_mc.info = currentKey.info;
currentKey.prevFrame();
key_mc.nextFrame();
popup_mc.movTo(key_mc);
popup_mc.txt = key_mc.info;
save(currentKey.code, key_mc.code);
var _local2 = 0;
while (_local2 < 256) {
key_mc = keyBoard["key_mc" + _local2];
if (typeof(key_mc) == "movieclip") {
key_mc.enabled = key_mc.isUsed;
if (!key_mc.enabled) {
key_mc.prevFrame();
}
}
_local2++;
}
}
function save(oldCode, newCode) {
var _local2 = 0;
while (_local2 < 11) {
if (keyCodeArr[_local2] == oldCode) {
keyCodeArr[_local2] = newCode;
_parent._parent.my.player_info[0][_local2 + 4] = newCode;
}
_local2++;
}
}
key_mc27.str = "Esc";
key_mc32.str = "Space";
key_mc37.str = "Left";
key_mc38.str = "Up";
key_mc39.str = "Right";
key_mc40.str = "Down";
key_mc47.str = "";
key_mc48.str = "0";
key_mc49.str = "1";
key_mc50.str = "2";
key_mc51.str = "3";
key_mc52.str = "4";
key_mc53.str = "5";
key_mc54.str = "6";
key_mc55.str = "7";
key_mc56.str = "8";
key_mc57.str = "9";
key_mc65.str = "A";
key_mc66.str = "B";
key_mc67.str = "C";
key_mc68.str = "D";
key_mc69.str = "E";
key_mc70.str = "F";
key_mc71.str = "G";
key_mc72.str = "H";
key_mc73.str = "I";
key_mc74.str = "J";
key_mc75.str = "K";
key_mc76.str = "L";
key_mc77.str = "M";
key_mc78.str = "N";
key_mc79.str = "O";
key_mc80.str = "P";
key_mc81.str = "Q";
key_mc82.str = "R";
key_mc83.str = "S";
key_mc84.str = "T";
key_mc85.str = "U";
key_mc86.str = "V";
key_mc87.str = "W";
key_mc88.str = "X";
key_mc89.str = "Y";
key_mc90.str = "Z";
key_mc96.str = "NumPad0";
key_mc97.str = "NumPad1";
key_mc98.str = "NumPad2";
key_mc99.str = "NumPad3";
key_mc100.str = "NumPad4";
key_mc101.str = "NumPad5";
key_mc102.str = "NumPad6";
key_mc103.str = "NumPad7";
key_mc104.str = "NumPad8";
key_mc105.str = "NumPad9";
key_mc106.str = "*";
key_mc107.str = "+";
key_mc108.str = "";
key_mc109.str = "-";
key_mc110.str = ".";
key_mc111.str = "/";
key_mc112.str = "F1";
key_mc113.str = "F2";
key_mc114.str = "F3";
key_mc115.str = "F4";
key_mc116.str = "F5";
key_mc117.str = "F6";
key_mc118.str = "F7";
key_mc119.str = "F8";
key_mc120.str = "F9";
key_mc122.str = "F11";
key_mc123.str = "F12";
key_mc186.str = ";";
key_mc187.str = "=";
key_mc188.str = ",";
key_mc189.str = "-";
key_mc190.str = ".";
key_mc191.str = "/";
key_mc192.str = "`";
key_mc219.str = "[";
key_mc220.str = "\\";
key_mc221.str = "]";
key_mc222.str = "'";
var keyCodeArr = new Array();
keyCodeArr = _parent._parent.my.player_info[0].slice(4);
var keyArr = [[getCode(0), "up"], [getCode(1), "down"], [getCode(2), "left"], [getCode(3), "right"], [getCode(4), "hand_1"], [getCode(5), "hand_2"]];
var totalCtrl = keyArr.length;
var keyBoard = this;
var currentKey;
popup_mc._visible = false;
var i = 0;
while (i < 256) {
var key_mc = this["key_mc" + i];
if (typeof(key_mc) == "movieclip") {
key_mc.gotoAndStop(1);
key_mc.code = i;
key_mc.isUsed = false;
key_mc.enabled = false;
key_mc.onRollOver = function () {
this.nextFrame();
if (this.isUsed) {
popup_mc.movTo(this);
popup_mc._visible = true;
popup_mc.txt = this.info;
}
_root.userMouse.rollOver();
};
key_mc.onRollOut = function () {
if (this.isUsed) {
popup_mc._visible = false;
} else {
this.prevFrame();
}
_root.userMouse.rollOut();
};
key_mc.onPress = function () {
if (this.isUsed) {
currentKey = this;
currentKey.isUsed = false;
popup_mc.txt = "Select Any Key To Change";
var _local2 = 0;
while (_local2 < 256) {
var _local3 = keyBoard["key_mc" + _local2];
if (typeof(_local3) == "movieclip") {
_local3.enabled = !_local3.isUsed;
}
_local2++;
}
} else {
setKey(this);
}
};
}
i++;
}
var i = 0;
while (i < totalCtrl) {
var key_mc = keyBoard["key_mc" + keyArr[i][0]];
key_mc.info = keyArr[i][1];
key_mc.isUsed = true;
key_mc.enabled = true;
key_mc.nextFrame();
i++;
}
Symbol 479 MovieClip Frame 2
stop();
Symbol 483 Button
on (press) {
load(1);
}
Symbol 484 Button
on (press) {
load(2);
}
Symbol 485 Button
on (press) {
load(3);
}
Symbol 486 Button
on (press) {
load(4);
}
Symbol 487 Button
on (press) {
load(5);
}
Symbol 501 Button
on (press) {
_parent._parent.time = 20;
_parent._parent.gotoAndStop(_parent._parent.my.mapopen + 2);
}
Symbol 503 Button
on (press) {
_parent._parent.time = 20;
_parent._parent.gotoAndStop(1);
_parent.gotoAndStop(6);
}
Symbol 507 Button
on (press) {
gotoAndStop (1);
_parent.gotoAndStop(1);
}
Symbol 512 Button
on (press) {
if (!_parent._parent.my.mini) {
_parent._parent.mu = 12;
if (map._currentframe < 3) {
map.nextFrame();
} else {
save = false;
load = false;
map.gotoAndStop(1);
}
}
}
Symbol 514 Button
on (press) {
if ((!_parent._parent.my.mini) && (_parent._parent.mu == 10)) {
_parent._parent.my.lastm = true;
_parent._parent.gotoAndStop(40);
}
}
Symbol 529 Button
on (press) {
var mc = _parent._parent._parent;
mc.gotoAndStop(1);
}
Symbol 533 Button
on (press) {
if (_parent._parent._parent.sd) {
_parent._parent._parent.sd = false;
s_1._visible = false;
s_2._visible = true;
} else {
_parent._parent._parent.sd = true;
s_1._visible = true;
s_2._visible = false;
}
}
Symbol 534 Button
on (press) {
if (_parent._parent._parent.bkmu.bkmust != true) {
_parent._parent._parent.bkmu.stop();
_parent._parent._parent.bkmu.bkmust = true;
m_op._visible = false;
m_ed._visible = true;
} else {
_parent._parent._parent.bkmu.bkmust = false;
_parent._parent._parent.bkmu.start();
m_op._visible = true;
m_ed._visible = false;
}
}
Symbol 535 Button
on (press) {
if (_currentframe != 2) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 549 Button
on (press) {
_parent._parent._parent.mu = 12;
_parent.save = true;
_parent.map.gotoAndStop(4);
}
Symbol 550 Button
on (press) {
var mc = _parent._parent._parent;
mc.my.gamerst = true;
mc.gotoAndStop(40);
mc.mu = 10;
mc.mask.gotoAndStop(8);
}
Symbol 551 Button
on (press) {
_parent._parent._parent.mu = 12;
_parent.load = true;
_parent.map.gotoAndStop(5);
}
Symbol 555 Button
on (release) {
_parent._parent._parent.mu = 10;
}
Symbol 557 Button
on (press) {
_root._quality = "LOW";
gotoAndStop (1);
}
Symbol 558 Button
on (press) {
_root._quality = "MEDIUM";
gotoAndStop (1);
}
Symbol 559 Button
on (press) {
_root._quality = "HIGH";
gotoAndStop (1);
}
Symbol 560 Button
on (press) {
_root._quality = "BEST";
gotoAndStop (1);
}
Symbol 565 MovieClip Frame 1
stop();
Instance of Symbol 539 MovieClip "s_2" in Symbol 565 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent._parent.sd != true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 541 MovieClip "s_1" in Symbol 565 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent._parent.sd == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 543 MovieClip "m_op" in Symbol 565 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent._parent.bkmu.bkmust != true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 545 MovieClip "m_ed" in Symbol 565 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent._parent.bkmu.bkmust == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 578 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent._parent._parent.my.player_it[3][0]) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 578 MovieClip in Symbol 583 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent._parent._parent.my.player_it[3][1]) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 578 MovieClip in Symbol 583 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent._parent._parent.my.player_it[3][2]) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 578 MovieClip in Symbol 592 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent._parent._parent.my.player_it[3][3]) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 578 MovieClip in Symbol 592 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent._parent._parent.my.player_it[3][4]) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 578 MovieClip in Symbol 609 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent._parent._parent.my.player_it[3][5]) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 578 MovieClip in Symbol 612 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent._parent._parent.my.player_it[3][7]) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 578 MovieClip in Symbol 615 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent._parent._parent.my.player_it[3][6]) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 578 MovieClip in Symbol 628 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent._parent._parent.my.player_it[3][11]) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 578 MovieClip in Symbol 628 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent._parent._parent.my.player_it[3][9]) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 578 MovieClip in Symbol 631 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent._parent._parent.my.player_it[3][10]) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 578 MovieClip in Symbol 634 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent._parent._parent.my.player_it[3][8]) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 636 Button
on (press) {
save(1);
}
Symbol 637 Button
on (press) {
save(2);
}
Symbol 638 Button
on (press) {
save(3);
}
Symbol 639 Button
on (press) {
save(4);
}
Symbol 640 Button
on (press) {
save(5);
}
Symbol 653 MovieClip Frame 1
function save(datanum) {
if (_root.word == undefined) {
if (this["data_" + datanum].text == "none") {
_root.attachMovie("word", "word", 500, {_x:250, _y:15, st:"Change a name!"});
} else {
_root.attachMovie("word", "word", 500, {_x:250, _y:15, st:"Saved"});
so.data["data" + datanum] = new Array();
so.data["data" + datanum] = [];
so.data["data" + datanum][0] = game.my.mapopen;
so.data["data" + datanum][1] = [];
var _local4 = 0;
while (_local4 < game.my.player_info.length) {
so.data["data" + datanum][1][_local4] = game.my.player_info[_local4].concat();
_local4++;
}
so.data["data" + datanum][2] = [];
_local4 = 0;
while (_local4 < game.my.level_info.length) {
so.data["data" + datanum][2][_local4] = [];
var _local3 = 0;
while (_local3 < game.my.level_info[_local4].length) {
so.data["data" + datanum][2][_local4][_local3] = game.my.level_info[_local4][_local3].concat();
_local3++;
}
_local4++;
}
so.data["data" + datanum][3] = this["data_" + datanum].text;
so.data["data" + datanum][4] = game.my.timer.getTime();
so.flush();
}
}
}
function load(datanum) {
if (so.data["data" + datanum] != undefined) {
if (game.my.mapopen == so.data["data" + datanum][0]) {
game.gotoAndStop(41);
}
game.my.gamerst = true;
game.my.mapopen = so.data["data" + datanum][0];
game.my.player_info = [];
var _local3 = 0;
while (_local3 < so.data["data" + datanum][1].length) {
game.my.player_info[_local3] = so.data["data" + datanum][1][_local3].concat();
_local3++;
}
game.my.level_info = [];
_local3 = 0;
while (_local3 < so.data["data" + datanum][2].length) {
game.my.level_info[_local3] = [];
var _local2 = 0;
while (_local2 < so.data["data" + datanum][2][_local3].length) {
game.my.level_info[_local3][_local2] = so.data["data" + datanum][2][_local3][_local2].concat();
_local2++;
}
_local3++;
}
game.my.timer.setTime(so.data["data" + datanum][4]);
game.mu = 10;
game.my.changemap(game.my.mapopen + 2);
} else {
_root.attachMovie("word", "word", 500, {_x:250, _y:15, st:"No Data!"});
}
}
function mimap(num, mc) {
if ((!game.my.level_it[num].length) > 0) {
mc._visible = false;
} else if (game.my.mapopen == num) {
mc.gotoAndStop(2);
mc.attachMovie("playerp", "playerp", 0, {_x:(6 * game.my.player.xtile) + 3, _y:(6 * game.my.player.ytile) + 3});
var _local1 = 0;
while (_local1 < game.my.monitor_num) {
mc.attachMovie("monitor_sight", "monitor_sight" + _local1, 10 + _local1, {_x:(6 * game.my.monitor[_local1].xtile) + 3, _y:(6 * game.my.monitor[_local1].ytile) + 3, _rotation:((game.my.monitor[_local1].dirx == 0) ? 90 : 0)});
_local1++;
}
} else {
mc.stop();
}
}
var game = _parent._parent._parent;
var so = SharedObject.getLocal("heist_info");
if (_parent.save == true) {
gotoAndStop (4);
} else if (_parent.load == true) {
gotoAndStop (5);
} else if (run == undefined) {
if ((game.my.mapopen + 2) < 8) {
stop();
} else if (((game.my.mapopen + 2) > 13) && ((game.my.mapopen + 2) != 19)) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
}
if (run == undefined) {
run = true;
}
Instance of Symbol 580 MovieClip in Symbol 653 MovieClip Frame 1
onClipEvent (load) {
_parent.mimap(0, this);
}
Instance of Symbol 583 MovieClip in Symbol 653 MovieClip Frame 1
onClipEvent (load) {
_parent.mimap(1, this);
}
Instance of Symbol 586 MovieClip in Symbol 653 MovieClip Frame 1
onClipEvent (load) {
_parent.mimap(2, this);
}
Instance of Symbol 589 MovieClip in Symbol 653 MovieClip Frame 1
onClipEvent (load) {
_parent.mimap(3, this);
}
Instance of Symbol 592 MovieClip in Symbol 653 MovieClip Frame 1
onClipEvent (load) {
_parent.mimap(4, this);
}
Instance of Symbol 595 MovieClip in Symbol 653 MovieClip Frame 1
onClipEvent (load) {
_parent.mimap(5, this);
}
Instance of Symbol 602 MovieClip in Symbol 653 MovieClip Frame 1
onClipEvent (load) {
_parent.mimap(28, this);
}
Instance of Symbol 606 MovieClip in Symbol 653 MovieClip Frame 2
onClipEvent (load) {
_parent.mimap(7, this);
}
Instance of Symbol 609 MovieClip in Symbol 653 MovieClip Frame 2
onClipEvent (load) {
_parent.mimap(8, this);
}
Instance of Symbol 612 MovieClip in Symbol 653 MovieClip Frame 2
onClipEvent (load) {
_parent.mimap(9, this);
}
Instance of Symbol 615 MovieClip in Symbol 653 MovieClip Frame 2
onClipEvent (load) {
_parent.mimap(10, this);
}
Instance of Symbol 618 MovieClip in Symbol 653 MovieClip Frame 2
onClipEvent (load) {
_parent.mimap(11, this);
}
Instance of Symbol 595 MovieClip in Symbol 653 MovieClip Frame 2
onClipEvent (load) {
_parent.mimap(6, this);
}
Instance of Symbol 621 MovieClip in Symbol 653 MovieClip Frame 2
onClipEvent (load) {
_parent.mimap(17, this);
}
Instance of Symbol 625 MovieClip in Symbol 653 MovieClip Frame 3
onClipEvent (load) {
_parent.mimap(13, this);
}
Instance of Symbol 628 MovieClip in Symbol 653 MovieClip Frame 3
onClipEvent (load) {
_parent.mimap(15, this);
}
Instance of Symbol 631 MovieClip in Symbol 653 MovieClip Frame 3
onClipEvent (load) {
_parent.mimap(14, this);
}
Instance of Symbol 634 MovieClip in Symbol 653 MovieClip Frame 3
onClipEvent (load) {
_parent.mimap(16, this);
}
Instance of Symbol 595 MovieClip in Symbol 653 MovieClip Frame 3
onClipEvent (load) {
_parent.mimap(12, this);
}
Instance of Symbol 621 MovieClip in Symbol 653 MovieClip Frame 3
onClipEvent (load) {
_parent.mimap(18, this);
}
Symbol 653 MovieClip Frame 4
var i = 1;
while (i < 6) {
this["data_" + i].type = "input";
this["data_" + i].restrict = "A-Z a-z 0-9";
this["data_" + i].maxChars = 10;
if (so.data["data" + i][3] == undefined) {
this["data_" + i].text = "none";
} else {
this["data_" + i].text = so.data["data" + i][3];
}
i++;
}
Symbol 653 MovieClip Frame 5
var i = 1;
while (i < 6) {
if (so.data["data" + i][3] == undefined) {
this["data_" + i].text = "none";
} else {
this["data_" + i].text = so.data["data" + i][3];
}
i++;
}
Instance of Symbol 525 MovieClip in Symbol 657 MovieClip Frame 1
on (rollOver) {
if (!_parent._parent._parent.my.mini) {
_parent._parent._parent.mu = 11;
}
}
Symbol 657 MovieClip Frame 2
save = false;
load = false;
stop();
Instance of Symbol 565 MovieClip in Symbol 657 MovieClip Frame 9
onClipEvent (enterFrame) {
if (!_parent._parent.hitTest(_parent._parent._xmouse, _parent._parent._ymouse, true)) {
_parent._parent._parent.mu = 10;
}
}
Symbol 657 MovieClip Frame 26
stop();
Symbol 659 MovieClip Frame 1
var main = _parent._parent;
item_now.gotoAndStop(_parent._parent.my.player_it[2][1]);
item_4.onPress = (item_5.onPress = (item_6.onPress = (item_7.onPress = function () {
if (this._currentframe != 10) {
this._parent.item_now.gotoAndStop(this._currentframe);
main.my.player_it[2][1] = this._currentframe;
}
main.mu = 10;
})));
item_now.onPress = function () {
if ((!main.my.gameover) && (!Key.isDown(main.my.player_info[0][9]))) {
if ((main.mu == 13) || (main.mu == 10)) {
main.mu = 14;
var _local2 = main.my.player_info[1].length / 2;
while (_local2 < main.my.player_it[1].length) {
if (main.my.player_it[1][_local2]) {
this._parent["item_" + _local2].gotoAndStop(_local2 + 1);
} else {
this._parent["item_" + _local2].gotoAndStop(main.my.player_it[1].length + 1);
}
if (_local2 == 4) {
this._parent["item_" + _local2].txt.text = main.my.player_it[2][2];
} else if (_local2 == 5) {
this._parent["item_" + _local2].txt.text = main.my.player_it[2][3];
}
_local2++;
}
} else {
main.mu = 10;
}
}
};
stop();
Symbol 659 MovieClip Frame 10
stop();
Symbol 660 MovieClip Frame 1
item_now.gotoAndStop(_parent._parent.my.player_it[2][0]);
var main = _parent._parent;
item_0.onPress = (item_1.onPress = (item_2.onPress = (item_3.onPress = function () {
if (this._currentframe != 10) {
this._parent.item_now.gotoAndStop(this._currentframe);
main.my.player_it[2][0] = this._currentframe;
}
main.mu = 10;
})));
item_now.onPress = function () {
if (!main.my.gameover) {
if ((main.mu == 14) || (main.mu == 10)) {
main.mu = 13;
var _local4 = 0;
while (_local4 < (main.my.player_it[1].length / 2)) {
if (main.my.player_it[1][_local4]) {
this._parent["item_" + _local4].gotoAndStop(_local4 + 1);
} else {
this._parent["item_" + _local4].gotoAndStop(main.my.player_it[1].length + 1);
}
if (_local4 == 0) {
var _local5 = 0;
var _local3 = 0;
while (_local3 < _parent._parent.my.player_it[3].length) {
_local5 = _local5 + _parent._parent.my.player_it[3][_local3];
_local3++;
}
this._parent["item_" + _local4].txt.text = _local5;
}
_local4++;
}
} else {
main.mu = 10;
}
}
};
stop();
Symbol 660 MovieClip Frame 10
stop();
Symbol 729 MovieClip Frame 415
stop();
Symbol 732 MovieClip Frame 1
back._visible = false;
Instance of Symbol 43 MovieClip in Symbol 732 MovieClip Frame 1
on (press) {
_parent._parent._parent._parent.mu = 10;
_parent._parent._parent._parent.gotoAndStop(30);
}
Instance of Symbol 43 MovieClip in Symbol 732 MovieClip Frame 1
on (press) {
_parent._parent._parent.gotoAndStop(2);
}
Symbol 740 MovieClip Frame 1
function time() {
if ((!down) && (scrollBar._y < scrollBar._bottom)) {
scrollBar._y = scrollBar._y + 0.3;
}
}
var _maskY = int(scrollMask._y);
var _maskH = int(scrollMask._height);
var _barH = int(scrollBar._height);
var _upH = int(scrollUp._height);
var _downH = int(scrollDown._height);
var top = (_maskY + _upH);
var bottom = (((_maskY + _maskH) - _barH) - _downH);
var id = setInterval(this, "time", 300);
scrollBar._top = top;
scrollBar._bottom = bottom;
scrollBar._y = _maskY + _upH;
scrollBar._x = Math.floor(scrollMask._width + (scrollUp._width / 2)) - Math.floor(scrollBar._width / 2);
left = int(scrollBar._x);
scrollLine._x = Math.floor(scrollMask._width + (scrollUp._width / 2));
scrollLine._y = _maskY;
scrollLine._height = _maskH;
scrollUp._x = scrollMask._width;
scrollUp._y = _maskY;
scrollDown._x = scrollMask._width;
scrollDown._y = (_maskY + _maskH) - _downH;
var speed = 6;
var nSpeedLow = 1;
var nSpeedHigh = 3;
dis = ((scrollContent._height - _maskH) + 10) / (bottom - top);
contentStartY = scrollContent._y;
var down = false;
scrollContent._y = bottom;
scrollBar.onPress = function () {
scrollBar.startDrag(0, left, top, left, bottom);
down = true;
};
scrollBar.onRelease = (scrollBar.onReleaseOutside = function () {
scrollBar.stopDrag();
down = false;
});
this.onEnterFrame = function () {
disMove = (scrollBar._y - top) * dis;
scrollContent.yMove = contentStartY - disMove;
scrollContent._y = scrollContent._y + ((scrollContent.yMove - scrollContent._y) / speed);
};
scrollBar.onEnterFrame = function () {
if (this.d && (this._y < this._bottom)) {
this._y = this._y + this.s;
} else if (this.u && (this._y > this._top)) {
this._y = this._y - this.s;
}
};
scrollDown.onRollOver = function () {
scrollBar.d = true;
scrollBar.s = nSpeedLow;
down = true;
};
scrollDown.onPress = function () {
scrollBar.d = true;
scrollBar.s = nSpeedHigh;
down = true;
};
scrollDown.onRelease = function () {
scrollBar.d = true;
scrollBar.s = nSpeedLow;
down = true;
};
scrollDown.onRollOut = function () {
scrollBar.d = false;
scrollBar.s = 0;
down = false;
};
scrollDown.onReleaseOutside = function () {
scrollBar.d = false;
scrollBar.s = 0;
down = false;
};
scrollUp.onRollOver = function () {
scrollBar.u = true;
scrollBar.s = nSpeedLow;
down = true;
};
scrollUp.onPress = function () {
scrollBar.u = true;
scrollBar.s = nSpeedHigh;
down = true;
};
scrollUp.onRelease = function () {
scrollBar.u = true;
scrollBar.s = nSpeedLow;
down = true;
};
scrollUp.onRollOut = function () {
scrollBar.u = false;
scrollBar.s = 0;
down = false;
};
scrollUp.onReleaseOutside = function () {
scrollBar.u = false;
scrollBar.s = 0;
down = false;
};
Symbol 814 MovieClip Frame 682
var t = 20;
onEnterFrame = function () {
if (t != 0) {
t--;
} else {
_parent._parent.time = 0;
_parent._parent.my.gameover = true;
_parent._parent.my.mini = false;
}
};
stop();
Symbol 818 MovieClip [mask] Frame 1
this._alpha = 0;
onEnterFrame = function () {
((this._alpha < 100) ? ((this._alpha = this._alpha + 10)) : ((this._alpha = 100)));
};
stop();
Instance of Symbol 2 MovieClip in Symbol 818 MovieClip [mask] Frame 1
on (release) {
getURL ("http://www.freeworldgroup.com/", "_blank");
}
Symbol 818 MovieClip [mask] Frame 2
this._alpha = 0;
Symbol 818 MovieClip [mask] Frame 3
function load(datanum) {
if (so.data["data" + datanum] != undefined) {
_parent.my.mapopen = so.data["data" + datanum][0];
_parent.my.player_info = [];
var _local4 = 0;
while (_local4 < so.data["data" + datanum][1].length) {
_parent.my.player_info[_local4] = so.data["data" + datanum][1][_local4].concat();
_local4++;
}
_parent.my.level_info = [];
_local4 = 0;
while (_local4 < so.data["data" + datanum][2].length) {
_parent.my.level_info[_local4] = [];
var _local3 = 0;
while (_local3 < so.data["data" + datanum][2][_local4].length) {
_parent.my.level_info[_local4][_local3] = so.data["data" + datanum][2][_local4][_local3].concat();
_local3++;
}
_local4++;
}
_parent.my.timer.setTime(so.data["data" + datanum][4]);
so = null;
_parent.mu = 10;
_parent.gotoAndStop(_parent.my.mapopen + 2);
} else {
_root.attachMovie("word", "word", 500, {_x:250, _y:250, st:"No Data!"});
}
}
this._alpha = 0;
var so = SharedObject.getLocal("heist_info");
var i = 1;
while (i < 6) {
if (so.data["data" + i][3] == undefined) {
this["data_" + i].text = "none";
} else {
this["data_" + i].text = so.data["data" + i][3];
}
i++;
}
Symbol 818 MovieClip [mask] Frame 4
this._alpha = 0;
if (_parent.my.player_it[4][5] && (_parent.my.player.ytile == 0)) {
word.gotoAndStop(2);
trybtn.gotoAndStop(2);
t = _parent.my.timer.getTime() / 1000;
} else {
word.gotoAndStop(1);
trybtn.gotoAndStop(1);
t = _parent.my.timer.getTime() / 4000;
}
var n = ((((((t + _parent.my.player_it[2][4]) - (_parent.my.player_info[2][5] * 100)) + (_parent.my.player_it[2][0] * 50)) + (_parent.my.player_it[2][1] * 100)) + (1000 / (_parent.my.player_it[2][7] + 1))) * (_parent.my.player_it[2][4] / 6000));
n = Math.round(n);
if (n < 0) {
n = 0;
}
txt.text = "SCORE: " + n;
Instance of Symbol 71 MovieClip in Symbol 818 MovieClip [mask] Frame 4
//component parameters
onClipEvent (construct) {
_game_name = "heist";
score_var = "_parent.n";
}
Symbol 818 MovieClip [mask] Frame 5
this._alpha = 0;
Instance of Symbol 729 MovieClip in Symbol 818 MovieClip [mask] Frame 6
on (press) {
if (_parent._ymouse > 120) {
var so = SharedObject.getLocal("heist_info");
if (so.data.firstp == undefined) {
so.clear();
so.data.firstp = new Boolean();
so.data.firstp = true;
_parent._parent.gotoAndStop(30);
_parent._parent.mu = 10;
} else {
_parent._parent.gotoAndStop(_parent._parent.my.mapopen + 2);
_parent._parent.mu = 10;
}
}
}
Symbol 818 MovieClip [mask] Frame 8
this._alpha = 0;
Symbol 874 MovieClip [boom] Frame 28
removeMovieClip(this);
stop();
Symbol 896 MovieClip [player_b] Frame 1
_parent._parent._parent.my.mini = true;
Symbol 896 MovieClip [player_b] Frame 38
_parent._parent._parent.my.mini = false;
removeMovieClip(this);
Symbol 917 MovieClip [player_f] Frame 1
_parent._parent._parent.my.mini = true;
Symbol 917 MovieClip [player_f] Frame 38
_parent._parent._parent.my.mini = false;
removeMovieClip(this);
Symbol 921 MovieClip Frame 1
_root.game_sd.dead_sd.start();
Symbol 921 MovieClip Frame 7
stop();
Symbol 925 MovieClip Frame 1
_root.game_sd.dead_sd.start();
Symbol 925 MovieClip Frame 7
stop();
Symbol 934 MovieClip Frame 1
stop();
Symbol 1011 MovieClip Frame 85
_root.nextFrame();
Symbol 1012 Button
on (release) {
getURL ("http://www.freeworldgroup.com/", "_blank");
}
Symbol 1013 MovieClip Frame 1
function timed() {
if (_currentframe != 1) {
if ((((!my.mappingnow) && (!my.gameover)) && (mu == 10)) && (!my.mini)) {
var _local1 = my.timer.getTime() - 1000;
if (_local1 != 0) {
my.timer.setTime(_local1);
mask.timetxt.text = (my.timer.getHours() - 8) + my.timer.toString().slice(12, 18);
} else {
my.gameover = true;
}
}
}
}
delete my;
var my = new Game(this);
var time = 20;
var over = 41;
var mu = 0;
var sd = true;
clearInterval(id_t);
var id_t = setInterval(timed, 1000);
stopAllSounds();
if (bkmu == undefined) {
var bkmu = new Sound(this);
}
bkmu.attachSound("bk");
bkmu.start(0, 100);
if (firstp == undefined) {
var firstp = false;
}
onMouseDown = function () {
my.player.ban = true;
};
onMouseUp = function () {
my.player.ban = false;
};
onMouseMove = function () {
if (sd) {
_parent.game_sd.bar_sd.setVolume(100);
} else {
_parent.game_sd.bar_sd.setVolume(0);
}
if (my.player.gun) {
if ((_xmouse > 250) && (_ymouse > 250)) {
my.player.dirx = 1;
my.player.diry = 0;
}
if ((_xmouse < 250) && (_ymouse > 250)) {
my.player.dirx = 0;
my.player.diry = 1;
}
if ((_xmouse < 250) && (_ymouse < 250)) {
my.player.dirx = -1;
my.player.diry = 0;
}
if ((_xmouse > 250) && (_ymouse < 250)) {
my.player.dirx = 0;
my.player.diry = -1;
}
my.player.clip.char.gotoAndStop((my.player.dirx + (my.player.diry * 2)) + 3);
}
};
onEnterFrame = function () {
if (_currentframe == 1) {
} else if (_currentframe < 40) {
if (!my.mini) {
mask.gotoAndStop(5);
} else {
my.player.clip.char.stop();
}
if (mu == 10) {
if (!mask.timetxt._visible) {
if (mask.arm._currentframe == 1) {
mask.timetxt._visible = true;
}
if ((((my.player.statement != 0) && (my.player.statement != 2)) && (my.player.statement != 4)) && (!my.mini)) {
my.player.clip.char.play();
}
}
mask.arm.prevFrame();
mask.item_q.item_now.gotoAndStop(my.player_it[2][0]);
mask.item_e.item_now.gotoAndStop(my.player_it[2][1]);
mask.item_q.prevFrame();
mask.item_e.prevFrame();
} else {
if (mask.timetxt._visible) {
mask.timetxt._visible = false;
}
if (mu == 11) {
if (mask.arm._currentframe != 9) {
mask.arm.nextFrame();
}
} else if (mu == 12) {
if (mask.arm._currentframe < 26) {
mask.arm.nextFrame();
}
}
if (mu == 13) {
mask.item_q.nextFrame();
} else {
mask.item_q.prevFrame();
}
if (mu == 14) {
mask.item_e.nextFrame();
} else {
mask.item_e.prevFrame();
}
my.player.clip.char.stop();
}
if (my.player_it[2][0] == 1) {
mask.item_q.item_now.txt.text = mask.item_q.item_0.txt.text;
} else {
mask.item_q.item_now.txt.text = "";
}
if (my.player_it[2][1] == 5) {
mask.item_e.item_now.txt.text = my.player_it[2][2];
} else if (my.player_it[2][1] == 6) {
mask.item_e.item_now.txt.text = my.player_it[2][3];
} else {
mask.item_e.item_now.txt.text = "";
}
if ((((!my.mappingnow) && (!my.gameover)) && (mu == 10)) && (!my.mini)) {
my.Keys(my.player);
var _local3 = 0;
while (_local3 < my.enemy_num) {
var _local4 = my.enemy[_local3];
my.actz(_local4);
_local3++;
}
_local3 = 0;
while (_local3 < my.rollnow.length) {
if (my.object[my.rollnow[_local3]].statement == 1) {
my.obroll(my.object[my.rollnow[_local3]]);
} else {
my.rollnow.splice(_local3, 1);
}
_local3++;
}
if (my.player.statement != 0) {
_local3 = 0;
while (_local3 < my.monitor_num) {
var _local4 = my.monitor[_local3];
my.actz_m(_local4);
_local3++;
}
}
_local3 = 0;
while (_local3 < my.inf_num) {
var _local4 = my.infrared[_local3];
my.actz_i(_local4);
_local3++;
}
}
if (my.gameover && (!my.mappingnow)) {
if (time == 0) {
if (this._currentframe != over) {
my.changemap(over);
}
mask.gotoAndStop(4);
} else {
var _local3 = 0;
while (_local3 < my.enemy_num) {
var _local2 = my.enemy[_local3];
if (_local2.statement == 7) {
_local2.clip.gotoAndStop(6);
} else {
_local2.clip.gotoAndStop(3);
}
_local2.clip.char.gotoAndStop((_local2.dirx + (_local2.diry * 2)) + 3);
_local3++;
}
my.player.clip.gotoAndStop(11);
my.player.clip.char.gotoAndStop((my.player.dirx + (my.player.diry * 2)) + 3);
time = time - 0.5;
}
}
}
};
stop();
Symbol 1013 MovieClip Frame 2
var mymap = new Array();
var ground = 1;
mymap[0] = [55, 55, 55, 49, 55, 58, 55, 55, 55, 55, 55, 55, 58, 55, 55];
mymap[1] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 35, 39, 31];
mymap[2] = [55, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 14];
mymap[3] = [55, 61, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 14];
mymap[4] = [57, 5, 1, 1, 17, 33, 1, 1, 1, 1, 1, 1, 1, 1, 14];
mymap[5] = [54, 1, 1, 1, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 12];
mymap[6] = [56, 1, 1, 1, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7];
mymap[7] = [55, 5, 1, 1, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
mymap[8] = [55, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
mymap[9] = [55, 1, 1, 1, 1, 1, 1, 17, 34, 39, 33, 1, 1, 1, 1];
mymap[10] = [57, 1, 1, 1, 1, 1, 1, 14, 1, 1, 14, 1, 1, 1, 1];
mymap[11] = [54, 1, 1, 1, 1, 1, 1, 15, 1, 1, 14, 1, 1, 1, 1];
mymap[12] = [55, 5, 1, 1, 1, 1, 1, 11, 34, 34, 11, 1, 1, 1, 1];
mymap[13] = [55, 61, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
mymap[14] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
var enary = new Array();
var obary = new Array();
obary[0] = [4, 5, 11, false];
obary[1] = [13, 2, 10, true];
obary[2] = [5, 6, 3, true];
var evary = new Array();
evary[0] = [[0, 11, 0], [["changemap", 3, 19, 10, -1, 0]], []];
evary[1] = [[0, 5, 0], [["changemap", 3, 19, 4, -1, 0]], [["player_it", 4, 6, true]]];
evary[2] = [[3, 0, 0], [["changemap", 4, 7, 14, 0, -1]], []];
evary[3] = [[4, 5, 0], [["getter", true, 3, 0, 0]], []];
evary[4] = [[1, 3, 0], [["getter", true, 6, 3, 1]], []];
evary[5] = [[1, 13, 0], [["getter", true, 6, 4, 1]], []];
evary[6] = [[0, 6, 0], [["game_5"]], [["player_it", 4, 6, false]]];
var infary = new Array();
var monary = new Array();
my.mapping(mymap, enary, obary, evary, infary, monary);
stop();
Symbol 1013 MovieClip Frame 3
var mymap = new Array();
var ground = 1;
mymap[0] = [55, 55, 58, 55, 55, 55, 55, 55, 58, 55, 55, 55, 55, 55, 55, 58, 55, 55, 58, 55, 70];
mymap[1] = [55, 18, 1, 1, 1, 1, 60, 1, 1, 1, 1, 55, 17, 39, 33, 7, 1, 1, 1, 5, 70];
mymap[2] = [55, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 55, 11, 1, 1, 1, 1, 1, 1, 1, 70];
mymap[3] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 57, 5, 1, 1, 1, 1, 1, 1, 1, 70];
mymap[4] = [55, 61, 1, 1, 1, 1, 1, 1, 1, 1, 1, 54, 1, 1, 1, 1, 1, 1, 1, 1, 54];
mymap[5] = [55, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 55, 1, 1, 1, 1, 1, 1, 1, 1, 70];
mymap[6] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 55, 1, 1, 1, 1, 1, 1, 1, 1, 70];
mymap[7] = [55, 55, 55, 55, 58, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 58, 55, 55, 70];
mymap[8] = [55, 5, 60, 60, 1, 1, 60, 1, 60, 60, 1, 55, 5, 1, 1, 1, 1, 1, 1, 5, 70];
mymap[9] = [57, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 55, 1, 1, 1, 1, 1, 1, 1, 1, 70];
mymap[10] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 51, 1, 1, 1, 1, 1, 1, 1, 1, 54];
mymap[11] = [55, 61, 1, 1, 27, 1, 1, 1, 1, 1, 1, 55, 1, 1, 1, 1, 1, 1, 1, 1, 70];
mymap[12] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 57, 1, 1, 1, 1, 1, 1, 1, 1, 70];
mymap[13] = [55, 1, 1, 1, 7, 1, 1, 1, 1, 1, 1, 55, 61, 1, 1, 31, 1, 1, 1, 1, 70];
var enary = new Array();
enary[0] = [[2, 10], [[5, 20, 1, 0], [6, [2, 10], [9, 10]], [5, 20, -1, 0]]];
var obary = new Array();
obary[0] = [4, 11, 11, false];
obary[1] = [1, 1, 11, false];
var evary = new Array();
evary[0] = [[20, 4, 0], [["changemap", 2, 1, 5, 1, 0]], []];
evary[1] = [[20, 10, 0], [["changemap", 2, 1, 11, 1, 0]], []];
evary[2] = [[11, 10, 0], [["setter", 3, -1, false, true, 4, 11, 10]], [["player_it", 2, 0, 3]]];
evary[3] = [[11, 4, 0], [["setter", 3, -1, false, true, 4, 11, 4]], []];
evary[4] = [[12, 13, 0], [["getter", true, 1, 7]], []];
evary[5] = [[4, 11, 0], [["getter", true, 3, 1, 0]], []];
evary[6] = [[1, 1, 0], [["getter", true, 3, 2, 1]], []];
evary[7] = [[1, 4, 0], [["getter", true, 1, 5]], []];
evary[8] = [[3, 8, 0], [["getter", true, 6, 5, 1]], []];
evary[9] = [[6, 1, 0], [["getter", true, 6, 6, 1]], []];
var infary = new Array();
infary[0] = [16, 0, 0, 1, 30, 60, true];
infary[1] = [17, 0, 0, 1, 60, 60, true];
var monary = new Array();
monary[0] = [16, 8, 1];
monary[1] = [4, 1, 1];
my.mapping(mymap, enary, obary, evary, infary, monary);
stop();
Symbol 1013 MovieClip Frame 4
var mymap = new Array();
var ground = 1;
mymap[0] = [55, 55, 55, 55, 55, 55, 55, 58, 55, 70];
mymap[1] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 70];
mymap[2] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 53];
mymap[3] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 70];
mymap[4] = [55, 55, 55, 55, 55, 1, 1, 1, 1, 70];
mymap[5] = [70, 70, 70, 70, 55, 9, 1, 1, 1, 70];
mymap[6] = [70, 70, 70, 70, 55, 5, 1, 1, 1, 70];
mymap[7] = [70, 70, 70, 70, 54, 1, 1, 1, 1, 70];
mymap[8] = [70, 70, 70, 70, 57, 1, 1, 1, 1, 70];
mymap[9] = [70, 70, 70, 70, 55, 1, 1, 1, 1, 70];
mymap[10] = [70, 70, 70, 70, 55, 1, 1, 1, 1, 70];
mymap[11] = [70, 70, 70, 70, 55, 1, 1, 1, 1, 70];
mymap[12] = [70, 70, 70, 70, 57, 1, 1, 1, 1, 70];
mymap[13] = [70, 70, 70, 70, 54, 1, 1, 1, 1, 54];
mymap[14] = [70, 70, 70, 70, 55, 5, 1, 1, 1, 70];
mymap[15] = [70, 70, 70, 70, 70, 70, 70, 49, 70, 70];
var enary = new Array();
var obary = new Array();
obary[0] = [1, 1, 1, true];
obary[1] = [2, 1, 2, true];
obary[2] = [2, 3, 2, true];
obary[3] = [3, 3, 2, true];
obary[4] = [3, 1, 2, true];
obary[5] = [3, 2, 2, true];
var evary = new Array();
evary[0] = [[4, 7, 0], [["changemap", 6, 15, 7, -1, 0]], []];
evary[1] = [[4, 13, 0], [["changemap", 6, 15, 13, -1, 0]], []];
evary[2] = [[9, 13, 0], [["changemap", 5, 1, 13, 1, 0]], []];
evary[3] = [[7, 15, 0], [["changemap", 2, 3, 1, 0, 1]], []];
evary[4] = [[1, 1, 0], [["getter", true, 1, 6, 0]], []];
evary[5] = [[9, 2, 0], [["setter", 5, -1, false, true, 3, 9, 2, ["changemap", 7, 1, 2, 1, 0]]], [["player_it", 4, 0, true]]];
var infary = new Array();
infary[0] = [4, 9, 1, 0, 35, 70, true];
infary[1] = [4, 10, 1, 0, 70, 70, true];
infary[2] = [4, 11, 1, 0, 35, 70, true];
var monary = new Array();
monary[0] = [6, 1, 1];
my.mapping(mymap, enary, obary, evary, infary, monary);
stop();
Symbol 1013 MovieClip Frame 5
var mymap = new Array();
var ground = 1;
mymap[0] = [70, 70, 70, 70, 55, 55, 55, 55, 58, 55];
mymap[1] = [70, 70, 70, 70, 55, 35, 39, 33, 7, 1];
mymap[2] = [70, 70, 70, 70, 56, 1, 1, 1, 1, 1];
mymap[3] = [70, 70, 70, 70, 57, 1, 1, 1, 1, 1];
mymap[4] = [55, 55, 55, 55, 55, 1, 1, 1, 1, 1];
mymap[5] = [55, 41, 1, 60, 58, 55, 45, 55, 58, 55];
mymap[6] = [55, 1, 1, 1, 1, 1, 1, 1, 41, 5];
mymap[7] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 1];
mymap[8] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 1];
mymap[9] = [55, 61, 1, 1, 1, 1, 1, 1, 1, 1];
mymap[10] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 1];
mymap[11] = [57, 61, 1, 1, 1, 1, 1, 1, 1, 1];
mymap[12] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 1];
mymap[13] = [54, 1, 1, 1, 1, 1, 1, 1, 1, 1];
mymap[14] = [55, 5, 1, 1, 1, 1, 1, 1, 1, 5];
var enary = new Array();
enary[0] = [[3, 7], [[5, 30, 1, 0], [6, [3, 7], [3, 12], [8, 12], [8, 7]], [5, 30, -1, 0]]];
var obary = new Array();
var evary = new Array();
evary[0] = [[0, 13, 0], [["changemap", 4, 8, 13, -1, 0]], []];
evary[1] = [[6, 5, 0], [["setter", 5, -1, false, true, 4, 6, 5]], [["player_it", 2, 0, 2]]];
evary[2] = [[4, 2, 0], [["game_4"]], [["player_it", 4, 0, false]]];
evary[3] = [[3, 5, 0], [["getter", true, 6, 7, 2]], []];
var infary = new Array();
var monary = new Array();
my.mapping(mymap, enary, obary, evary, infary, monary);
stop();
Symbol 1013 MovieClip Frame 6
var mymap = new Array();
var ground = 1;
mymap[0] = [55, 55, 55, 55, 55, 58, 55, 55, 55, 55, 55, 55, 55, 70, 70, 70, 70];
mymap[1] = [55, 2, 1, 35, 34, 33, 1, 1, 1, 5, 9, 1, 55, 70, 70, 70, 70];
mymap[2] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 55, 70, 70, 70, 70];
mymap[3] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 55, 70, 70, 70, 70];
mymap[4] = [57, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 55, 58, 55, 55, 70];
mymap[5] = [55, 61, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 70];
mymap[6] = [55, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 70];
mymap[7] = [57, 1, 1, 1, 1, 1, 41, 1, 1, 1, 1, 1, 1, 1, 1, 1, 54];
mymap[8] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 70];
mymap[9] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 70];
mymap[10] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 55, 55, 55, 55, 55, 55, 55, 70];
mymap[11] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 55, 27, 34, 34, 39, 33, 5, 70];
mymap[12] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 55, 15, 1, 1, 1, 1, 1, 70];
mymap[13] = [55, 1, 1, 1, 1, 2, 1, 1, 1, 55, 11, 1, 1, 1, 1, 1, 54];
mymap[14] = [55, 1, 1, 1, 1, 2, 1, 1, 1, 55, 7, 1, 1, 1, 1, 1, 70];
mymap[15] = [55, 61, 1, 1, 1, 1, 1, 1, 1, 57, 1, 1, 1, 1, 1, 1, 70];
var enary = new Array();
var obary = new Array();
obary[0] = [10, 13, 11, false];
obary[1] = [4, 1, 11, false];
obary[2] = [2, 2, 7, true];
obary[3] = [6, 2, 7, true];
var evary = new Array();
evary[0] = [[16, 13, 0], [["changemap", 4, 5, 13, 1, 0]], []];
evary[1] = [[16, 7, 0], [["changemap", 4, 5, 7, 1, 0]], []];
evary[2] = [[1, 15, 0], [["getter", true, 1, 1]], []];
evary[3] = [[10, 13, 0], [["getter", true, 3, 3, 0]], []];
evary[4] = [[4, 1, 0], [["getter", true, 3, 4, 1]], []];
evary[5] = [[1, 1, 1], [["setter", 6, 1, true, false, 6, 1, 1, 2, 3], ["setter", 6, 1, false, true, 5, 0], ["setter", 6, 1, false, true, 5, 1]], []];
evary[6] = [[1, 6, 1], [["setter", 6, 1, true, false, 6, 1, 6, 2, 3], ["setter", 6, 1, false, true, 5, 2]], []];
evary[7] = [[5, 13, 1], [["setter", 6, 1, true, false, 6, 5, 13, 2, 3], ["setter", 6, 1, false, true, 5, 3]], []];
evary[8] = [[5, 14, 1], [["setter", 6, 1, true, false, 6, 5, 14, 2, 3], ["setter", 6, 1, false, true, 5, 4]], []];
evary[9] = [[1, 5, 0], [["getter", true, 6, 8, 3]], []];
var infary = new Array();
infary[0] = [0, 10, 1, 0, 60, -1, true];
infary[1] = [0, 11, 1, 0, 60, -1, true];
infary[2] = [0, 12, 1, 0, 60, -1, true];
infary[3] = [0, 13, 1, 0, 60, -1, true];
infary[4] = [0, 14, 1, 0, 60, -1, true];
var monary = new Array();
my.mapping(mymap, enary, obary, evary, infary, monary);
stop();
Symbol 1013 MovieClip Frame 7
var mymap = new Array();
var ground = 1;
mymap[0] = [55, 55, 55, 55];
mymap[1] = [56, 3, 3, 3];
mymap[2] = [53, 3, 3, 3];
mymap[3] = [55, 3, 3, 3];
var enary = new Array();
var obary = new Array();
var evary = new Array();
if (my.lifton) {
evary[0] = [[0, 2, 1], [["changemap", 4, 8, 2, -1, 0]], []];
} else {
evary[0] = [[0, 2, 0], [["setter", 5, -1, false, true, 3, 0, 2, ["changemap", 4, 8, 2, -1, 0]]], []];
}
evary[1] = [[0, 1, 0], [["lift"]], []];
var infary = new Array();
var monary = new Array();
my.mapping(mymap, enary, obary, evary, infary, monary);
stop();
Symbol 1013 MovieClip Frame 8
var mymap = new Array();
var ground = 1;
mymap[0] = [55, 55, 55, 55];
mymap[1] = [56, 3, 3, 3];
mymap[2] = [53, 3, 3, 3];
mymap[3] = [55, 3, 3, 3];
var enary = new Array();
var obary = new Array();
var evary = new Array();
if (my.lifton) {
evary[0] = [[0, 2, 1], [["changemap", 9, 4, 2, -1, 0]], []];
} else {
evary[0] = [[0, 2, 0], [["setter", 5, -1, false, true, 3, 0, 2, ["changemap", 9, 4, 2, -1, 0]]], []];
}
evary[1] = [[0, 1, 0], [["lift"]], []];
var infary = new Array();
var monary = new Array();
my.mapping(mymap, enary, obary, evary, infary, monary);
stop();
Symbol 1013 MovieClip Frame 9
var mymap = new Array();
var ground = 1;
mymap[0] = [55, 55, 55, 58, 55, 70];
mymap[1] = [55, 1, 1, 1, 1, 70];
mymap[2] = [55, 1, 1, 1, 1, 53];
mymap[3] = [55, 61, 1, 1, 1, 70];
mymap[4] = [55, 61, 1, 1, 1, 70];
mymap[5] = [57, 1, 1, 1, 1, 70];
mymap[6] = [55, 1, 1, 1, 1, 70];
mymap[7] = [52, 1, 1, 1, 1, 70];
mymap[8] = [55, 1, 1, 1, 1, 70];
mymap[9] = [57, 1, 1, 1, 1, 70];
mymap[10] = [55, 61, 1, 1, 1, 70];
mymap[11] = [55, 1, 1, 1, 1, 70];
mymap[12] = [55, 61, 1, 1, 1, 70];
mymap[13] = [57, 1, 1, 1, 1, 70];
mymap[14] = [55, 1, 1, 1, 1, 70];
mymap[15] = [52, 1, 1, 1, 1, 70];
mymap[16] = [55, 1, 1, 1, 1, 70];
mymap[17] = [57, 61, 1, 1, 1, 70];
mymap[18] = [55, 1, 1, 1, 1, 70];
mymap[19] = [70, 70, 70, 70, 45, 70];
var enary = new Array();
enary[0] = [[3, 11], [[5, 20, 1, 0], [6, [3, 16], [3, 4]], [5, 20, 0, -1]]];
var obary = new Array();
var evary = new Array();
evary[0] = [[0, 7, 0], [["changemap", 11, 8, 15, -1, 0]], [["player_it", 2, 0, 4]]];
evary[1] = [[0, 15, 0], [["changemap", 12, 16, 4, -1, 0]], [["player_it", 2, 0, 4]]];
evary[2] = [[4, 19, 0], [["changemap", 10, 7, 1, 0, 1]], [["player_it", 2, 0, 2]]];
evary[3] = [[5, 2, 0], [["setter", 5, -1, false, true, 3, 5, 2, ["changemap", 8, 1, 2, 1, 0]]], [["player_it", 4, 0, true]]];
evary[4] = [[1, 17, 0], [["getter", true, 6, 9, 1]], []];
var infary = new Array();
var monary = new Array();
monary[0] = [1, 7, 2];
monary[1] = [1, 15, 2];
my.mapping(mymap, enary, obary, evary, infary, monary);
stop();
Symbol 1013 MovieClip Frame 10
var mymap = new Array();
var ground = 1;
mymap[0] = [55, 55, 55, 58, 55, 55, 55, 45];
mymap[1] = [55, 60, 1, 1, 1, 1, 1, 1];
mymap[2] = [55, 1, 1, 1, 1, 1, 1, 1];
mymap[3] = [55, 1, 1, 1, 1, 1, 1, 1];
mymap[4] = [55, 1, 1, 1, 1, 1, 1, 1];
mymap[5] = [55, 55, 58, 47, 55, 58, 55, 55];
mymap[6] = [55, 5, 1, 1, 1, 1, 1, 5];
mymap[7] = [55, 9, 1, 1, 1, 1, 1, 1];
mymap[8] = [55, 18, 1, 1, 1, 1, 1, 1];
mymap[9] = [57, 11, 1, 1, 1, 1, 1, 1];
var enary = new Array();
var obary = new Array();
obary[0] = [1, 8, 11, false];
var evary = new Array();
evary[0] = [[7, 0, 0], [["changemap", 9, 4, 18, 0, -1]], [["player_it", 2, 0, 2]]];
evary[2] = [[3, 5, 0], [["setter", 10, -1, false, true, 4, 3, 5]], [["player_it", 2, 0, 4]]];
evary[3] = [[1, 1, 0], [["getter", true, 1, 2]], []];
evary[4] = [[1, 8, 0], [["getter", true, 3, 5, 0]], []];
var infary = new Array();
var monary = new Array();
monary[0] = [1, 2, 2];
my.mapping(mymap, enary, obary, evary, infary, monary);
stop();
Symbol 1013 MovieClip Frame 11
var mymap = new Array();
var ground = 1;
mymap[0] = [70, 70, 70, 70, 55, 55, 55, 55, 55, 55, 55, 55, 58, 55];
mymap[1] = [70, 70, 70, 70, 55, 1, 1, 1, 27, 35, 34, 33, 1, 1];
mymap[2] = [70, 70, 70, 70, 55, 1, 1, 1, 1, 1, 1, 1, 1, 1];
mymap[3] = [70, 70, 70, 70, 57, 1, 1, 1, 1, 1, 1, 1, 1, 1];
mymap[4] = [70, 70, 70, 70, 55, 61, 1, 1, 1, 1, 1, 1, 1, 1];
mymap[5] = [70, 70, 70, 70, 55, 1, 1, 1, 1, 1, 1, 1, 1, 1];
mymap[6] = [70, 70, 70, 70, 55, 61, 1, 1, 1, 1, 1, 1, 1, 1];
mymap[7] = [70, 70, 70, 70, 55, 1, 1, 1, 1, 1, 1, 1, 1, 2];
mymap[8] = [70, 70, 70, 70, 55, 55, 49, 59, 58, 70, 70, 70, 70, 70];
mymap[9] = [70, 70, 70, 70, 55, 1, 1, 1, 1, 70, 70, 70, 70, 70];
mymap[10] = [70, 70, 70, 70, 57, 61, 1, 1, 1, 70, 70, 70, 70, 70];
mymap[11] = [70, 70, 70, 70, 55, 61, 1, 1, 1, 70, 70, 70, 70, 70];
mymap[12] = [70, 70, 70, 70, 55, 1, 1, 1, 1, 70, 70, 70, 70, 70];
mymap[13] = [70, 70, 70, 70, 55, 1, 1, 1, 1, 70, 70, 70, 70, 70];
mymap[14] = [70, 70, 70, 70, 55, 1, 1, 1, 1, 70, 70, 70, 70, 70];
mymap[15] = [55, 55, 55, 58, 55, 1, 1, 1, 1, 52, 70, 70, 70, 70];
mymap[16] = [55, 5, 1, 1, 60, 1, 1, 1, 1, 70, 70, 70, 70, 70];
mymap[17] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 70, 70, 70, 70, 70];
mymap[18] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 70, 70, 70, 70, 70];
var enary = new Array();
enary[0] = [[7, 14], [[5, 20, 0, -1], [6, [7, 10], [7, 17], [4, 17]], [5, 20, -1, 0]]];
var obary = new Array();
obary[0] = [10, 1, 11, false];
obary[1] = [8, 7, 2, true];
obary[2] = [9, 2, 10, true];
var evary = new Array();
evary[0] = [[9, 15, 0], [["changemap", 9, 1, 7, 1, 0]], [["player_it", 2, 0, 4]]];
evary[1] = [[6, 8, 0], [["setter", 11, -1, false, true, 4, 6, 8]], [["player_it", 4, 8, true]]];
evary[2] = [[10, 1, 0], [["getter", true, 3, 7, 0]], []];
evary[3] = [[7, 8, 0], [["game_7"]], [["player_it", 4, 8, false]]];
evary[4] = [[13, 7, 1], [["setter", 6, 1, true, false, 6, 13, 7, 2, 3], ["setter", 6, 1, true, false, 5, 0], ["setter", 6, 1, false, true, 5, 1]], []];
var infary = new Array();
infary[0] = [4, 3, 1, 0, 20, -1, false];
infary[1] = [4, 5, 1, 0, 40, -1, true];
var monary = new Array();
my.mapping(mymap, enary, obary, evary, infary, monary);
stop();
Symbol 1013 MovieClip Frame 12
var mymap = new Array();
var ground = 1;
mymap[0] = [55, 55, 55, 55, 49, 58, 55, 55, 55, 55, 55, 55, 55, 55, 55, 58, 55, 70];
mymap[1] = [55, 61, 1, 1, 1, 1, 1, 1, 55, 17, 39, 33, 1, 1, 1, 1, 5, 70];
mymap[2] = [55, 61, 1, 1, 1, 1, 1, 1, 55, 11, 1, 1, 1, 1, 1, 1, 1, 70];
mymap[3] = [57, 1, 1, 1, 1, 1, 1, 1, 57, 1, 1, 1, 1, 1, 1, 1, 1, 70];
mymap[4] = [55, 1, 1, 1, 1, 1, 1, 1, 55, 1, 1, 1, 1, 1, 1, 1, 1, 52];
mymap[5] = [55, 1, 1, 1, 1, 1, 1, 1, 55, 1, 1, 1, 1, 1, 1, 1, 1, 70];
mymap[6] = [55, 1, 1, 1, 1, 1, 1, 1, 55, 5, 1, 1, 1, 1, 1, 1, 1, 70];
mymap[7] = [55, 1, 1, 1, 1, 5, 1, 1, 55, 5, 1, 1, 1, 1, 1, 1, 5, 70];
mymap[8] = [55, 55, 55, 55, 49, 55, 55, 55, 55, 58, 55, 49, 55, 55, 70, 70, 70, 70];
mymap[9] = [55, 1, 1, 1, 1, 1, 1, 55, 5, 1, 1, 1, 1, 5, 70, 70, 70, 70];
mymap[10] = [55, 1, 1, 1, 1, 1, 1, 57, 1, 1, 1, 1, 1, 1, 70, 70, 70, 70];
mymap[11] = [57, 1, 1, 1, 1, 1, 1, 55, 1, 1, 1, 1, 1, 1, 70, 70, 70, 70];
mymap[12] = [55, 2, 1, 1, 1, 1, 1, 54, 1, 1, 1, 2, 1, 1, 70, 70, 70, 70];
mymap[13] = [55, 41, 1, 1, 1, 1, 1, 56, 1, 1, 1, 1, 1, 1, 70, 70, 70, 70];
mymap[14] = [55, 1, 1, 1, 1, 1, 1, 55, 1, 1, 1, 1, 1, 1, 70, 70, 70, 70];
mymap[15] = [57, 1, 1, 1, 41, 1, 1, 57, 1, 41, 1, 1, 41, 1, 70, 70, 70, 70];
mymap[16] = [55, 5, 1, 1, 1, 1, 5, 55, 1, 1, 2, 1, 1, 1, 70, 70, 70, 70];
var enary = new Array();
var obary = new Array();
obary[0] = [11, 1, 11, false];
obary[1] = [11, 3, 9, true];
obary[2] = [11, 13, 3, true];
obary[3] = [9, 16, 5, true];
obary[4] = [1, 10, 9, true];
var evary = new Array();
evary[0] = [[17, 4, 0], [["changemap", 9, 1, 15, 1, 0]], [["player_it", 2, 0, 4]]];
evary[1] = [[4, 0, 0], [["changemap", 13, 8, 18, 0, -1]], []];
evary[2] = [[11, 8, 0], [["setter", 12, -1, false, true, 4, 11, 8]], []];
evary[3] = [[7, 12, 0], [["setter", 12, -1, false, true, 4, 7, 12]], [["player_it", 4, 1, true]]];
evary[4] = [[4, 8, 0], [["setter", 12, -1, false, true, 4, 4, 8]], []];
evary[5] = [[11, 1, 0], [["getter", true, 3, 6, 0]], []];
evary[6] = [[11, 12, 1], [["setter", 12, 1, true, false, 6, 11, 12, 2, 3], ["setter", 12, 1, false, true, 5, 1]], []];
evary[7] = [[10, 16, 1], [["setter", 12, 1, true, false, 6, 10, 16, 2, 3], ["setter", 12, 1, false, true, 5, 0]], []];
evary[8] = [[1, 12, 1], [["setter", 12, 1, true, false, 6, 1, 12, 2, 3], ["setter", 12, 1, false, true, 5, 2]], []];
evary[9] = [[7, 13, 0], [["game_2"]], [["player_it", 4, 1, false]]];
var infary = new Array();
infary[0] = [10, 8, 0, 1, 60, -1, true];
infary[1] = [7, 11, 1, 0, 60, -1, true];
infary[2] = [0, 11, 1, 0, 60, -1, true];
var monary = new Array();
monary[0] = [14, 1, 1];
monary[1] = [2, 9, 1];
my.mapping(mymap, enary, obary, evary, infary, monary);
stop();
Symbol 1013 MovieClip Frame 13
var mymap = new Array();
var ground = 1;
mymap[0] = [55, 55, 55, 59, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 48, 55];
mymap[1] = [55, 5, 1, 1, 1, 1, 1, 67, 65, 63, 5, 1, 1, 1, 1, 1];
mymap[2] = [55, 1, 1, 1, 1, 1, 1, 66, 64, 62, 1, 1, 1, 1, 1, 1];
mymap[3] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 41];
mymap[4] = [55, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1];
mymap[5] = [55, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1];
mymap[6] = [55, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1];
mymap[7] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1];
mymap[8] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1];
mymap[9] = [55, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1];
mymap[10] = [55, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1];
mymap[11] = [55, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1];
mymap[12] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
mymap[13] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
mymap[14] = [55, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5];
mymap[15] = [55, 55, 55, 55, 55, 1, 1, 1, 1, 1, 1, 3, 70, 70, 70, 70];
mymap[16] = [70, 70, 70, 70, 55, 1, 41, 1, 1, 1, 41, 1, 70, 70, 70, 70];
mymap[17] = [70, 70, 70, 70, 55, 1, 1, 1, 1, 1, 1, 1, 70, 70, 70, 70];
mymap[18] = [70, 70, 70, 70, 55, 5, 1, 1, 1, 1, 1, 1, 70, 70, 70, 70];
mymap[19] = [70, 70, 70, 70, 70, 70, 70, 70, 49, 70, 70, 70, 70, 70, 70, 70];
var enary = new Array();
var obary = new Array();
obary[0] = [11, 2, 3, true];
obary[1] = [11, 10, 7, true];
obary[2] = [11, 15, 9, true];
obary[3] = [6, 17, 5, true];
obary[4] = [14, 2, 7, true];
var evary = new Array();
evary[0] = [[8, 19, 0], [["changemap", 12, 4, 1, 0, 1]], []];
evary[1] = [[8, 2, 0], [["final"]], [["player_it", 4, 5, false]]];
evary[2] = [[11, 15, 1], [["setter", 6, 1, true, false, 6, 11, 15, 3, 2], ["setter", 6, 1, false, true, 5, 0], ["setter", 6, 1, true, false, 5, 3]], []];
evary[3] = [[11, 11, 1], [["setter", 6, 1, true, false, 6, 11, 11, 2, 3], ["setter", 6, 1, true, false, 5, 1], ["setter", 6, 1, false, true, 5, 2]], []];
evary[4] = [[8, 11, 1], [["setter", 6, 1, true, false, 6, 8, 11, 2, 3], ["setter", 6, 1, false, true, 5, 11]], []];
evary[5] = [[8, 10, 1], [["setter", 6, 1, true, false, 6, 8, 10, 2, 3], ["setter", 6, 1, false, true, 5, 10]], []];
evary[6] = [[8, 9, 1], [["setter", 6, 1, true, false, 6, 8, 9, 2, 3], ["setter", 6, 1, false, true, 5, 9]], []];
evary[7] = [[9, 9, 1], [["setter", 6, 1, true, false, 6, 9, 9, 2, 3], ["setter", 6, 1, false, true, 5, 9]], []];
evary[8] = [[10, 9, 1], [["setter", 6, 1, true, false, 6, 10, 9, 2, 3], ["setter", 6, 1, false, true, 5, 9]], []];
evary[9] = [[10, 8, 1], [["setter", 6, 1, true, false, 6, 10, 8, 2, 3], ["setter", 6, 1, false, true, 5, 8]], []];
evary[10] = [[10, 7, 1], [["setter", 6, 1, true, false, 6, 10, 7, 2, 3], ["setter", 6, 1, false, true, 5, 7]], []];
evary[11] = [[10, 6, 1], [["setter", 6, 1, true, false, 6, 10, 6, 2, 3], ["setter", 6, 1, false, true, 5, 6]], []];
evary[12] = [[9, 6, 1], [["setter", 6, 1, true, false, 6, 9, 6, 2, 3], ["setter", 6, 1, false, true, 5, 6]], []];
evary[13] = [[8, 6, 1], [["setter", 6, 1, true, false, 6, 8, 6, 2, 3], ["setter", 6, 1, false, true, 5, 6]], []];
evary[14] = [[7, 6, 1], [["setter", 6, 1, true, false, 6, 7, 6, 2, 3], ["setter", 6, 1, false, true, 5, 6]], []];
evary[15] = [[6, 6, 1], [["setter", 6, 1, true, false, 6, 6, 6, 2, 3], ["setter", 6, 1, false, true, 5, 6]], []];
evary[16] = [[6, 5, 1], [["setter", 6, 1, true, false, 6, 6, 5, 2, 3], ["setter", 6, 1, false, true, 5, 5]], []];
evary[17] = [[6, 4, 1], [["setter", 6, 1, true, false, 6, 6, 4, 2, 3], ["setter", 6, 1, false, true, 5, 4]], []];
evary[18] = [[14, 0, 0], [["setter", 5, -1, false, true, 3, 14, 0, ["changemap", 19, 2, 3, 0, -1]]], [["player_it", 4, 0, true]]];
evary[19] = [[3, 0, 0], [["cutdown"]], []];
var infary = new Array();
infary[0] = [4, 0, 0, 1, 60, -1, true];
infary[1] = [12, 0, 0, 1, 30, -1, false];
infary[2] = [0, 12, 1, 0, 60, -1, true];
infary[3] = [0, 13, 1, 0, 30, -1, false];
infary[4] = [0, 4, 1, 0, 30, -1, true];
infary[5] = [0, 5, 1, 0, 60, -1, true];
infary[6] = [0, 6, 1, 0, 30, -1, true];
infary[7] = [0, 7, 1, 0, 30, -1, true];
infary[8] = [0, 8, 1, 0, 60, -1, true];
infary[9] = [0, 9, 1, 0, 30, -1, true];
infary[10] = [0, 10, 1, 0, 60, -1, true];
infary[11] = [0, 11, 1, 0, 30, -1, true];
var monary = new Array();
my.mapping(mymap, enary, obary, evary, infary, monary);
stop();
Symbol 1013 MovieClip Frame 14
var mymap = new Array();
var ground = 1;
mymap[0] = [55, 55, 55, 55];
mymap[1] = [56, 3, 3, 3];
mymap[2] = [53, 3, 3, 3];
mymap[3] = [55, 3, 3, 3];
var enary = new Array();
var obary = new Array();
var evary = new Array();
if (my.lifton) {
evary[0] = [[0, 2, 1], [["changemap", 15, 6, 3, -1, 0]], []];
} else {
evary[0] = [[0, 2, 0], [["setter", 5, -1, false, true, 3, 0, 2, ["changemap", 15, 6, 3, -1, 0]]], []];
}
evary[1] = [[0, 1, 0], [["lift"]], []];
var infary = new Array();
var monary = new Array();
my.mapping(mymap, enary, obary, evary, infary, monary);
stop();
Symbol 1013 MovieClip Frame 15
var mymap = new Array();
var ground = 4;
mymap[0] = [55, 55, 55, 47, 55, 58, 55, 70];
mymap[1] = [55, 6, 4, 4, 4, 4, 6, 70];
mymap[2] = [57, 4, 4, 4, 4, 4, 4, 70];
mymap[3] = [55, 4, 4, 4, 4, 4, 4, 53];
mymap[4] = [55, 4, 4, 4, 4, 4, 4, 70];
mymap[5] = [51, 4, 4, 4, 4, 4, 4, 70];
mymap[6] = [57, 4, 4, 4, 4, 4, 4, 70];
mymap[7] = [55, 4, 4, 4, 4, 4, 4, 70];
mymap[8] = [55, 6, 4, 4, 4, 4, 6, 70];
mymap[9] = [70, 70, 70, 46, 70, 70, 70, 70];
var enary = new Array();
var obary = new Array();
evary[0] = [[0, 5, 0], [["changemap", 16, 15, 5, -1, 0]], [["player_it", 2, 0, 3]]];
evary[1] = [[3, 9, 0], [["changemap", 17, 8, 1, 0, 1]], [["player_it", 2, 0, 3]]];
evary[2] = [[7, 3, 0], [["setter", 5, -1, false, true, 3, 7, 3, ["changemap", 14, 1, 2, 1, 0]]], [["player_it", 4, 0, true]]];
evary[3] = [[3, 0, 0], [["changemap", 18, 8, 11, 0, -1]], [["player_it", 2, 0, 4]]];
var infary = new Array();
infary[0] = [0, 4, 1, 0, 20, 40, true];
infary[1] = [4, 0, 0, 1, 40, 40, true];
var monary = new Array();
my.mapping(mymap, enary, obary, evary, infary, monary);
stop();
Symbol 1013 MovieClip Frame 16
var mymap = new Array();
var ground = 4;
mymap[0] = [55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 58, 55, 70];
mymap[1] = [57, 10, 32, 40, 36, 60, 4, 4, 4, 55, 61, 4, 4, 4, 4, 4, 70];
mymap[2] = [55, 4, 4, 4, 4, 4, 4, 4, 4, 57, 4, 4, 42, 4, 4, 4, 70];
mymap[3] = [55, 6, 4, 4, 4, 4, 4, 4, 4, 55, 4, 4, 4, 4, 4, 4, 70];
mymap[4] = [55, 4, 4, 4, 4, 4, 4, 4, 4, 55, 4, 4, 4, 4, 4, 4, 70];
mymap[5] = [55, 4, 4, 4, 4, 4, 4, 4, 4, 55, 4, 4, 4, 4, 4, 4, 51];
mymap[6] = [55, 4, 4, 4, 4, 4, 4, 4, 4, 55, 4, 4, 4, 4, 4, 6, 70];
mymap[7] = [55, 55, 55, 58, 59, 49, 55, 58, 55, 55, 55, 55, 55, 49, 55, 55, 70];
mymap[8] = [55, 61, 2, 4, 4, 4, 4, 4, 4, 4, 55, 6, 4, 4, 4, 4, 70];
mymap[9] = [55, 61, 4, 4, 4, 4, 4, 4, 4, 4, 57, 4, 4, 4, 4, 4, 70];
mymap[10] = [55, 4, 4, 4, 4, 4, 4, 4, 4, 4, 55, 4, 4, 4, 4, 4, 70];
mymap[11] = [55, 6, 4, 4, 4, 4, 4, 4, 4, 4, 55, 4, 4, 4, 4, 4, 70];
mymap[12] = [57, 4, 4, 42, 4, 4, 4, 4, 4, 4, 54, 4, 4, 3, 4, 4, 70];
mymap[13] = [55, 4, 4, 4, 4, 4, 4, 4, 4, 4, 55, 4, 4, 4, 4, 4, 70];
mymap[14] = [55, 4, 4, 4, 4, 4, 4, 4, 4, 4, 57, 4, 4, 4, 4, 4, 70];
mymap[15] = [55, 61, 4, 4, 4, 4, 4, 4, 4, 4, 55, 4, 4, 4, 4, 4, 70];
mymap[16] = [55, 61, 4, 4, 4, 4, 4, 4, 4, 4, 55, 4, 4, 42, 4, 4, 70];
mymap[17] = [55, 61, 4, 4, 2, 4, 4, 4, 4, 4, 55, 61, 4, 4, 4, 4, 70];
var enary = new Array();
enary[0] = [[3, 4], [[5, 20, -1, 0], [6, [3, 4], [6, 4]], [5, 10, 1, 0]]];
var obary = new Array();
obary[0] = [4, 1, 11, false];
obary[1] = [13, 2, 9, true];
obary[2] = [13, 12, 7, true];
obary[3] = [11, 11, 3, true];
var evary = new Array();
evary[0] = [[16, 5, 0], [["changemap", 15, 1, 5, 1, 0]], [["player_it", 2, 0, 3]]];
evary[1] = [[13, 7, 0], [["setter", 16, -1, false, true, 4, 13, 7]], []];
evary[2] = [[10, 12, 0], [["setter", 16, -1, false, true, 4, 10, 12]], []];
evary[3] = [[5, 7, 0], [["setter", 16, -1, false, true, 4, 5, 7]], [["player_it", 4, 7, true]]];
evary[4] = [[5, 1, 0], [["getter", true, 1, 3]], []];
evary[6] = [[4, 1, 0], [["getter", true, 3, 10, 0]], []];
evary[7] = [[13, 12, 1], [["setter", 16, 1, true, false, 6, 13, 12, 3, 2], ["setter", 16, 1, false, true, 5, 0], ["setter", 16, 1, false, true, 5, 1], ["setter", 16, 1, false, true, 5, 2], ["setter", 16, 1, false, true, 5, 3]], []];
evary[8] = [[4, 17, 1], [["setter", 16, 1, true, false, 6, 4, 17, 2, 3], ["setter", 16, 1, false, true, 5, 5]], []];
evary[9] = [[2, 8, 1], [["setter", 16, 1, true, false, 6, 2, 8, 2, 3], ["setter", 16, 1, false, true, 5, 4]], []];
evary[10] = [[4, 7, 0], [["game_6"]], [["player_it", 4, 7, false]]];
var infary = new Array();
infary[0] = [10, 11, 1, 0, 50, -1, true];
infary[1] = [10, 13, 1, 0, 50, -1, true];
infary[2] = [12, 7, 0, 1, 50, -1, true];
infary[3] = [14, 7, 0, 1, 50, -1, true];
infary[4] = [0, 10, 1, 0, 50, -1, true];
infary[5] = [0, 14, 1, 0, 50, -1, true];
var monary = new Array();
monary[0] = [12, 1, 1];
my.mapping(mymap, enary, obary, evary, infary, monary);
stop();
Symbol 1013 MovieClip Frame 17
var mymap = new Array();
var ground = 4;
mymap[0] = [70, 70, 70, 70, 70, 55, 55, 55, 46, 55, 55, 55, 55, 70, 70, 70, 70, 70, 70, 70];
mymap[1] = [70, 70, 70, 70, 70, 55, 4, 4, 4, 4, 4, 4, 55, 70, 70, 70, 70, 70, 70, 70];
mymap[2] = [70, 70, 70, 70, 70, 57, 61, 4, 4, 4, 4, 4, 55, 55, 55, 58, 55, 55, 55, 55];
mymap[3] = [70, 70, 70, 70, 70, 55, 4, 4, 4, 4, 4, 4, 55, 38, 40, 36, 8, 60, 2, 60];
mymap[4] = [70, 70, 70, 70, 70, 55, 61, 4, 4, 4, 4, 4, 55, 4, 4, 4, 4, 4, 4, 6];
mymap[5] = [70, 70, 70, 70, 70, 57, 4, 4, 4, 4, 4, 4, 52, 4, 4, 4, 4, 4, 4, 4];
mymap[6] = [70, 70, 70, 70, 70, 55, 4, 42, 4, 4, 4, 4, 57, 4, 4, 4, 4, 4, 4, 4];
mymap[7] = [70, 70, 70, 70, 70, 55, 4, 4, 4, 4, 4, 4, 55, 6, 4, 4, 4, 4, 4, 4];
mymap[8] = [70, 70, 70, 70, 70, 55, 4, 4, 4, 4, 4, 4, 55, 61, 4, 4, 4, 4, 4, 4];
mymap[9] = [55, 55, 55, 55, 58, 55, 55, 55, 58, 55, 55, 55, 55, 4, 4, 4, 4, 4, 4, 4];
mymap[10] = [55, 6, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 55, 61, 4, 4, 4, 4, 4, 4];
mymap[11] = [55, 61, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 56, 4, 4, 4, 4, 4, 4, 4];
mymap[12] = [55, 61, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 54, 4, 4, 4, 4, 4, 4, 4];
mymap[13] = [55, 61, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 55, 4, 4, 4, 4, 4, 4, 4];
mymap[14] = [55, 6, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 57, 6, 4, 4, 4, 4, 4, 4];
var enary = new Array();
enary[0] = [[16, 13], [[5, 30, 1, 0], [6, [16, 13], [16, 10]], [5, 30, 0, -1]]];
enary[1] = [[8, 5], [[5, 60, 1, 0], [6, [8, 5], [8, 6]], [5, 80, 0, -1]]];
var obary = new Array();
obary[0] = [13, 3, 11, false];
obary[1] = [7, 6, 11, true];
obary[2] = [16, 4, 10, true];
obary[3] = [2, 11, 2, true];
obary[4] = [2, 13, 2, true];
obary[5] = [3, 11, 2, true];
obary[6] = [4, 11, 2, true];
obary[7] = [4, 12, 2, true];
obary[8] = [4, 13, 2, true];
obary[9] = [3, 13, 2, true];
obary[10] = [3, 10, 2, true];
obary[11] = [3, 14, 2, true];
var evary = new Array();
evary[0] = [[8, 0, 0], [["changemap", 15, 3, 8, 0, -1]], [["player_it", 2, 0, 3]]];
evary[1] = [[12, 5, 0], [["setter", 17, -1, false, true, 4, 12, 5]], [["player_it", 2, 0, 4]]];
evary[2] = [[12, 12, 0], [["setter", 17, -1, false, true, 4, 12, 12]], [["player_it", 4, 2, true]]];
evary[3] = [[13, 3, 0], [["getter", true, 3, 9, 0]], []];
evary[4] = [[18, 3, 1], [["setter", 17, 1, true, false, 6, 18, 3, 2, 3], ["setter", 17, 1, false, true, 5, 0]], []];
evary[5] = [[1, 11, 0], [["score", 0]], []];
evary[6] = [[1, 12, 0], [["score", 1]], []];
evary[7] = [[1, 13, 0], [["score", 2]], []];
evary[8] = [[7, 6, 0], [["getter", true, 3, 11, 1]], []];
evary[9] = [[12, 11, 0], [["game_3"]], [["player_it", 4, 2, false]]];
var infary = new Array();
infary[0] = [12, 9, 1, 0, 50, -1, true];
var monary = new Array();
my.mapping(mymap, enary, obary, evary, infary, monary);
stop();
Symbol 1013 MovieClip Frame 18
var mymap = new Array();
var ground = 4;
mymap[0] = [70, 70, 70, 55, 55, 55, 55, 2, 55, 58, 55, 55, 55, 55, 55, 55, 55, 55, 58, 55, 55];
mymap[1] = [70, 70, 70, 55, 60, 60, 6, 4, 4, 4, 8, 4, 4, 55, 38, 40, 36, 8, 6, 60, 60];
mymap[2] = [70, 70, 70, 55, 4, 4, 4, 4, 4, 4, 4, 4, 4, 57, 4, 4, 4, 4, 4, 4, 4];
mymap[3] = [70, 70, 70, 55, 4, 4, 4, 4, 4, 4, 4, 4, 4, 54, 4, 4, 4, 4, 4, 4, 4];
mymap[4] = [70, 70, 70, 55, 4, 4, 4, 4, 4, 4, 4, 4, 4, 55, 4, 4, 4, 4, 4, 4, 4];
mymap[5] = [55, 48, 55, 55, 4, 4, 4, 4, 4, 4, 4, 4, 4, 55, 4, 4, 4, 4, 4, 4, 6];
mymap[6] = [55, 4, 4, 4, 4, 55, 55, 55, 55, 58, 55, 55, 55, 55, 55, 58, 55, 55, 55, 55, 58];
mymap[7] = [55, 4, 4, 4, 4, 57, 4, 4, 60, 4, 60, 4, 60, 4, 4, 4, 60, 4, 60, 4, 4];
mymap[8] = [55, 4, 4, 4, 4, 55, 61, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4];
mymap[9] = [55, 4, 4, 4, 4, 55, 4, 4, 4, 4, 4, 4, 4, 42, 4, 4, 4, 4, 4, 4, 4];
mymap[10] = [55, 4, 4, 4, 4, 55, 61, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4];
mymap[11] = [57, 4, 4, 4, 4, 55, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4];
mymap[12] = [70, 70, 70, 70, 70, 70, 70, 70, 70, 47, 70, 70, 70, 70, 4, 4, 4, 4, 4, 4, 4];
var enary = new Array();
enary[0] = [[18, 8], [[5, 20, -1, 0], [6, [18, 8], [8, 8], [8, 10], [18, 10]], [5, 20, 1, 0]]];
enary[1] = [[5, 3], [[5, 20, 0, 1], [6, [7, 3], [11, 3]], [5, 20, -1, 0]]];
enary[2] = [[15, 3], [[5, 20, -1, 0], [6, [15, 3], [19, 3]], [5, 20, -1, 0]]];
var obary = new Array();
obary[0] = [14, 1, 11, false];
obary[1] = [7, 0, 2, true];
obary[2] = [7, 1, 2, true];
obary[3] = [8, 1, 2, true];
var evary = new Array();
evary[0] = [[9, 12, 0], [["changemap", 15, 3, 1, 0, 1]], [["player_it", 2, 0, 4]]];
evary[1] = [[13, 9, 0], [["setter", 18, -1, false, true, 4, 13, 9]], [["player_it", 2, 0, 2]]];
evary[2] = [[13, 3, 0], [["setter", 28, -1, false, true, 4, 13, 3]], []];
evary[3] = [[14, 1, 0], [["getter", true, 3, 8, 0]], []];
evary[4] = [[1, 5, 0], [["setter", 5, -1, false, true, 3, 1, 5, ["changemap", 20, 2, 3, 0, -1]]], [["player_it", 4, 0, true]]];
evary[5] = [[18, 7, 0], [["getter", true, 6, 10, 3]], []];
evary[6] = [[7, 0, 1], [["outhere"]], []];
var infary = new Array();
var monary = new Array();
my.mapping(mymap, enary, obary, evary, infary, monary);
stop();
Symbol 1013 MovieClip Frame 19
var mymap = new Array();
var ground = 1;
mymap[0] = [55, 55, 55, 55];
mymap[1] = [55, 3, 3, 3];
mymap[2] = [55, 3, 3, 3];
mymap[3] = [56, 3, 3, 3];
mymap[4] = [70, 70, 48, 70];
var enary = new Array();
var obary = new Array();
var evary = new Array();
if (my.lifton) {
evary[0] = [[2, 4, 1], [["changemap", 13, 14, 1, 0, 1]], []];
} else {
evary[0] = [[2, 4, 0], [["setter", 5, -1, false, true, 3, 2, 4, ["changemap", 13, 14, 1, 0, 1]]], []];
}
evary[1] = [[0, 3, 0], [["lift_2"]], []];
var infary = new Array();
var monary = new Array();
my.mapping(mymap, enary, obary, evary, infary, monary);
stop();
Symbol 1013 MovieClip Frame 20
var mymap = new Array();
var ground = 1;
mymap[0] = [55, 55, 55, 55];
mymap[1] = [55, 3, 3, 3];
mymap[2] = [55, 3, 3, 3];
mymap[3] = [56, 3, 3, 3];
mymap[4] = [70, 70, 48, 70];
var enary = new Array();
var obary = new Array();
var evary = new Array();
if (my.lifton) {
evary[0] = [[2, 4, 1], [["changemap", 18, 1, 6, 0, 1]], []];
} else {
evary[0] = [[2, 4, 0], [["setter", 5, -1, false, true, 3, 2, 4, ["changemap", 18, 1, 6, 0, 1]]], []];
}
evary[1] = [[0, 3, 0], [["lift_2"]], []];
var infary = new Array();
var monary = new Array();
my.mapping(mymap, enary, obary, evary, infary, monary);
stop();
Symbol 1013 MovieClip Frame 30
my.player_info[0][0] = 2;
my.player_info[0][1] = 14;
my.player_info[0][2] = 1;
my.player_info[0][3] = 0;
my.player_info[1] = [false, false, false, false, false, false, false, false];
my.player_info[2][2] = 99;
my.player_info[2][3] = 99;
my.player_info[3] = [false, false, false, false, false, false, false, false, false, false, false, false];
my.mapopen = 28;
var mymap = new Array();
var ground = 1;
mymap[0] = [55, 55, 55, 55, 55, 58, 55, 55, 55, 55, 55, 55, 58, 55, 55];
mymap[1] = [55, 61, 1, 1, 1, 1, 1, 50, 1, 1, 1, 1, 1, 1, 2];
mymap[2] = [55, 61, 1, 1, 1, 1, 1, 55, 1, 1, 1, 1, 1, 1, 1];
mymap[3] = [55, 61, 1, 1, 1, 1, 1, 55, 1, 1, 1, 1, 1, 1, 1];
mymap[4] = [55, 1, 1, 1, 1, 1, 1, 55, 1, 1, 1, 1, 1, 1, 1];
mymap[5] = [55, 1, 1, 1, 1, 1, 1, 55, 1, 1, 1, 1, 1, 1, 1];
mymap[6] = [55, 1, 1, 1, 1, 1, 1, 55, 1, 1, 1, 1, 1, 1, 1];
mymap[7] = [55, 55, 49, 55, 55, 55, 55, 55, 55, 46, 55, 55, 55, 55, 59];
mymap[8] = [55, 1, 1, 1, 1, 1, 1, 55, 1, 1, 1, 1, 1, 1, 1];
mymap[9] = [55, 1, 1, 1, 1, 1, 1, 55, 1, 1, 1, 1, 1, 1, 1];
mymap[10] = [55, 5, 1, 1, 1, 1, 1, 55, 1, 1, 1, 1, 1, 1, 1];
mymap[11] = [55, 61, 1, 1, 1, 1, 1, 55, 1, 1, 1, 1, 1, 1, 1];
mymap[12] = [55, 61, 1, 1, 1, 1, 1, 55, 1, 1, 1, 1, 1, 1, 1];
mymap[13] = [55, 61, 1, 1, 1, 1, 1, 55, 1, 1, 1, 1, 1, 1, 1];
mymap[14] = [55, 61, 1, 1, 1, 1, 1, 55, 41, 1, 1, 1, 1, 1, 1];
var enary = new Array();
var obary = new Array();
obary[0] = [2, 8, 2, true];
obary[1] = [3, 8, 3, true];
obary[2] = [4, 8, 8, true];
obary[3] = [11, 1, 9, true];
obary[4] = [8, 14, 11, false];
obary[5] = [13, 1, 9, true];
var evary = new Array();
evary[0] = [[1, 11, 0], [["getter", true, 1, 7]], []];
evary[1] = [[1, 12, 0], [["getter", true, 1, 6]], []];
evary[2] = [[1, 13, 0], [["getter", true, 1, 5]], []];
evary[3] = [[1, 14, 0], [["getter", true, 1, 4]], []];
evary[4] = [[1, 1, 0], [["getter", true, 1, 1]], []];
evary[5] = [[1, 2, 0], [["getter", true, 1, 2]], []];
evary[6] = [[1, 3, 0], [["getter", true, 1, 3]], []];
evary[7] = [[2, 7, 0], [["setter", 17, -1, false, true, 4, 2, 7]], []];
evary[8] = [[7, 1, 0], [["setter", 17, -1, false, true, 4, 7, 1]], [["player_it", 2, 0, 2]]];
evary[9] = [[14, 1, 1], [["setter", 30, 1, true, false, 6, 14, 1, 2, 3], ["setter", 6, 1, false, true, 5, 1]], []];
evary[10] = [[9, 7, 0], [["setter", 17, -1, false, true, 4, 9, 7]], [["player_it", 2, 0, 3]]];
evary[11] = [[14, 7, 0], [["cutdown"]], []];
evary[12] = [[8, 14, 0], [["getter", true, 3, 0, 4]], []];
var infary = new Array();
infary[0] = [0, 4, 1, 0, 60, 60, true];
infary[1] = [7, 4, 1, 0, 60, -1, true];
infary[2] = [7, 10, 1, 0, 60, -1, true];
infary[3] = [7, 11, 1, 0, 60, -1, true];
var monary = new Array();
my.mapping(mymap, enary, obary, evary, infary, monary);
if ((this.trmc == undefined) || (my.remary.length == 0)) {
attachMovie("trmc", "trmc", 500);
}
stop();
Symbol 1013 MovieClip Frame 40
my.changemap(my.mapopen + 2);