Frame 1
var i = -1;
while (getInstanceAtDepth(i)) {
i--;
}
createEmptyMovieClip("kv_mc", i);
kv_mc.kv_v = {c:62, td:"kempt.62.memecounter.com"};
System.security.allowDomain(kv_mc.kv_v.td);
kv_mc.kv_v.c_so = SharedObject.getLocal(kv_mc.kv_v.c, "/");
kv_mc.kv_v.d = (_root.ori_dom ? (_root.ori_dom) : (((_root._url.split("/")[0].indexOf("http") == -1) ? "Local" : (_root._url.split("/")[2].split("?")[0]))));
kv_mc.kv_v.fpv = getVersion().split(" ")[1].split(",")[0];
kv_mc.kv_v.lurl = ((((((((((("http://" + kv_mc.kv_v.td) + "/tracker.php") + "?c=") + kv_mc.kv_v.c) + "&r=") + Math.floor(Math.random() * 10000000000)) + "&d=") + kv_mc.kv_v.d) + "&u=") + (kv_mc.kv_v.c_so.data.u ? "1" : "")) + "&p=") + kv_mc.kv_v.fpv;
kv_mc.kv_v.c_so.data.u = true;
kv_v.c_so.flush();
kv_mc.kv_v.t_mc = kv_mc.createEmptyMovieClip("kv_tracker", 0);
kv_mc.kv_v.l_mcl = new MovieClipLoader();
if (kv_mc.kv_v.l_mcl.loadClip) {
kv_mc.kv_v.l_mcl.loadClip(kv_mc.kv_v.lurl, kv_mc.kv_v.t_mc);
} else {
loadMovie (kv_mc.kv_v.lurl, kv_mc.kv_v.t_mc);
}
version = System.capabilities.version.split(",")[0].split(" ")[1];
if ((version < 8) && (_root._url.split("/").pop().indexOf("game7.swf") < 0)) {
_root.loadMovie("http://www.superwalkland.com/game7.swf?offsite=1");
} else if (_root._url.indexOf("superwalkland.com") < 0) {
var mc = _root.createEmptyMovieClip("version_checker_mc", _root.getNextHighestDepth());
mc.loadVariables("http://www.superwalkland.com/version.php");
mc.onData = function () {
var _local3 = 2;
if (this.swlv > _local3) {
_root.loadMovie("http://www.superwalkland.com/game.swf?offsite=1");
} else {
this.removeMovieClip();
play();
}
};
stop();
}
Frame 2
var cm = new ContextMenu();
cm.hideBuiltInItems();
_root.menu = cm;
Frame 3
function buildQS(s) {
return("?sessId=" + escape(base64_encode(((("1n5p3ct0r," + s) + ",") + buildScore(s)) + ",g4dg3t")));
}
function buildScore(score) {
return(Math.floor(Math.pow(Math.log(Math.atan2(15.01, score)), 12)));
}
function b64array() {
var _local1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
var _local2 = new Array();
i = 0;
while (i < _local1.length) {
_local2[i] = _local1.charAt(i);
i++;
}
return(_local2);
}
function f64array() {
var _local1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
var _local2 = new Array();
i = 0;
while (i < _local1.length) {
_local2[_local1.charAt(i)] = i;
i++;
}
return(_local2);
}
function utf8t2d(t) {
var _local1 = new Array();
var _local5 = String.fromCharCode(237);
if (_local5.charCodeAt(0) < 0) {
var _local3 = 0;
while (_local3 < t.length) {
var _local2 = t.charCodeAt(_local3);
if (_local2 > 0) {
_local1[_local1.length] = _local2;
} else {
_local1[_local1.length] = ((256 + _local2) >> 6) | 192;
_local1[_local1.length] = ((256 + _local2) & 63) | 128;
}
_local3++;
}
} else {
var _local3 = 0;
while (_local3 < t.length) {
var _local2 = t.charCodeAt(_local3);
if (_local2 < 128) {
_local1[_local1.length] = _local2;
} else if ((_local2 > 127) && (_local2 < 2048)) {
_local1[_local1.length] = (_local2 >> 6) | 192;
_local1[_local1.length] = (_local2 & 63) | 128;
} else {
_local1[_local1.length] = (_local2 >> 12) | 224;
_local1[_local1.length] = ((_local2 >> 6) & 63) | 128;
_local1[_local1.length] = (_local2 & 63) | 128;
}
_local3++;
}
}
return(_local1);
}
function b64d2t(d, b64) {
var _local1 = new Array();
var _local2 = 0;
var _local5 = d.length;
if ((_local5 % 3) == 1) {
d[d.length] = 0;
d[d.length] = 0;
}
if ((_local5 % 3) == 2) {
d[d.length] = 0;
}
while (_local2 < d.length) {
_local1[_local1.length] = b64[d[_local2] >> 2];
_local1[_local1.length] = b64[((d[_local2] & 3) << 4) | (d[_local2 + 1] >> 4)];
_local1[_local1.length] = b64[((d[_local2 + 1] & 15) << 2) | (d[_local2 + 2] >> 6)];
_local1[_local1.length] = b64[d[_local2 + 2] & 63];
if ((_local2 % 57) == 54) {
_local1[_local1.length] = newline;
}
_local2 = _local2 + 3;
}
if ((_local5 % 3) == 1) {
_local1[_local1.length - 1] = (_local1[_local1.length - 2] = "=");
}
if ((_local5 % 3) == 2) {
_local1[_local1.length - 1] = "=";
}
var _local6 = _local1.join("");
return(_local6);
}
function base64_encode(str) {
return(b64d2t(utf8t2d(str), b64array()));
}
function frameCode() {
if ((!ident) && (player.active)) {
if (Key.isDown(p1Input.kPause[0]) && (!p1Input.kPause[2])) {
if (isPaused) {
isPaused = 0;
theMenu.gotoAndPlay("close");
startClips();
} else {
theMenu.gotoAndPlay("open");
theMenu.menuState = "pause";
stopClips();
}
p1Input.kPause[2] = 1;
} else if ((!Key.isDown(p1Input.kPause[0])) && (p1Input.kPause[2])) {
p1Input.kPause[2] = 0;
}
}
if ((!isPaused) && (player.active)) {
checkWorld();
if (levels.lvl != 0) {
pcInput(player, p1Input);
} else {
hellInput(player, p1Input);
}
collisions(player, fg);
pcDisplay(player);
drawScreen(player.xVel, player.yVel);
}
}
function checkWorld() {
for (var _local1 in fg.floors) {
if (fg.floors[_local1].isMP) {
fg.floors[_local1].effect();
}
}
}
function hellInput(pc, input) {
if ((!pc.enterLevel) && (pc.active)) {
var _local2 = Key.isDown(input.kRight[0]) - Key.isDown(input.kLeft[0]);
var _local5 = Key.isDown(input.kUp[0]) - Key.isDown(input.kDown[0]);
if ((_local5 == 0) && (pc.yState == 0)) {
pc.xState = _local2;
pc.xVel = _local2 * pc.walk;
} else if ((_local5 == 1) || (pc.yVel <= 0)) {
if (pc.yState == 0) {
pc.yState = 3;
pc.yVel = -pc.jump;
} else if (pc.yVel < 0) {
if (pc.yVel > (-pc.jumpApex)) {
pc.yVel = pc.yVel * -1;
} else {
pc.yVel = pc.yVel * pc.highJumpDrag;
}
}
var _local3 = pc.xVel + (_local2 * pc.walk);
if (Math.abs(_local3) <= pc.jumpXMax) {
pc.xVel = _local3;
}
}
}
}
function collisions(pc) {
if (!pc.enterLevel) {
var _local6 = fg.floors;
if ((pc.yVel >= 0) && (pc.climbDir == 0)) {
if (pc.yVel == 0) {
pc.yVel = 1;
}
var _local3 = 0;
var _local7 = pc._x;
var _local5 = 0;
while (_local5 <= Math.ceil(pc.yVel / minTileHeight)) {
_local3 = _local5 * minTileHeight;
if (_local6.hitTest(_local7, (pc._y + pc.yOfs) + _local3, true)) {
_local3 = _local3 - minTileHeight;
var _local2 = 0;
while (_local2 != 1) {
if (_local6.hitTest(_local7, (pc._y + pc.yOfs) + _local3, true)) {
_local2 = 1;
} else {
_local3 = _local3 + 1;
}
}
var _local4 = 1;
_local5 = Math.ceil(pc.yVel / minTileHeight) + 1;
}
_local5++;
}
if (_local4) {
pc.ry = pc.ry + (_local3 - 1);
if ((pc.yVel > 1) && (levels.lvl != 0)) {
pc.yState = -1;
} else if (levels.lvl == 0) {
pc.yState = 0;
}
pc.yVel = 0;
} else {
pc.yVel = pc.yVel * pc.grav;
if (pc.yVel > pc.yTermVel) {
pc.yVel = pc.yTermVel;
}
pc.yState = -3;
}
}
_local6 = fg.walls;
if (pc.climbDir == 0) {
var _local10 = pc._xscale / 100;
var _local8 = pc.xOfs * _local10;
var _local3 = pc.xVel;
var _local7 = pc._y + (pc.yOfs - 10);
var _local9 = -1 * _local10;
if (_local6.hitTest((pc._x + _local8) + _local3, _local7, true)) {
var _local5 = 0;
while (_local6.hitTest((pc._x + _local8) + _local3, _local7, true)) {
_local3 = _local3 + _local9;
}
pc.rx = pc.rx + _local3;
pc.xVel = 0;
pc.xState = 0;
}
}
}
}
function pcDisplay(pc) {
if (pc.enterLevel) {
pc._visible = true;
pc.gotoAndStop("riseUp");
} else {
if (pc.isHit) {
pc.dft = pc.dfd;
}
if (pc.hp <= 0) {
pc.gotoAndStop("die");
gui.hp_txt.text = "0%";
gui.battery.mask._width = 0;
pc.active = false;
if (version < 8) {
new Color(pc).setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:100});
} else {
pc.blendMode = "normal";
}
} else {
pc.hp = pc.hp + pc.hrr;
pc.hp = ((pc.hp > pc.mhp) ? (pc.mhp) : (pc.hp));
gui.hp_txt.text = Math.floor(pc.hp) + "%";
gui.score_txt.text = pc.score;
gui.battery.mask._width = gui.battery.mask.width * (pc.hp / pc.mhp);
gui.mega_txt.text = player.currentMega;
pc.dft = ((pc.dft > 0) ? (pc.dft - 1) : 0);
if (pc.dft > 0) {
var _local2 = new Color(pc);
if (version > 7) {
if ((pc.dft % 2) == 0) {
pc.blendMode = "add";
} else {
pc.blendMode = "normal";
}
} else if ((pc.dft % 2) == 0) {
new Color(pc).setTransform({ra:100, rb:255, ga:100, gb:255, ba:100, bb:255, aa:100, ab:100});
} else {
new Color(pc).setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:100});
}
}
if (pc.yState <= 0) {
if (pc.climbDir != 0) {
pc.gotoAndStop("climb");
if (pc.yVel != 0) {
pc.sprite.play();
} else {
pc.sprite.stop();
}
} else if (pc.attack && (pc.yState == -3)) {
if (pc.weapon == 1) {
pc.gotoAndStop("jumpAttack");
} else if (pc.weapon == 2) {
pc.gotoAndStop("grenJumpAttack");
}
} else if (pc.yState == -3) {
pc.gotoAndStop("fall");
} else if ((pc.attack && (Math.abs(pc.xState) == pc.runPoint)) && (Math.abs(pc.xVel) == pc.xMax)) {
if (pc.weapon == 1) {
pc.gotoAndStop("attack");
} else if (pc.weapon == 2) {
pc.gotoAndStop("grenAttack");
}
pc.sprite.skid.gotoAndStop("on");
} else if ((Math.abs(pc.xState) == pc.runPoint) && (Math.abs(pc.xVel) == pc.xMax)) {
pc.gotoAndStop("run");
} else if (pc.attack && (Math.abs(pc.xVel) == pc.walk)) {
if (pc.weapon == 1) {
pc.gotoAndStop("attack");
} else if (pc.weapon == 2) {
pc.gotoAndStop("grenAttack");
}
pc.sprite.skid.gotoAndStop("off");
} else if (Math.abs(pc.xVel) == pc.walk) {
pc.gotoAndStop("walk");
} else if ((pc.attack && (Math.abs(pc.xVel) > pc.walk)) && (pc.yState > -1)) {
if (pc.weapon == 1) {
pc.gotoAndStop("attack");
} else if (pc.weapon == 2) {
pc.gotoAndStop("grenAttack");
}
pc.sprite.skid.gotoAndStop("on");
} else if ((Math.abs(pc.xVel) > pc.walk) && (pc.yState > -1)) {
pc.gotoAndStop("skid");
} else if (pc.megaAttack) {
pc.gotoAndStop("megaAttack");
} else if ((pc.attack && (Math.abs(pc.xVel) > pc.walk)) && (pc.yState <= -1)) {
if (pc.weapon == 1) {
pc.gotoAndStop("lowAttack");
} else if (pc.weapon == 2) {
pc.gotoAndStop("grenLowAttack");
}
pc.sprite.skid.gotoAndStop("on");
} else if ((Math.abs(pc.xVel) > pc.walk) && (pc.yState <= -1)) {
pc.gotoAndStop("lowskid");
} else if (pc.xState == 0) {
if (pc.attack && (pc.yState <= -1)) {
if (pc.weapon == 1) {
pc.gotoAndStop("lowAttack");
} else if (pc.weapon == 2) {
pc.gotoAndStop("grenLowAttack");
}
pc.sprite.skid.gotoAndStop("off");
} else if (pc.yState <= -1) {
pc.gotoAndStop("duck");
} else if (pc.attack) {
if (pc.weapon == 1) {
pc.gotoAndStop("attack");
} else if (pc.weapon == 2) {
pc.gotoAndStop("grenAttack");
}
pc.sprite.skid.gotoAndStop("off");
} else if (pc.standCount < pc.idle) {
pc.gotoAndStop("stand");
} else {
pc.gotoAndStop("idle");
}
}
} else if (pc.yState > 0) {
if (pc.attack && (pc.yState == 3)) {
if (pc.weapon == 1) {
pc.gotoAndStop("jumpAttack");
} else if (pc.weapon == 2) {
pc.gotoAndStop("grenJumpAttack");
}
} else if (pc.yState == 3) {
pc.gotoAndStop("inJump");
} else {
pc.gotoAndStop("jump");
}
}
if (pc.xVel > 0) {
pc._xscale = 100;
} else if (pc.xVel < 0) {
pc._xscale = -100;
}
}
pc.isHit = false;
}
}
function pcInput(pc, input) {
if ((!pc.enterLevel) && (pc.active)) {
var _local5 = Key.isDown(input.kRight[0]) - Key.isDown(input.kLeft[0]);
var _local4 = Key.isDown(input.kUp[0]) - Key.isDown(input.kDown[0]);
if (!pc.attack) {
pc.attack = Key.isDown(input.kAttack[0]);
} else if (!Key.isDown(input.kAttack[0])) {
pc.attackStillDown = 0;
} else if ((((_local4 == -1) && (Math.abs(pc.xState) < pc.runPoint)) && (pc.yState == -2)) && (pc.climbDir == 0)) {
pc.attackStillDown = 1;
}
if ((_local5 || (_local4)) || (attack)) {
pc.standCount = 0;
}
if (fg.ladders.hitTest(pc._x, pc._y, true) && (((_local4 != 0) && (_local5 == 0)) || (pc.climbDir != 0))) {
if (pc.climbDir == 0) {
var _local2 = 5;
while (fg.ladders.hitTest(pc._x + _local2, pc._y)) {
_local2 = _local2 + 5;
}
var _local3 = 5;
while (fg.ladders.hitTest(pc._x - _local3, pc._y)) {
_local3 = _local3 + 5;
}
pc.xVel = (_local2 - _local3) / 2;
} else {
pc.xVel = 0;
}
var _local8 = pc._y + ((_local4 * -1) * (pc.yOfs + pc.climbSpeed));
if (_local5 != 0) {
pc.climbDir = 0;
pc.xVel = pc.walk * _local5;
pc.yState = 2;
} else if (!fg.ladders.hitTest(pc._x, _local8)) {
pc.climbDir = 1;
pc.yVel = 0;
pc.xVel = 0;
pc.yState = 0;
} else if (_local4 != 0) {
pc.climbDir = _local4 * -1;
pc.yVel = (_local4 * -1) * pc.climbSpeed;
pc.yState = 0;
} else {
pc.yVel = 0;
}
} else if (pc.climbDir != 0) {
pc.climbDir = 0;
pc.yVel = -20;
pc.xVel = 3;
pc.yState = 2;
} else {
pc.climbDir = 0;
}
if ((pc.yState <= 0) && (_local4 <= 0)) {
if (pc.attack) {
_local5 = 0;
}
if ((pc.yState == 0) && (_local4 == -1)) {
pc.yState = -1;
} else if (pc.yState == -1) {
pc.yState = -2;
} else if (_local4 != -1) {
pc.yState = 0;
}
if (((pc.xState * _local5) > 0) && (_local4 != -1)) {
if (Math.abs(pc.xState) < pc.runPoint) {
pc.xState = pc.xState + _local5;
}
} else if ((Math.abs(pc.xVel) <= pc.walk) && (_local4 != -1)) {
pc.xState = _local5;
}
if (((pc.xState * _local5) == 0) && (attack == 0)) {
pc.standCount++;
}
if ((Math.abs(pc.xVel) > pc.walk) && (((pc.xState * _local5) <= 0) || (_local4 == -1))) {
if (Math.abs(pc.xVel) >= pc.walk) {
if ((pc.xState * _local5) < 0) {
pc.xVel = pc.xVel * pc.revDrag;
} else {
pc.xVel = pc.xVel * pc.normDrag;
}
} else {
pc.xVel = 0;
}
} else if (_local4 == -1) {
pc.xVel = 0;
pc.xState = 0;
} else {
pc.xVel = (_local5 * pc.walk) + (_local5 * (Math.floor(Math.abs(pc.xState) / pc.runPoint) * pc.runMod));
}
} else if ((((pc.yState > 0) || (_local4 == 1)) && (pc.yVel <= 0)) && (pc.climbDir == 0)) {
if ((_local4 == 0) && (pc.yState > 0)) {
pc.jumpStillDown = 0;
} else if (pc.yState == 0) {
pc.jumpStillDown = 1;
}
if (pc.yState < 2) {
if (Math.abs(pc.xVel) >= pc.xMax) {
pc.jumpXMax = pc.xMax;
} else {
pc.jumpXMax = pc.walk;
}
pc.yState = pc.yState + 1;
} else if (pc.yState == 2) {
pc.yVel = -pc.jump;
pc.yState = 3;
} else if (pc.yVel < 0) {
if (pc.yVel > (-pc.jumpApex)) {
pc.yVel = pc.yVel * -1;
} else if (pc.jumpStillDown == 1) {
pc.yVel = pc.yVel * pc.highJumpDrag;
} else if (pc.jumpStillDown != 1) {
pc.yVel = pc.yVel * pc.lowJumpDrag;
}
} else {
pc.yVel = 0;
}
var _local7 = pc.xVel + (_local5 * pc.walk);
if (Math.abs(_local7) <= pc.jumpXMax) {
pc.xVel = _local7;
}
}
}
}
function setInitVars(lvl) {
isPaused = false;
gui.gotoAndStop("game");
killedEnemies = 0;
player._visible = false;
if (!levels) {
levels = new Array();
levels.numLvls = 4;
}
if (!levels[lvl]) {
levels[lvl] = new Array();
var _local1 = 0;
while (fg["cp" + _local1]) {
levels[lvl][_local1] = {x:fg["cp" + _local1]._x, y:fg["cp" + _local1]._y};
_local1++;
}
levels[lvl].ws = {w:fg._width, h:fg._height};
}
if (levels[lvl].pcp) {
levels[lvl].ccp = levels[lvl].pcp;
} else {
levels[lvl].ccp = 0;
}
levels.lvl = lvl;
arrFTimes = new Array();
fAvg = 5;
targetFps = 50;
fRate = 1 / targetFps;
keyRecord = new Array();
minTileHeight = 10;
if (!vp) {
vp = new Object();
vp.t = vpTop._y;
vp.r = vpRight._x;
vp.l = vpLeft._x;
vp.b = vpBottom._y;
vp.w = vp.r - vp.l;
vp.h = vp.b - vp.t;
}
if (!pb) {
pb = {t:pTop._y, r:pRight._x, b:pBottom._y, l:pLeft._x, w:pRight._x - pLeft._x, h:pBottom._y - pTop._y};
}
player.enterLevel = 1;
player.active = true;
player.hp = 100;
player.mhp = 100;
player.hrr = 0.1;
player.sDam = 10;
player.gDam = 4;
player.lpc = null;
player.dfd = 20;
player.dft = 0;
player.isHit = false;
player.weapon = 1;
player.pco = new Color(player);
player.sct = pco.getTransform();
player.xVel = 0;
player.yVel = 0;
player.attack = 0;
player.attackStillDown = 0;
player.maxMega = 4;
player.currentMega = player.maxMega;
player.megaAttack = 0;
player.walk = ((lvl == 0) ? 15 : 10);
player.normDrag = 0.93;
player.revDrag = 0.87;
player.runPoint = 25;
player.runMod = 15;
player.xState = 0;
player.standCount = 0;
player.idle = 50;
player.xOfs = 30;
player.xMod = 0;
player.yMod = 0;
player.yState = 0;
player.jump = 50;
player.yTermVel = 80;
player.lowJumpDrag = 0.25;
player.highJumpDrag = 0.6;
player.jumpStillDown = 0;
player.jumpApex = 4;
player.xJumpMod = 1;
player.grav = 1.7;
player.yOfs = ((lvl == 0) ? 37 : 74.6);
player.climbDir = 0;
player.climbSpeed = 10;
player.jumpXMax = 0;
player.xMax = player.walk + player.runMod;
player.yMax = 70;
dfx = 10;
dfy = 5;
dxMin = 100;
dyMin = 0;
player.pxo = 0;
player.pyo = 0;
if (px == undefined) {
px = pDefPos._x;
py = pDefPos._y;
}
player._x = px;
player._y = py;
fg.x = ((levels[lvl][levels[lvl].ccp].x - px) - dxMin) * -1;
fg.y = (levels[lvl][levels[lvl].ccp].y - py) * -1;
fg._x = Math.round(fg.x);
fg._y = Math.round(fg.y);
player.rx = px - fg._x;
player.ry = py - fg._y;
if (!mo) {
mo = {t:py - pb.t, r:pb.r - px, b:pb.b - py, l:px - pb.l};
}
}
function fRateClac() {
var _local2 = getTimer();
if (!fArrFull) {
var _local1 = 0;
while (_local1 < fAvg) {
arrFTimes.push(_local2);
_local1++;
}
fArrFull = 1;
} else {
fTime = _local2 - lastFTime;
fps = Math.round(1 / (fTime / 1000));
arrFTimes.push(fTime);
arrFTimes.shift();
}
var _local3 = 0;
var _local1 = 0;
while (_local1 < fAvg) {
_local3 = _local3 + arrFTimes[_local1];
_local1++;
}
fRate = (_local3 / fAvg) / 1000;
lastFTime = _local2;
return(fps);
}
System.security.allowDomain("www.superwalkland.com");
version = System.capabilities.version.split(",")[0].split(" ")[1];
curscore = 0;
controlSet1 = {kLeft:[37, "Left"], kUp:[38, "Up"], kRight:[39, "Right"], kDown:[40, "Down"], kAttack:[32, "Space"], kPause:[80, "P", 0], kAction:[16, "Enter", true]};
controlSet2 = {kLeft:[65, "A"], kUp:[87, "W"], kRight:[68, "D"], kDown:[83, "s"], kAttack:[32, "Space"], kPause:[80, "P", 0], kAction:[16, "Enter", true]};
p1Input = controlSet1;
gameStart = true;
function grenGen(s) {
switch (s) {
case -1 :
var _local4 = 15;
break;
case 0 :
_local4 = 25;
break;
case 1 :
_local4 = 15;
}
fg.attachMovie("bomb", "bomb" + fg.getNextHighestDepth(), fg.getNextHighestDepth(), {_x:player.rx, _y:player.ry, xVel:20 * (player._xscale / 100), yVel:_local4, pow:player.gDam});
}
function flashScreen() {
if (!flashOn) {
flashOn = true;
var _local1 = {ra:100, rb:-255, ga:100, gb:-255, ba:100, bb:-255, aa:100, ab:100};
var _local2 = {ra:100, rb:255, ga:100, gb:255, ba:100, bb:255, aa:100, ab:100};
} else {
flashOn = false;
var _local1 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
var _local2 = _local1;
}
var _local3 = new Color(sky);
_local3.setTransform(_local2);
_local3 = new Color(bg);
_local3.setTransform(_local2);
_local3 = new Color(mg);
_local3.setTransform(_local2);
_local3 = new Color(fg.walls);
_local3.setTransform(_local1);
_local3 = new Color(fg.floors);
_local3.setTransform(_local1);
_local3 = new Color(fg.nc);
_local3.setTransform(_local1);
_local3 = new Color(fg.ladders);
_local3.setTransform(_local1);
_local3 = new Color(fg.enemies);
_local3.setTransform(_local1);
_local3 = new Color(player);
_local3.setTransform(_local1);
}
function killEmAll() {
var _local3 = fg.enemies;
for (var _local8 in _local3) {
if (_local3[_local8]._parent) {
var _local2 = _local3[_local8].getBounds(_root);
if (World.intersect({x:_local2.xMin, y:_local2.yMin, w:_local2.xMax - _local2.xMin, h:_local2.yMax - _local2.yMin}, {x:game.vp.l - game._x, y:game.vp.t - game._y, w:game.vp.w, h:game.vp.h})) {
_local3[_local8].die();
}
}
}
}
function drawScreen(nx, ny) {
player.rx = player.rx + nx;
player.ry = player.ry + ny;
var _local6 = nx / player.xMax;
var _local5 = ny / player.yMax;
if (_local6 > 0) {
var _local3 = mo.r * _local6;
} else if (_local6 < 0) {
var _local3 = mo.l * _local6;
} else {
var _local3 = 0;
}
var _local3 = ((Math.abs(_local3) < dxMin) ? (dxMin * (player._xscale / 100)) : (_local3));
if (_local5 > 0) {
var _local4 = mo.t * _local5;
} else if (_local5 < 0) {
var _local4 = mo.b * _local5;
} else {
var _local4 = 0;
}
_local3 = Math.floor(((_local3 - player.pxo) / dfx) + player.pxo);
var _local4 = Math.floor(((_local4 - player.pyo) / dfy) + player.pyo);
if (Math.abs(_local4) < dyMin) {
_local4 = 0;
}
var _local2 = (-player.rx) + (px - _local3);
var _local1 = (-player.ry) + (py - _local4);
if (_local2 > 0) {
_local2 = 0;
player._x = player.rx;
} else if ((-_local2) > (levels[levels.lvl].ws.w - vp.w)) {
_local2 = -(levels[levels.lvl].ws.w - vp.w);
player._x = player.rx + _local2;
} else {
player._x = px - _local3;
}
if (_local1 > 0) {
_local1 = 0;
player._y = player.ry;
} else if ((-_local1) > ((levels[levels.lvl].ws.h - vp.h) - 30)) {
_local1 = -((levels[levels.lvl].ws.h - vp.h) - 30);
player._y = player.ry + _local1;
} else {
player._y = py - _local4;
}
var _local8 = (((ny * player.grav) < 64) ? 64 : (ny * player.grav));
fg.scrll(_local2, _local1, _local8);
if (levels.lvl != 0) {
mg.scrll(_local2, _local1);
bg.scrll(_local2, _local1);
sky.scrll(_local2, _local1);
}
player.pxo = _local3;
player.pyo = _local4;
}
function levelOver() {
fg.nc.yayPost.gotoAndPlay("on");
isPaused = 1;
player.active = false;
player.gotoAndStop("endLevel");
}
function playerDie() {
curscore = player.score;
levels.prevLvl = levels.lvl;
levels[levels.lvl].pcp = levels[levels.lvl].ccp;
gotoAndStop ("level0");
}
function playerDie80s() {
if (version < 8) {
pcc.setTransform(pc.sct);
} else {
pc.blendMode = "normal";
}
player.active = false;
fg.nc["fc" + cfc].deactivate();
cfc = (cfc + 1) % 4;
fg.nc["fc" + cfc].activate();
setInitVars(0);
}
function nextLevel() {
curscore = player.score;
if (levels.lvl == 0) {
if (levels.prevLvl) {
levels[levels.prevLvl].ccp = levels[levels.prevLvl].pcp;
gotoAndStop("level" + levels.prevLvl);
} else {
play();
}
} else {
theMenu.gotoAndPlay("open");
if (levels.lvl != levels.numLvls) {
theMenu.menuState = "levelEnd";
} else {
theMenu.menuState = "gameEnd";
}
}
}
function initSnd() {
sWoosh = new Sound(this);
sWoosh.attachSound("swoosh");
themeName = "hum";
sTheme = new Sound(this);
sTheme.attachSound(themeName);
sTheme.onSoundComplete = function () {
sTheme.start(0, 999);
};
sTheme.start(0, 999);
sTheme.setVolume(0);
tgtVolume = 80;
}
function switchSnd() {
if (!_root.soundOff) {
sTheme.stop();
if (themeName == "theme") {
themeName = "hum";
} else {
themeName = "theme";
}
sTheme.attachSound(themeName);
sTheme.start(0, 999);
}
}
function soundToggle() {
if (!_root.soundOff) {
sTheme.stop();
_root.soundOff = 1;
} else {
_root.soundOff = 0;
sTheme.start();
}
}
function setVol(vol) {
tgtVolume = vol;
}
function stopClips() {
for (var _local1 in fg.enemies) {
if (fg.enemies[_local1].pause) {
fg.enemies[_local1].pause();
}
}
player.sprite.stop();
player.sprite.attack.stop();
player.sprite.attack.wings.stop();
}
function startClips() {
for (var _local1 in fg.enemies) {
if (fg.enemies[_local1].unpause) {
fg.enemies[_local1].unpause();
}
}
player.sprite.play();
player.sprite.attack.play();
}
function savegame(nextLvl) {
var _local2 = SharedObject.getLocal("savegame");
var _local3 = [].concat(_root.levels);
_local3.lvl = _root.levels.lvl;
_local3.numLvls = _root.levels.numLvls;
_local2.data.levels = _local3;
_local2.data.score = _root.player.score;
if (nextLvl) {
_local2.data.levels.lvl++;
_local2.data.levels[_local3.lvl].ccp = 0;
_local2.data.levels[_local3.lvl].pcp = 0;
}
_local2.flush();
}
function loadgame() {
var _local2 = SharedObject.getLocal("savegame");
if (_local2.data.levels) {
_root.levels = _local2.data.levels;
_root.levels[_root.levels.lvl].pcp = _root.levels[_root.levels.lvl].ccp;
_root.player.score = _local2.data.score;
_root.curscore = _local2.data.score;
if (_root.levels.lvl != _local2.data.levels.lvl) {
_root.gotoAndStop("level" + _root.levels.lvl);
} else {
_root.gotoAndStop("loadSameLevel");
}
return(true);
}
return(false);
}
Frame 4
stop();
_root.initSnd();
_root.setVol(80);
Instance of Symbol 77 MovieClip "soundControl" in Frame 4
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (!_root.soundOff) {
if (_parent.sTheme.getVolume() > _parent.tgtVolume) {
_parent.sTheme.setVolume(_parent.sTheme.getVolume() - 3);
} else if (_parent.sTheme.getVolume() < _parent.tgtVolume) {
_parent.sTheme.setVolume(_parent.sTheme.getVolume() + 1);
}
}
}
Frame 5
stop();
Frame 6
stop();
var cm = new ContextMenu();
cm.hideBuiltInItems();
var kvl = new ContextMenuItem("Visit KillerViral.com", function () {
_root.theMenu.openURL("http://www.killerviral.com/redir.php?urlId=79");
});
var swl = new ContextMenuItem("Visit Sony.co.uk", function () {
_root.theMenu.openURL("http://www.killerviral.com/redir.php?urlId=81");
});
cm.customItems.push(kvl);
cm.customItems.push(swl);
_root.menu = cm;
_root.switchSnd();
Instance of Symbol 198 MovieClip "gui" in Frame 6
onClipEvent (load) {
pickupColour = "c1";
}
onClipEvent (enterFrame) {
}
Instance of Symbol 198 MovieClip "gui" in Frame 8
onClipEvent (load) {
pickupColour = "c1";
}
onClipEvent (enterFrame) {
}
Instance of Symbol 77 MovieClip "soundControl" in Frame 8
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (!_root.soundOff) {
if (_parent.sTheme.getVolume() > _parent.tgtVolume) {
_parent.sTheme.setVolume(_parent.sTheme.getVolume() - 3);
} else if (_parent.sTheme.getVolume() < _parent.tgtVolume) {
_parent.sTheme.setVolume(_parent.sTheme.getVolume() + 1);
}
}
}
Frame 15
cfc = 0;
player.score = curscore;
delete ident;
setInitVars(0);
fg.setVars(vp, 100, 100, 1, 1);
this.createEmptyMovieClip("control", this.getNextHighestDepth());
control.onEnterFrame = frameCode;
theMenu.gotoAndPlay("open");
theMenu.menuState = "goToHell";
stop();
_root.setVol(35);
Frame 16
ident = true;
Frame 17
setInitVars(1);
player.score = curscore;
delete ident;
sky.setVars(1 / ((fg._width - vp.w) / (sky._width - vp.w)), 1 / ((fg._height - vp.h) / (sky._height - vp.h)));
fg.setVars(vp, 100, 100, 1, 1);
mg.setVars(vp, 100, 100, 0.25, 0.25);
bg.setVars(vp, 100, 100, 0.075, 0.075);
if (gameStart) {
player.stop();
gameStart = false;
theMenu.gotoAndPlay("open");
theMenu.menuState = "startGame";
} else {
theMenu.menuState = "pause";
}
this.createEmptyMovieClip("control", this.getNextHighestDepth());
control.onEnterFrame = frameCode;
stop();
_root.setVol(35);
Instance of Symbol 571 MovieClip [background1] "mg" in Frame 17
/* no clip actions */
Frame 18
ident = true;
_root.setVol(35);
Frame 19
setInitVars(2);
player.score = curscore;
delete ident;
sky.setVars(1 / ((fg._width - vp.w) / (sky._width - vp.w)), 1 / ((fg._height - vp.h) / (sky._height - vp.h)));
fg.setVars(vp, 100, 100, 1, 1);
mg.setVars(vp, 100, 100, 0.25, 0.25);
bg.setVars(vp, 100, 100, 0.075, 0.075);
theMenu.menuState = "pause";
this.createEmptyMovieClip("control", this.getNextHighestDepth());
control.onEnterFrame = frameCode;
stop();
_root.setVol(35);
Instance of Symbol 1144 MovieClip [background2] "mg" in Frame 19
/* no clip actions */
Frame 20
ident = true;
_root.setVol(35);
Frame 21
setInitVars(3);
player.score = curscore;
delete ident;
sky.setVars(1 / ((fg._width - vp.w) / (sky._width - vp.w)), 1 / ((fg._height - vp.h) / (sky._height - vp.h)));
fg.setVars(vp, 100, 100, 1, 1);
mg.setVars(vp, 100, 100, 0.25, 0.0625);
bg.setVars(vp, 100, 100, 0.075, 0.02);
theMenu.menuState = "pause";
this.createEmptyMovieClip("control", this.getNextHighestDepth());
control.onEnterFrame = frameCode;
stop();
_root.setVol(35);
Instance of Symbol 1150 MovieClip [background4] "mg" in Frame 21
/* no clip actions */
Frame 22
ident = true;
_root.setVol(35);
Frame 23
setInitVars(4);
player.score = curscore;
delete ident;
sky.setVars(1 / ((fg._width - vp.w) / (sky._width - vp.w)), 1 / ((fg._height - vp.h) / (sky._height - vp.h)));
fg.setVars(vp, 100, 100, 1, 1);
mg.setVars(vp, 100, 100, 0.15, 0.25);
bg.setVars(vp, 100, 100, 0.075, 0.075);
theMenu.menuState = "pause";
this.createEmptyMovieClip("control", this.getNextHighestDepth());
control.onEnterFrame = frameCode;
stop();
_root.setVol(35);
Instance of Symbol 1167 MovieClip [background3] "mg" in Frame 23
/* no clip actions */
Frame 24
ident = true;
_root.setVol(35);
Frame 25
_root.gotoAndStop("level" + levels.lvl);
Symbol 10 MovieClip [noPoint] Frame 2
this.removeMovieClip();
Instance of Symbol 40 MovieClip in Symbol 41 MovieClip Frame 1
onClipEvent (load) {
this.msg = "LOADING...";
this.fadeDir = 1;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.fadeDir == 1) {
this._alpha = this._alpha + 10;
if (this._alpha >= 100) {
this.fadeDir = 0;
}
} else {
this._alpha = this._alpha - 10;
if (this._alpha <= 40) {
this.fadeDir = 1;
}
}
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
_parent._parent.play();
_parent._parent.prologue.play();
} else {
this.msg = ("LOADING GAME: " + Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100)) + "%";
}
}
Symbol 1177 MovieClip [__Packages.World] Frame 0
class World extends MovieClip
{
var _x, _y, g, awo, walls, createEmptyMovieClip, getNextHighestDepth, afo, floors, ano, nc, alo, ladders, aeo, enemies, vp, gx, gy, _parent, onEnterFrame, xl, yl, xm, ym, cwo, cfo, cno, ceo, clo;
function World () {
super();
x = _x;
y = _y;
}
function setVars(vp, gx, gy, rx, ry, sx, sy) {
delete g;
g = new Array();
delete awo;
walls.removeMovieClip();
awo = new Object();
createEmptyMovieClip("walls", getNextHighestDepth());
delete afo;
floors.removeMovieClip();
afo = new Object();
createEmptyMovieClip("floors", getNextHighestDepth());
delete ano;
nc.removeMovieClip();
ano = new Object();
createEmptyMovieClip("nc", getNextHighestDepth());
delete alo;
ladders.removeMovieClip();
alo = new Object();
createEmptyMovieClip("ladders", getNextHighestDepth());
delete aeo;
enemies.removeMovieClip();
aeo = new Object();
createEmptyMovieClip("enemies", getNextHighestDepth());
this.vp = vp;
this.gx = gx;
this.gy = gy;
this.rx = rx;
this.ry = ry;
if (sx) {
x = -sx;
_parent.player.rx = _parent.px - x;
}
if (sy) {
y = -sy;
_parent.player.ry = _parent.py - y;
}
onEnterFrame = function () {
this.onEnterFrame = this.init;
};
}
function init() {
_parent.totalEnemies = 0;
for (var _local18 in this) {
var _local2 = this[_local18].getBounds(this);
var _local8 = Math.floor(_local2.xMin / gx);
var _local7 = Math.ceil(_local2.xMax / gx);
var _local6 = Math.floor(_local2.yMin / gy);
var _local5 = Math.ceil(_local2.yMax / gy);
switch (this[_local18].c) {
case "wall" :
awo[_local18] = {x:_local2.xMin, y:_local2.yMin, w:_local2.xMax - _local2.xMin, h:_local2.yMax - _local2.yMin, t:this[_local18].t, _xscale:this[_local18]._xscale, _yscale:this[_local18]._yscale, depth:this[_local18].getDepth()};
var _local4 = _local8;
while (_local4 < _local7) {
if (!g[_local4]) {
g[_local4] = new Array();
}
var _local3 = _local6;
while (_local3 < _local5) {
if (!g[_local4][_local3]) {
g[_local4][_local3] = new Object();
}
g[_local4][_local3][_local18] = awo[_local18];
_local3++;
_local3++;
}
_local4++;
_local4++;
}
for (var _local10 in this[_local18]) {
if (!this[_local18][_local10]._parent) {
awo[_local18][_local10] = this[_local18][_local10];
}
}
break;
case "floor" :
afo[_local18] = {_x:this[_local18]._x, _y:this[_local18]._y, x:_local2.xMin, y:_local2.yMin, w:_local2.xMax - _local2.xMin, h:_local2.yMax - _local2.yMin, t:this[_local18].t, _xscale:this[_local18]._xscale, _yscale:this[_local18]._yscale, depth:this[_local18].getDepth()};
_local4 = _local8;
while (_local4 < _local7) {
if (!g[_local4]) {
g[_local4] = new Array();
}
var _local3 = _local6;
while (_local3 < _local5) {
if (!g[_local4][_local3]) {
g[_local4][_local3] = new Object();
}
g[_local4][_local3][_local18] = afo[_local18];
_local3++;
_local3++;
}
_local4++;
_local4++;
}
for (var _local10 in this[_local18]) {
if (!this[_local18][_local10]._parent) {
afo[_local18][_local10] = this[_local18][_local10];
}
}
break;
case "nc" :
ano[_local18] = {_x:this[_local18]._x, _y:this[_local18]._y, x:_local2.xMin, y:_local2.yMin, w:_local2.xMax - _local2.xMin, h:_local2.yMax - _local2.yMin, t:this[_local18].t, _xscale:this[_local18]._xscale, _yscale:this[_local18]._yscale, depth:this[_local18].getDepth()};
_local4 = _local8;
while (_local4 < _local7) {
if (!g[_local4]) {
g[_local4] = new Array();
}
var _local3 = _local6;
while (_local3 < _local5) {
if (!g[_local4][_local3]) {
g[_local4][_local3] = new Object();
}
g[_local4][_local3][_local18] = ano[_local18];
_local3++;
_local3++;
}
_local4++;
_local4++;
}
for (var _local10 in this[_local18]) {
if (!this[_local18][_local10]._parent) {
ano[_local18][_local10] = this[_local18][_local10];
}
}
break;
case "enemy" :
aeo[_local18] = {_x:this[_local18]._x, _y:this[_local18]._y, x:_local2.xMin, y:_local2.yMin, w:_local2.xMax - _local2.xMin, h:_local2.yMax - _local2.yMin, t:this[_local18].t, depth:this[_local18].getDepth()};
_local4 = _local8;
while (_local4 < _local7) {
if (!g[_local4]) {
g[_local4] = new Array();
}
var _local3 = _local6;
while (_local3 < _local5) {
if (!g[_local4][_local3]) {
g[_local4][_local3] = new Object();
}
g[_local4][_local3][_local18] = aeo[_local18];
_local3++;
_local3++;
}
_local4++;
_local4++;
}
for (var _local10 in this[_local18]) {
if (!this[_local18][_local10]._parent) {
aeo[_local18][_local10] = this[_local18][_local10];
}
}
_parent.totalEnemies++;
break;
case "ladder" :
alo[_local18] = {x:_local2.xMin, y:_local2.yMin, w:_local2.xMax - _local2.xMin, h:_local2.yMax - _local2.yMin, t:this[_local18].t, _xscale:this[_local18]._xscale, _yscale:this[_local18]._yscale, depth:this[_local18].getDepth()};
_local4 = _local8;
while (_local4 < _local7) {
if (!g[_local4]) {
g[_local4] = new Array();
}
var _local3 = _local6;
while (_local3 < _local5) {
if (!g[_local4][_local3]) {
g[_local4][_local3] = new Object();
}
g[_local4][_local3][_local18] = alo[_local18];
_local3++;
_local3++;
}
_local4++;
_local4++;
}
for (var _local10 in this[_local18]) {
if (!this[_local18][_local10]._parent) {
alo[_local18][_local10] = this[_local18][_local10];
}
}
break;
default :
if (!this[_local18]._parent) {
break;
}
}
if (this[_local18].c) {
this[_local18].swapDepths(getNextHighestDepth());
this[_local18].removeMovieClip();
}
}
xl = Math.floor(vp.l / gx);
yl = Math.floor(vp.t / gy);
xm = Math.ceil(vp.w / gx);
ym = Math.ceil(vp.h / gy);
bcl();
scrll(x, y);
game.totalEnemies = totalEnemies;
onEnterFrame = null;
}
function bcl() {
var _local4 = cwo;
cwo = new Object();
var _local7 = cfo;
cfo = new Object();
var _local5 = cno;
cno = new Object();
var _local9 = ceo;
ceo = new Object();
var _local6 = clo;
clo = new Object();
var _local3 = xl;
while (_local3 < xm) {
var _local2 = yl;
while (_local2 < ym) {
for (var _local8 in g[_local3][_local2]) {
switch (g[_local3][_local2][_local8].c) {
case "wall" :
cwo[_local8] = g[_local3][_local2][_local8];
break;
case "floor" :
cfo[_local8] = g[_local3][_local2][_local8];
break;
case "nc" :
cno[_local8] = g[_local3][_local2][_local8];
break;
case "enemy" :
ceo[_local8] = g[_local3][_local2][_local8];
break;
case "ladder" :
clo[_local8] = g[_local3][_local2][_local8];
}
}
_local2++;
}
_local3++;
}
for (var _local8 in _local4) {
if (!cwo[_local8]) {
if (walls[_local8]) {
walls[_local8].removeMovieClip();
}
}
}
for (var _local8 in _local7) {
if (!cfo[_local8]) {
if (floors[_local8]) {
floors[_local8].removeMovieClip();
}
}
}
for (var _local8 in _local5) {
if (!cno[_local8]) {
if (nc[_local8]) {
nc[_local8].removeMovieClip();
}
}
}
for (var _local8 in _local6) {
if (!clo[_local8]) {
if (ladders[_local8]) {
ladders[_local8].removeMovieClip();
}
}
}
}
function scrll(nx, ny, yp) {
x = nx;
y = ny;
_x = Math.round(x * rx);
_y = Math.round(y * ry);
var _local16 = Math.floor((vp.l - _x) / gx) - 1;
var _local18 = Math.floor((vp.t - _y) / gy) - 1;
var _local15 = Math.ceil((vp.w - _x) / gx);
var _local17 = Math.ceil(((vp.h + ((yp > 0) ? (yp) : 0)) - _y) / gy);
if ((((xl != _local16) || (yl != _local18)) || (xm != _local15)) || (ym != _local17)) {
xl = _local16;
yl = _local18;
xm = _local15;
ym = _local17;
bcl();
}
var _local3 = {x:vp.l - _x, y:vp.t - _y, w:vp.w, h:vp.h + ((yp > 0) ? (yp) : 0)};
for (var _local13 in cwo) {
if (intersect(_local3, cwo[_local13])) {
if (!walls[_local13]) {
var _local6 = walls.attachMovie(cwo[_local13].t, _local13, cwo[_local13].depth + 20000, {_x:cwo[_local13].x, _y:cwo[_local13].y, _xscale:cwo[_local13]._xscale, _yscale:cwo[_local13]._yscale, awo:cwo[_local13], cacheAsBitmap:true});
}
} else if (this[_local13]) {
walls[_local13].removeMovieClip();
}
}
for (var _local13 in cfo) {
if (intersect(_local3, cfo[_local13])) {
if (!floors[_local13]) {
var _local6 = floors.attachMovie(cfo[_local13].t, _local13, cfo[_local13].depth + 20000, {_x:cfo[_local13]._x, _y:cfo[_local13]._y, _xscale:cfo[_local13]._xscale, _yscale:cfo[_local13]._yscale, afo:cfo[_local13], cacheAsBitmap:true});
}
} else if (this[_local13]) {
floors[_local13].removeMovieClip();
}
}
for (var _local13 in cno) {
if (intersect(_local3, cno[_local13])) {
if (!nc[_local13]) {
var _local6 = nc.attachMovie(cno[_local13].t, _local13, cno[_local13].depth + 20000, {_x:cno[_local13]._x, _y:cno[_local13]._y, _xscale:cno[_local13]._xscale, _yscale:cno[_local13]._yscale, ano:cno[_local13], cacheAsBitmap:true});
}
} else if (this[_local13]) {
nc[_local13].removeMovieClip();
}
}
for (var _local13 in ceo) {
if (enemies[_local13]) {
var _local4 = enemies[_local13].getBounds(this);
_local4.x = _local4.xMin;
_local4.y = _local4.yMin;
_local4.h = _local4.yMax - _local4.yMin;
_local4.w = _local4.xMax - _local4.xMin;
} else {
var _local4 = ceo[_local13];
}
if (intersect(_local3, _local4)) {
if (!enemies[_local13]) {
if (ceo[_local13].param) {
var _local2 = ceo[_local13].param;
} else {
var _local2 = {};
}
_local2._x = ceo[_local13]._x;
_local2._y = ceo[_local13]._y;
_local2.aeo = ceo[_local13];
var _local6 = enemies.attachMovie(ceo[_local13].t, _local13, ceo[_local13].depth + 20000, _local2);
}
} else if (this[_local13]) {
}
}
for (var _local13 in clo) {
if (intersect(_local3, clo[_local13])) {
if (!ladders[_local13]) {
var _local6 = ladders.attachMovie(clo[_local13].t, _local13, clo[_local13].depth + 20000, {_x:clo[_local13].x, _y:clo[_local13].y, _xscale:clo[_local13]._xscale, _yscale:clo[_local13]._yscale, alo:clo[_local13], cacheAsBitmap:true});
}
} else if (this[_local13]) {
ladders[_local13].removeMovieClip();
}
}
}
static function intersect(rect1, rect2) {
if (((rect1.x >= rect2.x) && (rect1.x <= (rect2.x + rect2.w))) || ((rect2.x >= rect1.x) && (rect2.x <= (rect1.x + rect1.w)))) {
if (((rect1.y >= rect2.y) && (rect1.y <= (rect2.y + rect2.h))) || ((rect2.y >= rect1.y) && (rect2.y <= (rect1.y + rect1.h)))) {
return(true);
}
}
return(false);
}
var rx = 1;
var ry = 1;
var x = 0;
var y = 0;
}
Symbol 1178 MovieClip [__Packages.Shot] Frame 0
class Shot extends MovieClip
{
var game, _parent, targ, sx, _x, sy, _y, hitTest, removeMovieClip;
function Shot () {
super();
game = _parent._parent._parent;
targ = game.player;
sx = _x;
sy = _y;
}
function onEnterFrame() {
if (!game.isPaused) {
if (hitTest(targ.hitbox)) {
targ.hp = targ.hp - pow;
targ.isHit = true;
removeMovieClip();
return(undefined);
}
if (_parent._parent.walls.hitTest(_x + _parent._parent.x, _y + _parent._parent.y, true) || (_parent._parent.floors.hitTest(_x, _y, true))) {
removeMovieClip();
return(undefined);
}
_x = _x + xVel;
_y = _y + yVel;
if (Math.sqrt(Math.pow(_x - sx, 2) + Math.pow(_y - sy, 2)) >= mRange) {
removeMovieClip();
}
}
}
var pow = 20;
var mRange = 300;
var xVel = 5;
var yVel = 0;
}
Symbol 1179 MovieClip [__Packages.CheckPoint] Frame 0
class CheckPoint extends MovieClip
{
var game, _parent, player, n, _name, hitTest, removeMovieClip;
function CheckPoint () {
super();
game = _parent._parent._parent;
player = game.player;
n = _name.split("")[3];
}
function onEnterFrame() {
if (hitTest(player.hitbox)) {
if (game.levels[game.levels.lvl].ccp < n) {
game.levels[game.levels.lvl].ccp = n;
if (n >= game.levels[game.levels.lvl].length) {
game.levelOver();
}
game.fg.ano[_name].c = null;
game.fg.ano[_name].t = null;
delete game.fg.ano[_name];
delete game.fg.cno[_name];
removeMovieClip();
}
}
}
}
Symbol 1180 MovieClip [__Packages.Enemy] Frame 0
class Enemy extends MovieClip
{
var game, _parent, targ, co, dct, score, _y, _x, hitbox, touchbox, isDead, blendMode, _name, gotoAndStop, sprite;
function Enemy () {
super();
game = _parent._parent._parent;
targ = game.player;
if (game.version < 8) {
co = new Color(this);
dct = co.getTransform();
}
}
function damage(dam) {
if (inv == 0) {
hp = hp - dam;
inv = invTime;
df = dft;
if (hp <= 0) {
die();
}
}
}
function spawnPickup() {
_parent.attachMovie("pickup", "pickup" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:_x, _y:_y, score:score, grav:true});
}
function onEnterFrame() {
if (inv > 0) {
inv--;
} else {
if (targ.sprite.attackBox) {
if (hitbox.hitTest(targ.sprite.attackBox)) {
damage(targ.sDam);
}
}
if (targ.dft == 0) {
if (touchbox.hitTest(targ.hitbox)) {
targ.hp = targ.hp - dam;
targ.isHit = true;
}
}
}
if ((df > 0) && (!isDead)) {
if (game.version > 7) {
if ((df % 2) == 0) {
blendMode = "add";
} else {
blendMode = "normal";
}
} else if ((df % 2) == 0) {
co.setTransform({ra:100, rb:255, ga:100, gb:255, ba:100, bb:255, aa:100, ab:100});
} else {
co.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:100});
}
df--;
}
}
function die() {
if (!isDead) {
game.killedEnemies++;
}
if (game.version < 8) {
co.setTransform(dct);
} else {
blendMode = "normal";
}
isDead = true;
game.fg.aeo[_name].c = null;
game.fg.aeo[_name].t = null;
delete game.fg.aeo[_name];
delete game.fg.ceo[_name];
gotoAndStop("die");
}
function pause() {
sprite.stop();
}
function unpause() {
sprite.play();
}
var hp = 10;
var inv = 0;
var dam = 1;
var df = 0;
static var dft = 20;
static var invTime = 4;
}
Symbol 1181 MovieClip [__Packages.SpikeyDude] Frame 0
class SpikeyDude extends Enemy
{
var _x, targ, _xscale, game, co, dct, blendMode, isDead, gotoAndStop, angle, _y, ty, tx, vx, speed, vy, hitTest;
function SpikeyDude () {
super();
if (targ.rx >= _x) {
_xscale = _xscale * -1;
}
}
function die() {
if (game.version < 8) {
co.setTransform(dct);
} else {
blendMode = "normal";
}
isDead = true;
gotoAndStop("die");
}
function onEnterFrame() {
if (!game.isPaused) {
if (!isDead) {
f++;
if (f == at) {
angle = Math.atan2(ty - _y, tx - _x);
vx = speed * Math.cos(angle);
vy = speed * Math.sin(angle);
} else if (f <= at) {
_y = _y - rs;
} else {
_x = _x + vx;
_y = _y + vy;
tDist = tDist + speed;
if (tDist >= mDist) {
die();
}
}
if (hitTest(targ.hitbox)) {
if (targ.dft == 0) {
targ.hp = targ.hp - pow;
targ.isHit = true;
}
isDead = true;
(gotoAndStop("explode"));// not popped
}
super.onEnterFrame();
}
}
}
var pow = 35;
var mDist = 600;
var tDist = 0;
var f = 0;
static var at = 15;
static var rs = 3;
}
Symbol 1182 MovieClip [__Packages.WeaponLocker] Frame 0
class WeaponLocker extends MovieClip
{
var game, _parent, player, key, icon;
function WeaponLocker () {
super();
game = _parent._parent._parent;
player = game.player;
key = game.p1Input.kAction;
}
function onEnterFrame() {
if (Key.isDown(key[0]) && (!kt)) {
if (player.hitTest(this)) {
player.weapon = ((player.weapon == 1) ? 2 : 1);
if (player.weapon == 1) {
icon.equipSword.play();
} else {
icon.equipGrenade.play();
}
}
kt = true;
}
if (kt) {
kt = (Key.isDown(key[0]) ? true : false);
}
}
var kt = false;
}
Symbol 1183 MovieClip [__Packages.Bomb] Frame 0
class Bomb extends MovieClip
{
var _parent, _x, _y, _rotation, gotoAndStop, hitbox;
function Bomb () {
super();
game = _parent._parent;
}
function onEnterFrame() {
if (!game.isPaused) {
if (active) {
yVel = yVel - grav;
_x = _x + xVel;
_y = _y - yVel;
var _local2 = {x:_x, y:_y};
game.fg.localToGlobal(_local2);
if (((game.fg.floors.hitTest(_local2.x, _local2.y, true) || (game.fg.walls.hitTest(_local2.x, _local2.y, true))) || (game.fg.enemies.hitTest(_local2.x, _local2.y, true))) || (eTime >= fuse)) {
_rotation = 0;
gotoAndStop("boom");
active = false;
for (var _local3 in game.fg.enemies) {
if (game.fg.enemies[_local3]._parent) {
if (game.fg.enemies[_local3].hitTest(hitbox)) {
game.fg.enemies[_local3].damage(pow);
}
}
}
} else {
_rotation = ((Math.atan2(-yVel, xVel) / Math.PI) * 180) + 90;
}
eTime++;
}
}
}
var xVel = 20;
var yVel = 25;
static var grav = 2;
var pow = 20;
static var fuse = 50;
var eTime = 0;
var active = true;
}
Symbol 1184 MovieClip [__Packages.Switch] Frame 0
class Switch extends MovieClip
{
var game, _parent, player, key, ano, gotoAndStop;
function Switch () {
super();
game = _parent._parent._parent;
player = game.player;
key = game.p1Input.kAction;
}
function onEnterFrame() {
if (Key.isDown(key[0]) && (!kt)) {
if (player.hitTest(this)) {
game.fg[ano.target_lvl][ano.target_mc].play();
gotoAndStop("active");
}
kt = true;
}
if (kt) {
kt = (Key.isDown(key[0]) ? true : false);
}
}
var kt = false;
}
Symbol 1185 MovieClip [__Packages.Pickup] Frame 0
class Pickup extends MovieClip
{
var game, _parent, player, ano, colour, y, _y, gotoAndPlay, _x, hitTest, _name, removeMovieClip;
function Pickup () {
super();
game = _parent._parent._parent;
player = game.player;
if (ano.colour == undefined) {
colour = Math.floor(Math.random() * 4) + 1;
} else {
colour = ano.colour;
}
y = _y;
(gotoAndPlay("c" + colour));// not popped
}
function onEnterFrame() {
if (!game.isPaused) {
if (!collected) {
if (grav) {
yVel = (yVel + ga) * drag;
var _local4 = {x:_x, y:y + yOfs};
_local4 = {x:_x, y:_y};
game.fg.localToGlobal(_local4);
var _local2 = (_local4.y + yOfs) + 1;
while (_local2 <= ((_local4.y + yOfs) + yVel)) {
_local2 = ((_local2 > ((_local4.y + yOfs) + yVel)) ? ((_local4.y + yOfs) + yVel) : (_local2));
if (game.fg.floors.hitTest(_local4.x, _local2, true)) {
var _local3 = 0;
while (game.fg.floors.hitTest(_local4.x, _local2 - _local3, true)) {
_local3++;
}
yVel = 0;
y = y - _local3;
grav = false;
break;
}
_local2 = _local2 + minTileHeight;
}
}
y = y + yVel;
ci = ci + 0.13;
_y = y + (yom * Math.sin(ci));
if (hitTest(player.hitbox)) {
collected = true;
if (player.lpc == colour) {
score = score * 2;
} else {
player.lpc = colour;
game.gui.pickupIcon.gotoAndStop("c" + colour);
}
player.score = player.score + score;
game.fg.ano[_name].c = null;
game.fg.ano[_name].t = null;
delete game.fg.ano[_name];
delete game.fg.cno[_name];
var _local4 = {x:_x, y:_y};
game.fg.localToGlobal(_local4);
game.attachMovie("pickedUp", "pickedUp" + game.getNextHighestDepth(), game.getNextHighestDepth(), {_x:_local4.x, _y:_local4.y, score:score});
removeMovieClip();
}
}
}
}
var grav = false;
var yVel = 0;
static var ga = 2;
static var yOfs = 50;
static var drag = 0.95;
static var minTileHeight = 10;
var score = 50;
var collected = false;
static var yom = 5;
var ci = 0;
}
Symbol 1186 MovieClip [__Packages.Enemy80s] Frame 0
class Enemy80s extends MovieClip
{
var game, _parent, targ, aeo, _xscale, _x, hitbox;
function Enemy80s () {
super();
game = _parent._parent._parent;
targ = game.player;
if (aeo.dir == 1) {
dir = 1;
_xscale = _xscale * -1;
}
if ((aeo.speed != speed) && (aeo.speed != undefined)) {
speed = aeo.speed;
}
if ((aeo.xMax != xMax) && (aeo.xMax != undefined)) {
xMax = aeo.xMax;
}
if ((aeo.xMin != xMin) && (aeo.xMin != undefined)) {
xMin = aeo.xMin;
}
}
function onEnterFrame() {
if (!game.isPaused) {
var _local2 = ((dir > 0) ? (xMax - _x) : (_x - xMin));
if (_local2 > speed) {
_x = _x + (speed * dir);
} else {
_x = ((dir > 0) ? (xMax) : (xMin));
dir = dir * -1;
_xscale = _xscale * -1;
}
if (hitbox.hitTest(targ.hitbox)) {
targ.hp = 0;
}
}
}
var xMin = 100;
var xMax = 540;
var dir = -1;
var speed = 4;
}
Symbol 1187 MovieClip [__Packages.FluxCapacitor] Frame 0
class FluxCapacitor extends MovieClip
{
var game, _parent, player, _visible, getBounds, gp, n, _name, localToGlobal, _y, _x, removeMovieClip;
function FluxCapacitor () {
super();
game = _parent._parent._parent;
player = game.player;
_visible = false;
var _local3 = getBounds(this);
gp = {x:((_local3.xMax - _local3.xMin) / 2) + _local3.xMin, y:((_local3.yMax - _local3.yMin) / 2) + _local3.yMin};
n = _name.split("")[2];
if (n == game.cfc) {
activate();
}
}
function activate() {
active = true;
_visible = true;
}
function deactivate() {
active = false;
_visible = false;
}
function onEnterFrame() {
if (player.active && (active)) {
var _local3 = {x:gp.x, y:gp.y};
localToGlobal(_local3);
if (player.hitbox.hitTest(_local3.x, _local3.y)) {
player.active = false;
player.gotoAndStop("ascend");
game.isPaused = true;
var _local2 = {x:_x, y:_y};
_parent.localToGlobal(_local2);
game.attachMovie("fluxCapacitor", "fluxCapacitor", game.getNextHighestDepth(), {_x:_local2.x, _y:_local2.y, active:false});
game.fluxCapacitor._visible = true;
game.fluxCapacitor.gotoAndStop("pickedUp");
removeMovieClip();
}
}
}
var active = false;
}
Symbol 1188 MovieClip [__Packages.Background] Frame 0
class Background extends MovieClip
{
var _x, _y, g, aso, vp, gx, gy, _parent, onEnterFrame, getNextHighestDepth, xl, yl, xm, ym, cso, attachMovie;
function Background () {
super();
x = _x;
y = _y;
}
function setVars(vp, gx, gy, rx, ry, sx, sy) {
delete g;
g = new Array();
delete aso;
aso = new Object();
this.vp = vp;
this.gx = gx;
this.gy = gy;
this.rx = rx;
this.ry = ry;
if (sx) {
x = -sx;
_parent.player.rx = _parent.px - x;
}
if (sy) {
y = -sy;
_parent.player.ry = _parent.py - y;
}
onEnterFrame = function () {
this.onEnterFrame = this.init;
};
}
function init() {
for (var _local15 in this) {
if (this[_local15].t) {
var _local4 = this[_local15].getBounds(this);
aso[_local15] = {x:_local4.xMin, y:_local4.yMin, w:_local4.xMax - _local4.xMin, h:_local4.yMax - _local4.yMin, t:this[_local15].t, _xscale:this[_local15]._xscale, _yscale:this[_local15]._yscale, depth:this[_local15].getDepth()};
var _local8 = Math.floor(_local4.xMin / gx);
var _local7 = Math.ceil(_local4.xMax / gx);
var _local6 = Math.floor(_local4.yMin / gy);
var _local5 = Math.ceil(_local4.yMax / gy);
var _local3 = _local8;
while (_local3 < _local7) {
if (!g[_local3]) {
g[_local3] = new Array();
}
var _local2 = _local6;
while (_local2 < _local5) {
if (!g[_local3][_local2]) {
g[_local3][_local2] = new Object();
}
g[_local3][_local2][_local15] = aso[_local15];
_local2++;
_local2++;
}
_local3++;
_local3++;
}
this[_local15].swapDepths(getNextHighestDepth());
this[_local15].removeMovieClip();
}
}
xl = Math.floor(vp.l / gx);
yl = Math.floor(vp.t / gy);
xm = Math.ceil(vp.w / gx);
ym = Math.ceil(vp.h / gy);
bcl();
scrll(x, y);
onEnterFrame = null;
}
function bcl() {
var _local4 = cso;
cso = new Object();
var _local3 = xl;
while (_local3 < xm) {
var _local2 = yl;
while (_local2 < ym) {
for (var _local5 in g[_local3][_local2]) {
if (!cso[_local5]) {
cso[_local5] = g[_local3][_local2][_local5];
}
}
_local2++;
}
_local3++;
}
for (var _local5 in _local4) {
if (!cso[_local5]) {
if (this[_local5]) {
this[_local5].removeMovieClip();
}
}
}
}
function scrll(nx, ny) {
x = nx;
y = ny;
_x = Math.round(x * rx);
_y = Math.round(y * ry);
var _local10 = Math.floor((vp.l - _x) / gx) - 1;
var _local12 = Math.floor((vp.t - _y) / gy) - 1;
var _local9 = Math.ceil((vp.w - _x) / gx);
var _local11 = Math.ceil((vp.h - _y) / gy);
if ((((xl != _local10) || (yl != _local12)) || (xm != _local9)) || (ym != _local11)) {
xl = _local10;
yl = _local12;
xm = _local9;
ym = _local11;
bcl();
}
var _local7 = {x:vp.l - _x, y:vp.t - _y, w:vp.w, h:vp.h};
for (var _local8 in cso) {
if (World.intersect(_local7, cso[_local8])) {
if (!this[_local8]) {
var _local2 = attachMovie(cso[_local8].t, _local8, cso[_local8].depth + 20000, {_x:cso[_local8].x, _y:cso[_local8].y, _xscale:cso[_local8]._xscale, _yscale:cso[_local8]._yscale, cacheAsBitmap:true, aso:cso[_local8]});
_local2.cacheAsBitmap = true;
}
} else if (this[_local8]) {
this[_local8].removeMovieClip();
}
}
}
static function intersect(rect1, rect2) {
if (((rect1.x >= rect2.x) && (rect1.x <= (rect2.x + rect2.w))) || ((rect2.x >= rect1.x) && (rect2.x <= (rect1.x + rect1.w)))) {
if (((rect1.y >= rect2.y) && (rect1.y <= (rect2.y + rect2.h))) || ((rect2.y >= rect1.y) && (rect2.y <= (rect1.y + rect1.h)))) {
return(true);
}
}
return(false);
}
var rx = 1;
var ry = 1;
var x = 0;
var y = 0;
}
Symbol 1189 MovieClip [__Packages.Levitator] Frame 0
class Levitator extends MovieClip
{
var player, _parent, ano, dc, _height, hitTest, getBounds;
function Levitator () {
super();
player = _parent._parent._parent.player;
if (!ano.mSpeed) {
ano.mSpeed = mSpeed;
}
if (!ano.dir) {
ano.dir = dir;
}
dc = ano.mSpeed / Math.pow(_height, 2);
}
function onEnterFrame() {
if (hitTest(player.hitbox)) {
var _local2 = (Math.pow((player.getBounds(_parent).yMax - getBounds(_parent).yMin) + player._height, 2) * dc) * ano.dir;
_local2 = _local2 + ((myo * Math.sin((f * 180) / Math.PI)) * ano.dir);
player.yVel = 0;
player.ry = player.ry + _local2;
player._y = player._y + _local2;
player.levitate._visible = true;
f = (f + dys) % 180;
}
}
var f = 0;
static var myo = 5;
static var dys = 1;
static var mSpeed = 25;
static var dir = -1;
}
Symbol 1190 MovieClip [__Packages.Turret] Frame 0
class Turret extends Enemy
{
var _xscale, game, isDead, ta, targ, gotoAndStop, _parent, _y, _x;
function Turret () {
super();
if (dir == 1) {
_xscale = _xscale * -1;
}
}
function onEnterFrame() {
if (!game.isPaused) {
if (!isDead) {
if (m == "inactive") {
if (ta.hitTest(targ.hitbox)) {
m = "deploying";
gotoAndStop("deploy");
}
} else if (m == "deploying") {
f++;
if (f == mf.deploy) {
m = "deployed";
f = 0;
}
} else if (m == "deployed") {
if (ta.hitTest(targ.hitbox)) {
var _local4 = _parent.attachMovie("shot", "shot" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:_x + (sox * dir), _y:_y + soy, xVel:ss * dir, yVel:0, mRange:mRange, pow:pow});
m = "recharing";
f = 0;
} else {
m = "closing";
f = 0;
gotoAndStop("close");
}
} else if (m == "recharing") {
f++;
if (f == mf.recharge) {
m = "deployed";
f = 0;
}
} else {
f++;
if (f == mf.deploy) {
m = "inactive";
f = 0;
}
}
super.onEnterFrame();
}
}
}
var dir = 1;
var m = "inactive";
var score = 30;
var f = 0;
var ss = 5;
var mRange = 300;
var pow = 20;
static var sox = 50;
static var soy = -10;
static var mf = {deploy:13, recharge:21};
}
Symbol 1191 MovieClip [__Packages.Arr] Frame 0
class Arr extends Array
{
var splice, length;
function Arr () {
super();
splice.apply(this, [0, 0].concat(arguments));
}
function randInd() {
return(Math.floor(Math.random() * length));
}
function rand() {
return(this[Math.floor(Math.random() * length)]);
}
function mean() {
var _local3 = 0;
var _local4 = 0;
var _local2 = 0;
while (_local2 < length) {
if (!isNaN(Number(this[_local2]))) {
_local3++;
_local4 = _local4 + Number(this[_local2]);
}
_local2++;
}
if (_local3 > 0) {
return(_local4 / _local3);
}
return(0);
}
function current() {
return(this[iap]);
}
function next() {
if ((iap + 1) < length) {
iap++;
return(this[iap]);
}
return(false);
}
function prev() {
if (iap > 0) {
iap--;
return(this[iap]);
}
return(false);
}
function reset() {
if (length > 0) {
iap = 0;
return(this[iap]);
}
return(false);
}
function end() {
if (length > 0) {
iap = length - 1;
return(this[iap]);
}
return(false);
}
var iap = 0;
}
Symbol 1192 MovieClip [__Packages.LilFlyinDude] Frame 0
class LilFlyinDude extends Enemy
{
var tp, x, _x, y, _y, game, isDead, targ, gotoAndStop, hitTest, die;
function LilFlyinDude () {
super();
tp = points.randInd();
x = _x;
y = _y;
}
function onEnterFrame() {
if (!game.isPaused) {
if (!isDead) {
if (m == "patrol") {
if (a == "fly") {
var _local4 = targ.rx + points[tp].x;
var _local3 = targ.ry + points[tp].y;
var _local7 = Math.sqrt(Math.pow(_local4 - x, 2) + Math.pow(_local3 - y, 2));
if (speed >= _local7) {
x = _local4;
y = _local3;
a = "hover";
f = 0;
} else {
var _local5 = Math.atan2(y - _local3, x - _local4);
x = x - (speed * Math.cos(_local5));
y = y - (speed * Math.sin(_local5));
}
} else if (a == "hover") {
f++;
if (f >= mf) {
var _local6 = tp;
tp = points.randInd();
if (tp == _local6) {
m = "attack";
a = "fly";
tp = null;
(gotoAndStop("attack"));// not popped
} else {
a = "fly";
}
f = 0;
} else {
var _local4 = targ.rx + points[tp].x;
var _local3 = targ.ry + points[tp].y;
var _local7 = Math.sqrt(Math.pow(_local4 - x, 2) + Math.pow(_local3 - y, 2));
if (speed >= _local7) {
x = _local4;
y = _local3;
} else {
var _local5 = Math.atan2(y - _local3, x - _local4);
x = x - (speed * Math.cos(_local5));
y = y - (speed * Math.sin(_local5));
}
}
}
} else {
var _local7 = Math.sqrt(Math.pow(targ.rx - x, 2) + Math.pow(targ.ry - y, 2));
if (speed >= _local7) {
x = targ.rx;
y = targ.ry;
tp = points.randInd();
m = "patrol";
} else {
var _local5 = Math.atan2(y - targ.ry, x - targ.rx);
x = x - (speed * Math.cos(_local5));
y = y - (speed * Math.sin(_local5));
}
}
_y = Math.round(y + (yom * Math.sin((ci * 180) / Math.PI)));
_x = Math.round(x);
ci = (ci + 1) % 180;
if (hitTest(targ.hitbox)) {
if (targ.dft == 0) {
targ.hp = targ.hp - pow;
targ.isHit = true;
}
tp = points.randInd();
(gotoAndStop("walk"));// not popped
m = "patrol";
}
super.onEnterFrame();
} else {
die();
}
}
}
var m = "patrol";
var a = "fly";
var hp = 4;
var pow = 15;
var score = 50;
var f = 0;
var yom = 10;
var ci = 0;
var speed = 15;
static var points = new Arr({x:-200, y:-175}, {x:-150, y:-145}, {x:-125, y:-180}, {x:185, y:-180}, {x:155, y:-150});
static var mf = 25;
}
Symbol 1193 MovieClip [__Packages.BigDude] Frame 0
class BigDude extends Enemy
{
var _xscale, game, isDead, _x, targ, _y, gotoAndStop, _parent, cp, p;
function BigDude () {
super();
if (dir == 1) {
_xscale = _xscale * -1;
}
}
function onEnterFrame() {
if (!game.isPaused) {
if (!isDead) {
if (f >= mf[a]) {
if (m == "attack") {
if (((targ.rx >= (_x - vx)) && (targ.rx <= (_x + vx))) && ((targ.ry >= (_y - vy)) && (targ.ry <= (_y + vy)))) {
if (((_x - targ.rx) * dir) <= 0) {
a = "shoot";
f = 0;
gotoAndStop("attack");
var _local3 = (Math.atan2(targ.ry - _y, targ.rx - _x) * 180) / Math.PI;
if ((_local3 < -30) && (_local3 > -150)) {
_parent.attachMovie("shot", "shot" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:_x + (68 * dir), _y:_y - 12, xVel:2.5 * dir, yVel:-2.5});
} else if ((_local3 > 30) && (_local3 < 150)) {
_parent.attachMovie("shot", "shot" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:_x + (68 * dir), _y:_y + 12, xVel:2.5 * dir, yVel:2.5});
} else {
_parent.attachMovie("shot", "shot" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth(), {_x:_x + (75 * dir), _y:_y, xVel:5 * dir, yVel:0});
}
} else {
a = "turn";
f = 0;
gotoAndStop("turn");
dir = dir * -1;
}
} else {
if (((_x - p[cp]) * dir) < 0) {
a = "turn";
gotoAndStop("turn");
dir = dir * -1;
} else {
gotoAndStop("stand");
a = "stand";
}
f = 0;
m = "patrol";
}
}
}
if (f >= mf[a]) {
if (m == "patrol") {
if (isVisible(targ.rx, targ.ry, _x, _x + (vx * dir), _y - vy, _y + vy)) {
m = "attack";
} else if ((a == "stand") && (f >= af.stand)) {
if ((_x == p[0]) || (_x == p[p.length - 1])) {
if (((cp == 0) && (dir == 1)) || ((cp != 0) && (dir == -1))) {
cp = cp + dir;
a = "walk";
f = 0;
gotoAndStop("walk");
} else {
a = "turn";
f = 0;
gotoAndStop("turn");
dir = dir * -1;
}
} else if (ph == 0) {
a = "turn";
f = 0;
ph++;
gotoAndStop("turn");
dir = dir * -1;
} else if (ph == 1) {
a = "turn";
f = 0;
gotoAndStop("turn");
dir = dir * -1;
ph++;
} else {
a = "walk";
f = 0;
ph = 0;
cp = cp + dir;
gotoAndStop("walk");
}
} else if (a == "walk") {
if (((dir == 1) && ((_x + speed) >= p[cp])) || ((dir == -1) && ((_x - speed) <= p[cp]))) {
_x = p[cp];
f = 0;
a = "stand";
gotoAndStop("stand");
} else {
_x = _x + (speed * dir);
}
} else if (a == "turn") {
f = 0;
a = "stand";
gotoAndStop("stand");
}
}
}
f++;
super.onEnterFrame();
}
}
}
static function isVisible(px, py, x1, x2, y1, y2) {
if ((py >= y1) && (py <= y2)) {
if ((px >= Math.min(x1, x2)) && (px <= Math.max(x1, x2))) {
return(true);
}
return(false);
}
return(false);
}
var m = "patrol";
var ph = 0;
var a = "walk";
var score = 100;
var hp = 30;
var dam = 10;
var speed = 3;
var dir = 1;
static var vx = 300;
static var vy = 200;
static var mf = {walk:0, turn:6, stand:0, hurt:6, shoot:25};
static var af = {walk:0, turn:6, stand:10, hurt:6, shoot:25};
var f = 0;
}
Symbol 1194 MovieClip [__Packages.BigFlyinDude] Frame 0
class BigFlyinDude extends Enemy
{
var tp, x, _x, y, _y, game, isDead, targ, getDepth, swapDepths, _parent, gotoAndStop, sprite, sprite2;
function BigFlyinDude () {
super();
tp = points.rand();
x = _x;
y = _y;
}
function onEnterFrame() {
if (!game.isPaused) {
if (!isDead) {
if (m == "patrol") {
if (a == "fly") {
if (targ.rx <= _x) {
var _local6 = 1;
} else {
var _local6 = -1;
}
var _local9 = targ.rx + (tp.x * _local6);
var _local8 = targ.ry + tp.y;
var _local7 = Math.sqrt(Math.pow(_local9 - x, 2) + Math.pow(_local8 - y, 2));
if (speed >= _local7) {
x = _local9;
y = _local8;
a = "hover";
f = 0;
} else {
var _local5 = Math.atan2(y - _local8, x - _local9);
x = x - (speed * Math.cos(_local5));
y = y - (speed * Math.sin(_local5));
}
} else if (a == "hover") {
f++;
if (f == ht) {
var _local3 = tp;
do {
tp = points.rand();
} while (_local3 == tp);
a = "fly";
f = 0;
} else {
if (targ.rx <= _x) {
var _local6 = 1;
} else {
var _local6 = -1;
}
var _local9 = targ.rx + (tp.x * _local6);
var _local8 = targ.ry + tp.y;
var _local7 = Math.sqrt(Math.pow(_local9 - x, 2) + Math.pow(_local8 - y, 2));
if (speed >= _local7) {
x = _local9;
y = _local8;
} else {
var _local5 = Math.atan2(y - _local8, x - _local9);
x = x - (speed * Math.cos(_local5));
y = y - (speed * Math.sin(_local5));
}
}
}
}
ac++;
if (ac >= af) {
if (Math.sqrt(Math.pow(targ.rx - x, 2) + Math.pow(targ.ry - y, 2)) <= mar) {
var _local4 = getDepth();
swapDepths(_parent.getNextHighestDepth());
_parent.attachMovie("spikeyDude", "spikey" + _local4, _local4, {_x:_x + 10, _y:_y - 40, tx:targ.rx, ty:targ.ry, speed:aSpeed});
gotoAndStop("attack");
}
ac = 0;
}
_y = Math.round(y + (yom * Math.sin((ci * 180) / Math.PI)));
_x = Math.round(x);
ci = (ci + 0.1) % 180;
super.onEnterFrame();
}
}
}
function pause() {
sprite.stop();
sprite2.stop();
}
function unpause() {
sprite.play();
sprite2.play();
}
var m = "patrol";
var a = "fly";
var hp = 40;
var dam = 10;
var score = 100;
var f = 0;
var yom = 10;
var ci = 0;
var speed = 5;
var ac = 0;
var af = 125;
var mar = 300;
var aSpeed = 15;
static var points = new Arr({x:200, y:-150}, {x:120, y:-200}, {x:170, y:-150}, {x:190, y:-20});
static var ht = 25;
}
Symbol 1195 MovieClip [__Packages.LilDude] Frame 0
class LilDude extends Enemy
{
var _xscale, floors, game, walls, getBounds, isDead, _visible, _y, _x, targ, hitTest, _name, gotoAndStop;
function LilDude () {
super();
if (dir == 1) {
_xscale = _xscale * -1;
}
yVel = 0;
floors = game.fg.floors;
walls = game.fg.walls;
}
function onEnterFrame() {
if (!game.isPaused) {
var _local9 = getBounds(_root);
if ((!isDead) && (World.intersect({x:_local9.xMin, y:_local9.yMin, w:_local9.xMax - _local9.xMin, h:_local9.yMax - _local9.yMin}, {x:game.vp.l - game._x, y:game.vp.t - game._y, w:game.vp.w, h:game.vp.h}))) {
_visible = true;
if (yVel == 0) {
yVel = 1;
}
var _local5 = 0;
var _local6 = {x:_x, y:_y};
game.fg.localToGlobal(_local6);
var _local7 = 0;
while (_local7 <= Math.ceil(yVel / game.minTileHeight)) {
_local5 = _local7 * minTileHeight;
if (floors.hitTest(_local6.x, (_local6.y + yOfs) + _local5, true)) {
_local5 = _local5 - game.minTileHeight;
var _local4 = 0;
while (_local4 != 1) {
if (floors.hitTest(_local6.x, (_local6.y + yOfs) + _local5, true)) {
_local4 = 1;
} else {
_local5 = _local5 + 1;
}
}
var _local8 = 1;
_local7 = Math.ceil(yVel / minTileHeight) + 1;
}
_local7++;
}
if (_local8) {
_y = _y + (_local5 - 1);
if (targ.rx > _x) {
var _local10 = 1;
} else if (targ.rx < _x) {
var _local10 = -1;
}
if (_local10 != dir) {
_xscale = _xscale * -1;
dir = _local10;
}
yVel = 0;
} else {
yVel = yVel * targ.grav;
if (yVel > targ.yTermVel) {
yVel = targ.yTermVel;
}
_y = _y + yVel;
}
xVel = speed * dir;
var _local11 = xOfs * dir;
var _local12 = _local6.y;
var _local15 = -1 * dir;
var _local14 = (_local6.x + _local11) + xVel;
var _local13 = _local12;
if (walls.hitTest(_local14, _local13, true)) {
xVel = 0;
}
_x = _x + xVel;
if (hitTest(targ.hitbox)) {
game.fg.aeo[_name].c = null;
game.fg.aeo[_name].t = null;
game.fg.ceo[_name].c = null;
game.fg.ceo[_name].t = null;
delete game.fg.aeo[_name];
delete game.fg.ceo[_name];
if (targ.dft == 0) {
targ.hp = targ.hp - pow;
targ.isHit = true;
}
isDead = true;
(gotoAndStop("explode"));// not popped
}
super.onEnterFrame();
} else if (!isDead) {
_visible = false;
super.onEnterFrame();
}
}
}
var pow = 25;
var hp = 4;
var speed = 7;
var xVel = 0;
var yVel = 0;
static var yTermVel = 80;
var score = 50;
static var yOfs = 30;
static var xOfs = 20;
var dir = -1;
}
Symbol 1196 MovieClip [__Packages.Conveyor] Frame 0
class Conveyor extends MovieClip
{
var game, _parent, player, ano, _xscale, hitbox;
function Conveyor () {
super();
game = _parent._parent._parent;
player = game.player;
if (!ano.speed) {
ano.speed = speed;
}
if (!ano.dir) {
ano.dir = dir;
}
if (ano.dir == -1) {
_xscale = _xscale * -1;
}
}
function onEnterFrame() {
if (!game.isPaused) {
if (hitbox.hitTest(player._x, player._y + player.yOfs)) {
player.rx = player.rx + (ano.speed * ano.dir);
player._x = player._x + (ano.speed * ano.dir);
}
}
}
static var dir = 1;
static var speed = 5;
}
Symbol 1197 MovieClip [__Packages.WarpGate] Frame 0
class WarpGate extends MovieClip
{
var game, _parent, player, ano, hitbox;
function WarpGate () {
super();
game = _parent._parent._parent;
player = game.player;
}
function onEnterFrame() {
if (player.active) {
if (ano.ex) {
if (hitbox.hitTest(player.hitbox)) {
player.active = false;
player.teleporter.gotoAndPlay("in");
player.rx = ano.ex;
player.ry = ano.ey;
}
}
}
}
}
Symbol 1198 MovieClip [__Packages.MovingPlatform] Frame 0
class MovingPlatform extends MovieClip
{
var ox, _x, oy, _y, game, _parent, player, play, platform, hitTest, stop;
function MovingPlatform () {
super();
ox = _x;
oy = _y;
game = _parent._parent._parent;
player = game.player;
}
function onEnterFrame() {
if (!game.isPaused) {
if (pt) {
(play());// not popped
pt = false;
}
dx = platform._x - ox;
dy = platform._y - oy;
var _local2 = ((dy >= 0) ? 1 : -1);
if (hitTest(player._x + dx, ((player._y + player.yOfs) + dy) + 10)) {
wasStoodOn = true;
} else {
wasStoodOn = false;
}
if (wasStoodOn) {
player.rx = player.rx + dx;
player.ry = player.ry + dy;
if (dy > 0) {
player._y = player._y + dy;
}
} else {
dx = 0;
dy = 0;
}
ox = platform._x;
oy = platform._y;
} else {
(stop());// not popped
pt = true;
}
}
var wasStoodOn = false;
var isMP = true;
var dx = 0;
var dy = 0;
var pt = false;
}
Symbol 1199 MovieClip [__Packages.Sky] Frame 0
class Sky extends MovieClip
{
var _x, _y;
function Sky () {
super();
}
function setVars(rx, ry) {
this.rx = rx;
this.ry = ry;
}
function scrll(nx, ny) {
_x = Math.round(nx * rx);
_y = Math.round(ny * ry);
}
var rx = 1;
var ry = 1;
}
Symbol 61 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 94
_root.play();
Symbol 61 MovieClip Frame 96
_root.play();
Symbol 61 MovieClip Frame 97
stop();
Symbol 64 MovieClip Frame 1
function setTwink(t) {
t._alpha = Math.floor(Math.random() * 100);
t.startXscale = t._xscale;
t.startYscale = t._yscale;
}
function doTwink(t) {
if (!Math.floor(Math.random() * twinkFrequency)) {
t._xscale = 100;
t._yscale = 100;
t._alpha = 50 + Math.floor(Math.random() * 50);
}
t._rotation = t._rotation + 10;
t._xscale = t._xscale * 0.98;
t._yscale = t._yscale * 0.98;
t._alpha = t._alpha * 0.98;
}
twinkFrequency = 90;
Instance of Symbol 63 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
_parent.setTwink(this);
}
onClipEvent (enterFrame) {
_parent.doTwink(this);
}
Instance of Symbol 63 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
_parent.setTwink(this);
}
onClipEvent (enterFrame) {
_parent.doTwink(this);
}
Instance of Symbol 63 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
_parent.setTwink(this);
}
onClipEvent (enterFrame) {
_parent.doTwink(this);
}
Instance of Symbol 63 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
_parent.setTwink(this);
}
onClipEvent (enterFrame) {
_parent.doTwink(this);
}
Instance of Symbol 63 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
_parent.setTwink(this);
}
onClipEvent (enterFrame) {
_parent.doTwink(this);
}
Instance of Symbol 63 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
_parent.setTwink(this);
}
onClipEvent (enterFrame) {
_parent.doTwink(this);
}
Instance of Symbol 63 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
_parent.setTwink(this);
}
onClipEvent (enterFrame) {
_parent.doTwink(this);
}
Instance of Symbol 63 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
_parent.setTwink(this);
}
onClipEvent (enterFrame) {
_parent.doTwink(this);
}
Instance of Symbol 63 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
_parent.setTwink(this);
}
onClipEvent (enterFrame) {
_parent.doTwink(this);
}
Instance of Symbol 63 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
_parent.setTwink(this);
}
onClipEvent (enterFrame) {
_parent.doTwink(this);
}
Instance of Symbol 63 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
_parent.setTwink(this);
}
onClipEvent (enterFrame) {
_parent.doTwink(this);
}
Instance of Symbol 63 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
_parent.setTwink(this);
}
onClipEvent (enterFrame) {
_parent.doTwink(this);
}
Instance of Symbol 63 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
_parent.setTwink(this);
}
onClipEvent (enterFrame) {
_parent.doTwink(this);
}
Instance of Symbol 63 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
_parent.setTwink(this);
}
onClipEvent (enterFrame) {
_parent.doTwink(this);
}
Instance of Symbol 63 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
_parent.setTwink(this);
}
onClipEvent (enterFrame) {
_parent.doTwink(this);
}
Instance of Symbol 63 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
_parent.setTwink(this);
}
onClipEvent (enterFrame) {
_parent.doTwink(this);
}
Instance of Symbol 63 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
_parent.setTwink(this);
}
onClipEvent (enterFrame) {
_parent.doTwink(this);
}
Instance of Symbol 63 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
_parent.setTwink(this);
}
onClipEvent (enterFrame) {
_parent.doTwink(this);
}
Symbol 74 MovieClip Frame 58
stop();
Symbol 75 MovieClip Frame 1
scrollMod = 0;
Instance of Symbol 46 MovieClip in Symbol 75 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y - (0.175 * _parent.scrollMod));
}
Instance of Symbol 48 MovieClip in Symbol 75 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y - (0.25 * _parent.scrollMod));
}
Instance of Symbol 50 MovieClip in Symbol 75 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y - (0.3 * _parent.scrollMod));
}
Instance of Symbol 50 MovieClip in Symbol 75 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y - (0.5 * _parent.scrollMod));
}
Instance of Symbol 52 MovieClip in Symbol 75 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y - (0.25 * _parent.scrollMod));
if (_y < -100) {
_parent.scrollMod = 0;
if (!skyPlayed) {
_parent.sky.play();
skyPlayed = true;
}
}
}
Symbol 75 MovieClip Frame 3
stop();
Symbol 75 MovieClip Frame 4
scrollMod = 2;
Symbol 75 MovieClip Frame 59
Instance of Symbol 74 MovieClip in Symbol 75 MovieClip Frame 140
onClipEvent (enterFrame) {
_parent.scrollMod = _parent.scrollMod * 1.03;
}
Symbol 75 MovieClip Frame 144
_root.sWoosh.start();
Symbol 75 MovieClip Frame 283
stop();
Symbol 75 MovieClip Frame 290
stop();
Symbol 83 Button
on (release) {
gotoAndPlay ("menu");
}
Symbol 112 Button
on (release) {
_root.theMenu.openURL("http://www.killerviral.com/redir.php?urlId=77");
}
Symbol 116 Button
on (release) {
_root.theMenu.openURL("http://www.killerviral.com/redir.php?urlId=73", true);
}
Symbol 117 MovieClip Frame 7
stop();
Symbol 123 Button
on (release) {
_root.theMenu.openURL("http://www.killerviral.com/redir.php?urlId=79", true);
}
Symbol 133 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 5
stop();
Symbol 141 MovieClip Frame 1
stop();
Instance of Symbol 133 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
if (_root.p1Input.kUp[0] == 87) {
gotoAndStop ("wasd");
} else {
gotoAndStop ("cursor");
}
}
onClipEvent (enterFrame) {
if (_root.p1Input.kUp[0] == 87) {
gotoAndStop ("wasd");
} else {
gotoAndStop ("cursor");
}
}
Symbol 141 MovieClip Frame 2
stop();
Symbol 141 MovieClip Frame 3
stop();
Symbol 141 MovieClip Frame 4
stop();
Symbol 142 Button
on (release) {
_root.gotoAndStop("level1");
}
Instance of Symbol 141 MovieClip in Symbol 143 MovieClip Frame 1
onClipEvent (load) {
this.stop();
this._alpha = 0;
this.aFrames = 50;
this.aRate = 100 / this.aFrames;
this.aDir = 1;
this.aWait = 100;
this.aCount = 0;
}
onClipEvent (enterFrame) {
if ((this._alpha == 100) && (this.aCount < this.aWait)) {
this.aCount++;
} else {
this._alpha = this._alpha + (this.aRate * this.aDir);
}
if ((this.aDir == 1) && (this._alpha >= (100 - this.aRate))) {
this._alpha = 100;
this.aDir = -1;
this.aCount = 0;
} else if ((this.aDir == -1) && (this._alpha <= (0 + this.aRate))) {
this._alpha = 0;
this.aDir = 1;
play();
}
}
Instance of Symbol 91 MovieClip in Symbol 144 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 141 MovieClip in Symbol 144 MovieClip Frame 32
onClipEvent (load) {
this.stop();
this._alpha = 0;
this.aFrames = 50;
this.aRate = 100 / this.aFrames;
this.aDir = 1;
this.aWait = 100;
this.aCount = 0;
}
onClipEvent (enterFrame) {
if ((this._alpha == 100) && (this.aCount < this.aWait)) {
this.aCount++;
} else {
this._alpha = this._alpha + (this.aRate * this.aDir);
}
if ((this.aDir == 1) && (this._alpha >= (100 - this.aRate))) {
this._alpha = 100;
this.aDir = -1;
this.aCount = 0;
} else if ((this.aDir == -1) && (this._alpha <= (0 + this.aRate))) {
this._alpha = 0;
this.aDir = 1;
play();
}
}
Symbol 144 MovieClip Frame 33
_parent.gui.gotoAndPlay("in");
stop();
Instance of Symbol 143 MovieClip "contentClip" in Symbol 144 MovieClip Frame 33
onClipEvent (enterFrame) {
if (dontShowMe) {
if (_alpha > 0) {
_alpha = (_alpha - 5);
} else {
_visible = false;
}
} else {
_visible = true;
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
}
}
Symbol 153 MovieClip Frame 69
stop();
Symbol 156 MovieClip Frame 71
stop();
Symbol 157 MovieClip Frame 1
stop();
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 157 MovieClip Frame 2
stop();
Symbol 157 MovieClip Frame 10
stop();
Symbol 166 Button
on (release) {
_parent.theMenu.openURL("http://www.killerviral.com/redir.php?urlId=73", true);
}
Symbol 169 Button
on (release) {
_parent.theMenu.openURL("http://www.killerviral.com/redir.php?urlId=74", true);
}
Symbol 172 Button
on (release) {
_parent.openMenu();
}
Symbol 174 Button
on (release) {
_parent.openMenu();
}
Symbol 176 Button
on (release) {
_parent.openMenu();
}
Symbol 178 Button
on (release) {
_parent.openMenu();
}
Symbol 179 MovieClip Frame 1
stop();
Symbol 179 MovieClip Frame 5
stop();
Symbol 179 MovieClip Frame 9
stop();
Symbol 179 MovieClip Frame 13
stop();
Symbol 195 MovieClip Frame 1
width = _width;
Symbol 198 MovieClip Frame 1
function openMenu() {
if (((!(_root.theMenu.menuState === "levelEnd")) && (!(_root.theMenu.menuState === "gameEnd"))) && (!(_root.theMenu.menuState === "goToHell"))) {
if (guiStatus == "start") {
_parent.theMenu.play();
_parent.theMenu.menuState = "start";
}
if ((guiStatus == "game") && (_root.player.active)) {
_parent.theMenu.play();
_parent.theMenu.menuState = "pause";
}
}
}
stop();
Instance of Symbol 148 MovieClip in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 179 MovieClip "pickupIcon" in Symbol 198 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(_parent.pickupColour);
}
Instance of Symbol 179 MovieClip "pickupIcon" in Symbol 198 MovieClip Frame 8
onClipEvent (load) {
gotoAndStop(_parent.pickupColour);
}
Symbol 198 MovieClip Frame 9
gotoAndStop ("start");
Instance of Symbol 179 MovieClip "pickupIcon" in Symbol 198 MovieClip Frame 9
onClipEvent (load) {
gotoAndStop(_parent.pickupColour);
}
Symbol 198 MovieClip Frame 10
_parent.gui.indicator.gotoAndStop("optionsMenu");
stop();
Instance of Symbol 148 MovieClip in Symbol 198 MovieClip Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_parent.guiStatus = "start";
}
Symbol 198 MovieClip Frame 18
stop();
Instance of Symbol 148 MovieClip in Symbol 198 MovieClip Frame 18
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_parent.guiStatus = "game";
}
Symbol 206 Button
on (release) {
_root.soundToggle();
}
Symbol 208 Button
on (release) {
_parent.openURL("http://www.killerviral.com/redir.php?urlId=73", true);
}
Symbol 211 Button
on (release) {
_parent.openURL("http://www.killerviral.com/redir.php?urlId=76");
}
Symbol 213 Button
on (release) {
gotoAndPlay ("keys");
}
Symbol 217 Button
on (release) {
_parent.openURL("http://www.killerviral.com/redir.php?urlId=75");
}
Symbol 222 Button
on (release) {
gotoAndStop ("howToPlay");
}
Symbol 225 Button
on (release) {
_parent.openURL("http://www.killerviral.com/redir.php?urlId=83");
}
Symbol 227 Button
on (release) {
switch (_root._quality) {
case "BEST" :
_root._quality = "LOW";
qual.qual_txt.text = "Low Detail";
break;
case "HIGH" :
_root._quality = "BEST";
qual.qual_txt.text = "Best Detail";
break;
case "MEDIUM" :
_root._quality = "HIGH";
qual.qual_txt.text = "High Detail";
break;
case "LOW" :
_root._quality = "MEDIUM";
qual.qual_txt.text = "Medium Detail";
}
}
Symbol 229 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 3
stop();
Symbol 232 MovieClip Frame 6
stop();
Symbol 235 Button
on (release) {
_root.loadgame();
}
Symbol 237 Button
on (release) {
if (!(_root.soundOff === true)) {
_root.soundControl.soundToggle();
stopAllSounds();
} else {
_root.soundControl.soundToggle();
}
}
Symbol 238 Button
on (release) {
_parent.openURL("http://www.killerviral.com/redir.php?urlId=73", true);
}
Symbol 239 Button
on (release) {
_parent.openURL("http://www.killerviral.com/redir.php?urlId=76");
}
Symbol 240 Button
on (release) {
_parent.openURL("http://www.killerviral.com/redir.php?urlId=77");
}
Symbol 242 Button
on (release) {
gotoAndPlay ("load");
}
Symbol 247 Button
on (release) {
gotoAndStop(rootMenu);
}
Symbol 250 Button
on (release) {
if (_root.loadgame()) {
_root.theMenu.menuState = "pause";
_root.theMenu.gotoAndPlay("close");
} else {
for (var i in this.load_btn) {
if (this.load_btn[i].text) {
this.load_btn[i].text = "Load failed - no savegame found";
}
}
}
}
Symbol 253 Button
on (release) {
_root.savegame();
for (var i in this.save_btn) {
if (this.save_btn[i].text) {
this.save_btn[i].text = "Saved";
}
}
}
Symbol 261 Button
on (release) {
_root.p1Input = _root.controlSet2;
gotoAndStop ("wasd");
}
Symbol 263 Button
on (release) {
_root.p1Input = _root.controlSet1;
gotoAndStop ("cursor");
}
Symbol 265 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 7
stop();
Symbol 270 Button
on (release) {
_parent.gotoAndPlay("closeAndPlay");
}
Symbol 277 Button
on (release) {
_root.theMenu.openURL("http://www.superwalkland.com/hscompetition.php" + _root.buildQS(_root.player.score));
}
Symbol 278 Button
on (release) {
_parent.openURL("http://www.killerviral.com/redir.php?urlId=77");
}
Symbol 281 Button
on (release) {
_root.savegame(true);
for (var i in this.save_btn) {
if (this.save_btn[i].text) {
this.save_btn[i].text = "Saved";
}
}
}
Symbol 283 Button
on (release) {
_parent.gotoAndPlay("closeAndRestart");
}
Symbol 290 Button
on (release) {
_root.theMenu.menuState = "pause";
_parent.gotoAndPlay("close");
}
Symbol 306 Button
on (release) {
gotoAndStop ("attacking");
}
Symbol 307 Button
on (release) {
gotoAndStop ("movement");
}
Symbol 310 Button
on (release) {
gotoAndStop ("objects");
}
Symbol 313 Button
on (release) {
gotoAndStop ("enemies");
}
Symbol 314 Button
on (release) {
_parent.gotoAndStop(_parent.rootMenu);
}
Symbol 317 Button
on (release) {
gotoAndStop ("start");
}
Symbol 324 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 7
stop();
Instance of Symbol 133 MovieClip in Symbol 324 MovieClip Frame 7
onClipEvent (load) {
if (_root.p1Input.kUp[0] == 87) {
gotoAndStop ("wasd");
} else {
gotoAndStop ("cursor");
}
}
onClipEvent (enterFrame) {
if (_root.p1Input.kUp[0] == 87) {
gotoAndStop ("wasd");
} else {
gotoAndStop ("cursor");
}
}
Symbol 324 MovieClip Frame 15
stop();
Symbol 324 MovieClip Frame 21
stop();
Symbol 324 MovieClip Frame 28
stop();
Symbol 328 Button
on (release) {
_root.theMenu.menuState = "pause";
_parent.gotoAndPlay("close");
}
Symbol 334 MovieClip Frame 1
rootMenu = "start";
stop();
Instance of Symbol 229 MovieClip "qual" in Symbol 334 MovieClip Frame 1
onClipEvent (load) {
switch (_root._quality) {
case "BEST" :
this.qual_txt.text = "Best Detail";
break;
case "HIGH" :
this.qual_txt.text = "High Detail";
break;
case "MEDIUM" :
this.qual_txt.text = "Medium Detail";
break;
case "LOW" :
this.qual_txt.text = "Low Detail";
}
}
Instance of Symbol 232 MovieClip "soundStatus" in Symbol 334 MovieClip Frame 1
onClipEvent (load) {
if (_root.soundOff == true) {
this.gotoAndStop("off");
} else {
this.gotoAndStop("on");
}
}
onClipEvent (enterFrame) {
if (_root.soundOff == true) {
this.gotoAndStop("off");
} else {
this.gotoAndStop("on");
}
}
Instance of Symbol 236 MovieClip in Symbol 334 MovieClip Frame 1
onClipEvent (load) {
var so = SharedObject.getLocal("savegame");
if (!so.data.levels) {
this._visible = false;
}
}
Symbol 334 MovieClip Frame 6
rootMenu = "pause";
stop();
Symbol 334 MovieClip Frame 11
stop();
Symbol 334 MovieClip Frame 16
stop();
Instance of Symbol 265 MovieClip in Symbol 334 MovieClip Frame 16
onClipEvent (load) {
if (_root.p1Input.kUp[0] == 87) {
gotoAndStop ("wasd");
} else {
gotoAndStop ("cursor");
}
}
onClipEvent (enterFrame) {
if (_root.p1Input.kUp[0] == 87) {
gotoAndStop ("wasd");
} else {
gotoAndStop ("cursor");
}
}
Symbol 334 MovieClip Frame 21
rootMenu = "level";
stop();
Symbol 334 MovieClip Frame 28
rootMenu = "game";
stop();
Symbol 334 MovieClip Frame 35
if (_root.player.score == 0) {
submit_score_btn._visible = false;
}
stop();
Instance of Symbol 133 MovieClip in Symbol 334 MovieClip Frame 53
onClipEvent (load) {
if (_root.p1Input.kUp[0] == 87) {
gotoAndStop ("wasd");
} else {
gotoAndStop ("cursor");
}
}
onClipEvent (enterFrame) {
if (_root.p1Input.kUp[0] == 87) {
gotoAndStop ("wasd");
} else {
gotoAndStop ("cursor");
}
}
Symbol 337 Button
on (release) {
if ((menuState != "levelEnd") && (menuState != "gameEnd")) {
play();
}
}
Symbol 338 MovieClip Frame 1
function openURL(link, dontPopup) {
if (((_root._url.indexOf("superwalkland.com") >= 0) && (!dontPopup)) && (_root.site == "master")) {
getURL (("javascript:void window.open(\"" + link) + "\", \"window\", \"scrollbars=yes,width=490,height=500\" );");
} else {
getURL (link, "_blank");
}
}
_parent.startContent._visible = true;
stop();
Instance of Symbol 200 MovieClip in Symbol 338 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 338 MovieClip Frame 2
_root.startClip.contentClip.dontShowMe = true;
_root.setVol(60);
_root.isPaused = true;
Symbol 338 MovieClip Frame 6
_parent.gui.indicator.gotoAndStop("exitMenu");
stop();
Instance of Symbol 334 MovieClip "menuContent" in Symbol 338 MovieClip Frame 6
onClipEvent (load) {
if (_parent.menuState) {
gotoAndPlay(_parent.menuState);
}
}
Symbol 338 MovieClip Frame 13
_root.startClip.contentClip.dontShowMe = false;
_root.setVol(35);
_root.isPaused = false;
gotoAndStop ("off");
Symbol 338 MovieClip Frame 14
gotoAndStop ("off");
Symbol 338 MovieClip Frame 15
function openURL(link) {
getURL (link, "_blank");
}
Symbol 338 MovieClip Frame 20
_parent.startClip.contentClip.dontShowMe = false;
_root.isPaused = false;
_root.play();
gotoAndStop ("off");
Symbol 338 MovieClip Frame 21
gotoAndStop ("off");
Symbol 338 MovieClip Frame 22
function openURL(link) {
getURL (link, "_blank");
}
Symbol 338 MovieClip Frame 27
_parent.startClip.contentClip.dontShowMe = false;
_root.isPaused = false;
_root.player.score = 0;
_root.curscore = 0;
delete _root.levels;
_root.gotoAndStop("level0");
Symbol 338 MovieClip Frame 28
menuState = null;
gotoAndStop ("off");
Symbol 355 MovieClip Frame 4
stop();
Symbol 363 MovieClip [pickedUp] Frame 30
_parent.removeMovieClip();
stop();
Symbol 364 MovieClip [pickup] Frame 1
#initclip 31
Object.registerClass("pickup", Pickup);
#endinitclip
Symbol 364 MovieClip [pickup] Frame 11
stop();
Symbol 364 MovieClip [pickup] Frame 27
stop();
Symbol 364 MovieClip [pickup] Frame 44
stop();
Symbol 364 MovieClip [pickup] Frame 61
stop();
Symbol 364 MovieClip [pickup] Frame 67
stop();
Symbol 372 MovieClip Frame 4
stop();
Symbol 373 MovieClip [shot] Frame 1
#initclip 24
Object.registerClass("shot", Shot);
#endinitclip
stop();
Symbol 375 MovieClip [checkPoint] Frame 1
#initclip 25
Object.registerClass("checkPoint", CheckPoint);
#endinitclip
this._visible = false;
Symbol 376 MovieClip Frame 1
this._visible = false;
Symbol 379 MovieClip Frame 27
_parent.gotoAndStop("stand");
Instance of Symbol 383 MovieClip in Symbol 384 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 385 MovieClip Frame 10
_parent.removeMovieClip();
stop();
Symbol 386 MovieClip Frame 8
_parent.removeMovieClip();
stop();
Symbol 388 MovieClip [spikeyDude] Frame 1
#initclip 26
Object.registerClass("spikeyDude", SpikeyDude);
#endinitclip
stop();
Symbol 391 MovieClip Frame 16
gotoAndPlay (1);
Symbol 399 MovieClip Frame 30
stop();
Symbol 402 MovieClip Frame 30
stop();
Instance of Symbol 399 MovieClip "equipGrenade" in Symbol 406 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 402 MovieClip "equipSword" in Symbol 406 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 406 MovieClip Frame 5
stop();
Symbol 406 MovieClip Frame 10
stop();
Symbol 410 MovieClip [weaponLocker] Frame 1
#initclip 27
Object.registerClass("weaponLocker", WeaponLocker);
#endinitclip
Instance of Symbol 391 MovieClip in Symbol 410 MovieClip [weaponLocker] Frame 1
onClipEvent (load) {
this.blendMode = "add";
this._alpha = 40;
}
Instance of Symbol 406 MovieClip "icon" in Symbol 410 MovieClip [weaponLocker] Frame 1
onClipEvent (load) {
gotoAndStop ("grenade");
}
Instance of Symbol 409 MovieClip in Symbol 410 MovieClip [weaponLocker] Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 417 MovieClip Frame 1
this._visible = false;
Symbol 423 MovieClip Frame 7
stop();
Symbol 424 MovieClip [bomb] Frame 1
#initclip 28
Object.registerClass("bomb", Bomb);
#endinitclip
Symbol 424 MovieClip [bomb] Frame 3
stop();
Symbol 426 MovieClip [weaponLocker2] Frame 1
#initclip 29
Object.registerClass("weaponLocker2", WeaponLocker);
#endinitclip
Instance of Symbol 391 MovieClip in Symbol 426 MovieClip [weaponLocker2] Frame 1
onClipEvent (load) {
this.blendMode = "add";
this._alpha = 40;
}
Instance of Symbol 406 MovieClip "icon" in Symbol 426 MovieClip [weaponLocker2] Frame 1
onClipEvent (load) {
gotoAndStop ("grenade");
}
Instance of Symbol 409 MovieClip in Symbol 426 MovieClip [weaponLocker2] Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 433 MovieClip Frame 16
gotoAndPlay (1);
Symbol 438 MovieClip Frame 30
_parent.gotoAndStop("inactive");
Symbol 439 MovieClip [switch2] Frame 1
#initclip 30
Object.registerClass("switch2", Switch);
#endinitclip
stop();
Instance of Symbol 433 MovieClip in Symbol 439 MovieClip [switch2] Frame 1
onClipEvent (load) {
this.blendMode = "add";
this._alpha = 40;
}
Symbol 439 MovieClip [switch2] Frame 2
stop();
Symbol 447 MovieClip Frame 1
c = "wall";
t = "boulder";
Symbol 449 MovieClip Frame 1
this._visible = false;
Symbol 449 MovieClip Frame 2
this.swapDepths(_parent.getNextHighestDepth());
this.removeMovieClip();
Symbol 450 MovieClip Frame 7
_parent.removeMovieClip();
stop();
Symbol 451 MovieClip [fluxCapacitor] Frame 1
#initclip 42
Object.registerClass("fluxCapacitor", FluxCapacitor);
#endinitclip
stop();
Symbol 452 MovieClip Frame 1
c = "nc";
t = "fluxCapacitor";
Symbol 453 MovieClip Frame 1
_visible = false;
Symbol 458 MovieClip [britney] Frame 1
#initclip 32
Object.registerClass("britney", Enemy80s);
#endinitclip
Symbol 459 MovieClip Frame 1
c = "enemy";
t = "britney";
Symbol 464 MovieClip [zeke] Frame 1
#initclip 33
Object.registerClass("zeke", Enemy80s);
#endinitclip
Symbol 465 MovieClip Frame 1
c = "enemy";
t = "zeke";
Symbol 470 MovieClip [theKing] Frame 1
#initclip 34
Object.registerClass("theKing", Enemy80s);
#endinitclip
Symbol 471 MovieClip Frame 1
c = "enemy";
t = "theKing";
Symbol 476 MovieClip [Kert] Frame 1
#initclip 35
Object.registerClass("Kert", Enemy80s);
#endinitclip
Symbol 477 MovieClip Frame 1
c = "enemy";
t = "kert";
Symbol 482 MovieClip [mozart] Frame 1
#initclip 36
Object.registerClass("mozart", Enemy80s);
#endinitclip
Symbol 483 MovieClip Frame 1
c = "enemy";
t = "mozart";
Symbol 488 MovieClip [JeffJazzy] Frame 1
#initclip 37
Object.registerClass("JeffJazzy", Enemy80s);
#endinitclip
Symbol 489 MovieClip Frame 1
c = "enemy";
t = "jeffJazzy";
Symbol 494 MovieClip [diddlyP] Frame 1
#initclip 38
Object.registerClass("diddlyP", Enemy80s);
#endinitclip
Symbol 495 MovieClip Frame 1
c = "enemy";
t = "diddlyP";
Symbol 500 MovieClip [clone] Frame 1
#initclip 39
Object.registerClass("clone", Enemy80s);
#endinitclip
Symbol 501 MovieClip Frame 1
c = "enemy";
t = "clone";
Symbol 506 MovieClip [etonJoe] Frame 1
#initclip 40
Object.registerClass("etonJoe", Enemy80s);
#endinitclip
Symbol 507 MovieClip Frame 1
c = "enemy";
t = "etonJoe";
Symbol 508 MovieClip Frame 1
c = "floor";
t = "80sPlatform.wide";
Symbol 509 MovieClip Frame 1
c = "floor";
t = "80sPlatform";
Symbol 510 MovieClip [level0] Frame 1
#initclip 41
Object.registerClass("level0", World);
#endinitclip
Symbol 511 MovieClip Frame 1
_visible = false;
Symbol 521 MovieClip Frame 3
stop();
Symbol 532 MovieClip Frame 4
gotoAndPlay ("loop");
Instance of Symbol 536 MovieClip in Symbol 537 MovieClip Frame 15
onClipEvent (load) {
offset = 0.5;
}
onClipEvent (enterFrame) {
_y = (_y - offset);
offset = offset * 1.2;
}
Symbol 537 MovieClip Frame 55
_parent._parent.nextLevel();
stop();
Symbol 541 MovieClip Frame 18
_parent.enterLevel = 0;
Symbol 542 MovieClip Frame 24
_parent._parent.playerDie80s();
stop();
Instance of Symbol 545 MovieClip in Symbol 546 MovieClip Frame 1
onClipEvent (load) {
loadVariables ("http://www.superwalkland.com/idents/vars.php", this);
this._visible = 0;
_parent._parent.stop();
}
onClipEvent (data) {
function onLoadError(mc, error, http) {
_parent._parent.play();
}
function onLoadInit(mc) {
_root.output_txt.text = (((mc + ": ") + mc._currentframe) + "/") + mc._totalframes;
this.onEnterFrame = function () {
_root.output_txt.text = _parent.placeHolder._currentframe;
if (_parent.placeHolder._currentframe == _parent.placeHolder._totalframes) {
this._parent._parent.play();
this.onEnterFrame = null;
}
};
}
var whichClip = Math.ceil(Math.random() * totalMovies);
var mcLoader = new MovieClipLoader();
mcLoader.addListener(this);
mcLoader.loadClip(("http://www.superwalkland.com/idents/" + whichClip) + ".swf", _parent.placeHolder);
}
Instance of Symbol 548 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
this.msg = "ENTERING LEVEL " + (_root.levels.lvl + 1);
this.fadeDir = 1;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.fadeDir == 1) {
this._alpha = this._alpha + 10;
if (this._alpha >= 100) {
this.fadeDir = 0;
}
} else {
this._alpha = this._alpha - 10;
if (this._alpha <= 40) {
this.fadeDir = 1;
}
}
}
Symbol 551 MovieClip [sky] Frame 1
#initclip 56
Object.registerClass("sky", Sky);
#endinitclip
Symbol 554 MovieClip Frame 1
t = "ship3";
c = "nc";
Symbol 557 MovieClip Frame 1
t = "ship1";
c = "nc";
Symbol 560 MovieClip Frame 1
t = "ship4";
c = "nc";
Symbol 564 MovieClip Frame 1
t = "ship2";
c = "nc";
Symbol 565 MovieClip [bg1] Frame 1
#initclip 43
Object.registerClass("bg1", Background);
#endinitclip
Symbol 566 MovieClip Frame 1
t = "bgbuilding1";
Symbol 567 MovieClip Frame 1
t = "bgtower1";
Symbol 568 MovieClip Frame 1
t = "bgbuilding2";
Symbol 569 MovieClip Frame 1
t = "bgtower2";
Symbol 570 MovieClip Frame 1
t = "bgtruffleBuilding";
Symbol 571 MovieClip [background1] Frame 1
#initclip 44
Object.registerClass("background1", Background);
#endinitclip
Symbol 574 MovieClip Frame 1
t = "railing";
c = "nc";
Symbol 576 MovieClip [levitator] Frame 1
#initclip 45
Object.registerClass("levitator", Levitator);
#endinitclip
_visible = false;
Symbol 577 MovieClip Frame 1
c = "nc";
t = "levitator";
Symbol 580 MovieClip Frame 1
t = "vertWall";
c = "wall";
Symbol 585 MovieClip Frame 1
t = "crateFuture.blank";
c = "floor";
Symbol 586 MovieClip Frame 1
this._visible = false;
c = "nc";
t = "checkPoint";
Symbol 591 MovieClip Frame 1
t = "platform";
c = "floor";
Symbol 594 MovieClip Frame 1
t = "turretBin2";
c = "floor";
Symbol 597 MovieClip Frame 1
t = "platformFloor";
c = "floor";
Symbol 598 MovieClip Frame 1
t = "floor.ender";
c = "nc";
Symbol 610 MovieClip Frame 13
_parent.gotoAndStop("attack");
Symbol 614 MovieClip Frame 13
_parent.spawnPickup();
_parent.removeMovieClip();
stop();
Symbol 615 MovieClip Frame 13
_parent.gotoAndStop("inactive");
Symbol 616 MovieClip [turret] Frame 1
#initclip 46
Object.registerClass("turret", Turret);
#endinitclip
stop();
Symbol 617 MovieClip Frame 1
c = "enemy";
t = "turret";
Instance of Symbol 616 MovieClip [turret] "enemy" in Symbol 617 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("getReady");
}
Symbol 620 MovieClip Frame 1
t = "platformEnder2";
c = "nc";
Symbol 623 MovieClip Frame 1
t = "platformSupport.buttress";
c = "nc";
Symbol 626 MovieClip Frame 1
t = "platformSupport.pole";
c = "nc";
Symbol 629 MovieClip Frame 1
t = "platformSupport.foot";
c = "nc";
Symbol 632 MovieClip Frame 1
t = "platformEnder";
c = "nc";
Symbol 635 MovieClip Frame 1
t = "platformSupport.pole2";
c = "nc";
Symbol 638 MovieClip Frame 1
t = "platformSupport.foot2";
c = "nc";
Symbol 641 MovieClip Frame 1
t = "platformStand";
c = "nc";
Symbol 644 MovieClip Frame 1
t = "platformSupport.buttress2";
c = "nc";
Symbol 653 MovieClip Frame 13
_parent.spawnPickup();
_parent.removeMovieClip();
stop();
Symbol 654 MovieClip Frame 7
_parent.removeMovieClip();
stop();
Symbol 655 MovieClip [lilFlyinDude] Frame 1
#initclip 47
Object.registerClass("lilFlyinDude", LilFlyinDude);
#endinitclip
Symbol 655 MovieClip [lilFlyinDude] Frame 5
stop();
Symbol 656 MovieClip Frame 1
c = "enemy";
t = "lilFlyinDude";
Symbol 660 MovieClip Frame 1
t = "ladder";
c = "ladder";
Symbol 663 MovieClip Frame 1
t = "vertWallconnector";
c = "nc";
Symbol 665 MovieClip Frame 1
t = "floor.ender3.Left";
c = "floor";
Symbol 667 MovieClip Frame 1
t = "floor.ender2.Left";
c = "floor";
Symbol 681 MovieClip Frame 12
_parent.spawnPickup();
_parent.removeMovieClip();
stop();
Symbol 681 MovieClip Frame 22
stop();
Symbol 682 MovieClip Frame 5
_parent.hitCount++;
if (_parent.hitCount == 4) {
_parent.gotoAndStop("die");
} else {
_parent.gotoAndStop("walk");
}
Symbol 694 MovieClip Frame 4
_parent._xscale = _parent._xscale * -1;
Symbol 695 MovieClip [bigDude] Frame 1
#initclip 48
Object.registerClass("bigDude", BigDude);
#endinitclip
stop();
Symbol 696 MovieClip Frame 1
t = "bigDude";
c = "enemy";
Symbol 700 MovieClip Frame 1
t = "ladder.top";
c = "ladder";
Symbol 708 MovieClip Frame 11
_parent.spawnPickup();
_parent.removeMovieClip();
stop();
Symbol 709 MovieClip [bigFlyinDude] Frame 1
#initclip 49
Object.registerClass("bigFlyinDude", BigFlyinDude);
#endinitclip
stop();
Symbol 710 MovieClip Frame 1
c = "enemy";
t = "bigFlyinDude";
Symbol 719 MovieClip Frame 12
_parent.spawnPickup();
_parent.removeMovieClip();
stop();
Symbol 720 MovieClip Frame 7
_parent.removeMovieClip();
stop();
Symbol 721 MovieClip [lilDude] Frame 1
#initclip 50
Object.registerClass("lilDude", LilDude);
#endinitclip
stop();
Symbol 722 MovieClip Frame 1
c = "enemy";
t = "lilDude";
Symbol 723 MovieClip Frame 1
t = "floor.ender3";
c = "floor";
Symbol 724 MovieClip [invisibleWall] Frame 1
this._visible = false;
Symbol 725 MovieClip Frame 1
t = "invisibleWall";
c = "wall";
Symbol 730 MovieClip [conveyor] Frame 1
#initclip 51
Object.registerClass("conveyor", Conveyor);
#endinitclip
Symbol 731 MovieClip Frame 1
c = "nc";
t = "conveyor";
Symbol 732 MovieClip Frame 1
t = "floor.ender2";
c = "floor";
Instance of Symbol 734 MovieClip in Symbol 736 MovieClip [spring] Frame 1
onClipEvent (load) {
startY = _y;
yVel = 0.2;
}
onClipEvent (enterFrame) {
_y = (_y - yVel);
if (_y < 0) {
_y = startY;
yVel = 0.2;
_alpha = 120;
_xscale = 100;
}
yVel = yVel * 1.2;
_alpha = (_alpha - 6);
_xscale = (_xscale * 0.98);
}
Instance of Symbol 734 MovieClip in Symbol 736 MovieClip [spring] Frame 1
onClipEvent (load) {
startY = _y;
yVel = 0.2;
}
onClipEvent (enterFrame) {
_y = (_y - yVel);
if (_y < -75) {
_y = startY;
yVel = 0.2;
_alpha = 120;
_xscale = 100;
}
yVel = yVel * 1.2;
_alpha = (_alpha - 3);
_xscale = (_xscale * 0.98);
}
Instance of Symbol 734 MovieClip in Symbol 736 MovieClip [spring] Frame 6
onClipEvent (load) {
startY = _y;
yVel = 0.2;
}
onClipEvent (enterFrame) {
_y = (_y - yVel);
if (_y < 0) {
_y = startY;
yVel = 0.2;
_alpha = 120;
_xscale = 100;
}
yVel = yVel * 1.2;
_alpha = (_alpha - 6);
_xscale = (_xscale * 0.98);
}
Symbol 737 MovieClip Frame 1
c = "nc";
t = "spring";
Symbol 740 MovieClip Frame 1
t = "crateWeird";
c = "floor";
Symbol 742 MovieClip Frame 1
t = "crateFuture.walkman";
c = "floor";
Symbol 746 MovieClip Frame 1
t = "crateFuture.KV";
c = "floor";
Symbol 747 MovieClip Frame 1
t = "weaponLocker2";
c = "nc";
Symbol 753 MovieClip [warpGateLeft] Frame 1
#initclip 52
Object.registerClass("warpGateLeft", WarpGate);
#endinitclip
Symbol 754 MovieClip Frame 1
c = "nc";
t = "warpGateLeft";
Symbol 761 MovieClip [moving2] Frame 1
#initclip 53
Object.registerClass("moving2", MovingPlatform);
#endinitclip
Symbol 762 MovieClip Frame 1
c = "floor";
t = "moving2";
Symbol 763 MovieClip Frame 1
c = "nc";
t = "pickup";
Symbol 764 MovieClip [warpGateRight] Frame 1
#initclip 54
Object.registerClass("warpGateRight", WarpGate);
#endinitclip
Symbol 765 MovieClip Frame 1
c = "nc";
t = "warpGateRight";
Symbol 774 MovieClip [yayPost] Frame 1
stop();
Symbol 774 MovieClip [yayPost] Frame 28
stop();
Instance of Symbol 773 MovieClip in Symbol 774 MovieClip [yayPost] Frame 28
onClipEvent (load) {
startX = _x;
startY = _y;
yVel = 0.1;
angle = 0;
angleVel = 0;
}
onClipEvent (enterFrame) {
angle = angle + (yVel * 0.05);
_x = (startX + (Math.sin(angle) * 30));
yVel = yVel * 1.1;
if (yVel > 2) {
yVel = 2;
}
_y = (_y - yVel);
}
Symbol 775 MovieClip Frame 1
c = "nc";
t = "yayPost";
Symbol 780 MovieClip Frame 1
t = "generator";
c = "nc";
Symbol 783 MovieClip Frame 1
t = "fuelThing";
c = "nc";
Symbol 784 MovieClip [level1] Frame 1
#initclip 55
Object.registerClass("level1", World);
#endinitclip
Instance of Symbol 617 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t4, ss:7, mRange:600};
}
Instance of Symbol 617 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
param = {dir:1, ta:_parent.t1, ss:7};
}
Instance of Symbol 617 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
param = {dir:1, ta:_parent.t2, ss:7};
}
Instance of Symbol 696 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
this.param = {m:"patrol", a:"walk", speed:3, dir:-1, cp:0, p:[this._parent.e2p1._x, this._parent.e2p2._x]};
}
Instance of Symbol 696 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
this.param = {m:"patrol", a:"walk", speed:3, dir:-1, cp:0, p:[this._parent.e3p1._x, this._parent.e3p2._x]};
}
Instance of Symbol 731 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
dir = -1;
speed = 10;
}
Instance of Symbol 731 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 731 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 731 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 731 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 731 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 731 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 696 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
this.param = {m:"patrol", a:"walk", speed:3, dir:-1, cp:0, p:[this._parent.e1p1._x, this._parent.e1p2._x]};
}
Instance of Symbol 617 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t5, ss:7, mRange:600};
}
Instance of Symbol 754 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
ex = _parent.appear1._x;
ey = _parent.appear1._y;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 765 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
ex = _parent.appear2._x;
ey = _parent.appear2._y;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 617 MovieClip in Symbol 784 MovieClip [level1] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t3, ss:7};
}
Symbol 789 MovieClip Frame 13
this._visible = false;
Symbol 790 MovieClip Frame 1
this._visible = false;
stop();
Symbol 790 MovieClip Frame 5
_parent.pco.setTransform({ra:100, rb:51, ga:100, gb:51, ba:100, bb:51, aa:100, ab:100});
_parent.sprite.stop();
this._visible = true;
Symbol 790 MovieClip Frame 6
_parent.pco.setTransform({ra:100, rb:102, ga:100, gb:102, ba:100, bb:102, aa:100, ab:100});
Symbol 790 MovieClip Frame 7
_parent.pco.setTransform({ra:100, rb:153, ga:100, gb:153, ba:100, bb:153, aa:100, ab:100});
Symbol 790 MovieClip Frame 8
_parent.pco.setTransform({ra:100, rb:204, ga:100, gb:204, ba:100, bb:204, aa:100, ab:100});
Symbol 790 MovieClip Frame 9
_parent.pco.setTransform({ra:100, rb:51, ga:100, gb:51, ba:100, bb:51, aa:100, ab:100});
Symbol 790 MovieClip Frame 10
_parent._alpha = 86;
dir = _parent._xscale / 100;
_parent._xscale = 86 * dir;
_parent._yscale = 86;
Symbol 790 MovieClip Frame 11
_parent._alpha = 72;
_parent._xscale = 72 * dir;
_parent._yscale = 72;
Symbol 790 MovieClip Frame 12
_parent._alpha = 58;
_parent._xscale = 58 * dir;
_parent._yscale = 58;
Symbol 790 MovieClip Frame 13
_parent._alpha = 44;
_parent._xscale = 44 * dir;
_parent._yscale = 44;
Symbol 790 MovieClip Frame 14
_parent._alpha = 30;
_parent._xscale = 30 * dir;
_parent._yscale = 30;
Symbol 790 MovieClip Frame 15
_parent._alpha = 15;
_parent._xscale = 15 * dir;
_parent._yscale = 15;
Symbol 790 MovieClip Frame 16
_parent._alpha = 0;
_parent._xscale = 0;
_parent._yscale = 0;
Symbol 790 MovieClip Frame 17
_parent._parent.drawScreen(0, 0);
Symbol 790 MovieClip Frame 18
_parent._alpha = 0;
_parent._xscale = 0;
_parent._yscale = 0;
Symbol 790 MovieClip Frame 19
_parent._alpha = 15;
_parent._xscale = 15 * dir;
_parent._yscale = 15;
Symbol 790 MovieClip Frame 20
_parent._alpha = 30;
_parent._xscale = 30 * dir;
_parent._yscale = 30;
Symbol 790 MovieClip Frame 21
_parent._alpha = 44;
_parent._xscale = 44 * dir;
_parent._yscale = 44;
Symbol 790 MovieClip Frame 22
_parent._alpha = 58;
_parent._xscale = 58 * dir;
_parent._yscale = 58;
Symbol 790 MovieClip Frame 23
_parent._alpha = 72;
_parent._xscale = 72 * dir;
_parent._yscale = 72;
Symbol 790 MovieClip Frame 24
_parent._alpha = 86;
_parent._xscale = 86 * dir;
_parent._yscale = 86;
Symbol 790 MovieClip Frame 25
_parent._xscale = 100 * dir;
_parent._yscale = 100;
delete dir;
_parent.pco.setTransform({ra:100, rb:51, ga:100, gb:51, ba:100, bb:51, aa:100, ab:100});
Symbol 790 MovieClip Frame 26
_parent.pco.setTransform({ra:100, rb:204, ga:100, gb:204, ba:100, bb:204, aa:100, ab:100});
Symbol 790 MovieClip Frame 27
_parent.pco.setTransform({ra:100, rb:153, ga:100, gb:153, ba:100, bb:153, aa:100, ab:100});
Symbol 790 MovieClip Frame 28
_parent.pco.setTransform({ra:100, rb:102, ga:100, gb:102, ba:100, bb:102, aa:100, ab:100});
Symbol 790 MovieClip Frame 29
_parent.pco.setTransform({ra:100, rb:51, ga:100, gb:51, ba:100, bb:51, aa:100, ab:100});
Symbol 790 MovieClip Frame 30
_parent.pco.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:100});
_parent.sprite.play();
_parent.active = true;
Symbol 790 MovieClip Frame 31
gotoAndStop ("off");
Instance of Symbol 794 MovieClip in Symbol 803 MovieClip Frame 2
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Instance of Symbol 794 MovieClip in Symbol 803 MovieClip Frame 4
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Instance of Symbol 794 MovieClip in Symbol 803 MovieClip Frame 9
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Symbol 803 MovieClip Frame 17
_parent._parent.playerDie();
Symbol 803 MovieClip Frame 43
gotoAndPlay (1);
Symbol 822 MovieClip Frame 13
gotoAndPlay (1);
Symbol 853 MovieClip Frame 1
count = 0;
Instance of Symbol 787 MovieClip in Symbol 853 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay ("start");
}
Symbol 853 MovieClip Frame 39
count++;
if (count < 5) {
gotoAndPlay ("loop");
}
Symbol 853 MovieClip Frame 40
count = 0;
Symbol 853 MovieClip Frame 64
gotoAndPlay ("loop");
Symbol 860 MovieClip Frame 1
stop();
Symbol 860 MovieClip Frame 5
stop();
Instance of Symbol 860 MovieClip "skid" in Symbol 913 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("off");
}
Instance of Symbol 870 MovieClip "attack" in Symbol 913 MovieClip Frame 2
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Symbol 913 MovieClip Frame 7
_parent.attack = 0;
gotoAndPlay (1);
Instance of Symbol 891 MovieClip in Symbol 913 MovieClip Frame 17
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Instance of Symbol 787 MovieClip in Symbol 913 MovieClip Frame 30
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 906 MovieClip in Symbol 913 MovieClip Frame 31
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Symbol 913 MovieClip Frame 53
_parent.attacking = 0;
Instance of Symbol 891 MovieClip in Symbol 914 MovieClip Frame 6
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Symbol 914 MovieClip Frame 19
_parent.megaStarted = 1;
Instance of Symbol 787 MovieClip in Symbol 914 MovieClip Frame 19
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 906 MovieClip "attack" in Symbol 914 MovieClip Frame 20
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Symbol 914 MovieClip Frame 34
_parent._parent.flashScreen();
_parent._parent.killEmAll();
Symbol 914 MovieClip Frame 35
_parent._parent.flashScreen();
_parent._parent.killEmAll();
Symbol 914 MovieClip Frame 36
_parent._parent.flashScreen();
_parent._parent.killEmAll();
Symbol 914 MovieClip Frame 37
_parent._parent.flashScreen();
_parent._parent.killEmAll();
Symbol 914 MovieClip Frame 38
_parent._parent.killEmAll();
Symbol 914 MovieClip Frame 39
_parent._parent.killEmAll();
Symbol 914 MovieClip Frame 40
_parent._parent.killEmAll();
Symbol 914 MovieClip Frame 41
_parent.attack = 0;
_parent.megaAttack = 0;
_parent.megaStarted = 0;
_parent.currentMega--;
Symbol 918 MovieClip Frame 1
stop();
Symbol 918 MovieClip Frame 4
stop();
Instance of Symbol 918 MovieClip "skid" in Symbol 932 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("off");
}
Instance of Symbol 925 MovieClip "attack" in Symbol 932 MovieClip Frame 2
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Symbol 932 MovieClip Frame 7
if (_parent.attackStillDown && (_parent.currentMega > 0)) {
_parent.megaAttack = 1;
} else {
_parent.attack = 0;
gotoAndPlay (1);
}
Instance of Symbol 951 MovieClip "attack" in Symbol 982 MovieClip Frame 3
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Symbol 982 MovieClip Frame 7
_parent.attack = 0;
gotoAndPlay (1);
Instance of Symbol 989 MovieClip "attack" in Symbol 993 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Symbol 993 MovieClip Frame 6
_parent._parent.grenGen(1);
Symbol 993 MovieClip Frame 8
_parent.attack = 0;
gotoAndPlay (1);
Symbol 998 MovieClip Frame 1
stop();
Symbol 998 MovieClip Frame 4
stop();
Instance of Symbol 997 MovieClip "attack" in Symbol 1002 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Instance of Symbol 998 MovieClip "skid" in Symbol 1002 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("off");
}
Symbol 1002 MovieClip Frame 6
if (low) {
_parent._parent.grenGen(-1);
} else {
_parent._parent.grenGen(0);
}
Symbol 1002 MovieClip Frame 8
if (_parent.attackStillDown && (_parent.currentMega > 0)) {
if (low) {
_parent.megaAttack = 1;
}
} else {
_parent.attack = 0;
gotoAndPlay (1);
}
Symbol 1050 MovieClip Frame 1
stop();
Instance of Symbol 1049 MovieClip in Symbol 1050 MovieClip Frame 1
onClipEvent (load) {
spin = _parent._parent.jumpRot;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + spin);
spin = spin * _parent._parent.spinDecay;
}
Symbol 1063 MovieClip Frame 5
stop();
Symbol 1071 MovieClip Frame 2
stop();
Symbol 1115 MovieClip Frame 5
gotoAndPlay (1);
Symbol 1119 MovieClip Frame 5
gotoAndPlay (1);
Instance of Symbol 1123 MovieClip "wings" in Symbol 1131 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Instance of Symbol 787 MovieClip "attack" in Symbol 1131 MovieClip Frame 20
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 1131 MovieClip "attack" in Symbol 1132 MovieClip Frame 1
/* no clip actions */
Symbol 1132 MovieClip Frame 21
_parent.enterLevel = 0;
_parent.active = true;
Instance of Symbol 1131 MovieClip "sprite" in Symbol 1132 MovieClip Frame 21
/* no clip actions */
Symbol 1139 MovieClip Frame 7
stop();
Instance of Symbol 787 MovieClip "sprite" in Symbol 1140 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 1139 MovieClip in Symbol 1140 MovieClip Frame 34
onClipEvent (load) {
_parent._parent.setBlend(this);
offset = 0.5;
}
onClipEvent (enterFrame) {
_y = (_y - offset);
offset = offset * 1.2;
}
Instance of Symbol 1127 MovieClip in Symbol 1140 MovieClip Frame 34
onClipEvent (load) {
offset = 0.5;
}
onClipEvent (enterFrame) {
_y = (_y - offset);
offset = offset * 1.2;
}
Symbol 1140 MovieClip Frame 106
_parent._parent.nextLevel();
stop();
Symbol 1142 MovieClip [hero] Frame 1
function setBlend(t) {
if (!_parent.flashOn) {
t.blendMode = "add";
} else {
t.blendMode = "multiply";
}
}
Instance of Symbol 787 MovieClip "sprite" in Symbol 1142 MovieClip [hero] Frame 1
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 789 MovieClip "levitate" in Symbol 1142 MovieClip [hero] Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 790 MovieClip "teleporter" in Symbol 1142 MovieClip [hero] Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 803 MovieClip "sprite" in Symbol 1142 MovieClip [hero] Frame 6
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 822 MovieClip "sprite" in Symbol 1142 MovieClip [hero] Frame 15
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 853 MovieClip "sprite" in Symbol 1142 MovieClip [hero] Frame 20
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 913 MovieClip "sprite" in Symbol 1142 MovieClip [hero] Frame 24
/* no clip actions */
Instance of Symbol 914 MovieClip "sprite" in Symbol 1142 MovieClip [hero] Frame 29
onClipEvent (enterFrame) {
if ((!_parent.megaStarted) && (!_parent.attackStillDown)) {
_parent.attack = 0;
_parent.megaAttack = 0;
}
}
Instance of Symbol 932 MovieClip "sprite" in Symbol 1142 MovieClip [hero] Frame 38
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 982 MovieClip "sprite" in Symbol 1142 MovieClip [hero] Frame 46
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 993 MovieClip "sprite" in Symbol 1142 MovieClip [hero] Frame 54
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 1002 MovieClip "sprite" in Symbol 1142 MovieClip [hero] Frame 76
onClipEvent (load) {
low = true;
}
Instance of Symbol 1045 MovieClip "sprite" in Symbol 1142 MovieClip [hero] Frame 86
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 1115 MovieClip "sprite" in Symbol 1142 MovieClip [hero] Frame 124
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 1119 MovieClip "sprite" in Symbol 1142 MovieClip [hero] Frame 129
onClipEvent (load) {
gotoAndPlay ("start");
}
Symbol 1143 MovieClip [bg2] Frame 1
#initclip 60
Object.registerClass("bg2", Background);
#endinitclip
Symbol 1144 MovieClip [background2] Frame 1
#initclip 57
Object.registerClass("background2", Background);
#endinitclip
Symbol 1145 MovieClip Frame 1
t = "floor.ender.left";
c = "floor";
Symbol 1146 MovieClip [moving6] Frame 1
#initclip 58
Object.registerClass("moving6", MovingPlatform);
#endinitclip
Symbol 1147 MovieClip Frame 1
c = "floor";
t = "moving6";
Symbol 1148 MovieClip [level2] Frame 1
#initclip 59
Object.registerClass("level2", World);
#endinitclip
Instance of Symbol 731 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
dir = 1;
speed = 6;
}
Instance of Symbol 731 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
dir = 1;
speed = 6;
}
Instance of Symbol 731 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
dir = 1;
speed = 6;
}
Instance of Symbol 754 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
ex = _parent.appear1._x;
ey = _parent.appear1._y;
}
Instance of Symbol 696 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
this.param = {m:"patrol", a:"walk", speed:3, dir:1, cp:1, p:[this._parent.e2p1._x, this._parent.e2p2._x]};
}
Instance of Symbol 696 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
this.param = {m:"patrol", a:"walk", speed:3, dir:-1, cp:0, p:[this._parent.e1p1._x, this._parent.e1p2._x]};
}
Instance of Symbol 696 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
this.param = {m:"patrol", a:"walk", speed:3, dir:1, cp:1, p:[this._parent.e3p1._x, this._parent.e3p2._x]};
}
Instance of Symbol 696 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
this.param = {m:"patrol", a:"walk", speed:3, dir:-1, cp:0, p:[this._parent.e4p1._x, this._parent.e4p2._x]};
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 617 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t7, ss:7, mRange:600};
}
Instance of Symbol 617 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t8, ss:7, mRange:600};
}
Instance of Symbol 617 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t5, ss:7, mRange:600};
}
Instance of Symbol 617 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t6, ss:7, mRange:600};
}
Instance of Symbol 617 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
param = {dir:1, ta:_parent.t1, ss:7, mRange:600};
}
Instance of Symbol 617 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
param = {dir:1, ta:_parent.t2, ss:7, mRange:600};
}
Instance of Symbol 617 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t3, ss:7, mRange:600};
}
Instance of Symbol 617 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t4, ss:7, mRange:600};
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1148 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Symbol 1149 MovieClip [bg3] Frame 1
#initclip 70
Object.registerClass("bg3", Background);
#endinitclip
Symbol 1150 MovieClip [background4] Frame 1
#initclip 61
Object.registerClass("background4", Background);
#endinitclip
Symbol 1151 MovieClip [moving27] Frame 1
#initclip 62
Object.registerClass("moving27", MovingPlatform);
#endinitclip
stop();
Symbol 1152 MovieClip Frame 1
c = "floor";
t = "moving27";
Symbol 1153 MovieClip [moving28] Frame 1
#initclip 63
Object.registerClass("moving28", MovingPlatform);
#endinitclip
stop();
Symbol 1154 MovieClip Frame 1
c = "floor";
t = "moving28";
Symbol 1155 MovieClip [moving10] Frame 1
#initclip 64
Object.registerClass("moving10", MovingPlatform);
#endinitclip
stop();
Symbol 1156 MovieClip Frame 1
c = "floor";
t = "moving10";
Symbol 1157 MovieClip [switch] Frame 1
#initclip 65
Object.registerClass("switch", Switch);
#endinitclip
Instance of Symbol 391 MovieClip in Symbol 1157 MovieClip [switch] Frame 1
onClipEvent (load) {
this.blendMode = "add";
this._alpha = 40;
}
Symbol 1158 MovieClip Frame 1
t = "switch2";
c = "nc";
Symbol 1159 MovieClip [moving12] Frame 1
#initclip 66
Object.registerClass("moving12", MovingPlatform);
#endinitclip
stop();
Symbol 1160 MovieClip Frame 1
c = "floor";
t = "moving12";
Symbol 1161 MovieClip [moving13] Frame 1
#initclip 67
Object.registerClass("moving13", MovingPlatform);
#endinitclip
stop();
Symbol 1162 MovieClip Frame 1
c = "floor";
t = "moving13";
Symbol 1163 MovieClip [moving11] Frame 1
#initclip 68
Object.registerClass("moving11", MovingPlatform);
#endinitclip
stop();
Symbol 1164 MovieClip Frame 1
c = "floor";
t = "moving11";
Symbol 1165 MovieClip [level4] Frame 1
#initclip 69
Object.registerClass("level4", World);
#endinitclip
Instance of Symbol 617 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t7, ss:7, mRange:600};
}
Instance of Symbol 617 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
param = {dir:1, ta:_parent.t1, ss:7, mRange:600};
}
Instance of Symbol 696 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
this.param = {m:"patrol", a:"walk", speed:3, dir:-1, cp:0, p:[this._parent.e1p1._x, this._parent.e1p2._x]};
}
Instance of Symbol 617 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
param = {dir:1, ta:_parent.t5, ss:7, mRange:600};
}
Instance of Symbol 617 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t4, ss:7, mRange:600};
}
Instance of Symbol 617 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
param = {dir:1, ta:_parent.t3, ss:7, mRange:600};
}
Instance of Symbol 617 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
param = {dir:1, ta:_parent.t2, ss:7, mRange:600};
}
Instance of Symbol 577 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
mSpeed = 40;
}
Instance of Symbol 754 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
ex = _parent.appear1._x;
ey = _parent.appear1._y;
}
Instance of Symbol 696 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
this.param = {m:"patrol", a:"walk", speed:3, dir:1, cp:1, p:[this._parent.e2p1._x, this._parent.e2p2._x]};
}
Instance of Symbol 617 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
param = {dir:1, ta:_parent.t6, ss:7, mRange:600};
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 1158 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
target_lvl = "floors";
target_mc = "switchPlatform2";
}
Instance of Symbol 1158 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
target_lvl = "floors";
target_mc = "switchPlatform4";
}
Instance of Symbol 1158 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
target_lvl = "floors";
target_mc = "switchPlatform3";
}
Instance of Symbol 1158 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
target_lvl = "floors";
target_mc = "switchPlatform5";
}
Instance of Symbol 1158 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
target_lvl = "floors";
target_mc = "switchPlatform6";
}
Instance of Symbol 754 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
ex = _parent.appear2._x;
ey = _parent.appear2._y;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 696 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
this.param = {m:"patrol", a:"walk", speed:3, dir:-1, cp:1, p:[this._parent.e3p1._x, this._parent.e3p2._x]};
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 1158 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
target_lvl = "floors";
target_mc = "switchPlatform7";
}
Instance of Symbol 1158 MovieClip in Symbol 1165 MovieClip [level4] Frame 1
onClipEvent (load) {
target_lvl = "floors";
target_mc = "switchPlatform8";
}
Symbol 1166 MovieClip [bg4] Frame 1
#initclip 77
Object.registerClass("bg4", Background);
#endinitclip
Symbol 1167 MovieClip [background3] Frame 1
#initclip 71
Object.registerClass("background3", Background);
#endinitclip
Symbol 1168 MovieClip [moving1] Frame 1
#initclip 72
Object.registerClass("moving1", MovingPlatform);
#endinitclip
Symbol 1169 MovieClip Frame 1
c = "floor";
t = "moving1";
Symbol 1170 MovieClip [moving3] Frame 1
#initclip 73
Object.registerClass("moving3", MovingPlatform);
#endinitclip
Symbol 1171 MovieClip Frame 1
c = "floor";
t = "moving3";
Symbol 1172 MovieClip [moving8] Frame 1
#initclip 74
Object.registerClass("moving8", MovingPlatform);
#endinitclip
stop();
Symbol 1173 MovieClip Frame 1
c = "floor";
t = "moving8";
Symbol 1174 MovieClip [moving9] Frame 1
#initclip 75
Object.registerClass("moving9", MovingPlatform);
#endinitclip
Symbol 1175 MovieClip Frame 1
c = "floor";
t = "moving9";
Symbol 1176 MovieClip [level3] Frame 1
#initclip 76
Object.registerClass("level3", World);
#endinitclip
Instance of Symbol 617 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
param = {dir:1, ta:_parent.t8, ss:7};
}
Instance of Symbol 617 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t6, ss:7, mRange:600};
}
Instance of Symbol 577 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
mSpeed = 40;
}
Instance of Symbol 617 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t1, ss:7};
}
Instance of Symbol 617 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t2, ss:7, mRange:600};
}
Instance of Symbol 696 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
this.param = {m:"patrol", a:"walk", speed:3, dir:1, cp:1, p:[this._parent.e1p1._x, this._parent.e1p2._x]};
}
Instance of Symbol 696 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
this.param = {m:"patrol", a:"walk", speed:3, dir:-1, cp:1, p:[this._parent.e2p1._x, this._parent.e2p2._x]};
}
Instance of Symbol 617 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t3, ss:7, mRange:600};
}
Instance of Symbol 617 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t4, ss:7, mRange:600};
}
Instance of Symbol 617 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t5, ss:7, mRange:600};
}
Instance of Symbol 696 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
this.param = {m:"patrol", a:"walk", speed:3, dir:-1, cp:0, p:[this._parent.e3p1._x, this._parent.e3p2._x]};
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 617 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t7, ss:7, mRange:600};
}
Instance of Symbol 731 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 731 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 731 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 731 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 731 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 731 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 731 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 731 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 731 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 731 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 731 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 731 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 731 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 731 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 731 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 754 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
ex = _parent.appear1._x;
ey = _parent.appear1._y;
}
Instance of Symbol 696 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
this.param = {m:"patrol", a:"walk", speed:3, dir:-1, cp:0, p:[this._parent.e4p1._x, this._parent.e4p2._x]};
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 763 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 577 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
mSpeed = 40;
}
Instance of Symbol 1158 MovieClip in Symbol 1176 MovieClip [level3] Frame 1
onClipEvent (load) {
target_lvl = "floors";
target_mc = "switchPlatform1";
}