Frame 1
_highquality = 1;
fscommand ("allowscale", false);
fscommand ("showmenu", false);
fscommand ("fullscreen", false);
fscommand ("trapallkeys", true);
server = this._url;
server = server.substr(0, server.lastIndexOf("/"));
preload = new Object();
preload.mtb = _root.getBytesTotal();
preload.cntr = 0;
preload.update = function () {
this.percent = (_root.getBytesLoaded() / this.mtb) * 100;
_root.pertxt = int(this.percent) + "%";
_root.bar._xscale = this.percent;
return(this.percent >= 100);
};
Frame 2
if ((preload.cntr++) == 4) {
gotoAndPlay (4);
}
if (preload.update()) {
gotoAndPlay (15);
}
Frame 3
gotoAndPlay (2);
Frame 13
if (preload.update()) {
gotoAndPlay (15);
}
Frame 14
gotoAndPlay (13);
Frame 15
mcLoad = function (_filename, _mcObject, _timeline, _xCord, _yCord, _playAfterLoad) {
loadMovie (_filename + ".swf", _root[_mcObject]);
ldrObj = _mcObject;
_root.attachMovie("info", "mcPreloader", 99999);
mcPreloader._x = _xCord;
mcPreloader._y = _yCord;
mcPreloader.fadeIn = true;
mcPreloader.ldrObject = _mcObject;
mcPreloader.percent = 0;
mcPreloader.playAL = _playAfterLoad;
mcPreloader.end = false;
mcPreloader._alpha = 0;
mcPreloader.fade = true;
mcPreloader.fadeTo = 10;
mcPreloader.loops = 4;
mcPreloader.firstTime = false;
mcPreloader.timeLine = _timeline;
};
Frame 16
delete preload;
gotoAndPlay (18);
Frame 18
fscommand ("allowscale", false);
fscommand ("showmenu", false);
fscommand ("fullscreen", false);
fscommand ("trapallkeys", true);
Frame 19
function encodeLevel(level, stage, lives) {
var _local1 = ((level + 1) + (stage * 16)) + (lives * 256);
var _local2 = (_local1 + (int(Math.random() * 63) * 1024)) + (_local1 * 65536);
return(_local2);
}
function decodeLevel(cripticCode) {
cripticCode = parseInt(cripticCode);
var _local2 = cripticCode >>> 16;
cripticCode = cripticCode & 1023;
if (cripticCode == _local2) {
gLevel = (cripticCode & 15) - 1;
gStage = (cripticCode & 240) >>> 4;
lives = (cripticCode & 768) >>> 8;
gotoAndStop ("NextStage");
}
}
function platform(x, y) {
return(_root.mcLevel.map[(("P" + x) + "_") + y]);
}
function pressPlatform() {
idb();
var _local1 = platform(actorX, actorY).pressIt();
if (_local1 == "Standing") {
if (whatsNext()) {
return(_local1);
}
return("ohNoMovement");
}
return(_local1);
}
function releasePlatform() {
platform(actorX, actorY).releaseIt();
}
function checkP(x, y) {
if ((platform(x, y).type != null) && ((platform(x, y).type & 128) == 0)) {
return(true);
}
return(false);
}
function idb() {
if ((!checkP(actorX, actorY + 2)) && (!checkP(actorX, actorY + 1))) {
ActorMovie.deathbelow = true;
} else {
ActorMovie.deathbelow = false;
}
}
function whatsNext() {
if (((((((((((((((((((checkP(actorX - 2, actorY - 2) || (checkP(actorX - 1, actorY - 1))) || (checkP(actorX + 1, actorY + 1))) || (checkP(actorX + 2, actorY + 2))) || (checkP(actorX - 2, actorY + 2))) || (checkP(actorX - 1, actorY + 1))) || (checkP(actorX + 1, actorY - 1))) || (checkP(actorX + 2, actorY - 2))) || (checkP(actorX - 2, actorY - 1))) || (checkP(actorX - 2, actorY + 1))) || (checkP(actorX + 2, actorY + 1))) || (checkP(actorX + 2, actorY - 1))) || (checkP(actorX - 1, actorY + 2))) || (checkP(actorX + 1, actorY + 2))) || (checkP(actorX + 2, actorY))) || (checkP(actorX + 1, actorY))) || (checkP(actorX - 1, actorY))) || (checkP(actorX - 2, actorY))) || (checkP(actorX, actorY + 2))) || (checkP(actorX, actorY + 1))) {
return(true);
}
return(false);
}
function notInOrder() {
Timer.stopTimer();
InvalidOrder.gotoAndStop(2);
}
function nextLevel() {
Timer.stopTimer();
animEvent = true;
gLevel++;
if (lastLevel) {
gStage++;
gLevel = 0;
if (gStage == 10) {
LevelDone.gotoAndStop(4);
} else {
LevelDone.gotoAndStop(3);
}
} else {
LevelDone.gotoAndStop(2);
}
}
function restartLevel() {
Timer.stopTimer();
NotAllDone.gotoAndStop(2);
}
function noMoreMovs() {
Timer.stopTimer();
NoMovements.gotoAndStop(2);
}
function gameIsOver() {
Timer.stopTimer();
animEvent = true;
GameOver.gotoAndStop(2);
}
function initActor() {
ActorMovie = _root.mcLevel.actor;
ActorMovie._x = (actorStartX * 64) + 32;
ActorMovie._y = (actorStartY * 64) + 56;
actorX = actorStartX;
actorY = actorStartY;
ActorMovie._visible = true;
ActorMovie.to = 1;
if (ActorMovie._x < 320) {
ActorMovie.flip(1, 1);
} else {
ActorMovie.flip(-1, 1);
}
ActorMovie.gotoAndPlay(pressPlatform());
Timer.startTimer();
}
function actorGoto(frame) {
releasePlatform();
animEvent = true;
trace("Actor goto:" + frame);
ActorMovie.gotoAndPlay(frame);
}
function killActor(why) {
animEvent = true;
Timer.stopTimer();
if ((--lives) == 0) {
gameIsOver();
} else if (why == 1) {
animEvent = true;
ActorMovie.gotoAndPlay("outTime");
KillTime.gotoAndStop(2);
} else if (why == 2) {
KillFalling.gotoAndStop(2);
}
}
function checkPoint() {
var _local4 = true;
var _local6;
animEvent = true;
Timer.stopTimer();
var _local3 = 0;
while (_local3 < 6) {
var _local2 = 0;
while (_local2 < 10) {
var _local1 = platform(_local2, _local3).type;
var _local5 = _local1 >>> 7;
((_local1 == null) ? null : (((((_local1 == 7) || (_local1 == 135)) || (_local1 == 8)) ? (platform(_local2, _local3).hideIt()) : (((_local4 == false) ? null : (((_local1 == 20) ? (_local4 = _local4 | (_local5 || (platform(_local2, _local3).counter == true))) : ((_local5 ? (_local4 = true) : (_local4 = false))))))))));
_local2++;
}
_local3++;
}
((order == -1) ? (_local6 = 1) : ((_local4 ? (_local6 = 0) : (_local6 = 2))));
return(_local6);
}
function left() {
ActorMovie.to = -1;
ActorMovie.flip(-1, 1);
actorGoto("Right");
}
function upLeft() {
ActorMovie.to = -1;
ActorMovie.flip(-1, 1);
actorGoto("UpRight");
}
function upRight() {
ActorMovie.to = 1;
ActorMovie.flip(1, 1);
actorGoto("UpRight");
}
function right() {
ActorMovie.to = 1;
ActorMovie.flip(1, 1);
actorGoto("Right");
}
function downRight() {
ActorMovie.to = 1;
ActorMovie.flip(1, 1);
actorGoto("DownRight");
}
function down() {
actorGoto("Down");
}
function downLeft() {
ActorMovie.to = -1;
ActorMovie.flip(-1, 1);
actorGoto("DownRight");
}
function sLeft() {
ActorMovie.to = -1;
ActorMovie.flip(-1, 1);
actorGoto("DoubleRight");
}
function sUpLeft() {
ActorMovie.to = -1;
ActorMovie.flip(-1, 1);
actorGoto("DoubleUpRight");
}
function sUpRight() {
ActorMovie.to = 1;
ActorMovie.flip(1, 1);
actorGoto("DoubleUpRight");
}
function sRight() {
ActorMovie.to = 1;
ActorMovie.flip(1, 1);
actorGoto("DoubleRight");
}
function sDownRight() {
ActorMovie.to = 1;
ActorMovie.flip(1, 1);
actorGoto("DoubleDownRight");
}
function sDown() {
actorGoto("DoubleDown");
}
function sDownLeft() {
ActorMovie.to = -1;
ActorMovie.flip(-1, 1);
actorGoto("DoubleDownRight");
}
function attachIcon(char) {
if (char != "*") {
var _local2 = (("P" + coordX) + "_") + coordY;
_root.mcLevel.map.attachMovie("p" + char, _local2, lvl);
_local2 = _root.mcLevel.map[_local2];
if (char == "u") {
_local2.timer = parseInt(cLevel.charAt(idx + 1)) * 10;
idx++;
}
var _local3 = ord(char) - 97;
if (_local3 < 0) {
_local3 = _local3 + 160;
}
_local2._x = coordX * 64;
_local2._y = coordY * 64;
_local2.miX = coordX;
_local2.miY = coordY;
_local2.type = _local3;
_local2.anima.gotoAndStop(((int(coordX / 2) * 5) + 1) + ((_local3 >>> 7) * 2));
if ((gStage == 9) && (gLevel == 9)) {
_local2.gotoAndStop(2);
} else {
_local2.gotoAndStop(1);
}
}
coordX++;
lvl--;
if (coordX == 10) {
coordX = 0;
coordY++;
}
}
function makeMap() {
mcLevel.gotoAndStop(1);
var _local4 = 7;
while (_local4--) {
var _local2 = 10;
while (_local2--) {
mcLevel.map[(("P" + _local2) + "_") + _local4].removeMovieClip();
}
}
lastLevel = false;
levelTimer = mcLevel.timers[gStage][gLevel];
cLevel = mcLevel.levels[gStage][gLevel];
idx = 0;
lvl = 300;
coordX = 0;
coordY = 0;
while (cLevel.charAt(idx) != "z") {
var _local1 = cLevel.charAt(idx);
if (_local1 == "x") {
var _local5 = cLevel.charAt(idx + 1) + cLevel.charAt(idx + 2);
var _local3 = parseInt(_local5);
_local1 = cLevel.charAt(idx + 3);
idx = idx + 4;
while (_local3--) {
attachIcon(_local1);
}
} else if (_local1 == "y") {
lastLevel = true;
idx++;
} else {
attachIcon(_local1);
idx++;
}
}
mcLevel.gotoAndStop((gLevel + 2) + (gStage * 10));
}
MovieClip.prototype.flip = function (x, y) {
this._xscale = Math.abs(this._xscale) * x;
this._yscale = Math.abs(this._yscale) * y;
};
Instance of Symbol 19 MovieClip in Frame 19
onClipEvent (enterFrame) {
readNow = readNow ^ 1;
if (!_root.animEvent) {
(Key.isDown(37) ? ((movement = movement | 1)) : ((movement = movement & 254)));
(Key.isDown(38) ? ((movement = movement | 2)) : ((movement = movement & 253)));
(Key.isDown(40) ? ((movement = movement | 4)) : ((movement = movement & 251)));
(Key.isDown(39) ? ((movement = movement | 8)) : ((movement = movement & 247)));
(Key.isDown(16) ? ((movement = movement | 128)) : ((movement = movement & 127)));
} else {
movement = 0;
}
if (readNow) {
((movement == 3) ? (_root.upLeft()) : (((movement == 10) ? (_root.upRight()) : (((movement == 8) ? (_root.right()) : (((movement == 12) ? (_root.downRight()) : (((movement == 4) ? (_root.down()) : (((movement == 5) ? (_root.downLeft()) : (((movement == 1) ? (_root.left()) : (((movement == 131) ? (_root.sUpLeft()) : (((movement == 138) ? _root.sUpRight() : ((movement == 136) ? _root.sRight() : ((movement == 140) ? _root.sDownRight() : ((movement == 132) ? _root.sDown() : ((movement == 133) ? _root.sDownLeft() : ((movement == 129) ? _root.sLeft() : null))))))))))))))))))))));
}
}
onClipEvent (load) {
movement = 0;
_root.animEvent = false;
readNow = 0;
}
Frame 20
lives = 3;
gLevel = 0;
gStage = 0;
showCode = encodeLevel(gLevel, gStage, lives);
stop();
Frame 23
play();
Frame 25
if (gStage != 10) {
makeMap();
Timer._visible = true;
mcLives._visible = true;
} else {
Timer._visible = false;
mcLives._visible = false;
mcLevel.gotoAndStop(mcLevel._totalframes);
}
Frame 26
Timer.setTimer(levelTimer);
Frame 34
if (gStage != 10) {
initActor();
}
stop();
Frame 42
ActorMovie._x = -256;
ActorMovie._y = -256;
gotoAndPlay(nextAction);
Symbol 21 MovieClip [info] Frame 1
function update() {
if (!end) {
b_loaded = _root[ldrObject].getBytesLoaded();
b_total = _root[ldrObject].getBytesTotal();
if (loops > 0) {
loops--;
} else {
loops--;
gotoAndStop (2);
}
percent = (b_loaded / b_total) * 100;
if (b_total < 30) {
percent = 0;
}
if ((percent >= 100) && (percent != 0)) {
fade = true;
end = true;
fadeTo = -10;
if (playAL) {
_root[ldrObject].play();
} else {
_root[ldrObject].nextFrame();
}
timeline.nextFrame();
}
pertxt = int(percent) + "%";
bar._xscale = percent;
}
if (fade) {
_alpha = (_alpha + fadeTo);
if (_alpha >= 100) {
_alpha = 100;
fade = false;
} else if (_alpha <= 0) {
this.removeMovieClip();
}
}
}
stop();
Instance of Symbol 19 MovieClip in Symbol 21 MovieClip [info] Frame 1
onClipEvent (enterFrame) {
_parent.update();
}
Symbol 46 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 3
_parent.type = _parent.type | 128;
stop();
Symbol 46 MovieClip Frame 5
_parent.type = _parent.type & 127;
gotoAndStop (1);
Symbol 46 MovieClip Frame 8
_parent.type = _parent.type | 128;
stop();
Symbol 46 MovieClip Frame 10
_parent.type = _parent.type & 127;
gotoAndStop (6);
Symbol 46 MovieClip Frame 13
_parent.type = _parent.type | 128;
stop();
Symbol 46 MovieClip Frame 15
_parent.type = _parent.type & 127;
gotoAndStop (11);
Symbol 46 MovieClip Frame 18
_parent.type = _parent.type | 128;
stop();
Symbol 46 MovieClip Frame 20
_parent.type = _parent.type & 127;
gotoAndStop (16);
Symbol 46 MovieClip Frame 23
_parent.type = _parent.type | 128;
stop();
Symbol 46 MovieClip Frame 25
_parent.type = _parent.type & 127;
gotoAndStop (21);
Symbol 47 MovieClip [pa] Frame 1
function pressIt() {
return("Standing");
}
function releaseIt() {
anima.play();
}
function pRestore() {
anima.play();
}
function pPress() {
anima.play();
}
Symbol 50 MovieClip [pb] Frame 1
function pressIt() {
releaseIt();
_root.ActorMovie.to = -1;
_root.ActorMovie.flip(-1, 1);
return("EjectedRight");
}
function releaseIt() {
anima.play();
}
function pRestore() {
anima.play();
}
function pPress() {
anima.play();
}
Symbol 51 MovieClip [pc] Frame 1
function pressIt() {
releaseIt();
_root.ActorMovie.to = 1;
_root.ActorMovie.flip(1, 1);
return("EjectedRight");
}
function releaseIt() {
anima.play();
}
function pRestore() {
anima.play();
}
function pPress() {
anima.play();
}
Symbol 54 MovieClip [pd] Frame 1
function pressIt() {
releaseIt();
return("EjectedUp");
}
function releaseIt() {
anima.play();
}
function pRestore() {
anima.play();
}
function pPress() {
anima.play();
}
Symbol 55 MovieClip [pe] Frame 1
function pressIt() {
releaseIt();
return("EjectedDown");
}
function releaseIt() {
anima.play();
}
function pRestore() {
anima.play();
}
function pPress() {
anima.play();
}
Symbol 58 MovieClip [pf] Frame 1
function pressIt() {
return("Standing");
}
function releaseIt() {
deleteHorizontal();
anima.play();
}
function pRestore() {
anima.play();
}
function pPress() {
if (!deleted) {
deleted = true;
deleteHorizontal();
anima.play();
}
}
function deleteHorizontal() {
var _local2 = 0;
while (_local2 < 10) {
var _local3 = _root.platform(_local2, miY).type;
if (((_local2 != miX) && ((_local3 & 128) == 0)) && (_local3 != 6)) {
_root.platform(_local2, miY).pPress();
}
_local2++;
}
}
deleted = false;
Symbol 59 MovieClip [pg] Frame 1
function pressIt() {
restoreHorizontal();
return("Standing");
}
function releaseIt() {
anima.play();
}
function pRestore() {
anima.play();
}
function pPress() {
anima.play();
}
function restoreHorizontal() {
var _local2 = 0;
while (_local2 < 10) {
var _local3 = _root.platform(_local2, miY).type;
if ((((_local2 != miX) && ((_local3 & 128) == 128)) && (_local3 != 134)) && (_local3 < 138)) {
_root.platform(_local2, miY).type = _root.platform(_local2, miY).type & 127;
_root.platform(_local2, miY).pRestore();
}
_local2++;
}
}
Symbol 61 MovieClip [ph] Frame 1
function pressIt() {
state = true;
return("Standing");
}
function releaseIt() {
state = false;
}
function hideIt() {
state = true;
if (!(type >>> 7)) {
anima.play();
}
}
Instance of Symbol 46 MovieClip "anima" in Symbol 61 MovieClip [ph] Frame 1
onClipEvent (enterFrame) {
var now = getTimer();
if ((now >= delay) && (_parent.state == false)) {
delay = 3000 + now;
play();
}
}
onClipEvent (load) {
delay = 3000 + getTimer();
_parent.state = false;
}
Symbol 63 MovieClip [pi] Frame 1
function pressIt() {
return("Standing");
}
function releaseIt() {
}
function hideIt() {
anima.play();
}
Symbol 66 MovieClip [pj] Frame 1
function pressIt() {
return(deleteDiagonal());
}
function releaseIt() {
anima.play();
}
function pRestore() {
anima.play();
}
function pPress() {
if (!iDone) {
deleteDiagonal();
anima.play();
}
}
function deleteDiagonal() {
iDone = true;
var _local12;
var _local10;
var _local8;
var _local14;
var _local11;
var _local9;
var _local15;
var _local13;
_local14 = miX;
_local8 = _local14;
_local10 = _local8;
_local12 = _local10;
_local13 = miY;
_local15 = _local13;
_local9 = _local15;
_local11 = _local9;
var _local2 = "Standing";
var _local7 = 0;
while (_local7 < 10) {
_local11++;
_local12++;
var _local6 = _root.platform(_local12, _local11).type;
_local9--;
_local10++;
var _local5 = _root.platform(_local10, _local9).type;
_local15++;
_local8--;
var _local4 = _root.platform(_local8, _local15).type;
_local13--;
_local14--;
var _local3 = _root.platform(_local14, _local13).type;
if ((_local6 & 128) == 0) {
_root.platform(_local12, _local11).pPress();
if (_local6 == 9) {
_local2 = "Down";
}
}
if ((_local5 & 128) == 0) {
_root.platform(_local10, _local9).pPress();
if (_local5 == 9) {
_local2 = "Down";
}
}
if ((_local4 & 128) == 0) {
_root.platform(_local8, _local15).pPress();
if (_local4 == 9) {
_local2 = "Down";
}
}
if ((_local3 & 128) == 0) {
_root.platform(_local14, _local13).pPress();
if (_local3 == 9) {
_local2 = "Down";
}
}
_local7++;
}
if (_local2 == "Down") {
anima.play();
}
return(_local2);
}
iDone = false;
Symbol 67 MovieClip [pk] Frame 1
function pressIt() {
restoreDiagonal();
return("Standing");
}
function releaseIt() {
anima.play();
}
function pRestore() {
anima.play();
}
function pPress() {
if (!iDone) {
restoreDiagonal();
}
}
function restoreDiagonal() {
x1 = (x2 = (x3 = (x4 = miX)));
y1 = (y2 = (y3 = (y4 = miY)));
var _local2 = 0;
while (_local2 < 10) {
if (_root.platform(++x1, ++y1).type == 128) {
_root.platform(x1, y1).pRestore();
_root.platform(x1, y1).type = _root.platform(x1, y1).type & 127;
}
if (_root.platform(++x2, --y2).type == 128) {
_root.platform(x2, y2).pRestore();
_root.platform(x2, y2).type = _root.platform(x2, y2).type & 127;
}
if (_root.platform(--x3, ++y3).type == 128) {
_root.platform(x3, y3).pRestore();
_root.platform(x3, y3).type = _root.platform(x3, y3).type & 127;
}
if (_root.platform(--x4, --y4).type == 128) {
_root.platform(x4, y4).pRestore();
_root.platform(x4, y4).type = _root.platform(x4, y4).type & 127;
}
_local2++;
}
}
Symbol 72 MovieClip [pl] Frame 1
function pressIt() {
((_root.order == 0) ? ((_root.order = _root.order | 1)) : ((_root.order = -1)));
return("Standing");
}
function releaseIt() {
anima.play();
}
function pRestore() {
anima.play();
}
function pPress() {
_root.order = _root.order | 1;
anima.play();
}
_root.order = 0;
Symbol 73 MovieClip [pm] Frame 1
function pressIt() {
((_root.order == 1) ? ((_root.order = _root.order | 2)) : ((_root.order = -1)));
return("Standing");
}
function releaseIt() {
anima.play();
}
function pRestore() {
anima.play();
}
function pPress() {
_root.order = _root.order | 2;
anima.play();
}
Symbol 74 MovieClip [pn] Frame 1
function pressIt() {
((_root.order == 3) ? ((_root.order = _root.order | 4)) : ((_root.order = -1)));
return("Standing");
}
function releaseIt() {
anima.play();
}
function pRestore() {
anima.play();
}
function pPress() {
_root.order = _root.order | 4;
anima.play();
}
Symbol 77 MovieClip [po] Frame 1
function pressIt() {
((_root.order == 7) ? ((_root.order = _root.order | 8)) : ((_root.order = -1)));
return("Standing");
}
function releaseIt() {
anima.play();
}
function pRestore() {
anima.play();
}
function pPress() {
_root.order = _root.order | 8;
anima.play();
}
Symbol 78 MovieClip [pp] Frame 1
function pressIt() {
((_root.order == 15) ? ((_root.order = _root.order | 16)) : ((_root.order = -1)));
return("Standing");
}
function releaseIt() {
anima.play();
}
function pRestore() {
anima.play();
}
function pPress() {
_root.order = _root.order | 16;
anima.play();
}
Symbol 79 MovieClip [pq] Frame 1
function pressIt() {
((_root.order == 31) ? ((_root.order = _root.order | 32)) : ((_root.order = -1)));
return("Standing");
}
function releaseIt() {
anima.play();
}
function pRestore() {
anima.play();
}
function pPress() {
_root.order = _root.order | 32;
anima.play();
}
Symbol 80 MovieClip [pr] Frame 1
function pressIt() {
((_root.order == 63) ? ((_root.order = _root.order | 64)) : ((_root.order = -1)));
return("Standing");
}
function releaseIt() {
anima.play();
}
function pRestore() {
anima.play();
}
function pPress() {
_root.order = _root.order | 64;
anima.play();
}
Symbol 81 MovieClip [ps] Frame 1
function pressIt() {
((_root.order == 127) ? ((_root.order = _root.order | 128)) : ((_root.order = -1)));
return("Standing");
}
function releaseIt() {
anima.play();
}
function pRestore() {
anima.play();
}
function pPress() {
_root.order = _root.order | 128;
anima.play();
}
Symbol 84 MovieClip [pt] Frame 1
function pressIt() {
((_root.order == 255) ? ((_root.order = _root.order | 256)) : ((_root.order = -1)));
return("Standing");
}
function releaseIt() {
anima.play();
}
function pRestore() {
anima.play();
}
function pPress() {
_root.order = _root.order | 256;
anima.play();
}
Symbol 86 MovieClip [pu] Frame 1
function pressIt() {
if (!pressed) {
pressed = true;
delay = (timer * 100) + getTimer();
counter = true;
}
return("Standing");
}
function pRestore() {
anima.play();
}
function pPress() {
pressIt();
anima.play();
}
pressed = false;
Instance of Symbol 46 MovieClip "anima" in Symbol 86 MovieClip [pu] Frame 1
onClipEvent (enterFrame) {
if (((_parent.counter == true) && (getTimer() >= _parent.delay)) && (!(_parent.type >>> 7))) {
_parent.counter = false;
play();
if ((int((_root.ActorMovie._x - 32) / 64) == _parent.miX) && (int((_root.ActorMovie._y - 56) / 64) == _parent.miY)) {
_root.actorGoto("Down");
}
}
}
onClipEvent (load) {
_parent.counter = false;
}
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 20
stop();
Symbol 95 MovieClip [pv] Frame 1
function pressIt() {
type = type | 128;
var _local2 = _root.checkPoint();
if (_local2 == 0) {
door.play();
return("End");
}
if (_local2 == 1) {
return("ohNoOrder");
}
if (_local2 == 2) {
return("ohNoNotall");
}
}
Symbol 98 MovieClip [pw] Frame 1
function pressIt() {
if (firstTime) {
return("Standing");
}
firstTime = true;
return("Start");
}
function releaseIt() {
anima.play();
}
firstTime = false;
_root.actorStartX = miX;
_root.actorStartY = miY;
Symbol 116 MovieClip Frame 9
stop();
Symbol 133 MovieClip Frame 9
stop();
Symbol 145 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 1
function endMovement(xIncrement, yIncrement) {
if (!death) {
_x = (_x + (xIncrement * 64));
_y = (_y + (yIncrement * 64));
_root.actorX = _root.actorX + xIncrement;
_root.actorY = _root.actorY + yIncrement;
if ((_root.platform(_root.actorX, _root.actorY).type >>> 7) || (_root.platform(_root.actorX, _root.actorY).type == null)) {
_root.idb();
if (_y < 448) {
return("Down");
}
return("Death");
}
if (falling == 2) {
return("Ouch");
}
if (falling > 2) {
return("Death");
}
falling = 0;
return(_root.pressPlatform());
}
}
stop();
Symbol 204 MovieClip Frame 2
falling = 0;
_root.animEvent = false;
stop();
Symbol 204 MovieClip Frame 3
stop();
Symbol 204 MovieClip Frame 11
gotoAndPlay(endMovement(to, 0));
Symbol 204 MovieClip Frame 12
falling++;
if ((falling == 1) && (!deathbelow)) {
snd.gotoAndStop("d");
}
if (deathbelow && (falling == 1)) {
_root.Timer.stopTimer();
snd.gotoAndStop("f");
}
Symbol 204 MovieClip Frame 18
gotoAndPlay(endMovement(0, 1));
Symbol 204 MovieClip Frame 25
gotoAndPlay(endMovement(to, 1));
Symbol 204 MovieClip Frame 31
gotoAndPlay(endMovement(to, -1));
Symbol 204 MovieClip Frame 42
gotoAndPlay(endMovement(to * 2, 0));
Symbol 204 MovieClip Frame 62
gotoAndPlay(endMovement(to * 2, 2));
Symbol 204 MovieClip Frame 85
gotoAndPlay(endMovement(to * 2, -2));
Symbol 204 MovieClip Frame 96
gotoAndPlay(endMovement(0, 2));
Symbol 204 MovieClip Frame 116
gotoAndPlay(endMovement(to * 2, -2));
Symbol 204 MovieClip Frame 129
gotoAndPlay(endMovement(0, -2));
Symbol 204 MovieClip Frame 130
falling++;
if ((falling == 1) && (!deathbelow)) {
snd.gotoAndStop("d");
}
if (deathbelow && (falling == 1)) {
snd.gotoAndStop("f");
}
Symbol 204 MovieClip Frame 136
gotoAndPlay(endMovement(0, 1));
Symbol 204 MovieClip Frame 154
falling = 0;
gotoAndPlay(endMovement(0, 0));
Symbol 204 MovieClip Frame 155
_root.Timer.T3.stopTimer();
death = true;
Symbol 204 MovieClip Frame 166
_root.killActor(2);
stop();
Symbol 204 MovieClip Frame 167
death = false;
falling = 0;
Symbol 204 MovieClip Frame 184
gotoAndPlay(endMovement(0, 0));
Symbol 204 MovieClip Frame 192
stop();
_root.nextLevel();
Symbol 204 MovieClip Frame 208
stop();
Symbol 204 MovieClip Frame 226
stop();
_root.noMoreMovs();
Symbol 204 MovieClip Frame 244
stop();
_root.notInOrder();
Symbol 204 MovieClip Frame 262
stop();
_root.restartLevel();
Symbol 221 MovieClip Frame 1
stop();
levels = new Array(["x41*awvz", "x11*vx19*dx10*w*ax08*bz", "x10*vwx09*x08a*dz", "x06*a*wx08*ex09*ex06*vh*ex09*ex09*bz", "x40*waagaavaz", "x17*vx17*c****wamlfx05az", "x10*wx09*ex08*a*vx08*a*u8*u8*u8aaz", "x12*a**aax06*a*ax05*w*ajaavax04*a*ax06*a***az", "x30*wfx05avaa***ex09*jaaz", "x13*avaax09*ax04*wj*daax06*ayz"], ["x10*wvaa*a****fAaAaAgA**az", "x15*avx07*a*aeaw**aa***b***a***haa****aaaz", "x11*wa**ex07*aadaaa**aaaafaaaax05*vz", "x10*x11a*ax07*vx09*aax08*x09awz", "x22*nivlx05*pwm*ax09*oz", "x11*aa*aaax06*w*ax05*a****dx14*m*u8alagax06*vz", "x12*aax08*aawax06*v*eee*ax05*aaaaz", "x11*ha***vx06*h*u8****waaau8aau8aa***a*ax06*a***dz", "x14*aaa*gx05*omna****pqlx07*rwvdadx05*s*tz", "x10*waix07*x10hx17*ahax05*vyz"], ["x10*aaa*aa****a*a*ax05*v*a**d*a**aa****a****adaaaadwz", "x14*ex09*u8*b****wagaaafvx07*dz", "x12*a***ax05*a***ax05*m*u8*lx05*ax09*w***vz", "x15*a***a*wa**a*aa****a*e*a****a**d*a***ax06*vz", "x12*e*vx06*x06Ag****dx09*aa*aax05*dwz", "x12*lmhnx06*ex09*u8x09*dx09*awfvgz", "x11*aaa*a**a****a**a**v*a*ax07*aax08*aadawz", "*ax10*ax10*a**ax06*wai*vx05*a*aax05*a**dz", "x14*wx07*x06ax06*aa**v****caax08*aax06*x06az", "w*cahx05a*aaacaeaaaiaaadabaaa*x07jgaix09a*x08avyz"], ["x11*a*a**v***x06faaa**wx06*a**ax09*aa*ljamnz", "x12*a**aaax05*vwx07*a*bbadx12*poau8nlagmz", "x11*alaa**aex07*v****madaw*eex12*aadjx05az", "x13*ex09*hx07*vadaeaaa****b*cx09*bdbwz", "a***j**aa**aeeee*av***j**aw****aaaba*a*ba**cj***a***fa*a*j*az", "x10*nx07*a**a**w***a*l*u8*e*h*v**ax06*a*m***c**aaz", "x16*ax08*eax07*aaax06*aadax05*aadvwz", "x11*aax13*w****a*gfh**ax11*v*h****aaaz", "x12*aahx07*l***ex07*u8*mx05*e***fx05*wavz", "x15*max14*flwv*deax13*jaan*gyz"], ["x11*waae***a***aadaax05*gAEAaAgx05*d*ax07*a*vz", "**H*HhHh**e*u8*wx05*ex07*v*Hax12*a*ax05*hahHhHaz", "*aa*ma****a***ae****waaadHalav****aex08*dHz", "x11*aa*j**a***wx10*a*afveaax05*ax06*a*a**aaz", "x11*e*Hax06*ewbex06*e*dax06*c**Hx07*aavz", "x14*vx09*ex09*dx05*aaamgaaaa*ladafanawz", "x11*aal**mfa**e**v**aax06*a*d***aajd*ad*wz", "*e**Hx05*wec*a*a****Hdv**a***aex09*u8*u8aaaax08*aaz", "x11*gx06A***aaaHaea**wde*c***v**afadabaz", "x15*ax05*e*w*a*a***a*e*v*a***aac***aaa***ayz"], ["x18*wx07*vaHx06*e*ex07*hcu8ex08*bx10*bz", "x15*e*ax07*a*ag****e*da*aa***fa*a****wv*az", "x11*e*HvH*u8***Haa*aah***e*dHc*e***h*a*a*dx05*dwdz", "wc*hax05*ea*a**a***ec*aaf****Ha*aj*d***ed*aaaHH**H***aadaavz", "wa***aa***e*ea*e*ea*eu8dc*eu8d**H*e**H*e**caed*caev***b****bz", "x14*ex08*ge*b****vaaex08*Haadx05*aaawz", "x13*e*jx05*v*H*H*e***c*e***a****ad*c*ba**awbz", "**u8***a*a*v**f*w**a*g***f***a*a**a*a**a*a*a***a*az", "x11*a*f*j*fx05*a*d*n***e*m*e*a***j*a*a*l***w*a*vz", "**aHaH*H***ax05*e**au8x05*d***g*ava*Hx05*b*cx08*wyz"], ["lax05*aa*ax07*a*dfx05*na**am***wv****ajagax06*az", "x10*av*a*aaaa****ax06*a*a**a**a*aax10*waa*aaz", "*ix05awa**ea**ix05*d**u8ea****iaa*dx05*e***ax05*aaaavz", "agafagfgaa*c**ex09*w*u8***agabfagvgax13*bz", "x12*aaanfx10*l**aea*a*emax07*a****vwfa*u8adz", "wx09*aax10*aax06Hx14*d***aagggfu8gffgvz", "x10*a*a*eagaa*vw*aex05*aab*e***d*la**ex05*dm**H*nz", "x16*aax06*e*a****aw*fjavga**a***aax08*aaz", "***a*ax07*oweax05*anjfax05*afaej*e****aavax05*aamdb*lz", "mlna**aea****a*ax05*ad*w**eex11*aadjajaavyz"], ["x11*e*a*ee*e**ee*jea*e**eebeec*b**ac*bHa****acwcb*vz", "****aax07*anaax05*apo**a**aa**j**a*l*a**a**jma**a*avwjaz", "x10*aaaa*x05af***w****aax08*ff****v***x06a*aaaaz", "x10*v*Haaaeex12*wf*cccjfagx14*fagabaz", "aamu8*f*j****ee*e*H**gpadjvfaog***e*dx07*e*wx06*fHaajlanz", "x10*lajHfaHeaaaeajjajmvaafeeccnaaaaccwceaaaoapccddaaqhz", "**ea*ean****aa*eae**laaa*cdbaaameaeceaaav*o**ada****dwaadaz", "**aaeo*ax16*pw*nax07*f**u8x12*glavaamz", "x10*aaljafaajmx11*e**u8***nx11*wgfgfgHggvz", "x05*oapg*n****l**e****fjga*agdwH*vm**e****fdag*Hx07*a*dyz"], ["x11*x05e****ax05e*a**ax05du8ee**aaaAa*g**wd*add**vz", "aa**aw***ea***al**amHagcavfcade***a***nad**aej**fb****daaz", "AaAaAagag*A*A*b***g*g*Cwvab*J*ax06*bg*gaAaaAaaaz", "****aax07*aafax05*aedaaa***addwdeja*aaajaaveaa**aadadaz", "m***qa***o***aaa****x06arx06adpajaaan***aaax07*wv***lz", "h***a*a***d**a**ajav**u8x05*aaax06*d**f***awad*ax06*a*agz", "***e*e****ve*e*ex05*u8*d*dx05*d*h*h**e**c*d*d*eH****b*bwbz", "x06*alaaoaax05*ex05*u8ajda****amajaaew*c*fcaaja**v*agacndz", "***e*u8***aa*a*H***f**e*e*b*a*ag*c*jx06*a*b*a*b*g**v*f***wz", "alea**ae****e**v****mHdaw*ee*e**ex07*afdjachcaH**hyz"], ["***e*ax07*aev****ajc*e**faaaa*aH**aaa***jwjx08*aaz", "x11*H*e*e*ex05*b*b*b*b*lw*x06e**x07ed**x06cmvz", "x10*weffeaafegifffdfafegfajfefffdgafafdfcgfv**dbcfgfdfz", "*e*o*j*e*la*j*a*f*a**e*b*a*a*an*e*w*v*e**c*a*j*a*m**a*a*f*bz", "x12*aaaa*aaa***dve*aaadddfwfddedfx06dx06a****aaaz", "x10*eaena*efe*e*eoc*u8***v*bbebcla**aa*d*ea**aaawcbbmbz", "x11*m*lfa*ewaj*f*j*geev*da**bbjHe**d***cHea*d**ajabbnz", "eeleeefeoeveeaeejmfnddccbefebacefpaqeecb**aajaae****bbbwacz", "a*m*j*a*n**e*a*l*j*aj*j***w*e**fgb*bcjbjv*p*j*a*o****jbj***az", "x14*l**p****m*ecsx05*c*oqdrv**wn***tx09*cyz"]);
timers = new Array([320, 124, 125, 42, 44, 45, 80, 45, 60, 60], [40, 90, 40, 45, 45, 60, 45, 45, 75, 110], [60, 60, 45, 55, 50, 50, 45, 60, 55, 60], [60, 60, 125, 50, 60, 70, 45, 60, 60, 55], [90, 80, 75, 50, 60, 60, 50, 75, 60, 60], [45, 55, 105, 90, 90, 100, 60, 60, 55, 90], [60, 60, 110, 75, 60, 90, 180, 50, 45, 60], [80, 90, 80, 70, 60, 90, 100, 60, 60, 60], [100, 100, 120, 120, 150, 120, 120, 240, 630, 150], [90, 90, 300, 630, 100, 100, 150, 120, 300, 900]);
Symbol 230 Button
on (release, keyPress "<Enter>") {
_root.nextAction = "StartUp";
_root.play();
gotoAndStop (1);
}
Symbol 232 MovieClip Frame 1
stop();
Symbol 233 Button
on (release, keyPress "<Enter>") {
_root.nextAction = "Restart";
_root.play();
gotoAndStop (1);
}
Symbol 235 MovieClip Frame 1
stop();
Symbol 236 Button
on (release, keyPress "<Enter>") {
_root.nextAction = "Restart";
_root.play();
gotoAndStop (1);
}
Symbol 240 Button
on (release, keyPress "<Enter>") {
_root.nextAction = "NextStage";
_root.play();
gotoAndStop (1);
}
Symbol 249 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 2
showCode = _root.encodeLevel(_root.gLevel, _root.gStage, _root.lives);
Symbol 250 Button
on (release, keyPress "<Enter>") {
_root.nextAction = "Restart";
_root.play();
gotoAndStop (1);
}
Symbol 252 MovieClip Frame 1
stop();
Symbol 253 Button
on (release, keyPress "<Enter>") {
_root.nextAction = "Restart";
_root.play();
gotoAndStop (1);
}
Symbol 255 MovieClip Frame 1
stop();
Symbol 256 Button
on (release, keyPress "<Enter>") {
_root.nextAction = "Restart";
_root.play();
gotoAndStop (1);
}
Symbol 258 MovieClip Frame 1
stop();
Symbol 259 Button
on (release, keyPress "<Enter>") {
_root.nextAction = "Restart";
_root.play();
gotoAndStop (1);
}
Symbol 261 MovieClip Frame 1
stop();
Symbol 267 Button
on (release) {
getURL ("http://www.extremefx.com.ar", "_blank");
}
Symbol 270 Button
on (release, keyPress "<Enter>") {
decodeLevel(showCode);
}
Symbol 287 MovieClip Frame 1
function moveTimers() {
if (!stopped) {
var _local2 = mc1._y;
var _local3 = mc2._y;
var _local4 = mc3._y;
if (_local2 == -25) {
movdec = 25;
} else if (_local2 == 0) {
_local2 = -250;
}
_local2++;
mc1._y = _local2;
if ((movdec--) > 0) {
if (_local3 == -25) {
movcen = 25;
} else if (_local3 == 0) {
_local3 = -250;
}
_local3++;
mc2._y = _local3;
}
if ((movcen--) > 0) {
_local4++;
mc3._y = _local4;
}
if (((_local4 == -25) && (_local3 == -25)) && (_local2 == -25)) {
_root.killActor(1);
stopped = true;
}
}
}
function startTimer() {
movdec = 0;
movcen = 0;
stopped = false;
gotoAndPlay (3);
}
function stopTimer() {
stopped = true;
gotoAndStop (2);
}
function setTimer(timer) {
currentTimer = timer;
mc3._y = -((int(timer / 100) * 25) + 25);
timer = timer % 100;
mc2._y = -((int(timer / 10) * 25) + 25);
timer = timer % 10;
mc1._y = -((timer * 25) + 25);
}
stop();
Symbol 287 MovieClip Frame 3
moveTimers();
Symbol 287 MovieClip Frame 4
moveTimers();
gotoAndPlay (3);