Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("725336ef", this, 10301, true);
function doSomething() {
getURL ("http://radimbrnka.czweb.org", "_blank");
}
function doSomething2() {
getURL ("http://radimbrnka.czweb.org", "_blank");
}
function doSomething0() {
getURL ("http://radimbrnka.czweb.org", "_blank");
}
stop();
_root.sound_volume = 50;
novyFont3 = new TextFormat();
novyFont3.size = 20;
novyFont3.font = "kl";
loading.embedFonts = true;
loading.setTextFormat(novyFont3);
preloader.onEnterFrame = function () {
procenta = Math.round((getBytesLoaded() / getBytesTotal()) * 100);
_root.loading.text = ("Loaded " + procenta) + "%";
_root.preloader._xscale = procenta;
if (procenta > 99) {
gotoAndStop (9);
}
};
mochi.as2.MochiServices.connect("1e16be952da4e318");
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned0 = new ContextMenuItem(" Data Miner ", doSomething0);
Functioned = new ContextMenuItem("Created by Radim Brnka", doSomething);
MENU.customItems.push(Functioned0);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
MENU.customItems.push(Functioned3);
_root.menu = MENU;
function rollover(obj) {
obj.onRollOver = function () {
obj.gotoAndStop(2);
};
obj.onRollOut = function () {
obj.gotoAndStop(1);
};
}
function obdelnik(obj) {
obj.onEnterFrame = function () {
this.del--;
if (this._xscale < 100) {
this._xscale = this._xscale + 10;
this._yscale = this._yscale + 10;
}
if (this._xscale > 100) {
this._xscale = 100;
this._yscale = 100;
}
if ((this._xscale > 99) && (this.del < 1)) {
this._alpha = this._alpha - 5;
}
if ((this._alpha < 40) || (_root._currentframe < 10)) {
this._visible = false;
}
};
}
function obdelnik_del(obj) {
obj.onEnterFrame = function () {
this.del--;
if (this._xscale < 100) {
this._xscale = this._xscale + 10;
this._yscale = this._yscale + 10;
}
if (this._xscale > 100) {
this._xscale = 100;
this._yscale = 100;
}
if ((this._xscale > 99) && (this.del < 1)) {
this._alpha = this._alpha - 5;
}
if (this._alpha < 40) {
this._visible = false;
}
if ((this._visible == false) || (_root._currentframe < 10)) {
removeMovieClip(this);
}
};
}
function pick(obj) {
if (obj.passw == false) {
obj.pass._visible = false;
}
if (obj.discrypt == false) {
obj.dis._visible = false;
}
obj.onEnterFrame = function () {
if (!this.picked) {
if ((pod_status == "shoot") and this.hitTest(hot_spot_x, hot_spot_y, true)) {
eff = new Sound();
eff.attachSound("pick.wav");
eff.start();
pod_status = "rewind";
this.picked = true;
if (this.passw == true) {
passworded = true;
} else {
passworded = false;
}
if (this.discrypt == true) {
discrypted = true;
} else {
discrypted = false;
}
effect = this.eff;
slowdown = this.slowdown;
txt = this.txt;
bonus = this.bonus + player.cash_bonus;
this.swapDepths(_root.getNextHighestDepth());
pod.swapDepths(_root.getNextHighestDepth());
} else if (_root.enemy.tester.hitTest(this)) {
this._alpha = this._alpha - 3;
_root.enemy._x = _root.enemy._x + 1;
if (this._alpha < 90) {
removeMovieClip(this);
_root.enemy.point = 0;
}
} else if (_root.discr.tester.hitTest(this) && (this.discrypt == false)) {
this.dis._visible = true;
this.discrypt = true;
_root.discr._x = _root.discr._x + 1;
_root.discr.point = 0;
}
if (bomb.tester.hitTest(this) && (pod_status != "rewind")) {
bmb = _root.attachMovie("vybuch", "vybuch" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:this._x, _y:this._y, _xscale:60, _yscale:60});
eff = new Sound();
eff.attachSound("bomb.wav");
eff.start();
shooted = 0;
removeMovieClip(bomb);
removeMovieClip(this);
slowdown = 0;
}
} else {
this._x = hot_spot_x;
this._y = hot_spot_y;
this._rotation = pod._rotation;
if (pod_status == "rotate") {
this.removeMovieClip();
}
if (bomb.tester.hitTest(this)) {
bmb = _root.attachMovie("vybuch", "vybuch" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:this._x, _y:this._y, _xscale:60, _yscale:60});
eff = new Sound();
eff.attachSound("bomb.wav");
eff.start();
shooted = 0;
removeMovieClip(bomb);
removeMovieClip(this);
slowdown = 0;
}
}
if ((_root._currentframe < 5) || (end_game == true)) {
removeMovieClip(this);
}
};
}
function firewall(obj) {
obj.onEnterFrame = function () {
if (!this.picked) {
if ((pod_status == "shoot") and this.hitTest(hot_spot_x, hot_spot_y, true)) {
eff = new Sound();
eff.attachSound("firewall.wav");
eff.start();
pod_status = "firewall";
this.picked = true;
rod.wait = 50;
slowdown = 0;
txt = this.txt;
bonus = this.bonus;
bublina.txt.txt.htmlText = txt;
bublina.txt.del = 50;
bublina.txt._visible = true;
bublina.txt._alpha = 100;
bublina.hlava.del = 50;
bublina.hlava._visible = true;
bublina.hlava._alpha = 100;
obdelnik(bublina.txt);
}
} else {
rod.wait = rod.wait - 1;
if ((rod.wait < 1) && (pod_status == "firewall")) {
this.del = 2;
obdelnik_del(this);
pod_status = "rewind";
}
}
if ((_root._currentframe < 5) || (end_game == true)) {
removeMovieClip(this);
}
};
}
function spywaref(obj) {
obj.onEnterFrame = function () {
if (!this.picked) {
if ((pod_status == "shoot") and this.hitTest(hot_spot_x, hot_spot_y, true)) {
eff = new Sound();
eff.attachSound("pick.wav");
eff.start();
pod_status = "rewind";
this.picked = true;
slowdown = this.slowdown;
txt = this.txt;
bonus = this.bonus;
this.swapDepths(_root.getNextHighestDepth());
pod.swapDepths(_root.getNextHighestDepth());
}
dx = waypoints[this.wp][this.point][0] - this._x;
dy = waypoints[this.wp][this.point][1] - this._y;
angle = Math.atan2(dy, dx);
this._x = this._x + (Math.cos(angle) * this.speed);
this._y = this._y + (Math.sin(angle) * this.speed);
this._rotation = (angle * 180) / Math.PI;
if ((Math.abs(dx) < 2) && (Math.abs(dy) < 2)) {
this.point++;
if (this.point == waypoints[this.wp].length) {
this.point = 0;
}
}
if (bomb.tester.hitTest(this) && (pod_status != "rewind")) {
bmb = _root.attachMovie("vybuch", "vybuch" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:this._x, _y:this._y, _xscale:60, _yscale:60});
shooted = 0;
eff = new Sound();
eff.attachSound("bomb.wav");
eff.start();
removeMovieClip(bomb);
removeMovieClip(this);
slowdown = 0;
}
} else {
this._x = hot_spot_x;
this._y = hot_spot_y;
if (pod_status == "rotate") {
eff = new Sound();
eff.attachSound("spyware.wav");
eff.start();
this.removeMovieClip();
timee = 0;
}
if (bomb.tester.hitTest(this)) {
bmb = _root.attachMovie("vybuch", "vybuch" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:this._x, _y:this._y, _xscale:60, _yscale:60});
shooted = 0;
eff = new Sound();
eff.attachSound("bomb.wav");
eff.start();
removeMovieClip(bomb);
removeMovieClip(this);
slowdown = 0;
}
}
if ((_root._currentframe < 5) || (end_game == true)) {
removeMovieClip(this);
}
};
}
function virusf(obj) {
obj.onEnterFrame = function () {
if (!this.picked) {
if ((pod_status == "shoot") and this.hitTest(hot_spot_x, hot_spot_y, true)) {
eff = new Sound();
eff.attachSound("pick.wav");
eff.start();
pod_status = "rewind";
this.picked = true;
slowdown = this.slowdown;
txt = this.txt;
bonus = this.bonus;
this.swapDepths(_root.getNextHighestDepth());
pod.swapDepths(_root.getNextHighestDepth());
}
dx = waypoints[this.wp][this.point][0] - this._x;
dy = waypoints[this.wp][this.point][1] - this._y;
angle = Math.atan2(dy, dx);
this._x = this._x + (Math.cos(angle) * this.speed);
this._y = this._y + (Math.sin(angle) * this.speed);
this._rotation = (angle * 180) / Math.PI;
if ((Math.abs(dx) < 2) && (Math.abs(dy) < 2)) {
this.point++;
if (this.point == waypoints[this.wp].length) {
this.point = 0;
}
}
if (bomb.tester.hitTest(this) && (pod_status != "rewind")) {
bmb = _root.attachMovie("vybuch", "vybuch" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:this._x, _y:this._y, _xscale:60, _yscale:60});
eff = new Sound();
eff.attachSound("bomb.wav");
eff.start();
shooted = 0;
removeMovieClip(bomb);
removeMovieClip(this);
slowdown = 0;
}
} else {
this._x = hot_spot_x;
this._y = hot_spot_y;
if (pod_status == "rotate") {
this.removeMovieClip();
timee = timee - 10;
}
if (bomb.tester.hitTest(this)) {
bmb = _root.attachMovie("vybuch", "vybuch" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:this._x, _y:this._y, _xscale:60, _yscale:60});
shooted = 0;
removeMovieClip(bomb);
removeMovieClip(this);
slowdown = 0;
}
}
if ((_root._currentframe < 5) || (end_game == true)) {
removeMovieClip(this);
}
};
}
function enemyf(obj) {
obj.onEnterFrame = function () {
if (start_game == true) {
dx = waypoints[this.wp][this.point][0] - this._x;
dy = waypoints[this.wp][this.point][1] - this._y;
angle = Math.atan2(dy, dx);
this._x = this._x + (Math.cos(angle) * this.speed);
this._y = this._y + (Math.sin(angle) * this.speed);
if (dx < 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if ((Math.abs(dx) < 2) && (Math.abs(dy) < 2)) {
this.point++;
if (this.point == waypoints[this.wp].length) {
this.point = 0;
}
}
if ((_root._currentframe < 5) || (end_game == true)) {
removeMovieClip(this);
}
}
};
}
function discrf(obj) {
obj.onEnterFrame = function () {
if (start_game == true) {
dx = waypoints[this.wp][this.point][0] - this._x;
dy = waypoints[this.wp][this.point][1] - this._y;
angle = Math.atan2(dy, dx);
this._x = this._x + (Math.cos(angle) * this.speed);
this._y = this._y + (Math.sin(angle) * this.speed);
if (dx < 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
if ((Math.abs(dx) < 2) && (Math.abs(dy) < 2)) {
this.point++;
if (this.point == waypoints[this.wp].length) {
this.point = 0;
}
}
if ((_root._currentframe < 5) || (end_game == true)) {
removeMovieClip(this);
}
}
};
}
function pod_init() {
_root.attachMovie("vozik", "vozik", _root.getNextHighestDepth(), {_x:250, _y:160});
_root.attachMovie("pod", "pod", _root.getNextHighestDepth(), {_x:vozik._x, _y:vozik._y - 60});
_root.createEmptyMovieClip("rod", _root.getNextHighestDepth());
rotation_dir = 5;
pod_status = "rotate";
slowdown = 0;
vozik.guy.gotoAndStop(1);
if (player.aim_bonus == 0) {
pod.aim._visible = false;
}
novyFont16 = new TextFormat();
novyFont16.size = 16;
novyFont16.font = "kl";
bublina.txt.txt.embedFonts = true;
bublina.txt.txt.setTextFormat(novyFont16);
bublina.txt2.txt.embedFonts = true;
bublina.txt2.txt.setTextFormat(novyFont16);
bublina.txt._visible = false;
bublina.txt2._visible = false;
hot_spot_x = -100;
hot_spot_y = -100;
shooted = 10;
pauza = false;
pod.onEnterFrame = function () {
if (((end_game == false) && (start_game == true)) && (pauza == false)) {
shooted = shooted - 1;
switch (pod_status) {
case "rotate" :
this._x = vozik._x;
this.gotoAndStop(1);
this._rotation = this._rotation + rotation_dir;
if (rotation_dir > 0) {
if (this._rotation > -90) {
rotation_dir = rotation_dir + 0.2;
}
if ((this._rotation > 0) && (this._rotation < 90)) {
rotation_dir = rotation_dir - 0.4;
}
}
if (rotation_dir < 0) {
if (this._rotation < 90) {
rotation_dir = rotation_dir - 0.2;
}
if ((this._rotation < 0) && (this._rotation > -90)) {
rotation_dir = rotation_dir + 0.4;
}
}
if (this._rotation >= 95) {
rotation_dir = -0.5;
}
if (this._rotation <= -95) {
rotation_dir = 0.5;
}
trace(rotation_dir);
if (Key.isDown(37) && (this._x > 40)) {
vozik.kolo1._rotation = vozik.kolo1._rotation - 7;
vozik.kolo2._rotation = vozik.kolo2._rotation - 7;
vozik._x = vozik._x - (3 + player.speed_bonus);
pod._x = pod._x - (3 + player.speed_bonus);
vozik.guy.gotoAndStop(2);
vozik.guy._xscale = 100;
pod._visible = false;
} else if (Key.isDown(39) && (this._x < 600)) {
vozik.kolo1._rotation = vozik.kolo1._rotation + 7;
vozik.kolo2._rotation = vozik.kolo2._rotation + 7;
vozik._x = vozik._x + (3 + player.speed_bonus);
pod._x = pod._x + (3 + player.speed_bonus);
vozik.guy.gotoAndStop(2);
vozik.guy._xscale = -100;
pod._visible = false;
} else {
pod._visible = true;
vozik.guy._xscale = 100;
vozik.guy.gotoAndStop(1);
}
if (Key.isDown(32) || (Key.isDown(40))) {
eff = new Sound();
eff.attachSound("ruka.wav");
eff.start();
dir = (pod._rotation + 90) * 0.0174532925;
pod_status = "shoot";
}
if (((Key.isDown(18) || (Key.isDown(38))) && (player.bombs > 0)) && (shooted < 1)) {
dir = (pod._rotation + 90) * 0.0174532925;
player.bombs = player.bombs - 1;
shooted = 100;
if (player.bombs < 1) {
bonuses.bomb._visible = false;
}
bomb = _root.attachMovie("bomb2", "bomb", _root.getNextHighestDepth(), {_x:vozik._x, _y:vozik._y - 60});
bomb.dir = dir;
bomb.onEnterFrame = function () {
if (this._currentframe == 1) {
this._x = this._x + (12 * Math.cos(this.dir));
this._y = this._y + (12 * Math.sin(this.dir));
}
if (((this._x > 700) || (this._x < -50)) || (this._y > 500)) {
shooted = 0;
removeMovieClip(this);
}
};
}
break;
case "shoot" :
vozik.guy.gotoAndStop(1);
pod._visible = true;
slowdown = 0;
this._x = this._x + (10 * Math.cos(dir));
this._y = this._y + (10 * Math.sin(dir));
hot_spot_x = this._x + (10 * Math.cos(dir));
hot_spot_y = this._y + (10 * Math.sin(dir));
if (((hot_spot_y > 480) or (hot_spot_x < 0)) or (hot_spot_x > 640)) {
_root.vozik.guy.gotoAndPlay(1);
pod_status = "rewind";
}
rod.clear();
rod.lineStyle(6, 0);
rod.moveTo(vozik._x, vozik._y - 60);
rod.lineTo(this._x, this._y);
break;
case "rewind" :
vozik.guy.gotoAndStop(1);
this.gotoAndStop(2);
hot_spot_x = this._x + (20 * Math.cos(dir));
hot_spot_y = this._y + (20 * Math.sin(dir));
this._x = this._x - (((10 - slowdown) + player.str_bonus) * Math.cos(dir));
this._y = this._y - (((10 - slowdown) + player.str_bonus) * Math.sin(dir));
if (this._y < (vozik._y - 60)) {
this._y = vozik._y - 60;
this._x = vozik._x;
rnd2 = random(2);
if (rnd2 == 0) {
this._rotation = 50 + random(15);
} else if (rnd2 == 1) {
this._rotation = -50 - random(15);
}
rotation_dir = 2.5;
if (this._rotation < 0) {
rotation_dir = -2.5;
if (this._rotation > -35) {
this._rotation = this._rotation - 40;
}
}
if (this._rotation > 0) {
rotation_dir = 2.5;
if (this._rotation < 35) {
this._rotation = this._rotation + 40;
}
}
pod_status = "rotate";
if (slowdown != 0) {
bublina.txt.txt.htmlText = txt;
bublina.txt.del = 50;
bublina.txt._visible = true;
bublina.txt._alpha = 100;
obdelnik(bublina.txt);
bublina.hlava.del = 50;
bublina.hlava._visible = true;
bublina.hlava._alpha = 100;
if (passworded && (player.pass_crack == 0)) {
bonus = bonus / player.pwd_minus;
bublina.txt2.txt.htmlText = "Protected with a pswd, I hope I will sell it";
bublina.txt2.del = 50;
bublina.txt2._visible = true;
bublina.txt2._alpha = 100;
obdelnik(bublina.txt2);
}
if (passworded && (player.pass_crack == 1)) {
bublina.txt2.txt.htmlText = "I used the passwordcracker";
bublina.txt2.del = 50;
bublina.txt2._visible = true;
bublina.txt2._alpha = 100;
obdelnik(bublina.txt2);
}
if (discrypted == true) {
eff = new Sound();
eff.attachSound("discr.wav");
eff.start();
bonus = bonus / player.discr_minus;
bublina.txt2.txt.htmlText = "Discryptor protected";
bublina.txt2.del = 50;
bublina.txt2._visible = true;
bublina.txt2._alpha = 100;
obdelnik(bublina.txt2);
}
switch (effect) {
case 0 :
break;
case 1 :
eff = new Sound();
eff.attachSound("bin.wav");
eff.start();
player.bombs = 1;
bonuses.bomb._visible = true;
break;
case 2 :
eff = new Sound();
eff.attachSound("bin.wav");
eff.start();
timee = timee + 10;
bmb = _root.attachMovie("time_eff", "cash" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:this._x, _y:this._y + 35, _xscale:20, _yscale:20});
bmb.txt.text = "+10s";
bmb.del = 40;
obdelnik_del(bmb);
bonuses.timeb._visible = true;
break;
case 3 :
eff = new Sound();
eff.attachSound("bin.wav");
eff.start();
player.aim_bonus = 1;
bonuses.aim._visible = true;
pod.aim._visible = true;
break;
case 4 :
eff = new Sound();
eff.attachSound("bin.wav");
eff.start();
player.speed_bonus = 3;
bonuses.speed._visible = true;
break;
case 5 :
eff = new Sound();
eff.attachSound("bin.wav");
eff.start();
player.pass_crack = 1;
bonuses.pwd._visible = true;
}
effect = 0;
player.tmp_score = player.tmp_score + bonus;
score_txt.text = player.tmp_score;
if ((slowdown < 9) && (bonus != 0)) {
bomb = _root.attachMovie("cash_eff", "cash" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:this._x, _y:this._y + 35, _xscale:20, _yscale:20});
novyFont3Kl = new TextFormat();
novyFont3Kl.size = 20;
novyFont3Kl.font = "kl";
bomb.txt.embedFonts = true;
bomb.txt.setTextFormat(novyFont3Kl);
bomb.txt.text = "$" + bonus;
bomb.del = 40;
obdelnik_del(bomb);
eff11 = new Sound();
eff11.attachSound("coins.wav");
eff11.start();
}
if (slowdown == 9.17) {
eff = new Sound();
eff.attachSound("virus.wav");
eff.start();
bomb = _root.attachMovie("time_eff", "cash" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:this._x, _y:this._y + 35, _xscale:20, _yscale:20});
bomb.txt.text = "-10s";
bomb.del = 40;
obdelnik_del(bomb);
}
bonus = 0;
txt = "";
}
}
rod.clear();
rod.lineStyle(6, 0);
rod.moveTo(vozik._x, vozik._y - 60);
rod.lineTo(this._x, this._y);
if (((Key.isDown(18) || (Key.isDown(38))) && (player.bombs > 0)) && (shooted < 1)) {
dir = (pod._rotation + 90) * 0.0174532925;
player.bombs = player.bombs - 1;
shooted = 100;
bonuses.bomb._visible = false;
bomb = _root.attachMovie("bomb2", "bomb", _root.getNextHighestDepth(), {_x:vozik._x, _y:vozik._y - 60});
bomb.dir = dir;
bomb.onEnterFrame = function () {
if (this._currentframe == 1) {
this._x = this._x + (12 * Math.cos(this.dir));
this._y = this._y + (12 * Math.sin(this.dir));
}
if (((this._x > 700) || (this._x < -50)) || (this._y > 500)) {
shooted = 0;
removeMovieClip(this);
}
};
}
break;
case "firewall" :
vozik.guy.gotoAndStop(1);
this.gotoAndStop(3);
}
}
if (end_game == true) {
vozik.guy.gotoAndStop(1);
}
};
novyFont3Kl = new TextFormat();
novyFont3Kl.size = 20;
novyFont3Kl.font = "kl";
timee_txt.embedFonts = true;
timee_txt.setTextFormat(novyFont3Kl);
score_txt.embedFonts = true;
score_txt.setTextFormat(novyFont3Kl);
minimal_score_txt.embedFonts = true;
minimal_score_txt.setTextFormat(novyFont3Kl);
dis_logo.onRelease = function () {
eff = new Sound();
eff.attachSound("button.wav");
eff.start();
getURL ("http://www.discryptor.com/products/discryptor-business-edition?utm_source=orig_dataminer_gameplay&utm_medium=flash_game&utm_campaign=dataminer", "_blank");
};
dis_logo.onRollOver = function () {
this._xscale = 110;
this._yscale = 110;
};
dis_logo.onRollOut = function () {
this._xscale = 100;
this._yscale = 100;
};
dis_logobg.onRelease = function () {
getURL ("http://www.discryptor.com/products/discryptor-business-edition?utm_source=orig_dataminer_gameplay&utm_medium=flash_game&utm_campaign=dataminer", "_blank");
};
pauza_ikona.swapDepths(_root.getNextHighestDepth());
minimal.swapDepths(_root.getNextHighestDepth());
tabulka.swapDepths(_root.getNextHighestDepth());
ctrls.swapDepths(_root.getNextHighestDepth());
infotext.swapDepths(_root.getNextHighestDepth());
rollover(minimal.btn_play);
minimal.btn_play.onPress = function () {
ctrls.del = 0;
infotext.del = 0;
start_game = true;
ctrls._alpha = 35;
infotext._alpha = 35;
this._parent.del = 0;
eff = new Sound();
eff.attachSound("button.wav");
eff.start();
};
rollover(tabulka.btn_play);
tabulka.btn_play.onRelease = function () {
eff = new Sound();
eff.attachSound("button.wav");
eff.start();
removeMovieClip(_root.vozik);
removeMovieClip(_root.zeleznice);
removeMovieClip(_root.pod);
removeMovieClip(_root.pauza_ikona);
rod.clear();
removeMovieClip(_root.rod);
snd.stop();
_root.gotoAndStop(3);
};
rollover(tabulka.btn_retry);
tabulka.btn_retry.onRelease = function () {
eff = new Sound();
eff.attachSound("button.wav");
eff.start();
removeMovieClip(_root.vozik);
removeMovieClip(_root.zeleznice);
removeMovieClip(_root.pod);
removeMovieClip(_root.pauza_ikona);
rod.clear();
removeMovieClip(_root.rod);
snd.stop();
_root.gotoAndStop(3);
};
rollover(tabulka.btn_send);
tabulka.btn_send.onRelease = function () {
removeMovieClip(_root.pauza_ikona);
removeMovieClip(_root.vozik);
removeMovieClip(_root.zeleznice);
removeMovieClip(_root.pod);
rod.clear();
removeMovieClip(_root.rod);
this._parent._visible = false;
var _local3 = {n:[4, 13, 3, 1, 6, 13, 7, 12, 11, 7, 12, 7, 11, 1, 8, 14], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var _local4 = _local3.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:_local4, score:player.score});
};
_root.cpu.t = 25;
obdelnik(bublina.hlava);
bublina.hlava.del = 0;
bublina.hlava._visible = false;
inc = 0;
snd.setVolume(inc);
_root.cpu.onEnterFrame = function () {
this.t = this.t - 1;
if ((((this.t < 1) && (end_game == false)) && (start_game == true)) && (pauza == false)) {
timee = timee - 1;
this.t = 25;
if (timee == 2) {
eff = new Sound();
eff.attachSound("2sec.wav");
eff.start();
}
if (player.bombs < 1) {
bonuses.bomb._visible = false;
} else {
bonuses.bomb._visible = true;
}
}
if ((timee < 1) && (end_game == false)) {
end_game = true;
tabulka.swapDepths(_root.getNextHighestDepth());
tabulka.txt.embedFonts = true;
tabulka.txt.setTextFormat(novyFont3);
tabulka.txt.text = "Score: " + player.tmp_score;
if (player.tmp_score >= min) {
tabulka.btn_next._visible = true;
tabulka.btn_send._visible = false;
tabulka.btn_retry._visible = false;
player.cash_free = player.cash_free + (player.tmp_score - min);
player.levels_done++;
player.score = player.score + player.tmp_score;
winner.txt.embedFonts = true;
winner.txt.setTextFormat(novyFont3);
winner.txt.text = "Total score: " + player.score;
} else {
snd.stop();
delete snd;
snd = new Sound();
snd.attachSound("loop07");
snd.start();
if (player.lives > 0) {
player.lives = player.lives - 1;
tabulka.txt.text = "Score: " + player.tmp_score;
player.tmp_score = 0;
tabulka.btn_next._visible = false;
tabulka.btn_send._visible = false;
tabulka.btn_retry._visible = true;
} else {
player.score = player.score + player.tmp_score;
tabulka.txt.text = "Total score: " + player.score;
tabulka.btn_next._visible = false;
tabulka.btn_send._visible = true;
tabulka.btn_retry._visible = false;
}
}
}
if (((_root.sound_volume != 0) && (inc < 50)) && (end_game == false)) {
inc = inc + 0.5;
snd.setVolume(inc);
}
if (((_root.sound_volume != 0) && (inc > 0)) && (end_game == true)) {
trace(inc);
inc = inc - 0.5;
snd.setVolume(inc);
}
if (pauza == false) {
pauza_ikona._visible = false;
} else {
pauza_ikona._visible = true;
}
};
btn_pauza.onRelease = function () {
eff = new Sound();
eff.attachSound("button.wav");
eff.start();
if (pauza == false) {
pauza = true;
} else {
pauza = false;
}
};
}
function sounds() {
_root.sound_ctrl.onPress = function () {
eff = new Sound();
eff.attachSound("button.wav");
eff.start();
if (_root.sound_volume == 50) {
snd.setVolume(0);
_root.sound_volume = 0;
this.gotoAndStop(2);
} else {
snd.setVolume(50);
_root.sound_volume = 50;
this.gotoAndStop(1);
}
};
_root.sound_ctrl.onEnterFrame = function () {
if (_root.sound_volume == 0) {
this.gotoAndStop(2);
} else if (_root.sound_volume == 50) {
this.gotoAndStop(1);
}
};
}
function bonus_init() {
if (player.cash_bonus == 0) {
bonuses.cash._visible = false;
}
if (player.bombs < 1) {
bonuses.bomb._visible = false;
}
if (player.str_bonus == 0) {
bonuses.str._visible = false;
}
if (player.speed_bonus == 0) {
bonuses.speed._visible = false;
}
if (player.time_bonus == 0) {
bonuses.timeb._visible = false;
}
if (player.aim_bonus == 0) {
bonuses.aim._visible = false;
}
if (player.pass_crack == 0) {
bonuses.pwd._visible = false;
}
}
Frame 2
stop();
snd.stop();
delete snd;
snd = new Sound();
snd.attachSound("loop06");
snd.setVolume(0);
snd.start(0, 99);
inc = 0;
cpu.onEnterFrame = function () {
if ((_root.sound_volume != 0) && (inc < 50)) {
inc = inc + 1;
snd.setVolume(inc);
}
};
rollover(btn_play);
btn_play.onRelease = function () {
player = new Object();
player.tmp_score = 0;
player.score = 0;
player.level1_min = 5000;
player.level2_min = 250;
player.level3_min = 250;
player.level4_min = 250;
player.level5_min = 250;
player.level6_min = 250;
player.level7_min = 250;
player.level8_min = 250;
player.level9_min = 250;
player.level10_min = 250;
player.cash = 0;
player.bombs = 0;
player.cash_spent = 0;
player.cash_free = 0;
player.pass_crack = 0;
player.cash_bonus = 0;
player.aim_bonus = 0;
player.time_bonus = 0;
player.speed_bonus = 0;
player.str_bonus = 0;
player.levels_done = 0;
player.lives = 1;
player.games_done = 0;
player.discr_minus = 1000;
player.pwd_minus = 10;
player.base_time = 60;
snd.stop();
delete snd;
eff = new Sound();
eff.attachSound("button.wav");
eff.start();
_root.gotoAndStop(11);
};
rollover(btn_highscore);
rollover(btn_disc);
rollover(btn_help);
rollover(btn_quality);
sounds();
btn_help.onRelease = function () {
eff = new Sound();
eff.attachSound("button.wav");
eff.start();
snd.stop();
_root.gotoAndStop(4);
};
btn_highscore.onRelease = function () {
eff = new Sound();
eff.attachSound("button.wav");
eff.start();
snd.stop();
_root.gotoAndStop(5);
};
btn_quality.onRelease = function () {
eff = new Sound();
eff.attachSound("button.wav");
eff.start();
trace(_quality);
if (_quality == "HIGH") {
_quality = "LOW";
} else {
_quality = "HIGH";
}
};
btn_disc.onRelease = function () {
eff = new Sound();
eff.attachSound("button.wav");
eff.start();
getURL ("http://www.discryptor.com/products/discryptor-business-edition?utm_source=orig_dataminer_menu&utm_medium=flash_game&utm_campaign=dataminer", "_blank");
};
fscommand ("trapallkeys", true);
Instance of Symbol 214 MovieClip "btn_play" in Frame 2
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 219 MovieClip "btn_disc" in Frame 2
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 223 MovieClip "btn_highscore" in Frame 2
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Frame 3
function buy(obj, type, cost, desc) {
obj._parent.txt.embedFonts = true;
obj._parent.txt.setTextFormat(novyFont3Kl);
obj._parent.txt.text = "$" + cost;
rnd = random(3);
trace(rnd);
if (player.levels_done > 18) {
rnd = 0;
}
if (rnd > 1) {
trace("vis false");
obj._parent._visible = false;
}
obj.onEnterFrame = function () {
if (player.cash_free < cost) {
obj._visible = false;
}
if (this._parent.hitTest(_xmouse, _ymouse, true) && (this._parent._visible == true)) {
bublina.txt.embedFonts = true;
bublina.txt.setTextFormat(novyFont3Kl);
bublina.txt.text = desc;
bublina.del = 25;
bublina._visible = true;
bublina._alpha = 100;
obj._parent.iko._xscale = 110;
obj._parent.iko._yscale = 110;
} else {
obj._parent.iko._xscale = 100;
obj._parent.iko._yscale = 100;
}
};
obj.onPress = function () {
eff = new Sound();
eff.attachSound("nakup.wav");
eff.start();
player.cash_free = player.cash_free - cost;
this._visible = false;
cash_txt.text = "$" + player.cash_free;
switch (type) {
case 1 :
player.cash_bonus = 1000;
break;
case 2 :
player.time_bonus = 10;
break;
case 3 :
player.bombs = player.bombs + 1;
break;
case 4 :
player.pass_crack = 1;
break;
case 5 :
player.aim_bonus = 1;
break;
case 6 :
player.speed_bonus = 3;
break;
case 7 :
player.str_bonus = 3;
}
};
obj._parent.rollOver = function () {
};
obj._parent.rollOut = function () {
};
}
function obdelnik_bubl(obj) {
obj.onEnterFrame = function () {
this.del--;
if (this._xscale < 100) {
this._xscale = this._xscale + 10;
this._yscale = this._yscale + 10;
}
if (this._xscale > 100) {
this._xscale = 100;
this._yscale = 100;
}
if ((this._xscale > 99) && (this.del < 1)) {
this._alpha = this._alpha - 3;
}
if (this._alpha < 30) {
this._visible = false;
}
};
}
stop();
end_game = false;
snd = new Sound();
if (_root.sound_volume != 0) {
snd.setVolume(50);
}
snd.attachSound("loop06");
snd.start(0, 99);
novyFontKl = new TextFormat();
novyFontKl.size = 20;
novyFontKl.font = "kl";
minimal.txt.embedFonts = true;
minimal.txt.setTextFormat(novyFont3Kl);
rollover(btn_next);
rollover(bombb.buy);
rollover(cashb.buy);
rollover(timeb.buy);
rollover(pwdb.buy);
rollover(aimb.buy);
rollover(speedb.buy);
rollover(strb.buy);
buy(cashb.buy, 1, 8500, "+1000$ from every data only for next level, doesn't work on Discryptor protected data or password protected data");
buy(timeb.buy, 2, 10000, "+10 seconds for next level");
buy(bombb.buy, 3, 3000, "Buy bomb");
buy(pwdb.buy, 4, 8000, "Password cracker - crack protected data, doesn't work against Discryptor protected data (for next level)");
buy(aimb.buy, 5, 12000, "Aim upgrade for next level");
buy(speedb.buy, 6, 5000, "Upgrade your speed for next level");
buy(strb.buy, 7, 9500, "Upgrade your strength for next level");
player.pass_crack = 0;
player.cash_bonus = 0;
player.aim_bonus = 0;
player.time_bonus = 0;
player.speed_bonus = 0;
player.str_bonus = 0;
score_txt.embedFonts = true;
score_txt.setTextFormat(novyFont3Kl);
score_txt.text = player.score;
cash_txt.embedFonts = true;
cash_txt.setTextFormat(novyFont3Kl);
cash_txt.text = "$" + player.cash_free;
obdelnik_bubl(bublina);
bublina._visible = false;
btn_next.onRelease = function () {
eff = new Sound();
eff.attachSound("button.wav");
eff.start();
snd.stop();
delete snd;
player.tmp_score = 0;
_root.gotoAndStop(11 + (player.levels_done % 10));
};
krabice.onRelease = function () {
eff = new Sound();
eff.attachSound("button.wav");
eff.start();
getURL ("http://www.discryptor.com/products/discryptor-business-edition?utm_source=orig_dataminer_businessman&utm_medium=flash_game&utm_campaign=dataminer", "_blank");
};
krabice.onRollOver = function () {
bublina.txt.embedFonts = true;
bublina.txt.setTextFormat(novyFont3Kl);
bublina.txt.text = "I don\u00B4t know why those companies don\u00B4t use DisCryptor to make their data secure. It\u00B4s free to try";
bublina.del = 150;
bublina._visible = true;
bublina._alpha = 100;
this.gotoAndStop(2);
};
krabice.onRollOut = function () {
this.gotoAndStop(1);
};
x1 = oko1._x;
y1 = oko1._y;
x2 = oko2._x;
y2 = oko2._y;
obchodnik.onEnterFrame = function () {
difx1 = (this._x - _xmouse) / 20;
if (difx1 > 7) {
difx1 = 7;
}
if (difx1 < -7) {
difx1 = -7;
}
oko1._x = x1 - difx1;
oko1._y = y1 - ((this._y - _ymouse) / 25);
difx1 = (this._x - _xmouse) / 20;
if (difx1 > 7) {
difx1 = 7;
}
if (difx1 < -7) {
difx1 = -7;
}
oko2._x = x2 - difx1;
oko2._y = y2 - ((this._y - _ymouse) / 25);
};
Frame 4
stop();
Instance of Symbol 330 MovieClip in Frame 4
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
on (press) {
removeMovieClip(_root.vozik);
removeMovieClip(_root.zeleznice);
removeMovieClip(_root.pod);
rod.clear();
removeMovieClip(_root.rod);
eff = new Sound();
eff.attachSound("button.wav");
eff.start();
_root.gotoAndStop(2);
}
Frame 5
stop();
var o = {n:[4, 13, 3, 1, 6, 13, 7, 12, 11, 7, 12, 7, 11, 1, 8, 14], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID});
Frame 9
stop();
btn_skip.onRelease = function () {
eff = new Sound();
eff.attachSound("button.wav");
eff.start();
_root.gotoAndStop(2);
};
cntr = 850;
btn_skip.onEnterFrame = function () {
cntr--;
if ((cntr < 1) && (intro._currentframe > 600)) {
_root.gotoAndStop(2);
}
};
Frame 10
stop();
intro.skip.onRelease = function () {
_root.gotoAndStop(11);
};
Frame 11
stop();
score_txt.text = player.tmp_score;
start_game = false;
bonus_init();
end_game = false;
timee = player.base_time + player.time_bonus;
player.time_bonus = 0;
minimal._xscale = 25;
minimal._yscale = 25;
minimal.del = 10000000 /* 0x989680 */;
obdelnik_del(minimal);
ctrls._xscale = 25;
ctrls._yscale = 25;
ctrls.del = 10000000 /* 0x989680 */;
obdelnik_del(ctrls);
novyFont3 = new TextFormat();
novyFont3.size = 20;
novyFont3.font = "kl";
min = player.level1_min + (player.levels_done * 1000);
min = min * ((player.games_done * 0.15) + 1);
minimal.txt.embedFonts = true;
minimal.txt.setTextFormat(novyFont3);
minimal.txt.text = "1. Reception\nRequired: " + min;
minimal_score_txt.text = "Required: " + min;
minimal._x = 185;
minimal._y = 150;
sounds();
infotext.del = 1000000 /* 0x0F4240 */;
infotext._xscale = 20;
infotext._yscale = 20;
obdelnik_del(infotext);
infotext.txt.embedFonts = true;
infotext.txt.setTextFormat(novyFont3);
infotext.txt.text = "You have entered a company reception desk, a familiar but important place. After collection enough data and selling it to the competition you will be able to move on to offices but that will come later...\nNew obstacles:\n CD, flashdisk \u2013 items containing data that can be sold \n Bin\u2013 many useful things can be found in the bin";
snd = new Sound();
snd.attachSound("loop09");
snd.setVolume(0);
snd.start(0, 99);
boulders = 0;
i = 0;
while (i < 1) {
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 195;
cd._y = 370;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 170;
cd._y = 315;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 252;
cd._y = 258;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 284;
cd._y = 261;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD2", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 450;
cd._y = 300;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 83;
cd._y = 290;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 261;
cd._y = 390;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 231;
cd._y = 390;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 600;
cd._y = 222;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 590;
cd._y = 182;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 390;
cd._y = 222;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
num = random(6);
trace(num);
cd = _root.attachMovie("bin", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 95;
cd._y = 385;
cd.eff = num;
switch (num) {
case 0 :
cd.bonus = 5000;
cd.txt = "Bin with sensitive information that was not shredded";
break;
case 1 :
cd.bonus = 0;
cd.txt = "Bin with bomb";
effect = 1;
break;
case 2 :
cd.bonus = 0;
cd.txt = "Bin with time bonus";
effect = 2;
break;
case 3 :
cd.bonus = 0;
cd.txt = "Bin with aim";
effect = 3;
break;
case 4 :
cd.bonus = 0;
cd.txt = "Bin with speed bonus";
effect = 4;
break;
case 5 :
cd.bonus = 0;
cd.txt = "Bin with password cracker";
effect = 5;
}
cd.picked = false;
cd.slowdown = 8;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("notepad", "notepad_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 190;
cd._y = 284;
cd.bonus = 30;
cd.txt = "Notepad containing personal information";
cd.picked = false;
cd.slowdown = 7;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("notepad", "notepad_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 50;
cd._y = 204;
cd.bonus = 30;
cd.txt = "Notepad containing personal information";
cd.picked = false;
cd.slowdown = 7;
cd.passw = false;
cd.discrypt = false;
pick(cd);
pod_init();
minimal.swapDepths(_root.getNextHighestDepth());
tabulka.swapDepths(_root.getNextHighestDepth());
ctrls.swapDepths(_root.getNextHighestDepth());
infotext.swapDepths(_root.getNextHighestDepth());
tabulka.onEnterFrame = function () {
if ((end_game == true) && (start_game == true)) {
if (this._x > 320) {
this._x = this._x - ((this._x - 320) / 5);
}
if (this._y > 200) {
this._y = this._y - ((this._y - 200) / 5);
}
}
if (_root._currentframe < 10) {
removeMovieClip(this);
}
};
Instance of Symbol 330 MovieClip in Frame 11
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
on (press) {
removeMovieClip(_root.pauza_ikona);
removeMovieClip(_root.vozik);
removeMovieClip(_root.zeleznice);
removeMovieClip(_root.pod);
rod.clear();
removeMovieClip(_root.rod);
delete snd;
snd.stop();
eff = new Sound();
eff.attachSound("button.wav");
eff.start();
_root.gotoAndStop(2);
}
Instance of Symbol 510 MovieClip "btn_pauza" in Frame 11
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 513 MovieClip "pauza_ikona" in Frame 11
onClipEvent (load) {
_visible = fals;
_root.pauza = false;
init = 5;
}
onClipEvent (enterFrame) {
if (init < 0) {
if (_root.pauza == false) {
if (Key.isDown(80) or Key.isDown(112)) {
_root.pauza = true;
init = 10;
}
}
}
if (init < 0) {
if (_root.pauza == true) {
if (Key.isDown(80) or Key.isDown(112)) {
_root.pauza = false;
init = 10;
}
}
}
if (_root.pauza == true) {
_visible = true;
} else {
_visible = false;
}
if (init > -10) {
init--;
}
}
Frame 12
stop();
score_txt.text = player.tmp_score;
start_game = false;
bonus_init();
end_game = false;
timee = player.base_time + player.time_bonus;
player.time_bonus = 0;
minimal._xscale = 25;
minimal._yscale = 25;
minimal.del = 10000000 /* 0x989680 */;
obdelnik_del(minimal);
ctrls._xscale = 25;
ctrls._yscale = 25;
ctrls.del = 10000000 /* 0x989680 */;
obdelnik_del(ctrls);
novyFont3 = new TextFormat();
novyFont3.size = 20;
novyFont3.font = "kl";
min = player.level1_min + (player.levels_done * 1000);
min = min * ((player.games_done * 0.15) + 1);
minimal.txt.embedFonts = true;
minimal.txt.setTextFormat(novyFont3);
minimal.txt.text = "2. Lower Office\nRequired: " + min;
minimal_score_txt.text = "Required: " + min;
sounds();
infotext.del = 1000000 /* 0x0F4240 */;
infotext._xscale = 20;
infotext._yscale = 20;
obdelnik_del(infotext);
infotext.txt.embedFonts = true;
infotext.txt.setTextFormat(novyFont3);
infotext.txt.text = "You have sneaked from the reception desk to lower offices. You can steel mainly account data and articles here. However, higher earnings come with higher protection which is not unconquerable, though. \nNew obstacles:\n Firewall \u2013 firewall is just a short-time slow-down\n Notebook - can be sold";
snd = new Sound();
snd.attachSound("loop02");
snd.setVolume(0);
snd.start(0, 99);
boulders = 0;
i = 0;
while (i < 1) {
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 111;
cd._y = 238;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 146;
cd._y = 269;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 171;
cd._y = 250;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 562;
cd._y = 371;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 450;
cd._y = 367;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 593;
cd._y = 221;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD2", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = random(300) + 50;
cd._y = 185;
cd.bonus = 1000;
cd.txt = "Disc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD2", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = random(200) + 350;
cd._y = 180;
cd.bonus = 1000;
cd.txt = "Disc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("laptop", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 158;
cd._y = 394;
cd.bonus = 15000;
cd.txt = "Laptop with company documents";
cd.picked = false;
cd.slowdown = 8.9;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 229;
cd._y = 272;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 485;
cd._y = 287;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 527;
cd._y = 277;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 562;
cd._y = 302;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 130;
cd._y = 324;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 220;
cd._y = 324;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
i++;
}
num = random(6);
trace(num);
cd = _root.attachMovie("bin", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd.eff = num;
cd._x = 30;
cd._y = 395;
switch (num) {
case 0 :
cd.bonus = 5000;
cd.txt = "Bin with sensitive information that was not shredded";
break;
case 1 :
cd.bonus = 0;
cd.txt = "Bin with bomb";
effect = 1;
break;
case 2 :
cd.bonus = 0;
cd.txt = "Bin with time bonus";
effect = 2;
break;
case 3 :
cd.bonus = 0;
cd.txt = "Bin with aim";
effect = 3;
break;
case 4 :
cd.bonus = 0;
cd.txt = "Bin with speed bonus";
effect = 4;
break;
case 5 :
cd.bonus = 0;
cd.txt = "Bin with password cracker";
effect = 5;
}
cd.picked = false;
cd.slowdown = 8;
cd.passw = false;
cd.discrypt = false;
pick(cd);
pod_init();
minimal.swapDepths(_root.getNextHighestDepth());
tabulka.swapDepths(_root.getNextHighestDepth());
ctrls.swapDepths(_root.getNextHighestDepth());
tabulka.onEnterFrame = function () {
if ((end_game == true) && (start_game == true)) {
if (this._x > 320) {
this._x = this._x - ((this._x - 320) / 5);
}
if (this._y > 200) {
this._y = this._y - ((this._y - 200) / 5);
}
}
if (_root._currentframe < 10) {
removeMovieClip(this);
}
};
Frame 13
stop();
score_txt.text = player.tmp_score;
start_game = false;
bonus_init();
end_game = false;
timee = player.base_time + player.time_bonus;
player.time_bonus = 0;
minimal._xscale = 25;
minimal._yscale = 25;
minimal.del = 10000000 /* 0x989680 */;
obdelnik_del(minimal);
ctrls._xscale = 25;
ctrls._yscale = 25;
ctrls.del = 10000000 /* 0x989680 */;
obdelnik_del(ctrls);
novyFont3 = new TextFormat();
novyFont3.size = 20;
novyFont3.font = "kl";
min = player.level1_min + (player.levels_done * 1000);
min = min * ((player.games_done * 0.15) + 1);
minimal.txt.embedFonts = true;
minimal.txt.setTextFormat(novyFont3);
minimal.txt.text = "3. Lower Office\nRequired: " + min;
minimal_score_txt.text = "Required: " + min;
sounds();
infotext.del = 1000000 /* 0x0F4240 */;
infotext._xscale = 20;
infotext._yscale = 20;
obdelnik_del(infotext);
infotext.txt.embedFonts = true;
infotext.txt.setTextFormat(novyFont3);
infotext.txt.text = "The workers are starting to be aware of sensitiveness of some data and try to protect their data with passwords, which won\u2019t stop you, anyway!\nNew obstacles:\nPassword-protected files \u2013 passwords are used to secure the files, for getting money for these items you need to use \u201Cpassword remover\u201D\nRandom bonus \u2013 this item can contain big secrets. Take it!";
snd = new Sound();
snd.attachSound("loop02");
snd.setVolume(0);
snd.start(0, 99);
boulders = 0;
i = 0;
while (i < 1) {
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 141;
cd._y = 237;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 180;
cd._y = 260;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 484;
cd._y = 227;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 530;
cd._y = 216;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 398;
cd._y = 204;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD2", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 125;
cd._y = 286;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("CD2", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 170;
cd._y = 324;
cd.bonus = 2000;
cd.txt = "Disc containg sensitive information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD2", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 411;
cd._y = 372;
cd.bonus = 2000;
cd.txt = "Disc containg sensitive information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD2", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 451;
cd._y = 358;
cd.bonus = 2000;
cd.txt = "Disc containg sensitive information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("laptop", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 518;
cd._y = 372;
cd.bonus = 20000;
cd.txt = "Laptop with company documents";
cd.picked = false;
cd.slowdown = 8.9;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 108;
cd._y = 335;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 503;
cd._y = 298;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 229;
cd._y = 395;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 381;
cd._y = 300;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 443;
cd._y = 300;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
i++;
}
num = random(6);
trace(num);
cd = _root.attachMovie("bin", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 284;
cd._y = 388;
cd.eff = num;
switch (num) {
case 0 :
cd.bonus = 5000;
cd.txt = "Bin with sensitive information that was not shredded";
break;
case 1 :
cd.bonus = 0;
cd.txt = "Bin with bomb";
effect = 1;
break;
case 2 :
cd.bonus = 0;
cd.txt = "Bin with time bonus";
effect = 2;
break;
case 3 :
cd.bonus = 0;
cd.txt = "Bin with aim";
effect = 3;
break;
case 4 :
cd.bonus = 0;
cd.txt = "Bin with speed bonus";
effect = 4;
break;
case 5 :
cd.bonus = 0;
cd.txt = "Bin with password cracker";
effect = 5;
}
cd.picked = false;
cd.slowdown = 8;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(6);
trace(num);
cd = _root.attachMovie("bin", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd.eff = num;
cd._x = 600;
cd._y = 300;
switch (num) {
case 0 :
cd.bonus = 5000;
cd.txt = "Bin with sensitive information that was not shredded";
break;
case 1 :
cd.bonus = 0;
cd.txt = "Bin with bomb";
effect = 1;
break;
case 2 :
cd.bonus = 0;
cd.txt = "Bin with time bonus";
effect = 2;
break;
case 3 :
cd.bonus = 0;
cd.txt = "Bin with aim";
effect = 3;
break;
case 4 :
cd.bonus = 0;
cd.txt = "Bin with speed bonus";
effect = 4;
break;
case 5 :
cd.bonus = 0;
cd.txt = "Bin with password cracker";
effect = 5;
}
cd.picked = false;
cd.slowdown = 8;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(3);
trace(num);
cd = _root.attachMovie("random", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 35;
cd._y = 250;
switch (num) {
case 0 :
cd.bonus = 12500;
cd.txt = "Wow! Discs full of PIN and bank account access data! ";
break;
case 1 :
cd.bonus = 5000;
cd.txt = "Discs full of sensitive company information. This should bring company down. ";
break;
case 2 :
cd.bonus = 2500;
cd.txt = "Discs with some personal information. I could use this to blackmail them.";
}
cd.picked = false;
cd.slowdown = 7;
cd.passw = false;
cd.discrypt = false;
pick(cd);
pod_init();
minimal.swapDepths(_root.getNextHighestDepth());
tabulka.swapDepths(_root.getNextHighestDepth());
ctrls.swapDepths(_root.getNextHighestDepth());
tabulka.onEnterFrame = function () {
if ((end_game == true) && (start_game == true)) {
if (this._x > 320) {
this._x = this._x - ((this._x - 320) / 5);
}
if (this._y > 200) {
this._y = this._y - ((this._y - 200) / 5);
}
}
if (_root._currentframe < 10) {
removeMovieClip(this);
}
};
Frame 14
stop();
score_txt.text = player.tmp_score;
start_game = false;
bonus_init();
end_game = false;
timee = player.base_time + player.time_bonus;
player.time_bonus = 0;
minimal._xscale = 25;
minimal._yscale = 25;
minimal.del = 10000000 /* 0x989680 */;
obdelnik_del(minimal);
ctrls._xscale = 25;
ctrls._yscale = 25;
ctrls.del = 10000000 /* 0x989680 */;
obdelnik_del(ctrls);
novyFont3 = new TextFormat();
novyFont3.size = 20;
novyFont3.font = "kl";
min = player.level1_min + (player.levels_done * 1000);
min = min * ((player.games_done * 0.15) + 1);
minimal.txt.embedFonts = true;
minimal.txt.setTextFormat(novyFont3);
minimal.txt.text = "4. Higher Office\nRequired: " + min;
minimal_score_txt.text = "Required: " + min;
sounds();
infotext.del = 1000000 /* 0x0F4240 */;
infotext._xscale = 20;
infotext._yscale = 20;
obdelnik_del(infotext);
infotext.txt.embedFonts = true;
infotext.txt.setTextFormat(novyFont3);
infotext.txt.text = "Beware! The other employers have found out that stealing data is easy and gainful. Take what you can before they do!\nNew obstacles:\nOther collectors \u2013 thieves like you but they are not on your side";
snd = new Sound();
snd.attachSound("loop02");
snd.setVolume(0);
snd.start(0, 99);
boulders = 0;
i = 0;
while (i < 1) {
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 435;
cd._y = 220;
cd.bonus = 1500;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 341;
cd._y = 400;
cd.bonus = 1500;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 401;
cd._y = 400;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 451;
cd._y = 380;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD2", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 530;
cd._y = 370;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("CD2", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 500;
cd._y = 230;
cd.bonus = 2000;
cd.txt = "Disc containg sensitive information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = true;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("laptop", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 130;
cd._y = 380;
cd.bonus = 15000;
cd.txt = "Laptop with company documents";
cd.picked = false;
cd.slowdown = 8.9;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("laptop", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 230;
cd._y = 380;
cd.bonus = 15000;
cd.txt = "Laptop with company documents";
cd.picked = false;
cd.slowdown = 8.9;
cd.passw = true;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 151;
cd._y = 330;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 414;
cd._y = 271;
cd.bonus = 3500;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 457;
cd._y = 298;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 529;
cd._y = 294;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 100;
cd._y = 230;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 200;
cd._y = 230;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 300;
cd._y = 230;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
i++;
}
num = random(6);
trace(num);
cd = _root.attachMovie("bin", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 590;
cd._y = 380;
cd.eff = num;
switch (num) {
case 0 :
cd.bonus = 5000;
cd.txt = "Bin with sensitive information that was not shredded";
break;
case 1 :
cd.bonus = 0;
cd.txt = "Bin with bomb";
effect = 1;
break;
case 2 :
cd.bonus = 0;
cd.txt = "Bin with time bonus";
effect = 2;
break;
case 3 :
cd.bonus = 0;
cd.txt = "Bin with aim";
effect = 3;
break;
case 4 :
cd.bonus = 0;
cd.txt = "Bin with speed bonus";
effect = 4;
break;
case 5 :
cd.bonus = 0;
cd.txt = "Bin with password cracker";
effect = 5;
}
cd.picked = false;
cd.slowdown = 8;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(6);
trace(num);
cd = _root.attachMovie("bin", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd.eff = num;
cd._x = 500;
cd._y = 380;
switch (num) {
case 0 :
cd.bonus = 5000;
cd.txt = "Bin with sensitive information that was not shredded";
break;
case 1 :
cd.bonus = 0;
cd.txt = "Bin with bomb";
effect = 1;
break;
case 2 :
cd.bonus = 0;
cd.txt = "Bin with time bonus";
effect = 2;
break;
case 3 :
cd.bonus = 0;
cd.txt = "Bin with aim";
effect = 3;
break;
case 4 :
cd.bonus = 0;
cd.txt = "Bin with speed bonus";
effect = 4;
break;
case 5 :
cd.bonus = 0;
cd.txt = "Bin with password cracker";
effect = 5;
}
cd.picked = false;
cd.slowdown = 8;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(3);
trace(num);
cd = _root.attachMovie("random", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 135;
cd._y = 300;
switch (num) {
case 0 :
cd.bonus = 12500;
cd.txt = "Wow! Discs full of PIN and bank account access data!";
break;
case 1 :
cd.bonus = 5000;
cd.txt = "Discs full of sensitive company information. This should bring company down. ";
break;
case 2 :
cd.bonus = 2500;
cd.txt = "Discs with some personal information. I could use this to blackmail them.";
}
cd.picked = false;
cd.slowdown = 7;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("notepad", "notepad_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 223;
cd._y = 303;
cd.bonus = 30;
cd.txt = "Notepad containing personal information";
cd.picked = false;
cd.slowdown = 7;
cd.passw = false;
cd.discrypt = false;
pick(cd);
_root.enemy = _root.attachMovie("enemy", "enemy" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.enemy._x = 750;
_root.enemy._y = 400;
waypoints = new Array();
waypoints[1] = new Array();
waypoints[1] = [[700, 400], [400, 400]];
_root.enemy.speed = 1;
_root.enemy.point = 0;
_root.enemy.wp = 1;
enemyf(_root.enemy);
pod_init();
minimal.swapDepths(_root.getNextHighestDepth());
tabulka.swapDepths(_root.getNextHighestDepth());
ctrls.swapDepths(_root.getNextHighestDepth());
tabulka.onEnterFrame = function () {
if ((end_game == true) && (start_game == true)) {
if (this._x > 320) {
this._x = this._x - ((this._x - 320) / 5);
}
if (this._y > 200) {
this._y = this._y - ((this._y - 200) / 5);
}
}
if (_root._currentframe < 10) {
removeMovieClip(this);
}
};
Frame 15
stop();
score_txt.text = player.tmp_score;
start_game = false;
bonus_init();
end_game = false;
timee = player.base_time + player.time_bonus;
player.time_bonus = 0;
minimal._xscale = 25;
minimal._yscale = 25;
minimal.del = 10000000 /* 0x989680 */;
obdelnik_del(minimal);
ctrls._xscale = 25;
ctrls._yscale = 25;
ctrls.del = 10000000 /* 0x989680 */;
obdelnik_del(ctrls);
novyFont3 = new TextFormat();
novyFont3.size = 20;
novyFont3.font = "kl";
min = player.level1_min + (player.levels_done * 1000);
min = min * ((player.games_done * 0.15) + 1);
minimal.txt.embedFonts = true;
minimal.txt.setTextFormat(novyFont3);
minimal.txt.text = "5. Higher Office\nRequired: " + min;
minimal_score_txt.text = "Required: " + min;
sounds();
infotext.del = 1000000 /* 0x0F4240 */;
infotext._xscale = 20;
infotext._yscale = 20;
obdelnik_del(infotext);
infotext.txt.embedFonts = true;
infotext.txt.setTextFormat(novyFont3);
infotext.txt.text = "In higher offices the IT department is aware of some activities and they are gradually implementing efficient protection. For items protected by DisCryptor you will not get high financial amounts, you had better not collect them.\nNew obstacles:\nIT department \u2013 characters changing easily sellable items into protected items, in which the competition is not interested\nDiscryptor Protected \u2013 items protected by DisCryptor. Security solution for both personal use and use for small and big businesses. For more information click of the logo.";
snd = new Sound();
snd.attachSound("loop01");
snd.setVolume(0);
snd.start(0, 99);
boulders = 0;
i = 0;
while (i < 1) {
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 361;
cd._y = 285;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 161;
cd._y = 385;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 251;
cd._y = 395;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 301;
cd._y = 390;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 361;
cd._y = 385;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("CD2", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 500;
cd._y = 230;
cd.bonus = 2000;
cd.txt = "Disc containg sensitive information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = true;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("laptop", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 370;
cd._y = 310;
cd.bonus = 15000;
cd.txt = "Laptop with company documents";
cd.picked = false;
cd.slowdown = 8.9;
cd.passw = false;
cd.discrypt = true;
pick(cd);
cd = _root.attachMovie("laptop", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 280;
cd._y = 310;
cd.bonus = 20000;
cd.txt = "Laptop with company documents";
cd.picked = false;
cd.slowdown = 8.9;
cd.passw = true;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 400;
cd._y = 260;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 245;
cd._y = 250;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 100;
cd._y = 240;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 500;
cd._y = 350;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 300;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 350;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 400;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 250;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 200;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
i++;
}
num = random(6);
trace(num);
cd = _root.attachMovie("bin", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 105;
cd._y = 320;
cd.eff = num;
switch (num) {
case 0 :
cd.bonus = 5000;
cd.txt = "Bin with sensitive information that was not shredded";
break;
case 1 :
cd.bonus = 0;
cd.txt = "Bin with bomb";
effect = 1;
break;
case 2 :
cd.bonus = 0;
cd.txt = "Bin with time bonus";
effect = 2;
break;
case 3 :
cd.bonus = 0;
cd.txt = "Bin with aim";
effect = 3;
break;
case 4 :
cd.bonus = 0;
cd.txt = "Bin with speed bonus";
effect = 4;
break;
case 5 :
cd.bonus = 0;
cd.txt = "Bin with password cracker";
effect = 5;
}
cd.picked = false;
cd.slowdown = 8;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(6);
trace(num);
cd = _root.attachMovie("bin", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd.eff = num;
cd._x = 600;
cd._y = 240;
switch (num) {
case 0 :
cd.bonus = 5000;
cd.txt = "Bin with sensitive information that was not shredded";
break;
case 1 :
cd.bonus = 0;
cd.txt = "Bin with bomb";
effect = 1;
break;
case 2 :
cd.bonus = 0;
cd.txt = "Bin with time bonus";
effect = 2;
break;
case 3 :
cd.bonus = 0;
cd.txt = "Bin with aim";
effect = 3;
break;
case 4 :
cd.bonus = 0;
cd.txt = "Bin with speed bonus";
effect = 4;
break;
case 5 :
cd.bonus = 0;
cd.txt = "Bin with password cracker";
effect = 5;
}
cd.picked = false;
cd.slowdown = 8;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(3);
trace(num);
cd = _root.attachMovie("random", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 155;
cd._y = 320;
switch (num) {
case 0 :
cd.bonus = 12500;
cd.txt = "Wow! Discs full of PIN and bank account access data! ";
break;
case 1 :
cd.bonus = 5000;
cd.txt = "Discs full of sensitive company information. This should bring company down. ";
break;
case 2 :
cd.bonus = 2500;
cd.txt = "Discs with some personal information. I could use this to blackmail them.";
}
cd.picked = false;
cd.slowdown = 7;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(3);
trace(num);
cd = _root.attachMovie("random", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 45;
cd._y = 240;
switch (num) {
case 0 :
cd.bonus = 12500;
cd.txt = "Wow! Discs full of PIN and bank account access data! ";
break;
case 1 :
cd.bonus = 5000;
cd.txt = "Discs full of sensitive company information. This should bring company down. ";
break;
case 2 :
cd.bonus = 2500;
cd.txt = "Discs with some personal information. I could use this to blackmail them.";
}
cd.picked = false;
cd.slowdown = 7;
cd.passw = false;
cd.discrypt = undefined;
pick(cd);
cd = _root.attachMovie("notepad", "notepad_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 353;
cd._y = 231;
cd.bonus = 30;
cd.txt = "Notepad containing personal information";
cd.picked = false;
cd.slowdown = 7;
cd.passw = false;
cd.discrypt = false;
pick(cd);
_root.discr = _root.attachMovie("discr", "discr" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.discr._x = 750;
_root.discr._y = 350;
waypoints = new Array();
waypoints[1] = new Array();
waypoints[1] = [[700, 390], [50, 390]];
_root.discr.speed = 2;
_root.discr.point = 0;
_root.discr.wp = 1;
discrf(_root.discr);
pod_init();
minimal.swapDepths(_root.getNextHighestDepth());
tabulka.swapDepths(_root.getNextHighestDepth());
ctrls.swapDepths(_root.getNextHighestDepth());
tabulka.onEnterFrame = function () {
if ((end_game == true) && (start_game == true)) {
if (this._x > 320) {
this._x = this._x - ((this._x - 320) / 5);
}
if (this._y > 200) {
this._y = this._y - ((this._y - 200) / 5);
}
}
if (_root._currentframe < 10) {
removeMovieClip(this);
}
};
Frame 16
stop();
score_txt.text = player.tmp_score;
start_game = false;
bonus_init();
end_game = false;
timee = player.base_time + player.time_bonus;
player.time_bonus = 0;
minimal._xscale = 25;
minimal._yscale = 25;
minimal.del = 10000000 /* 0x989680 */;
obdelnik_del(minimal);
ctrls._xscale = 25;
ctrls._yscale = 25;
ctrls.del = 10000000 /* 0x989680 */;
obdelnik_del(ctrls);
novyFont3 = new TextFormat();
novyFont3.size = 20;
novyFont3.font = "kl";
min = player.level1_min + (player.levels_done * 1000);
min = min * ((player.games_done * 0.15) + 1);
minimal.txt.embedFonts = true;
minimal.txt.setTextFormat(novyFont3);
minimal.txt.text = "6. Higher Office\nRequired: " + min;
minimal_score_txt.text = "Required: " + min;
sounds();
infotext.del = 1000000 /* 0x0F4240 */;
infotext._xscale = 20;
infotext._yscale = 20;
obdelnik_del(infotext);
infotext.txt.embedFonts = true;
infotext.txt.setTextFormat(novyFont3);
infotext.txt.text = "You got a little higher and it is a little more difficult here again. The IT department has implemented viruses that are aimed to paralyze you. However, their removal is just a small obstacle for you.\nNew obstacles:\nVirus \u2013 short slow-down";
snd = new Sound();
snd.attachSound("loop01");
snd.setVolume(0);
snd.start(0, 99);
boulders = 0;
i = 0;
while (i < 1) {
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 361;
cd._y = 285;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 576;
cd._y = 214;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 337;
cd._y = 226;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 291;
cd._y = 307;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 32;
cd._y = 301;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = true;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("CD2", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 500;
cd._y = 230;
cd.bonus = 2000;
cd.txt = "Disc containg sensitive information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = true;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("laptop", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 356;
cd._y = 370;
cd.bonus = 10000;
cd.txt = "Laptop with company documents";
cd.picked = false;
cd.slowdown = 8.9;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("laptop", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 280;
cd._y = 370;
cd.bonus = 10000;
cd.txt = "Laptop with company documents";
cd.picked = false;
cd.slowdown = 8.9;
cd.passw = true;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 390;
cd._y = 280;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 265;
cd._y = 270;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 70;
cd._y = 240;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 500;
cd._y = 350;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 250;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 300;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 350;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 400;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
i++;
}
num = random(6);
trace(num);
cd = _root.attachMovie("bin", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 105;
cd._y = 350;
cd.eff = num;
switch (num) {
case 0 :
cd.bonus = 5000;
cd.txt = "Bin with sensitive information that was not shredded";
break;
case 1 :
cd.bonus = 0;
cd.txt = "Bin with bomb";
effect = 1;
break;
case 2 :
cd.bonus = 0;
cd.txt = "Bin with time bonus";
effect = 2;
break;
case 3 :
cd.bonus = 0;
cd.txt = "Bin with aim";
effect = 3;
break;
case 4 :
cd.bonus = 0;
cd.txt = "Bin with speed bonus";
effect = 4;
break;
case 5 :
cd.bonus = 0;
cd.txt = "Bin with password cracker";
effect = 5;
}
cd.picked = false;
cd.slowdown = 8;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(6);
trace(num);
cd = _root.attachMovie("bin", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd.eff = num;
cd._x = 600;
cd._y = 340;
switch (num) {
case 0 :
cd.bonus = 5000;
cd.txt = "Bin with sensitive information that was not shredded";
break;
case 1 :
cd.bonus = 0;
cd.txt = "Bin with bomb";
effect = 1;
break;
case 2 :
cd.bonus = 0;
cd.txt = "Bin with time bonus";
effect = 2;
break;
case 3 :
cd.bonus = 0;
cd.txt = "Bin with aim";
effect = 3;
break;
case 4 :
cd.bonus = 0;
cd.txt = "Bin with speed bonus";
effect = 4;
break;
case 5 :
cd.bonus = 0;
cd.txt = "Bin with password cracker";
effect = 5;
}
cd.picked = false;
cd.slowdown = 8;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(3);
trace(num);
cd = _root.attachMovie("random", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 155;
cd._y = 320;
switch (num) {
case 0 :
cd.bonus = 12500;
cd.txt = "Wow! Discs full of PIN and bank account access data! ";
break;
case 1 :
cd.bonus = 5000;
cd.txt = "Discs full of sensitive company information. This should bring company down. ";
break;
case 2 :
cd.bonus = 2500;
cd.txt = "Discs with some personal information. I could use this to blackmail them.";
}
cd.picked = false;
cd.slowdown = 7;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(3);
trace(num);
cd = _root.attachMovie("random", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 245;
cd._y = 400;
switch (num) {
case 0 :
cd.bonus = 12500;
cd.txt = "Wow! Discs full of PIN and bank account access data! ";
break;
case 1 :
cd.bonus = 5000;
cd.txt = "Discs full of sensitive company information. This should bring company down. ";
break;
case 2 :
cd.bonus = 2500;
cd.txt = "Discs with some personal information. I could use this to blackmail them.";
}
cd.picked = false;
cd.slowdown = 7;
cd.passw = false;
cd.discrypt = false;
pick(cd);
waypoints = new Array();
waypoints[2] = new Array();
waypoints[2] = [[500, 230], [150, 230]];
virus = _root.attachMovie("virus", "virus" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:500, _y:200});
virus.speed = 1;
virus.point = 0;
virus.wp = 2;
virus.bonus = 0;
virus.txt = "Damn, I got a virus! It will take a few seconds to get rid of ";
virus.picked = false;
virus.slowdown = 9.17;
virus.passw = false;
virusf(virus);
pod_init();
minimal.swapDepths(_root.getNextHighestDepth());
tabulka.swapDepths(_root.getNextHighestDepth());
ctrls.swapDepths(_root.getNextHighestDepth());
tabulka.onEnterFrame = function () {
if ((end_game == true) && (start_game == true)) {
if (this._x > 320) {
this._x = this._x - ((this._x - 320) / 5);
}
if (this._y > 200) {
this._y = this._y - ((this._y - 200) / 5);
}
}
if (_root._currentframe < 10) {
removeMovieClip(this);
}
};
Frame 17
stop();
score_txt.text = player.tmp_score;
start_game = false;
bonus_init();
end_game = false;
timee = player.base_time + player.time_bonus;
player.time_bonus = 0;
minimal._xscale = 25;
minimal._yscale = 25;
minimal.del = 10000000 /* 0x989680 */;
obdelnik_del(minimal);
ctrls._xscale = 25;
ctrls._yscale = 25;
ctrls.del = 10000000 /* 0x989680 */;
obdelnik_del(ctrls);
novyFont3 = new TextFormat();
novyFont3.size = 20;
novyFont3.font = "kl";
min = player.level1_min + (player.levels_done * 1000);
min = min * ((player.games_done * 0.15) + 1);
minimal.txt.embedFonts = true;
minimal.txt.setTextFormat(novyFont3);
minimal.txt.text = "7. Managerial Office\nRequired: " + min;
minimal_score_txt.text = "Required: " + min;
sounds();
infotext.del = 1000000 /* 0x0F4240 */;
infotext._xscale = 20;
infotext._yscale = 20;
obdelnik_del(infotext);
infotext.txt.embedFonts = true;
infotext.txt.setTextFormat(novyFont3);
infotext.txt.text = "This level should be just a routine. There are no new items for which you need advice.";
snd = new Sound();
snd.attachSound("loop08");
snd.setVolume(0);
snd.start(0, 99);
boulders = 0;
i = 0;
while (i < 1) {
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 191;
cd._y = 295;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("CD2", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 238;
cd._y = 240;
cd.bonus = 2000;
cd.txt = "Disc containg sensitive information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("laptop", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 372;
cd._y = 372;
cd.bonus = 10000;
cd.txt = "Laptop with company documents";
cd.picked = false;
cd.slowdown = 8.9;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("laptop", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 281;
cd._y = 372;
cd.bonus = 10000;
cd.txt = "Laptop with company documents";
cd.picked = false;
cd.slowdown = 8.9;
cd.passw = true;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 86;
cd._y = 218;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 199;
cd._y = 286;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 238;
cd._y = 314;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 423;
cd._y = 307;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 438;
cd._y = 229;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 575;
cd._y = 265;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = true;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 296;
cd._y = 308;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 360;
cd._y = 308;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
i++;
}
num = random(6);
trace(num);
cd = _root.attachMovie("bin", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 487;
cd._y = 388;
cd.eff = num;
switch (num) {
case 0 :
cd.bonus = 5000;
cd.txt = "Bin with sensitive information that was not shredded";
break;
case 1 :
cd.bonus = 0;
cd.txt = "Bin with bomb";
effect = 1;
break;
case 2 :
cd.bonus = 0;
cd.txt = "Bin with time bonus";
effect = 2;
break;
case 3 :
cd.bonus = 0;
cd.txt = "Bin with aim";
effect = 3;
break;
case 4 :
cd.bonus = 0;
cd.txt = "Bin with speed bonus";
effect = 4;
break;
case 5 :
cd.bonus = 0;
cd.txt = "Bin with password cracker";
effect = 5;
}
cd.picked = false;
cd.slowdown = 8;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(6);
trace(num);
cd = _root.attachMovie("bin", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd.eff = num;
cd._x = 146;
cd._y = 394;
switch (num) {
case 0 :
cd.bonus = 5000;
cd.txt = "Bin with sensitive information that was not shredded";
break;
case 1 :
cd.bonus = 0;
cd.txt = "Bin with bomb";
effect = 1;
break;
case 2 :
cd.bonus = 0;
cd.txt = "Bin with time bonus";
effect = 2;
break;
case 3 :
cd.bonus = 0;
cd.txt = "Bin with aim";
effect = 3;
break;
case 4 :
cd.bonus = 0;
cd.txt = "Bin with speed bonus";
effect = 4;
break;
case 5 :
cd.bonus = 0;
cd.txt = "Bin with password cracker";
effect = 5;
}
cd.picked = false;
cd.slowdown = 8;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(3);
trace(num);
cd = _root.attachMovie("random", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 55;
cd._y = 320;
switch (num) {
case 0 :
cd.bonus = 12500;
cd.txt = "Wow! Discs full of PIN and bank account access data! ";
break;
case 1 :
cd.bonus = 5000;
cd.txt = "Discs full of sensitive company information. This should bring company down. ";
break;
case 2 :
cd.bonus = 2500;
cd.txt = "Discs with some personal information. I could use this to blackmail them.";
}
cd.picked = false;
cd.slowdown = 7;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(3);
trace(num);
cd = _root.attachMovie("random", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 545;
cd._y = 400;
switch (num) {
case 0 :
cd.bonus = 12500;
cd.txt = "Wow! Discs full of PIN and bank account access data! ";
break;
case 1 :
cd.bonus = 5000;
cd.txt = "Discs full of sensitive company information. This should bring company down. ";
break;
case 2 :
cd.bonus = 2500;
cd.txt = "Discs with some personal information. I could use this to blackmail them.";
}
cd.picked = false;
cd.slowdown = 7;
cd.passw = false;
cd.discrypt = false;
pick(cd);
waypoints = new Array();
waypoints[2] = new Array();
waypoints[2] = [[500, 200], [150, 200]];
virus1 = _root.attachMovie("virus", "virus" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:500, _y:200});
virus1.speed = 1;
virus1.point = 0;
virus1.wp = 2;
virus1.bonus = 0;
virus1.txt = "Damn, I got a virus! It will take a few seconds to get rid of ";
virus1.picked = false;
virus1.slowdown = 9.17;
virus1.passw = false;
virusf(virus1);
waypoints[3] = new Array();
waypoints[3] = [[550, 300], [100, 300]];
virus = _root.attachMovie("virus", "virus" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:500, _y:300});
virus.speed = 1;
virus.point = 0;
virus.wp = 3;
virus.bonus = 0;
virus.txt = "Damn, I got a virus! It will take a few seconds to get rid of ";
virus.picked = false;
virus.slowdown = 9.17;
virus.passw = false;
virusf(virus);
waypoints[4] = new Array();
waypoints[4] = [[550, 380], [100, 380]];
virus2 = _root.attachMovie("virus", "virus" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:100, _y:380});
virus2.speed = 1;
virus2.point = 0;
virus2.wp = 4;
virus2.bonus = 0;
virus2.txt = "Damn, I got a virus! It will take a few seconds to get rid of ";
virus2.picked = false;
virus2.slowdown = 9.17;
virus2.passw = false;
virusf(virus2);
pod_init();
minimal.swapDepths(_root.getNextHighestDepth());
tabulka.swapDepths(_root.getNextHighestDepth());
ctrls.swapDepths(_root.getNextHighestDepth());
tabulka.onEnterFrame = function () {
if ((end_game == true) && (start_game == true)) {
if (this._x > 320) {
this._x = this._x - ((this._x - 320) / 5);
}
if (this._y > 200) {
this._y = this._y - ((this._y - 200) / 5);
}
}
if (_root._currentframe < 10) {
removeMovieClip(this);
}
};
Frame 18
stop();
score_txt.text = player.tmp_score;
start_game = false;
bonus_init();
end_game = false;
timee = player.base_time + player.time_bonus;
player.time_bonus = 0;
minimal._xscale = 25;
minimal._yscale = 25;
minimal.del = 10000000 /* 0x989680 */;
obdelnik_del(minimal);
ctrls._xscale = 25;
ctrls._yscale = 25;
ctrls.del = 10000000 /* 0x989680 */;
obdelnik_del(ctrls);
novyFont3 = new TextFormat();
novyFont3.size = 20;
novyFont3.font = "kl";
min = player.level1_min + (player.levels_done * 1000);
min = min * ((player.games_done * 0.15) + 1);
minimal.txt.embedFonts = true;
minimal.txt.setTextFormat(novyFont3);
minimal.txt.text = "8. Managerial Office\nRequired: " + min;
minimal_score_txt.text = "Required: " + min;
sounds();
infotext.del = 1000000 /* 0x0F4240 */;
infotext._xscale = 20;
infotext._yscale = 20;
obdelnik_del(infotext);
infotext.txt.embedFonts = true;
infotext.txt.setTextFormat(novyFont3);
infotext.txt.text = "Be careful, the IT department have condescended to planting spyware. It is a dangerous obstacle but a bomb will easily remove it.\nNew obstacles\nSpyware \u2013 catching this bug will end your game";
snd = new Sound();
snd.attachSound("loop08");
snd.setVolume(0);
snd.start(0, 99);
boulders = 0;
i = 0;
while (i < 1) {
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 361;
cd._y = 335;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 537;
cd._y = 400;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 433;
cd._y = 384;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 379;
cd._y = 400;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 315;
cd._y = 391;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD2", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 237;
cd._y = 394;
cd.bonus = 2000;
cd.txt = "Disc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = true;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("CD2", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 500;
cd._y = 230;
cd.bonus = 2000;
cd.txt = "Disc containg sensitive information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = true;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("laptop", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 224;
cd._y = 329;
cd.bonus = 10000;
cd.txt = "Laptop with company documents";
cd.picked = false;
cd.slowdown = 8.9;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("laptop", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 491;
cd._y = 329;
cd.bonus = 10000;
cd.txt = "Laptop with company documents";
cd.picked = false;
cd.slowdown = 8.9;
cd.passw = true;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 400;
cd._y = 260;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 245;
cd._y = 250;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 70;
cd._y = 240;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 500;
cd._y = 350;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 224;
cd._y = 209;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
i++;
}
num = random(6);
trace(num);
cd = _root.attachMovie("bin", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 125;
cd._y = 404;
cd.eff = num;
switch (num) {
case 0 :
cd.bonus = 5000;
cd.txt = "Bin with sensitive information that was not shredded";
break;
case 1 :
cd.bonus = 0;
cd.txt = "Bin with bomb";
effect = 1;
break;
case 2 :
cd.bonus = 0;
cd.txt = "Bin with time bonus";
effect = 2;
break;
case 3 :
cd.bonus = 0;
cd.txt = "Bin with aim";
effect = 3;
break;
case 4 :
cd.bonus = 0;
cd.txt = "Bin with speed bonus";
effect = 4;
break;
case 5 :
cd.bonus = 0;
cd.txt = "Bin with password cracker";
effect = 5;
}
cd.picked = false;
cd.slowdown = 8;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(6);
trace(num);
cd = _root.attachMovie("bin", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd.eff = num;
cd._x = 600;
cd._y = 340;
switch (num) {
case 0 :
cd.bonus = 5000;
cd.txt = "Bin with sensitive information that was not shredded";
break;
case 1 :
cd.bonus = 0;
cd.txt = "Bin with bomb";
effect = 1;
break;
case 2 :
cd.bonus = 0;
cd.txt = "Bin with time bonus";
effect = 2;
break;
case 3 :
cd.bonus = 0;
cd.txt = "Bin with aim";
effect = 3;
break;
case 4 :
cd.bonus = 0;
cd.txt = "Bin with speed bonus";
effect = 4;
break;
case 5 :
cd.bonus = 0;
cd.txt = "Bin with password cracker";
effect = 5;
}
cd.picked = false;
cd.slowdown = 8;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(3);
trace(num);
cd = _root.attachMovie("random", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 155;
cd._y = 320;
switch (num) {
case 0 :
cd.bonus = 12500;
cd.txt = "Wow! Discs full of PIN and bank account access data!";
break;
case 1 :
cd.bonus = 5000;
cd.txt = "Discs full of sensitive company information. This should bring company down. ";
break;
case 2 :
cd.bonus = 2500;
cd.txt = "Discs with some personal information. I could use this to blackmail them.";
}
cd.picked = false;
cd.slowdown = 7;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(3);
trace(num);
cd = _root.attachMovie("random", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 245;
cd._y = 400;
switch (num) {
case 0 :
cd.bonus = 12500;
cd.txt = "Wow! Discs full of PIN and bank account access data!";
break;
case 1 :
cd.bonus = 5000;
cd.txt = "Discs full of sensitive company information. This should bring company down. ";
break;
case 2 :
cd.bonus = 2500;
cd.txt = "Discs with some personal information. I could use this to blackmail them.";
}
cd.picked = false;
cd.slowdown = 7;
cd.passw = false;
cd.discrypt = false;
pick(cd);
waypoints = new Array();
waypoints[1] = new Array();
waypoints[1] = [[400, 300], [500, 300], [500, 400], [400, 400]];
spyware = _root.attachMovie("spyware", "spyware" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:200, _y:300});
spyware.speed = 1;
spyware.point = 0;
spyware.wp = 1;
spyware.bonus = 10;
spyware.txt = "Damn, I was infected with spyware! ";
spyware.picked = false;
spyware.slowdown = 9;
spyware.passw = false;
spywaref(spyware);
waypoints[2] = new Array();
waypoints[2] = [[100, 200], [200, 200], [200, 300], [100, 300]];
spyware = _root.attachMovie("spyware", "spyware" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:100, _y:200});
spyware.speed = 1;
spyware.point = 0;
spyware.wp = 2;
spyware.bonus = 10;
spyware.txt = "Damn, I was infected with spyware! ";
spyware.picked = false;
spyware.slowdown = 9;
spyware.passw = false;
spywaref(spyware);
_root.enemy = _root.attachMovie("enemy", "enemy" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.enemy._x = 750;
_root.enemy._y = 400;
waypoints[10] = new Array();
waypoints[10] = [[700, 415], [40, 415]];
_root.enemy.speed = 1;
_root.enemy.point = 0;
_root.enemy.wp = 10;
enemyf(_root.enemy);
cd = _root.attachMovie("notepad", "notepad_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 169;
cd._y = 247;
cd.bonus = 30;
cd.txt = "Notepad containing personal information";
cd.picked = false;
cd.slowdown = 7;
cd.passw = false;
cd.discrypt = false;
pick(cd);
pod_init();
minimal.swapDepths(_root.getNextHighestDepth());
tabulka.swapDepths(_root.getNextHighestDepth());
ctrls.swapDepths(_root.getNextHighestDepth());
tabulka.onEnterFrame = function () {
if ((end_game == true) && (start_game == true)) {
if (this._x > 320) {
this._x = this._x - ((this._x - 320) / 5);
}
if (this._y > 200) {
this._y = this._y - ((this._y - 200) / 5);
}
}
if (_root._currentframe < 10) {
removeMovieClip(this);
}
};
Frame 19
stop();
score_txt.text = player.tmp_score;
start_game = false;
bonus_init();
end_game = false;
timee = player.base_time + player.time_bonus;
player.time_bonus = 0;
minimal._xscale = 25;
minimal._yscale = 25;
minimal.del = 10000000 /* 0x989680 */;
obdelnik_del(minimal);
ctrls._xscale = 25;
ctrls._yscale = 25;
ctrls.del = 10000000 /* 0x989680 */;
obdelnik_del(ctrls);
novyFont3 = new TextFormat();
novyFont3.size = 20;
novyFont3.font = "kl";
min = player.level1_min + ((player.levels_done + 5) * 1000);
min = min * ((player.games_done * 0.15) + 1);
minimal.txt.embedFonts = true;
minimal.txt.setTextFormat(novyFont3);
minimal.txt.text = "9. Chief's Office\nRequired: " + min;
minimal_score_txt.text = "Required: " + min;
sounds();
infotext.del = 1000000 /* 0x0F4240 */;
infotext._xscale = 20;
infotext._yscale = 20;
obdelnik_del(infotext);
infotext.txt.embedFonts = true;
infotext.txt.setTextFormat(novyFont3);
infotext.txt.text = "You are nearly in the finish. If you collect enough data and sell it to the competition, you will be allowed to enter the highest level where there will be data compromising enough to overthrow the whole company.";
snd = new Sound();
snd.attachSound("loop08");
snd.setVolume(0);
snd.start(0, 99);
boulders = 0;
i = 0;
while (i < 1) {
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 361;
cd._y = 285;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 242;
cd._y = 273;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 284;
cd._y = 265;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 247;
cd._y = 235;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 337;
cd._y = 249;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 381;
cd._y = 256;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("CD2", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 450;
cd._y = 250;
cd.bonus = 2000;
cd.txt = "Disc containg sensitive information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = true;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("laptop", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 370;
cd._y = 350;
cd.bonus = 20000;
cd.txt = "Laptop with company documents";
cd.picked = false;
cd.slowdown = 8.9;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("laptop", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 280;
cd._y = 350;
cd.bonus = 20000;
cd.txt = "Laptop with company documents";
cd.picked = false;
cd.slowdown = 8.9;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("laptop", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 177;
cd._y = 347;
cd.bonus = 20000;
cd.txt = "Laptop with company documents";
cd.picked = false;
cd.slowdown = 8.9;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("laptop", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 451;
cd._y = 343;
cd.bonus = 20000;
cd.txt = "Laptop with company documents";
cd.picked = false;
cd.slowdown = 8.9;
cd.passw = true;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 67;
cd._y = 283;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 114;
cd._y = 308;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 600;
cd._y = 234;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 500;
cd._y = 350;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 100;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 150;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 200;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 250;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 300;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 350;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 400;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 450;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 500;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 550;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
i++;
}
num = random(6);
trace(num);
cd = _root.attachMovie("bin", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 105;
cd._y = 390;
cd.eff = num;
switch (num) {
case 0 :
cd.bonus = 5000;
cd.txt = "Bin with sensitive information that was not shredded";
break;
case 1 :
cd.bonus = 0;
cd.txt = "Bin with bomb";
effect = 1;
break;
case 2 :
cd.bonus = 0;
cd.txt = "Bin with time bonus";
effect = 2;
break;
case 3 :
cd.bonus = 0;
cd.txt = "Bin with aim";
effect = 3;
break;
case 4 :
cd.bonus = 0;
cd.txt = "Bin with speed bonus";
effect = 4;
break;
case 5 :
cd.bonus = 0;
cd.txt = "Bin with password cracker";
effect = 5;
}
cd.picked = false;
cd.slowdown = 8;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(6);
trace(num);
cd = _root.attachMovie("bin", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd.eff = num;
cd._x = 600;
cd._y = 360;
switch (num) {
case 0 :
cd.bonus = 5000;
cd.txt = "Bin with sensitive information that was not shredded";
break;
case 1 :
cd.bonus = 0;
cd.txt = "Bin with bomb";
effect = 1;
break;
case 2 :
cd.bonus = 0;
cd.txt = "Bin with time bonus";
effect = 2;
break;
case 3 :
cd.bonus = 0;
cd.txt = "Bin with aim";
effect = 3;
break;
case 4 :
cd.bonus = 0;
cd.txt = "Bin with speed bonus";
effect = 4;
break;
case 5 :
cd.bonus = 0;
cd.txt = "Bin with password cracker";
effect = 5;
}
cd.picked = false;
cd.slowdown = 8;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(3);
trace(num);
cd = _root.attachMovie("random", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 177;
cd._y = 254;
switch (num) {
case 0 :
cd.bonus = 12500;
cd.txt = "Wow! Discs full of PIN and bank account access data!";
break;
case 1 :
cd.bonus = 5000;
cd.txt = "Discs full of sensitive company information. This should bring company down. ";
break;
case 2 :
cd.bonus = 2500;
cd.txt = "Discs with some personal information. I could use this to blackmail them.";
}
cd.picked = false;
cd.slowdown = 7;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(3);
trace(num);
cd = _root.attachMovie("random", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 534;
cd._y = 301;
switch (num) {
case 0 :
cd.bonus = 12500;
cd.txt = "Wow! Discs full of PIN and bank account access data!";
break;
case 1 :
cd.bonus = 5000;
cd.txt = "Discs full of sensitive company information. This should bring company down. ";
break;
case 2 :
cd.bonus = 2500;
cd.txt = "Discs with some personal information. I could use this to blackmail them.";
}
cd.picked = false;
cd.slowdown = 7;
cd.passw = false;
cd.discrypt = false;
pick(cd);
waypoints = new Array();
waypoints[1] = new Array();
waypoints[1] = [[400, 300], [500, 300], [500, 400], [400, 400]];
spyware = _root.attachMovie("spyware", "spyware" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:400, _y:300});
spyware.speed = 1;
spyware.point = 0;
spyware.wp = 1;
spyware.bonus = 10;
spyware.txt = "Damn, I was infected with spyware! ";
spyware.picked = false;
spyware.slowdown = 9;
spyware.passw = false;
spywaref(spyware);
waypoints[2] = new Array();
waypoints[2] = [[100, 200], [200, 200], [200, 300], [100, 300]];
spyware = _root.attachMovie("spyware", "spyware" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:100, _y:200});
spyware.speed = 1;
spyware.point = 0;
spyware.wp = 2;
spyware.bonus = 10;
spyware.txt = "Damn, I was infected with spyware! ";
spyware.picked = false;
spyware.slowdown = 9;
spyware.passw = false;
spywaref(spyware);
waypoints[3] = new Array();
waypoints[3] = [[550, 300], [100, 300]];
virus = _root.attachMovie("virus", "virus" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:500, _y:300});
virus.speed = 1;
virus.point = 0;
virus.wp = 3;
virus.bonus = 0;
virus.txt = "Damn, I got a virus! It will take a few seconds to get rid of ";
virus.picked = false;
virus.slowdown = 9.17;
virus.passw = false;
virusf(virus);
pod_init();
minimal.swapDepths(_root.getNextHighestDepth());
tabulka.swapDepths(_root.getNextHighestDepth());
ctrls.swapDepths(_root.getNextHighestDepth());
tabulka.onEnterFrame = function () {
if ((end_game == true) && (start_game == true)) {
if (this._x > 320) {
this._x = this._x - ((this._x - 320) / 5);
}
if (this._y > 200) {
this._y = this._y - ((this._y - 200) / 5);
}
}
if (_root._currentframe < 10) {
removeMovieClip(this);
}
};
Frame 20
stop();
score_txt.text = player.tmp_score;
start_game = false;
bonus_init();
end_game = false;
timee = player.base_time + player.time_bonus;
player.time_bonus = 0;
minimal._xscale = 25;
minimal._yscale = 25;
minimal.del = 10000000 /* 0x989680 */;
obdelnik_del(minimal);
ctrls._xscale = 25;
ctrls._yscale = 25;
ctrls.del = 10000000 /* 0x989680 */;
obdelnik_del(ctrls);
novyFont3 = new TextFormat();
novyFont3.size = 20;
novyFont3.font = "kl";
min = player.level1_min + ((player.levels_done + 5) * 1000);
min = min * ((player.games_done * 0.15) + 1);
minimal.txt.embedFonts = true;
minimal.txt.setTextFormat(novyFont3);
minimal.txt.text = "10. Boss\nRequired: " + min;
minimal_score_txt.text = "Required: " + min;
sounds();
infotext.del = 1000000 /* 0x0F4240 */;
infotext._xscale = 20;
infotext._yscale = 20;
obdelnik_del(infotext);
infotext.txt.embedFonts = true;
infotext.txt.setTextFormat(novyFont3);
infotext.txt.text = "Here it comes. The opportunity you have been waiting for! Collect enough data and the whole company will finish! Overthrow them! Good luck.";
snd = new Sound();
snd.attachSound("loop08");
snd.setVolume(0);
snd.start(0, 99);
boulders = 0;
i = 0;
while (i < 1) {
cd = _root.attachMovie("CD", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 361;
cd._y = 285;
cd.bonus = 1000;
cd.txt = "MiniDisc with personal photos";
cd.picked = false;
cd.slowdown = 5;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("CD2", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 500;
cd._y = 230;
cd.bonus = 2000;
cd.txt = "Disc containg sensitive information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = true;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("laptop", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 370;
cd._y = 270;
cd.bonus = 20000;
cd.txt = "Laptop with company documents";
cd.picked = false;
cd.slowdown = 8.9;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("laptop", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 280;
cd._y = 270;
cd.bonus = 20000;
cd.txt = "Laptop with company documents";
cd.picked = false;
cd.slowdown = 8.9;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("laptop", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 370;
cd._y = 340;
cd.bonus = 20000;
cd.txt = "Laptop with company documents";
cd.picked = false;
cd.slowdown = 8.9;
cd.passw = true;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("laptop", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 280;
cd._y = 340;
cd.bonus = 20000;
cd.txt = "Laptop with company documents";
cd.picked = false;
cd.slowdown = 8.9;
cd.passw = true;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 400;
cd._y = 260;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 245;
cd._y = 250;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 70;
cd._y = 240;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 500;
cd._y = 350;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 400;
cd._y = 400;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 300;
cd._y = 410;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 200;
cd._y = 415;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 550;
cd._y = 415;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
cd = _root.attachMovie("flash", "laptop_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 100;
cd._y = 405;
cd.bonus = 3000;
cd.txt = "Flash drive containing personal information";
cd.picked = false;
cd.slowdown = 6;
cd.passw = false;
cd.discrypt = false;
pick(cd);
i++;
}
i = 0;
while (i < 1) {
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 100;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 150;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 200;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 250;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 300;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 350;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 400;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 450;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 500;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
cd = _root.attachMovie("firewall", "laptop_22" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 550;
cd._y = 180;
cd.bonus = 0;
cd.txt = "Firewall, just a second and I will hack it";
cd.picked = false;
cd.discrypt = false;
cd.slowdown = 6;
firewall(cd);
i++;
}
num = random(6);
trace(num);
cd = _root.attachMovie("bin", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 105;
cd._y = 350;
cd.eff = num;
switch (num) {
case 0 :
cd.bonus = 5000;
cd.txt = "Bin with sensitive information that was not shredded";
break;
case 1 :
cd.bonus = 0;
cd.txt = "Bin with bomb";
effect = 1;
break;
case 2 :
cd.bonus = 0;
cd.txt = "Bin with time bonus";
effect = 2;
break;
case 3 :
cd.bonus = 0;
cd.txt = "Bin with aim";
effect = 3;
break;
case 4 :
cd.bonus = 0;
cd.txt = "Bin with speed bonus";
effect = 4;
break;
case 5 :
cd.bonus = 0;
cd.txt = "Bin with password cracker";
effect = 5;
}
cd.picked = false;
cd.slowdown = 8;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(6);
trace(num);
cd = _root.attachMovie("bin", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd.eff = num;
cd._x = 600;
cd._y = 340;
switch (num) {
case 0 :
cd.bonus = 5000;
cd.txt = "Bin with sensitive information that was not shredded";
break;
case 1 :
cd.bonus = 0;
cd.txt = "Bin with bomb";
effect = 1;
break;
case 2 :
cd.bonus = 0;
cd.txt = "Bin with time bonus";
effect = 2;
break;
case 3 :
cd.bonus = 0;
cd.txt = "Bin with aim";
effect = 3;
break;
case 4 :
cd.bonus = 0;
cd.txt = "Bin with speed bonus";
effect = 4;
break;
case 5 :
cd.bonus = 0;
cd.txt = "Bin with password cracker";
effect = 5;
}
cd.picked = false;
cd.slowdown = 8;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(3);
trace(num);
cd = _root.attachMovie("random", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 155;
cd._y = 320;
switch (num) {
case 0 :
cd.bonus = 12500;
cd.txt = "Wow! Discs full of PIN and bank account access data!";
break;
case 1 :
cd.bonus = 5000;
cd.txt = "Discs full of sensitive company information. This should bring company down. ";
break;
case 2 :
cd.bonus = 2500;
cd.txt = "Discs with some personal information. I could use this to blackmail them.";
}
cd.picked = false;
cd.slowdown = 7;
cd.passw = false;
cd.discrypt = false;
pick(cd);
num = random(3);
trace(num);
cd = _root.attachMovie("random", "CD_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
cd._x = 245;
cd._y = 400;
switch (num) {
case 0 :
cd.bonus = 12500;
cd.txt = "Wow! Discs full of PIN and bank account access data!";
break;
case 1 :
cd.bonus = 5000;
cd.txt = "Discs full of sensitive company information. This should bring company down. ";
break;
case 2 :
cd.bonus = 2500;
cd.txt = "Discs with some personal information. I could use this to blackmail them.";
}
cd.picked = false;
cd.slowdown = 7;
cd.passw = false;
cd.discrypt = false;
pick(cd);
waypoints = new Array();
waypoints[1] = new Array();
waypoints[1] = [[200, 210], [430, 210], [430, 400], [200, 400]];
spyware = _root.attachMovie("spyware", "spyware" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:200, _y:200});
spyware.speed = 1;
spyware.point = 0;
spyware.wp = 1;
spyware.bonus = 10;
spyware.txt = "Damn, I was infected with spyware! ";
spyware.picked = false;
spyware.slowdown = 9;
spyware.passw = false;
spywaref(spyware);
waypoints[2] = new Array();
waypoints[2] = [[200, 210], [430, 210], [430, 400], [200, 400]];
spyware = _root.attachMovie("spyware", "spyware" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:400, _y:400});
spyware.speed = 1;
spyware.point = 2;
spyware.wp = 2;
spyware.bonus = 10;
spyware.txt = "Damn, I was infected with spyware! ";
spyware.picked = false;
spyware.slowdown = 9;
spyware.passw = false;
spywaref(spyware);
waypoints[3] = new Array();
waypoints[3] = [[550, 300], [100, 300]];
virus = _root.attachMovie("virus", "virus" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:500, _y:300});
virus.speed = 2;
virus.point = 0;
virus.wp = 3;
virus.bonus = 0;
virus.txt = "Damn, I got a virus! It will take a few seconds to get rid of ";
virus.picked = false;
virus.slowdown = 9.17;
virus.passw = false;
virusf(virus);
waypoints[4] = new Array();
waypoints[4] = [[550, 400], [100, 400]];
virus = _root.attachMovie("virus", "virus" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:400, _y:400});
virus.speed = 1;
virus.point = 0;
virus.wp = 4;
virus.bonus = 0;
virus.txt = "Damn, I got a virus! It will take a few seconds to get rid of ";
virus.picked = false;
virus.slowdown = 9.17;
virus.passw = false;
virusf(virus);
_root.discr = _root.attachMovie("discr", "discr" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.discr._x = 750;
_root.discr._y = 350;
waypoints[10] = new Array();
waypoints[10] = [[700, 410], [50, 410]];
_root.discr.speed = 1;
_root.discr.point = 0;
_root.discr.wp = 10;
discrf(_root.discr);
winner.txt.embedFonts = true;
winner.txt.setTextFormat(novyFont3);
pod_init();
minimal.swapDepths(_root.getNextHighestDepth());
tabulka.swapDepths(_root.getNextHighestDepth());
ctrls.swapDepths(_root.getNextHighestDepth());
tabulka.onEnterFrame = function () {
if ((end_game == true) && (start_game == true)) {
if (this._x > 320) {
this._x = this._x - ((this._x - 320) / 5);
}
if (this._y > 170) {
this._y = this._y - ((this._y - 170) / 5);
}
}
if (_root._currentframe < 10) {
removeMovieClip(this);
}
};
winner.onEnterFrame = function () {
if (((end_game == true) && (start_game == true)) && (player.tmp_score >= min)) {
tabulka._visible = false;
if (this._x > 320) {
this._x = this._x - ((this._x - 320) / 5);
}
if (this._y > 343) {
this._y = this._y - ((this._y - 343) / 5);
}
}
if (_root._currentframe < 10) {
removeMovieClip(this);
}
};
winner.btn_yes.onRelease = function () {
eff = new Sound();
eff.attachSound("button.wav");
eff.start();
snd.stop();
delete snd;
player.tmp_score = 0;
player.games_done++;
removeMovieClip(_root.pauza_ikona);
removeMovieClip(_root.vozik);
removeMovieClip(_root.zeleznice);
removeMovieClip(_root.pod);
rod.clear();
removeMovieClip(_root.rod);
_root.gotoAndStop(3);
};
winner.btn_no.onRelease = function () {
removeMovieClip(_root.pauza_ikona);
removeMovieClip(_root.vozik);
removeMovieClip(_root.zeleznice);
removeMovieClip(_root.pod);
rod.clear();
removeMovieClip(_root.rod);
this._parent._visible = false;
var _local3 = {n:[4, 13, 3, 1, 6, 13, 7, 12, 11, 7, 12, 7, 11, 1, 8, 14], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var _local4 = _local3.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:_local4, score:player.score});
tabulka.btn_play._visible = false;
tabulka.btn_send._visible = true;
winner.btn_yes._visible = false;
winner.btn_no._visible = false;
winner._visible = false;
};
Symbol 50 MovieClip [pod] Frame 1
stop();
Symbol 50 MovieClip [pod] Frame 2
stop();
Symbol 50 MovieClip [pod] Frame 3
stop();
Symbol 50 MovieClip [pod] Frame 4
stop();
Symbol 66 MovieClip Frame 1
Symbol 66 MovieClip Frame 2
stop();
Symbol 82 MovieClip [discr] Frame 1
stop();
this.noha2.gotoAndPlay(20);
this.tester._visible = false;
Symbol 92 MovieClip [enemy] Frame 1
stop();
this.noha2.gotoAndPlay(20);
this.tester._visible = false;
Symbol 101 MovieClip [vybuch] Frame 11
removeMovieClip(this);
Symbol 130 MovieClip [bomb2] Frame 1
stop();
Symbol 156 MovieClip Frame 1
stop();
Symbol 592 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _loader, _loaderListener, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.02 as2");
}
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 get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local3 = "_mochiservices_com_" + id;
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servicesURL != undefined) {
_servicesURL = urlOptions().servicesURL;
}
allowDomains(_servicesURL);
_clip = clip.createEmptyMovieClip(_local3, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
_loader = new MovieClipLoader();
if (_loaderListener.waitInterval != null) {
clearInterval(_loaderListener.waitInterval);
}
_loaderListener = {};
_loaderListener.onLoadError = function (target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, [errorCode]);
};
_loaderListener.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_loaderListener.startTime = getTimer();
_loaderListener.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_loaderListener.waitInterval = setInterval(_loaderListener, "wait", 1000);
_loader.addListener(_loaderListener);
_loader.loadClip((((_servicesURL + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
onError.apply(null, ["NotConnected"]);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
if (_root.mochiad_options) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://x.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static var _servicesURL = "http://www.mochiads.com/static/lib/services/services.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
}
Symbol 593 MovieClip [__Packages.mochi.as2.MochiScores] Frame 0
class mochi.as2.MochiScores
{
static var boardID, onClose, onError;
function MochiScores () {
}
static function setBoardID(boardID) {
mochi.as2.MochiServices.warnID(boardID, true);
mochi.as2.MochiScores.boardID = boardID;
mochi.as2.MochiServices.send("scores_setBoardID", {boardID:boardID});
}
static function showLeaderboard(options) {
if ((options.clip == null) || (options.clip == undefined)) {
options.clip = mochi.as2.MochiServices.clip;
}
if ((options.clip != mochi.as2.MochiServices.__get__clip()) || (mochi.as2.MochiServices.__get__childClip()._target == undefined)) {
mochi.as2.MochiServices.disconnect();
trace("WARNING! This application is attempting to connect to MochiServices inside a showLeaderboard call!");
trace("make sure MochiServices.connect is called as early in the application runtime as possible.");
mochi.as2.MochiServices.connect(mochi.as2.MochiServices.__get__id(), options.clip);
}
delete options.clip;
if (options.name != null) {
if (typeof(options.name) == "object") {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (options.score instanceof TextField) {
if (options.score.text != undefined) {
options.score = options.score.text;
}
} else if (options.score instanceof mochi.as2.MochiDigits) {
options.score = options.score.value;
}
var _local2 = Number(options.score);
if (isNaN(_local2)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is 'Not a Number'");
} else if ((_local2 == Number.NEGATIVE_INFINITY) || (_local2 == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(_local2) != _local2) {
trace(("WARNING: Submitted score '" + options.score) + "' will be truncated");
}
options.score = _local2;
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
mochi.as2.MochiServices.__get__clip().stop();
}
if (options.onClose != null) {
onClose = options.onClose;
} else {
onClose = function () {
_root.gotoAndStop(2);
};
}
if (options.onError != null) {
onError = options.onError;
} else {
onError = onClose;
}
if (options.boardID == null) {
if (boardID != null) {
options.boardID = boardID;
}
}
mochi.as2.MochiServices.warnID(options.boardID, true);
trace("[MochiScores] NOTE: Security Sandbox Violation errors below are normal");
mochi.as2.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose);
}
static function closeLeaderboard() {
mochi.as2.MochiServices.send("scores_closeLeaderboard");
}
static function getPlayerInfo(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod);
}
static function submit(score, name, callbackObj, callbackMethod) {
score = Number(score);
if (isNaN(score)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is 'Not a Number'");
} else if ((score == Number.NEGATIVE_INFINITY) || (score == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(score) != score) {
trace(("WARNING: Submitted score '" + String(score)) + "' will be truncated");
}
score = Number(score);
}
mochi.as2.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod);
}
static function requestList(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod);
}
static function scoresArrayToObjects(scores) {
var _local5 = {};
var _local1;
var _local4;
var _local2;
var _local6;
for (var _local8 in scores) {
if (typeof(scores[_local8]) == "object") {
if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) {
_local5[_local8] = [];
_local2 = scores[_local8];
_local4 = 0;
while (_local4 < _local2.rows.length) {
_local6 = {};
_local1 = 0;
while (_local1 < _local2.cols.length) {
_local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1];
_local1++;
}
_local5[_local8].push(_local6);
_local4++;
}
} else {
_local5[_local8] = {};
for (var _local7 in scores[_local8]) {
_local5[_local8][_local7] = scores[_local8][_local7];
}
}
} else {
_local5[_local8] = scores[_local8];
}
}
return(_local5);
}
static function doClose(args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = "IOError";
}
onError.apply(null, [args.errorCode]);
} else {
onClose.apply();
}
}
}
Symbol 594 MovieClip [__Packages.mochi.as2.MochiDigits] Frame 0
class mochi.as2.MochiDigits
{
var Encoder, Fragment, Sibling;
function MochiDigits (digit, index) {
Encoder = 0;
setValue(digit, index);
}
function get value() {
return(Number(toString()));
}
function set value(v) {
setValue(v);
//return(value);
}
function addValue(v) {
value = value + v;
}
function setValue(digit, index) {
var _local3 = digit.toString();
if ((index == undefined) || (isNaN(index))) {
index = 0;
}
Fragment = _local3.charCodeAt(index++) ^ Encoder;
if (index < _local3.length) {
Sibling = new mochi.as2.MochiDigits(digit, index);
} else {
Sibling = null;
}
reencode();
}
function reencode() {
var _local2 = int(2147483647 * Math.random());
Fragment = Fragment ^ (_local2 ^ Encoder);
Encoder = _local2;
}
function toString() {
var _local2 = String.fromCharCode(Fragment ^ Encoder);
return(((Sibling != null) ? (_local2.concat(Sibling.toString())) : (_local2)));
}
}
Symbol 206 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 1
stop();
Symbol 298 MovieClip Frame 1
stop();
Symbol 307 MovieClip Frame 1
stop();
Symbol 330 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 49
stop();
Symbol 384 MovieClip Frame 1
stop();
Symbol 385 MovieClip Frame 774
stop();
Symbol 412 MovieClip Frame 1
stop();
Symbol 412 MovieClip Frame 2
stop();
Symbol 483 MovieClip Frame 1
stop();
Symbol 485 MovieClip Frame 1
stop();
Symbol 488 MovieClip Frame 1
stop();
Symbol 504 MovieClip Frame 1
stop();
Symbol 506 MovieClip Frame 1
stop();
Symbol 510 MovieClip Frame 1
stop();
Symbol 513 MovieClip Frame 1
stop();
Symbol 526 MovieClip Frame 1
stop();
Symbol 533 MovieClip Frame 1
stop();