Frame 1
kv_v = {c:308, a:0, da:["distralytics.com", "distralytics.co.uk"]};
kv_v.i = 0;
while (kv_v.i < kv_v.da.length) {
System.security.allowDomain(kv_v.da[kv_v.i], (kv_v.c + ".c.") + kv_v.da[kv_v.i], "*." + kv_v.da[kv_v.i]);
kv_v.i++;
}
kv_v.lc = function () {
var _local1 = ((("http://" + kv_v.c) + ".c.") + kv_v.da[kv_v.a % kv_v.da.length]) + kv_v.lurl;
System.security.allowDomain(_local1);
kv_v.l_mcl.loadClip(_local1, kv_v.t_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_v.fpv = getVersion().split(" ")[1].split(",")[0];
kv_v.lurl = "/control/tracking/tracker.swf?r=" + Math.floor(Math.random() * 10000);
kv_v.t_mc = createEmptyMovieClip("kv_tracker", -16734);
kv_v.l_mcl = new MovieClipLoader();
kv_v.mcl_l = {onLoadError:function () {
kv_v.a++;
kv_v.lc();
}, onLoadStart:function (m) {
System.security.allowDomain(m._url);
}};
kv_v.l_mcl.addListener(kv_v.mcl_l);
kv_v.lc();
_global.masterDomain = "swarm.killerviral.com";
_global.assetsURL = "http://swarm.killerviral.com/superwalkland/";
_global.highscoresURL = "http://highscores.killerviral.com/superwalkland/";
_global.isMaster = _root._url.indexOf(_global.masterDomain) >= 0;
_global.domain = ((_root._url.split("/")[0].indexOf("http") == -1) ? "Local" : (_root._url.split("/")[2].split("?")[0]));
_global.playerVersion = Number(getVersion().substr(getVersion().indexOf(" ") + 1).split(",")[0]);
_global.movieVersion = (_root.getSWFVersion ? (_root.getSWFVersion()) : 8);
_global.ori_dom = (_root.ori_dom ? (_root.ori_dom) : (domain));
System.security.allowDomain(_global.masterDomain);
var game_version = 2;
if (!testMode) {
stop();
if (playerVersion < 8) {
loadMovie (_global.assetsURL + "error.swf", _root);
} else if (isMaster) {
play();
} else {
var vc_lv = new LoadVars();
vc_lv.onLoad = function (success) {
clearInterval(tOIntId);
delete tOIntId;
if (success) {
if (Number(vc_lv.v) > game_version) {
loadMovie ((_global.assetsURL + "game.swf?ori_dom=") + ori_dom, _root);
} else {
play();
}
} else {
play();
}
delete vc_lv;
};
tOIntId = setInterval(timeout, 2000);
vc_lv.load(_global.assetsURL + "v.php");
}
}
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 = 10;
player.runMod = 10;
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");
_global.submitScore = player.score;
}
function playerDie() {
curscore = (player.score = player.score - 750);
_global.submitScore = curscore;
gui.diePts.gotoAndPlay("on");
if (curscore < 0) {
curscore = 0;
}
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(reason) {
if (reason == "died") {
levels[levels.prevLvl].ccp = levels[levels.prevLvl].pcp;
gotoAndStop("level" + levels.prevLvl);
} else {
curscore = player.score;
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");
});
cm.customItems.push(kvl);
_root.menu = cm;
_root.switchSnd();
Instance of Symbol 200 MovieClip "gui" in Frame 6
onClipEvent (load) {
pickupColour = "c1";
}
onClipEvent (enterFrame) {
}
Instance of Symbol 200 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 13
nextLevel("died");
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 475 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 1049 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 1055 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 1072 MovieClip [background3] "mg" in Frame 23
/* no clip actions */
Frame 24
ident = true;
_root.setVol(35);
Frame 25
_root.gotoAndStop("level" + levels.lvl);
Symbol 14 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 1082 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 1083 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 1084 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 1085 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 1086 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");
}
super.onEnterFrame();
}
}
}
var pow = 35;
var mDist = 600;
var tDist = 0;
var f = 0;
static var at = 15;
static var rs = 3;
}
Symbol 1087 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 1088 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 1089 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 1090 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);
}
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 1091 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 1092 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 1093 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 1094 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 1095 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");
} 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");
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 1096 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 1097 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 1098 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");
}
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 1099 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 1100 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 1101 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();
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();
pt = true;
}
}
var wasStoodOn = false;
var isMP = true;
var dx = 0;
var dy = 0;
var pt = false;
}
Symbol 1102 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 42
_root.play();
Symbol 61 MovieClip Frame 44
_root.play();
Symbol 61 MovieClip Frame 45
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 = 5;
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 99 MovieClip Frame 7
stop();
Symbol 114 Button
on (release) {
getURL ("http://www.killerviral.com", "_blank");
_root.kvClick(413);
}
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 5
stop();
Symbol 129 MovieClip Frame 1
stop();
Instance of Symbol 121 MovieClip in Symbol 129 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 129 MovieClip Frame 2
stop();
Symbol 129 MovieClip Frame 3
stop();
Symbol 129 MovieClip Frame 4
stop();
Symbol 130 Button
on (release) {
getURL ("http://killerviral.com/site/competitions/detail.php?articleId=672§Id=19", "_blank");
_root.kvClick(410);
}
Symbol 139 Button
on (release) {
_root.gotoAndStop("level1");
}
Instance of Symbol 129 MovieClip in Symbol 140 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 141 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 129 MovieClip in Symbol 141 MovieClip Frame 27
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 141 MovieClip Frame 32
_parent.gui.gotoAndPlay("in");
stop();
Instance of Symbol 131 MovieClip in Symbol 141 MovieClip Frame 32
onClipEvent (load) {
onMouseDown = function () {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.kvClick(412);
}
};
}
Instance of Symbol 140 MovieClip "contentClip" in Symbol 141 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 148 MovieClip Frame 69
stop();
Symbol 151 MovieClip Frame 71
stop();
Symbol 152 MovieClip Frame 1
stop();
Instance of Symbol 147 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 152 MovieClip Frame 2
stop();
Symbol 152 MovieClip Frame 10
stop();
Symbol 164 Button
on (release) {
_parent.openMenu();
}
Symbol 167 Button
on (release) {
_parent.openMenu();
}
Symbol 170 Button
on (release) {
_parent.openMenu();
}
Symbol 173 Button
on (release) {
_parent.openMenu();
}
Symbol 174 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 5
stop();
Symbol 174 MovieClip Frame 9
stop();
Symbol 174 MovieClip Frame 13
stop();
Symbol 191 MovieClip Frame 1
width = _width;
Symbol 196 Button
on (release) {
_root.theMenu.openURL("http://www.killerviral.com/redir.php?urlId=79", true);
}
Symbol 199 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 73
Symbol 200 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 145 MovieClip in Symbol 200 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 174 MovieClip "pickupIcon" in Symbol 200 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(_parent.pickupColour);
}
Instance of Symbol 174 MovieClip "pickupIcon" in Symbol 200 MovieClip Frame 8
onClipEvent (load) {
gotoAndStop(_parent.pickupColour);
}
Symbol 200 MovieClip Frame 9
_parent.startButton.gotoAndPlay("on");
gotoAndStop ("start");
Instance of Symbol 174 MovieClip "pickupIcon" in Symbol 200 MovieClip Frame 9
onClipEvent (load) {
gotoAndStop(_parent.pickupColour);
}
Symbol 200 MovieClip Frame 10
_parent.gui.indicator.gotoAndStop("optionsMenu");
stop();
Instance of Symbol 145 MovieClip in Symbol 200 MovieClip Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_parent.guiStatus = "start";
}
Symbol 200 MovieClip Frame 18
stop();
Instance of Symbol 145 MovieClip in Symbol 200 MovieClip Frame 18
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_parent.guiStatus = "game";
}
Symbol 206 Button
on (release) {
_parent.openURL("http://www.killerviral.com/redir.php?urlId=76");
}
Symbol 210 Button
on (release) {
gotoAndPlay ("keys");
}
Symbol 214 Button
on (release) {
getURL ("http://highscores.killerviral.com/superwalkland/highscores.php", "_blank");
_root.kvClick(411);
}
Symbol 217 Button
on (release) {
gotoAndStop ("howToPlay");
}
Symbol 220 Button
on (release) {
getURL ("http://killerviral.com/site/competitions/detail.php?articleId=672§Id=19", "_blank");
_root.kvClick(410);
}
Symbol 222 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 3
stop();
Symbol 225 MovieClip Frame 6
stop();
Symbol 227 Button
on (release) {
gotoAndPlay ("load");
}
Symbol 233 Button
on (release) {
gotoAndStop(rootMenu);
}
Symbol 237 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 241 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 252 Button
on (release) {
_root.p1Input = _root.controlSet2;
gotoAndStop ("wasd");
}
Symbol 255 Button
on (release) {
_root.p1Input = _root.controlSet1;
gotoAndStop ("cursor");
}
Symbol 257 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 7
stop();
Symbol 258 Button
on (release) {
getURL ("http://killerviral.com/site/competitions/detail.php?articleId=672§Id=19", "_blank");
_root.kvClick(410);
}
Symbol 261 Button
on (release) {
_parent.gotoAndStop("submitScore");
}
Symbol 262 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 2
stop();
Symbol 267 Button
on (release) {
_parent.gotoAndPlay("closeAndPlay");
}
Symbol 274 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 275 Button
on (release) {
getURL ("http://killerviral.com/site/competitions/detail.php?articleId=672§Id=19", "_blank");
_root.kvClick(410);
}
Symbol 278 Button
on (release) {
_parent.gotoAndPlay("closeAndRestart");
}
Symbol 285 Button
on (release) {
_root.theMenu.menuState = "pause";
_parent.gotoAndPlay("close");
}
Symbol 288 Button
on (release) {
_parent.openURL("http://www.killerviral.com/redir.php?urlId=77");
}
Symbol 289 Button
on (release) {
_root.theMenu.openURL("http://www.superwalkland.com/hscompetition.php" + _root.buildQS(_root.player.score));
}
Symbol 294 Button
on (release) {
gotoAndStop ("attacking");
}
Symbol 297 Button
on (release) {
gotoAndStop ("movement");
}
Symbol 300 Button
on (release) {
gotoAndStop ("objects");
}
Symbol 303 Button
on (release) {
gotoAndStop ("enemies");
}
Symbol 304 Button
on (release) {
_parent.gotoAndStop(_parent.rootMenu);
}
Symbol 307 Button
on (release) {
gotoAndStop ("start");
}
Symbol 314 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 7
stop();
Instance of Symbol 121 MovieClip in Symbol 314 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 314 MovieClip Frame 15
stop();
Symbol 314 MovieClip Frame 21
stop();
Symbol 314 MovieClip Frame 28
stop();
Symbol 320 Button
on (release) {
_root.theMenu.menuState = "pause";
_parent.gotoAndPlay("close");
}
Symbol 336 MovieClip Frame 1
function onRelease() {
play();
_value = !_value;
}
stop();
Symbol 336 MovieClip Frame 2
stop();
Symbol 340 Button
on (release) {
_parent.openURL("http://www.killerviral.com/redir.php?urlId=77");
}
Symbol 341 MovieClip Frame 1
function onhttpstatus(httpStatus) {
var _local1;
if (httpStatus < 100) {
_local1 = "flashError";
} else if (httpStatus < 200) {
_local1 = "informational";
} else if (httpStatus < 300) {
_local1 = "successful";
} else if (httpStatus < 400) {
_local1 = "redirection";
} else if (httpStatus < 500) {
_local1 = "clientError";
} else if (httpStatus < 600) {
_local1 = "serverError";
}
}
function onload(success) {
if (success) {
if (this.status == "saved") {
_parent.gotoAndStop("submitted");
} else {
feedback_txt.text = this.feedback;
}
} else {
feedback_txt.text = "unable to save game - please check your internet connection";
}
}
save_btn.onRelease = function () {
var _local2 = new LoadVars();
var _local3 = new LoadVars();
_local2.score = (isNaN(_global.submitScore) ? 0 : (_global.submitScore));
_local2.level = (isNaN(_global.submitLevel) ? 1 : (_global.submitLevel));
_local2.email = email_txt.text;
_local2.username = username_txt.text;
_local2.optIn1st = (optIn1st_mc._value ? true : false);
_local2.optInKV = (optInKV_mc._value ? true : false);
_local3.onLoad = onload;
_local3.onHTTPStatus = onhttpstatus;
_local2.sendAndLoad((_global.highscoresURL + "save.php?var=") + Math.random(), _local3);
};
Symbol 344 Button
on (release) {
gotoAndStop(lastPage);
}
Symbol 347 Button
on (release) {
gotoAndStop(lastPage);
}
Symbol 349 MovieClip Frame 1
rootMenu = "start";
stop();
Instance of Symbol 222 MovieClip "qual" in Symbol 349 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";
}
this.onRelease = function () {
switch (_root._quality) {
case "BEST" :
_root._quality = "LOW";
this.qual_txt.text = "Low Detail";
break;
case "HIGH" :
_root._quality = "BEST";
this.qual_txt.text = "Best Detail";
break;
case "MEDIUM" :
_root._quality = "HIGH";
this.qual_txt.text = "High Detail";
break;
case "LOW" :
_root._quality = "MEDIUM";
this.qual_txt.text = "Medium Detail";
}
};
}
Instance of Symbol 225 MovieClip "soundStatus" in Symbol 349 MovieClip Frame 1
onClipEvent (load) {
if (new Sound().getVolume() == 0) {
gotoAndStop ("off");
}
this.onRelease = function () {
if (new Sound().getVolume() == 0) {
gotoAndStop ("on");
new Sound().setVolume(100);
} else {
gotoAndStop ("off");
new Sound().setVolume(0);
}
};
}
Instance of Symbol 226 MovieClip in Symbol 349 MovieClip Frame 1
onClipEvent (load) {
var so = SharedObject.getLocal("savegame");
if (!so.data.levels) {
this._visible = false;
}
}
Symbol 349 MovieClip Frame 6
rootMenu = "pause";
stop();
Symbol 349 MovieClip Frame 11
stop();
Symbol 349 MovieClip Frame 16
stop();
Instance of Symbol 257 MovieClip in Symbol 349 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 349 MovieClip Frame 21
rootMenu = "level";
lastPage = "levelEnd";
stop();
Instance of Symbol 262 MovieClip in Symbol 349 MovieClip Frame 21
onClipEvent (load) {
if (_parent.scoreSubmitted) {
gotoAndStop ("off");
} else {
gotoAndStop (1);
}
}
Symbol 349 MovieClip Frame 28
rootMenu = "game";
lastPage = "gameEnd";
stop();
Instance of Symbol 262 MovieClip in Symbol 349 MovieClip Frame 28
onClipEvent (load) {
if (_parent.scoreSubmitted) {
gotoAndStop ("off");
} else {
gotoAndStop (1);
}
}
Symbol 349 MovieClip Frame 35
if (_root.player.score == 0) {
submit_score_btn._visible = false;
}
stop();
Symbol 349 MovieClip Frame 44
stop();
Symbol 349 MovieClip Frame 53
stop();
Instance of Symbol 121 MovieClip in Symbol 349 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 349 MovieClip Frame 62
stop();
Symbol 349 MovieClip Frame 72
scoreSubmitted = true;
Symbol 351 Button
on (release) {
if ((menuState != "levelEnd") && (menuState != "gameEnd")) {
play();
}
}
Symbol 352 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 202 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 352 MovieClip Frame 2
_root.startClip.contentClip.dontShowMe = true;
_root.setVol(60);
_root.isPaused = true;
Symbol 352 MovieClip Frame 6
_parent.gui.indicator.gotoAndStop("exitMenu");
stop();
Instance of Symbol 349 MovieClip "menuContent" in Symbol 352 MovieClip Frame 6
onClipEvent (load) {
if (_parent.menuState) {
gotoAndPlay(_parent.menuState);
}
}
Symbol 352 MovieClip Frame 13
_root.startClip.contentClip.dontShowMe = false;
_root.setVol(35);
_root.isPaused = false;
gotoAndStop ("off");
Symbol 352 MovieClip Frame 14
gotoAndStop ("off");
Symbol 352 MovieClip Frame 15
function openURL(link) {
getURL (link, "_blank");
}
Symbol 352 MovieClip Frame 20
_parent.startClip.contentClip.dontShowMe = false;
_root.isPaused = false;
_root.play();
gotoAndStop ("off");
Symbol 352 MovieClip Frame 21
gotoAndStop ("off");
Symbol 352 MovieClip Frame 22
function openURL(link) {
getURL (link, "_blank");
}
Symbol 352 MovieClip Frame 27
_parent.startClip.contentClip.dontShowMe = false;
_root.isPaused = false;
_root.player.score = 0;
_root.curscore = 0;
delete _root.levels;
_root.gotoAndPlay("restart");
Symbol 352 MovieClip Frame 28
menuState = null;
gotoAndStop ("off");
Symbol 353 MovieClip Frame 1
stop();
Symbol 353 MovieClip Frame 7
stop();
Symbol 362 MovieClip Frame 4
stop();
Symbol 370 MovieClip [pickedUp] Frame 30
_parent.removeMovieClip();
stop();
Symbol 371 MovieClip [pickup] Frame 1
#initclip 29
Object.registerClass("pickup", Pickup);
#endinitclip
Symbol 371 MovieClip [pickup] Frame 11
stop();
Symbol 371 MovieClip [pickup] Frame 27
stop();
Symbol 371 MovieClip [pickup] Frame 44
stop();
Symbol 371 MovieClip [pickup] Frame 61
stop();
Symbol 371 MovieClip [pickup] Frame 67
stop();
Symbol 379 MovieClip Frame 4
stop();
Symbol 380 MovieClip [shot] Frame 1
#initclip 22
Object.registerClass("shot", Shot);
#endinitclip
stop();
Symbol 382 MovieClip [checkPoint] Frame 1
#initclip 23
Object.registerClass("checkPoint", CheckPoint);
#endinitclip
this._visible = false;
Symbol 383 MovieClip Frame 1
this._visible = false;
Symbol 386 MovieClip Frame 27
_parent.gotoAndStop("stand");
Instance of Symbol 390 MovieClip in Symbol 391 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 392 MovieClip Frame 10
_parent.removeMovieClip();
stop();
Symbol 393 MovieClip Frame 8
_parent.removeMovieClip();
stop();
Symbol 395 MovieClip [spikeyDude] Frame 1
#initclip 24
Object.registerClass("spikeyDude", SpikeyDude);
#endinitclip
stop();
Symbol 398 MovieClip Frame 16
gotoAndPlay (1);
Symbol 406 MovieClip Frame 30
stop();
Symbol 409 MovieClip Frame 30
stop();
Instance of Symbol 406 MovieClip "equipGrenade" in Symbol 413 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 409 MovieClip "equipSword" in Symbol 413 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 413 MovieClip Frame 5
stop();
Symbol 413 MovieClip Frame 10
stop();
Symbol 417 MovieClip [weaponLocker] Frame 1
#initclip 25
Object.registerClass("weaponLocker", WeaponLocker);
#endinitclip
Instance of Symbol 398 MovieClip in Symbol 417 MovieClip [weaponLocker] Frame 1
onClipEvent (load) {
this.blendMode = "add";
this._alpha = 40;
}
Instance of Symbol 413 MovieClip "icon" in Symbol 417 MovieClip [weaponLocker] Frame 1
onClipEvent (load) {
gotoAndStop ("grenade");
}
Instance of Symbol 416 MovieClip in Symbol 417 MovieClip [weaponLocker] Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 424 MovieClip Frame 1
this._visible = false;
Symbol 430 MovieClip Frame 7
stop();
Symbol 431 MovieClip [bomb] Frame 1
#initclip 26
Object.registerClass("bomb", Bomb);
#endinitclip
Symbol 431 MovieClip [bomb] Frame 3
stop();
Symbol 433 MovieClip [weaponLocker2] Frame 1
#initclip 27
Object.registerClass("weaponLocker2", WeaponLocker);
#endinitclip
Instance of Symbol 398 MovieClip in Symbol 433 MovieClip [weaponLocker2] Frame 1
onClipEvent (load) {
this.blendMode = "add";
this._alpha = 40;
}
Instance of Symbol 413 MovieClip "icon" in Symbol 433 MovieClip [weaponLocker2] Frame 1
onClipEvent (load) {
gotoAndStop ("grenade");
}
Instance of Symbol 416 MovieClip in Symbol 433 MovieClip [weaponLocker2] Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 440 MovieClip Frame 16
gotoAndPlay (1);
Symbol 445 MovieClip Frame 30
_parent.gotoAndStop("inactive");
Symbol 446 MovieClip [switch2] Frame 1
#initclip 28
Object.registerClass("switch2", Switch);
#endinitclip
stop();
Instance of Symbol 440 MovieClip in Symbol 446 MovieClip [switch2] Frame 1
onClipEvent (load) {
this.blendMode = "add";
this._alpha = 40;
}
Symbol 446 MovieClip [switch2] Frame 2
stop();
Symbol 448 MovieClip Frame 1
this._visible = false;
Symbol 448 MovieClip Frame 2
this.swapDepths(_parent.getNextHighestDepth());
this.removeMovieClip();
Instance of Symbol 449 MovieClip in Symbol 450 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 452 MovieClip in Symbol 453 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 455 MovieClip [sky] Frame 1
#initclip 43
Object.registerClass("sky", Sky);
#endinitclip
Symbol 458 MovieClip Frame 1
t = "ship3";
c = "nc";
Symbol 461 MovieClip Frame 1
t = "ship1";
c = "nc";
Symbol 464 MovieClip Frame 1
t = "ship4";
c = "nc";
Symbol 468 MovieClip Frame 1
t = "ship2";
c = "nc";
Symbol 469 MovieClip [bg1] Frame 1
#initclip 30
Object.registerClass("bg1", Background);
#endinitclip
Symbol 470 MovieClip Frame 1
t = "bgbuilding1";
Symbol 471 MovieClip Frame 1
t = "bgtower1";
Symbol 472 MovieClip Frame 1
t = "bgbuilding2";
Symbol 473 MovieClip Frame 1
t = "bgtower2";
Symbol 474 MovieClip Frame 1
t = "bgtruffleBuilding";
Symbol 475 MovieClip [background1] Frame 1
#initclip 31
Object.registerClass("background1", Background);
#endinitclip
Symbol 478 MovieClip Frame 1
t = "railing";
c = "nc";
Symbol 480 MovieClip [levitator] Frame 1
#initclip 32
Object.registerClass("levitator", Levitator);
#endinitclip
_visible = false;
Symbol 481 MovieClip Frame 1
c = "nc";
t = "levitator";
Symbol 484 MovieClip Frame 1
t = "vertWall";
c = "wall";
Symbol 489 MovieClip Frame 1
t = "crateFuture.blank";
c = "floor";
Symbol 490 MovieClip Frame 1
this._visible = false;
c = "nc";
t = "checkPoint";
Symbol 495 MovieClip Frame 1
t = "platform";
c = "floor";
Symbol 498 MovieClip Frame 1
t = "turretBin2";
c = "floor";
Symbol 501 MovieClip Frame 1
t = "platformFloor";
c = "floor";
Symbol 502 MovieClip Frame 1
t = "floor.ender";
c = "nc";
Symbol 507 MovieClip Frame 1
_visible = false;
Symbol 515 MovieClip Frame 13
_parent.gotoAndStop("attack");
Symbol 519 MovieClip Frame 13
_parent.spawnPickup();
_parent.removeMovieClip();
stop();
Symbol 520 MovieClip Frame 13
_parent.gotoAndStop("inactive");
Symbol 521 MovieClip [turret] Frame 1
#initclip 33
Object.registerClass("turret", Turret);
#endinitclip
stop();
Symbol 522 MovieClip Frame 1
c = "enemy";
t = "turret";
Instance of Symbol 521 MovieClip [turret] "enemy" in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop ("getReady");
}
Symbol 525 MovieClip Frame 1
t = "platformEnder2";
c = "nc";
Symbol 528 MovieClip Frame 1
t = "platformSupport.buttress";
c = "nc";
Symbol 531 MovieClip Frame 1
t = "platformSupport.pole";
c = "nc";
Symbol 534 MovieClip Frame 1
t = "platformSupport.foot";
c = "nc";
Symbol 537 MovieClip Frame 1
t = "platformEnder";
c = "nc";
Symbol 540 MovieClip Frame 1
t = "platformSupport.pole2";
c = "nc";
Symbol 543 MovieClip Frame 1
t = "platformSupport.foot2";
c = "nc";
Symbol 546 MovieClip Frame 1
t = "platformStand";
c = "nc";
Symbol 549 MovieClip Frame 1
t = "platformSupport.buttress2";
c = "nc";
Symbol 558 MovieClip Frame 13
_parent.spawnPickup();
_parent.removeMovieClip();
stop();
Symbol 559 MovieClip Frame 7
_parent.removeMovieClip();
stop();
Symbol 560 MovieClip [lilFlyinDude] Frame 1
#initclip 34
Object.registerClass("lilFlyinDude", LilFlyinDude);
#endinitclip
Symbol 560 MovieClip [lilFlyinDude] Frame 5
stop();
Symbol 561 MovieClip Frame 1
c = "enemy";
t = "lilFlyinDude";
Symbol 565 MovieClip Frame 1
t = "ladder";
c = "ladder";
Symbol 568 MovieClip Frame 1
t = "vertWallconnector";
c = "nc";
Symbol 570 MovieClip Frame 1
t = "floor.ender3.Left";
c = "floor";
Symbol 572 MovieClip Frame 1
t = "floor.ender2.Left";
c = "floor";
Symbol 586 MovieClip Frame 12
_parent.spawnPickup();
_parent.removeMovieClip();
stop();
Symbol 586 MovieClip Frame 22
stop();
Symbol 587 MovieClip Frame 5
_parent.hitCount++;
if (_parent.hitCount == 4) {
_parent.gotoAndStop("die");
} else {
_parent.gotoAndStop("walk");
}
Symbol 599 MovieClip Frame 4
_parent._xscale = _parent._xscale * -1;
Symbol 600 MovieClip [bigDude] Frame 1
#initclip 35
Object.registerClass("bigDude", BigDude);
#endinitclip
stop();
Symbol 601 MovieClip Frame 1
t = "bigDude";
c = "enemy";
Symbol 605 MovieClip Frame 1
t = "ladder.top";
c = "ladder";
Symbol 613 MovieClip Frame 11
_parent.spawnPickup();
_parent.removeMovieClip();
stop();
Symbol 614 MovieClip [bigFlyinDude] Frame 1
#initclip 36
Object.registerClass("bigFlyinDude", BigFlyinDude);
#endinitclip
stop();
Symbol 615 MovieClip Frame 1
c = "enemy";
t = "bigFlyinDude";
Symbol 624 MovieClip Frame 12
_parent.spawnPickup();
_parent.removeMovieClip();
stop();
Symbol 625 MovieClip Frame 7
_parent.removeMovieClip();
stop();
Symbol 626 MovieClip [lilDude] Frame 1
#initclip 37
Object.registerClass("lilDude", LilDude);
#endinitclip
stop();
Symbol 627 MovieClip Frame 1
c = "enemy";
t = "lilDude";
Symbol 628 MovieClip Frame 1
t = "floor.ender3";
c = "floor";
Symbol 629 MovieClip [invisibleWall] Frame 1
this._visible = false;
Symbol 630 MovieClip Frame 1
t = "invisibleWall";
c = "wall";
Symbol 635 MovieClip [conveyor] Frame 1
#initclip 38
Object.registerClass("conveyor", Conveyor);
#endinitclip
Symbol 636 MovieClip Frame 1
c = "nc";
t = "conveyor";
Symbol 637 MovieClip Frame 1
t = "floor.ender2";
c = "floor";
Instance of Symbol 639 MovieClip in Symbol 641 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 639 MovieClip in Symbol 641 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 639 MovieClip in Symbol 641 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 642 MovieClip Frame 1
c = "nc";
t = "spring";
Symbol 645 MovieClip Frame 1
t = "crateWeird";
c = "floor";
Symbol 647 MovieClip Frame 1
t = "crateFuture.walkman";
c = "floor";
Symbol 650 MovieClip Frame 1
t = "crateFuture.KV";
c = "floor";
Symbol 651 MovieClip Frame 1
t = "weaponLocker2";
c = "nc";
Symbol 657 MovieClip [warpGateLeft] Frame 1
#initclip 39
Object.registerClass("warpGateLeft", WarpGate);
#endinitclip
Symbol 658 MovieClip Frame 1
c = "nc";
t = "warpGateLeft";
Symbol 665 MovieClip [moving2] Frame 1
#initclip 40
Object.registerClass("moving2", MovingPlatform);
#endinitclip
Symbol 666 MovieClip Frame 1
c = "floor";
t = "moving2";
Symbol 667 MovieClip Frame 1
c = "nc";
t = "pickup";
Symbol 668 MovieClip [warpGateRight] Frame 1
#initclip 41
Object.registerClass("warpGateRight", WarpGate);
#endinitclip
Symbol 669 MovieClip Frame 1
c = "nc";
t = "warpGateRight";
Symbol 678 MovieClip [yayPost] Frame 1
stop();
Symbol 678 MovieClip [yayPost] Frame 28
stop();
Instance of Symbol 677 MovieClip in Symbol 678 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 679 MovieClip Frame 1
c = "nc";
t = "yayPost";
Symbol 684 MovieClip Frame 1
t = "generator";
c = "nc";
Symbol 687 MovieClip Frame 1
t = "fuelThing";
c = "nc";
Symbol 688 MovieClip [level1] Frame 1
#initclip 42
Object.registerClass("level1", World);
#endinitclip
Instance of Symbol 522 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t4, ss:7, mRange:600};
}
Instance of Symbol 522 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
param = {dir:1, ta:_parent.t1, ss:7};
}
Instance of Symbol 522 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
param = {dir:1, ta:_parent.t2, ss:7};
}
Instance of Symbol 601 MovieClip in Symbol 688 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 601 MovieClip in Symbol 688 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 636 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
dir = -1;
speed = 10;
}
Instance of Symbol 636 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 636 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 636 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 636 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 636 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 636 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 601 MovieClip in Symbol 688 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 522 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t5, ss:7, mRange:600};
}
Instance of Symbol 658 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
ex = _parent.appear1._x;
ey = _parent.appear1._y;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 669 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
ex = _parent.appear2._x;
ey = _parent.appear2._y;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 522 MovieClip in Symbol 688 MovieClip [level1] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t3, ss:7};
}
Symbol 693 MovieClip Frame 13
this._visible = false;
Symbol 694 MovieClip Frame 1
this._visible = false;
stop();
Symbol 694 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 694 MovieClip Frame 6
_parent.pco.setTransform({ra:100, rb:102, ga:100, gb:102, ba:100, bb:102, aa:100, ab:100});
Symbol 694 MovieClip Frame 7
_parent.pco.setTransform({ra:100, rb:153, ga:100, gb:153, ba:100, bb:153, aa:100, ab:100});
Symbol 694 MovieClip Frame 8
_parent.pco.setTransform({ra:100, rb:204, ga:100, gb:204, ba:100, bb:204, aa:100, ab:100});
Symbol 694 MovieClip Frame 9
_parent.pco.setTransform({ra:100, rb:51, ga:100, gb:51, ba:100, bb:51, aa:100, ab:100});
Symbol 694 MovieClip Frame 10
_parent._alpha = 86;
dir = _parent._xscale / 100;
_parent._xscale = 86 * dir;
_parent._yscale = 86;
Symbol 694 MovieClip Frame 11
_parent._alpha = 72;
_parent._xscale = 72 * dir;
_parent._yscale = 72;
Symbol 694 MovieClip Frame 12
_parent._alpha = 58;
_parent._xscale = 58 * dir;
_parent._yscale = 58;
Symbol 694 MovieClip Frame 13
_parent._alpha = 44;
_parent._xscale = 44 * dir;
_parent._yscale = 44;
Symbol 694 MovieClip Frame 14
_parent._alpha = 30;
_parent._xscale = 30 * dir;
_parent._yscale = 30;
Symbol 694 MovieClip Frame 15
_parent._alpha = 15;
_parent._xscale = 15 * dir;
_parent._yscale = 15;
Symbol 694 MovieClip Frame 16
_parent._alpha = 0;
_parent._xscale = 0;
_parent._yscale = 0;
Symbol 694 MovieClip Frame 17
_parent._parent.drawScreen(0, 0);
Symbol 694 MovieClip Frame 18
_parent._alpha = 0;
_parent._xscale = 0;
_parent._yscale = 0;
Symbol 694 MovieClip Frame 19
_parent._alpha = 15;
_parent._xscale = 15 * dir;
_parent._yscale = 15;
Symbol 694 MovieClip Frame 20
_parent._alpha = 30;
_parent._xscale = 30 * dir;
_parent._yscale = 30;
Symbol 694 MovieClip Frame 21
_parent._alpha = 44;
_parent._xscale = 44 * dir;
_parent._yscale = 44;
Symbol 694 MovieClip Frame 22
_parent._alpha = 58;
_parent._xscale = 58 * dir;
_parent._yscale = 58;
Symbol 694 MovieClip Frame 23
_parent._alpha = 72;
_parent._xscale = 72 * dir;
_parent._yscale = 72;
Symbol 694 MovieClip Frame 24
_parent._alpha = 86;
_parent._xscale = 86 * dir;
_parent._yscale = 86;
Symbol 694 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 694 MovieClip Frame 26
_parent.pco.setTransform({ra:100, rb:204, ga:100, gb:204, ba:100, bb:204, aa:100, ab:100});
Symbol 694 MovieClip Frame 27
_parent.pco.setTransform({ra:100, rb:153, ga:100, gb:153, ba:100, bb:153, aa:100, ab:100});
Symbol 694 MovieClip Frame 28
_parent.pco.setTransform({ra:100, rb:102, ga:100, gb:102, ba:100, bb:102, aa:100, ab:100});
Symbol 694 MovieClip Frame 29
_parent.pco.setTransform({ra:100, rb:51, ga:100, gb:51, ba:100, bb:51, aa:100, ab:100});
Symbol 694 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 694 MovieClip Frame 31
gotoAndStop ("off");
Instance of Symbol 698 MovieClip in Symbol 707 MovieClip Frame 2
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Instance of Symbol 698 MovieClip in Symbol 707 MovieClip Frame 4
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Instance of Symbol 698 MovieClip in Symbol 707 MovieClip Frame 9
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Symbol 707 MovieClip Frame 17
_parent._parent.playerDie();
Symbol 707 MovieClip Frame 43
gotoAndPlay (1);
Symbol 726 MovieClip Frame 13
gotoAndPlay (1);
Symbol 757 MovieClip Frame 1
count = 0;
Instance of Symbol 691 MovieClip in Symbol 757 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay ("start");
}
Symbol 757 MovieClip Frame 39
count++;
if (count < 5) {
gotoAndPlay ("loop");
}
Symbol 757 MovieClip Frame 40
count = 0;
Symbol 757 MovieClip Frame 64
gotoAndPlay ("loop");
Symbol 764 MovieClip Frame 1
stop();
Symbol 764 MovieClip Frame 5
stop();
Instance of Symbol 764 MovieClip "skid" in Symbol 817 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("off");
}
Instance of Symbol 774 MovieClip "attack" in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Symbol 817 MovieClip Frame 7
_parent.attack = 0;
gotoAndPlay (1);
Instance of Symbol 795 MovieClip in Symbol 817 MovieClip Frame 17
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Instance of Symbol 691 MovieClip in Symbol 817 MovieClip Frame 30
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 810 MovieClip in Symbol 817 MovieClip Frame 31
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Symbol 817 MovieClip Frame 53
_parent.attacking = 0;
Instance of Symbol 795 MovieClip in Symbol 818 MovieClip Frame 6
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Symbol 818 MovieClip Frame 19
_parent.megaStarted = 1;
Instance of Symbol 691 MovieClip in Symbol 818 MovieClip Frame 19
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 810 MovieClip "attack" in Symbol 818 MovieClip Frame 20
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Symbol 818 MovieClip Frame 34
_parent._parent.flashScreen();
_parent._parent.killEmAll();
Symbol 818 MovieClip Frame 35
_parent._parent.flashScreen();
_parent._parent.killEmAll();
Symbol 818 MovieClip Frame 36
_parent._parent.flashScreen();
_parent._parent.killEmAll();
Symbol 818 MovieClip Frame 37
_parent._parent.flashScreen();
_parent._parent.killEmAll();
Symbol 818 MovieClip Frame 38
_parent._parent.killEmAll();
Symbol 818 MovieClip Frame 39
_parent._parent.killEmAll();
Symbol 818 MovieClip Frame 40
_parent._parent.killEmAll();
Symbol 818 MovieClip Frame 41
_parent.attack = 0;
_parent.megaAttack = 0;
_parent.megaStarted = 0;
_parent.currentMega--;
Symbol 822 MovieClip Frame 1
stop();
Symbol 822 MovieClip Frame 4
stop();
Instance of Symbol 822 MovieClip "skid" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("off");
}
Instance of Symbol 829 MovieClip "attack" in Symbol 836 MovieClip Frame 2
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Symbol 836 MovieClip Frame 7
if (_parent.attackStillDown && (_parent.currentMega > 0)) {
_parent.megaAttack = 1;
} else {
_parent.attack = 0;
gotoAndPlay (1);
}
Instance of Symbol 855 MovieClip "attack" in Symbol 886 MovieClip Frame 3
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Symbol 886 MovieClip Frame 7
_parent.attack = 0;
gotoAndPlay (1);
Instance of Symbol 893 MovieClip "attack" in Symbol 897 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Symbol 897 MovieClip Frame 6
_parent._parent.grenGen(1);
Symbol 897 MovieClip Frame 8
_parent.attack = 0;
gotoAndPlay (1);
Symbol 902 MovieClip Frame 1
stop();
Symbol 902 MovieClip Frame 4
stop();
Instance of Symbol 901 MovieClip "attack" in Symbol 906 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Instance of Symbol 902 MovieClip "skid" in Symbol 906 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("off");
}
Symbol 906 MovieClip Frame 6
if (low) {
_parent._parent.grenGen(-1);
} else {
_parent._parent.grenGen(0);
}
Symbol 906 MovieClip Frame 8
if (_parent.attackStillDown && (_parent.currentMega > 0)) {
if (low) {
_parent.megaAttack = 1;
}
} else {
_parent.attack = 0;
gotoAndPlay (1);
}
Symbol 954 MovieClip Frame 1
stop();
Instance of Symbol 953 MovieClip in Symbol 954 MovieClip Frame 1
onClipEvent (load) {
spin = _parent._parent.jumpRot;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + spin);
spin = spin * _parent._parent.spinDecay;
}
Symbol 967 MovieClip Frame 5
stop();
Symbol 975 MovieClip Frame 2
stop();
Symbol 1019 MovieClip Frame 5
gotoAndPlay (1);
Symbol 1023 MovieClip Frame 5
gotoAndPlay (1);
Instance of Symbol 1028 MovieClip "wings" in Symbol 1036 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.setBlend(this);
}
Instance of Symbol 691 MovieClip "attack" in Symbol 1036 MovieClip Frame 20
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 1036 MovieClip "attack" in Symbol 1037 MovieClip Frame 1
/* no clip actions */
Symbol 1037 MovieClip Frame 21
_parent.enterLevel = 0;
_parent.active = true;
Instance of Symbol 1036 MovieClip "sprite" in Symbol 1037 MovieClip Frame 21
/* no clip actions */
Symbol 1044 MovieClip Frame 7
stop();
Instance of Symbol 691 MovieClip "sprite" in Symbol 1045 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 1044 MovieClip in Symbol 1045 MovieClip Frame 34
onClipEvent (load) {
_parent._parent.setBlend(this);
offset = 0.5;
}
onClipEvent (enterFrame) {
_y = (_y - offset);
offset = offset * 1.2;
}
Instance of Symbol 1032 MovieClip in Symbol 1045 MovieClip Frame 34
onClipEvent (load) {
offset = 0.5;
}
onClipEvent (enterFrame) {
_y = (_y - offset);
offset = offset * 1.2;
}
Symbol 1045 MovieClip Frame 106
_parent._parent.nextLevel();
stop();
Symbol 1047 MovieClip [hero] Frame 1
function setBlend(t) {
if (!_parent.flashOn) {
t.blendMode = "add";
} else {
t.blendMode = "multiply";
}
}
Instance of Symbol 691 MovieClip "sprite" in Symbol 1047 MovieClip [hero] Frame 1
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 693 MovieClip "levitate" in Symbol 1047 MovieClip [hero] Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 694 MovieClip "teleporter" in Symbol 1047 MovieClip [hero] Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 707 MovieClip "sprite" in Symbol 1047 MovieClip [hero] Frame 6
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 726 MovieClip "sprite" in Symbol 1047 MovieClip [hero] Frame 15
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 757 MovieClip "sprite" in Symbol 1047 MovieClip [hero] Frame 20
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 817 MovieClip "sprite" in Symbol 1047 MovieClip [hero] Frame 24
/* no clip actions */
Instance of Symbol 818 MovieClip "sprite" in Symbol 1047 MovieClip [hero] Frame 29
onClipEvent (enterFrame) {
if ((!_parent.megaStarted) && (!_parent.attackStillDown)) {
_parent.attack = 0;
_parent.megaAttack = 0;
}
}
Instance of Symbol 836 MovieClip "sprite" in Symbol 1047 MovieClip [hero] Frame 38
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 886 MovieClip "sprite" in Symbol 1047 MovieClip [hero] Frame 46
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 897 MovieClip "sprite" in Symbol 1047 MovieClip [hero] Frame 54
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 906 MovieClip "sprite" in Symbol 1047 MovieClip [hero] Frame 76
onClipEvent (load) {
low = true;
}
Instance of Symbol 949 MovieClip "sprite" in Symbol 1047 MovieClip [hero] Frame 86
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 1019 MovieClip "sprite" in Symbol 1047 MovieClip [hero] Frame 124
onClipEvent (load) {
gotoAndPlay ("start");
}
Instance of Symbol 1023 MovieClip "sprite" in Symbol 1047 MovieClip [hero] Frame 129
onClipEvent (load) {
gotoAndPlay ("start");
}
Symbol 1048 MovieClip [bg2] Frame 1
#initclip 47
Object.registerClass("bg2", Background);
#endinitclip
Symbol 1049 MovieClip [background2] Frame 1
#initclip 44
Object.registerClass("background2", Background);
#endinitclip
Symbol 1050 MovieClip Frame 1
t = "floor.ender.left";
c = "floor";
Symbol 1051 MovieClip [moving6] Frame 1
#initclip 45
Object.registerClass("moving6", MovingPlatform);
#endinitclip
Symbol 1052 MovieClip Frame 1
c = "floor";
t = "moving6";
Symbol 1053 MovieClip [level2] Frame 1
#initclip 46
Object.registerClass("level2", World);
#endinitclip
Instance of Symbol 636 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
dir = 1;
speed = 6;
}
Instance of Symbol 636 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
dir = 1;
speed = 6;
}
Instance of Symbol 636 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
dir = 1;
speed = 6;
}
Instance of Symbol 658 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
ex = _parent.appear1._x;
ey = _parent.appear1._y;
}
Instance of Symbol 601 MovieClip in Symbol 1053 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 601 MovieClip in Symbol 1053 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 601 MovieClip in Symbol 1053 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 601 MovieClip in Symbol 1053 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 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 522 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t7, ss:7, mRange:600};
}
Instance of Symbol 522 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t8, ss:7, mRange:600};
}
Instance of Symbol 522 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t5, ss:7, mRange:600};
}
Instance of Symbol 522 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t6, ss:7, mRange:600};
}
Instance of Symbol 522 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
param = {dir:1, ta:_parent.t1, ss:7, mRange:600};
}
Instance of Symbol 522 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
param = {dir:1, ta:_parent.t2, ss:7, mRange:600};
}
Instance of Symbol 522 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t3, ss:7, mRange:600};
}
Instance of Symbol 522 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t4, ss:7, mRange:600};
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1053 MovieClip [level2] Frame 1
onClipEvent (load) {
colour = 3;
}
Symbol 1054 MovieClip [bg3] Frame 1
#initclip 57
Object.registerClass("bg3", Background);
#endinitclip
Symbol 1055 MovieClip [background4] Frame 1
#initclip 48
Object.registerClass("background4", Background);
#endinitclip
Symbol 1056 MovieClip [moving27] Frame 1
#initclip 49
Object.registerClass("moving27", MovingPlatform);
#endinitclip
stop();
Symbol 1057 MovieClip Frame 1
c = "floor";
t = "moving27";
Symbol 1058 MovieClip [moving28] Frame 1
#initclip 50
Object.registerClass("moving28", MovingPlatform);
#endinitclip
stop();
Symbol 1059 MovieClip Frame 1
c = "floor";
t = "moving28";
Symbol 1060 MovieClip [moving10] Frame 1
#initclip 51
Object.registerClass("moving10", MovingPlatform);
#endinitclip
stop();
Symbol 1061 MovieClip Frame 1
c = "floor";
t = "moving10";
Symbol 1062 MovieClip [switch] Frame 1
#initclip 52
Object.registerClass("switch", Switch);
#endinitclip
Instance of Symbol 398 MovieClip in Symbol 1062 MovieClip [switch] Frame 1
onClipEvent (load) {
this.blendMode = "add";
this._alpha = 40;
}
Symbol 1063 MovieClip Frame 1
t = "switch2";
c = "nc";
Symbol 1064 MovieClip [moving12] Frame 1
#initclip 53
Object.registerClass("moving12", MovingPlatform);
#endinitclip
stop();
Symbol 1065 MovieClip Frame 1
c = "floor";
t = "moving12";
Symbol 1066 MovieClip [moving13] Frame 1
#initclip 54
Object.registerClass("moving13", MovingPlatform);
#endinitclip
stop();
Symbol 1067 MovieClip Frame 1
c = "floor";
t = "moving13";
Symbol 1068 MovieClip [moving11] Frame 1
#initclip 55
Object.registerClass("moving11", MovingPlatform);
#endinitclip
stop();
Symbol 1069 MovieClip Frame 1
c = "floor";
t = "moving11";
Symbol 1070 MovieClip [level4] Frame 1
#initclip 56
Object.registerClass("level4", World);
#endinitclip
Instance of Symbol 522 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t7, ss:7, mRange:600};
}
Instance of Symbol 522 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
param = {dir:1, ta:_parent.t1, ss:7, mRange:600};
}
Instance of Symbol 601 MovieClip in Symbol 1070 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 522 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
param = {dir:1, ta:_parent.t5, ss:7, mRange:600};
}
Instance of Symbol 522 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t4, ss:7, mRange:600};
}
Instance of Symbol 522 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
param = {dir:1, ta:_parent.t3, ss:7, mRange:600};
}
Instance of Symbol 522 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
param = {dir:1, ta:_parent.t2, ss:7, mRange:600};
}
Instance of Symbol 481 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
mSpeed = 40;
}
Instance of Symbol 658 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
ex = _parent.appear1._x;
ey = _parent.appear1._y;
}
Instance of Symbol 601 MovieClip in Symbol 1070 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 522 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
param = {dir:1, ta:_parent.t6, ss:7, mRange:600};
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 1063 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
target_lvl = "floors";
target_mc = "switchPlatform2";
}
Instance of Symbol 1063 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
target_lvl = "floors";
target_mc = "switchPlatform4";
}
Instance of Symbol 1063 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
target_lvl = "floors";
target_mc = "switchPlatform3";
}
Instance of Symbol 1063 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
target_lvl = "floors";
target_mc = "switchPlatform5";
}
Instance of Symbol 1063 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
target_lvl = "floors";
target_mc = "switchPlatform6";
}
Instance of Symbol 658 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
ex = _parent.appear2._x;
ey = _parent.appear2._y;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 601 MovieClip in Symbol 1070 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 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 1063 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
target_lvl = "floors";
target_mc = "switchPlatform7";
}
Instance of Symbol 1063 MovieClip in Symbol 1070 MovieClip [level4] Frame 1
onClipEvent (load) {
target_lvl = "floors";
target_mc = "switchPlatform8";
}
Symbol 1071 MovieClip [bg4] Frame 1
#initclip 64
Object.registerClass("bg4", Background);
#endinitclip
Symbol 1072 MovieClip [background3] Frame 1
#initclip 58
Object.registerClass("background3", Background);
#endinitclip
Symbol 1073 MovieClip [moving1] Frame 1
#initclip 59
Object.registerClass("moving1", MovingPlatform);
#endinitclip
Symbol 1074 MovieClip Frame 1
c = "floor";
t = "moving1";
Symbol 1075 MovieClip [moving3] Frame 1
#initclip 60
Object.registerClass("moving3", MovingPlatform);
#endinitclip
Symbol 1076 MovieClip Frame 1
c = "floor";
t = "moving3";
Symbol 1077 MovieClip [moving8] Frame 1
#initclip 61
Object.registerClass("moving8", MovingPlatform);
#endinitclip
stop();
Symbol 1078 MovieClip Frame 1
c = "floor";
t = "moving8";
Symbol 1079 MovieClip [moving9] Frame 1
#initclip 62
Object.registerClass("moving9", MovingPlatform);
#endinitclip
Symbol 1080 MovieClip Frame 1
c = "floor";
t = "moving9";
Symbol 1081 MovieClip [level3] Frame 1
#initclip 63
Object.registerClass("level3", World);
#endinitclip
Instance of Symbol 522 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
param = {dir:1, ta:_parent.t8, ss:7};
}
Instance of Symbol 522 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t6, ss:7, mRange:600};
}
Instance of Symbol 481 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
mSpeed = 40;
}
Instance of Symbol 522 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t1, ss:7};
}
Instance of Symbol 522 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t2, ss:7, mRange:600};
}
Instance of Symbol 601 MovieClip in Symbol 1081 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 601 MovieClip in Symbol 1081 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 522 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t3, ss:7, mRange:600};
}
Instance of Symbol 522 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t4, ss:7, mRange:600};
}
Instance of Symbol 522 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t5, ss:7, mRange:600};
}
Instance of Symbol 601 MovieClip in Symbol 1081 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 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 522 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
param = {dir:-1, ta:_parent.t7, ss:7, mRange:600};
}
Instance of Symbol 636 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 636 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 636 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 636 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 636 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 636 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 636 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 636 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 636 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 636 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 636 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 636 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 636 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 636 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 636 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
dir = 1;
speed = 10;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 658 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
ex = _parent.appear1._x;
ey = _parent.appear1._y;
}
Instance of Symbol 601 MovieClip in Symbol 1081 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 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 4;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 2;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 1;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 667 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
colour = 3;
}
Instance of Symbol 481 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
mSpeed = 40;
}
Instance of Symbol 1063 MovieClip in Symbol 1081 MovieClip [level3] Frame 1
onClipEvent (load) {
target_lvl = "floors";
target_mc = "switchPlatform1";
}