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);
}
fscommand ("showmenu", false);
fscommand ("trapallkeys", true);
fscommand ("allowscale", false);
lang = System.capabilities.language;
__com_mochibot__("636ac4f3", this, 10301, true);
stop();
this.onEnterFrame = function () {
bar._xscale = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
delete this.onEnterFrame;
play();
}
};
Instance of Symbol 378 MovieClip "bar" in Frame 1
onClipEvent (enterFrame) {
this._xscale = _root.Percent;
}
Frame 2
stop();
Instance of Symbol 410 MovieClip in Frame 2
on (release) {
getURL ("http://mousebreaker.com", "_blank");
}
Frame 3
charPos = new Array();
charPos[1] = new Object();
charPos[1].x = 230;
charPos[1].y = 100;
charPos[2] = new Object();
charPos[2].x = 550;
charPos[2].y = 150;
charPos[3] = new Object();
charPos[3].x = 550;
charPos[3].y = 150;
charPos[4] = new Object();
charPos[4].x = 50;
charPos[4].y = 50;
charPos[5] = new Object();
charPos[5].x = 80;
charPos[5].y = 2030;
charPos[7] = new Object();
charPos[7].x = 110;
charPos[7].y = 360;
charPos[8] = new Object();
charPos[8].x = 80;
charPos[8].y = 360;
charPos[10] = new Object();
charPos[10].x = 80;
charPos[10].y = 370;
redObj = new flash.geom.ColorTransform();
redObj.alphaMultiplier = 1;
redObj.redMultiplier = 11;
redObj.greenMultiplier = 0.3;
redObj.blueMultiplier = 0.3;
defaultObj = new flash.geom.ColorTransform();
defaultObj.alphaMultiplier = 1;
defaultObj.redMultiplier = 1;
defaultObj.greenMultiplier = 1;
defaultObj.blueMultiplier = 1;
transparentObj = new flash.geom.ColorTransform();
transparentObj.alphaMultiplier = 0.2;
transparentObj.redMultiplier = 1;
transparentObj.greenMultiplier = 1;
transparentObj.blueMultiplier = 1;
darkObj = new flash.geom.ColorTransform();
darkObj.alphaMultiplier = 1;
darkObj.redMultiplier = 0.3;
darkObj.greenMultiplier = 0.3;
darkObj.blueMultiplier = 0.3;
so = SharedObject.getLocal("jailbreak255");
if (so.data.level != undefined) {
btnPrevious.onRelease = function () {
level = so.data.level;
score = so.data.score;
gotoAndStop ("task");
if (level == 11) {
level = (so.data.level = 1);
score = (so.data.score = 0);
}
};
} else {
btnPrevious._visible = false;
}
stop();
mute = false;
btnNew.onRelease = function () {
level = 1;
score = 0;
play();
};
btnPMG.onRelease = function () {
getURL ("http://mousebreaker.com", "_blank");
};
MovieClip.prototype.playSound = function (snd, times) {
this.thisSound.stop();
if (snd == undefined) {
return(undefined);
}
this.thisSound = new Sound(this);
this.thisSound.attachSound(snd);
if (times == undefined) {
this.thisSound.start();
} else {
this.thisSound.start(0, times);
}
};
task = new Array();
task[1] = new Array();
task[2] = new Array();
task[3] = new Array();
task[4] = new Array();
task[5] = new Array();
task[6] = new Array();
task[7] = new Array();
task[8] = new Array();
task[9] = new Array();
task[10] = new Array();
task[1][0] = "Well, well, well. Look who's back in big house! You may have escaped once, but this time it won't be so easy for you sunshine.";
task[1][1] = "But stay on my good side, and I'll keep you out of trouble. You know the ropes - slip around the guards running errands for me...";
task[1][2] = "Well I'll let you get on with your routine de-lousing and uncomfortably thorough strip search... Drop by my cell after lights out, and I'll give you your first task.";
task[2][0] = "Good work - maybe you're not spineless after all. I had my smokes confiscated by the guards, and I need them to keep myself in the prison good life. Get them back, or there will be trouble...";
task[3][0] = "Nice one Spadge! Now get these over to Bad Larry in Cell Block D, or he's going to make life very uncomfortable for me. You'll have search lights this time, so watch out.";
task[4][0] = "So you must be Spadge - heard a lot about you. Unfortunately, Wozza's late with his debt so I should really give you a good beating...";
task[4][1] = "But maybe you can work for me instead. Plant these banned 'sweeties' in Wozza's cell before the warden comes round for inspections tomorrow, and I'll help you out of this dump.";
task[5][0] = "Nice work kid, and don't worry about Wozza - he's been moved to solitary.";
task[5][1] = "Now, I'm a man of my word, so let's try and get you out of 'ere. All we need do is get you seriously sick, so you'll get pulled out of jail into the local hospital. From there, my boys can bust you out, and you'll be on the streets in no time.";
task[5][2] = "I would give you a flesh wound myself, but I'm not good at knowing when to stop. So head up to the medical unit and pick up some tablets - we're going to make a tablet to put you to sleep...";
task[6][0] = "Right those are the ones you need - behind the glass - knock them down with these rocks before someone comes in...";
task[7][0] = "Right, let's give this a go.";
task[7][1] = "Huh. Doesn't seem to have worked. Guess it's been a while since I got my Chemistry pHd.";
task[7][2] = "Right, new plan. I've seen the warden seems to be a geology nut. Got all kinds of tools in his office. Get down there and nick a pickaxe pronto. You'll need to get the key off him first, though.";
task[8][0] = "Look at this pick-axe. Reminds me of my first murder.";
task[8][1] = "Happy days. Those were simpler times, those were.";
task[8][2] = "Anyway, we can't just sit here reminiscing about killing, you've got work to do, son. Rumour has it there's a weak spot in the wall near the yard. Head on over there, and tap on the wall until you hear the hollow spot.";
task[8][3] = "Watch out for guards though, and make sure you only tap the walls when they won't hear you! They're playing Baseball out in the yard - wait for the cheering before you tap.";
task[9][0] = "Nice work, fella. Now we'll just cover it with this poster and wait for the moment to strike.";
task[9][1] = "Meet me back here at lights out - we're busting out tonight!";
task[10][0] = "The lights are out! Lead the way!";
inGameText = new Array();
inGameText[1] = new Array();
inGameText[1][0] = "Nice and simple! Slip out your cell and head into Wozza's next door...";
inGameText[1][1] = "Now approach Wozza and have a chat...";
inGameText[2] = new Array();
inGameText[2][0] = "Sneak into the guard's office\u2026 (use the spacebar to open doors)";
inGameText[2][1] = "Now look for the cigarettes! (open drawers and cupboards with the spacebar)";
inGameText[2][2] = "Now get these smokes back to Wozza...";
inGameText[3] = new Array();
inGameText[3][0] = "Take the cigarettes across the yard over to Bad Larry. Watch out for search lights!";
inGameText[4] = new Array();
inGameText[4][0] = "Quick! Plant the 'sweeties' in Wozza's cell before his early morning inspection!";
inGameText[5] = new Array();
inGameText[5][0] = "Sneak over to the medical unit to get a near-lethal combination of pills...";
inGameText[6] = new Array();
inGameText[6][0] = "Smash the glass, then knock the pills down with your rocks!";
inGameText[7] = new Array();
inGameText[7][0] = "Time to track down the warden's pickaxe! Head towards his office...";
inGameText[7][1] = "Locked! That guard running circles back there had a whole bunch of keys. Time to distract him. Break the fuse box.";
inGameText[7][2] = "Now go pickpocket him using the space bar.";
inGameText[7][3] = "Now head to the Warden's Office!";
inGameText[7][4] = "Grab the pickaxe!";
inGameText[7][5] = "Now run back to Bad Larry!";
inGameText[8] = new Array();
inGameText[8][0] = "Head out onto the yard and tap the wall to find the weak spot - use the crowd cheers to cover the noise...";
inGameText[9] = new Array();
inGameText[9][0] = "Smash all the search lights to allow you and Bad Larry an easy escape...";
inGameText[10] = new Array();
inGameText[10][0] = "The yard is crawling with guards - slip past them with Bad Larry and make your push for freedom!";
targetPoint = new Array();
targetPoint[1] = new Array();
targetPoint[1][0] = new Object();
targetPoint[1][0].x = 570;
targetPoint[1][0].y = 100;
targetPoint[2] = new Array();
targetPoint[2][0] = new Object();
targetPoint[2][0].x = -100;
targetPoint[2][0].y = 180;
targetPoint[2][1] = new Object();
targetPoint[2][1].x = 570;
targetPoint[2][1].y = 100;
targetPoint[3] = new Array();
targetPoint[3][0] = new Object();
targetPoint[3][0].x = 70;
targetPoint[3][0].y = 2040;
targetPoint[4] = new Array();
targetPoint[4][0] = new Object();
targetPoint[4][0].x = 500;
targetPoint[4][0].y = -1860;
targetPoint[5] = new Array();
targetPoint[5][0] = new Object();
targetPoint[5][0].x = 1070;
targetPoint[5][0].y = 2270;
targetPoint[7] = new Array();
targetPoint[7][0] = new Object();
targetPoint[7][0].x = -800;
targetPoint[7][0].y = 570;
targetPoint[7][1] = new Object();
targetPoint[7][1].x = -200;
targetPoint[7][1].y = 470;
targetPoint[7][2] = new Object();
targetPoint[7][2].x = -200;
targetPoint[7][2].y = 470;
targetPoint[7][3] = new Object();
targetPoint[7][3].x = -800;
targetPoint[7][3].y = 570;
targetPoint[7][4] = new Object();
targetPoint[7][4].x = 50;
targetPoint[7][4].y = 340;
targetPoint[8] = new Array();
targetPoint[8][0] = new Object();
targetPoint[8][0].x = 780;
targetPoint[8][0].y = -600;
targetPoint[10] = new Array();
targetPoint[10][0] = new Object();
targetPoint[10][0].x = 780;
targetPoint[10][0].y = -600;
thoughtBubble = new Array();
thoughtBubble[1] = new Array();
thoughtBubble[1][0] = "I'm glad the wife got me this pedometer for Christmas!";
thoughtBubble[1][1] = "I wonder what's for tea.";
thoughtBubble[2] = new Array();
thoughtBubble[2][0] = "I hope I recorded Prison Break.";
thoughtBubble[2][1] = "This place could do with a fresh lick of paint.";
thoughtBubble[2][2] = "This place could do with a drinks machine.";
thoughtBubble[3] = new Array();
thoughtBubble[3][0] = "I wish I'd switched shifts with Gary.";
thoughtBubble[3][1] = "I hope I recorded Oz.";
thoughtBubble[3][2] = "Why am I never posted to Cell Block D?";
thoughtBubble[3][10] = "No one ever slips out their cells here.";
thoughtBubble[3][8] = "Why am I never posted to Cell Block C?";
thoughtBubble[4] = new Array();
thoughtBubble[4][0] = "Can't believe I forgot my iPod.";
thoughtBubble[4][1] = "I'm going to be so fit by the end of tonight's shift!";
thoughtBubble[4][2] = "Why do all our cells have open doors anyway!?";
thoughtBubble[4][9] = "Wish they hadn't blocked Mousebreaker.com in the Warden's office.";
thoughtBubble[4][10] = "Did I remember to record The Shawshank Redemption?";
thoughtBubble[5] = new Array();
thoughtBubble[5][0] = "From above, I bet we all look the same.";
thoughtBubble[5][1] = "Did I remember to record Porridge?";
thoughtBubble[5][2] = "Why are we guarding this empty corridor anyway?";
thoughtBubble[5][3] = "I wish I were a fireman!";
thoughtBubble[5][4] = "Is it nearly dinner time?";
thoughtBubble[5][5] = "Whatever happened to Clear Tab Cola?";
thoughtBubble[7] = new Array();
thoughtBubble[7][1] = "Did I remember to record The Green Mile?";
thoughtBubble[7][0] = "I love running round in circles!";
thoughtBubble[7][2] = "I know I dropped a penny here somewhere...";
thoughtBubble[7][3] = "Why aren't we guarding the open jails anyway!?";
thoughtBubble[7][4] = "Can't believe the warden's letting me borrow his pickaxe tomorrow!";
thoughtBubble[7][5] = "Whatever happened to Clear Tab Cola?";
thoughtBubble[7][10] = "We should just buy a new one, really.";
thoughtBubble[8] = new Array();
thoughtBubble[8][3] = "I hope I remembered to record Midnight Express.";
thoughtBubble[8][4] = "I love a good game of rounders.";
thoughtBubble[8][33] = "WHAT WAS THAT!?";
thoughtBubble[8][44] = "WHAT WAS THAT!?";
thoughtBubble[10] = new Array();
thoughtBubble[10][0] = "What's all the commotion?";
thoughtBubble[10][1] = "I hope I remembered to record Birdman of Alcatraz.";
thoughtBubble[10][2] = "Where is he!?";
thoughtBubble[10][5] = "Has anyone seen my contact lenses?";
thoughtBubble[10][7] = "LOCKDOWN!";
guardPath = new Array();
guardPath[1] = new Array();
guardPath[1][0] = new Array();
guardPath[1][0][0] = new Object();
guardPath[1][0][0].x = 550;
guardPath[1][0][0].y = 400;
guardPath[1][0][0].speed = 2;
guardPath[1][0][1] = new Object();
guardPath[1][0][1].x = 320;
guardPath[1][0][1].y = 420;
guardPath[1][0][1].speed = 2;
guardPath[1][0][2] = new Object();
guardPath[1][0][2].x = 300;
guardPath[1][0][2].y = 460;
guardPath[1][0][2].speed = 2;
guardPath[1][0][3] = new Object();
guardPath[1][0][3].x = 290;
guardPath[1][0][3].y = 420;
guardPath[1][0][3].speed = 2;
guardPath[1][1] = new Array();
guardPath[1][1][0] = new Object();
guardPath[1][1][0].x = 50;
guardPath[1][1][0].y = 420;
guardPath[1][1][0].speed = 2;
guardPath[1][1][0].typ = 6;
guardPath[2] = new Array();
guardPath[2][0] = new Array();
guardPath[2][0][0] = new Object();
guardPath[2][0][0].x = 50;
guardPath[2][0][0].y = 60;
guardPath[2][0][0].speed = 2;
guardPath[2][0][1] = new Object();
guardPath[2][0][1].x = 20;
guardPath[2][0][1].y = 400;
guardPath[2][0][1].speed = 2;
guardPath[2][0][2] = new Object();
guardPath[2][0][2].x = 40;
guardPath[2][0][2].y = 360;
guardPath[2][0][2].speed = 2;
guardPath[2][0][3] = new Object();
guardPath[2][0][3].x = 30;
guardPath[2][0][3].y = 200;
guardPath[2][0][3].speed = 2;
guardPath[2][1] = new Array();
guardPath[2][1][0] = new Object();
guardPath[2][1][0].x = 40;
guardPath[2][1][0].y = 450;
guardPath[2][1][0].speed = 2;
guardPath[2][1][0].typ = 6;
guardPath[2][2] = new Array();
guardPath[2][2][0] = new Object();
guardPath[2][2][0].x = 350;
guardPath[2][2][0].y = 350;
guardPath[2][2][0].speed = 2;
guardPath[2][2][1] = new Object();
guardPath[2][2][1].x = 600;
guardPath[2][2][1].y = 380;
guardPath[2][2][1].speed = 2;
guardPath[2][2][2] = new Object();
guardPath[2][2][2].x = 450;
guardPath[2][2][2].y = 400;
guardPath[2][2][2].speed = 2;
guardPath[3] = new Array();
guardPath[3][0] = new Array();
guardPath[3][0][0] = new Object();
guardPath[3][0][0].x = 330;
guardPath[3][0][0].y = 340;
guardPath[3][0][0].speed = 2;
guardPath[3][0][1] = new Object();
guardPath[3][0][1].x = 500;
guardPath[3][0][1].y = 420;
guardPath[3][0][1].speed = 2;
guardPath[3][1] = new Array();
guardPath[3][1][0] = new Object();
guardPath[3][1][0].x = 500;
guardPath[3][1][0].y = 460;
guardPath[3][1][0].speed = 2;
guardPath[3][1][1] = new Object();
guardPath[3][1][1].x = 310;
guardPath[3][1][1].y = 440;
guardPath[3][1][1].speed = 2;
guardPath[3][2] = new Array();
guardPath[3][2][0] = new Object();
guardPath[3][2][0].x = 250;
guardPath[3][2][0].y = 620;
guardPath[3][2][0].speed = 2;
guardPath[3][2][1] = new Object();
guardPath[3][2][1].x = 250;
guardPath[3][2][1].y = 550;
guardPath[3][2][1].speed = 2;
guardPath[3][2][2] = new Object();
guardPath[3][2][2].x = 350;
guardPath[3][2][2].y = 550;
guardPath[3][2][2].speed = 2;
guardPath[3][2][3] = new Object();
guardPath[3][2][3].x = 350;
guardPath[3][2][3].y = 620;
guardPath[3][2][3].speed = 2;
guardPath[3][3] = new Array();
guardPath[3][3][0] = new Object();
guardPath[3][3][0].x = 0;
guardPath[3][3][0].y = 850;
guardPath[3][3][0].speed = 9;
guardPath[3][3][1] = new Object();
guardPath[3][3][1].x = 640;
guardPath[3][3][1].y = 850;
guardPath[3][3][1].speed = 9;
guardPath[3][3][2] = new Object();
guardPath[3][3][2].x = 640;
guardPath[3][3][2].y = 1350;
guardPath[3][3][2].speed = 9;
guardPath[3][3][3] = new Object();
guardPath[3][3][3].x = 0;
guardPath[3][3][3].y = 1350;
guardPath[3][3][3].speed = 9;
guardPath[3][4] = new Array();
guardPath[3][4][0] = new Object();
guardPath[3][4][0].x = 500;
guardPath[3][4][0].y = 1000;
guardPath[3][4][0].speed = 7;
guardPath[3][4][1] = new Object();
guardPath[3][4][1].x = 150;
guardPath[3][4][1].y = 1000;
guardPath[3][4][1].speed = 7;
guardPath[3][4][2] = new Object();
guardPath[3][4][2].x = 150;
guardPath[3][4][2].y = 1200;
guardPath[3][4][2].speed = 7;
guardPath[3][4][3] = new Object();
guardPath[3][4][3].x = 500;
guardPath[3][4][3].y = 1200;
guardPath[3][4][3].speed = 7;
guardPath[3][5] = new Array();
guardPath[3][5][0] = new Object();
guardPath[3][5][0].x = 660;
guardPath[3][5][0].y = 1400;
guardPath[3][5][0].speed = 6;
guardPath[3][5][1] = new Object();
guardPath[3][5][1].x = 0;
guardPath[3][5][1].y = 800;
guardPath[3][5][1].speed = 6;
guardPath[3][7] = new Array();
guardPath[3][7][0] = new Object();
guardPath[3][7][0].x = 640;
guardPath[3][7][0].y = 850;
guardPath[3][7][0].speed = 9;
guardPath[3][7][1] = new Object();
guardPath[3][7][1].x = 0;
guardPath[3][7][1].y = 850;
guardPath[3][7][1].speed = 9;
guardPath[3][7][2] = new Object();
guardPath[3][7][2].x = 0;
guardPath[3][7][2].y = 1350;
guardPath[3][7][2].speed = 9;
guardPath[3][7][3] = new Object();
guardPath[3][7][3].x = 640;
guardPath[3][7][3].y = 1350;
guardPath[3][7][3].speed = 9;
guardPath[3][8] = new Array();
guardPath[3][8][0] = new Object();
guardPath[3][8][0].x = 250;
guardPath[3][8][0].y = 1630;
guardPath[3][8][0].speed = 2;
guardPath[3][8][1] = new Object();
guardPath[3][8][1].x = 250;
guardPath[3][8][1].y = 1560;
guardPath[3][8][1].speed = 2;
guardPath[3][8][2] = new Object();
guardPath[3][8][2].x = 350;
guardPath[3][8][2].y = 1560;
guardPath[3][8][2].speed = 2;
guardPath[3][8][3] = new Object();
guardPath[3][8][3].x = 350;
guardPath[3][8][3].y = 1630;
guardPath[3][8][3].speed = 2;
guardPath[3][9] = new Array();
guardPath[3][9][0] = new Object();
guardPath[3][9][0].x = 250;
guardPath[3][9][0].y = 1800;
guardPath[3][9][0].speed = 2;
guardPath[3][9][1] = new Object();
guardPath[3][9][1].x = 550;
guardPath[3][9][1].y = 1770;
guardPath[3][9][1].speed = 2;
guardPath[3][10] = new Array();
guardPath[3][10][0] = new Object();
guardPath[3][10][0].x = 550;
guardPath[3][10][0].y = 1850;
guardPath[3][10][0].speed = 2;
guardPath[3][10][1] = new Object();
guardPath[3][10][1].x = 250;
guardPath[3][10][1].y = 1820;
guardPath[3][10][1].speed = 2;
guardPath[4] = new Array();
guardPath[4][0] = new Array();
guardPath[4][0][0] = new Object();
guardPath[4][0][0].x = 330;
guardPath[4][0][0].y = -1660;
guardPath[4][0][0].speed = 2;
guardPath[4][0][1] = new Object();
guardPath[4][0][1].x = 500;
guardPath[4][0][1].y = -1580;
guardPath[4][0][1].speed = 2;
guardPath[4][1] = new Array();
guardPath[4][1][0] = new Object();
guardPath[4][1][0].x = 500;
guardPath[4][1][0].y = -1540;
guardPath[4][1][0].speed = 2;
guardPath[4][1][1] = new Object();
guardPath[4][1][1].x = 310;
guardPath[4][1][1].y = -1560;
guardPath[4][1][1].speed = 2;
guardPath[4][2] = new Array();
guardPath[4][2][0] = new Object();
guardPath[4][2][0].x = 250;
guardPath[4][2][0].y = -1380;
guardPath[4][2][0].speed = 2;
guardPath[4][2][1] = new Object();
guardPath[4][2][1].x = 250;
guardPath[4][2][1].y = -1450;
guardPath[4][2][1].speed = 2;
guardPath[4][2][2] = new Object();
guardPath[4][2][2].x = 350;
guardPath[4][2][2].y = -1450;
guardPath[4][2][2].speed = 2;
guardPath[4][2][3] = new Object();
guardPath[4][2][3].x = 350;
guardPath[4][2][3].y = -1380;
guardPath[4][2][3].speed = 2;
guardPath[4][3] = new Array();
guardPath[4][3][0] = new Object();
guardPath[4][3][0].x = 0;
guardPath[4][3][0].y = -1150;
guardPath[4][3][0].speed = 9;
guardPath[4][3][1] = new Object();
guardPath[4][3][1].x = -1360;
guardPath[4][3][1].y = 850;
guardPath[4][3][1].speed = 9;
guardPath[4][3][2] = new Object();
guardPath[4][3][2].x = 640;
guardPath[4][3][2].y = -650;
guardPath[4][3][2].speed = 9;
guardPath[4][3][3] = new Object();
guardPath[4][3][3].x = 0;
guardPath[4][3][3].y = -650;
guardPath[4][3][3].speed = 9;
guardPath[4][4] = new Array();
guardPath[4][4][0] = new Object();
guardPath[4][4][0].x = 500;
guardPath[4][4][0].y = -1000;
guardPath[4][4][0].speed = 7;
guardPath[4][4][1] = new Object();
guardPath[4][4][1].x = 150;
guardPath[4][4][1].y = -1000;
guardPath[4][4][1].speed = 7;
guardPath[4][4][2] = new Object();
guardPath[4][4][2].x = 150;
guardPath[4][4][2].y = -800;
guardPath[4][4][2].speed = 7;
guardPath[4][4][3] = new Object();
guardPath[4][4][3].x = 500;
guardPath[4][4][3].y = -800;
guardPath[4][4][3].speed = 7;
guardPath[4][5] = new Array();
guardPath[4][5][0] = new Object();
guardPath[4][5][0].x = 660;
guardPath[4][5][0].y = -600;
guardPath[4][5][0].speed = 6;
guardPath[4][5][1] = new Object();
guardPath[4][5][1].x = 0;
guardPath[4][5][1].y = -1200;
guardPath[4][5][1].speed = 6;
guardPath[4][6] = new Array();
guardPath[4][6][0] = new Object();
guardPath[4][6][0].x = 0;
guardPath[4][6][0].y = -600;
guardPath[4][6][0].speed = 6;
guardPath[4][6][1] = new Object();
guardPath[4][6][1].x = 660;
guardPath[4][6][1].y = -1200;
guardPath[4][6][1].speed = 6;
guardPath[4][7] = new Array();
guardPath[4][7][0] = new Object();
guardPath[4][7][0].x = 640;
guardPath[4][7][0].y = -1150;
guardPath[4][7][0].speed = 9;
guardPath[4][7][1] = new Object();
guardPath[4][7][1].x = 0;
guardPath[4][7][1].y = -1150;
guardPath[4][7][1].speed = 9;
guardPath[4][7][2] = new Object();
guardPath[4][7][2].x = 0;
guardPath[4][7][2].y = -650;
guardPath[4][7][2].speed = 9;
guardPath[4][7][3] = new Object();
guardPath[4][7][3].x = 640;
guardPath[4][7][3].y = -650;
guardPath[4][7][3].speed = 9;
guardPath[4][8] = new Array();
guardPath[4][8][0] = new Object();
guardPath[4][8][0].x = 250;
guardPath[4][8][0].y = -370;
guardPath[4][8][0].speed = 2;
guardPath[4][8][1] = new Object();
guardPath[4][8][1].x = 250;
guardPath[4][8][1].y = -440;
guardPath[4][8][1].speed = 2;
guardPath[4][8][2] = new Object();
guardPath[4][8][2].x = 350;
guardPath[4][8][2].y = -440;
guardPath[4][8][2].speed = 2;
guardPath[4][8][3] = new Object();
guardPath[4][8][3].x = 350;
guardPath[4][8][3].y = -370;
guardPath[4][8][3].speed = 2;
guardPath[4][9] = new Array();
guardPath[4][9][0] = new Object();
guardPath[4][9][0].x = 250;
guardPath[4][9][0].y = -200;
guardPath[4][9][0].speed = 2;
guardPath[4][9][1] = new Object();
guardPath[4][9][1].x = 550;
guardPath[4][9][1].y = -230;
guardPath[4][9][1].speed = 2;
guardPath[4][10] = new Array();
guardPath[4][10][0] = new Object();
guardPath[4][10][0].x = 550;
guardPath[4][10][0].y = -150;
guardPath[4][10][0].speed = 2;
guardPath[4][10][1] = new Object();
guardPath[4][10][1].x = 250;
guardPath[4][10][1].y = -180;
guardPath[4][10][1].speed = 2;
guardPath[5] = new Array();
guardPath[5][0] = new Array();
guardPath[5][0][0] = new Object();
guardPath[5][0][0].x = 130;
guardPath[5][0][0].y = 1840;
guardPath[5][0][0].speed = 2;
guardPath[5][0][1] = new Object();
guardPath[5][0][1].x = 300;
guardPath[5][0][1].y = 1900;
guardPath[5][0][1].speed = 2;
guardPath[5][1] = new Array();
guardPath[5][1][0] = new Object();
guardPath[5][1][0].x = 500;
guardPath[5][1][0].y = 1820;
guardPath[5][1][0].speed = 2;
guardPath[5][1][1] = new Object();
guardPath[5][1][1].x = 500;
guardPath[5][1][1].y = 1860;
guardPath[5][1][1].speed = 2;
guardPath[5][1][2] = new Object();
guardPath[5][1][2].x = 530;
guardPath[5][1][2].y = 1840;
guardPath[5][1][2].speed = 2;
guardPath[5][2] = new Array();
guardPath[5][2][0] = new Object();
guardPath[5][2][0].x = 800;
guardPath[5][2][0].y = 1860;
guardPath[5][2][0].speed = 2;
guardPath[5][2][1] = new Object();
guardPath[5][2][1].x = 800;
guardPath[5][2][1].y = 1820;
guardPath[5][2][1].speed = 2;
guardPath[5][2][2] = new Object();
guardPath[5][2][2].x = 830;
guardPath[5][2][2].y = 1840;
guardPath[5][2][2].speed = 2;
guardPath[5][3] = new Array();
guardPath[5][3][0] = new Object();
guardPath[5][3][0].x = 1100;
guardPath[5][3][0].y = 1860;
guardPath[5][3][0].speed = 2;
guardPath[5][3][1] = new Object();
guardPath[5][3][1].x = 1130;
guardPath[5][3][1].y = 1840;
guardPath[5][3][1].speed = 2;
guardPath[5][3][2] = new Object();
guardPath[5][3][2].x = 1100;
guardPath[5][3][2].y = 1820;
guardPath[5][3][2].speed = 2;
guardPath[5][4] = new Array();
guardPath[5][4][0] = new Object();
guardPath[5][4][0].x = 1200;
guardPath[5][4][0].y = 2050;
guardPath[5][4][0].speed = 2;
guardPath[5][4][1] = new Object();
guardPath[5][4][1].x = 1230;
guardPath[5][4][1].y = 2070;
guardPath[5][4][1].speed = 2;
guardPath[5][4][2] = new Object();
guardPath[5][4][2].x = 1200;
guardPath[5][4][2].y = 2090;
guardPath[5][4][2].speed = 2;
guardPath[7] = new Array();
guardPath[7][0] = new Array();
guardPath[7][0][0] = new Object();
guardPath[7][0][0].x = -200;
guardPath[7][0][0].y = 140;
guardPath[7][0][0].speed = 2;
guardPath[7][0][1] = new Object();
guardPath[7][0][1].x = -230;
guardPath[7][0][1].y = 170;
guardPath[7][0][1].speed = 2;
guardPath[7][0][2] = new Object();
guardPath[7][0][2].x = -180;
guardPath[7][0][2].y = 170;
guardPath[7][0][2].speed = 2;
guardPath[7][1] = new Array();
guardPath[7][1][0] = new Object();
guardPath[7][1][0].x = -200;
guardPath[7][1][0].y = 70;
guardPath[7][1][0].speed = 2;
guardPath[7][2] = new Array();
guardPath[7][2][0] = new Object();
guardPath[7][2][0].x = -600;
guardPath[7][2][0].y = 110;
guardPath[7][2][0].speed = 2;
guardPath[7][2][1] = new Object();
guardPath[7][2][1].x = -700;
guardPath[7][2][1].y = 170;
guardPath[7][2][1].speed = 2;
guardPath[7][2][2] = new Object();
guardPath[7][2][2].x = -550;
guardPath[7][2][2].y = 140;
guardPath[7][2][2].speed = 2;
guardPath[7][3] = new Array();
guardPath[7][3][0] = new Object();
guardPath[7][3][0].x = -800;
guardPath[7][3][0].y = 110;
guardPath[7][3][0].speed = 2;
guardPath[7][3][1] = new Object();
guardPath[7][3][1].x = -900;
guardPath[7][3][1].y = 200;
guardPath[7][3][1].speed = 2;
guardPath[7][3][2] = new Object();
guardPath[7][3][2].x = -730;
guardPath[7][3][2].y = 160;
guardPath[7][3][2].speed = 2;
guardPath[7][4] = new Array();
guardPath[7][4][0] = new Object();
guardPath[7][4][0].x = -550;
guardPath[7][4][0].y = 310;
guardPath[7][4][0].speed = 2;
guardPath[7][4][1] = new Object();
guardPath[7][4][1].x = -750;
guardPath[7][4][1].y = 370;
guardPath[7][4][1].speed = 2;
guardPath[7][4][2] = new Object();
guardPath[7][4][2].x = -600;
guardPath[7][4][2].y = 340;
guardPath[7][4][2].speed = 2;
guardPath[8] = new Array();
guardPath[8][0] = new Array();
guardPath[8][0][0] = new Object();
guardPath[8][0][0].x = 600;
guardPath[8][0][0].y = -385;
guardPath[8][0][0].speed = 0;
guardPath[8][1] = new Array();
guardPath[8][1][0] = new Object();
guardPath[8][1][0].x = 400;
guardPath[8][1][0].y = -585;
guardPath[8][1][0].speed = 0;
guardPath[8][2] = new Array();
guardPath[8][2][0] = new Object();
guardPath[8][2][0].x = 690;
guardPath[8][2][0].y = -345;
guardPath[8][2][0].speed = 0;
guardPath[8][3] = new Array();
guardPath[8][3][0] = new Object();
guardPath[8][3][0].x = 740;
guardPath[8][3][0].y = -430;
guardPath[8][3][0].speed = 0;
guardPath[8][4] = new Array();
guardPath[8][4][0] = new Object();
guardPath[8][4][0].x = 740;
guardPath[8][4][0].y = -910;
guardPath[8][4][0].speed = 2;
guardPath[8][4][1] = new Object();
guardPath[8][4][1].x = 500;
guardPath[8][4][1].y = -910;
guardPath[8][4][1].speed = 0;
guardPath[8][5] = new Array();
guardPath[8][5][0] = new Object();
guardPath[8][5][0].x = 720;
guardPath[8][5][0].y = -800;
guardPath[8][5][0].speed = 0;
guardPath[8][6] = new Array();
guardPath[8][6][0] = new Object();
guardPath[8][6][0].x = 710;
guardPath[8][6][0].y = -760;
guardPath[8][6][0].speed = 0;
guardPath[8][7] = new Array();
guardPath[8][7][0] = new Object();
guardPath[8][7][0].x = 705;
guardPath[8][7][0].y = -700;
guardPath[8][7][0].speed = 0;
guardPath[8][8] = new Array();
guardPath[8][8][0] = new Object();
guardPath[8][8][0].x = 700;
guardPath[8][8][0].y = -600;
guardPath[8][8][0].speed = 0;
guardPath[8][9] = new Array();
guardPath[8][9][0] = new Object();
guardPath[8][9][0].x = 735;
guardPath[8][9][0].y = -550;
guardPath[8][9][0].speed = 0;
guardPath[8][10] = new Array();
guardPath[8][10][0] = new Object();
guardPath[8][10][0].x = 700;
guardPath[8][10][0].y = -510;
guardPath[8][10][0].speed = 0;
guardPath[10] = new Array();
guardPath[10][0] = new Array();
guardPath[10][0][0] = new Object();
guardPath[10][0][0].x = 200;
guardPath[10][0][0].y = 140;
guardPath[10][0][0].speed = 2;
guardPath[10][0][1] = new Object();
guardPath[10][0][1].x = 230;
guardPath[10][0][1].y = 170;
guardPath[10][0][1].speed = 2;
guardPath[10][0][2] = new Object();
guardPath[10][0][2].x = 180;
guardPath[10][0][2].y = 170;
guardPath[10][0][2].speed = 2;
guardPath[10][1] = new Array();
guardPath[10][1][0] = new Object();
guardPath[10][1][0].x = 360;
guardPath[10][1][0].y = 140;
guardPath[10][1][0].speed = 2;
guardPath[10][1][1] = new Object();
guardPath[10][1][1].x = 400;
guardPath[10][1][1].y = 170;
guardPath[10][1][1].speed = 2;
guardPath[10][1][2] = new Object();
guardPath[10][1][2].x = 470;
guardPath[10][1][2].y = 170;
guardPath[10][1][2].speed = 2;
guardPath[10][2] = new Array();
guardPath[10][2][0] = new Object();
guardPath[10][2][0].x = 360;
guardPath[10][2][0].y = -440;
guardPath[10][2][0].speed = 2;
guardPath[10][2][1] = new Object();
guardPath[10][2][1].x = 500;
guardPath[10][2][1].y = -390;
guardPath[10][2][1].speed = 2;
guardPath[10][2][1] = new Object();
guardPath[10][2][1].x = 430;
guardPath[10][2][1].y = -370;
guardPath[10][2][1].speed = 2;
guardPath[10][3] = new Array();
guardPath[10][3][0] = new Object();
guardPath[10][3][0].x = 560;
guardPath[10][3][0].y = -380;
guardPath[10][3][0].speed = 2;
guardPath[10][3][1] = new Object();
guardPath[10][3][1].x = 560;
guardPath[10][3][1].y = -280;
guardPath[10][3][1].speed = 2;
guardPath[10][3][2] = new Object();
guardPath[10][3][2].x = 460;
guardPath[10][3][2].y = -280;
guardPath[10][3][2].speed = 2;
guardPath[10][3][3] = new Object();
guardPath[10][3][3].x = 460;
guardPath[10][3][3].y = -380;
guardPath[10][3][3].speed = 2;
guardPath[10][4] = new Array();
guardPath[10][4][0] = new Object();
guardPath[10][4][0].x = 760;
guardPath[10][4][0].y = -350;
guardPath[10][4][0].speed = 2;
guardPath[10][4][1] = new Object();
guardPath[10][4][1].x = 660;
guardPath[10][4][1].y = -350;
guardPath[10][4][1].speed = 2;
guardPath[10][4][2] = new Object();
guardPath[10][4][2].x = 660;
guardPath[10][4][2].y = -400;
guardPath[10][4][2].speed = 2;
guardPath[10][4][3] = new Object();
guardPath[10][4][3].x = 760;
guardPath[10][4][3].y = -400;
guardPath[10][4][3].speed = 2;
guardPath[10][5] = new Array();
guardPath[10][5][0] = new Object();
guardPath[10][5][0].x = 360;
guardPath[10][5][0].y = -350;
guardPath[10][5][0].speed = 2;
guardPath[10][5][1] = new Object();
guardPath[10][5][1].x = -160;
guardPath[10][5][1].y = -650;
guardPath[10][5][1].speed = 2;
guardPath[10][5][2] = new Object();
guardPath[10][5][2].x = 160;
guardPath[10][5][2].y = -750;
guardPath[10][5][2].speed = 2;
guardPath[10][6] = new Array();
guardPath[10][6][0] = new Object();
guardPath[10][6][0].x = 360;
guardPath[10][6][0].y = -650;
guardPath[10][6][0].speed = 2;
guardPath[10][6][1] = new Object();
guardPath[10][6][1].x = 560;
guardPath[10][6][1].y = -650;
guardPath[10][6][1].speed = 2;
guardPath[10][6][2] = new Object();
guardPath[10][6][2].x = 430;
guardPath[10][6][2].y = -550;
guardPath[10][6][2].speed = 2;
guardPath[10][7] = new Array();
guardPath[10][7][0] = new Object();
guardPath[10][7][0].x = 600;
guardPath[10][7][0].y = -800;
guardPath[10][7][0].speed = 2;
guardPath[10][7][1] = new Object();
guardPath[10][7][1].x = 0;
guardPath[10][7][1].y = -700;
guardPath[10][7][1].speed = 2;
guardPath[10][7][2] = new Object();
guardPath[10][7][2].x = 300;
guardPath[10][7][2].y = -630;
guardPath[10][7][2].speed = 2;
guardPath[10][8] = new Array();
guardPath[10][8][0] = new Object();
guardPath[10][8][0].x = 300;
guardPath[10][8][0].y = -970;
guardPath[10][8][0].speed = 2;
guardPath[10][8][1] = new Object();
guardPath[10][8][1].x = 400;
guardPath[10][8][1].y = -950;
guardPath[10][8][1].speed = 2;
guardPath[10][8][2] = new Object();
guardPath[10][8][2].x = 420;
guardPath[10][8][2].y = -880;
guardPath[10][8][2].speed = 2;
guardPath[10][8][3] = new Object();
guardPath[10][8][3].x = 290;
guardPath[10][8][3].y = -870;
guardPath[10][8][3].speed = 2;
guardPath[10][9] = new Array();
guardPath[10][9][0] = new Object();
guardPath[10][9][0].x = 600;
guardPath[10][9][0].y = -950;
guardPath[10][9][0].speed = 2;
guardPath[10][9][1] = new Object();
guardPath[10][9][1].x = 0;
guardPath[10][9][1].y = -450;
guardPath[10][9][1].speed = 2;
guardPath[10][9][2] = new Object();
guardPath[10][9][2].x = 20;
guardPath[10][9][2].y = -550;
guardPath[10][9][2].speed = 2;
guardPath[10][9][3] = new Object();
guardPath[10][9][3].x = 130;
guardPath[10][9][3].y = -920;
guardPath[10][9][3].speed = 2;
this.playSound("_mainMusic", 9999);
Frame 4
stop();
this.playSound();
attachMovie("fadeOut", "fadeOut", _root.getNextHighestDepth());
Frame 5
this.playSound("_cave", 9999);
head.onEnterFrame = function () {
if ((random(45) == 1) && (this._currentframe == 1)) {
this.play();
}
};
i = 0;
currentTask = 0;
this.onEnterFrame = function () {
bubble.bubble.text = bubble.bubble.text + task[level][currentTask].substr(i, 1);
i++;
};
this.onMouseUp = function () {
currentTask++;
bubble.bubble.text = "";
i = 0;
if (task[level][currentTask] == undefined) {
delete this.onMouseUp;
if (level == 6) {
gotoAndStop ("level6");
} else if (level == 9) {
gotoAndStop ("level9");
} else {
play();
}
}
if (level == 4) {
thug.thug.nextFrame();
}
};
stop();
attachMovie("fadeOut", "fadeOut", _root.getNextHighestDepth());
btnRestart.onRelease = function () {
level = 1;
gotoAndStop ("mainMenu");
};
btnW.onRelease = function () {
getURL ("http://www.mousebreaker.com/games/jailbreak2walkthrough/playgame", "_blank");
};
btnPMG.onRelease = function () {
getURL ("http://mousebreaker.com", "_blank");
};
Instance of Symbol 461 MovieClip "bubble" in Frame 5
onClipEvent (keyDown) {
_root.currentTask++;
_root.bubble.bubble.text = "";
_root.i = 0;
if (_root.task[_root.level][_root.currentTask] == undefined) {
if (_root.level == 6) {
_root.gotoAndStop("level6");
} else if (_root.level == 9) {
_root.gotoAndStop("level9");
} else {
_root.play();
}
}
if (_root.level == 4) {
_root.thug.thug.nextFrame();
}
}
Frame 6
function showMessage(txt) {
removeMovieClip(showMsg);
if ((txt != "") && (txt != undefined)) {
attachMovie("showMsg", "showMsg", _root.getNextHighestDepth());
showMsg.showMsg.text = txt;
}
}
function charMove() {
if (pause == true) {
return(undefined);
}
if (Key.isDown(37) || (Key.isDown(65))) {
this._vx = this._vx - 0.6;
}
if (Key.isDown(39) || (Key.isDown(68))) {
this._vx = this._vx + 0.6;
}
if (Key.isDown(38) || (Key.isDown(87))) {
this._vy = this._vy - 0.6;
}
if (Key.isDown(40) || (Key.isDown(83))) {
this._vy = this._vy + 0.6;
}
if (Key.isDown(32) && (char._currentframe == 1)) {
char.gotoAndPlay("act");
for (i in activeObject) {
if (activeObject[i].hitTest(this.sensor) && (activeObject[i]._currentframe == 1)) {
activeObject[i].play();
}
}
if ((charLayer.guard0.head.hitTest(this.sensor) && (level == 7)) && (key != true)) {
_root.target++;
_root.instructions = _root.inGameText[_root.level][3];
key = true;
_root.topPan.attachMovie("key", "key", _root.topPan.getNextHighestDepth());
}
}
while ((Math.abs(this._vx) + Math.abs(this._vy)) > 6) {
this._vx = this._vx * 0.9;
this._vy = this._vy * 0.9;
}
if ((((bgrLayer.obstacles.hitTest((this._x + 15) + this._vx, this._y + this._vy, true) == false) && (bgrLayer.obstacles.hitTest(this._x + this._vx, (this._y + 15) + this._vy, true) == false)) && (bgrLayer.obstacles.hitTest((this._x - 15) + this._vx, this._y + this._vy, true) == false)) && (bgrLayer.obstacles.hitTest(this._x + this._vx, (this._y - 15) + this._vy, true) == false)) {
this._x = this._x + this._vx;
this._y = this._y + this._vy;
} else if ((((bgrLayer.obstacles.hitTest((this._x + 15) + this._vx, this._y, true) == false) && (bgrLayer.obstacles.hitTest(this._x + this._vx, this._y + 15, true) == false)) && (bgrLayer.obstacles.hitTest((this._x - 15) + this._vx, this._y, true) == false)) && (bgrLayer.obstacles.hitTest(this._x + this._vx, this._y - 15, true) == false)) {
this._x = this._x + this._vx;
} else if ((((bgrLayer.obstacles.hitTest(this._x + 15, this._y + this._vy, true) == false) && (bgrLayer.obstacles.hitTest(this._x, (this._y + 15) + this._vy, true) == false)) && (bgrLayer.obstacles.hitTest(this._x - 15, this._y + this._vy, true) == false)) && (bgrLayer.obstacles.hitTest(this._x, (this._y - 15) + this._vy, true) == false)) {
this._y = this._y + this._vy;
} else {
this._vx = 0;
this._vy = 0;
}
this._vx = this._vx * 0.9;
this._vy = this._vy * 0.9;
if ((((this.foots.l0._y > 10) && (this.foots.l1._y < -10)) || ((this.foots.l0._y < -10) && (this.foots.l1._y > 10))) && (ff >= 3)) {
this.legsIndex = -this.legsIndex;
this.playSound("_step" + random(6));
ff = 0;
}
ff++;
this.foots._v = (Math.abs(this._vx) + Math.abs(this._vy)) * this.legsIndex;
if (this.foots._v > 5) {
this.foots._v = 5;
}
if (this.foots._v < -5) {
this.foots._v = -5;
}
this.foots.l0._y = this.foots.l0._y + this.foots._v;
this.foots.l1._y = this.foots.l1._y - this.foots._v;
this.hands.l0._y = this.hands.l0._y + (this.foots._v * 0.8);
this.hands.l1._y = this.hands.l1._y - (this.foots._v * 0.8);
this.body.gotoAndStop(Math.round(this.hands.l0._y) + 17);
if ((Math.abs(this._vx) > 0.2) || (Math.abs(this._vy) > 0.2)) {
this._rotation = ((-Math.atan2(this._vx, this._vy)) * 180) / 3.141593;
}
this.arrow._rotation = (((-Math.atan2((targetPoint[level][target].x + bgrLayer._x) - this._x, (targetPoint[level][target].y + bgrLayer._y) - this._y)) * 180) / 3.141593) - this._rotation;
if (Math.sqrt((((targetPoint[level][target].x + bgrLayer._x) - this._x) * ((targetPoint[level][target].x + bgrLayer._x) - this._x)) + (((targetPoint[level][target].y + bgrLayer._y) - this._y) * ((targetPoint[level][target].y + bgrLayer._y) - this._y))) < 180) {
this.arrow._visible = false;
if (level == 8) {
this.arrow._y = this.arrow._y + 2000;
}
} else {
this.arrow._visible = true;
}
ab = Math.sqrt((char._vx * char._vx) + (char._vy * char._vy));
if (bgrLayer.finish.hitTest(this._x, this._y) && (allowFinish == true)) {
timeout = setTimeout(nextLevel, 900);
delete this.onEnterFrame;
delete char.onEnterFrame;
delete _root.onEnterFrame;
}
}
function enemyMove() {
if (pause == true) {
return(undefined);
}
this.kickX = this.kickX * 0.8;
this.kickY = this.kickY * 0.8;
if (this.head.hitTest(this.path[this.pos].x + charLayer._x, this.path[this.pos].y + charLayer._y) == false) {
if (this.typ != 1) {
this._rotation = ((Math.atan2(this._vy, this._vx) / 3.141593) * 180) - 90;
}
this.ab = Math.sqrt(((this.path[this.pos].x - this._x) * (this.path[this.pos].x - this._x)) + ((this.path[this.pos].y - this._y) * (this.path[this.pos].y - this._y)));
this._vx = this._vx + (((((this.path[this.pos].x - this._x) / this.ab) * this.path[this.pos].speed) - this._vx) / 15);
this._vy = this._vy + (((((this.path[this.pos].y - this._y) / this.ab) * this.path[this.pos].speed) - this._vy) / 15);
} else {
this._vx = this._vx / 1.3;
this._vy = this._vy * 1.3;
this.pos++;
if (this.path[this.pos].x == undefined) {
this.pos = 0;
}
}
if (((this.bubble._x == undefined) && (random(120) == 1)) && (thoughtBubble[level][this.num] != undefined)) {
this.bubble = topLayer.attachMovie("bubble", "bubble" + this.num, topLayer.getNextHighestDepth(), {_x:this._x, _y:this._y});
this.bubble.t = thoughtBubble[level][this.num];
}
this.bubble._x = this._x;
this.bubble._y = this._y;
if (this.path[this.pos].speed != 0) {
this._x = this._x + this._vx;
this._y = this._y + this._vy;
}
if ((this.hitTest(this.targetX, this.targetY) == true) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (((this.view.hitTest(char._x, char._y, true) || (this.view.hitTest(bl.badLarry._x + bl._x, bl.badLarry._y + bl._y, true))) && (bgrLayer.tabooZone.hitTest(char._x, char._y, true))) && (test != true)) {
this.stop();
timeout = setTimeout(busted, 1500);
delete this.onEnterFrame;
delete char.onEnterFrame;
delete _root.onEnterFrame;
this.transform.colorTransform = redObj;
}
}
function badLarryMove() {
if (pause == true) {
return(undefined);
}
this._vx = (char._x - (this._x + bl._x)) / 10;
this._vy = (char._y - (this._y + bl._y)) / 10;
this.ab = Math.sqrt((this._vx * this._vx) + (this._vy * this._vy));
if ((this.ab > 5) && (ab > 2)) {
this.play();
this._x = this._x + this._vx;
this._y = this._y + this._vy;
this._rotation = ((-Math.atan2(this._vx, this._vy)) * 180) / 3.141593;
} else {
this.stop();
this._vx = 0;
this._vy = 0;
}
}
function focus() {
if (pause == true) {
return(undefined);
}
xoffset = Math.round(((Stage.width / 2) - focusingObj._x) / 10);
yoffset = Math.round(((Stage.height / 2) - focusingObj._y) / 10);
if (((bgr._x + xoffset) > 0) || (((bgr._x + bgr._width) + xoffset) < Stage.width)) {
xoffset = 0;
}
}
function removeObj(obj, arr) {
arr[obj.num] = arr[arr.length - 1];
arr[obj.num].num = obj.num;
arr.pop();
}
function busted() {
score = Math.round(score * 0.9);
clearAll();
clearTimeout(timeout);
gotoAndStop ("busted");
}
function nextLevel() {
if (level != 4) {
score = score + Math.round((level * 1000) / t);
} else {
score = score + 100;
}
clearAll();
level++;
clearTimeout(timeout);
so.data.level = level;
so.data.score = score;
if (level <= 10) {
if (level == 9) {
gotoAndStop ("tunneling");
} else {
gotoAndStop ("task");
}
} else {
gotoAndStop ("win");
}
}
function clearAll() {
char.removeMovieClip();
charLayer.removeMovieClip();
bgrLayer.removeMovieClip();
topLayer.removeMovieClip();
bl.removeMovieClip();
key.removeMovieClip();
topPan.removeMovieClip();
delete this.onEnterFrame;
delete this.onMouseDown;
delete this.onMouseUp;
delete char.onEnterFrame;
bgrLayer.playSound();
}
this.playSound();
allowFinish = true;
activeObject = new Array();
t0 = getTimer();
key = false;
target = 0;
pickaxe = false;
t = undefined;
timeout = undefined;
instructions = inGameText[level][0];
trace("this._currentframe");
if (level == 8) {
weakSpot = random(14);
}
attachMovie("bgr" + level, "bgrLayer", _root.getNextHighestDepth());
createEmptyMovieClip("charLayer", _root.getNextHighestDepth());
attachMovie("char", "char", _root.getNextHighestDepth(), {_x:charPos[level].x, _y:charPos[level].y});
char.legsIndex = 1;
createEmptyMovieClip("topLayer", _root.getNextHighestDepth());
attachMovie("topPan", "topPan", _root.getNextHighestDepth());
topPan.btnPause.onRelease = function () {
pause = !pause;
if (pause == true) {
_root.transform.colorTransform = darkObj;
} else {
_root.transform.colorTransform = defaultObj;
}
};
if (level == 4) {
topPan.attachMovie("timer", "timer", topPan.getNextHighestDepth());
}
for (i in guardPath[level]) {
if (((level == 3) && (guardPath[level][i][0].y > 640)) && (guardPath[level][i][0].y < 1500)) {
typ = 1;
} else if (((level == 4) && (guardPath[level][i][0].y > -1360)) && (guardPath[level][i][0].y < -500)) {
typ = 1;
} else if ((level == 8) && (i == 0)) {
typ = 3;
} else if ((level == 8) && (i == 1)) {
typ = 4;
} else if ((level == 8) && (i == 2)) {
typ = 5;
} else if (guardPath[level][i][0].typ == 6) {
typ = 6;
} else {
typ = 0;
}
guard = charLayer.attachMovie("guard" + typ, "guard" + i, charLayer.getNextHighestDepth(), {_x:guardPath[level][i][0].x, _y:guardPath[level][i][0].y});
guard.path = new Array();
for (j in guardPath[level][i]) {
guard.path[j] = new Object();
for (jj in guardPath[level][i][j]) {
guard.path[j][jj] = guardPath[level][i][j][jj];
}
}
guard.pos = 1;
guard.num = i;
guard.typ = typ;
guard._vx = (guard._vy = 0);
guard.onEnterFrame = enemyMove;
}
if (level == 10) {
createEmptyMovieClip("bl", _root.getNextHighestDepth());
bl.attachMovie("badLarry", "badLarry", bl.getNextHighestDepth(), {_x:char._x, _y:char._y + 30});
bl.badLarry.onEnterFrame = badLarryMove;
}
charLayer.setMask(bgrLayer.tabooZone2);
if (level == 7) {
charLayer.guard1._vy = 1;
charLayer.guard1.gotoAndStop(9);
} else if (level == 8) {
charLayer.guard1._rotation = -45;
charLayer.guard3._vx = -1;
charLayer.guard3.gotoAndStop(7);
charLayer.guard4._vx = -1;
charLayer.guard4.gotoAndStop(7);
charLayer.guard5._vx = -1;
charLayer.guard5.gotoAndStop(7);
charLayer.guard6._vx = -1;
charLayer.guard6.gotoAndStop(7);
charLayer.guard7._vx = -1;
charLayer.guard7.gotoAndStop(7);
charLayer.guard8._vx = -1;
charLayer.guard8.gotoAndStop(7);
charLayer.guard9._vx = -1;
charLayer.guard9.gotoAndStop(7);
charLayer.guard10._vx = -1;
charLayer.guard10.gotoAndStop(7);
}
attachMovie("fadeOut", "fadeOut", _root.getNextHighestDepth());
char.onEnterFrame = charMove;
focusingObj = char;
char._vx = (char._vy = 0);
pause = false;
this.onEnterFrame = function () {
if (level == 4) {
if ((t > 0) || (t == undefined)) {
t = 40 - Math.round((getTimer() - t0) / 1000);
topPan.timer.timer.text = t;
} else {
charLayer.guard0.path = new Array();
charLayer.guard0.path[0] = new Object();
charLayer.guard0.path[0].x = 455;
charLayer.guard0.path[0].y = -1690;
charLayer.guard0.path[0].speed = 2;
charLayer.guard0.path[1] = new Object();
charLayer.guard0.path[1].x = 430;
charLayer.guard0.path[1].y = -1900;
charLayer.guard0.path[1].speed = 2;
}
} else {
t = Math.round((getTimer() - t0) / 1000);
}
if (pause == true) {
return(undefined);
}
focus();
charLayer._x = charLayer._x + xoffset;
charLayer._y = charLayer._y + yoffset;
topLayer._x = topLayer._x + xoffset;
topLayer._y = topLayer._y + yoffset;
bgrLayer._y = bgrLayer._y + yoffset;
bgrLayer._x = bgrLayer._x + xoffset;
bl._y = bl._y + yoffset;
bl._x = bl._x + xoffset;
char._x = char._x + xoffset;
char._y = char._y + yoffset;
};
showMessage("");
stop();
Frame 7
stop();
Frame 8
function missileMove() {
this._vy = this._xscale;
this._x = this._x - ((this._x - this.targetX) / 5);
this._y = this._y - (((this._y - this.targetY) / 5) + this._vy);
this.ab = Math.sqrt(((arrow._x - this._x) * (arrow._x - this._x)) + ((arrow._y - this._y) * (arrow._y - this._y)));
this._xscale = (this._yscale = this._yscale * 0.9);
if (this._xscale < 5) {
arrow._visible = true;
attachMovie("pyl", "pyl", _root.getNextHighestDepth(), {_x:this._x, _y:this._y});
pyl.playSound("_hit");
if (glass.hitTest(this._x, this._y, true) && (glass._currentframe == 1)) {
glass.nextFrame();
} else if (shkaf.pills.hitTest(this._x, this._y, true)) {
shkaf.pills.gotoAndPlay(2);
}
if (shkaf.hitTest(this._x, this._y, true)) {
shkaf.play();
}
if ((stones <= 0) && (shkaf.pills._currentframe == 1)) {
busted();
}
removeMovieClip(this);
}
}
stop();
this.playSound();
power = 0;
stones = 6;
powerPanel._visible = false;
_root.instructions = _root.inGameText[_root.level][0];
this.onEnterFrame = function () {
arrow._rotation = ((Math.atan2(arrow._y - _ymouse, arrow._x - _xmouse) / Math.PI) * 180) - 90;
if (click == true) {
power = power + 20;
}
powerPanel.gotoAndStop(power);
};
this.onMouseDown = function () {
if ((stone._x != undefined) || (shkaf.pills._currentframe != 1)) {
return(undefined);
}
click = true;
powerPanel._visible = true;
stone.removeMovieClip();
power = 0;
};
this.onMouseUp = function () {
powerPanel._visible = false;
if ((((stone._x != undefined) || (shkaf.pills._currentframe != 1)) || (click != true)) || (power < 200)) {
return(undefined);
}
click = false;
arrow._visible = false;
ab = Math.sqrt(((arrow._x - _xmouse) * (arrow._x - _xmouse)) + ((arrow._y - _ymouse) * (arrow._y - _ymouse)));
dirX = (_xmouse - arrow._x) / ab;
dirY = (_ymouse - arrow._y) / ab;
if (power > 800) {
power = 800;
}
stones--;
stonesPanel.gotoAndStop(stones + 1);
attachMovie("stone", "stone", _root.getNextHighestDepth(), {_x:Stage.width, _y:Stage.height});
stone.playSound("_shot");
stone.onEnterFrame = missileMove;
stone.targetX = (arrow._x + (dirX * power)) - 50;
stone.targetY = arrow._y + (dirY * power);
stone._vy = power / 5;
stone.koef = 0;
};
Frame 9
function missileMove() {
this._vy = this._xscale;
this._x = this._x - ((this._x - this.targetX) / 5);
this._y = this._y - (((this._y - this.targetY) / 5) + this._vy);
this.ab = Math.sqrt(((arrow._x - this._x) * (arrow._x - this._x)) + ((arrow._y - this._y) * (arrow._y - this._y)));
this._xscale = (this._yscale = this._yscale * 0.9);
if (this._xscale < 5) {
arrow._visible = true;
attachMovie("pyl", "pyl", _root.getNextHighestDepth(), {_x:this._x, _y:this._y});
pyl.playSound("_hit");
pyl._xscale = (pyl._yscale = 30);
i = 0;
while (i < 4) {
if (_root["p" + i].glass.hitTest(this._x, this._y, true) && (_root["p" + i]._currentframe == 1)) {
_root["p" + i].nextFrame();
hits++;
}
i++;
}
if (hits >= 4) {
timeout = setTimeout(nextLevel, 1500);
delete this.onEnterFrame;
}
removeMovieClip(this);
}
}
stop();
this.playSound();
power = 0;
hits = 0;
stones = 98;
t0 = getTimer();
t = 60;
_root.instructions = _root.inGameText[_root.level][0];
powerPanel._visible = false;
topPan.attachMovie("timer", "timer", topPan.getNextHighestDepth());
this.onEnterFrame = function () {
if (t > 0) {
t = 60 - Math.round((getTimer() - t0) / 1000);
topPan.timer.timer.text = t;
} else {
timeout = setTimeout(busted, 1500);
delete this.onEnterFrame;
}
arrow._rotation = ((Math.atan2(arrow._y - _ymouse, arrow._x - _xmouse) / 3.141593) * 180) - 90;
if (click == true) {
power = power + 20;
}
powerPanel.gotoAndStop(power);
};
this.onMouseDown = function () {
if (((stone._x != undefined) || (hits >= 4)) || (stones <= 0)) {
return(undefined);
}
click = true;
powerPanel._visible = true;
stone.removeMovieClip();
power = 0;
};
this.onMouseUp = function () {
powerPanel._visible = false;
if ((((stone._x != undefined) || (hits >= 4)) || (click != true)) || (power < 200)) {
return(undefined);
}
click = false;
arrow._visible = false;
ab = Math.sqrt(((arrow._x - _xmouse) * (arrow._x - _xmouse)) + ((arrow._y - _ymouse) * (arrow._y - _ymouse)));
dirX = (_xmouse - arrow._x) / ab;
dirY = (_ymouse - arrow._y) / ab;
if (power > 800) {
power = 800;
}
stones--;
stonesPanel.gotoAndStop(stones + 1);
attachMovie("stone", "stone", _root.getNextHighestDepth(), {_x:Stage.width, _y:Stage.height});
stone.playSound("_shot");
stone.onEnterFrame = missileMove;
stone.targetX = (arrow._x + (dirX * power)) - (-70 * dirX);
stone.targetY = arrow._y + (dirY * power);
stone._vy = power / 5;
stone.koef = 0;
};
Frame 10
stop();
attachMovie("fadeOut", "fadeOut", _root.getNextHighestDepth());
Frame 11
attachMovie("fadeOut", "fadeOut", _root.getNextHighestDepth());
this.playSound("_mainMusic", 9999);
Frame 12
attachMovie("fadeOut", "fadeOut", _root.getNextHighestDepth());
sc.text = "You scored " + score;
btnAgain.onRelease = function () {
_root.gotoAndPlay("mainMenu");
};
btnSubmit.onRelease = function () {
if ((playerName == undefined) || (playerName == "")) {
return(undefined);
}
_root.gotoAndPlay("highscores");
};
btnPMG.onRelease = function () {
getURL ("http://mousebreaker.com", "_blank");
};
stop();
Frame 13
stop();
Instance of Symbol 622 MovieClip "xyz" in Frame 13
onClipEvent (load) {
score = _level0.score;
playerName = _level0.playerName;
this.loadVariables("highscores_jailbreak2.php?" + int(Math.random() * 100000), "POST");
}
Symbol 14 MovieClip Frame 63
this._parent.enemy.bubble = undefined;
this._parent.removeMovieClip();
Symbol 18 MovieClip [bubble] Frame 1
stop();
if (this._x < (Stage.width / 2)) {
gotoAndStop (2);
}
Symbol 45 MovieClip [pyl] Frame 11
removeMovieClip(this);
stop();
Symbol 48 MovieClip [fadeOut] Frame 22
removeMovieClip(this);
Symbol 51 MovieClip [fadeIn] Frame 57
stop();
Symbol 78 MovieClip [smoke] Frame 14
removeMovieClip(this);
stop();
Symbol 81 MovieClip [showMsg] Frame 159
removeMovieClip(this);
Symbol 113 MovieClip [char] Frame 1
stop();
Symbol 113 MovieClip [char] Frame 2
play();
Symbol 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 266
gotoAndPlay (2);
Symbol 128 MovieClip Frame 1
t = new Array();
t[0] = "Arms getting tired now...";
t[1] = "Inmate #2324242 SMASH!";
t[2] = "Feel the buuuuuurn!";
t[3] = "I need a hug.";
this.onEnterFrame = function () {
if ((this.bubble._x == undefined) && (random(120) == 1)) {
var _local3 = {x:0, y:0};
this.localToGlobal(_local3);
this.bubble = _root.topLayer.attachMovie("bubble", "bubblePunching", _root.topLayer.getNextHighestDepth(), {_x:_local3.x - _root.topLayer._x, _y:_local3.y - _root.topLayer._y});
this.bubble.t = t[random(4)];
}
};
Symbol 134 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 1
t = new Array();
t[0] = "Oh, to be young again.";
t[1] = "Now where did I put my me slippers?";
t[2] = "Now where's me crossword?";
t[3] = "I could murder a cuppa";
this.onEnterFrame = function () {
if ((this.bubble._x == undefined) && (random(120) == 1)) {
var _local3 = {x:0, y:0};
this.localToGlobal(_local3);
this.bubble = _root.topLayer.attachMovie("bubble", "bubbleLarry", _root.topLayer.getNextHighestDepth(), {_x:_local3.x - _root.topLayer._x, _y:_local3.y - _root.topLayer._y});
this.bubble.t = t[random(4)];
}
};
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 2
if (_root.key != true) {
if (_root.target == 0) {
_root.target++;
}
gotoAndStop (1);
_root.instructions = _root.inGameText[_root.level][1];
} else {
_root.bgrLayer.playSound("_siren", 50);
_root.instructions = _root.inGameText[_root.level][4];
this._parent._parent.alarm.gotoAndPlay(2);
_root.charLayer.guard3.path[2].x = -900;
_root.charLayer.guard3.path[2].y = 400;
_root.charLayer.guard3.path[3] = new Object();
_root.charLayer.guard3.path[3].x = -900;
_root.charLayer.guard3.path[3].y = 580;
_root.charLayer.guard3.path[3].speed = 2;
_root.charLayer.guard3.path[4] = new Object();
_root.charLayer.guard3.path[4].x = -910;
_root.charLayer.guard3.path[4].y = 570;
_root.charLayer.guard3.path[4].speed = 2;
_root.charLayer.guard3.pos = 2;
_root.charLayer.guard4.path[0].x = -890;
_root.charLayer.guard4.path[0].y = 400;
_root.charLayer.guard4.path[1] = new Object();
_root.charLayer.guard4.path[1].x = -890;
_root.charLayer.guard4.path[1].y = 580;
_root.charLayer.guard4.path[1].speed = 3;
_root.charLayer.guard4.path[2] = new Object();
_root.charLayer.guard4.path[2].x = -980;
_root.charLayer.guard4.path[2].y = 570;
_root.charLayer.guard4.path[2].speed = 2;
_root.charLayer.guard4.path[3] = new Object();
_root.charLayer.guard4.path[3].x = -990;
_root.charLayer.guard4.path[3].y = 670;
_root.charLayer.guard4.path[3].speed = 2;
_root.charLayer.guard4.path[4] = new Object();
_root.charLayer.guard4.path[4].x = -860;
_root.charLayer.guard4.path[4].y = 670;
_root.charLayer.guard4.path[4].speed = 2;
_root.charLayer.guard4.path[5] = new Object();
_root.charLayer.guard4.path[5].x = -900;
_root.charLayer.guard4.path[5].y = 580;
_root.charLayer.guard4.path[5].speed = 2;
_root.charLayer.guard4.pos = 0;
_root.charLayer.guard1.play();
_root.charLayer.guard1.path = new Array();
_root.charLayer.guard1.path[0] = new Object();
_root.charLayer.guard1.path[0].x = -205;
_root.charLayer.guard1.path[0].y = 250;
_root.charLayer.guard1.path[0].speed = 2;
_root.charLayer.guard1.path[1] = new Object();
_root.charLayer.guard1.path[1].x = -205;
_root.charLayer.guard1.path[1].y = 450;
_root.charLayer.guard1.path[1].speed = 2;
_root.charLayer.guard1.path[2] = new Object();
_root.charLayer.guard1.path[2].x = -205;
_root.charLayer.guard1.path[2].y = 260;
_root.charLayer.guard1.path[2].speed = 2;
_root.charLayer.guard1.path[3] = new Object();
_root.charLayer.guard1.path[3].x = -145;
_root.charLayer.guard1.path[3].y = 160;
_root.charLayer.guard1.path[3].speed = 2;
_root.charLayer.guard1.path[4] = new Object();
_root.charLayer.guard1.path[4].x = -105;
_root.charLayer.guard1.path[4].y = 150;
_root.charLayer.guard1.path[4].speed = 2;
_root.charLayer.guard1.pos = 1;
_root.charLayer.guard1._vx = 0;
_root.charLayer.guard1._vy = 0;
_root.charLayer.guard2.path[0].x = -890;
_root.charLayer.guard2.path[0].y = 400;
_root.charLayer.guard2.path[1] = new Object();
_root.charLayer.guard2.path[1].x = -890;
_root.charLayer.guard2.path[1].y = 580;
_root.charLayer.guard2.path[1].speed = 3;
_root.charLayer.guard2.path[2] = new Object();
_root.charLayer.guard2.path[2].x = -800;
_root.charLayer.guard2.path[2].y = 570;
_root.charLayer.guard2.path[2].speed = 2;
_root.charLayer.guard2.path[3] = new Object();
_root.charLayer.guard2.path[3].x = -800;
_root.charLayer.guard2.path[3].y = 650;
_root.charLayer.guard2.path[3].speed = 2;
_root.charLayer.guard2.path[4] = new Object();
_root.charLayer.guard2.path[4].x = -900;
_root.charLayer.guard2.path[4].y = 580;
_root.charLayer.guard2.path[4].speed = 2;
_root.charLayer.guard2.path[5] = new Object();
_root.charLayer.guard2.path[5].x = -890;
_root.charLayer.guard2.path[5].y = 400;
_root.charLayer.guard2.path[5].speed = 2;
_root.charLayer.guard2.path[6] = new Object();
_root.charLayer.guard2.path[6].x = -540;
_root.charLayer.guard2.path[6].y = 200;
_root.charLayer.guard2.path[6].speed = 2;
_root.charLayer.guard2.path[7] = new Object();
_root.charLayer.guard2.path[7].x = -560;
_root.charLayer.guard2.path[7].y = 300;
_root.charLayer.guard2.path[7].speed = 2;
_root.charLayer.guard2.pos = 0;
_root.topPan.key.removeMovieClip();
}
Symbol 144 MovieClip Frame 12
stop();
Symbol 148 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 12
stop();
Symbol 150 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 2
_root.charLayer.guard0.path[0].x = -210;
_root.charLayer.guard0.path[0].y = 300;
_root.charLayer.guard0.path[1].x = -200;
_root.charLayer.guard0.path[1].y = 545;
_root.charLayer.guard0.num = 10;
this._parent._parent.light.gotoAndPlay(2);
_root.instructions = _root.inGameText[_root.level][2];
stop();
_root.target = 2;
panel.onEnterFrame = function () {
if (this.hitTest(_root.charLayer.guard0.head)) {
delete _root.charLayer.guard0.path;
delete this.onEnterFrame;
_root.charLayer.guard0.gotoAndStop(10);
}
};
Symbol 161 MovieClip Frame 1
_root.activeObject.push(obj0);
_root.activeObject.push(obj1);
_root.activeObject.push(obj2);
_root.activeObject.push(obj3);
_root.activeObject.push(obj4);
_root.activeObject.push(obj5);
_root.activeObject.push(obj6);
_root.activeObject.push(obj7);
Symbol 164 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 31
gotoAndPlay (2);
Symbol 170 MovieClip [bgr7] Frame 1
pickaxe.onEnterFrame = function () {
if (_root.char.head.hitTest(this) && (_root.pickaxe != true)) {
_root.instructions = _root.inGameText[_root.level][5];
_root.target = 4;
this._visible = false;
_root.topPan.attachMovie("pickaxe", "pickaxe", _root.topPan.getNextHighestDepth());
_root.pickaxe = true;
_root.allowFinish = true;
}
};
_root.allowFinish = false;
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 15
stop();
Symbol 189 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 2
if (Number(this._name.substr(4, 2)) == _root.weakSpot) {
this.playSound("_pickaxe1");
this.transform.colorTransform = _root.redObj;
_root.timeout = setTimeout(_root.nextLevel, 900);
delete _root.char.onEnterFrame;
delete _root.onEnterFrame;
}
if (_root.charLayer.guard0._currentframe == 1) {
_root.charLayer.guard3.num = 33;
_root.charLayer.guard3._vx = 0;
_root.charLayer.guard3._vy = 0;
_root.charLayer.guard3.pos = 0;
_root.charLayer.guard3.path[0] = new Object();
_root.charLayer.guard3.path[0].x = 720;
_root.charLayer.guard3.path[0].y = -430;
_root.charLayer.guard3.path[0].speed = 2;
_root.charLayer.guard3.path[1] = new Object();
_root.charLayer.guard3.path[1].x = 797;
_root.charLayer.guard3.path[1].y = -430;
_root.charLayer.guard3.path[1].speed = 2;
_root.charLayer.guard3.path[2] = new Object();
_root.charLayer.guard3.path[2].x = 797;
_root.charLayer.guard3.path[2].y = -830;
_root.charLayer.guard3.path[2].speed = 2;
_root.charLayer.guard3.path[3] = new Object();
_root.charLayer.guard3.path[3].x = 797;
_root.charLayer.guard3.path[3].y = -430;
_root.charLayer.guard3.path[3].speed = 2;
_root.charLayer.guard3.play();
_root.charLayer.guard4.num = 44;
_root.charLayer.guard4._vx = 0;
_root.charLayer.guard4._vy = 0;
_root.charLayer.guard4.pos = 0;
_root.charLayer.guard4.path[0] = new Object();
_root.charLayer.guard4.path[0].x = 700;
_root.charLayer.guard4.path[0].y = -925;
_root.charLayer.guard4.path[0].speed = 2;
_root.charLayer.guard4.path[1] = new Object();
_root.charLayer.guard4.path[1].x = 785;
_root.charLayer.guard4.path[1].y = -925;
_root.charLayer.guard4.path[1].speed = 2;
_root.charLayer.guard4.path[2] = new Object();
_root.charLayer.guard4.path[2].x = 785;
_root.charLayer.guard4.path[2].y = -430;
_root.charLayer.guard4.path[2].speed = 2;
_root.charLayer.guard4.path[3] = new Object();
_root.charLayer.guard4.path[3].x = 785;
_root.charLayer.guard4.path[3].y = -925;
_root.charLayer.guard4.path[3].speed = 2;
_root.charLayer.guard4.play();
}
Symbol 189 MovieClip Frame 4
gotoAndStop (1);
Symbol 190 MovieClip Frame 1
_root.activeObject.push(obj0);
_root.activeObject.push(obj1);
_root.activeObject.push(obj2);
_root.activeObject.push(obj3);
_root.activeObject.push(obj4);
Symbol 197 MovieClip Frame 1
if (_root.weakSpot == undefined) {
_root.weakSpot = random(10);
}
this["wall" + _root.weakSpot].gotoAndStop("broken");
this["wall" + _root.weakSpot].onEnterFrame = function () {
if (this.hitTest(_root.char)) {
_root.nextLevel();
}
};
Symbol 207 MovieClip Frame 1
_root.activeObject.push(wall0);
_root.activeObject.push(wall1);
_root.activeObject.push(wall2);
_root.activeObject.push(wall3);
_root.activeObject.push(wall4);
_root.activeObject.push(wall5);
_root.activeObject.push(wall6);
_root.activeObject.push(wall7);
_root.activeObject.push(wall8);
_root.activeObject.push(wall9);
_root.activeObject.push(wall10);
_root.activeObject.push(wall11);
_root.activeObject.push(wall12);
_root.activeObject.push(wall13);
_root.activeObject.push(obj0);
_root.activeObject.push(obj1);
_root.activeObject.push(obj2);
Symbol 208 MovieClip [bgr8] Frame 1
_root.allowFinish = false;
Symbol 214 MovieClip Frame 1
stop();
pills.onEnterFrame = function () {
if (this.hitTest(_root.charLayer.guard0) && (_root.timeout == undefined)) {
if (_root.allowFinish == true) {
_root.nextLevel();
} else {
_root.busted();
}
delete this.onEnterFrame;
}
};
Symbol 214 MovieClip Frame 2
_root.allowFinish = true;
stop();
guardPath = new Array();
guardPath[0] = new Object();
guardPath[0].x = 575;
guardPath[0].y = -1925;
guardPath[0].speed = 2;
guardPath[1] = new Object();
guardPath[1].x = 500;
guardPath[1].y = -1820;
guardPath[1].speed = 2;
guard = _root.charLayer.attachMovie("guard2", "guard20", _root.charLayer.getNextHighestDepth(), {_x:guardPath[0].x, _y:guardPath[0].y});
guard.path = guardPath;
guard.pos = 1;
guard.typ = 2;
guard._vx = (guard._vy = 0);
guard.onEnterFrame = _root.enemyMove;
this._parent.wozza._visible = false;
Symbol 216 MovieClip Frame 1
stop();
Symbol 216 MovieClip Frame 10
stop();
_root.target++;
_root.allowFinish = true;
_root.topPan.attachMovie("cig", "cig", _root.topPan.getNextHighestDepth());
_root.instructions = _root.inGameText[_root.level][2];
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 11
stop();
Symbol 225 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 15
stop();
Symbol 231 MovieClip Frame 1
_root.activeObject.push(obj0);
_root.activeObject.push(obj1);
_root.activeObject.push(obj2);
Symbol 234 MovieClip [bgr4] Frame 1
_root.allowFinish = false;
Symbol 236 MovieClip Frame 1
if (_root.level == 3) {
this.onEnterFrame = function () {
if ((this.bubble._x == undefined) && (random(120) == 1)) {
var _local3 = {x:0, y:0};
this.localToGlobal(_local3);
this.bubble = _root.topLayer.attachMovie("bubble", "bubbleLarry", _root.topLayer.getNextHighestDepth(), {_x:_local3.x - _root.topLayer._x, _y:_local3.y - _root.topLayer._y});
this.bubble.t = "Good thing I'm a Newcastle fan, otherwise this outfit would look silly.";
}
};
}
Symbol 240 MovieClip Frame 1
_root.activeObject.push(obj0);
_root.activeObject.push(obj1);
_root.activeObject.push(obj2);
_root.activeObject.push(obj3);
_root.activeObject.push(obj4);
_root.activeObject.push(obj5);
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 15
stop();
_root.instructions = _root.inGameText[_root.level][1];
Symbol 249 MovieClip Frame 1
_root.activeObject.push(obj0);
_root.activeObject.push(obj1);
_root.activeObject.push(obj2);
_root.activeObject.push(obj3);
_root.activeObject.push(obj4);
Symbol 253 MovieClip [bgr2] Frame 1
_root.allowFinish = false;
Symbol 257 MovieClip [bgr1] Frame 1
_root.allowFinish = true;
obj.onEnterFrame = function () {
if (this.hitTest(_root.char)) {
_root.instructions = _root.inGameText[_root.level][1];
delete this.onEnterFrame;
}
};
Symbol 264 MovieClip [guard5] Frame 1
stop();
Symbol 272 MovieClip [guard4] Frame 11
_root.charLayer.guard0.gotoAndPlay("act");
Symbol 283 MovieClip [guard3] Frame 1
stop();
Symbol 283 MovieClip [guard3] Frame 13
_root.cheering();
Symbol 331 MovieClip [key] Frame 58
stop();
Symbol 334 MovieClip [pickaxe] Frame 70
stop();
Symbol 339 MovieClip [cig] Frame 82
stop();
Symbol 349 MovieClip Frame 1
stop();
Symbol 357 MovieClip [topPan] Frame 1
if (_root.mute == true) {
btnMute.gotoAndStop(2);
}
btnMute.onRelease = function () {
_root.mute = !_root.mute;
if (this._currentframe == 1) {
_root.thisSound.setVolume(0);
this.gotoAndStop(2);
} else {
_root.thisSound.setVolume(100);
this.gotoAndStop(1);
}
};
btnRestart.onRelease = function () {
_root.score = _root.score * 0.9;
_root.gotoAndStop("task");
_root.clearAll();
};
Symbol 382 MovieClip Frame 7
gotoAndPlay (1);
Symbol 385 MovieClip Frame 32
gotoAndPlay (1);
Symbol 391 MovieClip Frame 1
Symbol 391 MovieClip Frame 19
stop();
Symbol 405 MovieClip Frame 36
gotoAndPlay (1);
Symbol 407 MovieClip Frame 208
_root.play();
Symbol 449 MovieClip Frame 247
_root.play();
Symbol 453 Button
on (release) {
_root.play();
}
Symbol 469 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 1
stop();
head.onEnterFrame = function () {
if ((random(45) == 1) && (this._currentframe == 1)) {
this.play();
}
};
Symbol 473 MovieClip Frame 1
stop();
Symbol 480 MovieClip Frame 1
stop();
Symbol 481 MovieClip Frame 1
stop();
if (_root.level >= 4) {
nextFrame();
}
Symbol 513 MovieClip Frame 120
_root.gotoAndStop("task");
Symbol 514 Button
on (release) {
_root.gotoAndStop("task");
}
Symbol 522 MovieClip Frame 1
stop();
Symbol 522 MovieClip Frame 70
stop();
_root.nextLevel();
Symbol 528 MovieClip Frame 1
stop();
Symbol 534 MovieClip Frame 1
stop();
Symbol 539 MovieClip Frame 1
stop();
Symbol 544 MovieClip Frame 1
stop();
Symbol 544 MovieClip Frame 800
stop();
Symbol 545 MovieClip Frame 7
stop();
Symbol 560 MovieClip Frame 1
stop();
Symbol 565 MovieClip Frame 1
stop();
Symbol 571 MovieClip Frame 1
stop();
Symbol 571 MovieClip Frame 800
stop();
Symbol 573 MovieClip Frame 9
stop();
Symbol 585 MovieClip Frame 192
_root.gotoAndStop("task");
Symbol 607 MovieClip Frame 63
this._parent.enemy.bubble = undefined;
this._parent.removeMovieClip();
Symbol 609 MovieClip Frame 1
stop();
if (this._x < (Stage.width / 2)) {
gotoAndStop (2);
}
Symbol 611 MovieClip Frame 1
stop();
if (this._x < (Stage.width / 2)) {
gotoAndStop (2);
}
Symbol 613 MovieClip Frame 1
stop();
if (this._x < (Stage.width / 2)) {
gotoAndStop (2);
}
Symbol 615 MovieClip Frame 265
_root.play();