Combined Code
// unknown tag 88 length 68
// unknown tag 88 length 19
movieClip 18 {
}
movieClip 19 {
frame 7 {
stop();
}
}
movieClip 25 {
frame 12 {
stop();
}
}
movieClip 26 {
frame 8 {
stop();
}
}
button 27 {
on (release) {
getURL('http://www.facebook.com/ChrisJeffGames', '_blank');
}
}
movieClip 29 {
}
movieClip 30 {
frame 7 {
stop();
}
}
movieClip 31 {
frame 8 {
stop();
}
}
button 32 {
on (release) {
getURL('https://twitter.com/#!/ChrisJeffGames', '_blank');
}
}
movieClip 39 {
}
button 44 {
on (release) {
_root.play();
}
}
movieClip 45 {
frame 1 {
stop();
}
}
movieClip 47 {
}
movieClip 48 {
frame 1 {
function timerHandler() {
if (!loadingComplete) {
var v2 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * v2;
if (v2 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
return undefined;
}
gotoAndStop('loaded');
return undefined;
}
}
}
function startMovie() {
_root.play();
}
_root.stop();
stop();
var AUTO_PLAY = false;
var loadingComplete = false;
timerHandler();
}
instance of movieClip 39 {
onClipEvent (enterFrame) {
_parent.timerHandler();
}
}
frame 2 {
stop();
if (_root.whichsite == 'armor') {
_root.play();
}
}
instance of movieClip 45 {
onClipEvent (load) {
this.gotoAndStop(2);
}
}
}
movieClip 53 {
}
movieClip 54 {
}
movieClip 55 {
frame 7 {
stop();
}
}
movieClip 57 {
}
movieClip 58 {
}
movieClip 59 {
frame 8 {
stop();
}
}
button 60 {
on (release) {
getURL('http://www.chris-jeff.com', '_blank');
}
}
movieClip 63 {
}
movieClip 64 {
frame 7 {
stop();
}
}
movieClip 66 {
frame 8 {
stop();
}
}
button 67 {
on (release) {
getURL('http://www.nch-productions.com/', '_blank');
}
}
movieClip 71 {
}
movieClip 76 {
}
movieClip 77 {
frame 7 {
stop();
}
}
movieClip 79 {
frame 8 {
stop();
}
}
button 80 {
on (release) {
getURL('http://armor.ag/MoreGames', '_blank');
}
}
movieClip 82 {
}
movieClip 84 {
}
movieClip 85 {
}
instance of movieClip 85 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
Mouse.hide();
if (Key.isDown(1)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
frame 1 {
function itemHandler1(obj, item) {
getURL('http://chris-jeff.com', '_blank');
}
function itemHandler2(obj, item) {
getURL('http://nch-productions.com', '_blank');
}
function itemHandler8(obj, item) {}
function itemHandler3(obj, item) {
global.setVolume(100);
_root.mutebut.gotoAndStop(1);
}
function itemHandler4(obj, item) {
global.setVolume(0);
_root.mutebut.gotoAndStop(2);
}
function itemHandler5(obj, item) {
_quality = 'high';
}
function itemHandler6(obj, item) {
_quality = 'medium';
}
function itemHandler7(obj, item) {
_quality = 'low';
}
function addtodeaths() {
++_root.totaldeaths;
++_root.deaths;
}
function save() {
savefile.data.trophies = _root.trophies;
savefile.data.fails = _root.fails;
savefile.data.deaths = _root.deaths;
savefile.data.besttime = _root.besttime;
savefile.data.bestaudience = _root.bestaudience;
savefile.data.bestfails = _root.bestfails;
savefile.data.bestdeaths = _root.bestdeaths;
savefile.data.totalfails = _root.totalfails;
savefile.data.totaldeaths = _root.totaldeaths;
savefile.data.completes = _root.completes;
savefile.data.totaltime = _root.totaltime;
savefile.data.secretroom = _root.secretroom;
savefile.flush();
}
function bottimergo() {
function countdownbot() {
bottime1 += 0.1;
_root.hmsbottime = tc.secondsToTimecode(_root.bottime1);
bottime = int(bottime1 * 10) / 10;
if (bottime % 1 == 0) {
bottime += '.0';
}
bottimer.text = time;
}
platbottimer = setInterval(countdownbot, 100);
}
function stopcounting() {
clearInterval(countdownbot);
clearInterval(platbottimer);
}
root_cm = new ContextMenu();
root_cm.hideBuiltInItems();
aaa_cmi = new ContextMenuItem('Developed by ChrisJeff Games', itemHandler1);
bbb_cmi = new ContextMenuItem('Art and Animation by NCHproductions', itemHandler2);
zzz_cmi = new ContextMenuItem('Music by Waterflame/SFX by Skybase', itemHandler8);
ccc_cmi = new ContextMenuItem('Music On', itemHandler3);
ddd_cmi = new ContextMenuItem('Music Off', itemHandler4);
eee_cmi = new ContextMenuItem('High Quality', itemHandler5);
fff_cmi = new ContextMenuItem('Mid Quality', itemHandler6);
ggg_cmi = new ContextMenuItem('Low Quality', itemHandler7);
ccc_cmi.separatorBefore = true;
eee_cmi.separatorBefore = true;
root_cm.customItems.push(aaa_cmi, bbb_cmi, zzz_cmi, ccc_cmi, ddd_cmi, eee_cmi, fff_cmi, ggg_cmi);
_root.menu = root_cm;
_root.chair1 = false;
_root.chair2 = false;
_root.fridge1 = false;
_root.fridge2 = false;
_root.television = false;
var maxplats = 30;
var maxceil = 20;
__com_mochibot__('f29c4c6b', this, 10301, true);
global = new Sound();
stop();
var trophies = 0;
Stage.scaleMode = 'noborder';
var fails = 0;
var deaths = 0;
var besttime = 'na';
var bestaudience = 'na';
var bestfails = 'na';
var bestdeaths = 'na';
var totalfails = 0;
var totaldeaths = 0;
var completes = 0;
var totaltime = 0;
var secretroom = 'na';
var savefile = SharedObject.getLocal('AboveAverageGuy');
_root.whichsite = 'armor';
lockthisbusiness = true;
if (lockthisbusiness == true) {
}
var testing = false;
var bottime1 = 0;
var tc = new com.ronnieswietek.utils.TimecodesAS2();
}
movieClip 7 sdf {
}
movieClip 12 fps {
frame 1 {
fps = 30;
var timeinit = new Date();
var lasttime = timeinit.getMilliseconds();
onEnterFrame = function () {
var v1 = new Date();
timepassed = v1.getMilliseconds() - lasttime >= 0 ? v1.getMilliseconds() - lasttime : 1000 + (v1.getMilliseconds() - lasttime);
fps = Math.round(100 / timepassed) / 10;
lasttime = v1.getMilliseconds();
};
}
}
movieClip 2936 __Packages.com.ronnieswietek.utils.TimecodesAS2 {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.ronnieswietek) {
_global.com.ronnieswietek = new Object();
}
if (!_global.com.ronnieswietek.utils) {
_global.com.ronnieswietek.utils = new Object();
}
if (!_global.com.ronnieswietek.utils.TimecodesAS2) {
var v1 = function () {};
com.ronnieswietek.utils.TimecodesAS2 = v1;
var v2 = v1.prototype;
v2.timecodeToSeconds = function (tcStr) {
var v1 = tcStr.split(':');
return v1[0] * 3600 + v1[1] * 60 + v1[2] * 1;
};
v2.secondsToTimecode = function (seconds) {
var v3 = Math.floor(seconds / 60);
var v2 = seconds % 60;
var v4 = v3 % 60;
var v5 = Math.floor(v3 / 60);
var v7 = Math.floor((v2 - Math.floor(v2)) * 100);
v2 = Math.floor(v2);
return this.getTwoDigits(v5) + ':' + this.getTwoDigits(v4) + ':' + this.getTwoDigits(v2);
};
v2.getTwoDigits = function (number) {
if (number < 10) {
return '0' + number;
} else {
return number + '';
}
};
ASSetPropFlags(com.ronnieswietek.utils.TimecodesAS2.prototype, null, 1);
}
#endinitclip
}
frame 2 {
stop();
if (_root.testing == true) {
gotoAndStop(3);
}
}
movieClip 93 {
}
movieClip 99 {
}
movieClip 102 {
frame 1 {
_root.stop();
gotoAndPlay(2);
}
frame 218 {
_root.nextFrame();
}
}
instance ag of movieClip 102 {
onClipEvent (release) {
getURL('http://armor.ag/MoreGames', '_blank');
}
}
frame 3 {
stop();
var savefile = SharedObject.getLocal('AboveAverageGuy');
_root.trophies = savefile.data.trophies;
_root.fails = savefile.data.fails;
_root.deaths = savefile.data.deaths;
_root.besttime = savefile.data.besttime;
_root.bestaudience = savefile.data.bestaudience;
_root.bestfails = savefile.data.bestfails;
_root.bestdeaths = savefile.data.bestdeaths;
_root.totalfails = savefile.data.totalfails;
_root.totaldeaths = savefile.data.totaldeaths;
_root.completes = savefile.data.completes;
_root.totaltime = savefile.data.totaltime;
_root.secretroom = savefile.data.secretroom;
if (savefile.data.trophies == undefined) {
_root.trophies = 0;
}
if (savefile.data.fails == undefined) {
_root.fails = 0;
}
if (savefile.data.deaths == undefined) {
_root.deaths = 0;
}
if (savefile.data.besttime == undefined) {
_root.besttime = 'na';
}
if (savefile.data.bestaudience == undefined) {
_root.bestaudience = 'na';
}
if (savefile.data.bestfails == undefined) {
_root.bestfails = 'na';
}
if (savefile.data.bestdeaths == undefined) {
_root.bestdeaths = 'na';
}
if (savefile.data.totalfails == undefined) {
_root.totalfails = 0;
}
if (savefile.data.totaldeaths == undefined) {
_root.totaldeaths = 0;
}
if (savefile.data.completes == undefined) {
_root.completes = 0;
}
if (savefile.data.totaltime == undefined) {
_root.totaltime = 0;
}
if (savefile.data.secretroom == undefined) {
_root.secretroom = 'NO';
}
_root.save();
if (_root.testing == true) {
gotoAndStop(5);
}
}
movieClip 115 {
frame 105 {
_parent.nextFrame();
}
}
button 116 {
on (release) {
getURL('http://www.chris-jeff.com', '_blank');
}
}
movieClip 131 {
}
movieClip 132 {
}
movieClip 167 {
}
movieClip 169 {
}
movieClip 175 {
frame 156 {
_parent.nextFrame();
}
}
button 176 {
on (release) {
getURL('http://www.nch-productions.com/', '_blank');
}
}
frame 5 {
_root.groupa._alpha = 100;
_root.groupb._alpha = 100;
_root.steps._alpha = 100;
_root.crowdcover2._alpha = 100;
_root.matstuff._alpha = 100;
}
frame 5 {
var maxplats = 30;
var maxceil = 20;
}
// unknown tag 88 length 65
// unknown tag 88 length 65
movieClip 180 {
}
movieClip 182 {
}
movieClip 184 {
}
movieClip 186 {
}
movieClip 187 {
}
movieClip 189 {
}
movieClip 191 {
}
movieClip 192 {
}
movieClip 194 {
}
movieClip 195 {
}
movieClip 205 {
}
movieClip 209 {
}
movieClip 211 {
instance of movieClip 205 {
onClipEvent (load) {
this._visible = false;
if (_root.trophies >= 1) {
this._visible = true;
}
}
}
instance of movieClip 209 {
onClipEvent (load) {
this._visible = false;
if (_root.trophies >= 1) {
this._visible = true;
}
}
}
}
movieClip 212 {
}
movieClip 218 {
frame 1 {
stop();
}
}
movieClip 220 {
frame 1 {
stop();
}
}
movieClip 224 {
}
movieClip 226 {
frame 1 {
stop();
}
}
movieClip 228 {
frame 1 {
stop();
}
}
movieClip 229 {
}
movieClip 240 {
}
movieClip 242 {
}
movieClip 244 {
}
movieClip 246 {
}
movieClip 248 {
}
movieClip 250 {
}
movieClip 259 {
}
movieClip 261 {
}
movieClip 263 {
}
movieClip 271 {
}
movieClip 284 {
}
movieClip 285 {
}
movieClip 302 {
}
movieClip 304 {
}
movieClip 305 {
}
movieClip 312 {
}
movieClip 313 {
frame 56 {
stop();
}
}
movieClip 317 {
}
movieClip 319 {
}
movieClip 321 {
}
movieClip 325 {
}
movieClip 326 {
}
movieClip 327 {
}
button 330 {
on (release) {
_root.fadeintro.play();
}
}
button 331 {
on (release) {
getURL('http://armor.ag/MoreGames', '_blank');
}
}
button 332 {
on (release) {
_root.fadeintro.play();
}
}
button 333 {
on (release) {
_root.gotoAndStop('apartment');
}
}
button 334 {
on (release) {
getURL('http://armor.ag/MoreGames', '_blank');
}
}
movieClip 336 {
frame 1 {
stop();
}
}
movieClip 340 {
}
movieClip 341 {
frame 7 {
stop();
}
}
movieClip 343 {
frame 8 {
stop();
}
}
movieClip 346 {
}
movieClip 347 {
frame 7 {
stop();
}
}
movieClip 348 {
frame 8 {
stop();
}
}
movieClip 354 {
}
movieClip 355 {
}
movieClip 356 {
frame 63 {
stop();
}
}
movieClip 361 {
}
movieClip 362 {
}
movieClip 363 {
frame 1 {
stop();
if (_root.trophies >= 1) {
gotoAndStop(2);
}
}
}
movieClip 365 {
}
movieClip 366 {
frame 7 {
stop();
}
}
movieClip 370 {
frame 12 {
stop();
}
}
movieClip 371 {
frame 8 {
stop();
}
}
movieClip 373 {
}
movieClip 374 {
frame 7 {
stop();
}
}
movieClip 375 {
frame 8 {
stop();
}
}
movieClip 377 {
}
movieClip 378 {
frame 7 {
stop();
}
}
movieClip 379 {
frame 8 {
stop();
}
}
movieClip 381 {
}
movieClip 382 {
frame 7 {
stop();
}
}
movieClip 383 {
frame 8 {
stop();
}
}
movieClip 387 {
}
movieClip 388 {
frame 7 {
stop();
}
}
movieClip 390 {
frame 8 {
stop();
}
}
button 391 {
on (release) {
getURL('http://armor.ag/MoreGames', '_blank');
}
}
button 392 {
on (release) {
getURL('http://www.chris-jeff.com', '_blank');
}
}
button 393 {
on (release) {
getURL('http://www.nch-productions.com/', '_blank');
}
}
movieClip 394 {
frame 63 {
stop();
}
instance of movieClip 336 {
onClipEvent (load) {
this.gotoAndStop(1);
if (_root.trophies >= 1) {
this.gotoAndStop(2);
}
}
}
}
movieClip 395 {
}
movieClip 396 {
frame 1 {
stop();
}
frame 9 {
_root.gotoAndStop('intro');
}
}
frame 6 {
function itemHandler1(obj, item) {
getURL('http://chris-jeff.com', '_blank');
}
function itemHandler2(obj, item) {
getURL('http://nch-productions.com', '_blank');
}
function itemHandler8(obj, item) {}
function itemHandler3(obj, item) {
global.setVolume(100);
_root.mutebut.gotoAndStop(1);
}
function itemHandler4(obj, item) {
global.setVolume(0);
_root.mutebut.gotoAndStop(2);
}
function itemHandler5(obj, item) {
_quality = 'high';
}
function itemHandler6(obj, item) {
_quality = 'medium';
}
function itemHandler7(obj, item) {
_quality = 'low';
}
root_cm = new ContextMenu();
root_cm.hideBuiltInItems();
aaa_cmi = new ContextMenuItem('Developed by ChrisJeff Games', itemHandler1);
bbb_cmi = new ContextMenuItem('Art and Animation by NCHproductions', itemHandler2);
zzz_cmi = new ContextMenuItem('Music by Waterflame/SFX by Skybase', itemHandler8);
ccc_cmi = new ContextMenuItem('Music On', itemHandler3);
ddd_cmi = new ContextMenuItem('Music Off', itemHandler4);
eee_cmi = new ContextMenuItem('High Quality', itemHandler5);
fff_cmi = new ContextMenuItem('Mid Quality', itemHandler6);
ggg_cmi = new ContextMenuItem('Low Quality', itemHandler7);
ccc_cmi.separatorBefore = true;
eee_cmi.separatorBefore = true;
root_cm.customItems.push(aaa_cmi, bbb_cmi, zzz_cmi, ccc_cmi, ddd_cmi, eee_cmi, fff_cmi, ggg_cmi);
_root.menu = root_cm;
}
frame 6 {
_root.Track1 = new Sound(MainTrack);
_root.Track1.attachSound('main1');
_root.Track1.setVolume(30);
}
frame 6 {
function crowdaroll() {
if (_root.rowa > 0) {
_root.cheera = Math.round(Math.random() * 15);
if (_root['a' + cheera] == true) {
_root.crowdacheer();
} else {
_root.crowdaroll();
}
}
}
function crowdbroll() {
if (_root.rowb > 0) {
_root.cheerb = Math.round(Math.random() * 15);
if (_root['b' + cheerb] == true) {
_root.crowdbcheer();
} else {
_root.crowdbroll();
}
}
}
function crowdacheer() {
if (_root['a' + cheera] == true) {
_root.groupa['a' + cheera].gotoAndStop('cheer');
}
}
function crowdbcheer() {
if (_root['b' + cheerb] == true) {
_root.groupb['b' + cheerb].gotoAndStop('cheer');
}
}
function crowdouta() {
if (_root['a' + aout] == true) {
_root.groupa['a' + aout].gotoAndStop('inout');
_root.groupa['a' + aout].inoutanim.gotoAndPlay(2);
_root['a' + aout] = false;
}
}
function rollcrowda() {
if (_root.rowa > 0) {
aout = Math.round(Math.random() * 15);
if (_root['a' + aout] == true) {
_root.crowdouta();
_root.rowa -= 1;
} else {
_root.rollcrowda();
}
}
}
function crowdina() {
if (_root['a' + ain] == false) {
_root.groupa['a' + ain].gotoAndStop('inout');
_root.groupa['a' + ain].inoutanim.gotoAndPlay(1);
_root['a' + ain] = true;
}
}
function rollcrowdain() {
if (_root.rowa < 15) {
ain = Math.round(Math.random() * 15);
if (_root['a' + ain] == false) {
_root.crowdina();
_root.rowa += 1;
} else {
_root.rollcrowdain();
}
}
}
function crowdoutb() {
if (_root['b' + bout] == true) {
_root.groupb['b' + bout].gotoAndStop('inout');
_root.groupb['b' + bout].inoutanim.gotoAndPlay(2);
_root['b' + bout] = false;
}
}
function rollcrowdb() {
if (_root.rowb > 0) {
bout = Math.round(Math.random() * 15);
if (_root['b' + bout] == true) {
_root.crowdoutb();
_root.rowb -= 1;
} else {
_root.rollcrowdb();
}
}
}
function crowdinb() {
if (_root['b' + bin] == false) {
_root.groupb['b' + bin].gotoAndStop('inout');
_root.groupb['b' + bin].inoutanim.gotoAndPlay(1);
_root['b' + bin] = true;
}
}
function rollcrowdbin() {
if (_root.rowb < 15) {
bin = Math.round(Math.random() * 15);
if (_root['b' + bin] == false) {
_root.crowdinb();
_root.rowb += 1;
} else {
_root.rollcrowdbin();
}
}
}
var dudemoving = false;
var dudemovingb = false;
var a1cos = 1;
var a2cos = 2;
var a3cos = 3;
var a4cos = 4;
var a5cos = 5;
var a6cos = 6;
var a7cos = 7;
var a8cos = 8;
var a9cos = 9;
var a10cos = 10;
var a11cos = 1;
var a12cos = 2;
var a13cos = 3;
var a14cos = 4;
var a15cos = 5;
_root.a1cos = Math.round(Math.random() * 10);
_root.a2cos = Math.round(Math.random() * 10);
_root.a3cos = Math.round(Math.random() * 10);
_root.a4cos = Math.round(Math.random() * 10);
_root.a5cos = Math.round(Math.random() * 10);
_root.a6cos = Math.round(Math.random() * 10);
_root.a7cos = Math.round(Math.random() * 10);
_root.a8cos = Math.round(Math.random() * 10);
_root.a9cos = Math.round(Math.random() * 10);
_root.a10cos = Math.round(Math.random() * 10);
_root.a11cos = Math.round(Math.random() * 10);
_root.a12cos = Math.round(Math.random() * 10);
_root.a13cos = Math.round(Math.random() * 10);
_root.a14cos = Math.round(Math.random() * 10);
_root.a15cos = Math.round(Math.random() * 10);
var b1cos = 1;
var b2cos = 2;
var b3cos = 3;
var b4cos = 4;
var b5cos = 5;
var b6cos = 6;
var b7cos = 7;
var b8cos = 8;
var b9cos = 9;
var b10cos = 10;
var b11cos = 1;
var b12cos = 2;
var b13cos = 3;
var b14cos = 4;
var b15cos = 5;
_root.b1cos = Math.round(Math.random() * 10);
_root.b2cos = Math.round(Math.random() * 10);
_root.b3cos = Math.round(Math.random() * 10);
_root.b4cos = Math.round(Math.random() * 10);
_root.b5cos = Math.round(Math.random() * 10);
_root.b6cos = Math.round(Math.random() * 10);
_root.b7cos = Math.round(Math.random() * 10);
_root.b8cos = Math.round(Math.random() * 10);
_root.b9cos = Math.round(Math.random() * 10);
_root.b10cos = Math.round(Math.random() * 10);
_root.b11cos = Math.round(Math.random() * 10);
_root.b12cos = Math.round(Math.random() * 10);
_root.b13cos = Math.round(Math.random() * 10);
_root.b14cos = Math.round(Math.random() * 10);
_root.b15cos = Math.round(Math.random() * 10);
var a1 = true;
var a2 = true;
var a3 = true;
var a4 = true;
var a5 = true;
var a6 = true;
var a7 = true;
var a8 = true;
var a9 = true;
var a10 = true;
var a11 = true;
var a12 = true;
var a13 = true;
var a14 = true;
var a15 = true;
var b1 = true;
var b2 = true;
var b3 = true;
var b4 = true;
var b5 = true;
var b6 = true;
var b7 = true;
var b8 = true;
var b9 = true;
var b10 = true;
var b11 = true;
var b12 = true;
var b13 = true;
var b14 = true;
var b15 = true;
var rowa = 15;
var rowb = 15;
var cheera = 1;
var cheerb = 1;
var ttlcrowd = 30;
aout = 15;
ain = 15;
bout = 15;
bin = 15;
}
frame 6 {
if (_root.testing == true) {
_root.gotoAndStop(7);
}
_root.groupa._alpha = 0;
_root.groupb._alpha = 0;
_root.steps._alpha = 0;
_root.crowdcover._alpha = 0;
}
// unknown tag 88 length 52
movieClip 407 {
}
movieClip 416 {
}
movieClip 419 {
}
movieClip 421 {
}
movieClip 426 {
}
movieClip 427 {
}
movieClip 437 {
frame 1 {
stop();
}
}
movieClip 438 {
instance of movieClip 419 {
onClipEvent (load) {
this._visible = false;
if (_root.trophies >= 1) {
this._visible = true;
}
}
}
instance of movieClip 421 {
onClipEvent (load) {
this._visible = false;
if (_root.trophies >= 7) {
this._visible = true;
}
}
}
instance of movieClip 437 {
onClipEvent (load) {
this.gotoAndStop(1);
this._visible = false;
if (_root.trophies >= 1) {
this._visible = true;
}
}
}
instance of movieClip 437 {
onClipEvent (load) {
this.gotoAndStop(2);
this._visible = false;
if (_root.trophies >= 2) {
this._visible = true;
}
}
}
instance of movieClip 437 {
onClipEvent (load) {
this.gotoAndStop(3);
this._visible = false;
if (_root.trophies >= 3) {
this._visible = true;
}
}
}
instance of movieClip 437 {
onClipEvent (load) {
this.gotoAndStop(4);
this._visible = false;
if (_root.trophies >= 4) {
this._visible = true;
}
}
}
instance of movieClip 437 {
onClipEvent (load) {
this.gotoAndStop(5);
this._visible = false;
if (_root.trophies >= 5) {
this._visible = true;
}
}
}
instance of movieClip 437 {
onClipEvent (load) {
this.gotoAndStop(6);
this._visible = false;
if (_root.trophies >= 6) {
this._visible = true;
}
}
}
instance of movieClip 437 {
onClipEvent (load) {
this.gotoAndStop(7);
this._visible = false;
if (_root.trophies >= 7) {
this._visible = true;
}
}
}
instance of movieClip 437 {
onClipEvent (load) {
this.gotoAndStop(8);
this._visible = false;
if (_root.trophies >= 8) {
this._visible = true;
}
}
}
instance of movieClip 437 {
onClipEvent (load) {
this.gotoAndStop(9);
this._visible = false;
if (_root.trophies >= 9) {
this._visible = true;
}
}
}
instance of movieClip 437 {
onClipEvent (load) {
this.gotoAndStop(10);
this._visible = false;
if (_root.trophies >= 10) {
this._visible = true;
}
}
}
}
movieClip 440 {
}
movieClip 445 {
}
button 448 {
on (release) {
gotoAndStop(2216);
}
}
button 450 {
on (release) {
_root.groupa._visible = true;
_root.groupb._visible = true;
_root.groupa._alpha = 100;
_root.groupb._alpha = 100;
_root.steps._alpha = 100;
_root.crowdcover._alpha = 0;
gotoAndPlay(2216);
}
}
movieClip 537 {
}
movieClip 733 {
}
movieClip 734 {
}
movieClip 759 {
}
movieClip 768 {
}
movieClip 770 {
}
movieClip 778 {
}
movieClip 779 {
}
movieClip 780 {
frame 10 {
stop();
}
}
movieClip 783 {
frame 10 {
stop();
}
}
movieClip 785 {
frame 8 {
stop();
}
}
movieClip 788 {
}
movieClip 790 {
}
movieClip 791 {
frame 8 {
stop();
}
}
movieClip 792 {
frame 6 {
stop();
}
}
movieClip 793 {
frame 1 {
stop();
}
}
movieClip 795 {
frame 1 {
stop();
}
}
movieClip 1003 {
}
movieClip 1049 {
}
movieClip 1100 {
instance of movieClip 440 {
onClipEvent (load) {
this._visible = false;
if (_root.trophies >= 1) {
this._visible = true;
}
}
}
frame 1806 {
_root.groupa._visible = true;
_root.groupb._visible = true;
_root.groupa._alpha = 100;
_root.groupb._alpha = 100;
_root.steps._alpha = 100;
_root.crowdcover._alpha = 100;
_root.crowdcover.gotoAndPlay(2);
}
frame 2484 {
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
}
frame 2508 {
_root.Track1.start(0, 999);
}
frame 2586 {
_root.nextFrame();
}
}
movieClip 1102 {
}
movieClip 1103 {
}
instance steps of movieClip 1103 {
onClipEvent (load) {
this.cacheAsBitmap = true;
}
}
movieClip 1114 {
frame 1 {
stop();
lol = _parent._parent._parent._name;
beans = _parent._parent._parent._parent._name;
gotoAndStop(_root[beans + 'cos']);
gotoAndStop(_root[lol + 'cos']);
}
}
movieClip 1125 {
frame 1 {
stop();
lol = _parent._parent._parent._name;
beans = _parent._parent._parent._parent._name;
gotoAndStop(_root[beans + 'cos']);
gotoAndStop(_root[lol + 'cos']);
}
}
movieClip 1126 {
}
movieClip 1127 {
}
movieClip 1128 {
frame 1 {
stop();
}
}
movieClip 1138 {
frame 1 {
stop();
lol = _parent._parent._parent._name;
beans = _parent._parent._parent._parent._name;
gotoAndStop(_root[beans + 'cos']);
gotoAndStop(_root[lol + 'cos']);
}
}
movieClip 1139 {
frame 63 {
_parent.gotoAndStop(5);
}
}
movieClip 1140 {
frame 78 {
_parent.gotoAndStop(5);
}
}
movieClip 1141 {
frame 76 {
_parent.gotoAndStop(5);
}
}
movieClip 1142 {
frame 71 {
_parent.gotoAndStop(5);
}
}
movieClip 1143 {
frame 1 {
stop();
}
frame 5 {
_parent.gotoAndStop(1);
}
}
movieClip 1144 {
}
movieClip 1145 {
frame 1 {
lol = _parent._parent._name;
_root[lol + 'cos'] = Math.round(Math.random() * 10);
}
frame 83 {
stop();
_parent.gotoAndStop(5);
}
}
movieClip 1146 {
frame 1 {
_root.dudemoving = true;
}
frame 83 {
stop();
_root.dudemoving = false;
}
}
movieClip 1147 {
frame 1 {
stop();
}
frame 5 {
_parent.gotoAndStop(1);
}
}
movieClip 1148 {
frame 1 {
stop();
}
frame 1 {
idleframe = Math.round(Math.random() * 4);
idledude.gotoAndStop(idleframe);
}
frame 15 {
cheerframe = Math.round(Math.random() * 4);
cheerdude.gotoAndStop(cheerframe);
}
}
movieClip 1152 {
}
instance groupa of movieClip 1152 {
onClipEvent (load) {
this.cacheAsBitmap = true;
}
}
movieClip 1161 {
frame 1 {
stop();
lol = _parent._parent._parent._name;
beans = _parent._parent._parent._parent._name;
gotoAndStop(_root[beans + 'cos']);
gotoAndStop(_root[lol + 'cos']);
}
}
movieClip 1162 {
frame 1 {
stop();
lol = _parent._parent._parent._name;
beans = _parent._parent._parent._parent._name;
gotoAndStop(_root[beans + 'cos']);
gotoAndStop(_root[lol + 'cos']);
}
}
movieClip 1163 {
}
movieClip 1164 {
}
movieClip 1165 {
frame 1 {
stop();
}
}
movieClip 1170 {
frame 1 {
stop();
lol = _parent._parent._parent._name;
beans = _parent._parent._parent._parent._name;
gotoAndStop(_root[beans + 'cos']);
gotoAndStop(_root[lol + 'cos']);
}
}
movieClip 1171 {
frame 64 {
_parent.gotoAndStop(5);
}
}
movieClip 1172 {
frame 78 {
_parent.gotoAndStop(5);
}
}
movieClip 1173 {
frame 76 {
_parent.gotoAndStop(5);
}
}
movieClip 1174 {
frame 72 {
_parent.gotoAndStop(5);
}
}
movieClip 1175 {
frame 1 {
stop();
}
frame 5 {
_parent.gotoAndStop(1);
}
}
movieClip 1176 {
}
movieClip 1177 {
frame 1 {
lol = _parent._parent._name;
_root[lol + 'cos'] = Math.round(Math.random() * 10);
}
frame 118 {
stop();
_parent.gotoAndStop(5);
}
}
movieClip 1178 {
frame 1 {
_root.dudemoving = true;
}
frame 129 {
stop();
_root.dudemoving = false;
}
}
movieClip 1179 {
frame 1 {
stop();
}
frame 5 {
_parent.gotoAndStop(1);
}
}
movieClip 1180 {
frame 1 {
stop();
}
frame 1 {
idleframe = Math.round(Math.random() * 4);
idledude.gotoAndStop(idleframe);
}
frame 15 {
cheerframe = Math.round(Math.random() * 4);
cheerdude.gotoAndStop(cheerframe);
}
frame 30 {
stop();
}
}
movieClip 1184 {
}
instance groupb of movieClip 1184 {
onClipEvent (load) {
this.cacheAsBitmap = true;
}
}
movieClip 1192 {
frame 1 {
stop();
}
frame 2 {
gotoAndStop(1);
}
frame 3 {
gotoAndStop(1);
}
frame 4 {
gotoAndStop(1);
}
frame 5 {
gotoAndStop(1);
}
frame 6 {
gotoAndStop(1);
}
frame 7 {
gotoAndStop(1);
}
}
movieClip 1195 {
frame 1 {
stop();
}
frame 2 {
gotoAndStop(1);
}
}
movieClip 1197 {
}
movieClip 1200 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
instance drillnoise of movieClip 1200 {
onClipEvent (enterFrame) {
if (_root.spikego == true) {
_root.drillnoise.gotoAndStop(3);
}
if (_root.spikego == false) {
if (this._currentframe == 3) {
_root.drillnoise.gotoAndStop(2);
}
}
}
}
instance drillnoise of movieClip 1200 {
onClipEvent (enterFrame) {
if (_root.spikego == true) {
_root.drillnoise.gotoAndStop(3);
}
if (_root.spikego == false) {
if (this._currentframe == 3) {
_root.drillnoise.gotoAndStop(2);
}
}
}
}
movieClip 1204 {
frame 49 {
stop();
}
}
instance crowdcover of movieClip 1204 {
onClipEvent (load) {
stop();
}
}
frame 7 {
function itemHandler1(obj, item) {
getURL('http://chris-jeff.com', '_blank');
}
function itemHandler2(obj, item) {
getURL('http://nch-productions.com', '_blank');
}
function itemHandler8(obj, item) {}
function itemHandler3(obj, item) {
global.setVolume(100);
_root.mutebut.gotoAndStop(1);
}
function itemHandler4(obj, item) {
global.setVolume(0);
_root.mutebut.gotoAndStop(2);
}
function itemHandler5(obj, item) {
_quality = 'high';
}
function itemHandler6(obj, item) {
_quality = 'medium';
}
function itemHandler7(obj, item) {
_quality = 'low';
}
root_cm = new ContextMenu();
root_cm.hideBuiltInItems();
aaa_cmi = new ContextMenuItem('Developed by ChrisJeff Games', itemHandler1);
bbb_cmi = new ContextMenuItem('Art and Animation by NCHproductions', itemHandler2);
zzz_cmi = new ContextMenuItem('Music by Waterflame/SFX by Skybase', itemHandler8);
ccc_cmi = new ContextMenuItem('Music On', itemHandler3);
ddd_cmi = new ContextMenuItem('Music Off', itemHandler4);
eee_cmi = new ContextMenuItem('High Quality', itemHandler5);
fff_cmi = new ContextMenuItem('Mid Quality', itemHandler6);
ggg_cmi = new ContextMenuItem('Low Quality', itemHandler7);
ccc_cmi.separatorBefore = true;
eee_cmi.separatorBefore = true;
root_cm.customItems.push(aaa_cmi, bbb_cmi, zzz_cmi, ccc_cmi, ddd_cmi, eee_cmi, fff_cmi, ggg_cmi);
_root.menu = root_cm;
}
frame 7 {
function mutethat() {
global.setVolume(0);
}
function unmutethat() {
global.setVolume(100);
}
}
frame 7 {
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 20;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = 'R';
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
_root.WJUMPKEY = 87;
_root.WCROUCHKEY = 83;
_root.WRUNLEFTKEY = 65;
_root.WRUNRIGHTKEY = 68;
_root.disabled = false;
_root.bouncingback = false;
a = 1;
while (a <= _root.maxplats) {
_root['mcWALL' + a]._visible = true;
_root['mcCEILING' + a]._visible = true;
_root['mcPLATFORM' + a]._visible = true;
++a;
}
onEnterFrame = function () {
if (_root.disabled == true) {
_root.disablecontrols();
if (_root.mcPLAYER.DIRECTION == 'L') {
_root.mcPLAYER.gotoAndStop(18);
}
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(19);
}
if (_root.mcPLAYER._y < 300) {
_root.mcPLAYER._y += 20;
}
if (_root.mcPLAYER._y > 300) {
_root.mcPLAYER._y = 300;
}
}
if (_root.disabled == false) {
if (Key.isDown(_root.JUMPKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.YMOVEMENT = -_root.mcPLAYER.JUMPPOWER;
_root.mcPLAYER.FALLING = false;
}
}
if (_root.mcPLAYER.GROUNDED == false) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.YMOVEMENT *= _root.mcPLAYER.INVERSEGRAVITY;
} else {
_root.mcPLAYER.YMOVEMENT *= _root.mcPLAYER.GRAVITY;
}
if (_root.mcPLAYER.YMOVEMENT > -1) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.FALLING = true;
_root.mcPLAYER.YMOVEMENT = 1;
}
}
}
_root.mcPLAYER.XMOVEMENT *= 0.9;
tempX = _root.mcPLAYER._x;
tempY = _root.mcPLAYER._y;
_root.mcPLAYER._y += _root.mcPLAYER.YMOVEMENT;
_root.mcPLAYER._x += _root.mcPLAYER.XMOVEMENT;
a = 1;
while (a <= _root.maxplats) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcWALL' + a]) == true) {
_root.mcPLAYER._x = tempX;
_root.mcPLAYER.XMOVEMENT = 0;
}
++a;
}
a = 1;
while (a <= _root.maxceil) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcCEILING' + a]) == true) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER._y = tempY;
_root.mcPLAYER.YMOVEMENT = 2;
_root.mcPLAYER.FALLING = true;
}
}
++a;
}
a = 1;
while (a <= _root.maxplats) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcPLATFORM' + a]) == true) {
if (_root.mcPLAYER.FALLING == true) {
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER._y = _root['mcPLATFORM' + a]._y;
_root.mcPLAYER.GROUNDED = true;
}
}
++a;
}
if (_root.mcPLAYER.GROUNDED == true) {
nohit = false;
a = 1;
while (a <= _root.maxplats) {
_root.mcPLAYER._y += 2;
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcPLATFORM' + a]) == true) {
nohit = true;
}
_root.mcPLAYER._y -= 2;
++a;
}
if (nohit == false) {
_root.mcPLAYER.YMOVEMENT = 1;
_root.mcPLAYER.GROUNDED = false;
}
}
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.XMOVEMENT < 0.5 and _root.mcPLAYER.XMOVEMENT > -0.5) {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(1);
} else {
_root.mcPLAYER.gotoAndStop(2);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(3);
} else {
_root.mcPLAYER.gotoAndStop(4);
}
}
} else {
if (_root.mcPLAYER.DIRECTION == 'R') {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.gotoAndStop(5);
} else {
_root.mcPLAYER.gotoAndStop(6);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.gotoAndStop(12);
} else {
_root.mcPLAYER.gotoAndStop(13);
}
}
}
}
if (_root.mcPLAYER.XMOVEMENT < 0.3 and _root.mcPLAYER.XMOVEMENT > -0.3) {
if (Key.isDown(_root.CROUCHKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(10);
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
_root.mcPLAYER.gotoAndStop(11);
}
}
}
}
}
if (Key.isDown(_root.CROUCHKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.DIRECTION == 'R') {
if (_root.mcPLAYER.XMOVEMENT > 0.3) {
_root.mcPLAYER.gotoAndStop(8);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
if (_root.mcPLAYER.XMOVEMENT < -0.3) {
_root.mcPLAYER.gotoAndStop(9);
}
}
}
}
} else {
if (Key.isDown(_root.RUNRIGHTKEY)) {
_root.mcPLAYER.XMOVEMENT += 1;
_root.mcPLAYER.DIRECTION = 'R';
}
if (Key.isDown(_root.RUNLEFTKEY)) {
_root.mcPLAYER.XMOVEMENT -= 1;
_root.mcPLAYER.DIRECTION = 'L';
}
}
}
};
}
frame 7 {
function disablecontrols() {
_root.controlson = false;
_root.JUMPKEY = 'notinuse';
_root.CROUCHKEY = 'notinuse';
_root.RUNLEFTKEY = 'notinuse';
_root.RUNRIGHTKEY = 'notinuse';
_root.WJUMPKEY = 'notinuse';
_root.WCROUCHKEY = 'notinuse';
_root.WRUNLEFTKEY = 'notinuse';
_root.WRUNRIGHTKEY = 'notinuse';
}
function enablecontrols() {
_root.controlson = true;
}
var controlson = true;
_root.curtains.gotoAndStop(1);
}
frame 7 {
function announcelaugh() {
_root.announcer.dudey.gotoAndStop(5);
}
function announceclue() {
_root.announcer.dudey.gotoAndStop(2);
}
function announceyay() {
_root.announcer.dudey.gotoAndStop(3);
}
function announcenay() {
_root.announcer.dudey.gotoAndStop(4);
}
function announcesettle() {
_root.announcer.dudey.gotoAndStop(6);
}
function setclue() {
_root.cluetext = _root['clue' + cluelevel];
_root.cluetext = _root.cluetext;
}
var cluelevel = 1;
var cluetext = 'WAAAAAWAWAWA';
var clue1 = 'READ THE TUTORIAL AND YOU\'LL BE FINE! I DON\'T THINK I NEED TO GIVE YOU A CLUE ABOUT A TUTORIAL, RIGHT?';
var clue2 = 'MORE CLUES? OKAY, HOW ABOUT THIS. GET TO THE GOAL!';
var clue3 = 'JUST DON\'T STAND ON THOSE SPIKES, THEY KINDA HURT A BIT.';
var clue4 = 'AH! YOU READ THE INSTRUCTIONS. OKAY, OKAY. I\'LL OPEN THE DOOR FOR YOU.';
var clue5 = 'I\'M STARTING TO THINK YOU NEED MORE HELP THAN JUST ME. CLIMB THOSE STAIRS!';
var clue6 = 'YOU CAN\'T JUMP? AWW, WHAT A SHAME! DON\'T FALL DOWN THERE THEN.';
var clue7 = 'YOU CAN DIVE, RIGHT? JUST JUMP OF THE BOARD AND MAKE A SPLASH!';
var clue8 = 'IF YOU CAN\'T SEE WHAT IS HAPPENING HERE. YOU MAY BE BLIND... YOU\'RE GOING INVISIBLE!';
var clue9 = 'A WALL IS IN YOUR PATH. THIS ISN\'T GOOD AT ALL, IF ONLY WE HAD SOME BOMBS EH?';
var clue10 = 'A FLASHING BUTTON! YOU\'VE GOT TO PRESS IS ON THE CORRECT SIDE. IS RED GOOD OR BAD?';
var clue11 = 'JUST DON\'T DIE, SERIOUSLY. YOU CAN DO IT WITHOUT MY HELP!';
var clue12 = 'REMEMBER THE GOAL DOOR YOU\'VE BEEN ENTERING. GO AND ENTER IT...';
var clue13 = 'NO OBVIOUS WAY TO GET THE GOAL? INFACT, I CAN\'T EVEN SEE IT! WELL IT\'S DEFINITELY NOT LEFT CLICKING.';
var clue14 = 'IT\'S A REAL SHAME YOU CAN\'T \'ENTER\' THAT DOOR. SERIOUSLY, IT\'S A SHAME.';
var clue15 = 'JUMP ON THE PLATFORMS AND YOU\'LL SEE SOON ENOUGH!';
var clue16 = 'A SPIKY BRIDGE... I MEAN, IF IT COULD FALL DOWN THAT\'D BE PRETTY HELPFUL. KIND OF LIKE A BRIDGE!';
var clue17 = 'RUN. SERIOUSLY, I WOULDN\'T READ THIS IF I WAS YOU. I\'D JUST RUN, VERY FAST. TO THE RIGHT.';
var clue18 = 'CLEARLY YOU CAN\'T GET ACROSS WITHOUT THIS WEIRD DEVICE. GO ON, TRY IT!';
var clue19 = 'SOMETIMES YOU JUST HAVE TO CALL FOR HELP. NOT SURE WHAT IT\'LL DO, BUT Y\'KNOW. CALLING IT MIGHT HELP!';
var clue20 = 'I WISH I COULD HELP HERE, BUT IT\'S JUST TOO OBVIOUS. IT\'S A ROOM FULL OF TELEPORTERS. I WONDER....';
var clue21 = 'YET AGAIN, NICE AND SIMPLE! RUN OVER THESE PLATFORMS AND GET TO THE GOAL?';
var clue22 = 'SOMETHING IN YOUR WAY. DO YOU GO OVER, UNDER OR THROUGH? OR JUST GET RID OF THEM?';
var clue23 = 'SOMETHING IS UP WITH PINK. I\'M NOT LIKING IT, I WOULDN\'T TOUCH IT!';
var clue24 = 'IT\'S COMING FOR YOU. YOU BETTER HIDE! OR CURL IN A BALL AND WAIT FOR IT ALL TO END.';
var clue25 = 'YOU\'RE MOVING VERY SLOW. IF YOU CAN\'T WORK THAT OUT. I THINK I\'M GOING TO CRY.';
var clue26 = 'BEEP, BEEP, BEEP. HIT THEM IN THE ORDER YOU HEAR THEM. IF YOU\'VE GOT THE GAME MUTED, UNLUCKY.';
var clue27 = 'GET TO THE GOAL! OR GET THE GOAL TO YOU, I\'M NOT SURE WHICH.';
var clue28 = 'OH OH, THE GRAPHICS FAILED. FIND YOUR WAY TO THE END WITHOUT GRAPHICS I GUESS..';
var clue29 = 'GO ON, MAKE THE JUMP. REMEMBER WHAT COLOURS YOU\'RE HITTING, MAYBE ONE ISN\'T SUPPOSED TO BE HIT?';
var clue30 = 'IT\'S COMING FOR YOU. HEAD ON, SURELY YOU CAN GET PAST IT. IT\'S STARING AT YOU! THOSE PLATFORMS..';
var clue31 = 'WHO BROKE THE CONTROLS? WOW THEY\'RE MESSED UP! I CAN\'T EVEN TELL YOU ANYTHING.';
var clue32 = 'THIS HAS SOMETHING TO DO WITH THAT JAPANESE GAME CODE! IS IT THE FAMOUS KONAMI CODE?';
var clue33 = 'OKAY, YOU\'RE FACED WITH GODZILLA. IN FACT, YOU\'RE TALL TOO! IF ONLY THERE WAS A MINUS KEY.';
var clue34 = 'MORE SLUDGE! FIGURE OUT THE PATTERN. YOU DID IT BEFORE! I THINK ONE COLOUR IS BAD...';
var clue35 = 'I WISH WE COULD MOVE THAT BARRIER UP. IT\'S IN THE WAY AND WE DON\'T REALLY NEED THAT!';
var clue36 = 'EVEN MORE SLUDGE! WE\'VE GOT LOTS OF IT. PATTERN, MEMORISE, NOW.';
var clue37 = 'CAN\'T YOU GET OVER THAT? DAMN, I WISH THERE WAS ANOTHER WAY FOR YOU.';
var clue38 = 'I\'M NOT SO SURE ABOUT THIS ONE. I THINK YOU CAN WORK IT OUT ALONE.';
var clue39 = 'SERIOUSLY. SLUDGE AGAIN! I THINK THE GRAPHICS DIED AGAIN THOUGH, BAD TIMES...';
var clue40 = 'STEADY WINS THE RACE ON THIS ONE! SPIKES LOOK A BIT DEADLY AND THAT SLUDGE LOOKS FAMILIAR!';
var clue41 = 'I\'M NOT JOKING. THE GRAPHICS ACTUALLY DIED AGAIN. THESE ARE SOME BAD TIMES!';
var clue42 = 'I\'D WATCH THE KEY IF I WERE YOU, REMEMBER WHICH BOX IT\'S IN!';
}
frame 7 {
var levelcounternum = 1;
}
frame 7 {
var levtext = '*Arrow keys* or *WASD* to move';
var signsize = 3;
var deathbyspike = false;
stop();
}
frame 7 {
function randomdude() {
_root.head = Math.round(Math.random() * 44) + 1;
_root.body = Math.round(Math.random() * 9) + 1;
_root.mcPLAYER.play();
}
var head = 1;
var body = 1;
}
frame 7 {
_root.dafloor.cacheAsBitmap = true;
}
frame 7 {
_root.mcPLAYER._x = _root.entdoor._x;
_root.mcPLAYER._y = _root.entdoor._y;
var skipped = false;
}
frame 7 {
var whatlevelisit = 7;
var levelreset = false;
_root.bottime1 = 0;
_root.hmsbottime = 0;
_root.bottime = 0;
_root.bottimergo();
_root.fails = 0;
_root.deaths = 0;
_root.groupa._alpha = 100;
_root.groupb._alpha = 100;
_root.steps._alpha = 100;
_root.crowdcover2._alpha = 100;
_root.matstuff._alpha = 100;
}
movieClip 1225 {
frame 1 {
bframe = Math.round(Math.random() * 10);
this.gotoAndStop(bframe);
stop();
}
}
instance bg of movieClip 1225 {
onClipEvent (load) {
this.cacheAsBitmap = true;
}
}
movieClip 1229 {
frame 1 {
bframe = Math.round(Math.random() * 3);
this.gotoAndStop(bframe);
stop();
}
}
movieClip 1234 {
frame 1 {
bframe = Math.round(Math.random() * 4);
this.gotoAndStop(bframe);
stop();
}
}
movieClip 1238 {
frame 1 {
stop();
}
}
movieClip 1240 {
}
movieClip 1242 {
}
instance dafloor of movieClip 1242 {
onClipEvent (load) {
this.cacheAsBitmap = true;
}
}
movieClip 1244 {
frame 1 {
stop();
}
}
movieClip 1245 {
frame 1 {
stop();
}
}
// unknown tag 88 length 63
movieClip 1260 {
frame 16 {
stop();
}
frame 17 {
_root.announceyay();
}
frame 19 {
_root.curtains.play();
}
frame 25 {
stop();
}
}
instance goal of movieClip 1260 {
onClipEvent (load) {
this._visible = true;
}
}
movieClip 1262 {
}
movieClip 1264 {
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
movieClip 1271 {
frame 1 {
_root.mcPLAYER._alpha = 0;
}
frame 2 {
_root.mcPLAYER._alpha = 20;
}
frame 4 {
_root.mcPLAYER._alpha = 50;
}
frame 6 {
_root.mcPLAYER._alpha = 100;
}
frame 17 {
stop();
}
}
movieClip 1284 {
}
movieClip 1295 {
frame 1 {
stop();
this.gotoAndStop(_root.body);
}
}
movieClip 1306 {
frame 1 {
stop();
this.gotoAndStop(_root.body);
}
}
movieClip 1353 {
frame 1 {
stop();
this.gotoAndStop(_root.head);
}
}
movieClip 1354 {
}
movieClip 1365 {
frame 1 {
stop();
this.gotoAndStop(_root.body);
}
}
movieClip 1376 {
frame 1 {
stop();
this.gotoAndStop(_root.body);
}
}
movieClip 1377 {
}
movieClip 1380 {
}
movieClip 1382 {
}
movieClip 1384 {
}
movieClip 1385 {
}
movieClip 1386 {
}
movieClip 1416 {
frame 1 {
this.gotoAndStop(_root.botbody);
}
frame 1 {
stop();
}
}
movieClip 1446 {
frame 1 {
this.gotoAndStop(_root.botleg);
}
frame 1 {
stop();
}
}
movieClip 1476 {
frame 1 {
this.gotoAndStop(_root.botarm);
}
frame 1 {
stop();
}
}
movieClip 1506 {
frame 1 {
this.gotoAndStop(_root.bothead);
}
frame 1 {
stop();
}
}
movieClip 1507 {
}
movieClip 1508 {
}
movieClip 1509 {
}
movieClip 1510 {
}
movieClip 1517 {
}
movieClip 1518 {
}
movieClip 1519 {
frame 103 {
_root.disabled = false;
_root.enablecontrols();
_root.invincey.gotoAndPlay(2);
}
}
movieClip 1520 {
frame 102 {
_root.disabled = false;
_root.enablecontrols();
_root.invincey.gotoAndPlay(2);
}
}
movieClip 1521 {
frame 1 {
stop();
}
frame 1 {
mcCOLLIDER._visible = false;
}
}
instance drillnoise of movieClip 1200 {
onClipEvent (enterFrame) {
if (_root.spikego == true) {
_root.drillnoise.gotoAndStop(3);
}
if (_root.spikego == false) {
if (this._currentframe == 3) {
_root.drillnoise.gotoAndStop(2);
}
}
}
}
movieClip 1525 {
}
movieClip 1531 {
}
movieClip 1532 {
}
movieClip 1535 {
}
movieClip 1538 {
}
movieClip 1543 {
frame 1 {
stop();
}
}
movieClip 1544 {
frame 336 {
_root.announcesettle();
}
}
movieClip 1545 {
}
movieClip 1546 {
frame 10 {
stop();
}
}
movieClip 1551 {
}
movieClip 1554 {
}
movieClip 1558 {
}
movieClip 1559 {
}
movieClip 1562 {
}
movieClip 1567 {
}
movieClip 1571 {
}
movieClip 1572 {
frame 8 {
stop();
}
}
movieClip 1573 {
frame 6 {
stop();
_parent.gotoAndStop(1);
}
}
movieClip 1574 {
frame 1 {
stop();
}
}
movieClip 1575 {
instance dudey of movieClip 1574 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_parent._alpha = 50;
} else {
_parent._alpha = 100;
}
}
}
}
instance announcer of movieClip 1575 {
onClipEvent (enterFrame) {
if (this._x <= 521.9500000000001) {
this._x = 521.9500000000001;
}
if (this._x >= 681.9500000000001) {
this._x = 681.9500000000001;
}
if (this._y >= 135.45) {
this._y = 135.45;
}
if (this._y <= 95.45) {
this._y = 95.45;
}
if (_root.mcPLAYER.GROUNDED == false) {
if (_root.mcPLAYER.FALLING == false) {
_root.announcer._y -= 1;
}
}
if (_root.mcPLAYER.GROUNDED == false) {
if (_root.mcPLAYER.FALLING == true) {
_root.announcer._y += 1;
}
}
if (_root.mcPLAYER.DIRECTION == 'R') {
if (_root.mcPLAYER.XMOVEMENT > 1) {
_root.announcer._x += 1;
}
}
if (_root.mcPLAYER.DIRECTION == 'L') {
if (_root.mcPLAYER.XMOVEMENT < -1) {
_root.announcer._x -= 1;
}
}
}
onClipEvent (press) {
if (_root.curtains._currentframe == 1) {
_root.setclue();
_root.announceclue();
if (_root.whatlevelisit == 10) {
_root.shazam();
_root.tutorialpanel.gotoAndStop(2);
}
if (_root.whatlevelisit != 10) {
_root.cheernoise.gotoAndStop('boo1');
_root.rollcrowda();
_root.rollcrowdb();
}
}
}
}
movieClip 1580 {
frame 28 {
_root.tickertape.gotoAndPlay(529);
}
frame 44 {
_root.curtains._alpha = 100;
}
frame 51 {
stop();
}
}
movieClip 1586 {
frame 2 {
var ttlcrowd = _root.rowa + _root.rowb;
if (_root.levelreset == true) {
if (_root.deathbyspike == true) {
_root.addtodeaths();
_root.announcelaugh();
if (_root.ttlcrowd > 0) {
_root.tickertape.gotoAndPlay(133);
}
if (_root.ttlcrowd < 1) {
_root.tickertape.gotoAndPlay(463);
}
var ttlcrowd = _root.rowa + _root.rowb;
if (_root.ttlcrowd > 0) {
_root.cheernoise.gotoAndStop('boo1');
}
_root.rollcrowda();
_root.rollcrowdb();
}
}
if (_root.ttlcrowd == 0) {
_root.cheernoise.gotoAndStop('silence');
}
}
frame 6 {
_root.ttlcrowd = _root.rowa + _root.rowb;
if (_root.skipped == false) {
if (_root.levelreset == false) {
if (_root.ttlcrowd < 30) {
trace('CROWD ' + _root.ttlcrowd);
_root.tickertape.gotoAndPlay(199);
}
if (_root.ttlcrowd > 29) {
trace('CROWD ' + _root.ttlcrowd);
_root.tickertape.gotoAndPlay(265);
}
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.rollcrowdbin();
_root.rollcrowdain();
var ttlcrowd = _root.rowa + _root.rowb;
if (_root.ttlcrowd > 0) {
_root.cheernoise.gotoAndStop('cheer1');
}
}
}
}
frame 21 {
_root.telen = false;
}
frame 40 {
if (_root.levelreset == false) {
_root.nextFrame();
}
if (_root.levelreset == true) {
_root.gotoAndStop(8);
_root.gotoAndStop(_root.whatlevelisit);
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
}
_root.disabled = false;
_root.entdoor.gotoAndStop(1);
_root.goal.gotoAndStop(1);
_root.bg.play();
_root.sign.gotoAndStop(1);
_root.randomdude();
_root.mcPLAYER.gotoAndStop(1);
_root.mcPLAYER.booboo.play();
if (_root.entdoor._x <= 320) {
_root.announcer._x = 550;
}
if (_root.entdoor._x >= 320) {
_root.announcer._x = 626.9500000000001;
}
_root.save();
}
frame 42 {
_root.announcesettle();
}
frame 55 {
_root.telen = true;
_root.skipped = false;
}
frame 77 {
_root.sign.play();
}
frame 93 {
_root.mcPLAYER._x = _root.entdoor._x;
_root.mcPLAYER._y = _root.entdoor._y;
_root.entdoor.gotoAndPlay(1);
_root.goal.gotoAndPlay(1);
_root.mcPLAYER.gotoAndPlay(3);
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER._visible = true;
_root.enablecontrols();
if (_root.levelreset == false) {
_root.whatlevelisit += 1;
_root.levelcounternum += 1;
++_root.cluelevel;
_root.tickertape.gotoAndPlay(529);
}
trace(_root.whatlevelisit);
_root.levelreset = false;
_root.deathbyspike = false;
gotoAndStop(1);
}
}
instance curtains of movieClip 1586 {
onClipEvent (load) {
this._alpha = 0;
}
}
movieClip 1589 {
}
instance of movieClip 1589 {
onClipEvent (load) {
this.cacheAsBitmap = true;
}
}
movieClip 1602 {
}
movieClip 1603 {
frame 1 {
stop();
}
frame 66 {
gotoAndPlay(529);
}
frame 132 {
gotoAndPlay(529);
}
frame 198 {
gotoAndPlay(529);
}
frame 264 {
stop();
}
frame 330 {
stop();
}
frame 396 {
stop();
}
frame 462 {
gotoAndPlay(529);
}
frame 528 {
gotoAndPlay(529);
}
frame 536 {
stop();
}
}
movieClip 1606 {
}
instance of movieClip 1606 {
onClipEvent (enterFrame) {
if (_root.controlson == true) {
if (Key.isDown(87)) {
_root.JUMPKEY = 87;
}
if (Key.isDown(83)) {
_root.CROUCHKEY = 83;
}
if (Key.isDown(65)) {
_root.RUNLEFTKEY = 65;
}
if (Key.isDown(68)) {
_root.RUNRIGHTKEY = 68;
}
if (Key.isDown(38)) {
_root.JUMPKEY = 38;
}
if (Key.isDown(40)) {
_root.CROUCHKEY = 40;
}
if (Key.isDown(37)) {
_root.RUNLEFTKEY = 37;
}
if (Key.isDown(39)) {
_root.RUNRIGHTKEY = 39;
}
}
}
}
movieClip 1608 {
frame 4 {
stop();
}
}
movieClip 1609 {
frame 4 {
stop();
}
}
movieClip 1610 {
frame 4 {
stop();
}
}
button 1611 {
on (release) {
_root.mutethat();
gotoAndStop(2);
}
}
movieClip 1613 {
frame 4 {
stop();
}
}
movieClip 1614 {
frame 4 {
stop();
}
}
movieClip 1615 {
frame 4 {
stop();
}
}
button 1616 {
on (release) {
_root.unmutethat();
gotoAndStop(1);
}
}
movieClip 1617 {
frame 1 {
stop();
}
}
movieClip 1619 {
frame 4 {
stop();
}
}
movieClip 1620 {
frame 4 {
stop();
}
}
movieClip 1621 {
frame 4 {
stop();
}
}
button 1622 {
on (press) {
_root.stopcounting();
_root.spikego = false;
_root.save();
_root.Track1.stop(['main1']);
_root.gotoAndStop(5);
}
}
// unknown tag 88 length 52
movieClip 1637 {
}
instance of movieClip 1637 {
onClipEvent (load) {
if (_root.testing == false) {
this._visible = false;
this._alpha = 0;
}
}
}
frame 8 {
var levtext = '*SPACE* or *Z* to Jump';
var signsize = 2;
}
instance windoor2 of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
button 1650 {
on (press) {
_root.stopcounting();
_root.spikego = false;
_root.save();
_root.Track1.stop(['main1']);
_root.gotoAndStop('menu');
}
}
movieClip 1651 {
}
instance of movieClip 1651 {
onClipEvent (enterFrame) {
if (Key.isDown(82)) {
if (pressedun == false) {
if (_root.curtains._currentframe == 1) {
var ttlcrowd = _root.rowa + _root.rowb;
if (_root.levelreset == false) {
_root.levelreset = true;
_root.spikego = false;
_root.announcelaugh();
++_root.fails;
++_root.totalfails;
_root.disablecontrols();
_root.cheernoise.gotoAndStop('boo1');
if (_root.ttlcrowd > 2) {
_root.tickertape.gotoAndPlay(67);
}
if (_root.ttlcrowd < 1) {
_root.tickertape.gotoAndPlay(397);
}
_root.rollcrowda();
_root.rollcrowdb();
_root.curtains.play();
pressedun = true;
}
}
}
}
if (!Key.isDown(86)) {
pressedun = false;
}
}
}
movieClip 1654 {
}
movieClip 1656 {
}
instance of movieClip 1656 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcPLAYER._y < 53) {
this._x = _root.mcPLAYER._x;
this._visible = true;
}
if (_root.mcPLAYER._y > 53) {
this._visible = false;
}
}
}
movieClip 1659 {
}
instance of movieClip 1659 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.levelreset = true;
_root.spikego = false;
_root.disablecontrols();
_root.deathbyspike = true;
_root.curtains.play();
}
}
if (_root.curtains._currentframe == 1) {
if (_root.disabled == false) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.disabled = true;
}
}
}
}
}
instance windoor3 of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
movieClip 1669 {
}
movieClip 1670 {
frame 4 {
stop();
}
}
movieClip 1671 {
frame 4 {
stop();
}
}
movieClip 1673 {
frame 1 {
stop();
}
}
movieClip 1676 {
frame 1 {
stop();
}
}
movieClip 1678 {
frame 1 {
stop();
}
}
movieClip 1681 {
frame 4 {
stop();
}
}
movieClip 1682 {
frame 4 {
stop();
}
}
movieClip 1683 {
frame 1 {
stop();
}
}
movieClip 1692 {
frame 1 {
stop();
}
}
instance of movieClip 1651 {
onClipEvent (load) {
this._visible = false;
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.tutorialpanel.gotoAndStop(2);
}
}
}
}
frame 10 {
function shazam() {
_root.windoor._visible = true;
_root.goal._visible = true;
_root.goal.gotoAndPlay(2);
_root.magicnoise.gotoAndStop(2);
_root.mcWALL3.gotoAndStop(2);
_root.mcWALL4.gotoAndStop(2);
_root.mcPLATFORM2.gotoAndStop(2);
}
windoor._visible = false;
_root.oof.gotoAndStop(1);
_root.mcWALL3.gotoAndStop(2);
_root.mcWALL4.gotoAndStop(2);
_root.mcPLATFORM2.gotoAndStop(2);
windoor._visible = false;
goal._visible = false;
_root.goal.gotoAndStop(1);
_root.mcWALL3.gotoAndStop(1);
_root.mcWALL4.gotoAndStop(1);
_root.mcPLATFORM2.gotoAndStop(1);
}
movieClip 1699 {
frame 1 {
stop();
if (_root.curtains._currentframe == 1) {
stop();
}
}
frame 35 {
stop();
}
frame 36 {
_root.announceyay();
}
frame 38 {
_root.curtains.play();
}
frame 44 {
stop();
}
}
movieClip 1700 {
}
movieClip 1701 {
}
movieClip 1702 {
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.windoor._visible == true) {
if (_root.curtains._currentframe == 1) {
if (_root.goal._currentframe == 35) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
}
}
movieClip 1715 {
frame 1 {
stop();
}
}
frame 11 {
var levtext = 'That\'s all the help you get!';
var signsize = 2;
}
movieClip 1717 {
frame 1 {
stop();
}
}
instance goal of movieClip 1260 {
onClipEvent (load) {
this._visible = true;
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
// unknown tag 88 length 177
movieClip 1725 {
frame 1 {
gotoAndStop(_root.signsize);
}
}
movieClip 1726 {
instance of movieClip 1725 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.signsize);
}
}
frame 17 {
stop();
}
}
instance sign of movieClip 1726 {
onClipEvent (enterFrame) {
_root.sign.signage.gotoAndStop(_root.signsize);
}
}
movieClip 1728 {
}
movieClip 1729 {
frame 4 {
stop();
}
}
movieClip 1730 {
frame 4 {
stop();
}
}
movieClip 1731 {
frame 4 {
stop();
}
}
button 1732 {
on (release) {
if (_root.curtains._currentframe == 1) {
var ttlcrowd = _root.rowa + _root.rowb;
if (_root.levelreset == false) {
_root.levelreset = true;
_root.spikego = false;
_root.announcelaugh();
++_root.fails;
++_root.totalfails;
_root.disablecontrols();
_root.cheernoise.gotoAndStop('boo1');
if (_root.ttlcrowd > 2) {
_root.tickertape.gotoAndPlay(67);
}
if (_root.ttlcrowd < 1) {
_root.tickertape.gotoAndPlay(397);
}
_root.rollcrowda();
_root.rollcrowdb();
_root.curtains.play();
}
}
}
}
movieClip 1733 {
frame 4 {
stop();
}
}
movieClip 1734 {
frame 4 {
stop();
}
}
movieClip 1735 {
frame 4 {
stop();
}
}
movieClip 1745 {
}
movieClip 1746 {
frame 43 {
stop();
}
}
movieClip 1747 {
frame 1 {
stop();
}
}
instance of movieClip 1747 {
onClipEvent (release) {
if (_root.skipped == false) {
if (_root.curtains._currentframe == 1) {
_root.skipped = true;
_root.ttlcrowd = _root.rowa + _root.rowb;
trace(_root.ttlcrowd);
_root.announcenay();
_root.cheernoise.gotoAndStop('boo2');
_root.bottime1 += 60;
_root.rollcrowda();
_root.rollcrowdb();
_root.rollcrowda();
_root.rollcrowdb();
_root.rollcrowda();
_root.rollcrowdb();
if (_root.ttlcrowd > 1) {
_root.tickertape.gotoAndPlay(2);
}
if (_root.ttlcrowd < 1) {
_root.tickertape.gotoAndPlay(331);
}
_root.disablecontrols();
_root.spikego = false;
_root.curtains.play();
}
}
}
}
movieClip 1749 {
frame 4 {
stop();
}
}
movieClip 1750 {
frame 4 {
stop();
}
}
movieClip 1751 {
frame 4 {
stop();
}
}
button 1752 {
on (release) {
getURL('http://armorgames.com/guide/above-average-guy-walkthrough', '_blank');
}
}
frame 12 {
var levtext = 'No jumping!';
var signsize = 1;
}
frame 12 {
_root.bi3.gotoAndStop(1);
_root.bi4.gotoAndStop(1);
}
movieClip 1754 {
}
movieClip 1756 {
}
movieClip 1768 {
frame 1 {
stop();
}
frame 30 {
_root.mcPLATFORM13.gotoAndStop(2);
_root.mcWALL12.gotoAndStop(2);
_root.mcWALL13.gotoAndStop(2);
}
frame 36 {
stop();
}
}
movieClip 1776 {
frame 1 {
stop();
}
frame 30 {
_root.mcPLATFORM12.gotoAndStop(2);
_root.mcWALL10.gotoAndStop(2);
_root.mcWALL11.gotoAndStop(2);
}
frame 36 {
stop();
}
}
movieClip 1777 {
frame 1 {
stop();
}
}
instance mcPLATFORM12 of movieClip 1777 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
if (_root.bi3._currentframe == 1) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.bi3.play();
}
}
}
}
}
}
instance mcPLATFORM13 of movieClip 1777 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
if (_root.bi4._currentframe == 1) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.bi4.play();
}
}
}
}
}
}
movieClip 1778 {
frame 1 {
stop();
}
}
movieClip 1779 {
frame 1 {
stop();
}
}
instance windoor4 of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
movieClip 1781 {
frame 1 {
_root.mcPLAYER._alpha = 0;
}
frame 2 {
_root.mcPLAYER._alpha = 20;
}
frame 4 {
_root.mcPLAYER._alpha = 50;
}
frame 6 {
_root.mcPLAYER._alpha = 100;
}
frame 17 {
stop();
}
}
instance of movieClip 1606 {
onClipEvent (enterFrame) {
if (_root.controlson == true) {
if (Key.isDown(83)) {
_root.CROUCHKEY = 83;
}
if (Key.isDown(65)) {
_root.RUNLEFTKEY = 65;
}
if (Key.isDown(68)) {
_root.RUNRIGHTKEY = 68;
}
if (Key.isDown(40)) {
_root.CROUCHKEY = 40;
}
if (Key.isDown(37)) {
_root.RUNLEFTKEY = 37;
}
if (Key.isDown(39)) {
_root.RUNRIGHTKEY = 39;
}
}
}
}
frame 13 {
var levtext = 'Aim for a big splash!';
var signsize = 2;
}
frame 13 {
function shazam() {
_root.windoor._visible = true;
_root.goal._visible = true;
_root.goal.gotoAndPlay(2);
_root.magicnoise.gotoAndStop(2);
_root.mcWALL3.gotoAndStop(2);
_root.mcWALL4.gotoAndStop(2);
_root.mcPLATFORM2.gotoAndStop(2);
}
windoor._visible = false;
var danger = false;
_root.oof.gotoAndStop(1);
_root.mcWALL3.gotoAndStop(2);
_root.mcWALL4.gotoAndStop(2);
_root.mcPLATFORM2.gotoAndStop(2);
windoor._visible = false;
goal._visible = false;
_root.goal.gotoAndStop(1);
_root.mcWALL3.gotoAndStop(1);
_root.mcWALL4.gotoAndStop(1);
_root.mcPLATFORM2.gotoAndStop(1);
var goingfast = false;
}
instance mcPLATFORM1 of movieClip 1245 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.goingfast = false;
}
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.windoor._visible == true) {
if (_root.curtains._currentframe == 1) {
if (_root.goal._currentframe == 35) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
}
}
movieClip 1783 {
}
movieClip 1785 {
}
movieClip 1800 {
frame 1 {
stop();
}
}
instance green of movieClip 1683 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (this._currentframe == 1) {
_root.shazam();
this.gotoAndStop(2);
}
}
}
}
movieClip 1810 {
frame 1 {
stop();
}
frame 40 {
stop();
}
}
movieClip 1812 {
}
instance mcPLATFORM10 of movieClip 1245 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (Key.isDown(32)) {
_root.springy.play();
}
if (Key.isDown(90)) {
_root.springy.play();
}
}
}
}
movieClip 1813 {
frame 1 {
stop();
}
}
instance mcPLATFORM3 of movieClip 1813 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.goingfast == true) {
_root.mcWALL5.gotoAndStop(2);
_root.mcWALL6.gotoAndStop(2);
_root.mcPLATFORM3.gotoAndStop(2);
_root.cheernoise.gotoAndStop('cheer1');
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.boxxy.play();
}
}
}
}
movieClip 1814 {
frame 1 {
stop();
}
}
movieClip 1815 {
frame 1 {
stop();
}
}
instance of movieClip 1244 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.goingfast = true;
}
}
}
instance ss of movieClip 1244 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.springy.play();
}
}
}
instance of movieClip 1606 {
onClipEvent (enterFrame) {
if (_root.controlson == true) {
if (Key.isDown(87)) {
_root.JUMPKEY = 87;
}
if (Key.isDown(83)) {
_root.CROUCHKEY = 83;
}
if (Key.isDown(65)) {
_root.RUNLEFTKEY = 65;
}
if (Key.isDown(68)) {
_root.RUNRIGHTKEY = 68;
}
if (Key.isDown(38)) {
_root.JUMPKEY = 38;
}
if (Key.isDown(40)) {
_root.CROUCHKEY = 40;
}
if (Key.isDown(37)) {
_root.RUNLEFTKEY = 37;
}
if (Key.isDown(39)) {
_root.RUNRIGHTKEY = 39;
}
}
}
}
frame 14 {
var levtext = 'You\'re fading away!';
var signsize = 2;
}
instance of movieClip 1606 {
onClipEvent (enterFrame) {
if (_root.mcPLAYER._visible == true) {
if (_root.mcPLAYER._alpha > 0) {
_root.mcPLAYER._alpha -= 1.5;
}
}
}
}
instance goal of movieClip 1260 {
onClipEvent (load) {
this._visible = true;
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
frame 15 {
var levtext = 'I wish we had \'b\'ombs!';
var signsize = 2;
}
frame 15 {
var bombpress = false;
var boom = false;
}
movieClip 1821 {
frame 1 {
stop();
}
}
movieClip 1831 {
frame 1 {
bframe = Math.round(Math.random() * 9);
this.gotoAndStop(bframe);
stop();
}
}
movieClip 1832 {
frame 1 {
stop();
}
}
movieClip 1833 {
}
instance of movieClip 1833 {
onClipEvent (load) {
bispressed = false;
}
onClipEvent (enterFrame) {
if (0 == Key.isDown(66)) {
bispressed = false;
}
if (_root.disabled == false) {
if (_root.bomb._currentframe == 1) {
if (bispressed == false) {
if (_root.bombpress == false) {
if (_root.boom == false) {
if (Key.isDown(66)) {
_root.bomb._visible = true;
_root.bombpress = true;
_root.bomb._x = _root.mcPLAYER._x;
_root.bomb._y = _root.mcPLAYER._y;
_root.bomb.play();
_root.bomb.dropit = true;
bispressed = true;
}
}
}
}
}
}
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
movieClip 1835 {
}
movieClip 1836 {
}
movieClip 1838 {
}
movieClip 1842 {
}
movieClip 1843 {
}
movieClip 1849 {
}
movieClip 1850 {
}
movieClip 1858 {
frame 1 {
stop();
}
instance of movieClip 1849 {
onClipEvent (enterFrame) {
if (_root.disabled == false) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.disabled = true;
}
}
}
}
instance of movieClip 1850 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcWALL4)) {
_root.mcWALL4.gotoAndStop(2);
_root.wallfall.play();
}
}
}
frame 173 {
_root.bombpress = false;
_root.boom = false;
_parent.dropit = false;
_root.bomb.exploded = false;
gotoAndStop(1);
this._x = 704.8;
this._y = 220;
}
}
instance bomb of movieClip 1858 {
onClipEvent (load) {
dropit = false;
exploded = false;
}
onClipEvent (enterFrame) {
if (_root.bomb.dropit == true) {
if (_root.bomb.exploded == false) {
if (_root.bombpress == true) {
if (_root.boom == false) {
this.play();
}
}
}
}
if (dropit == true) {
if (this._y < 300) {
this._y += 20;
}
if (this._y > 300) {
this._y = 300;
}
}
}
}
movieClip 1876 {
frame 1 {
stop();
}
frame 4 {
_root.cheernoise.gotoAndStop('cheer1');
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
}
frame 42 {
stop();
}
}
instance sign of movieClip 1726 {
onClipEvent (enterFrame) {
_root.sign.signage.gotoAndStop(_root.signsize);
}
}
frame 16 {
var levtext = 'Red is always bad';
var signsize = 2;
}
frame 16 {
function shazam() {
_root.windoor._visible = true;
_root.goal._visible = true;
_root.goal.gotoAndPlay(2);
_root.magicnoise.gotoAndStop(2);
_root.mcWALL3.gotoAndStop(2);
_root.mcWALL4.gotoAndStop(2);
_root.mcPLATFORM2.gotoAndStop(2);
}
windoor._visible = false;
var danger = false;
_root.oof.gotoAndStop(1);
_root.mcWALL3.gotoAndStop(2);
_root.mcWALL4.gotoAndStop(2);
_root.mcPLATFORM2.gotoAndStop(2);
windoor._visible = false;
goal._visible = false;
_root.goal.gotoAndStop(1);
_root.mcWALL3.gotoAndStop(1);
_root.mcWALL4.gotoAndStop(1);
_root.mcPLATFORM2.gotoAndStop(1);
}
movieClip 1884 {
frame 1 {
stop();
}
}
movieClip 1886 {
frame 1 {
stop();
}
}
movieClip 1888 {
frame 1 {
stop();
}
}
movieClip 1889 {
frame 2 {
_root.danger = false;
}
frame 15 {
_root.danger = true;
}
frame 64 {
gotoAndPlay(1);
}
frame 65 {
stop();
}
frame 66 {
stop();
}
}
instance oof of movieClip 1889 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
if (_root.danger == false) {
if (this._currentframe > 1 && this._currentframe < 16) {
this.gotoAndStop(65);
_root.cheernoise.gotoAndStop('cheer1');
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.shazam();
this.gotoAndStop(65);
}
}
}
}
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
if (_root.danger == true) {
this.gotoAndStop(66);
}
}
}
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.windoor._visible == true) {
if (_root.curtains._currentframe == 1) {
if (_root.goal._currentframe == 35) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
}
}
movieClip 1891 {
frame 1 {
_root.mcPLAYER._alpha = 0;
}
frame 2 {
_root.mcPLAYER._alpha = 20;
}
frame 4 {
_root.mcPLAYER._alpha = 50;
}
frame 6 {
_root.mcPLAYER._alpha = 100;
}
frame 17 {
stop();
}
}
movieClip 1893 {
frame 40 {
_root.oof.play();
_root.oof._visible = true;
stop();
}
}
instance of movieClip 1893 {
onClipEvent (load) {
this.play();
_root.oof.gotoAndStop(1);
_root.danger = false;
}
}
frame 17 {
function shazam() {
_root.windoor._visible = true;
_root.goal._visible = true;
_root.goal.gotoAndPlay(2);
_root.magicnoise.gotoAndStop(2);
_root.mcWALL3.gotoAndStop(2);
_root.mcWALL4.gotoAndStop(2);
_root.mcPLATFORM2.gotoAndStop(2);
}
windoor._visible = false;
var danger = false;
_root.oof.gotoAndStop(1);
_root.mcWALL3.gotoAndStop(2);
_root.mcWALL4.gotoAndStop(2);
_root.mcPLATFORM2.gotoAndStop(2);
windoor._visible = false;
goal._visible = false;
_root.goal.gotoAndStop(1);
_root.mcWALL3.gotoAndStop(1);
_root.mcWALL4.gotoAndStop(1);
_root.mcPLATFORM2.gotoAndStop(1);
}
movieClip 1900 {
}
movieClip 1904 {
}
movieClip 1907 {
}
movieClip 1908 {
instance of movieClip 1907 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.levelreset = true;
_root.spikego = false;
_root.disablecontrols();
_root.deathbyspike = true;
_root.curtains.play();
}
}
if (_root.curtains._currentframe == 1) {
if (_root.disabled == false) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.disabled = true;
}
}
}
}
}
}
movieClip 1909 {
}
movieClip 1910 {
}
movieClip 1911 {
}
movieClip 1912 {
}
movieClip 1913 {
frame 1 {
stop();
}
}
instance green of movieClip 1913 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (this._currentframe == 1) {
_root.shazam();
_root.cheernoise.gotoAndStop('cheer1');
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
this.gotoAndStop(2);
}
}
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.windoor._visible == true) {
if (_root.curtains._currentframe == 1) {
if (_root.goal._currentframe == 35) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
}
}
frame 18 {
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 20;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = 'R';
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
_root.WJUMPKEY = 87;
_root.WCROUCHKEY = 83;
_root.WRUNLEFTKEY = 65;
_root.WRUNRIGHTKEY = 68;
_root.disabled = false;
_root.bouncingback = false;
a = 1;
while (a <= _root.maxplats) {
_root['mcWALL' + a]._visible = true;
_root['mcCEILING' + a]._visible = true;
_root['mcPLATFORM' + a]._visible = true;
++a;
}
onEnterFrame = function () {
if (_root.disabled == true) {
_root.disablecontrols();
if (_root.mcPLAYER.DIRECTION == 'L') {
_root.mcPLAYER.gotoAndStop(18);
}
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(19);
}
if (_root.mcPLAYER._y < 300) {
_root.mcPLAYER._y += 20;
}
if (_root.mcPLAYER._y > 300) {
_root.mcPLAYER._y = 300;
}
}
if (_root.disabled == false) {
if (Key.isDown(_root.JUMPKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.YMOVEMENT = -_root.mcPLAYER.JUMPPOWER;
_root.mcPLAYER.FALLING = false;
}
}
if (_root.mcPLAYER.GROUNDED == false) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.YMOVEMENT *= _root.mcPLAYER.INVERSEGRAVITY;
} else {
_root.mcPLAYER.YMOVEMENT *= _root.mcPLAYER.GRAVITY;
}
if (_root.mcPLAYER.YMOVEMENT > -1) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.FALLING = true;
_root.mcPLAYER.YMOVEMENT = 1;
}
}
}
_root.mcPLAYER.XMOVEMENT *= 0.9;
tempX = _root.mcPLAYER._x;
tempY = _root.mcPLAYER._y;
_root.mcPLAYER._y += _root.mcPLAYER.YMOVEMENT;
_root.mcPLAYER._x += _root.mcPLAYER.XMOVEMENT;
a = 1;
while (a <= _root.maxplats) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcWALL' + a]) == true) {
_root.mcPLAYER._x = tempX;
_root.mcPLAYER.XMOVEMENT = 0;
}
++a;
}
a = 1;
while (a <= _root.maxceil) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcCEILING' + a]) == true) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER._y = tempY;
_root.mcPLAYER.YMOVEMENT = 2;
_root.mcPLAYER.FALLING = true;
}
}
++a;
}
a = 1;
while (a <= _root.maxplats) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcPLATFORM' + a]) == true) {
if (_root.mcPLAYER.FALLING == true) {
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER._y = _root['mcPLATFORM' + a]._y;
_root.mcPLAYER.GROUNDED = true;
}
}
++a;
}
if (_root.mcPLAYER.GROUNDED == true) {
nohit = false;
a = 1;
while (a <= _root.maxplats) {
_root.mcPLAYER._y += 2;
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcPLATFORM' + a]) == true) {
nohit = true;
}
_root.mcPLAYER._y -= 2;
++a;
}
if (nohit == false) {
_root.mcPLAYER.YMOVEMENT = 1;
_root.mcPLAYER.GROUNDED = false;
}
}
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.XMOVEMENT < 0.5 and _root.mcPLAYER.XMOVEMENT > -0.5) {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(1);
} else {
_root.mcPLAYER.gotoAndStop(2);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(3);
} else {
_root.mcPLAYER.gotoAndStop(4);
}
}
} else {
if (_root.mcPLAYER.DIRECTION == 'R') {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.gotoAndStop(5);
} else {
_root.mcPLAYER.gotoAndStop(6);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.gotoAndStop(12);
} else {
_root.mcPLAYER.gotoAndStop(13);
}
}
}
}
if (_root.mcPLAYER.XMOVEMENT < 0.3 and _root.mcPLAYER.XMOVEMENT > -0.3) {
if (Key.isDown(_root.CROUCHKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(10);
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
_root.mcPLAYER.gotoAndStop(11);
}
}
}
}
}
if (Key.isDown(_root.CROUCHKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.DIRECTION == 'R') {
if (_root.mcPLAYER.XMOVEMENT > 0.3) {
_root.mcPLAYER.gotoAndStop(8);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
if (_root.mcPLAYER.XMOVEMENT < -0.3) {
_root.mcPLAYER.gotoAndStop(9);
}
}
}
}
} else {
if (Key.isDown(_root.RUNRIGHTKEY)) {
_root.mcPLAYER.XMOVEMENT += 1;
_root.mcPLAYER.DIRECTION = 'R';
}
if (Key.isDown(_root.RUNLEFTKEY)) {
_root.mcPLAYER.XMOVEMENT -= 1;
_root.mcPLAYER.DIRECTION = 'L';
}
}
}
};
}
frame 18 {
var levtext = 'No more help!';
var signsize = 1;
}
instance goal of movieClip 1260 {
onClipEvent (load) {
this._visible = true;
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
if (_root.controlson == true) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
}
movieClip 1915 {
frame 1 {
stop();
}
}
movieClip 1917 {
frame 1 {
_root.mcPLAYER._alpha = 0;
}
frame 2 {
_root.mcPLAYER._alpha = 20;
}
frame 4 {
_root.mcPLAYER._alpha = 50;
}
frame 6 {
_root.mcPLAYER._alpha = 100;
}
frame 17 {
stop();
}
}
instance sign of movieClip 1726 {
onClipEvent (enterFrame) {
_root.sign.signage.gotoAndStop(_root.signsize);
}
}
frame 19 {
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 20;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = 'R';
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
_root.WJUMPKEY = 87;
_root.WCROUCHKEY = 83;
_root.WRUNLEFTKEY = 65;
_root.WRUNRIGHTKEY = 68;
_root.disabled = false;
_root.bouncingback = false;
a = 1;
while (a <= _root.maxplats) {
_root['mcWALL' + a]._visible = true;
_root['mcCEILING' + a]._visible = true;
_root['mcPLATFORM' + a]._visible = true;
++a;
}
onEnterFrame = function () {
if (_root.disabled == true) {
_root.disablecontrols();
if (_root.mcPLAYER.DIRECTION == 'L') {
_root.mcPLAYER.gotoAndStop(18);
}
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(19);
}
if (_root.mcPLAYER._y < 300) {
_root.mcPLAYER._y += 20;
}
if (_root.mcPLAYER._y > 300) {
_root.mcPLAYER._y = 300;
}
}
if (_root.disabled == false) {
if (Key.isDown(_root.JUMPKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.YMOVEMENT = -_root.mcPLAYER.JUMPPOWER;
_root.mcPLAYER.FALLING = false;
}
}
if (_root.mcPLAYER.GROUNDED == false) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.YMOVEMENT *= _root.mcPLAYER.INVERSEGRAVITY;
} else {
_root.mcPLAYER.YMOVEMENT *= _root.mcPLAYER.GRAVITY;
}
if (_root.mcPLAYER.YMOVEMENT > -1) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.FALLING = true;
_root.mcPLAYER.YMOVEMENT = 1;
}
}
}
_root.mcPLAYER.XMOVEMENT *= 0.9;
tempX = _root.mcPLAYER._x;
tempY = _root.mcPLAYER._y;
_root.mcPLAYER._y += _root.mcPLAYER.YMOVEMENT;
_root.mcPLAYER._x += _root.mcPLAYER.XMOVEMENT;
a = 1;
while (a <= _root.maxplats) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcWALL' + a]) == true) {
_root.mcPLAYER._x = tempX;
_root.mcPLAYER.XMOVEMENT = 0;
}
++a;
}
a = 1;
while (a <= _root.maxceil) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcCEILING' + a]) == true) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER._y = tempY;
_root.mcPLAYER.YMOVEMENT = 2;
_root.mcPLAYER.FALLING = true;
}
}
++a;
}
a = 1;
while (a <= _root.maxplats) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcPLATFORM' + a]) == true) {
if (_root.mcPLAYER.FALLING == true) {
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER._y = _root['mcPLATFORM' + a]._y;
_root.mcPLAYER.GROUNDED = true;
}
}
++a;
}
if (_root.mcPLAYER.GROUNDED == true) {
nohit = false;
a = 1;
while (a <= _root.maxplats) {
_root.mcPLAYER._y += 2;
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcPLATFORM' + a]) == true) {
nohit = true;
}
_root.mcPLAYER._y -= 2;
++a;
}
if (nohit == false) {
_root.mcPLAYER.YMOVEMENT = 1;
_root.mcPLAYER.GROUNDED = false;
}
}
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.XMOVEMENT < 0.5 and _root.mcPLAYER.XMOVEMENT > -0.5) {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(1);
} else {
_root.mcPLAYER.gotoAndStop(2);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(3);
} else {
_root.mcPLAYER.gotoAndStop(4);
}
}
} else {
if (_root.mcPLAYER.DIRECTION == 'R') {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.gotoAndStop(5);
} else {
_root.mcPLAYER.gotoAndStop(6);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.gotoAndStop(12);
} else {
_root.mcPLAYER.gotoAndStop(13);
}
}
}
}
if (_root.mcPLAYER.XMOVEMENT < 0.3 and _root.mcPLAYER.XMOVEMENT > -0.3) {
if (Key.isDown(_root.CROUCHKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(10);
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
_root.mcPLAYER.gotoAndStop(11);
}
}
}
}
}
if (Key.isDown(_root.CROUCHKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.DIRECTION == 'R') {
if (_root.mcPLAYER.XMOVEMENT > 0.3) {
_root.mcPLAYER.gotoAndStop(8);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
if (_root.mcPLAYER.XMOVEMENT < -0.3) {
_root.mcPLAYER.gotoAndStop(9);
}
}
}
}
} else {
if (Key.isDown(_root.RUNRIGHTKEY)) {
_root.mcPLAYER.XMOVEMENT += 1;
_root.mcPLAYER.DIRECTION = 'R';
}
if (Key.isDown(_root.RUNLEFTKEY)) {
_root.mcPLAYER.XMOVEMENT -= 1;
_root.mcPLAYER.DIRECTION = 'L';
}
}
}
};
}
frame 19 {
++_root.whatlevelisit;
nextFrame();
}
frame 19 {
var levtext = 'Please mind the gap';
var signsize = 1;
}
frame 19 {
_root.mcPLAYER.play();
}
frame 20 {
var levtext = 'Left clicking doesn\'t work.';
var signsize = 2;
}
frame 20 {
function itemHandler1(obj, item) {
getURL('http://chris-jeff.com', '_blank');
}
function itemHandler2(obj, item) {
_root.shazam();
}
function itemHandler8(obj, item) {}
function itemHandler3(obj, item) {
global.setVolume(100);
}
function itemHandler4(obj, item) {
global.setVolume(0);
}
function itemHandler5(obj, item) {
_quality = 'high';
}
function itemHandler6(obj, item) {
_quality = 'medium';
}
function itemHandler7(obj, item) {
_quality = 'low';
}
function shazam() {
_root.windoor._visible = true;
_root.goal._visible = true;
_root.goal.gotoAndPlay(2);
_root.magicnoise.gotoAndStop(2);
_root.mcWALL3.gotoAndStop(2);
_root.mcWALL4.gotoAndStop(2);
_root.mcPLATFORM2.gotoAndStop(2);
_root.cheernoise.gotoAndStop('cheer1');
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
}
root_cm = new ContextMenu();
root_cm.hideBuiltInItems();
aaa_cmi = new ContextMenuItem('Developed by ChrisJeff Games (Chris Jeffrey)', itemHandler1);
bbb_cmi = new ContextMenuItem('Open Sesame!', itemHandler2);
zzz_cmi = new ContextMenuItem('Music by Waterflame', itemHandler8);
ccc_cmi = new ContextMenuItem('Music On', itemHandler3);
ddd_cmi = new ContextMenuItem('Music Off', itemHandler4);
eee_cmi = new ContextMenuItem('High Quality', itemHandler5);
fff_cmi = new ContextMenuItem('Mid Quality', itemHandler6);
ggg_cmi = new ContextMenuItem('Low Quality', itemHandler7);
ccc_cmi.separatorBefore = true;
eee_cmi.separatorBefore = true;
root_cm.customItems.push(bbb_cmi);
_root.menu = root_cm;
Stage.scaleMode = 'noborder';
wintext._visible = false;
windoor._visible = false;
goal._visible = false;
_root.goal.gotoAndStop(1);
_root.mcWALL3.gotoAndStop(1);
_root.mcWALL4.gotoAndStop(1);
_root.mcPLATFORM2.gotoAndStop(1);
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.windoor._visible == true) {
if (_root.curtains._currentframe == 1) {
if (_root.goal._currentframe == 35) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
}
}
movieClip 1921 {
frame 1 {
stop();
}
}
frame 21 {
function itemHandler1(obj, item) {
getURL('http://chris-jeff.com', '_blank');
}
function itemHandler2(obj, item) {
getURL('http://nch-productions.com', '_blank');
}
function itemHandler8(obj, item) {}
function itemHandler3(obj, item) {
global.setVolume(100);
_root.mutebut.gotoAndStop(1);
}
function itemHandler4(obj, item) {
global.setVolume(0);
_root.mutebut.gotoAndStop(2);
}
function itemHandler5(obj, item) {
_quality = 'high';
}
function itemHandler6(obj, item) {
_quality = 'medium';
}
function itemHandler7(obj, item) {
_quality = 'low';
}
root_cm = new ContextMenu();
root_cm.hideBuiltInItems();
aaa_cmi = new ContextMenuItem('Developed by ChrisJeff Games', itemHandler1);
bbb_cmi = new ContextMenuItem('Art and Animation by NCHproductions', itemHandler2);
zzz_cmi = new ContextMenuItem('Music by Waterflame/SFX by Skybase', itemHandler8);
ccc_cmi = new ContextMenuItem('Music On', itemHandler3);
ddd_cmi = new ContextMenuItem('Music Off', itemHandler4);
eee_cmi = new ContextMenuItem('High Quality', itemHandler5);
fff_cmi = new ContextMenuItem('Mid Quality', itemHandler6);
ggg_cmi = new ContextMenuItem('Low Quality', itemHandler7);
ccc_cmi.separatorBefore = true;
eee_cmi.separatorBefore = true;
root_cm.customItems.push(aaa_cmi, bbb_cmi, zzz_cmi, ccc_cmi, ddd_cmi, eee_cmi, fff_cmi, ggg_cmi);
_root.menu = root_cm;
}
frame 21 {
var levtext = 'Shame you can\'t ENTER that door!';
var signsize = 3;
}
frame 21 {
var butpress = false;
}
movieClip 1923 {
}
movieClip 1928 {
}
movieClip 1929 {
}
movieClip 1930 {
frame 2 {
stop();
}
}
movieClip 1931 {
frame 1 {
stop();
}
frame 6 {
stop();
}
}
instance of movieClip 1606 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.JUMPKEY = 32;
}
if (Key.isDown(83)) {
_root.CROUCHKEY = 83;
}
if (Key.isDown(65)) {
_root.RUNLEFTKEY = 65;
}
if (Key.isDown(68)) {
_root.RUNRIGHTKEY = 68;
}
if (Key.isDown(90)) {
_root.JUMPKEY = 90;
}
if (Key.isDown(40)) {
_root.CROUCHKEY = 40;
}
if (Key.isDown(37)) {
_root.RUNLEFTKEY = 37;
}
if (Key.isDown(39)) {
_root.RUNRIGHTKEY = 39;
}
}
}
instance of movieClip 1606 {
onClipEvent (enterFrame) {
if (_root.butpress == false) {
if (Key.isDown(13)) {
_root.butpress = true;
_root.mcWALL5.play();
_root.pilla2.play();
_root.cheernoise.gotoAndStop('cheer1');
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
}
}
}
}
instance goal of movieClip 1260 {
onClipEvent (load) {
this._visible = true;
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
movieClip 1932 {
frame 1 {
stop();
}
frame 6 {
stop();
}
}
frame 22 {
var levtext = 'Remember!';
var signsize = 1;
}
frame 22 {
_root.goal._visible = true;
}
instance mcPLATFORM1 of movieClip 1245 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.mcCEILING2._visible = true;
_root.mcCEILING6._visible = true;
_root.mcPLATFORM6._visible = true;
_root.mcPLATFORM7._visible = true;
_root.mcPLATFORM8._visible = true;
_root.mcWALL7._visible = true;
_root.mcWALL8._visible = true;
_root.mcWALL9._visible = true;
_root.mcWALL10._visible = true;
_root.mcWALL11._visible = true;
_root.mcWALL12._visible = true;
}
}
}
instance windoor5 of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
movieClip 1934 {
}
instance mcPLATFORM7 of movieClip 1934 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.mcPLATFORM6._visible = false;
}
}
}
instance mcPLATFORM8 of movieClip 1934 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.mcCEILING6._visible = false;
_root.mcPLATFORM7._visible = false;
}
}
}
frame 23 {
var levtext = 'Mind the green stuff!';
var signsize = 1;
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
movieClip 1945 {
frame 6 {
_root.mcPLAYER._visible = false;
}
frame 19 {
gotoAndStop(1);
}
}
instance greensplash of movieClip 1945 {
onClipEvent (load) {
this.gotoAndStop(1);
}
}
movieClip 1947 {
}
movieClip 1949 {
}
movieClip 1950 {
}
button 1951 {
on (press) {
_root.fallbridge.play();
_root.cheernoise.gotoAndStop('cheer1');
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
}
}
movieClip 1952 {
frame 1 {
stop();
}
frame 21 {
stop();
_root.mcPLATFORM14.gotoAndStop(2);
}
}
movieClip 1953 {
frame 1 {
stop();
}
}
movieClip 1962 {
}
movieClip 1969 {
}
movieClip 1971 {
}
movieClip 1972 {
instance of movieClip 1971 {
onClipEvent (load) {
this._visible = false;
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.levelreset = true;
_root.spikego = false;
_root.disablecontrols();
_root.deathbyspike = true;
_root.curtains.play();
}
}
if (_root.curtains._currentframe == 1) {
if (_root.disabled == false) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.disabled = true;
}
}
}
if (this.hitTest(_root.mcPLAYER)) {
if (_root.curtains._currentframe == 1) {
if (hit == false) {
_root.greensplash._x = _root.mcPLAYER._x;
_root.greensplash._y = _root.mcPLAYER._y;
_root.greensplash.play();
hit = true;
}
}
}
}
}
}
frame 24 {
var levtext = 'RUN!';
var signsize = 1;
}
frame 24 {
var spikego = false;
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
_root.spikego = false;
}
}
}
}
movieClip 1976 {
instance of movieClip 1659 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.levelreset = true;
_root.spikego = false;
_root.disablecontrols();
_root.deathbyspike = true;
_root.curtains.play();
}
}
if (_root.curtains._currentframe == 1) {
if (_root.disabled == false) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.disabled = true;
}
}
}
}
}
}
instance of movieClip 1976 {
onClipEvent (enterFrame) {
if (_root.spikego == true) {
this._x += 1.2;
}
}
}
movieClip 1978 {
frame 75 {
_root.spikego = true;
stop();
}
}
frame 25 {
var levtext = 'Go on, you can cross it!';
var signsize = 2;
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
instance greensplash of movieClip 1945 {
onClipEvent (load) {
this.gotoAndStop(1);
}
}
movieClip 1985 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 1992 {
}
movieClip 1994 {
}
movieClip 1995 {
frame 1 {
stop();
}
instance of movieClip 1992 {
onClipEvent (load) {
this.stop();
}
}
instance of movieClip 1992 {
onClipEvent (load) {
this.stop();
}
}
instance of movieClip 1994 {
onClipEvent (load) {
this.stop();
}
}
}
instance box1 of movieClip 1995 {
onClipEvent (press) {
startDrag(this, false);
this.gotoAndStop(2);
}
onClipEvent (releaseOutside) {
stopDrag();
this.gotoAndStop(1);
}
onClipEvent (release) {
stopDrag();
this.gotoAndStop(1);
}
}
instance mcWALL25 of movieClip 1244 {
onClipEvent (enterFrame) {
this._x = _root.box1._x - -37.35;
this._y = _root.box1._y - -25.95;
}
}
instance mcWALL19 of movieClip 1244 {
onClipEvent (enterFrame) {
this._x = _root.box1._x - -6.65;
this._y = _root.box1._y - -25.95;
}
}
instance mcPLATFORM23 of movieClip 1245 {
onClipEvent (enterFrame) {
this._x = _root.box1._x - -6.3;
this._y = _root.box1._y - 1.7;
}
}
instance mcCEILING5 of movieClip 1245 {
onClipEvent (enterFrame) {
this._x = _root.box1._x - -5.45;
this._y = _root.box1._y - -32.8;
}
}
instance sign of movieClip 1726 {
onClipEvent (enterFrame) {
_root.sign.signage.gotoAndStop(_root.signsize);
}
}
movieClip 1997 {
instance of movieClip 1971 {
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER)) {
if (_root.curtains._currentframe == 1) {
if (hit == false) {
_root.greensplash._x = _root.mcPLAYER._x;
_root.greensplash._y = _root.mcPLAYER._y;
_root.greensplash.play();
hit = true;
}
}
}
}
}
instance of movieClip 1971 {
onClipEvent (load) {
this._visible = false;
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.levelreset = true;
_root.spikego = false;
_root.disablecontrols();
_root.deathbyspike = true;
_root.curtains.play();
}
}
if (_root.curtains._currentframe == 1) {
if (_root.disabled == false) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.disabled = true;
}
}
}
if (this.hitTest(_root.mcPLAYER)) {
if (_root.curtains._currentframe == 1) {
if (hit == false) {
_root.greensplash._x = _root.mcPLAYER._x;
_root.greensplash._y = _root.mcPLAYER._y;
_root.greensplash.play();
hit = true;
}
}
}
}
}
}
frame 26 {
var levtext = 'Just yell for help!';
var signsize = 2;
}
frame 26 {
var help = 0;
}
instance of movieClip 1606 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.JUMPKEY = 32;
}
if (Key.isDown(83)) {
_root.CROUCHKEY = 83;
}
if (Key.isDown(65)) {
_root.RUNLEFTKEY = 65;
}
if (Key.isDown(68)) {
_root.RUNRIGHTKEY = 68;
}
if (Key.isDown(90)) {
_root.JUMPKEY = 90;
}
if (Key.isDown(40)) {
_root.CROUCHKEY = 40;
}
if (Key.isDown(37)) {
_root.RUNLEFTKEY = 37;
}
if (Key.isDown(39)) {
_root.RUNRIGHTKEY = 39;
}
}
}
instance of movieClip 1606 {
onClipEvent (enterFrame) {
if (Key.isDown(72)) {
if (_root.help == 0) {
_root.help = 1;
_root.hness.play();
}
}
if (Key.isDown(69)) {
if (_root.help == 1) {
_root.help = 2;
_root.eness.play();
}
}
if (Key.isDown(76)) {
if (_root.help == 2) {
_root.help = 3;
_root.lness.play();
}
}
if (Key.isDown(80)) {
if (_root.help == 3) {
_root.help = 4;
_root.pness.play();
_root.mcWALL5.play();
_root.pilla.play();
}
}
}
}
movieClip 2000 {
frame 1 {
stop();
}
frame 24 {
stop();
}
}
movieClip 2002 {
frame 1 {
stop();
}
frame 24 {
stop();
}
}
movieClip 2004 {
frame 1 {
stop();
}
frame 24 {
stop();
}
}
movieClip 2006 {
frame 1 {
stop();
}
frame 24 {
stop();
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
frame 27 {
var levtext = 'DOWN or S to teleport';
var signsize = 2;
}
frame 27 {
var telestop = false;
}
movieClip 2009 {
frame 1 {
stop();
}
}
instance telenoise of movieClip 2009 {
onClipEvent (enterFrame) {
if (_root.telen == true) {
this.gotoAndStop(2);
}
if (_root.telen == false) {
this.gotoAndStop(1);
}
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
if (_root.telestop == false) {
_root.telestop = true;
_root.telewoo.play();
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
}
movieClip 2017 {
}
movieClip 2019 {
frame 13 {
stop();
}
}
movieClip 2020 {
}
movieClip 2021 {
}
movieClip 2022 {
}
movieClip 2023 {
}
movieClip 2026 {
frame 1 {
stop();
}
}
instance tp1 of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (Key.isDown(40) or Key.isDown(83)) {
if (_root.telestop == false) {
_root.telestop = true;
_root.telewoo.play();
_root.mcPLAYER._x = _root.mcPLATFORM3._x;
_root.mcPLAYER._y = _root.mcPLATFORM3._y;
}
}
}
}
}
instance tp2 of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (Key.isDown(40) or Key.isDown(83)) {
if (_root.telestop == false) {
_root.telestop = true;
_root.telewoo.play();
_root.mcPLAYER._x = _root.mcPLATFORM2._x;
_root.mcPLAYER._y = _root.mcPLATFORM2._y;
}
}
}
}
}
instance tp4 of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (Key.isDown(40) or Key.isDown(83)) {
if (_root.telestop == false) {
_root.telestop = true;
_root.telewoo.play();
_root.mcPLAYER._x = _root.mcPLATFORM3._x;
_root.mcPLAYER._y = _root.mcPLATFORM3._y;
}
}
}
}
}
instance tp7 of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (Key.isDown(40) or Key.isDown(83)) {
if (_root.telestop == false) {
_root.telestop = true;
_root.telewoo.play();
_root.mcPLAYER._x = _root.mcPLATFORM11._x;
_root.mcPLAYER._y = _root.mcPLATFORM11._y;
}
}
}
}
}
instance tp6 of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (Key.isDown(40) or Key.isDown(83)) {
if (_root.telestop == false) {
_root.telestop = true;
_root.telewoo.play();
_root.mcPLAYER._x = _root.mcPLATFORM11._x;
_root.mcPLAYER._y = _root.mcPLATFORM11._y;
}
}
}
}
}
movieClip 2028 {
frame 10 {
_root.telestop = false;
stop();
}
}
frame 28 {
var levtext = 'All in one swift move!';
var signsize = 2;
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
movieClip 2036 {
frame 1 {
stop();
}
frame 30 {
_root.mcPLATFORM11.gotoAndStop(2);
_root.mcWALL21.gotoAndStop(2);
_root.mcWALL22.gotoAndStop(2);
}
frame 36 {
stop();
}
}
movieClip 2044 {
frame 1 {
stop();
}
frame 30 {
_root.mcPLATFORM10.gotoAndStop(2);
_root.mcWALL19.gotoAndStop(2);
_root.mcWALL20.gotoAndStop(2);
}
frame 36 {
stop();
}
}
movieClip 2052 {
frame 1 {
stop();
}
frame 30 {
_root.mcPLATFORM9.gotoAndStop(2);
_root.mcWALL17.gotoAndStop(2);
_root.mcWALL18.gotoAndStop(2);
}
frame 36 {
stop();
}
}
movieClip 2060 {
frame 1 {
stop();
}
frame 30 {
_root.mcPLATFORM8.gotoAndStop(2);
_root.mcWALL15.gotoAndStop(2);
_root.mcWALL16.gotoAndStop(2);
}
frame 36 {
stop();
}
}
movieClip 2068 {
frame 1 {
stop();
}
frame 30 {
_root.mcPLATFORM7.gotoAndStop(2);
_root.mcWALL13.gotoAndStop(2);
_root.mcWALL14.gotoAndStop(2);
}
frame 36 {
stop();
}
}
movieClip 2076 {
frame 1 {
stop();
}
frame 30 {
_root.mcPLATFORM6.gotoAndStop(2);
_root.mcWALL11.gotoAndStop(2);
_root.mcWALL12.gotoAndStop(2);
}
frame 36 {
stop();
}
}
movieClip 2084 {
frame 1 {
stop();
}
frame 30 {
_root.mcPLATFORM5.gotoAndStop(2);
_root.mcWALL9.gotoAndStop(2);
_root.mcWALL10.gotoAndStop(2);
}
frame 36 {
stop();
}
}
movieClip 2092 {
frame 1 {
stop();
}
frame 30 {
_root.mcPLATFORM3.gotoAndStop(2);
_root.mcWALL5.gotoAndStop(2);
_root.mcWALL6.gotoAndStop(2);
}
frame 36 {
stop();
}
}
movieClip 2100 {
frame 1 {
stop();
}
frame 30 {
_root.mcPLATFORM4.gotoAndStop(2);
_root.mcWALL7.gotoAndStop(2);
_root.mcWALL8.gotoAndStop(2);
}
frame 36 {
stop();
}
}
movieClip 2101 {
frame 1 {
stop();
}
}
movieClip 2102 {
frame 1 {
stop();
}
}
movieClip 2103 {
frame 1 {
stop();
}
}
instance mcPLATFORM3 of movieClip 2103 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.mcPLAYER._visible == true) {
if (_root.curtains._currentframe == 1) {
if (_root.bi1._currentframe == 1) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.bi1.play();
}
}
}
}
}
}
}
instance mcPLATFORM4 of movieClip 1777 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
if (_root.bi2._currentframe == 1) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.bi2.play();
}
}
}
}
}
}
instance mcPLATFORM5 of movieClip 1777 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.bi3._currentframe == 1) {
if (_root.curtains._currentframe == 1) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.bi3.play();
}
}
}
}
}
}
instance mcPLATFORM6 of movieClip 1777 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.bi4._currentframe == 1) {
if (_root.curtains._currentframe == 1) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.bi4.play();
}
}
}
}
}
}
instance mcPLATFORM7 of movieClip 1777 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.bi5._currentframe == 1) {
if (_root.curtains._currentframe == 1) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.bi5.play();
}
}
}
}
}
}
instance mcPLATFORM8 of movieClip 1777 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.bi6._currentframe == 1) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.bi6.play();
}
}
}
}
}
instance mcPLATFORM9 of movieClip 1777 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.bi7._currentframe == 1) {
if (_root.curtains._currentframe == 1) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.bi7.play();
}
}
}
}
}
}
instance mcPLATFORM10 of movieClip 1777 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.bi8._currentframe == 1) {
if (_root.curtains._currentframe == 1) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.bi8.play();
}
}
}
}
}
}
instance mcPLATFORM11 of movieClip 1777 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.bi9._currentframe == 1) {
if (_root.curtains._currentframe == 1) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.bi9.play();
}
}
}
}
}
}
frame 29 {
var levtext = 'I bet you can\'t get over this';
var signsize = 2;
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
instance box1 of movieClip 1240 {
onClipEvent (press) {
startDrag(this, false);
}
onClipEvent (releaseOutside) {
stopDrag();
}
onClipEvent (release) {
stopDrag();
}
}
instance mcWALL25 of movieClip 1244 {
onClipEvent (enterFrame) {
this._x = _root.box1._x - -11.15;
this._y = _root.box1._y - -6.1;
}
}
instance mcWALL19 of movieClip 1244 {
onClipEvent (enterFrame) {
this._x = _root.box1._x - 19.55;
this._y = _root.box1._y - -6.1;
}
}
instance mcPLATFORM23 of movieClip 1245 {
onClipEvent (enterFrame) {
this._x = _root.box1._x - 19.9;
this._y = _root.box1._y - 21.55;
}
}
instance mcCEILING7 of movieClip 1245 {
onClipEvent (enterFrame) {
this._x = _root.box1._x - 20.75;
this._y = _root.box1._y - -12.95;
}
}
instance box2 of movieClip 1240 {
onClipEvent (press) {
startDrag(this, false);
}
onClipEvent (releaseOutside) {
stopDrag();
}
onClipEvent (release) {
stopDrag();
}
}
instance mcWALL26 of movieClip 1244 {
onClipEvent (enterFrame) {
this._x = _root.box2._x - -11.15;
this._y = _root.box2._y - -6.1;
}
}
instance mcWALL20 of movieClip 1244 {
onClipEvent (enterFrame) {
this._x = _root.box2._x - 19.55;
this._y = _root.box2._y - -6.1;
}
}
instance mcPLATFORM23 of movieClip 1245 {
onClipEvent (enterFrame) {
this._x = _root.box2._x - 19.9;
this._y = _root.box2._y - 21.55;
}
}
instance mcCEILING5 of movieClip 1245 {
onClipEvent (enterFrame) {
this._x = _root.box2._x - 20.75;
this._y = _root.box2._y - -12.95;
}
}
instance box3 of movieClip 1240 {
onClipEvent (press) {
startDrag(this, false);
}
onClipEvent (releaseOutside) {
stopDrag();
}
onClipEvent (release) {
stopDrag();
}
}
instance mcWALL27 of movieClip 1244 {
onClipEvent (enterFrame) {
this._x = _root.box3._x - -11.15;
this._y = _root.box3._y - -6.1;
}
}
instance mcWALL21 of movieClip 1244 {
onClipEvent (enterFrame) {
this._x = _root.box3._x - 19.55;
this._y = _root.box3._y - -6.1;
}
}
instance mcPLATFORM25 of movieClip 1245 {
onClipEvent (enterFrame) {
this._x = _root.box3._x - 19.9;
this._y = _root.box3._y - 21.55;
}
}
instance mcCEILING6 of movieClip 1245 {
onClipEvent (enterFrame) {
this._x = _root.box3._x - 20.75;
this._y = _root.box3._y - -12.95;
}
}
instance sign of movieClip 1726 {
onClipEvent (enterFrame) {
_root.sign.signage.gotoAndStop(_root.signsize);
}
}
frame 30 {
var levtext = 'You should right click.';
var signsize = 2;
}
instance of movieClip 1606 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.JUMPKEY = 32;
}
if (Key.isDown(83)) {
_root.CROUCHKEY = 83;
}
if (Key.isDown(65)) {
_root.RUNLEFTKEY = 65;
}
if (Key.isDown(68)) {
_root.RUNRIGHTKEY = 68;
}
if (Key.isDown(90)) {
_root.JUMPKEY = 90;
}
if (Key.isDown(40)) {
_root.CROUCHKEY = 40;
}
if (Key.isDown(37)) {
_root.RUNLEFTKEY = 37;
}
if (Key.isDown(39)) {
_root.RUNRIGHTKEY = 39;
}
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
if (_root.telestop == false) {
_root.telestop = true;
_root.telewoo.play();
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
}
movieClip 2105 {
frame 1 {
stop();
}
}
instance of movieClip 2105 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.mcWALL9.gotoAndStop(2);
}
}
}
instance of movieClip 2105 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.mcWALL9.gotoAndStop(2);
}
}
}
movieClip 2106 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 2107 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance of movieClip 1651 {
onClipEvent (load) {
this._visible = false;
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
if (_root.mcWALL9._currentframe == 2) {
_root.trollydoor.gotoAndStop(2);
}
}
}
}
}
frame 31 {
function itemHandler1(obj, item) {
getURL('http://chris-jeff.com', '_blank');
}
function itemHandler2(obj, item) {
getURL('http://nch-productions.com', '_blank');
}
function itemHandler8(obj, item) {}
function itemHandler3(obj, item) {
global.setVolume(100);
_root.mutebut.gotoAndStop(1);
}
function itemHandler4(obj, item) {
global.setVolume(0);
_root.mutebut.gotoAndStop(2);
}
function itemHandler5(obj, item) {
_quality = 'high';
}
function itemHandler6(obj, item) {
_quality = 'medium';
}
function itemHandler7(obj, item) {
_quality = 'low';
}
root_cm = new ContextMenu();
root_cm.hideBuiltInItems();
aaa_cmi = new ContextMenuItem('Developed by ChrisJeff Games', itemHandler1);
bbb_cmi = new ContextMenuItem('Art and Animation by NCHproductions', itemHandler2);
zzz_cmi = new ContextMenuItem('Music by Waterflame/SFX by Skybase', itemHandler8);
ccc_cmi = new ContextMenuItem('Music On', itemHandler3);
ddd_cmi = new ContextMenuItem('Music Off', itemHandler4);
eee_cmi = new ContextMenuItem('High Quality', itemHandler5);
fff_cmi = new ContextMenuItem('Mid Quality', itemHandler6);
ggg_cmi = new ContextMenuItem('Low Quality', itemHandler7);
ccc_cmi.separatorBefore = true;
eee_cmi.separatorBefore = true;
root_cm.customItems.push(aaa_cmi, bbb_cmi, zzz_cmi, ccc_cmi, ddd_cmi, eee_cmi, fff_cmi, ggg_cmi);
_root.menu = root_cm;
}
frame 31 {
var levtext = 'No way out!';
_root.signsize = 1;
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
_root.spikego = false;
}
}
}
}
movieClip 2129 {
instance of movieClip 1904 {
onClipEvent (enterFrame) {
this.stop();
}
}
frame 42 {
stop();
}
instance q12 of movieClip 1904 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance q11 of movieClip 1904 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance q10 of movieClip 1904 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance q9 of movieClip 1904 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance q8 of movieClip 1904 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance q7 of movieClip 1904 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance q6 of movieClip 1904 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance q5 of movieClip 1904 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance q4 of movieClip 1904 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance q3 of movieClip 1904 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance q2 of movieClip 1904 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance q1 of movieClip 1904 {
onClipEvent (enterFrame) {
this.stop();
}
}
}
movieClip 2130 {
frame 1 {
stop();
}
instance of movieClip 1659 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.levelreset = true;
_root.spikego = false;
_root.disablecontrols();
_root.deathbyspike = true;
_root.curtains.play();
}
}
if (_root.curtains._currentframe == 1) {
if (_root.disabled == false) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.disabled = true;
}
}
}
}
}
}
instance of movieClip 2130 {
onClipEvent (enterFrame) {
if (_root.spikego == true) {
this._x -= 2.5;
if (this._x <= 172) {
_root.spikego = false;
this.gotoAndStop(2);
}
}
}
}
frame 32 {
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 20;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = 'R';
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
_root.WJUMPKEY = 87;
_root.WCROUCHKEY = 83;
_root.WRUNLEFTKEY = 65;
_root.WRUNRIGHTKEY = 68;
_root.disabled = false;
_root.bouncingback = false;
a = 1;
while (a <= _root.maxplats) {
_root['mcWALL' + a]._visible = true;
_root['mcCEILING' + a]._visible = true;
_root['mcPLATFORM' + a]._visible = true;
++a;
}
onEnterFrame = function () {
if (_root.disabled == true) {
_root.disablecontrols();
if (_root.mcPLAYER.DIRECTION == 'L') {
_root.mcPLAYER.gotoAndStop(18);
}
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(19);
}
if (_root.mcPLAYER._y < 300) {
_root.mcPLAYER._y += 20;
}
if (_root.mcPLAYER._y > 300) {
_root.mcPLAYER._y = 300;
}
}
if (_root.disabled == false) {
if (Key.isDown(_root.JUMPKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.YMOVEMENT = -_root.mcPLAYER.JUMPPOWER;
_root.mcPLAYER.FALLING = false;
}
}
if (_root.mcPLAYER.GROUNDED == false) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.YMOVEMENT *= _root.mcPLAYER.INVERSEGRAVITY;
} else {
_root.mcPLAYER.YMOVEMENT *= _root.mcPLAYER.GRAVITY;
}
if (_root.mcPLAYER.YMOVEMENT > -1) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.FALLING = true;
_root.mcPLAYER.YMOVEMENT = 1;
}
}
}
_root.mcPLAYER.XMOVEMENT *= 0.9;
tempX = _root.mcPLAYER._x;
tempY = _root.mcPLAYER._y;
_root.mcPLAYER._y += _root.mcPLAYER.YMOVEMENT;
_root.mcPLAYER._x += _root.mcPLAYER.XMOVEMENT;
a = 1;
while (a <= _root.maxplats) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcWALL' + a]) == true) {
_root.mcPLAYER._x = tempX;
_root.mcPLAYER.XMOVEMENT = 0;
}
++a;
}
a = 1;
while (a <= _root.maxceil) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcCEILING' + a]) == true) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER._y = tempY;
_root.mcPLAYER.YMOVEMENT = 2;
_root.mcPLAYER.FALLING = true;
}
}
++a;
}
a = 1;
while (a <= _root.maxplats) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcPLATFORM' + a]) == true) {
if (_root.mcPLAYER.FALLING == true) {
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER._y = _root['mcPLATFORM' + a]._y;
_root.mcPLAYER.GROUNDED = true;
}
}
++a;
}
if (_root.mcPLAYER.GROUNDED == true) {
nohit = false;
a = 1;
while (a <= _root.maxplats) {
_root.mcPLAYER._y += 2;
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcPLATFORM' + a]) == true) {
nohit = true;
}
_root.mcPLAYER._y -= 2;
++a;
}
if (nohit == false) {
_root.mcPLAYER.YMOVEMENT = 1;
_root.mcPLAYER.GROUNDED = false;
}
}
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.XMOVEMENT < 0.5 and _root.mcPLAYER.XMOVEMENT > -0.5) {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(1);
} else {
_root.mcPLAYER.gotoAndStop(2);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(3);
} else {
_root.mcPLAYER.gotoAndStop(4);
}
}
} else {
if (_root.mcPLAYER.DIRECTION == 'R') {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.gotoAndStop(5);
} else {
_root.mcPLAYER.gotoAndStop(6);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.gotoAndStop(12);
} else {
_root.mcPLAYER.gotoAndStop(13);
}
}
}
}
if (_root.mcPLAYER.XMOVEMENT < 0.3 and _root.mcPLAYER.XMOVEMENT > -0.3) {
if (Key.isDown(_root.CROUCHKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(10);
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
_root.mcPLAYER.gotoAndStop(11);
}
}
}
}
}
if (Key.isDown(_root.CROUCHKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.DIRECTION == 'R') {
if (_root.mcPLAYER.XMOVEMENT > 0.3) {
_root.mcPLAYER.gotoAndStop(8);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
if (_root.mcPLAYER.XMOVEMENT < -0.3) {
_root.mcPLAYER.gotoAndStop(9);
}
}
}
}
} else {
if (Key.isDown(_root.RUNRIGHTKEY)) {
_root.mcPLAYER.XMOVEMENT += 0.2;
_root.mcPLAYER.DIRECTION = 'R';
}
if (Key.isDown(_root.RUNLEFTKEY)) {
_root.mcPLAYER.XMOVEMENT -= 0.2;
_root.mcPLAYER.DIRECTION = 'L';
}
}
}
};
}
frame 32 {
var levtext = 'Slooowmooo';
var signsize = 1;
}
instance of movieClip 1606 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.JUMPKEY = 32;
}
if (Key.isDown(83)) {
_root.CROUCHKEY = 83;
}
if (Key.isDown(65)) {
_root.RUNLEFTKEY = 65;
}
if (Key.isDown(68)) {
_root.RUNRIGHTKEY = 68;
}
if (Key.isDown(90)) {
_root.JUMPKEY = 90;
}
if (Key.isDown(40)) {
_root.CROUCHKEY = 40;
}
if (Key.isDown(37)) {
_root.RUNLEFTKEY = 37;
}
if (Key.isDown(39)) {
_root.RUNRIGHTKEY = 39;
}
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
instance sign of movieClip 1726 {
onClipEvent (enterFrame) {
_root.sign.signage.gotoAndStop(_root.signsize);
}
}
frame 33 {
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 20;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = 'R';
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
_root.WJUMPKEY = 87;
_root.WCROUCHKEY = 83;
_root.WRUNLEFTKEY = 65;
_root.WRUNRIGHTKEY = 68;
_root.disabled = false;
_root.bouncingback = false;
a = 1;
while (a <= _root.maxplats) {
_root['mcWALL' + a]._visible = true;
_root['mcCEILING' + a]._visible = true;
_root['mcPLATFORM' + a]._visible = true;
++a;
}
onEnterFrame = function () {
if (_root.disabled == true) {
_root.disablecontrols();
if (_root.mcPLAYER.DIRECTION == 'L') {
_root.mcPLAYER.gotoAndStop(18);
}
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(19);
}
if (_root.mcPLAYER._y < 300) {
_root.mcPLAYER._y += 20;
}
if (_root.mcPLAYER._y > 300) {
_root.mcPLAYER._y = 300;
}
}
if (_root.disabled == false) {
if (Key.isDown(_root.JUMPKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.YMOVEMENT = -_root.mcPLAYER.JUMPPOWER;
_root.mcPLAYER.FALLING = false;
}
}
if (_root.mcPLAYER.GROUNDED == false) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.YMOVEMENT *= _root.mcPLAYER.INVERSEGRAVITY;
} else {
_root.mcPLAYER.YMOVEMENT *= _root.mcPLAYER.GRAVITY;
}
if (_root.mcPLAYER.YMOVEMENT > -1) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.FALLING = true;
_root.mcPLAYER.YMOVEMENT = 1;
}
}
}
_root.mcPLAYER.XMOVEMENT *= 0.9;
tempX = _root.mcPLAYER._x;
tempY = _root.mcPLAYER._y;
_root.mcPLAYER._y += _root.mcPLAYER.YMOVEMENT;
_root.mcPLAYER._x += _root.mcPLAYER.XMOVEMENT;
a = 1;
while (a <= _root.maxplats) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcWALL' + a]) == true) {
_root.mcPLAYER._x = tempX;
_root.mcPLAYER.XMOVEMENT = 0;
}
++a;
}
a = 1;
while (a <= _root.maxceil) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcCEILING' + a]) == true) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER._y = tempY;
_root.mcPLAYER.YMOVEMENT = 2;
_root.mcPLAYER.FALLING = true;
}
}
++a;
}
a = 1;
while (a <= _root.maxplats) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcPLATFORM' + a]) == true) {
if (_root.mcPLAYER.FALLING == true) {
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER._y = _root['mcPLATFORM' + a]._y;
_root.mcPLAYER.GROUNDED = true;
}
}
++a;
}
if (_root.mcPLAYER.GROUNDED == true) {
nohit = false;
a = 1;
while (a <= _root.maxplats) {
_root.mcPLAYER._y += 2;
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcPLATFORM' + a]) == true) {
nohit = true;
}
_root.mcPLAYER._y -= 2;
++a;
}
if (nohit == false) {
_root.mcPLAYER.YMOVEMENT = 1;
_root.mcPLAYER.GROUNDED = false;
}
}
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.XMOVEMENT < 0.5 and _root.mcPLAYER.XMOVEMENT > -0.5) {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(1);
} else {
_root.mcPLAYER.gotoAndStop(2);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(3);
} else {
_root.mcPLAYER.gotoAndStop(4);
}
}
} else {
if (_root.mcPLAYER.DIRECTION == 'R') {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.gotoAndStop(5);
} else {
_root.mcPLAYER.gotoAndStop(6);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.gotoAndStop(12);
} else {
_root.mcPLAYER.gotoAndStop(13);
}
}
}
}
if (_root.mcPLAYER.XMOVEMENT < 0.3 and _root.mcPLAYER.XMOVEMENT > -0.3) {
if (Key.isDown(_root.CROUCHKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(10);
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
_root.mcPLAYER.gotoAndStop(11);
}
}
}
}
}
if (Key.isDown(_root.CROUCHKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.DIRECTION == 'R') {
if (_root.mcPLAYER.XMOVEMENT > 0.3) {
_root.mcPLAYER.gotoAndStop(8);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
if (_root.mcPLAYER.XMOVEMENT < -0.3) {
_root.mcPLAYER.gotoAndStop(9);
}
}
}
}
} else {
if (Key.isDown(_root.RUNRIGHTKEY)) {
_root.mcPLAYER.XMOVEMENT += 1;
_root.mcPLAYER.DIRECTION = 'R';
}
if (Key.isDown(_root.RUNLEFTKEY)) {
_root.mcPLAYER.XMOVEMENT -= 1;
_root.mcPLAYER.DIRECTION = 'L';
}
}
}
};
}
frame 33 {
var levtext = 'What do you hear?';
var signsize = 2;
}
frame 33 {
function shazam() {
_root.windoor._visible = true;
_root.goal._visible = true;
_root.goal.gotoAndPlay(2);
_root.magicnoise.gotoAndStop(2);
_root.mcWALL3.gotoAndStop(2);
_root.mcWALL4.gotoAndStop(2);
_root.mcPLATFORM2.gotoAndStop(2);
_root.cheernoise.gotoAndStop('cheer1');
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
}
function blueor() {
if (_root.order == 2) {
_root.order = 0;
}
if (_root.order == 3) {
_root.order = 0;
}
if (_root.order == 1) {
_root.order = 2;
}
}
function greenor() {
if (_root.order == 1) {
_root.order = 0;
}
if (_root.order == 2) {
_root.order = 3;
_root.shazam();
}
}
function redor() {
if (_root.order == 2) {
_root.order = 0;
}
if (_root.order == 1) {
_root.order = 0;
}
}
windoor._visible = false;
goal._visible = false;
_root.goal.gotoAndStop(1);
_root.mcWALL3.gotoAndStop(2);
_root.mcWALL4.gotoAndStop(2);
_root.mcPLATFORM2.gotoAndStop(2);
_root.mcWALL3.gotoAndStop(1);
_root.mcWALL4.gotoAndStop(1);
_root.mcPLATFORM2.gotoAndStop(1);
var order = 0;
}
movieClip 2133 {
frame 118 {
stop();
}
}
movieClip 2135 {
frame 1 {
stop();
}
}
movieClip 2136 {
frame 1 {
stop();
}
}
instance blue of movieClip 2136 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.mcPLAYER._visible == true) {
if (this._currentframe == 1) {
_root.blueor();
this.gotoAndStop(2);
}
}
}
if (!this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
this.gotoAndStop(1);
}
}
}
instance green of movieClip 1678 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (this._currentframe == 1) {
_root.greenor();
this.gotoAndStop(2);
}
}
if (!this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
this.gotoAndStop(1);
}
}
}
movieClip 2137 {
frame 1 {
stop();
}
}
instance red of movieClip 2137 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (this._currentframe == 1) {
_root.redor();
_root.order = 1;
this.gotoAndStop(2);
}
}
if (!this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
this.gotoAndStop(1);
}
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.windoor._visible == true) {
if (_root.curtains._currentframe == 1) {
if (_root.goal._currentframe == 35) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
}
}
frame 34 {
var levtext = 'If you can\'t get to it, bring it to you!';
var signsize = 2;
}
instance of movieClip 1606 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.JUMPKEY = 32;
}
if (Key.isDown(83)) {
_root.CROUCHKEY = 83;
}
if (Key.isDown(65)) {
_root.RUNLEFTKEY = 65;
}
if (Key.isDown(68)) {
_root.RUNRIGHTKEY = 68;
}
if (Key.isDown(90)) {
_root.JUMPKEY = 90;
}
if (Key.isDown(40)) {
_root.CROUCHKEY = 40;
}
if (Key.isDown(37)) {
_root.RUNLEFTKEY = 37;
}
if (Key.isDown(39)) {
_root.RUNRIGHTKEY = 39;
}
}
}
movieClip 2140 {
frame 16 {
stop();
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
_root.goal.play();
}
}
}
}
frame 17 {
_root.announceyay();
}
frame 19 {
_root.curtains.play();
}
frame 25 {
stop();
}
}
instance goal of movieClip 2140 {
onClipEvent (press) {
startDrag(this, false);
}
onClipEvent (releaseOutside) {
stopDrag();
}
onClipEvent (release) {
stopDrag();
}
onClipEvent (load) {
this._visible = true;
}
}
frame 35 {
var levtext = 'Graphical failure';
var signsize = 2;
}
instance goal of movieClip 1260 {
onClipEvent (load) {
this._visible = true;
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
instance sign of movieClip 1726 {
onClipEvent (enterFrame) {
_root.sign.signage.gotoAndStop(_root.signsize);
}
}
frame 36 {
function appear1() {
_root.mcPLATFORM12.gotoAndStop(1);
_root.mcWALL7.gotoAndStop(1);
_root.mcWALL8.gotoAndStop(1);
_root.mcCEILING9.gotoAndStop(1);
}
function disappear1() {
_root.mcPLATFORM12.gotoAndStop(2);
_root.mcWALL7.gotoAndStop(2);
_root.mcWALL8.gotoAndStop(2);
_root.mcCEILING9.gotoAndStop(2);
}
function appear2() {
_root.mcPLATFORM5.gotoAndStop(1);
_root.mcWALL9.gotoAndStop(1);
_root.mcWALL10.gotoAndStop(1);
_root.mcCEILING13.gotoAndStop(1);
}
function disappear2() {
_root.mcPLATFORM5.gotoAndStop(2);
_root.mcWALL9.gotoAndStop(2);
_root.mcWALL10.gotoAndStop(2);
_root.mcCEILING13.gotoAndStop(2);
}
function appear3() {
_root.mcPLATFORM6.gotoAndStop(1);
_root.mcWALL11.gotoAndStop(1);
_root.mcWALL12.gotoAndStop(1);
_root.mcCEILING12.gotoAndStop(1);
}
function disappear3() {
_root.mcPLATFORM6.gotoAndStop(2);
_root.mcWALL11.gotoAndStop(2);
_root.mcWALL12.gotoAndStop(2);
_root.mcCEILING12.gotoAndStop(2);
}
function appear4() {
_root.mcPLATFORM7.gotoAndStop(1);
_root.mcWALL13.gotoAndStop(1);
_root.mcWALL14.gotoAndStop(1);
_root.mcCEILING11.gotoAndStop(1);
}
function disappear4() {
_root.mcPLATFORM7.gotoAndStop(2);
_root.mcWALL13.gotoAndStop(2);
_root.mcWALL14.gotoAndStop(2);
_root.mcCEILING11.gotoAndStop(2);
}
function appear5() {
_root.mcPLATFORM8.gotoAndStop(1);
_root.mcWALL15.gotoAndStop(1);
_root.mcWALL16.gotoAndStop(1);
_root.mcCEILING10.gotoAndStop(1);
}
function disappear5() {
_root.mcPLATFORM8.gotoAndStop(2);
_root.mcWALL15.gotoAndStop(2);
_root.mcWALL16.gotoAndStop(2);
_root.mcCEILING10.gotoAndStop(2);
}
function appear6() {
_root.mcPLATFORM9.gotoAndStop(1);
_root.mcWALL17.gotoAndStop(1);
_root.mcWALL18.gotoAndStop(1);
_root.mcCEILING15.gotoAndStop(1);
}
function disappear6() {
_root.mcPLATFORM9.gotoAndStop(2);
_root.mcWALL17.gotoAndStop(2);
_root.mcWALL18.gotoAndStop(2);
_root.mcCEILING15.gotoAndStop(2);
}
function appear7() {
_root.mcPLATFORM10.gotoAndStop(1);
_root.mcWALL19.gotoAndStop(1);
_root.mcWALL20.gotoAndStop(1);
_root.mcCEILING16.gotoAndStop(1);
}
function disappear7() {
_root.mcPLATFORM10.gotoAndStop(2);
_root.mcWALL19.gotoAndStop(2);
_root.mcWALL20.gotoAndStop(2);
_root.mcCEILING16.gotoAndStop(2);
}
function appear8() {
_root.mcPLATFORM11.gotoAndStop(1);
_root.mcWALL21.gotoAndStop(1);
_root.mcWALL22.gotoAndStop(1);
_root.mcCEILING17.gotoAndStop(1);
}
function disappear8() {
_root.mcPLATFORM11.gotoAndStop(2);
_root.mcWALL21.gotoAndStop(2);
_root.mcWALL22.gotoAndStop(2);
_root.mcCEILING17.gotoAndStop(2);
}
function appear9() {
_root.mcPLATFORM53.gotoAndStop(1);
_root.mcWALL49.gotoAndStop(1);
_root.mcWALL50.gotoAndStop(1);
_root.mcCEILING18.gotoAndStop(1);
}
function disappear9() {
_root.mcPLATFORM53.gotoAndStop(2);
_root.mcWALL49.gotoAndStop(2);
_root.mcWALL50.gotoAndStop(2);
_root.mcCEILING18.gotoAndStop(2);
}
function appear10() {
_root.mcPLATFORM54.gotoAndStop(1);
_root.mcWALL51.gotoAndStop(1);
_root.mcWALL52.gotoAndStop(1);
_root.mcCEILING19.gotoAndStop(1);
}
function disappear10() {
_root.mcPLATFORM54.gotoAndStop(2);
_root.mcWALL51.gotoAndStop(2);
_root.mcWALL52.gotoAndStop(2);
_root.mcCEILING19.gotoAndStop(2);
}
function wallappear() {
_root.mcWALL23.gotoAndStop(1);
}
_root.disappear1();
_root.disappear2();
_root.disappear3();
_root.disappear4();
_root.disappear5();
_root.disappear6();
_root.disappear7();
_root.disappear8();
_root.disappear9();
_root.disappear10();
_root.mcWALL23.gotoAndStop(2);
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
instance greensplash of movieClip 1945 {
onClipEvent (load) {
this.gotoAndStop(1);
}
}
movieClip 2146 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 2152 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 2153 {
}
movieClip 2154 {
instance wall of movieClip 2153 {
onClipEvent (load) {
this._visible = false;
}
}
frame 7 {
_root.appear1();
}
frame 18 {
_root.appear2();
}
frame 29 {
_root.appear3();
}
frame 33 {
_root.disappear1();
}
frame 37 {
_root.appear4();
}
frame 44 {
_root.disappear2();
}
frame 48 {
_root.appear5();
}
frame 54 {
_root.disappear3();
}
frame 56 {
_root.appear6();
}
frame 63 {
_root.appear7();
}
frame 64 {
_root.disappear4();
}
frame 71 {
_root.appear8();
}
frame 74 {
_root.disappear5();
}
frame 82 {
_root.disappear6();
}
frame 89 {
_root.disappear7();
}
frame 97 {
_root.disappear8();
}
}
instance trollpath3 of movieClip 2154 {
onClipEvent (load) {
this.stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.curtains._currentframe == 1) {
this.play();
this._visible = true;
}
}
}
instance mcPLATFORM9 of movieClip 1245 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.wallappear();
}
}
}
instance mcPLATFORM6 of movieClip 1245 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.wallappear();
}
}
}
instance of movieClip 1651 {
onClipEvent (load) {
this._visible = false;
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
if (_root.mcWALL23._currentframe == 1) {
_root.trollpath3.wall._visible = true;
}
}
}
}
}
frame 37 {
var levtext = 'Think, not run';
var signsize = 1;
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
_root.spikego = false;
}
}
}
}
movieClip 2156 {
instance of movieClip 1659 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.levelreset = true;
_root.spikego = false;
_root.disablecontrols();
_root.deathbyspike = true;
_root.curtains.play();
}
}
if (_root.curtains._currentframe == 1) {
if (_root.disabled == false) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.disabled = true;
}
}
}
}
}
}
instance of movieClip 2156 {
onClipEvent (enterFrame) {
if (_root.spikego == true) {
this._x += 1.2;
}
}
}
frame 38 {
var levtext = 'An unusual way';
var signsize = 1;
}
frame 38 {
++_root.whatlevelisit;
nextFrame();
}
frame 39 {
var levtext = 'Evil controls';
var signsize = 1;
}
instance goal of movieClip 1260 {
onClipEvent (load) {
this._visible = true;
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
instance of movieClip 1606 {
onClipEvent (enterFrame) {
if (_root.controlson == true) {
if (Key.isDown(87)) {
_root.CROUCHKEY = 87;
}
if (Key.isDown(83)) {
_root.JUMPKEY = 83;
}
if (Key.isDown(65)) {
_root.RUNRIGHTKEY = 65;
}
if (Key.isDown(68)) {
_root.RUNLEFTKEY = 68;
}
if (Key.isDown(38)) {
_root.CROUCHKEY = 38;
}
if (Key.isDown(40)) {
_root.JUMPKEY = 40;
}
if (Key.isDown(37)) {
_root.RUNRIGHTKEY = 37;
}
if (Key.isDown(39)) {
_root.RUNLEFTKEY = 39;
}
}
}
}
frame 40 {
var levtext = 'If only it moved UP';
var signsize = 2;
}
frame 40 {
++_root.whatlevelisit;
nextFrame();
}
instance of movieClip 1606 {
onClipEvent (enterFrame) {
if (_root.controlson == true) {
if (Key.isDown(87)) {
_root.JUMPKEY = 87;
}
if (Key.isDown(83)) {
_root.CROUCHKEY = 83;
}
if (Key.isDown(65)) {
_root.RUNLEFTKEY = 65;
}
if (Key.isDown(68)) {
_root.RUNRIGHTKEY = 68;
}
if (Key.isDown(38)) {
_root.JUMPKEY = 38;
}
if (Key.isDown(40)) {
_root.CROUCHKEY = 40;
}
if (Key.isDown(37)) {
_root.RUNLEFTKEY = 37;
}
if (Key.isDown(39)) {
_root.RUNRIGHTKEY = 39;
}
}
}
}
frame 41 {
var levtext = 'Some Japanese Game Code';
var signsize = 3;
}
frame 41 {
function shazam() {
_root.windoor._visible = true;
_root.goal._visible = true;
_root.goal.gotoAndPlay(2);
_root.magicnoise.gotoAndStop(2);
_root.mcWALL3.gotoAndStop(2);
_root.mcWALL4.gotoAndStop(2);
_root.mcPLATFORM2.gotoAndStop(2);
_root.cheernoise.gotoAndStop('cheer1');
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
}
wintext._visible = false;
windoor._visible = false;
goal._visible = false;
_root.goal.gotoAndStop(1);
_root.mcWALL3.gotoAndStop(1);
_root.mcWALL4.gotoAndStop(1);
_root.mcPLATFORM2.gotoAndStop(1);
var konami = 0;
}
movieClip 2158 {
}
instance of movieClip 1606 {
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
if (_root.konami == 0) {
_root.konami = 1;
}
}
if (Key.isDown(38)) {
if (_root.konami == 1) {
_root.konami = 2;
}
}
if (Key.isDown(40)) {
if (_root.konami == 2) {
_root.konami = 3;
}
}
if (Key.isDown(40)) {
if (_root.konami == 3) {
_root.konami = 4;
}
}
if (Key.isDown(40)) {
if (_root.konami == 4) {
_root.konami = 5;
}
}
if (Key.isDown(37)) {
if (_root.konami == 5) {
_root.konami = 6;
}
}
if (Key.isDown(39)) {
if (_root.konami == 6) {
_root.konami = 7;
}
}
if (Key.isDown(37)) {
if (_root.konami == 7) {
_root.konami = 8;
}
}
if (Key.isDown(39)) {
if (_root.konami == 8) {
_root.konami = 9;
}
}
if (Key.isDown(66)) {
if (_root.konami == 9) {
_root.konami = 10;
}
}
if (Key.isDown(65)) {
if (_root.konami == 10) {
_root.konami = 11;
_root.shazam();
}
}
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.windoor._visible == true) {
if (_root.curtains._currentframe == 1) {
if (_root.goal._currentframe == 35) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
}
}
instance sign of movieClip 1726 {
onClipEvent (enterFrame) {
_root.sign.signage.gotoAndStop(_root.signsize);
}
}
frame 42 {
var levtext = 'Shrink yourself!';
var signsize = 2;
_root.mcPLAYER._xscale = 200;
_root.mcPLAYER._yscale = 200;
_root.entdoor._xscale = 200;
_root.entdoor._yscale = 200;
}
movieClip 2160 {
}
instance of movieClip 1606 {
onClipEvent (enterFrame) {
if (_root.controlson == true) {
if (Key.isDown(189) or Key.isDown(109)) {
if (_root.mcPLAYER._xscale > 99) {
--_root.mcPLAYER._xscale;
}
if (_root.mcPLAYER._yscale > 99) {
--_root.mcPLAYER._yscale;
}
}
}
}
}
instance goal of movieClip 1260 {
onClipEvent (load) {
this._visible = true;
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
frame 43 {
++_root.whatlevelisit;
nextFrame();
}
frame 44 {
function appear1() {
_root.mcPLATFORM12.gotoAndStop(1);
_root.mcWALL7.gotoAndStop(1);
_root.mcWALL8.gotoAndStop(1);
_root.mcCEILING9.gotoAndStop(1);
}
function disappear1() {
_root.mcPLATFORM12.gotoAndStop(2);
_root.mcWALL7.gotoAndStop(2);
_root.mcWALL8.gotoAndStop(2);
_root.mcCEILING9.gotoAndStop(2);
}
function appear2() {
_root.mcPLATFORM5.gotoAndStop(1);
_root.mcWALL9.gotoAndStop(1);
_root.mcWALL10.gotoAndStop(1);
_root.mcCEILING13.gotoAndStop(1);
}
function disappear2() {
_root.mcPLATFORM5.gotoAndStop(2);
_root.mcWALL9.gotoAndStop(2);
_root.mcWALL10.gotoAndStop(2);
_root.mcCEILING13.gotoAndStop(2);
}
function appear3() {
_root.mcPLATFORM6.gotoAndStop(1);
_root.mcWALL11.gotoAndStop(1);
_root.mcWALL12.gotoAndStop(1);
_root.mcCEILING12.gotoAndStop(1);
}
function disappear3() {
_root.mcPLATFORM6.gotoAndStop(2);
_root.mcWALL11.gotoAndStop(2);
_root.mcWALL12.gotoAndStop(2);
_root.mcCEILING12.gotoAndStop(2);
}
function appear4() {
_root.mcPLATFORM7.gotoAndStop(1);
_root.mcWALL13.gotoAndStop(1);
_root.mcWALL14.gotoAndStop(1);
_root.mcCEILING11.gotoAndStop(1);
}
function disappear4() {
_root.mcPLATFORM7.gotoAndStop(2);
_root.mcWALL13.gotoAndStop(2);
_root.mcWALL14.gotoAndStop(2);
_root.mcCEILING11.gotoAndStop(2);
}
function appear5() {
_root.mcPLATFORM8.gotoAndStop(1);
_root.mcWALL15.gotoAndStop(1);
_root.mcWALL16.gotoAndStop(1);
_root.mcCEILING10.gotoAndStop(1);
}
function disappear5() {
_root.mcPLATFORM8.gotoAndStop(2);
_root.mcWALL15.gotoAndStop(2);
_root.mcWALL16.gotoAndStop(2);
_root.mcCEILING10.gotoAndStop(2);
}
function appear6() {
_root.mcPLATFORM9.gotoAndStop(1);
_root.mcWALL17.gotoAndStop(1);
_root.mcWALL18.gotoAndStop(1);
_root.mcCEILING15.gotoAndStop(1);
}
function disappear6() {
_root.mcPLATFORM9.gotoAndStop(2);
_root.mcWALL17.gotoAndStop(2);
_root.mcWALL18.gotoAndStop(2);
_root.mcCEILING15.gotoAndStop(2);
}
function appear7() {
_root.mcPLATFORM10.gotoAndStop(1);
_root.mcWALL19.gotoAndStop(1);
_root.mcWALL20.gotoAndStop(1);
_root.mcCEILING16.gotoAndStop(1);
}
function disappear7() {
_root.mcPLATFORM10.gotoAndStop(2);
_root.mcWALL19.gotoAndStop(2);
_root.mcWALL20.gotoAndStop(2);
_root.mcCEILING16.gotoAndStop(2);
}
function appear8() {
_root.mcPLATFORM11.gotoAndStop(1);
_root.mcWALL21.gotoAndStop(1);
_root.mcWALL22.gotoAndStop(1);
_root.mcCEILING17.gotoAndStop(1);
}
function disappear8() {
_root.mcPLATFORM11.gotoAndStop(2);
_root.mcWALL21.gotoAndStop(2);
_root.mcWALL22.gotoAndStop(2);
_root.mcCEILING17.gotoAndStop(2);
}
function appear9() {
_root.mcPLATFORM53.gotoAndStop(1);
_root.mcWALL49.gotoAndStop(1);
_root.mcWALL50.gotoAndStop(1);
_root.mcCEILING18.gotoAndStop(1);
}
function disappear9() {
_root.mcPLATFORM53.gotoAndStop(2);
_root.mcWALL49.gotoAndStop(2);
_root.mcWALL50.gotoAndStop(2);
_root.mcCEILING18.gotoAndStop(2);
}
function appear10() {
_root.mcPLATFORM54.gotoAndStop(1);
_root.mcWALL51.gotoAndStop(1);
_root.mcWALL52.gotoAndStop(1);
_root.mcCEILING19.gotoAndStop(1);
}
function disappear10() {
_root.mcPLATFORM54.gotoAndStop(2);
_root.mcWALL51.gotoAndStop(2);
_root.mcWALL52.gotoAndStop(2);
_root.mcCEILING19.gotoAndStop(2);
}
function wallappear() {
_root.mcWALL23.gotoAndStop(1);
}
_root.disappear1();
_root.disappear2();
_root.disappear3();
_root.disappear4();
_root.disappear5();
_root.disappear6();
_root.disappear7();
_root.disappear8();
_root.disappear9();
_root.disappear10();
_root.mcWALL23.gotoAndStop(2);
}
frame 44 {
var levtext = 'Cross!';
var signsize = 2;
_root.mcPLAYER._xscale = 100;
_root.mcPLAYER._yscale = 100;
}
instance goal of movieClip 1260 {
onClipEvent (load) {
this._visible = true;
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
instance greensplash of movieClip 1945 {
onClipEvent (load) {
this.gotoAndStop(1);
}
}
movieClip 2163 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 2164 {
instance wall of movieClip 2153 {
onClipEvent (load) {
this._visible = false;
}
}
frame 8 {
_root.appear1();
_root.appear2();
}
frame 29 {
_root.appear3();
_root.appear4();
}
frame 56 {
_root.appear5();
}
frame 67 {
_root.disappear2();
_root.disappear1();
}
frame 73 {
_root.appear6();
}
frame 81 {
_root.appear7();
}
frame 89 {
_root.disappear4();
_root.disappear3();
}
frame 90 {
_root.appear8();
}
frame 116 {
_root.disappear5();
}
frame 133 {
_root.disappear6();
}
frame 141 {
_root.disappear7();
}
frame 150 {
_root.disappear8();
}
}
instance trollpath2 of movieClip 2164 {
onClipEvent (load) {
this.stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.curtains._currentframe == 1) {
this.play();
this._visible = true;
}
}
}
instance mcPLATFORM9 of movieClip 1245 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.wallappear();
}
}
}
instance mcPLATFORM6 of movieClip 1245 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.wallappear();
}
}
}
instance mcPLATFORM12 of movieClip 1245 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.wallappear();
}
}
}
instance of movieClip 1651 {
onClipEvent (load) {
this._visible = false;
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
if (_root.mcWALL23._currentframe == 1) {
_root.trollpath2.wall._visible = true;
}
}
}
}
}
frame 45 {
var levtext = 'An unusual way';
var signsize = 1;
_root.mcPLAYER._xscale = 100;
_root.mcPLAYER._yscale = 100;
_root.entdoor._xscale = 100;
_root.entdoor._yscale = 100;
}
frame 45 {
++_root.whatlevelisit;
nextFrame();
}
frame 46 {
var levtext = 'If only it moved UP';
var signsize = 2;
}
frame 46 {
_root.winch.gotoAndStop(1);
}
instance of movieClip 1651 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
if (Key.isDown(38)) {
--_root.moveypole._y;
--_root.mcWALL5._y;
--_root.mcWALL6._y;
--_root.mcCEILING2._y;
_root.winchon = true;
}
}
}
}
}
movieClip 2166 {
frame 1 {
if (!Key.isDown(38)) {
_root.winchon = false;
_root.winch.hit = false;
stop();
}
}
}
instance winch of movieClip 2166 {
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (_root.winchon == true) {
if (hit == false) {
this.play();
hit = true;
}
}
}
}
instance goal of movieClip 1260 {
onClipEvent (load) {
this._visible = true;
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
movieClip 2168 {
}
frame 47 {
++_root.whatlevelisit;
nextFrame();
}
frame 48 {
function appear1() {
_root.mcPLATFORM12.gotoAndStop(1);
_root.mcWALL7.gotoAndStop(1);
_root.mcWALL8.gotoAndStop(1);
_root.mcCEILING9.gotoAndStop(1);
}
function disappear1() {
_root.mcPLATFORM12.gotoAndStop(2);
_root.mcWALL7.gotoAndStop(2);
_root.mcWALL8.gotoAndStop(2);
_root.mcCEILING9.gotoAndStop(2);
}
function appear2() {
_root.mcPLATFORM13.gotoAndStop(1);
_root.mcWALL9.gotoAndStop(1);
_root.mcWALL10.gotoAndStop(1);
_root.mcCEILING13.gotoAndStop(1);
}
function disappear2() {
_root.mcPLATFORM13.gotoAndStop(2);
_root.mcWALL9.gotoAndStop(2);
_root.mcWALL10.gotoAndStop(2);
_root.mcCEILING13.gotoAndStop(2);
}
function appear3() {
_root.mcPLATFORM6.gotoAndStop(1);
_root.mcWALL11.gotoAndStop(1);
_root.mcWALL12.gotoAndStop(1);
_root.mcCEILING12.gotoAndStop(1);
}
function disappear3() {
_root.mcPLATFORM6.gotoAndStop(2);
_root.mcWALL11.gotoAndStop(2);
_root.mcWALL12.gotoAndStop(2);
_root.mcCEILING12.gotoAndStop(2);
}
function appear4() {
_root.mcPLATFORM7.gotoAndStop(1);
_root.mcWALL13.gotoAndStop(1);
_root.mcWALL14.gotoAndStop(1);
_root.mcCEILING11.gotoAndStop(1);
}
function disappear4() {
_root.mcPLATFORM7.gotoAndStop(2);
_root.mcWALL13.gotoAndStop(2);
_root.mcWALL14.gotoAndStop(2);
_root.mcCEILING11.gotoAndStop(2);
}
function appear5() {
_root.mcPLATFORM8.gotoAndStop(1);
_root.mcWALL15.gotoAndStop(1);
_root.mcWALL16.gotoAndStop(1);
_root.mcCEILING10.gotoAndStop(1);
}
function disappear5() {
_root.mcPLATFORM8.gotoAndStop(2);
_root.mcWALL15.gotoAndStop(2);
_root.mcWALL16.gotoAndStop(2);
_root.mcCEILING10.gotoAndStop(2);
}
function wallappear() {
_root.mcWALL30.gotoAndStop(1);
}
_root.disappear1();
_root.disappear2();
_root.disappear3();
_root.disappear4();
_root.disappear5();
_root.mcWALL30.gotoAndStop(2);
}
frame 48 {
var levtext = 'The trick bridge!';
var signsize = 1;
}
instance winch of movieClip 2166 {
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (_root.winchon == true) {
if (hit == false) {
this.play();
hit = true;
}
}
}
}
instance goal of movieClip 1260 {
onClipEvent (load) {
this._visible = true;
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
instance greensplash of movieClip 1945 {
onClipEvent (load) {
this.gotoAndStop(1);
}
}
movieClip 2169 {
frame 8 {
_root.appear1();
}
frame 61 {
_root.appear2();
}
frame 111 {
_root.appear3();
}
frame 160 {
_root.appear4();
}
frame 209 {
_root.appear5();
}
frame 247 {
_root.disappear1();
}
frame 269 {
_root.disappear2();
}
frame 292 {
_root.disappear3();
}
frame 316 {
_root.disappear4();
}
frame 338 {
_root.disappear5();
}
}
movieClip 2170 {
}
movieClip 2171 {
instance wall of movieClip 2170 {
onClipEvent (load) {
this._visible = false;
}
}
}
instance trollpath of movieClip 2171 {
onClipEvent (load) {
this.stop();
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.curtains._currentframe == 1) {
this.play();
this._visible = true;
}
}
}
instance mcPLATFORM6 of movieClip 1245 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.wallappear();
}
}
}
instance of movieClip 1651 {
onClipEvent (load) {
this._visible = false;
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
if (_root.mcWALL30._currentframe == 1) {
_root.trollpath.wall._visible = true;
}
}
}
}
}
frame 49 {
var levtext = 'An unusual way';
var signsize = 1;
}
frame 49 {
++_root.whatlevelisit;
nextFrame();
}
frame 50 {
var levtext = 'An unusual way';
var signsize = 1;
}
instance goal of movieClip 1260 {
onClipEvent (load) {
this._visible = true;
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
movieClip 2173 {
}
instance of movieClip 2173 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.mcPLAYER._x = 617;
}
}
}
instance of movieClip 2173 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.mcPLAYER._x = 27;
}
}
}
frame 51 {
++_root.whatlevelisit;
nextFrame();
}
frame 52 {
var levtext = 'Drag them!';
var signsize = 1;
}
instance box1 of movieClip 1240 {
onClipEvent (press) {
startDrag(this, false);
}
onClipEvent (releaseOutside) {
stopDrag();
}
onClipEvent (release) {
stopDrag();
}
}
instance mcWALL25 of movieClip 1244 {
onClipEvent (enterFrame) {
this._x = _root.box1._x - -11.15;
this._y = _root.box1._y - -6.1;
}
}
instance mcWALL19 of movieClip 1244 {
onClipEvent (enterFrame) {
this._x = _root.box1._x - 19.55;
this._y = _root.box1._y - -6.1;
}
}
instance mcPLATFORM23 of movieClip 1245 {
onClipEvent (enterFrame) {
this._x = _root.box1._x - 19.9;
this._y = _root.box1._y - 21.55;
}
}
instance mcCEILING3 of movieClip 1245 {
onClipEvent (enterFrame) {
this._x = _root.box1._x - 20.75;
this._y = _root.box1._y - -12.95;
}
}
instance box2 of movieClip 1240 {
onClipEvent (press) {
startDrag(this, false);
}
onClipEvent (releaseOutside) {
stopDrag();
}
onClipEvent (release) {
stopDrag();
}
}
instance mcWALL26 of movieClip 1244 {
onClipEvent (enterFrame) {
this._x = _root.box2._x - -11.15;
this._y = _root.box2._y - -6.1;
}
}
instance mcWALL20 of movieClip 1244 {
onClipEvent (enterFrame) {
this._x = _root.box2._x - 19.55;
this._y = _root.box2._y - -6.1;
}
}
instance mcPLATFORM24 of movieClip 1245 {
onClipEvent (enterFrame) {
this._x = _root.box2._x - 19.9;
this._y = _root.box2._y - 21.55;
}
}
instance mcCEILING2 of movieClip 1245 {
onClipEvent (enterFrame) {
this._x = _root.box2._x - 20.75;
this._y = _root.box2._y - -12.95;
}
}
instance goal of movieClip 1260 {
onClipEvent (load) {
this._visible = true;
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
frame 53 {
++_root.whatlevelisit;
nextFrame();
}
instance of movieClip 1606 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.JUMPKEY = 32;
}
if (Key.isDown(83)) {
_root.CROUCHKEY = 83;
}
if (Key.isDown(65)) {
_root.RUNLEFTKEY = 65;
}
if (Key.isDown(68)) {
_root.RUNRIGHTKEY = 68;
}
if (Key.isDown(90)) {
_root.JUMPKEY = 90;
}
if (Key.isDown(40)) {
_root.CROUCHKEY = 40;
}
if (Key.isDown(37)) {
_root.RUNLEFTKEY = 37;
}
if (Key.isDown(39)) {
_root.RUNRIGHTKEY = 39;
}
}
}
instance goal of movieClip 1260 {
onClipEvent (load) {
this._visible = true;
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
instance greensplash of movieClip 1945 {
onClipEvent (load) {
this.gotoAndStop(1);
}
}
instance mcPLATFORM20 of movieClip 1245 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
this._alpha = 15;
} else {
this._alpha = 0;
}
}
}
instance mcWALL27 of movieClip 1244 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
this._alpha = 15;
} else {
this._alpha = 0;
}
}
}
instance mcPLATFORM23 of movieClip 1245 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
this._alpha = 15;
} else {
this._alpha = 0;
}
}
}
instance mcWALL28 of movieClip 1244 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER)) {
this._alpha = 40;
} else {
this._alpha = 0;
}
}
}
instance mcPLATFORM27 of movieClip 1245 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER)) {
this._alpha = 15;
} else {
this._alpha = 0;
}
}
}
instance mcPLATFORM22 of movieClip 1245 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
this._alpha = 15;
} else {
this._alpha = 0;
}
}
}
frame 55 {
++_root.whatlevelisit;
nextFrame();
}
instance of movieClip 1606 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.JUMPKEY = 32;
}
if (Key.isDown(83)) {
_root.CROUCHKEY = 83;
}
if (Key.isDown(65)) {
_root.RUNLEFTKEY = 65;
}
if (Key.isDown(68)) {
_root.RUNRIGHTKEY = 68;
}
if (Key.isDown(90)) {
_root.JUMPKEY = 90;
}
if (Key.isDown(40)) {
_root.CROUCHKEY = 40;
}
if (Key.isDown(37)) {
_root.RUNLEFTKEY = 37;
}
if (Key.isDown(39)) {
_root.RUNRIGHTKEY = 39;
}
}
}
instance goal of movieClip 1260 {
onClipEvent (load) {
this._visible = true;
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
_root.spikego = false;
}
}
}
}
instance box1 of movieClip 1995 {
onClipEvent (press) {
startDrag(this, false);
this.gotoAndStop(2);
}
onClipEvent (releaseOutside) {
stopDrag();
this.gotoAndStop(1);
}
onClipEvent (release) {
stopDrag();
this.gotoAndStop(1);
}
}
instance mcWALL25 of movieClip 1244 {
onClipEvent (enterFrame) {
this._x = _root.box1._x - -37.35;
this._y = _root.box1._y - -25.95;
}
}
instance mcWALL19 of movieClip 1244 {
onClipEvent (enterFrame) {
this._x = _root.box1._x - -6.65;
this._y = _root.box1._y - -25.95;
}
}
instance mcPLATFORM23 of movieClip 1245 {
onClipEvent (enterFrame) {
this._x = _root.box1._x - -6.3;
this._y = _root.box1._y - 1.7;
}
}
instance mcCEILING5 of movieClip 1245 {
onClipEvent (enterFrame) {
this._x = _root.box1._x - -5.45;
this._y = _root.box1._y - -32.8;
}
}
movieClip 2175 {
}
movieClip 2176 {
instance of movieClip 2175 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.levelreset = true;
_root.spikego = false;
_root.disablecontrols();
_root.deathbyspike = true;
_root.curtains.play();
}
}
if (_root.curtains._currentframe == 1) {
if (_root.disabled == false) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.disabled = true;
}
}
}
}
}
}
instance greensplash of movieClip 1945 {
onClipEvent (load) {
this.gotoAndStop(1);
}
}
movieClip 2178 {
}
movieClip 2179 {
instance of movieClip 2178 {
onClipEvent (load) {
this._visible = false;
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.levelreset = true;
_root.spikego = false;
_root.disablecontrols();
_root.deathbyspike = true;
_root.curtains.play();
}
}
if (_root.curtains._currentframe == 1) {
if (_root.disabled == false) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.disabled = true;
}
}
}
if (this.hitTest(_root.mcPLAYER)) {
if (_root.curtains._currentframe == 1) {
if (hit == false) {
_root.greensplash._x = _root.mcPLAYER._x;
_root.greensplash._y = _root.mcPLAYER._y;
_root.greensplash.play();
hit = true;
}
}
}
}
}
}
frame 57 {
++_root.whatlevelisit;
nextFrame();
}
frame 58 {
var levtext = 'Graphics died again...';
var signsize = 2;
}
instance goal of movieClip 1260 {
onClipEvent (load) {
this._visible = true;
}
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
instance sign of movieClip 1726 {
onClipEvent (enterFrame) {
_root.sign.signage.gotoAndStop(_root.signsize);
}
}
frame 59 {
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 20;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = 'R';
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
_root.WJUMPKEY = 87;
_root.WCROUCHKEY = 83;
_root.WRUNLEFTKEY = 65;
_root.WRUNRIGHTKEY = 68;
_root.disabled = false;
_root.bouncingback = false;
a = 1;
while (a <= _root.maxplats) {
_root['mcWALL' + a]._visible = true;
_root['mcCEILING' + a]._visible = true;
_root['mcPLATFORM' + a]._visible = true;
++a;
}
onEnterFrame = function () {
if (_root.disabled == true) {
_root.disablecontrols();
if (_root.mcPLAYER.DIRECTION == 'L') {
_root.mcPLAYER.gotoAndStop(18);
}
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(19);
}
if (_root.mcPLAYER._y < 300) {
_root.mcPLAYER._y += 20;
}
if (_root.mcPLAYER._y > 300) {
_root.mcPLAYER._y = 300;
}
}
if (_root.disabled == false) {
if (Key.isDown(_root.JUMPKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.YMOVEMENT = -_root.mcPLAYER.JUMPPOWER;
_root.mcPLAYER.FALLING = false;
}
}
if (_root.mcPLAYER.GROUNDED == false) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.YMOVEMENT *= _root.mcPLAYER.INVERSEGRAVITY;
} else {
_root.mcPLAYER.YMOVEMENT *= _root.mcPLAYER.GRAVITY;
}
if (_root.mcPLAYER.YMOVEMENT > -1) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.FALLING = true;
_root.mcPLAYER.YMOVEMENT = 1;
}
}
}
_root.mcPLAYER.XMOVEMENT *= 0.9;
tempX = _root.mcPLAYER._x;
tempY = _root.mcPLAYER._y;
_root.mcPLAYER._y += _root.mcPLAYER.YMOVEMENT;
_root.mcPLAYER._x += _root.mcPLAYER.XMOVEMENT;
a = 1;
while (a <= _root.maxplats) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcWALL' + a]) == true) {
_root.mcPLAYER._x = tempX;
_root.mcPLAYER.XMOVEMENT = 0;
}
++a;
}
a = 1;
while (a <= _root.maxceil) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcCEILING' + a]) == true) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER._y = tempY;
_root.mcPLAYER.YMOVEMENT = 2;
_root.mcPLAYER.FALLING = true;
}
}
++a;
}
a = 1;
while (a <= _root.maxplats) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcPLATFORM' + a]) == true) {
if (_root.mcPLAYER.FALLING == true) {
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER._y = _root['mcPLATFORM' + a]._y;
_root.mcPLAYER.GROUNDED = true;
}
}
++a;
}
if (_root.mcPLAYER.GROUNDED == true) {
nohit = false;
a = 1;
while (a <= _root.maxplats) {
_root.mcPLAYER._y += 2;
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcPLATFORM' + a]) == true) {
nohit = true;
}
_root.mcPLAYER._y -= 2;
++a;
}
if (nohit == false) {
_root.mcPLAYER.YMOVEMENT = 1;
_root.mcPLAYER.GROUNDED = false;
}
}
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.XMOVEMENT < 0.5 and _root.mcPLAYER.XMOVEMENT > -0.5) {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(1);
} else {
_root.mcPLAYER.gotoAndStop(2);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(3);
} else {
_root.mcPLAYER.gotoAndStop(4);
}
}
} else {
if (_root.mcPLAYER.DIRECTION == 'R') {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.gotoAndStop(5);
} else {
_root.mcPLAYER.gotoAndStop(6);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.gotoAndStop(12);
} else {
_root.mcPLAYER.gotoAndStop(13);
}
}
}
}
if (_root.mcPLAYER.XMOVEMENT < 0.3 and _root.mcPLAYER.XMOVEMENT > -0.3) {
if (Key.isDown(_root.CROUCHKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(10);
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
_root.mcPLAYER.gotoAndStop(11);
}
}
}
}
}
if (Key.isDown(_root.CROUCHKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.DIRECTION == 'R') {
if (_root.mcPLAYER.XMOVEMENT > 0.3) {
_root.mcPLAYER.gotoAndStop(8);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
if (_root.mcPLAYER.XMOVEMENT < -0.3) {
_root.mcPLAYER.gotoAndStop(9);
}
}
}
}
} else {
if (Key.isDown(_root.RUNRIGHTKEY)) {
_root.mcPLAYER.XMOVEMENT += 1;
_root.mcPLAYER.DIRECTION = 'R';
}
if (Key.isDown(_root.RUNLEFTKEY)) {
_root.mcPLAYER.XMOVEMENT -= 1;
_root.mcPLAYER.DIRECTION = 'L';
}
}
}
};
}
frame 59 {
var levtext = 'Graphics died again...';
var signsize = 2;
}
frame 59 {
var boxhit = false;
}
frame 59 {
function keyonbox1() {
_root.key._x = 212.05;
}
function keyonbox2() {
_root.key._x = 292.05;
}
function keyonbox3() {
_root.key._x = 372.05;
}
function keyonbox4() {
_root.key._x = 452.05;
}
var stopshuffle = false;
}
frame 59 {
function shazam() {
_root.windoor._visible = true;
_root.goal._visible = true;
_root.goal.gotoAndPlay(2);
_root.magicnoise.gotoAndStop(2);
_root.mcWALL3.gotoAndStop(2);
_root.mcWALL4.gotoAndStop(2);
_root.mcPLATFORM2.gotoAndStop(2);
_root.cheernoise.gotoAndStop('cheer1');
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
_root.crowdaroll();
_root.crowdbroll();
}
wintext._visible = false;
windoor._visible = false;
goal._visible = false;
_root.goal.gotoAndStop(1);
_root.mcWALL3.gotoAndStop(1);
_root.mcWALL4.gotoAndStop(1);
_root.mcPLATFORM2.gotoAndStop(1);
}
instance windoor of movieClip 1264 {
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.windoor._visible == true) {
if (_root.curtains._currentframe == 1) {
if (_root.goal._currentframe == 35) {
_root.goal.play();
_root.wintext._visible = true;
_root.mcPLAYER._visible = false;
_root.disablecontrols();
}
}
}
}
}
}
movieClip 2184 {
}
movieClip 2186 {
frame 1 {
stop();
}
frame 12 {
_root.mcCEILING5.gotoAndStop(2);
}
frame 22 {
stop();
}
}
movieClip 2188 {
frame 1 {
stop();
}
}
instance red of movieClip 2188 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (this._currentframe == 1) {
if (_root.curtains._currentframe == 1) {
this.gotoAndStop(2);
_root.stopshuffle = true;
_root.metalcie.gotoAndPlay(2);
_root.botspikes.gotoAndStop(255);
_root.findthatkey.gotoAndPlay(2);
}
}
}
}
}
movieClip 2190 {
}
instance key of movieClip 2190 {
onClipEvent (load) {
dropthisshit = false;
hit = false;
}
onClipEvent (enterFrame) {
if (hit == false) {
if (dropthisshit == true) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.key._y == 257.35) {
_root.shazam();
_root.key._visible = false;
hit = true;
}
}
}
}
if (dropthisshit == true) {
if (hit == false) {
this._visible = true;
}
if (_root.key._y < 257.35) {
_root.key._y += 20;
}
if (_root.key._y > 257.35) {
_root.key._y = 257.35;
}
}
}
}
movieClip 2193 {
}
movieClip 2200 {
frame 18 {
stop();
}
}
movieClip 2202 {
frame 1 {
stop();
}
instance of movieClip 2193 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_parent._name == 'box3') {
if (_root.boxhit == false) {
_root.key.dropthisshit = true;
_root.boxhit = true;
_parent.gotoAndStop(2);
}
}
}
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_parent._name !== 'box3') {
if (_root.boxhit == false) {
_root.levelreset = true;
_root.spikego = false;
_root.disablecontrols();
_root.cheernoise.gotoAndStop('boo1');
_root.crowdouta();
_root.crowdoutb();
_root.curtains.play();
_root.boxhit = true;
_parent.gotoAndStop(2);
}
}
}
}
}
}
movieClip 2203 {
frame 50 {
if (_root.stopshuffle == true) {
stop();
}
_root.keyonbox2();
}
frame 104 {
if (_root.stopshuffle == true) {
stop();
}
_root.keyonbox1();
}
frame 159 {
if (_root.stopshuffle == true) {
stop();
}
_root.keyonbox3();
}
frame 214 {
if (_root.stopshuffle == true) {
stop();
}
_root.keyonbox4();
}
frame 273 {
if (_root.stopshuffle == true) {
stop();
}
_root.keyonbox3();
}
frame 330 {
if (_root.stopshuffle == true) {
stop();
}
_root.keyonbox1();
}
frame 386 {
if (_root.stopshuffle == true) {
stop();
}
_root.keyonbox4();
}
frame 442 {
if (_root.stopshuffle == true) {
stop();
}
_root.keyonbox2();
}
frame 499 {
if (_root.stopshuffle == true) {
stop();
}
_root.keyonbox4();
}
frame 560 {
if (_root.stopshuffle == true) {
stop();
}
_root.keyonbox4();
}
frame 621 {
if (_root.stopshuffle == true) {
stop();
}
_root.keyonbox1();
}
frame 683 {
if (_root.stopshuffle == true) {
stop();
}
_root.keyonbox2();
}
frame 743 {
if (_root.stopshuffle == true) {
stop();
}
_root.keyonbox3();
}
frame 803 {
if (_root.stopshuffle == true) {
stop();
}
_root.keyonbox4();
}
frame 863 {
if (_root.stopshuffle == true) {
stop();
}
_root.keyonbox1();
}
frame 924 {
if (_root.stopshuffle == true) {
stop();
}
_root.keyonbox3();
}
}
movieClip 2204 {
frame 55 {
_root.key._visible = false;
}
frame 89 {
stop();
}
}
instance crates of movieClip 2204 {
onClipEvent (load) {
this.stop();
started = false;
}
onClipEvent (enterFrame) {
if (_root.curtains._currentframe == 1) {
if (started == false) {
this.play();
started = true;
}
}
}
}
movieClip 2205 {
frame 1 {
stop();
}
}
movieClip 2206 {
frame 1 {
stop();
}
}
movieClip 2207 {
frame 1 {
stop();
}
}
movieClip 2209 {
}
movieClip 2210 {
}
movieClip 2212 {
}
movieClip 2213 {
frame 34 {
stop();
}
}
instance of movieClip 2213 {
onClipEvent (load) {
this.stop();
started = false;
}
onClipEvent (enterFrame) {
if (_root.curtains._currentframe == 1) {
if (started == false) {
this.play();
started = true;
}
}
}
}
movieClip 2216 {
}
movieClip 2217 {
}
movieClip 2219 {
}
movieClip 2223 {
}
movieClip 2224 {
instance of movieClip 1907 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (_root.curtains._currentframe == 1) {
_root.levelreset = true;
_root.spikego = false;
_root.disablecontrols();
_root.deathbyspike = true;
_root.curtains.play();
}
}
if (_root.curtains._currentframe == 1) {
if (_root.disabled == false) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.disabled = true;
}
}
}
}
}
}
movieClip 2225 {
frame 41 {
if (_root.testing == true) {
this.stop();
}
}
frame 98 {
gotoAndPlay(1);
}
}
movieClip 2228 {
}
movieClip 2229 {
frame 7 {
_root.mcPLATFORM23.gotoAndStop(2);
}
frame 26 {
_root.mcPLATFORM24.gotoAndStop(2);
}
frame 40 {
_root.mcPLATFORM23.gotoAndStop(1);
}
frame 44 {
_root.mcPLATFORM25.gotoAndStop(2);
}
frame 59 {
_root.mcPLATFORM24.gotoAndStop(1);
}
frame 77 {
_root.mcPLATFORM25.gotoAndStop(1);
}
}
movieClip 2230 {
frame 7 {
_root.mcPLATFORM12.gotoAndStop(2);
}
frame 26 {
_root.mcPLATFORM11.gotoAndStop(2);
}
frame 40 {
_root.mcPLATFORM12.gotoAndStop(1);
}
frame 44 {
_root.mcPLATFORM10.gotoAndStop(2);
}
frame 59 {
_root.mcPLATFORM11.gotoAndStop(1);
}
frame 77 {
_root.mcPLATFORM10.gotoAndStop(1);
}
}
movieClip 2231 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 2236 {
}
movieClip 2240 {
}
movieClip 2243 {
}
movieClip 2246 {
}
movieClip 2247 {
frame 1 {
stop();
}
}
movieClip 2248 {
frame 105 {
stop();
}
}
movieClip 2250 {
}
movieClip 2252 {
}
movieClip 2253 {
}
movieClip 2254 {
frame 1 {
stop();
}
}
movieClip 2255 {
frame 1 {
stop();
}
}
frame 60 {
var maxplats = 3;
var maxceil = 1;
}
frame 60 {
_root.save();
}
frame 60 {
function deadness() {
if (_root.dead == true) {
_root.firest();
_root.shakeyjake = true;
_root.sfx.gotoAndStop(2);
_root.mcPLAYER.YMOVEMENT = 1;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER._x = 57;
_root.mcPLAYER._y = -13;
++_root.deaths;
++_root.totaldeaths;
_root.dead = false;
}
}
function disablecontrols() {
_root.controlson = false;
_root.JUMPKEY = 'notinuse';
_root.CROUCHKEY = 'notinuse';
_root.RUNLEFTKEY = 'notinuse';
_root.RUNRIGHTKEY = 'notinuse';
_root.WJUMPKEY = 'notinuse';
_root.WCROUCHKEY = 'notinuse';
_root.WRUNLEFTKEY = 'notinuse';
_root.WRUNRIGHTKEY = 'notinuse';
}
function enablecontrols() {
_root.controlson = true;
}
var bombpress = true;
var boom = false;
var attacking = false;
var cannonfire = false;
_quality = 'medium';
}
movieClip 2258 {
}
movieClip 2263 {
}
movieClip 2267 {
}
movieClip 2268 {
}
movieClip 2288 {
}
movieClip 2289 {
}
movieClip 2297 {
}
movieClip 2301 {
}
movieClip 2304 {
}
movieClip 2306 {
}
movieClip 2308 {
}
movieClip 2311 {
}
movieClip 2312 {
}
movieClip 2313 {
frame 1 {
stop();
}
}
movieClip 2322 {
}
movieClip 2324 {
}
movieClip 2325 {
instance of movieClip 2324 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.disabled == false) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.disabled = true;
}
}
}
}
}
movieClip 2327 {
}
movieClip 2332 {
}
movieClip 2339 {
}
movieClip 2340 {
frame 1 {
stop();
}
}
movieClip 2343 {
}
movieClip 2345 {
}
movieClip 2349 {
}
movieClip 2352 {
}
movieClip 2364 {
}
movieClip 2365 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 2372 {
frame 1002 {
stop();
}
}
movieClip 2387 {
}
movieClip 2389 {
frame 1 {
stop();
}
}
movieClip 2391 {
}
movieClip 2400 {
}
movieClip 2413 {
}
movieClip 2420 {
}
movieClip 2421 {
frame 1 {
stop();
}
}
movieClip 2427 {
frame 1 {
_root.bossballs.boss.moving = true;
}
frame 30 {
stop();
}
frame 31 {
_root.bossballs.boss.damaged = true;
_root.shakeyjake = true;
}
frame 101 {
stop();
_root.bossballs.boss.phase = 2;
_root.bossballs.boss.damaged = false;
_root.bossballs.boss.speed = 4;
stop();
}
instance hitbox of movieClip 2391 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bomb.hitbox)) {
if (_root.attacking == false) {
_root.bossballs.boss.stopmoving = true;
_root.bossattackm._x = _root.bomb._x;
_root.bossattackm.gotoAndPlay(2);
_root.attacking = true;
}
}
}
}
frame 102 {
_root.bossballs.boss.damaged = true;
_root.shakeyjake = true;
}
frame 164 {
stop();
_root.bossballs.boss.phase = 3;
_root.bossballs.boss.damaged = false;
_root.bossballs.boss.speed = 6;
stop();
}
frame 165 {
_root.bossballs.boss.damaged = true;
_root.shakeyjake = true;
}
frame 189 {
_root.attackcannon.gotoAndPlay(2);
}
frame 202 {
_root.bossballs.boss.phase = 4;
_root.bossballs.boss.damaged = false;
_root.bossballs.boss.speed = 8;
stop();
}
frame 220 {
stop();
}
frame 221 {
_root.shakeyjake = true;
_root.stopcounting();
}
frame 221 {
_root.bossballs.boss.damaged = true;
_root.bossballs.boss.dead = true;
_root.bossballs.boss.phase = 0;
}
frame 232 {
_root.shakeyjake = true;
}
frame 246 {
_root.shakeyjake = true;
}
frame 257 {
_root.shakeyjake = true;
}
frame 274 {
_root.shakeyjake = true;
}
frame 280 {
_root.whiteout.gotoAndPlay(2);
}
frame 287 {
_root.gotoAndStop('ending');
}
frame 288 {
_root.shakeyjake = true;
}
frame 346 {
stop();
}
}
movieClip 2428 {
frame 30 {
_root.Track1.stop(['main1']);
}
frame 348 {
_root.shakeyjake = true;
}
frame 370 {
_root.shakeyjake = true;
}
frame 388 {
_root.shakeyjake = true;
}
frame 407 {
_root.shakeyjake = true;
}
frame 481 {
_root.bombpress = false;
}
instance boss of movieClip 2427 {
onClipEvent (load) {
moving = true;
left = true;
right = false;
phase = 1;
damaged = false;
speed = 2;
dead = false;
stopmoving = false;
}
onClipEvent (enterFrame) {
if (stopmoving == false) {
if (dead == false) {
if (damaged == false) {
if (moving == true) {
if (left == true) {
this._visible = true;
this._x -= speed;
}
if (right == true) {
this._visible = true;
this._x += speed;
}
if (this._x >= 9.15) {
left = true;
right = false;
}
if (this._x <= -320.85) {
left = false;
right = true;
}
}
}
}
}
}
}
frame 494 {
stop();
}
}
instance bossballs of movieClip 2428 {
onClipEvent (enterFrame) {
if (_root.bossballs.boss.phase == 0) {
_root.bombpress = true;
}
}
}
button 2430 {
on (release) {
if (_root.bossballs.boss.damaged == false) {
if (_root.bossballs.boss.phase == 1) {
_root.bossballs.boss.gotoAndPlay(31);
}
if (_root.bossballs.boss.phase == 2) {
_root.bossballs.boss.gotoAndPlay(102);
}
if (_root.bossballs.boss.phase == 3) {
_root.bossballs.boss.gotoAndPlay(165);
}
if (_root.bossballs.boss.phase == 4) {
_root.bossballs.boss.gotoAndPlay(221);
}
}
}
}
movieClip 2434 {
}
movieClip 2436 {
}
movieClip 2437 {
instance of movieClip 1849 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bossballs.boss)) {
if (_root.bossballs.boss.damaged == false) {
if (_root.bossballs.boss.phase == 1) {
_root.bossballs.boss.gotoAndPlay(31);
}
if (_root.bossballs.boss.phase == 2) {
_root.bossballs.boss.gotoAndPlay(102);
}
if (_root.bossballs.boss.phase == 3) {
_root.bossballs.boss.gotoAndPlay(165);
}
if (_root.bossballs.boss.phase == 4) {
_root.bossballs.boss.gotoAndPlay(221);
}
}
}
}
}
frame 19 {
stop();
}
}
movieClip 2438 {
frame 1 {
stop();
}
frame 2 {
_root.cannonfire = true;
}
frame 62 {
_root.cannonfire = false;
_root.bossballs.boss.stopmoving = false;
}
}
movieClip 2439 {
frame 548 {
stop();
}
}
button 2440 {
on (release) {
trace(_root.bossattack.whichattack2);
}
}
movieClip 2442 {
}
movieClip 2443 {
instance of movieClip 2324 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.bomb.exploded == false) {
if (this.hitTest(_root.bomb)) {
_root.bomb._x += 8;
}
}
}
}
instance of movieClip 2324 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.bomb.exploded == false) {
if (this.hitTest(_root.bomb)) {
_root.bomb._x += 14;
}
}
}
}
instance of movieClip 2324 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.bomb.exploded == false) {
if (this.hitTest(_root.bomb)) {
_root.bomb._x += 8;
}
}
}
}
frame 162 {
_root.attacking = false;
stop();
}
}
instance bossattackm of movieClip 2443 {
onClipEvent (load) {
this.stop();
}
}
movieClip 2444 {
instance of movieClip 2324 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.bomb.exploded == false) {
if (this.hitTest(_root.bomb)) {
_root.bomb._x += 12;
}
}
}
}
instance of movieClip 2324 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.bomb.exploded == false) {
if (this.hitTest(_root.bomb)) {
_root.bomb._x += 18;
}
}
}
}
instance of movieClip 2324 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.bomb.exploded == false) {
if (this.hitTest(_root.bomb)) {
_root.bomb._x += 18;
}
}
}
}
instance of movieClip 2324 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.bomb.exploded == false) {
if (this.hitTest(_root.bomb)) {
_root.bomb._x += 16;
}
}
}
}
instance of movieClip 2324 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.bomb.exploded == false) {
if (this.hitTest(_root.bomb)) {
_root.bomb._x += 12;
}
}
}
}
instance of movieClip 2324 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.bomb.exploded == false) {
if (this.hitTest(_root.bomb)) {
_root.bomb._x -= 12;
}
}
}
}
instance of movieClip 2324 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.bomb.exploded == false) {
if (this.hitTest(_root.bomb)) {
_root.bomb._x -= 16;
}
}
}
}
instance of movieClip 2324 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.bomb.exploded == false) {
if (this.hitTest(_root.bomb)) {
_root.bomb._x -= 12;
}
}
}
}
instance of movieClip 2324 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.bomb.exploded == false) {
if (this.hitTest(_root.bomb)) {
_root.bomb._x -= 12;
}
}
}
}
frame 164 {
if (_root.bossballs.boss.phase > 3) {
this.gotoAndStop(1);
}
}
frame 191 {
if (_root.bossballs.boss.phase > 3) {
this.gotoAndStop(1);
}
}
instance of movieClip 2324 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.disabled == false) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.disabled = true;
}
}
}
}
instance of movieClip 2324 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.bomb.exploded == false) {
if (this.hitTest(_root.bomb)) {
_root.bomb._x -= 10;
}
}
}
}
frame 287 {
if (_root.bossballs.boss.phase > 3) {
this.gotoAndStop(1);
}
}
frame 305 {
if (_root.bossballs.boss.phase > 3) {
this.gotoAndStop(1);
}
}
instance of movieClip 2324 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.bomb.exploded == false) {
if (this.hitTest(_root.bomb)) {
_root.bomb._x += 10;
}
}
}
}
instance of movieClip 2324 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.disabled == false) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.disabled = true;
}
}
}
}
frame 407 {
if (_root.bossballs.boss.phase > 3) {
this.gotoAndStop(1);
}
}
}
instance bossattack of movieClip 2444 {
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.bossballs.boss.phase == 3) {
if (_root.attacking == false) {
this.gotoAndPlay(2);
_root.attacking = true;
}
}
if (_root.attacking == false) {
if (_root.bombpress == false) {
if (_root.bossballs.boss.phase == 4) {
attack2 = Math.round(Math.random() * 40);
if (attack2 == 5) {
this.gotoAndStop(388);
_root.attacking = true;
}
}
}
}
}
}
movieClip 2445 {
}
movieClip 2446 {
frame 47 {
_root.cannon2._visible = false;
}
frame 67 {
stop();
}
}
instance attackcannon of movieClip 2446 {
onClipEvent (load) {
this.stop();
}
}
instance cannon2 of movieClip 2438 {
onClipEvent (enterFrame) {
if (this._visible == false) {
this.gotoAndStop(1);
}
}
}
movieClip 2447 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
instance drillnoise of movieClip 2447 {
onClipEvent (enterFrame) {
if (_root.spikego == true) {
_root.drillnoise.gotoAndStop(3);
}
if (_root.spikego == false) {
if (this._currentframe == 3) {
_root.drillnoise.gotoAndStop(2);
}
}
}
}
instance of movieClip 1833 {
onClipEvent (load) {
bispressed = false;
}
onClipEvent (enterFrame) {
if (0 == Key.isDown(66)) {
bispressed = false;
}
if (_root.disabled == false) {
if (_root.bomb._currentframe == 1) {
if (bispressed == false) {
if (_root.bombpress == false) {
if (_root.boom == false) {
if (Key.isDown(66)) {
_root.bomb._visible = true;
_root.bombpress = true;
_root.bomb._x = _root.mcPLAYER._x;
_root.bomb._y = _root.mcPLAYER._y;
_root.bomb.play();
_root.bomb.dropit = true;
bispressed = true;
}
}
}
}
}
}
}
}
movieClip 2448 {
}
instance of movieClip 2448 {
onClipEvent (enterFrame) {
if (_root.controlson == true) {
if (Key.isDown(87)) {
_root.JUMPKEY = 87;
}
if (Key.isDown(83)) {
_root.CROUCHKEY = 83;
}
if (Key.isDown(65)) {
_root.RUNLEFTKEY = 65;
}
if (Key.isDown(68)) {
_root.RUNRIGHTKEY = 68;
}
if (Key.isDown(38)) {
_root.JUMPKEY = 38;
}
if (Key.isDown(40)) {
_root.CROUCHKEY = 40;
}
if (Key.isDown(37)) {
_root.RUNLEFTKEY = 37;
}
if (Key.isDown(39)) {
_root.RUNRIGHTKEY = 39;
}
}
}
}
movieClip 2449 {
}
movieClip 2452 {
frame 1 {
stop();
}
instance hitbox of movieClip 2449 {
onClipEvent (load) {
this._visible = false;
}
}
frame 145 {
_root.bomb.exploded = true;
}
instance of movieClip 1849 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.cannon1)) {
_root.cannon1.play();
}
if (this.hitTest(_root.cannon2)) {
_root.cannon2.play();
}
if (this.hitTest(_root.cannon3)) {
_root.cannon3.play();
}
if (_root.disabled == false) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
_root.disabled = true;
}
}
}
}
frame 173 {
_parent.dropit = false;
_root.bomb.exploded = false;
this._x = 704.8;
this._y = 3.2;
if (_root.cannonfire == false) {
_root.bossballs.boss.stopmoving = false;
}
_root.bombpress = false;
_root.boom = false;
gotoAndStop(1);
}
}
instance bomb of movieClip 2452 {
onClipEvent (load) {
dropit = false;
exploded = false;
}
onClipEvent (enterFrame) {
if (_root.bossballs.boss.dead == true) {
this.gotoAndStop(211);
}
if (this.dropit == false) {
this._visible = false;
}
if (this.dropit == true) {
this._visible = true;
}
if (_root.bomb.dropit == true) {
if (_root.bomb.exploded == false) {
if (_root.bombpress == true) {
if (_root.boom == false) {
this.play();
}
}
}
}
if (dropit == true) {
if (this._y < 300) {
this._y += 20;
}
if (this._y > 300) {
this._y = 300;
}
}
}
}
instance dafloor of movieClip 1242 {
onClipEvent (load) {
this.cacheAsBitmap = true;
}
}
movieClip 2453 {
frame 2 {
_root.mcPLAYER._visible = false;
}
frame 5 {
_root.mcPLAYER._visible = true;
}
frame 10 {
_root.mcPLAYER._visible = false;
}
frame 15 {
_root.mcPLAYER._visible = true;
}
frame 20 {
_root.mcPLAYER._visible = false;
}
frame 25 {
_root.mcPLAYER._visible = true;
}
frame 30 {
_root.mcPLAYER._visible = false;
}
frame 35 {
_root.mcPLAYER._visible = true;
}
frame 40 {
_root.mcPLAYER._visible = false;
}
frame 45 {
_root.mcPLAYER._visible = true;
}
frame 50 {
gotoAndStop(1);
}
}
instance invincey of movieClip 2453 {
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (this._currentframe !== 1) {
_root.disabled = false;
}
}
}
button 2454 {
on (press) {
_root.stopcounting();
_root.save();
_root.Track1.stop(['main1']);
_root.gotoAndStop(5);
}
}
instance of movieClip 1637 {
onClipEvent (load) {
if (_root.testing == false) {
this._visible = false;
this._alpha = 0;
}
}
}
movieClip 2456 {
frame 1 {
stop();
}
frame 8 {
stop();
}
}
instance whiteout of movieClip 2456 {
onClipEvent (load) {
this.gotoAndStop(1);
}
}
frame 61 {
function fireconf() {
function cogalt() {
++a;
if (a > bitis_suresi) {
clearInterval(z);
}
++i;
_root.mc.duplicateMovieClip('mc' + i, i);
_root['mc' + i].hiz = kar_hiz + random(6);
_root['mc' + i].boyut = kar_boyut + random(5);
_root['mc' + i]._x = random(Stage.width);
_root['mc' + i].rasgele = random(2);
_root['mc' + i].cacheAsBitmap(true);
if (_root['mc' + i].rasgele == 0) {
_root['mc' + i].konum = -random(3);
} else {
_root['mc' + i].konum = random(3);
}
_root['mc' + i].onEnterFrame = function () {
this._y += this.hiz;
this._x += this.konum;
if (this._x > Stage.width or this._x < 0 or this._y > Stage.height) {
delete this.onEnterFrame;
removeMovieClip(this);
}
if (_root.mcPLATFORM1.hitTest(this._x, this._y, true)) {
delete this.onEnterFrame;
}
};
}
function sure() {
++s;
if (s > baslama_suresi) {
z = setInterval(cogalt, kar_seyrekligi);
clearInterval(zamanla);
}
}
baslama_suresi = 50;
kar_seyrekligi = 1;
kar_hiz = 1;
kar_boyut = 0;
bitis_suresi = 2000;
a = 0;
i = -1;
mc._y = -mc._height;
s = 0;
zamanla = setInterval(sure, 1);
}
function stopconfetti() {
clearInterval(z);
clearInterval(zamanla);
clearInterval(kar_seyrekligi);
}
}
frame 61 {
_root.stopcounting();
}
frame 61 {
var ttlcrowd = _root.rowa + _root.rowb;
var finalranklet = false;
++_root.completes;
_root.save();
_root.ttlcrowd = _root.rowa + _root.rowb;
if (_root.bestfails == 'na') {
_root.bestfails = _root.fails;
}
if (_root.fails < _root.bestfails) {
_root.bestfails = _root.fails;
}
if (_root.bestdeaths == 'na') {
_root.bestdeaths = _root.deaths;
}
if (_root.deaths < _root.bestdeaths) {
_root.bestdeaths = _root.deaths;
}
if (_root.bestaudience == 'na') {
_root.bestaudience = _root.ttlcrowd;
}
if (_root.ttlcrowd > _root.bestaudience) {
_root.bestaudience = _root.ttlcrowd;
}
if (_root.besttime == 'na') {
_root.besttime = _root.hmsbottime;
}
if (_root.hmsbottime < _root.besttime) {
_root.besttime = _root.hmsbottime;
}
}
frame 61 {
_quality = 'high';
_root.Track1.stop(['main1']);
}
movieClip 2461 {
}
movieClip 2463 {
}
movieClip 2464 {
}
movieClip 2465 {
frame 15 {
stop();
}
}
movieClip 2466 {
frame 15 {
stop();
}
}
movieClip 2467 {
frame 1 {
stop();
}
}
movieClip 2485 {
}
movieClip 2513 {
}
movieClip 2514 {
frame 7 {
stop();
}
}
movieClip 2516 {
frame 8 {
stop();
}
}
button 2517 {
on (release) {
getURL('http://armor.ag/MoreGames', '_blank');
}
}
button 2529 {
on (release) {
getURL('http://www.nch-productions.com', '_blank');
}
}
movieClip 2530 {
frame 872 {
stop();
}
}
movieClip 2545 {
}
movieClip 2547 {
}
movieClip 2598 {
}
button 2600 {
on (release) {
getURL('https://www.facebook.com/sharer/sharer.php?u=www.chris-jeff.com', '_blank');
}
}
button 2601 {
on (release) {
if (_root.finalranklet != false) {
getURL('http://twitter.com/home?status=' + escape('I just completed Above Average Guy with a rank of ' + _root.finalranklet + '! Can you beat it?! #aboveaverageguy www.chris-jeff.com'), '_blank');
}
}
}
movieClip 2617 {
frame 122 {
stop();
_root.finalranklet = 'SSS';
}
frame 257 {
stop();
_root.finalranklet = 'SS';
}
frame 392 {
stop();
_root.finalranklet = 'S';
}
frame 531 {
stop();
_root.finalranklet = 'AAA';
}
frame 670 {
stop();
_root.finalranklet = 'AA';
}
frame 815 {
stop();
_root.finalranklet = 'A';
}
frame 947 {
stop();
_root.finalranklet = 'BBB';
}
frame 1079 {
stop();
_root.finalranklet = 'B';
}
frame 1195 {
stop();
_root.finalranklet = 'C+';
}
frame 1312 {
stop();
_root.finalranklet = 'C';
}
frame 1415 {
stop();
_root.finalranklet = 'D';
}
frame 1518 {
stop();
_root.finalranklet = 'E';
}
frame 1621 {
stop();
_root.finalranklet = 'F';
}
frame 1724 {
stop();
_root.finalranklet = 'FF';
}
frame 1833 {
stop();
_root.finalranklet = 'FFF';
}
}
movieClip 2622 {
}
movieClip 2624 {
}
movieClip 2625 {
frame 18 {
stop();
}
}
movieClip 2626 {
frame 1 {
stop();
}
instance spinner of movieClip 2617 {
onClipEvent (load) {
_root.rankpoints = 0;
_root.ttlcrowd = _root.rowa + _root.rowb;
if (_root.ttlcrowd == 30) {
_root.rankpoints += 50;
}
if (_root.ttlcrowd == 29) {
_root.rankpoints += 49;
}
if (_root.ttlcrowd == 28) {
_root.rankpoints += 48;
}
if (_root.ttlcrowd == 27) {
_root.rankpoints += 47;
}
if (_root.ttlcrowd == 26) {
_root.rankpoints += 46;
}
if (_root.ttlcrowd == 25) {
_root.rankpoints += 45;
}
if (_root.ttlcrowd == 24) {
_root.rankpoints += 44;
}
if (_root.ttlcrowd == 23) {
_root.rankpoints += 43;
}
if (_root.ttlcrowd == 22) {
_root.rankpoints += 42;
}
if (_root.ttlcrowd == 21) {
_root.rankpoints += 41;
}
if (_root.ttlcrowd == 20) {
_root.rankpoints += 40;
}
if (_root.ttlcrowd > 14 && _root.ttlcrowd < 20) {
_root.rankpoints += 35;
}
if (_root.ttlcrowd > 9 && _root.ttlcrowd < 15) {
_root.rankpoints += 30;
}
if (_root.ttlcrowd > 4 && _root.ttlcrowd < 10) {
_root.rankpoints += 20;
}
if (_root.ttlcrowd < 5) {
_root.rankpoints += 15;
}
if (_root.bottime1 < 480) {
_root.rankpoints += 50;
}
if (_root.bottime1 > 480 && _root.bottime1 < 495) {
_root.rankpoints += 49;
}
if (_root.bottime1 > 494 && _root.bottime1 < 500) {
_root.rankpoints += 48;
}
if (_root.bottime1 > 499 && _root.bottime1 < 505) {
_root.rankpoints += 47;
}
if (_root.bottime1 > 504 && _root.bottime1 < 510) {
_root.rankpoints += 46;
}
if (_root.bottime1 > 509 && _root.bottime1 < 515) {
_root.rankpoints += 45;
}
if (_root.bottime1 > 514 && _root.bottime1 < 520) {
_root.rankpoints += 44;
}
if (_root.bottime1 > 519 && _root.bottime1 < 525) {
_root.rankpoints += 43;
}
if (_root.bottime1 > 524 && _root.bottime1 < 530) {
_root.rankpoints += 42;
}
if (_root.bottime1 > 529 && _root.bottime1 < 535) {
_root.rankpoints += 41;
}
if (_root.bottime1 > 534 && _root.bottime1 < 540) {
_root.rankpoints += 40;
}
if (_root.bottime1 > 539 && _root.bottime1 < 555) {
_root.rankpoints += 39;
}
if (_root.bottime1 > 554 && _root.bottime1 < 570) {
_root.rankpoints += 38;
}
if (_root.bottime1 > 569 && _root.bottime1 < 585) {
_root.rankpoints += 37;
}
if (_root.bottime1 > 584 && _root.bottime1 < 600) {
_root.rankpoints += 36;
}
if (_root.bottime1 > 599 && _root.bottime1 < 615) {
_root.rankpoints += 34;
}
if (_root.bottime1 > 614 && _root.bottime1 < 624) {
_root.rankpoints += 33;
}
if (_root.bottime1 > 623 && _root.bottime1 < 644) {
_root.rankpoints += 32;
}
if (_root.bottime1 > 643 && _root.bottime1 < 660) {
_root.rankpoints += 31;
}
if (_root.bottime1 > 659 && _root.bottime1 < 675) {
_root.rankpoints += 29;
}
if (_root.bottime1 > 674 && _root.bottime1 < 690) {
_root.rankpoints += 28;
}
if (_root.bottime1 > 689 && _root.bottime1 < 705) {
_root.rankpoints += 27;
}
if (_root.bottime1 > 704 && _root.bottime1 < 720) {
_root.rankpoints += 26;
}
if (_root.bottime1 > 719 && _root.bottime1 < 780) {
_root.rankpoints += 24;
}
if (_root.bottime1 > 779 && _root.bottime1 < 840) {
_root.rankpoints += 23;
}
if (_root.bottime1 > 839 && _root.bottime1 < 900) {
_root.rankpoints += 22;
}
if (_root.bottime1 > 899 && _root.bottime1 < 960) {
_root.rankpoints += 21;
}
if (_root.bottime1 > 959 && _root.bottime1 < 1105) {
_root.rankpoints += 20;
}
if (_root.bottime1 > 1104 && _root.bottime1 < 1139) {
_root.rankpoints += 18;
}
if (_root.bottime1 > 1138 && _root.bottime1 < 1165) {
_root.rankpoints += 17;
}
if (_root.bottime1 > 1164 && _root.bottime1 <= 1199) {
_root.rankpoints += 16;
}
if (_root.bottime1 >= 1200) {
_root.rankpoints += 15;
}
if (_root.rankpoints == 30) {
this.gotoAndPlay(1725);
}
if (_root.rankpoints > 30 && _root.rankpoints < 40) {
this.gotoAndPlay(1622);
}
if (_root.rankpoints > 39 && _root.rankpoints < 45) {
this.gotoAndPlay(1519);
}
if (_root.rankpoints > 44 && _root.rankpoints < 50) {
this.gotoAndPlay(1416);
}
if (_root.rankpoints > 49 && _root.rankpoints < 55) {
this.gotoAndPlay(1313);
}
if (_root.rankpoints > 54 && _root.rankpoints < 60) {
this.gotoAndPlay(1196);
}
if (_root.rankpoints > 59 && _root.rankpoints < 65) {
this.gotoAndPlay(1080);
}
if (_root.rankpoints > 64 && _root.rankpoints < 70) {
this.gotoAndPlay(948);
}
if (_root.rankpoints > 69 && _root.rankpoints < 75) {
this.gotoAndPlay(816);
}
if (_root.rankpoints > 74 && _root.rankpoints < 80) {
this.gotoAndPlay(671);
}
if (_root.rankpoints > 79 && _root.rankpoints < 85) {
this.gotoAndPlay(532);
}
if (_root.rankpoints > 84 && _root.rankpoints < 90) {
this.gotoAndPlay(393);
}
if (_root.rankpoints > 89 && _root.rankpoints < 95) {
this.gotoAndPlay(258);
}
if (_root.rankpoints > 94 && _root.rankpoints < 100) {
this.gotoAndPlay(123);
}
if (_root.rankpoints == 100) {
this.gotoAndPlay(3);
}
trace(_root.rankpoints);
trace(_root.ttlcrowd);
trace(_root.bottime1);
}
}
}
movieClip 2632 {
}
movieClip 2637 {
}
movieClip 2642 {
}
movieClip 2652 {
frame 11 {
stop();
}
}
movieClip 2653 {
}
button 2654 {
on (release) {
gotoAndStop(2);
}
}
button 2655 {
on (release) {
gotoAndStop(3);
}
}
movieClip 2668 {
}
button 2669 {
on (release) {
gotoAndStop(1);
}
}
movieClip 2681 {
}
movieClip 2682 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 2702 {
}
movieClip 2711 {
}
movieClip 2721 {
}
movieClip 2726 {
}
button 2728 {
on (release) {
gotoAndPlay(1911);
}
}
movieClip 2731 {
frame 14 {
if (_root.testing == true) {
gotoAndPlay(1882);
}
}
frame 69 {
_root.fireconf();
}
frame 196 {
_root.stopconfetti();
}
instance of movieClip 437 {
onClipEvent (load) {
this.gotoAndStop(_root.trophies + 1);
if (_root.trophies > 11) {
this.gotoAndStop(10);
}
}
}
frame 853 {
_root.crowdcover2.gotoAndPlay(2);
}
frame 856 {
_root.confstopped = true;
}
frame 867 {
++_root.trophies;
}
frame 1884 {
_root.stopcounting();
}
frame 1896 {
_root.stopcounting();
}
frame 1906 {
stop();
}
frame 1906 {
_root.save();
}
frame 1955 {
_root.camefromend = true;
_root.gotoAndStop('apartment');
}
}
movieClip 2732 {
instance of movieClip 1589 {
onClipEvent (load) {
this.cacheAsBitmap = true;
}
}
}
movieClip 2735 {
frame 13 {
stop();
_root.groupa._alpha = 0;
_root.groupb._alpha = 0;
_root.steps._alpha = 0;
_root.crowdcover2._alpha = 0;
_root.matstuff._alpha = 0;
}
}
instance crowdcover2 of movieClip 2735 {
onClipEvent (load) {
gotoAndStop(1);
}
}
movieClip 2736 {
frame 30 {
stop();
}
}
movieClip 2737 {
}
movieClip 2738 {
instance of movieClip 2737 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLATFORM1)) {
this.gotoAndStop(1);
}
if (_root.confstopped == true) {
this.removeMovieClip();
this._visible = false;
}
}
}
}
movieClip 2739 {
}
instance mc of movieClip 2739 {
onClipEvent (load) {
myColor = Math.round(Math.random() * 16777215);
myColoredObject = new Color(this);
myColoredObject.setRGB(myColor);
}
}
frame 62 {
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 20;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = 'R';
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
_root.WJUMPKEY = 87;
_root.WCROUCHKEY = 83;
_root.WRUNLEFTKEY = 65;
_root.WRUNRIGHTKEY = 68;
_root.disabled = false;
_root.bouncingback = false;
a = 1;
while (a <= _root.maxplats) {
_root['mcWALL' + a]._visible = true;
_root['mcCEILING' + a]._visible = true;
_root['mcPLATFORM' + a]._visible = true;
++a;
}
onEnterFrame = function () {
if (_root.disabled == true) {
_root.disablecontrols();
if (_root.mcPLAYER.DIRECTION == 'L') {
_root.mcPLAYER.gotoAndStop(18);
}
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(19);
}
if (_root.mcPLAYER._y < 300) {
_root.mcPLAYER._y += 20;
}
if (_root.mcPLAYER._y > 300) {
_root.mcPLAYER._y = 300;
}
}
if (_root.disabled == false) {
if (Key.isDown(_root.JUMPKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.YMOVEMENT = -_root.mcPLAYER.JUMPPOWER;
_root.mcPLAYER.FALLING = false;
}
}
if (_root.mcPLAYER.GROUNDED == false) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.YMOVEMENT *= _root.mcPLAYER.INVERSEGRAVITY;
} else {
_root.mcPLAYER.YMOVEMENT *= _root.mcPLAYER.GRAVITY;
}
if (_root.mcPLAYER.YMOVEMENT > -1) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.FALLING = true;
_root.mcPLAYER.YMOVEMENT = 1;
}
}
}
_root.mcPLAYER.XMOVEMENT *= 0.9;
tempX = _root.mcPLAYER._x;
tempY = _root.mcPLAYER._y;
_root.mcPLAYER._y += _root.mcPLAYER.YMOVEMENT;
_root.mcPLAYER._x += _root.mcPLAYER.XMOVEMENT;
a = 1;
while (a <= _root.maxplats) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcWALL' + a]) == true) {
_root.mcPLAYER._x = tempX;
_root.mcPLAYER.XMOVEMENT = 0;
}
++a;
}
a = 1;
while (a <= _root.maxceil) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcCEILING' + a]) == true) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER._y = tempY;
_root.mcPLAYER.YMOVEMENT = 2;
_root.mcPLAYER.FALLING = true;
}
}
++a;
}
a = 1;
while (a <= _root.maxplats) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcPLATFORM' + a]) == true) {
if (_root.mcPLAYER.FALLING == true) {
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER._y = _root['mcPLATFORM' + a]._y;
_root.mcPLAYER.GROUNDED = true;
}
}
++a;
}
if (_root.mcPLAYER.GROUNDED == true) {
nohit = false;
a = 1;
while (a <= _root.maxplats) {
_root.mcPLAYER._y += 2;
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcPLATFORM' + a]) == true) {
nohit = true;
}
_root.mcPLAYER._y -= 2;
++a;
}
if (nohit == false) {
_root.mcPLAYER.YMOVEMENT = 1;
_root.mcPLAYER.GROUNDED = false;
}
}
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.XMOVEMENT < 0.5 and _root.mcPLAYER.XMOVEMENT > -0.5) {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(1);
} else {
_root.mcPLAYER.gotoAndStop(2);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(3);
} else {
_root.mcPLAYER.gotoAndStop(4);
}
}
} else {
if (_root.mcPLAYER.DIRECTION == 'R') {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.gotoAndStop(5);
} else {
_root.mcPLAYER.gotoAndStop(6);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.gotoAndStop(12);
} else {
_root.mcPLAYER.gotoAndStop(13);
}
}
}
}
if (_root.mcPLAYER.XMOVEMENT < 0.3 and _root.mcPLAYER.XMOVEMENT > -0.3) {
if (Key.isDown(_root.CROUCHKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(10);
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
_root.mcPLAYER.gotoAndStop(11);
}
}
}
}
}
if (Key.isDown(_root.CROUCHKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.DIRECTION == 'R') {
if (_root.mcPLAYER.XMOVEMENT > 0.3) {
_root.mcPLAYER.gotoAndStop(8);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
if (_root.mcPLAYER.XMOVEMENT < -0.3) {
_root.mcPLAYER.gotoAndStop(9);
}
}
}
}
} else {
if (Key.isDown(_root.RUNRIGHTKEY)) {
_root.mcPLAYER.XMOVEMENT += 1;
_root.mcPLAYER.DIRECTION = 'R';
}
if (Key.isDown(_root.RUNLEFTKEY)) {
_root.mcPLAYER.XMOVEMENT -= 1;
_root.mcPLAYER.DIRECTION = 'L';
}
}
}
};
}
frame 62 {
_root.mcPLAYER._x = _root.entdoor._x;
_root.mcPLAYER._y = _root.entdoor._y;
_root.coolertime = false;
_root.secretroom = 'YES';
_root.wherefrom = 'secret';
_root.save();
}
movieClip 2744 {
}
movieClip 2746 {
}
movieClip 2752 {
}
movieClip 2758 {
}
movieClip 2763 {
}
movieClip 2764 {
}
movieClip 2767 {
frame 1 {
stop();
}
}
movieClip 2768 {
}
movieClip 2772 {
}
movieClip 2820 {
}
movieClip 2824 {
}
movieClip 2826 {
}
movieClip 2828 {
frame 1 {
stop();
}
frame 2 {
_root.mcPLAYER._alpha = 20;
}
frame 4 {
_root.mcPLAYER._alpha = 50;
}
frame 6 {
_root.mcPLAYER._alpha = 100;
}
frame 17 {
stop();
}
}
instance entdoor of movieClip 2828 {
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (Key.isDown(40) or Key.isDown(83)) {
if (_root.coolertime == true) {
if (hit == false) {
_root.apartmenttrans = 'apartment';
_root.fading.gotoAndPlay(2);
hit = true;
}
}
}
}
}
}
movieClip 2830 {
frame 30 {
_root.coolertime = true;
stop();
}
}
movieClip 2833 {
frame 1 {
stop();
}
frame 7 {
_root.gotoAndStop(_root.apartmenttrans);
}
}
instance of movieClip 1606 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.JUMPKEY = 32;
}
if (Key.isDown(83)) {
_root.CROUCHKEY = 83;
}
if (Key.isDown(65)) {
_root.RUNLEFTKEY = 65;
}
if (Key.isDown(68)) {
_root.RUNRIGHTKEY = 68;
}
if (Key.isDown(90)) {
_root.JUMPKEY = 90;
}
if (Key.isDown(40)) {
_root.CROUCHKEY = 40;
}
if (Key.isDown(37)) {
_root.RUNLEFTKEY = 37;
}
if (Key.isDown(39)) {
_root.RUNRIGHTKEY = 39;
}
}
}
frame 63 {
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 20;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = 'R';
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
_root.WJUMPKEY = 87;
_root.WCROUCHKEY = 83;
_root.WRUNLEFTKEY = 65;
_root.WRUNRIGHTKEY = 68;
_root.disabled = false;
_root.bouncingback = false;
a = 1;
while (a <= _root.maxplats) {
_root['mcWALL' + a]._visible = true;
_root['mcCEILING' + a]._visible = true;
_root['mcPLATFORM' + a]._visible = true;
++a;
}
onEnterFrame = function () {
if (_root.disabled == true) {
_root.disablecontrols();
if (_root.mcPLAYER.DIRECTION == 'L') {
_root.mcPLAYER.gotoAndStop(18);
}
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(19);
}
if (_root.mcPLAYER._y < 300) {
_root.mcPLAYER._y += 20;
}
if (_root.mcPLAYER._y > 300) {
_root.mcPLAYER._y = 300;
}
}
if (_root.disabled == false) {
if (Key.isDown(_root.JUMPKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.YMOVEMENT = -_root.mcPLAYER.JUMPPOWER;
_root.mcPLAYER.FALLING = false;
}
}
if (_root.mcPLAYER.GROUNDED == false) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.YMOVEMENT *= _root.mcPLAYER.INVERSEGRAVITY;
} else {
_root.mcPLAYER.YMOVEMENT *= _root.mcPLAYER.GRAVITY;
}
if (_root.mcPLAYER.YMOVEMENT > -1) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.FALLING = true;
_root.mcPLAYER.YMOVEMENT = 1;
}
}
}
_root.mcPLAYER.XMOVEMENT *= 0.9;
tempX = _root.mcPLAYER._x;
tempY = _root.mcPLAYER._y;
_root.mcPLAYER._y += _root.mcPLAYER.YMOVEMENT;
_root.mcPLAYER._x += _root.mcPLAYER.XMOVEMENT;
a = 1;
while (a <= _root.maxplats) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcWALL' + a]) == true) {
_root.mcPLAYER._x = tempX;
_root.mcPLAYER.XMOVEMENT = 0;
}
++a;
}
a = 1;
while (a <= _root.maxceil) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcCEILING' + a]) == true) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER._y = tempY;
_root.mcPLAYER.YMOVEMENT = 2;
_root.mcPLAYER.FALLING = true;
}
}
++a;
}
a = 1;
while (a <= _root.maxplats) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcPLATFORM' + a]) == true) {
if (_root.mcPLAYER.FALLING == true) {
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER._y = _root['mcPLATFORM' + a]._y;
_root.mcPLAYER.GROUNDED = true;
}
}
++a;
}
if (_root.mcPLAYER.GROUNDED == true) {
nohit = false;
a = 1;
while (a <= _root.maxplats) {
_root.mcPLAYER._y += 2;
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcPLATFORM' + a]) == true) {
nohit = true;
}
_root.mcPLAYER._y -= 2;
++a;
}
if (nohit == false) {
_root.mcPLAYER.YMOVEMENT = 1;
_root.mcPLAYER.GROUNDED = false;
}
}
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.XMOVEMENT < 0.5 and _root.mcPLAYER.XMOVEMENT > -0.5) {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(1);
} else {
_root.mcPLAYER.gotoAndStop(2);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(3);
} else {
_root.mcPLAYER.gotoAndStop(4);
}
}
} else {
if (_root.mcPLAYER.DIRECTION == 'R') {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.gotoAndStop(5);
} else {
_root.mcPLAYER.gotoAndStop(6);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.gotoAndStop(12);
} else {
_root.mcPLAYER.gotoAndStop(13);
}
}
}
}
if (_root.mcPLAYER.XMOVEMENT < 0.3 and _root.mcPLAYER.XMOVEMENT > -0.3) {
if (Key.isDown(_root.CROUCHKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(10);
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
_root.mcPLAYER.gotoAndStop(11);
}
}
}
}
}
if (Key.isDown(_root.CROUCHKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.DIRECTION == 'R') {
if (_root.mcPLAYER.XMOVEMENT > 0.3) {
_root.mcPLAYER.gotoAndStop(8);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
if (_root.mcPLAYER.XMOVEMENT < -0.3) {
_root.mcPLAYER.gotoAndStop(9);
}
}
}
}
} else {
if (Key.isDown(_root.RUNRIGHTKEY)) {
_root.mcPLAYER.XMOVEMENT += 1;
_root.mcPLAYER.DIRECTION = 'R';
}
if (Key.isDown(_root.RUNLEFTKEY)) {
_root.mcPLAYER.XMOVEMENT -= 1;
_root.mcPLAYER.DIRECTION = 'L';
}
}
}
};
}
frame 63 {
_root.apartmentmc.bigdoor.gotoAndStop(1);
if (_root.wherefrom == 'results') {
_root.mcPLAYER._x = 34.6;
_root.mcPLAYER._y = 282.6;
}
if (_root.wherefrom == 'secret') {
_root.mcPLAYER._x = _root.windoor._x;
_root.mcPLAYER._y = 282.6;
_root.apartmentmc.bigdoor.gotoAndPlay(2);
}
_root.coolertime1 = false;
_root.apartmenttrans = '';
_root.save();
}
frame 63 {
var maxplats = 30;
var maxceil = 20;
}
movieClip 2835 {
frame 1 {
stop();
}
}
movieClip 2838 {
frame 16 {
stop();
}
}
movieClip 2841 {
}
movieClip 2844 {
frame 1 {
stop();
}
instance of movieClip 2841 {
onClipEvent (load) {
pickedup = '';
}
onClipEvent (enterFrame) {
if (pickedup == false) {
if (this._y < 57) {
this._y += 10;
}
}
}
onClipEvent (press) {
startDrag(this, false);
this.gotoAndStop(2);
pickedup = true;
}
onClipEvent (releaseOutside) {
stopDrag();
this.gotoAndStop(1);
pickedup = false;
}
onClipEvent (release) {
stopDrag();
this.gotoAndStop(1);
pickedup = false;
}
}
instance of movieClip 2841 {
onClipEvent (load) {
pickedup = '';
}
onClipEvent (enterFrame) {
if (pickedup == false) {
if (this._y < 57) {
this._y += 10;
}
}
}
onClipEvent (press) {
startDrag(this, false);
this.gotoAndStop(2);
pickedup = true;
}
onClipEvent (releaseOutside) {
stopDrag();
this.gotoAndStop(1);
pickedup = false;
}
onClipEvent (release) {
stopDrag();
this.gotoAndStop(1);
pickedup = false;
}
}
instance of movieClip 2841 {
onClipEvent (load) {
pickedup = '';
}
onClipEvent (enterFrame) {
if (pickedup == false) {
if (this._y < 57) {
this._y += 10;
}
}
}
onClipEvent (press) {
startDrag(this, false);
this.gotoAndStop(2);
pickedup = true;
}
onClipEvent (releaseOutside) {
stopDrag();
this.gotoAndStop(1);
pickedup = false;
}
onClipEvent (release) {
stopDrag();
this.gotoAndStop(1);
pickedup = false;
}
}
instance of movieClip 2841 {
onClipEvent (load) {
pickedup = '';
}
onClipEvent (enterFrame) {
if (pickedup == false) {
if (this._y < 57) {
this._y += 10;
}
}
}
onClipEvent (press) {
startDrag(this, false);
this.gotoAndStop(2);
pickedup = true;
}
onClipEvent (releaseOutside) {
stopDrag();
this.gotoAndStop(1);
pickedup = false;
}
onClipEvent (release) {
stopDrag();
this.gotoAndStop(1);
pickedup = false;
}
}
instance of movieClip 2841 {
onClipEvent (load) {
pickedup = '';
}
onClipEvent (enterFrame) {
if (pickedup == false) {
if (this._y < 57) {
this._y += 10;
}
}
}
onClipEvent (press) {
startDrag(this, false);
this.gotoAndStop(2);
pickedup = true;
}
onClipEvent (releaseOutside) {
stopDrag();
this.gotoAndStop(1);
pickedup = false;
}
onClipEvent (release) {
stopDrag();
this.gotoAndStop(1);
pickedup = false;
}
}
instance of movieClip 2841 {
onClipEvent (load) {
pickedup = '';
}
onClipEvent (enterFrame) {
if (pickedup == false) {
if (this._y < 57) {
this._y += 10;
}
}
}
onClipEvent (press) {
startDrag(this, false);
this.gotoAndStop(2);
pickedup = true;
}
onClipEvent (releaseOutside) {
stopDrag();
this.gotoAndStop(1);
pickedup = false;
}
onClipEvent (release) {
stopDrag();
this.gotoAndStop(1);
pickedup = false;
}
}
instance of movieClip 2841 {
onClipEvent (load) {
pickedup = '';
}
onClipEvent (enterFrame) {
if (pickedup == false) {
if (this._y < 57) {
this._y += 10;
}
}
}
onClipEvent (press) {
startDrag(this, false);
this.gotoAndStop(2);
pickedup = true;
}
onClipEvent (releaseOutside) {
stopDrag();
this.gotoAndStop(1);
pickedup = false;
}
onClipEvent (release) {
stopDrag();
this.gotoAndStop(1);
pickedup = false;
}
}
instance of movieClip 2841 {
onClipEvent (load) {
pickedup = '';
}
onClipEvent (enterFrame) {
if (pickedup == false) {
if (this._y < 57) {
this._y += 10;
}
}
}
onClipEvent (press) {
startDrag(this, false);
this.gotoAndStop(2);
pickedup = true;
}
onClipEvent (releaseOutside) {
stopDrag();
this.gotoAndStop(1);
pickedup = false;
}
onClipEvent (release) {
stopDrag();
this.gotoAndStop(1);
pickedup = false;
}
}
instance of movieClip 2841 {
onClipEvent (press) {
startDrag(this, false);
this.gotoAndStop(2);
}
onClipEvent (releaseOutside) {
stopDrag();
this.gotoAndStop(1);
}
onClipEvent (release) {
stopDrag();
this.gotoAndStop(1);
}
}
instance of movieClip 2841 {
onClipEvent (press) {
startDrag(this, false);
this.gotoAndStop(2);
}
onClipEvent (releaseOutside) {
stopDrag();
this.gotoAndStop(1);
}
onClipEvent (release) {
stopDrag();
this.gotoAndStop(1);
}
}
instance of movieClip 2841 {
onClipEvent (press) {
startDrag(this, false);
this.gotoAndStop(2);
}
onClipEvent (releaseOutside) {
stopDrag();
this.gotoAndStop(1);
}
onClipEvent (release) {
stopDrag();
this.gotoAndStop(1);
}
}
instance of movieClip 2841 {
onClipEvent (press) {
startDrag(this, false);
this.gotoAndStop(2);
}
onClipEvent (releaseOutside) {
stopDrag();
this.gotoAndStop(1);
}
onClipEvent (release) {
stopDrag();
this.gotoAndStop(1);
}
}
}
movieClip 2854 {
frame 1 {
stop();
}
frame 13 {
stop();
}
}
movieClip 2864 {
frame 1 {
stop();
}
frame 16 {
stop();
}
}
movieClip 2872 {
frame 1 {
stop();
}
frame 16 {
stop();
}
}
movieClip 2873 {
frame 1 {
stop();
}
instance of movieClip 2864 {
onClipEvent (load) {
if (_root.fridge2 == true) {
this.gotoAndStop(16);
}
}
onClipEvent (release) {
if (this._currentframe == 1) {
_root.fridge2 = true;
this.gotoAndPlay(2);
}
if (this._currentframe == 16) {
_root.fridge2 = false;
this.gotoAndPlay(17);
}
}
}
instance of movieClip 2872 {
onClipEvent (load) {
if (_root.fridge1 == true) {
this.gotoAndStop(16);
}
}
onClipEvent (release) {
if (this._currentframe == 1) {
_root.fridge1 = true;
this.gotoAndPlay(2);
}
if (this._currentframe == 16) {
_root.fridge1 = false;
this.gotoAndPlay(17);
}
}
}
}
movieClip 2907 {
frame 29 {
stop();
}
}
movieClip 2908 {
instance of movieClip 440 {
onClipEvent (load) {
this._visible = false;
if (_root.trophies >= 1) {
this._visible = true;
}
}
}
instance of movieClip 2835 {
onClipEvent (load) {
hit = false;
if (_root.television == true) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (hit == false) {
if (this._currentframe == 2) {
_root.television = false;
this.gotoAndStop(1);
hit = true;
}
}
if (hit == false) {
if (this._currentframe == 1) {
_root.television = true;
this.gotoAndStop(2);
hit = true;
}
}
hit = false;
}
}
instance of movieClip 2854 {
onClipEvent (load) {
if (_root.chair2 == true) {
this.gotoAndStop(13);
}
}
onClipEvent (release) {
if (this._currentframe == 1) {
_root.chair2 = true;
this.gotoAndPlay(2);
}
if (this._currentframe == 13) {
_root.chair2 = false;
this.gotoAndPlay(14);
}
}
}
instance of movieClip 2854 {
onClipEvent (load) {
if (_root.chair1 == true) {
this.gotoAndStop(13);
}
}
onClipEvent (release) {
if (this._currentframe == 1) {
_root.chair1 = true;
this.gotoAndPlay(2);
}
if (this._currentframe == 13) {
_root.chair1 = false;
this.gotoAndPlay(14);
}
}
}
instance of movieClip 2907 {
onClipEvent (release) {
if (this._currentframe == 29) {
this.gotoAndPlay(1);
}
}
}
}
movieClip 2912 {
}
instance of movieClip 1244 {
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (hit == false) {
_root.gotoAndStop('menu');
hit = true;
}
}
}
}
instance of movieClip 1244 {
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (_root.fading._currentframe == 1) {
if (_root.coolertime1 == true) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (hit == false) {
_root.apartmenttrans = 'apartmentscore';
_root.fading.gotoAndPlay(2);
hit = true;
}
}
}
}
}
}
instance windoor of movieClip 1264 {
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
this._alpha = 0;
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (Key.isDown(40) or Key.isDown(83)) {
if (_root.coolertime1 == true) {
if (hit == false) {
_root.apartmenttrans = 'secret';
_root.fading.gotoAndPlay(2);
hit = true;
}
}
}
}
}
}
movieClip 2914 {
}
movieClip 2915 {
frame 30 {
_root.coolertime1 = true;
stop();
}
}
movieClip 2917 {
frame 10 {
stop();
}
}
instance fading222 of movieClip 2917 {
onClipEvent (load) {
this._visible = false;
if (_root.camefromend == true) {
this.gotoAndPlay(2);
this._visible = true;
_root.camefromend = false;
}
}
}
frame 64 {
_root.mcPLAYER._x = _global.PLAYERX;
_root.mcPLAYER._y = _global.PLAYERY;
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER.XMOVEMENT = 0;
_root.mcPLAYER.JUMPPOWER = 20;
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.FALLING = false;
_root.mcPLAYER.GRAVITY = 1.2;
_root.mcPLAYER.INVERSEGRAVITY = 0.8;
_root.mcPLAYER.DIRECTION = 'R';
_root.JUMPKEY = 38;
_root.CROUCHKEY = 40;
_root.RUNLEFTKEY = 37;
_root.RUNRIGHTKEY = 39;
_root.WJUMPKEY = 87;
_root.WCROUCHKEY = 83;
_root.WRUNLEFTKEY = 65;
_root.WRUNRIGHTKEY = 68;
_root.disabled = false;
_root.bouncingback = false;
a = 1;
while (a <= _root.maxplats) {
_root['mcWALL' + a]._visible = true;
_root['mcCEILING' + a]._visible = true;
_root['mcPLATFORM' + a]._visible = true;
++a;
}
onEnterFrame = function () {
if (_root.disabled == true) {
_root.disablecontrols();
if (_root.mcPLAYER.DIRECTION == 'L') {
_root.mcPLAYER.gotoAndStop(18);
}
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(19);
}
if (_root.mcPLAYER._y < 300) {
_root.mcPLAYER._y += 20;
}
if (_root.mcPLAYER._y > 300) {
_root.mcPLAYER._y = 300;
}
}
if (_root.disabled == false) {
if (Key.isDown(_root.JUMPKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
_root.mcPLAYER.GROUNDED = false;
_root.mcPLAYER.YMOVEMENT = -_root.mcPLAYER.JUMPPOWER;
_root.mcPLAYER.FALLING = false;
}
}
if (_root.mcPLAYER.GROUNDED == false) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.YMOVEMENT *= _root.mcPLAYER.INVERSEGRAVITY;
} else {
_root.mcPLAYER.YMOVEMENT *= _root.mcPLAYER.GRAVITY;
}
if (_root.mcPLAYER.YMOVEMENT > -1) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.FALLING = true;
_root.mcPLAYER.YMOVEMENT = 1;
}
}
}
_root.mcPLAYER.XMOVEMENT *= 0.9;
tempX = _root.mcPLAYER._x;
tempY = _root.mcPLAYER._y;
_root.mcPLAYER._y += _root.mcPLAYER.YMOVEMENT;
_root.mcPLAYER._x += _root.mcPLAYER.XMOVEMENT;
a = 1;
while (a <= _root.maxplats) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcWALL' + a]) == true) {
_root.mcPLAYER._x = tempX;
_root.mcPLAYER.XMOVEMENT = 0;
}
++a;
}
a = 1;
while (a <= _root.maxceil) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcCEILING' + a]) == true) {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER._y = tempY;
_root.mcPLAYER.YMOVEMENT = 2;
_root.mcPLAYER.FALLING = true;
}
}
++a;
}
a = 1;
while (a <= _root.maxplats) {
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcPLATFORM' + a]) == true) {
if (_root.mcPLAYER.FALLING == true) {
_root.mcPLAYER.YMOVEMENT = 0;
_root.mcPLAYER._y = _root['mcPLATFORM' + a]._y;
_root.mcPLAYER.GROUNDED = true;
}
}
++a;
}
if (_root.mcPLAYER.GROUNDED == true) {
nohit = false;
a = 1;
while (a <= _root.maxplats) {
_root.mcPLAYER._y += 2;
if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcPLATFORM' + a]) == true) {
nohit = true;
}
_root.mcPLAYER._y -= 2;
++a;
}
if (nohit == false) {
_root.mcPLAYER.YMOVEMENT = 1;
_root.mcPLAYER.GROUNDED = false;
}
}
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.XMOVEMENT < 0.5 and _root.mcPLAYER.XMOVEMENT > -0.5) {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(1);
} else {
_root.mcPLAYER.gotoAndStop(2);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(3);
} else {
_root.mcPLAYER.gotoAndStop(4);
}
}
} else {
if (_root.mcPLAYER.DIRECTION == 'R') {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.gotoAndStop(5);
} else {
_root.mcPLAYER.gotoAndStop(6);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
if (_root.mcPLAYER.FALLING == false) {
_root.mcPLAYER.gotoAndStop(12);
} else {
_root.mcPLAYER.gotoAndStop(13);
}
}
}
}
if (_root.mcPLAYER.XMOVEMENT < 0.3 and _root.mcPLAYER.XMOVEMENT > -0.3) {
if (Key.isDown(_root.CROUCHKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.DIRECTION == 'R') {
_root.mcPLAYER.gotoAndStop(10);
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
_root.mcPLAYER.gotoAndStop(11);
}
}
}
}
}
if (Key.isDown(_root.CROUCHKEY)) {
if (_root.mcPLAYER.GROUNDED == true) {
if (_root.mcPLAYER.DIRECTION == 'R') {
if (_root.mcPLAYER.XMOVEMENT > 0.3) {
_root.mcPLAYER.gotoAndStop(8);
}
} else {
if (_root.mcPLAYER.DIRECTION == 'L') {
if (_root.mcPLAYER.XMOVEMENT < -0.3) {
_root.mcPLAYER.gotoAndStop(9);
}
}
}
}
} else {
if (Key.isDown(_root.RUNRIGHTKEY)) {
_root.mcPLAYER.XMOVEMENT += 1;
_root.mcPLAYER.DIRECTION = 'R';
}
if (Key.isDown(_root.RUNLEFTKEY)) {
_root.mcPLAYER.XMOVEMENT -= 1;
_root.mcPLAYER.DIRECTION = 'L';
}
}
}
};
}
frame 64 {
_root.mcPLAYER._x = 616.55;
_root.mcPLAYER._y = 290.6;
_root.wherefrom = 'results';
_root.save();
}
movieClip 2931 {
}
button 2934 {
on (release) {
_root.gotoAndStop('menu');
}
}
movieClip 2935 {
}
instance of movieClip 1244 {
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) {
if (hit == false) {
_root.apartmenttrans = 'apartment';
_root.fading.gotoAndPlay(2);
hit = true;
}
}
}
}