Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
Stage.scaleMode = "noScale";
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
this.menu = my_cm;
__com_mochibot__("3d3e7e7d", this, 10301, true);
mochi.as2.MochiServices.connect("c834fc72dac6a393");
Instance of Symbol 523 MovieClip [CWMIntro] "CWMIntroBtn" in Frame 1
on (release) {
getURL ("http://www.clockworkmonster.com/?FloodRunnerLoader", "_blank");
}
Frame 2
stop();
var loadTime = false;
playBtn._visible = false;
var CPMStarPoolID = "1578Q070F0D40";
System.security.allowDomain("server.cpmstar.com");
AdScreen.adBox.loadMovie("http://server.cpmstar.com/adviewas2.swf?contentspotid=" + CPMStarPoolID);
onEnterFrame = function () {
already_loaded = _root.getBytesLoaded() / _root.getBytesTotal();
if ((already_loaded == 1) && (loadTime)) {
delete onEnterFrame;
playBtn._visible = true;
preloader_mc._visible = false;
}
};
playBtn.onRelease = function () {
removeMovieClip(AdScreen.adBox);
removeMovieClip(AdScreen);
clearInterval(nInterval);
_root.gotoAndStop("splash");
};
Instance of Symbol 543 MovieClip in Frame 3
on (release) {
getURL ("http://www.clockworkmonster.com/?floodRunnerSplash", "_blank");
}
Frame 4
runner = SharedObject.getLocal("run_profile");
if (runner.data.pl1 == undefined) {
runner.data.pl1 = "";
runner.flush();
}
if (runner.data.pl2 == undefined) {
runner.data.pl2 = "";
runner.flush();
}
if (runner.data.pl3 == undefined) {
runner.data.pl3 = "";
runner.flush();
}
if (runner.data.pl4 == undefined) {
runner.data.pl4 = "";
runner.flush();
}
if (runner.data.pl5 == undefined) {
runner.data.pl5 = "";
runner.flush();
}
if (runner.data.pl1scr == undefined) {
runner.data.pl1scr = 0;
runner.flush();
}
if (runner.data.pl2scr == undefined) {
runner.data.pl2scr = 0;
runner.flush();
}
if (runner.data.pl3scr == undefined) {
runner.data.pl3scr = 0;
runner.flush();
}
if (runner.data.pl4scr == undefined) {
runner.data.pl4scr = 0;
runner.flush();
}
if (runner.data.pl5scr == undefined) {
runner.data.pl5scr = 0;
runner.flush();
}
Color_alles = 0;
_global.batman = false;
_global.quali_light = true;
_global.Mute = false;
_global.startUp = false;
Frame 6
_global.startUp = false;
_global.usedBoard = false;
_global.gotoLocal = false;
_global.skip_scr = false;
_global.Paused = true;
_global.isMenu = true;
_global.SlowMo = false;
_global.Current_Speed = 0;
_global.gap = 175;
_global.Boosting = false;
_global.dist = 0;
_global.Oily = false;
_global.mouse_time = 0;
_global.thattheone = 0;
_global.die = false;
_global.scr_add = 0;
_global.f_Dist = 0;
_global.On_Ramps = 0;
_global.Times_Jumped = 0;
_global.Tramps_Taken = 0;
_global.Wipe_Outs = 0;
_global.Close_Calls = 0;
_global.Air_Time = 0;
_global.Multi_Collect = 0;
_global.Small_Bonus = 0;
_global.Big_Bonus = 0;
Frame 7
function zoomCamera(amount) {
zoom = amount;
hero_clip = all_mc.hero_mc;
midX = ((1 / zoom) * 800) * 0.5;
midY = ((1 / zoom) * 400) * 0.5;
camX = midX - 400;
camY = midY - 200;
all_mc._xscale = (all_mc._yscale = zoom * 100);
}
function moveCameraY() {
hero_clip = all_mc.hero_mc;
deltaY = hero_clip._y - heroLastY;
heroLastY = hero_clip._y;
camY = camY - (0.09 * (camY - (((deltaY > 1) ? 0.6 : 1.2) * midY)));
if (all_mc._y >= -600) {
_global.die = false;
if (_global.Paused == false) {
all_mc._y = all_mc._y - (0.15 * (all_mc._y - ((camY - hero_clip._y) * zoom)));
}
} else {
_global.die = true;
all_mc.jump_checker_mc.gotoAndStop(3);
hero_clip.gotoAndStop("death");
all_mc.speedX = 0;
}
}
MenuKeys = function () {
pause_key = (Key.isDown(80) || (Key.isDown(27))) || (Key.isDown(81));
};
ColorPlatz = function () {
var _local9 = new Color(all_mc.plat1_mc.plat_mc);
var _local7 = new Color(all_mc.plat2_mc.plat_mc);
var _local8 = new Color(all_mc.plat3_mc.plat_mc);
var _local6 = new Color(all_mc.plat4_mc.plat_mc);
var _local2 = new Color(all_mc.foreGround_mc);
var _local4 = new Color(all_mc.bg1_mc);
var _local3 = new Color(all_mc.bg2_mc);
var _local5 = new Color(all_mc.bgplat_mc);
var _local1 = new Object();
_local1.ra = PlatPallet[Color_alles][0];
_local1.rb = PlatPallet[Color_alles][1];
_local1.ga = PlatPallet[Color_alles][2];
_local1.gb = PlatPallet[Color_alles][3];
_local1.ba = PlatPallet[Color_alles][4];
_local1.bb = PlatPallet[Color_alles][5];
_local2.setTransform(_local1);
_local4.setTransform(_local1);
_local3.setTransform(_local1);
_local5.setTransform(_local1);
};
PlatPallet = [[100, 0, 100, 0, 100, 25], [100, 0, 100, 25, 100, 0], [100, 25, 100, 0, 100, 0]];
ColorWavez = function () {
var _local7 = new Color(all_mc.wave1_mc);
var _local4 = new Color(all_mc.wave2_mc);
var _local6 = new Color(all_mc.wave3_mc);
var _local2 = new Color(all_mc.wave4_mc);
var _local3 = new Color(all_mc.wave5_mc);
var _local5 = new Color(all_mc.surf_mc.wave_mc);
var _local1 = new Object();
_local1.ra = WavePallet[Color_alles][0];
_local1.rb = WavePallet[Color_alles][1];
_local1.ga = WavePallet[Color_alles][2];
_local1.gb = WavePallet[Color_alles][3];
_local1.ba = WavePallet[Color_alles][4];
_local1.bb = WavePallet[Color_alles][5];
_local7.setTransform(_local1);
_local4.setTransform(_local1);
_local6.setTransform(_local1);
_local2.setTransform(_local1);
_local3.setTransform(_local1);
_local5.setTransform(_local1);
};
WavePallet = [[100, -100, 100, 0, 100, 120], [100, 0, 100, 90, 0, 0], [100, 120, 100, -25, 0, 0]];
ColorBright = function () {
var _local2 = new Color(all_mc.bg3_mc);
var _local1 = new Object();
_local1.ra = BGPallet[Color_alles][0];
_local1.rb = BGPallet[Color_alles][1];
_local1.ga = BGPallet[Color_alles][2];
_local1.gb = BGPallet[Color_alles][3];
_local1.ba = BGPallet[Color_alles][4];
_local1.bb = BGPallet[Color_alles][5];
_local2.setTransform(_local1);
};
BGPallet = [[100, 0, 100, 0, 100, 55], [100, 0, 100, 55, 100, 0], [100, 55, 100, 0, 100, 0]];
Frame 8
stop();
_global.isMenu = true;
_global.Air_Time = 0;
Instance of Symbol 555 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (_parent.Color_alles == 0) {
gotoAndStop ("flood");
}
if (_parent.Color_alles == 1) {
gotoAndStop ("slime");
}
if (_parent.Color_alles == 2) {
gotoAndStop ("lava");
}
}
Instance of Symbol 581 MovieClip "char_mc" in Frame 8
onClipEvent (load) {
if (_global.batman == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
_global.batman = false;
} else if (this._currentframe == 2) {
_global.batman = true;
}
}
Instance of Symbol 589 MovieClip "theme_mc" in Frame 8
onClipEvent (load) {
if (_root.Color_alles == 0) {
gotoAndStop (1);
} else if (_root.Color_alles == 1) {
gotoAndStop (2);
} else if (_root.Color_alles == 2) {
gotoAndStop (3);
}
}
Frame 10
stop();
hero_clip = all_mc.hero_mc;
heroLastY = hero_clip._y;
zoom = 1;
zoomCamera(zoom);
ColorWavez();
ColorBright();
onEnterFrame = function () {
MenuKeys();
moveCameraY();
MouseHider();
if ((((all_mc.hero_mc._y <= -50) && (_global.Paused == false)) && (_global.die == false)) && (_global.isMenu == false)) {
thescore_mc.air_mc.gotoAndStop(2);
_global.Air_Time++;
} else {
thescore_mc.air_mc.gotoAndStop(1);
}
if ((pause_key && (_global.die == false)) && (_global.isMenu == false)) {
if (pause_mc._currentframe == 1) {
_global.Paused = true;
pause_mc.gotoAndPlay("paused");
}
}
};
PauseBtn.onRelease = function () {
if (pause_mc._currentframe == 1) {
_global.Paused = true;
pause_mc.gotoAndPlay("paused");
}
};
morCWMBtn.onRelease = function () {
getURL ("http://www.clockworkmonster.com/?FloodRunnerLogo", "_blank");
if (_global.Paused == false) {
if (pause_mc._currentframe == 1) {
pause_mc.gotoAndPlay("paused");
}
_global.Paused = true;
}
};
onMouseMove = function () {
HideThatMouse = 60;
if (_global.isMenu == true) {
cur_mc._visible = false;
Mouse.show();
} else if (_global.isMenu == false) {
if (_xmouse >= 730) {
cur_mc._visible = true;
cur_mc.gotoAndStop(2);
Mouse.show();
} else if (_xmouse <= 730) {
cur_mc._visible = true;
cur_mc.gotoAndStop(1);
Mouse.hide();
}
}
};
HideThatMouse = 60;
MouseHider = function () {
cur_mc._x = _xmouse;
cur_mc._y = _ymouse;
updateAfterEvent();
if (HideThatMouse > 0) {
HideThatMouse--;
}
if (HideThatMouse == 0) {
cur_mc._visible = false;
HideThatMouse = -1;
}
};
Instance of Symbol 922 MovieClip "speed_mc" in Frame 10
onClipEvent (load) {
var distance_txt = 0;
maxx = false;
mixx = false;
}
onClipEvent (enterFrame) {
if (_global.die == false) {
var speed_txt = Math.floor(Math.floor(_global.Current_Speed * 5.6) / 2);
distance_txt = Math.floor(Math.abs(_global.dist));
if (_global.Boosting == false) {
pin_mc._rotation = _global.Current_Speed * 5.6;
} else if (_global.Boosting == true) {
pin_mc._rotation = 180;
}
if (speed_txt >= 68) {
pin_mc.gotoAndStop("shake");
} else {
pin_mc.gotoAndStop(1);
}
}
if (_global.die == true) {
pin_mc.gotoAndStop(1);
speed_txt = speed_txt - 4;
pin_mc._rotation = pin_mc._rotation - 4;
if (speed_txt <= 0) {
speed_txt = 0;
}
if ((pin_mc._rotation <= 0) && (pin_mc._rotation >= -5)) {
pin_mc._rotation = 0;
}
}
}
Instance of Symbol 974 MovieClip "thescore_mc" in Frame 10
onClipEvent (load) {
_global.multiplier = 1;
var scr_txt = 0;
}
onClipEvent (enterFrame) {
if (_global.die == true) {
this._visible = false;
} else {
this._visible = true;
}
newDist = _global.multiplier * 2;
if (air_mc._currentframe == 2) {
newDist = newDist * 2;
}
if ((_global.die == false) && (_global.Paused == false)) {
scr_txt = scr_txt + newDist;
}
multi_mc.gotoAndStop(_global.multiplier);
}
Instance of Symbol 990 MovieClip "canSurf_mc" in Frame 10
onClipEvent (load) {
_global.usedBoard = false;
}
onClipEvent (enterFrame) {
if (_global.usedBoard == true) {
gotoAndStop (3);
}
}
Instance of Symbol 1015 MovieClip "theme_mc" in Frame 10
onClipEvent (load) {
if (_quality == "BEST") {
gotoAndStop (2);
} else if (_quality == "MEDIUM") {
gotoAndStop (3);
} else if (_quality == "LOW") {
gotoAndStop (4);
}
}
Frame 11
onEnterFrame = function () {
};
morCWMBtn.onRelease = function () {
if (pause_mc._currentframe == 1) {
pause_mc.gotoAndPlay("paused");
}
_global.Paused = true;
getURL ("http://www.clockworkmonster.com/?FloodRunnerLogo", "_blank");
};
Instance of Symbol 1084 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_parent.Color_alles == 0) {
gotoAndStop ("flood");
}
if (_parent.Color_alles == 1) {
gotoAndStop ("slime");
}
if (_parent.Color_alles == 2) {
gotoAndStop ("lava");
}
}
Instance of Symbol 1123 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_parent.Color_alles == 0) {
gotoAndStop ("flood");
}
if (_parent.Color_alles == 1) {
gotoAndStop ("slime");
}
if (_parent.Color_alles == 2) {
gotoAndStop ("lava");
}
}
Instance of Symbol 1124 MovieClip "char_mc" in Frame 12
onClipEvent (load) {
if (_global.batman == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
_global.batman = false;
} else if (this._currentframe == 2) {
_global.batman = true;
}
}
Frame 14
stop();
morCWMBtn.onRelease = function () {
if (pause_mc._currentframe == 1) {
pause_mc.gotoAndPlay("paused");
}
_global.Paused = true;
getURL ("http://www.clockworkmonster.com/?FloodRunnerLogo", "_blank");
};
var o = {n:[11, 15, 4, 1, 9, 0, 13, 15, 14, 9, 14, 12, 13, 1, 3, 7], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:"bf4190dfe9ecd137"});
Frame 16
gotoAndPlay ("reset");
Frame 19
stop();
morCWMBtn.onRelease = function () {
if (pause_mc._currentframe == 1) {
pause_mc.gotoAndPlay("paused");
}
_global.Paused = true;
getURL ("http://www.clockworkmonster.com/?FloodRunnerLogo", "_blank");
};
var o = {n:[11, 15, 4, 1, 9, 0, 13, 15, 14, 9, 14, 12, 13, 1, 3, 7], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:"bf4190dfe9ecd137", score:_global.thattheone, name:playername});
Frame 21
gotoAndPlay ("reset");
Symbol 34 MovieClip Frame 10
gotoAndPlay ("loop");
Symbol 44 MovieClip Frame 9
if (_global.Oily == false) {
_parent.gotoAndStop("run");
} else {
_parent.gotoAndStop("oil_slide");
}
Symbol 50 MovieClip Frame 1
ColorSplash = function () {
var _local4 = new Color(this);
var _local3 = new Object();
_local3.ra = SplashPallet[_root.Color_alles][0];
_local3.rb = SplashPallet[_root.Color_alles][1];
_local3.ga = SplashPallet[_root.Color_alles][2];
_local3.gb = SplashPallet[_root.Color_alles][3];
_local3.ba = SplashPallet[_root.Color_alles][4];
_local3.bb = SplashPallet[_root.Color_alles][5];
_local4.setTransform(_local3);
};
SplashPallet = [[100, -100, 100, 0, 100, 120], [100, 0, 100, 90, 0, 0], [100, 120, 100, -25, 0, 0]];
ColorSplash();
onEnterFrame = function () {
if (_parent._y >= 385) {
this._visible = true;
} else {
this._visible = false;
}
};
Symbol 50 MovieClip Frame 11
gotoAndPlay ("loop");
Symbol 55 MovieClip Frame 1
onEnterFrame = function () {
if (_global.Paused == false) {
this.play();
} else {
this.stop();
}
};
Symbol 89 MovieClip Frame 1
var swish = new Sound(this);
swish.attachSound("swish");
swish.setVolume(50);
if (_global.Mute == false) {
swish.start();
}
Symbol 89 MovieClip Frame 12
gotoAndPlay ("loop");
Symbol 100 MovieClip Frame 1
var swish = new Sound(this);
swish.attachSound("swish");
swish.setVolume(50);
if (_global.Mute == false) {
swish.start();
}
Symbol 100 MovieClip Frame 15
gotoAndPlay ("loop");
Symbol 137 MovieClip Frame 1
onEnterFrame = function () {
if (_global.Paused == false) {
_parent.deltaY = -4;
this.play();
} else {
this.stop();
}
};
Symbol 137 MovieClip Frame 100
delete eval (onEnterFrame(this));
_global.SlowMo = false;
_parent._parent.speedX = 25;
_parent.gotoAndStop("double");
Symbol 185 MovieClip Frame 20
Symbol 185 MovieClip Frame 41
_global.SlowMo = false;
gotoAndPlay ("loop");
Symbol 198 MovieClip Frame 12
gotoAndPlay ("loop");
Symbol 201 MovieClip Frame 23
gotoAndPlay ("loop");
Symbol 212 MovieClip Frame 10
gotoAndPlay ("loop");
Symbol 224 MovieClip Frame 15
gotoAndPlay ("loop");
Symbol 241 MovieClip Frame 9
stop();
Symbol 242 MovieClip [Bat] Frame 1
var land1 = _parent.plat1_mc.plat_mc.floor_mc;
var land2 = _parent.plat2_mc.plat_mc.floor_mc;
var land3 = _parent.plat3_mc.plat_mc.floor_mc;
var land4 = _parent.plat4_mc.plat_mc.floor_mc;
var ramp1 = _parent.plat1_mc.ramp_mc;
var ramp2 = _parent.plat2_mc.ramp_mc;
var ramp3 = _parent.plat3_mc.ramp_mc;
var ramp4 = _parent.plat4_mc.ramp_mc;
jump_max = -10;
jump_push = -0.5;
jump_double = -10;
deltaY = 0;
gravity = 0.9;
posY = this._y;
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
check_floor = function () {
onFloor = false;
if (deltaY >= 0) {
if (hitCheck(land1, this._x, posY - 12)) {
deltaY = 0;
posY = posY - 12;
onFloor = true;
}
if (hitCheck(land1, this._x, posY - 10)) {
deltaY = 0;
posY = posY - 10;
onFloor = true;
}
if (hitCheck(land1, this._x, posY - 8)) {
deltaY = 0;
posY = posY - 8;
onFloor = true;
}
if (hitCheck(land1, this._x, posY - 6)) {
deltaY = 0;
posY = posY - 6;
onFloor = true;
}
if (hitCheck(land1, this._x, posY - 5)) {
deltaY = 0;
posY = posY - 5;
onFloor = true;
}
if (hitCheck(land1, this._x, posY - 4)) {
deltaY = 0;
posY = posY - 4;
onFloor = true;
}
if (hitCheck(land1, this._x, posY - 3)) {
deltaY = 0;
posY = posY - 3;
onFloor = true;
}
if (hitCheck(land1, this._x, posY - 2)) {
deltaY = 0;
posY = posY - 1;
onFloor = true;
}
if (hitCheck(land1, this._x, posY - 1)) {
deltaY = 0;
posY = posY - 1;
posY = Math.round(posY);
onFloor = true;
}
if (hitCheck(land2, this._x, posY - 10)) {
deltaY = 0;
posY = posY - 10;
onFloor = true;
}
if (hitCheck(land2, this._x, posY - 8)) {
deltaY = 0;
posY = posY - 8;
onFloor = true;
}
if (hitCheck(land2, this._x, posY - 6)) {
deltaY = 0;
posY = posY - 6;
onFloor = true;
}
if (hitCheck(land2, this._x, posY - 5)) {
deltaY = 0;
posY = posY - 5;
onFloor = true;
}
if (hitCheck(land2, this._x, posY - 4)) {
deltaY = 0;
posY = posY - 4;
onFloor = true;
}
if (hitCheck(land2, this._x, posY - 3)) {
deltaY = 0;
posY = posY - 3;
onFloor = true;
}
if (hitCheck(land2, this._x, posY - 2)) {
deltaY = 0;
posY = posY - 1;
onFloor = true;
}
if (hitCheck(land2, this._x, posY - 1)) {
deltaY = 0;
posY = posY - 1;
posY = Math.round(posY);
onFloor = true;
}
if (hitCheck(land3, this._x, posY - 10)) {
deltaY = 0;
posY = posY - 10;
onFloor = true;
}
if (hitCheck(land3, this._x, posY - 8)) {
deltaY = 0;
posY = posY - 8;
onFloor = true;
}
if (hitCheck(land3, this._x, posY - 6)) {
deltaY = 0;
posY = posY - 6;
onFloor = true;
}
if (hitCheck(land3, this._x, posY - 5)) {
deltaY = 0;
posY = posY - 5;
onFloor = true;
}
if (hitCheck(land3, this._x, posY - 4)) {
deltaY = 0;
posY = posY - 4;
onFloor = true;
}
if (hitCheck(land3, this._x, posY - 3)) {
deltaY = 0;
posY = posY - 3;
onFloor = true;
}
if (hitCheck(land3, this._x, posY - 2)) {
deltaY = 0;
posY = posY - 1;
onFloor = true;
}
if (hitCheck(land3, this._x, posY - 1)) {
deltaY = 0;
posY = posY - 1;
posY = Math.round(posY);
onFloor = true;
}
if (hitCheck(land4, this._x, posY - 10)) {
deltaY = 0;
posY = posY - 10;
onFloor = true;
}
if (hitCheck(land4, this._x, posY - 8)) {
deltaY = 0;
posY = posY - 8;
onFloor = true;
}
if (hitCheck(land4, this._x, posY - 6)) {
deltaY = 0;
posY = posY - 6;
onFloor = true;
}
if (hitCheck(land4, this._x, posY - 5)) {
deltaY = 0;
posY = posY - 5;
onFloor = true;
}
if (hitCheck(land4, this._x, posY - 4)) {
deltaY = 0;
posY = posY - 4;
onFloor = true;
}
if (hitCheck(land4, this._x, posY - 3)) {
deltaY = 0;
posY = posY - 3;
onFloor = true;
}
if (hitCheck(land4, this._x, posY - 2)) {
deltaY = 0;
posY = posY - 1;
onFloor = true;
}
if (hitCheck(land4, this._x, posY - 1)) {
deltaY = 0;
posY = posY - 1;
posY = Math.round(posY);
onFloor = true;
}
}
this._y = posY;
};
check_ramp = function () {
onRamp = false;
if (_global.SlowMo == false) {
if (hitCheck(ramp1, this._x, posY - 12)) {
deltaY = 0;
posY = posY - 11;
onRamp = true;
}
if (hitCheck(ramp1, this._x, posY - 10)) {
deltaY = 0;
posY = posY - 9;
onRamp = true;
}
if (hitCheck(ramp1, this._x, posY - 8)) {
deltaY = 0;
posY = posY - 7;
onRamp = true;
}
if (hitCheck(ramp1, this._x, posY - 6)) {
deltaY = 0;
posY = posY - 5;
onRamp = true;
}
if (hitCheck(ramp1, this._x, posY - 5)) {
deltaY = 0;
posY = posY - 4;
onRamp = true;
}
if (hitCheck(ramp1, this._x, posY - 4)) {
deltaY = 0;
posY = posY - 3;
onRamp = true;
}
if (hitCheck(ramp1, this._x, posY - 3)) {
deltaY = 0;
posY = posY - 2;
onRamp = true;
}
if (hitCheck(ramp1, this._x, posY - 2)) {
deltaY = 0;
posY = posY - 1;
onRamp = true;
}
if (hitCheck(ramp1, this._x, posY - 1)) {
deltaY = 0;
posY = posY - 0;
posY = Math.round(posY);
onRamp = true;
}
if (hitCheck(ramp2, this._x, posY - 10)) {
deltaY = 0;
posY = posY - 9;
onRamp = true;
}
if (hitCheck(ramp2, this._x, posY - 8)) {
deltaY = 0;
posY = posY - 7;
onRamp = true;
}
if (hitCheck(ramp2, this._x, posY - 6)) {
deltaY = 0;
posY = posY - 5;
onRamp = true;
}
if (hitCheck(ramp2, this._x, posY - 5)) {
deltaY = 0;
posY = posY - 4;
onRamp = true;
}
if (hitCheck(ramp2, this._x, posY - 4)) {
deltaY = 0;
posY = posY - 3;
onRamp = true;
}
if (hitCheck(ramp2, this._x, posY - 3)) {
deltaY = 0;
posY = posY - 2;
onRamp = true;
}
if (hitCheck(ramp2, this._x, posY - 2)) {
deltaY = 0;
posY = posY - 1;
onRamp = true;
}
if (hitCheck(ramp2, this._x, posY - 1)) {
deltaY = 0;
posY = posY - 0;
posY = Math.round(posY);
onRamp = true;
}
if (hitCheck(ramp3, this._x, posY - 10)) {
deltaY = 0;
posY = posY - 9;
onRamp = true;
}
if (hitCheck(ramp3, this._x, posY - 8)) {
deltaY = 0;
posY = posY - 7;
onRamp = true;
}
if (hitCheck(ramp3, this._x, posY - 6)) {
deltaY = 0;
posY = posY - 5;
onRamp = true;
}
if (hitCheck(ramp3, this._x, posY - 5)) {
deltaY = 0;
posY = posY - 4;
onRamp = true;
}
if (hitCheck(ramp3, this._x, posY - 4)) {
deltaY = 0;
posY = posY - 4;
onRamp = true;
}
if (hitCheck(ramp3, this._x, posY - 3)) {
deltaY = 0;
posY = posY - 2;
onRamp = true;
}
if (hitCheck(ramp3, this._x, posY - 2)) {
deltaY = 0;
posY = posY - 1;
onRamp = true;
}
if (hitCheck(ramp3, this._x, posY - 1)) {
deltaY = 0;
posY = posY - 0;
posY = Math.round(posY);
onRamp = true;
}
if (hitCheck(ramp4, this._x, posY - 10)) {
deltaY = 0;
posY = posY - 9;
onRamp = true;
}
if (hitCheck(ramp4, this._x, posY - 8)) {
deltaY = 0;
posY = posY - 7;
onRamp = true;
}
if (hitCheck(ramp4, this._x, posY - 6)) {
deltaY = 0;
posY = posY - 5;
onRamp = true;
}
if (hitCheck(ramp4, this._x, posY - 5)) {
deltaY = 0;
posY = posY - 4;
onRamp = true;
}
if (hitCheck(ramp4, this._x, posY - 4)) {
deltaY = 0;
posY = posY - 3;
onRamp = true;
}
if (hitCheck(ramp4, this._x, posY - 3)) {
deltaY = 0;
posY = posY - 2;
onRamp = true;
}
if (hitCheck(ramp4, this._x, posY - 2)) {
deltaY = 0;
posY = posY - 1;
onRamp = true;
}
if (hitCheck(ramp4, this._x, posY - 1)) {
deltaY = 0;
posY = posY - 0;
posY = Math.round(posY);
onRamp = true;
}
}
this._y = posY;
};
grav = function () {
if (_global.Paused == false) {
deltaY = deltaY + gravity;
if (deltaY >= 20) {
deltaY = 20;
}
posY = posY + deltaY;
this._y = posY;
}
};
checkKeys = function () {
if (_global.Paused == false) {
keyspace = Key.isDown(32);
}
};
checkSide = function () {
topHead = ((hitCheck(land1, (this._x + 12) + _parent.deltaX, posY - 50) || (hitCheck(land2, (this._x + 12) + _parent.deltaX, posY - 50))) || (hitCheck(land3, (this._x + 12) + _parent.deltaX, posY - 50))) || (hitCheck(land4, (this._x + 12) + _parent.deltaX, posY - 50));
};
Symbol 242 MovieClip [Bat] Frame 2
stop();
deltaY = 2;
_global.Oily = false;
_global.Boosting = false;
onEnterFrame = function () {
grav();
check_floor();
checkSide();
floor = ((hitCheck(land1, this._x, posY + 1) || (hitCheck(land2, this._x, posY + 1))) || (hitCheck(land3, this._x, posY + 1))) || (hitCheck(land4, this._x, posY + 1));
checkKeys();
if ((deltaY >= -5) && (deltaY <= 4)) {
if (keyspace || (_global.jump_check == true)) {
gotoAndStop ("double");
}
}
if (deltaY >= 4) {
if ((keyspace && (_global.glide_open == true)) || ((_global.jump_check == true) && (_global.glide_open == true))) {
gotoAndStop ("glide");
}
}
if (floor) {
if (_global.Oily == false) {
gotoAndStop ("run");
} else {
gotoAndStop ("oil_slide");
}
}
if (_global.Paused == false) {
falll_mc.play();
} else {
falll_mc.stop();
}
};
Symbol 242 MovieClip [Bat] Frame 3
stop();
_global.Boosting = false;
_global.Oily = false;
onEnterFrame = function () {
checkSide();
grav();
check_ramp();
check_floor();
if (_global.Paused == false) {
roll_mc.play();
} else {
roll_mc.stop();
}
};
Symbol 242 MovieClip [Bat] Frame 4
stop();
_global.Boosting = false;
onEnterFrame = function () {
checkSide();
};
Symbol 242 MovieClip [Bat] Frame 5
stop();
_global.Boosting = false;
deltaY = 0;
_global.Oily = false;
onEnterFrame = function () {
if (_global.Paused == false) {
if (_global.Mute == false) {
_parent.pl_sound_mc.feet.setVolume(100);
}
}
if ((_global.Paused == true) || (_global.Mute == true)) {
_parent.pl_sound_mc.feet.setVolume(0);
}
check_floor();
checkKeys();
check_ramp();
if (_global.Oily == true) {
gotoAndStop ("oil_slide");
}
floor = ((hitCheck(land1, this._x, posY + 2) || (hitCheck(land2, this._x, posY + 2))) || (hitCheck(land3, this._x, posY + 2))) || (hitCheck(land4, this._x, posY + 2));
ramp = ((hitCheck(ramp1, this._x, posY + 2) || (hitCheck(ramp2, this._x, posY + 2))) || (hitCheck(ramp3, this._x, posY + 2))) || (hitCheck(ramp4, this._x, posY + 2));
if ((!floor) && (!ramp)) {
_parent.pl_sound_mc.feet.setVolume(0);
gotoAndStop ("fall");
}
if (floor) {
if (keyspace || (_global.jump_check == true)) {
_parent.pl_sound_mc.feet.setVolume(0);
gotoAndStop ("jump");
}
}
if (ramp) {
if (keyspace || (_global.jump_check == true)) {
_parent.pl_sound_mc.feet.setVolume(0);
gotoAndStop ("jump_ramp");
}
}
if (_global.Paused == false) {
run_mc.play();
} else {
run_mc.stop();
}
};
Symbol 242 MovieClip [Bat] Frame 6
stop();
_global.Times_Jumped++;
deltaY = jump_max;
mm = 0;
_global.Oily = false;
_global.SlowMo = false;
onEnterFrame = function () {
grav();
check_floor();
checkSide();
checkKeys();
check_ramp();
floor = ((hitCheck(land1, this._x, posY + 1) || (hitCheck(land2, this._x, posY + 1))) || (hitCheck(land3, this._x, posY + 1))) || (hitCheck(land4, this._x, posY + 1));
ramp = ((hitCheck(ramp1, this._x, posY + 1) || (hitCheck(ramp2, this._x, posY + 1))) || (hitCheck(ramp3, this._x, posY + 1))) || (hitCheck(ramp4, this._x, posY + 1));
if (floor || (ramp)) {
if (_global.Oily == false) {
gotoAndStop ("run");
} else {
gotoAndStop ("oil_slide");
}
}
if ((deltaY >= -5) && (deltaY <= 4)) {
if (keyspace || (_global.jump_check == true)) {
gotoAndStop ("double");
}
}
if (deltaY >= 4) {
if ((keyspace && (_global.glide_open == true)) || ((_global.jump_check == true) && (_global.glide_open == true))) {
gotoAndStop ("glide");
}
}
};
Symbol 242 MovieClip [Bat] Frame 7
stop();
_global.Times_Jumped++;
deltaY = jump_max;
mm = 0;
onEnterFrame = function () {
grav();
check_floor();
checkSide();
checkKeys();
check_ramp();
floor = ((hitCheck(land1, this._x, posY + 1) || (hitCheck(land2, this._x, posY + 1))) || (hitCheck(land3, this._x, posY + 1))) || (hitCheck(land4, this._x, posY + 1));
ramp = ((hitCheck(ramp1, this._x, posY + 1) || (hitCheck(ramp2, this._x, posY + 1))) || (hitCheck(ramp3, this._x, posY + 1))) || (hitCheck(ramp4, this._x, posY + 1));
if (floor || (ramp)) {
if (_global.Oily == false) {
gotoAndStop ("run");
} else {
gotoAndStop ("oil_slide");
}
}
if (deltaY >= -3) {
if ((keyspace && (_global.glide_open == true)) || ((_global.jump_check == true) && (_global.glide_open == true))) {
gotoAndStop ("glide");
}
}
};
Symbol 242 MovieClip [Bat] Frame 8
stop();
_global.Boosting = false;
onEnterFrame = function () {
};
Symbol 242 MovieClip [Bat] Frame 9
stop();
_global.Times_Jumped++;
_global.SlowMo = true;
_root.canSurf_mc.gotoAndStop(3);
_global.Boosting = false;
mm = 0;
onEnterFrame = function () {
grav();
checkKeys();
};
Symbol 242 MovieClip [Bat] Frame 10
stop();
_global.Times_Jumped++;
_parent.pl_sound_mc.feet.setVolume(0);
deltaY = random(15) - 30;
_parent.speedX = 30;
mm = 0;
_global.SlowMo = false;
onEnterFrame = function () {
grav();
checkKeys();
if (deltaY >= 0) {
gotoAndStop ("double");
}
};
Instance of Symbol 165 MovieClip in Symbol 242 MovieClip [Bat] Frame 10
onClipEvent (enterFrame) {
this.gotoAndPlay(this._currentframe + 10);
}
Symbol 242 MovieClip [Bat] Frame 11
stop();
var gotWings = new Sound(this);
gotWings.attachSound("gotWings");
gotWings.setVolume(100);
if (_global.Mute == false) {
gotWings.start();
}
_global.Times_Jumped++;
deltaY = -11;
mm = 0;
onEnterFrame = function () {
if (_global.Paused == false) {
_root.wings_mc.bar_mc._xscale = _root.wings_mc.bar_mc._xscale - 2;
if (_root.wings_mc.bar_mc._xscale <= 1) {
gotoAndStop ("fall_again");
}
grav();
deltaY = deltaY - 0.6;
check_floor();
checkSide();
checkKeys();
floor = ((hitCheck(land1, this._x, posY + 1) || (hitCheck(land2, this._x, posY + 1))) || (hitCheck(land3, this._x, posY + 1))) || (hitCheck(land4, this._x, posY + 1));
ramp = ((hitCheck(ramp1, this._x, posY + 1) || (hitCheck(ramp2, this._x, posY + 1))) || (hitCheck(ramp3, this._x, posY + 1))) || (hitCheck(ramp4, this._x, posY + 1));
if (floor || (ramp)) {
if (_global.Oily == false) {
gotoAndStop ("run");
} else {
gotoAndStop ("oil_slide");
}
}
if ((!keyspace) && (_global.jump_check == false)) {
gotoAndStop ("fall_again");
}
}
};
Symbol 242 MovieClip [Bat] Frame 12
stop();
_global.Boosting = false;
onEnterFrame = function () {
grav();
checkKeys();
check_floor();
checkSide();
floor = ((hitCheck(land1, this._x, posY + 1) || (hitCheck(land2, this._x, posY + 1))) || (hitCheck(land3, this._x, posY + 1))) || (hitCheck(land4, this._x, posY + 1));
ramp = ((hitCheck(ramp1, this._x, posY + 1) || (hitCheck(ramp2, this._x, posY + 1))) || (hitCheck(ramp3, this._x, posY + 1))) || (hitCheck(ramp4, this._x, posY + 1));
if (floor || (ramp)) {
if (_global.Oily == false) {
gotoAndStop ("run");
} else {
gotoAndStop ("oil_slide");
}
}
if ((keyspace && (_global.glide_open == true)) || ((_global.jump_check == true) && (_global.glide_open == true))) {
gotoAndStop ("glide_again");
}
};
Symbol 242 MovieClip [Bat] Frame 13
stop();
var gotWings = new Sound(this);
gotWings.attachSound("gotWings");
gotWings.setVolume(100);
if (_global.Mute == false) {
gotWings.start();
}
_global.Times_Jumped++;
deltaY = -1;
mm = 0;
onEnterFrame = function () {
if (_global.Paused == false) {
_root.wings_mc.bar_mc._xscale = _root.wings_mc.bar_mc._xscale - 2;
if (_root.wings_mc.bar_mc._xscale <= 1) {
gotoAndStop ("fall_again");
}
grav();
deltaY = deltaY - 0.6;
check_floor();
checkSide();
checkKeys();
floor = ((hitCheck(land1, this._x, posY + 1) || (hitCheck(land2, this._x, posY + 1))) || (hitCheck(land3, this._x, posY + 1))) || (hitCheck(land4, this._x, posY + 1));
ramp = ((hitCheck(ramp1, this._x, posY + 1) || (hitCheck(ramp2, this._x, posY + 1))) || (hitCheck(ramp3, this._x, posY + 1))) || (hitCheck(ramp4, this._x, posY + 1));
if (floor || (ramp)) {
if (_global.Oily == false) {
gotoAndStop ("run");
} else {
gotoAndStop ("oil_slide");
}
}
if ((!keyspace) && (_global.jump_check == false)) {
gotoAndStop ("fall_again");
}
}
};
Symbol 242 MovieClip [Bat] Frame 14
var endSplash = new Sound(this);
endSplash.attachSound("endSplash");
endSplash.setVolume(80);
if (_global.Mute == false) {
endSplash.start();
}
_root.death_mc.gotoAndPlay("death");
onEnterFrame = function () {
};
_global.Boosting = false;
Symbol 242 MovieClip [Bat] Frame 15
_global.Wipe_Outs++;
_global.Oily = false;
_global.Boosting = false;
_parent.pl_sound_mc.feet.setVolume(0);
onEnterFrame = function () {
grav();
checkKeys();
if (deltaY >= 8) {
check_floor();
floor = ((hitCheck(land1, this._x, posY + 1) || (hitCheck(land2, this._x, posY + 1))) || (hitCheck(land3, this._x, posY + 1))) || (hitCheck(land4, this._x, posY + 1));
ramp = ((hitCheck(ramp1, this._x, posY + 1) || (hitCheck(ramp2, this._x, posY + 1))) || (hitCheck(ramp3, this._x, posY + 1))) || (hitCheck(ramp4, this._x, posY + 1));
if (floor || (ramp)) {
gotoAndStop ("land_roll");
}
if (keyspace || (_global.jump_check == true)) {
gotoAndStop ("falling_save");
}
}
};
Symbol 242 MovieClip [Bat] Frame 16
stop();
_global.Boosting = true;
_global.Times_Jumped++;
deltaY = -18;
_global.On_Ramps++;
mm = 0;
_global.SlowMo = false;
onEnterFrame = function () {
grav();
check_floor();
checkKeys();
check_ramp();
floor = ((hitCheck(land1, this._x, posY + 1) || (hitCheck(land2, this._x, posY + 1))) || (hitCheck(land3, this._x, posY + 1))) || (hitCheck(land4, this._x, posY + 1));
ramp = ((hitCheck(ramp1, this._x, posY + 1) || (hitCheck(ramp2, this._x, posY + 1))) || (hitCheck(ramp3, this._x, posY + 1))) || (hitCheck(ramp4, this._x, posY + 1));
if (deltaY >= 0) {
if (floor || (ramp)) {
_global.Boosting = false;
if (_global.Oily == false) {
gotoAndStop ("run");
} else {
gotoAndStop ("oil_slide");
}
}
}
if (deltaY >= -3) {
if (keyspace || (_global.jump_check == true)) {
gotoAndStop ("double");
}
}
};
Symbol 242 MovieClip [Bat] Frame 17
stop();
_global.Boosting = false;
_global.Times_Jumped++;
deltaY = jump_max;
mm = 0;
onEnterFrame = function () {
grav();
check_floor();
checkSide();
checkKeys();
check_ramp();
floor = ((hitCheck(land1, this._x, posY + 1) || (hitCheck(land2, this._x, posY + 1))) || (hitCheck(land3, this._x, posY + 1))) || (hitCheck(land4, this._x, posY + 1));
ramp = ((hitCheck(ramp1, this._x, posY + 1) || (hitCheck(ramp2, this._x, posY + 1))) || (hitCheck(ramp3, this._x, posY + 1))) || (hitCheck(ramp4, this._x, posY + 1));
if (floor || (ramp)) {
if (_global.Oily == false) {
gotoAndStop ("run");
} else {
gotoAndStop ("oil_slide");
}
}
if (deltaY >= -3) {
if ((keyspace && (_global.glide_open == true)) || ((_global.jump_check == true) && (_global.glide_open == true))) {
gotoAndStop ("glide");
}
}
};
Symbol 242 MovieClip [Bat] Frame 18
stop();
deltaY = 0;
_global.Boosting = true;
_parent.pl_sound_mc.feet.setVolume(0);
onEnterFrame = function () {
check_floor();
checkKeys();
floor = ((hitCheck(land1, this._x, posY + 2) || (hitCheck(land2, this._x, posY + 2))) || (hitCheck(land3, this._x, posY + 2))) || (hitCheck(land4, this._x, posY + 2));
if (!floor) {
gotoAndStop ("boulder");
}
if (floor) {
if (keyspace || (_global.jump_check == true)) {
gotoAndStop ("slide_save");
}
}
if (_global.Paused == false) {
slide_mc.play();
} else {
slide_mc.stop();
}
};
Symbol 242 MovieClip [Bat] Frame 19
stop();
_global.Times_Jumped++;
deltaY = 0;
_global.Oily = false;
_global.Boosting = false;
onEnterFrame = function () {
check_floor();
checkKeys();
floor = ((hitCheck(land1, this._x, posY + 2) || (hitCheck(land2, this._x, posY + 2))) || (hitCheck(land3, this._x, posY + 2))) || (hitCheck(land4, this._x, posY + 2));
if (!floor) {
gotoAndStop ("fall");
}
if (floor) {
if ((keyspace && (save_mc._currentframe >= 6)) || ((_global.jump_check == true) && (save_mc._currentframe >= 6))) {
gotoAndStop ("double");
}
}
};
Symbol 264 MovieClip Frame 10
gotoAndPlay ("loop");
Symbol 283 MovieClip Frame 1
onEnterFrame = function () {
if (_global.Paused == false) {
this.play();
} else {
this.stop();
}
};
Symbol 284 MovieClip Frame 9
if (_global.Oily == false) {
_parent.gotoAndStop("run");
} else {
_parent.gotoAndStop("oil_slide");
}
Symbol 305 MovieClip Frame 12
gotoAndPlay ("loop");
Symbol 317 MovieClip Frame 18
gotoAndPlay ("loop");
Symbol 318 MovieClip Frame 1
stop();
var swish = new Sound(this);
swish.attachSound("swish");
swish.setVolume(50);
if (_global.Mute == false) {
swish.start();
}
Symbol 329 MovieClip Frame 1
var swish = new Sound(this);
swish.attachSound("swish");
swish.setVolume(40);
if (_global.Mute == false) {
swish.start();
}
Symbol 329 MovieClip Frame 15
gotoAndPlay ("loop");
Symbol 370 MovieClip Frame 1
onEnterFrame = function () {
if (_global.Paused == false) {
_parent.deltaY = -4;
this.play();
} else {
this.stop();
}
};
Symbol 370 MovieClip Frame 100
delete eval (onEnterFrame(this));
_global.SlowMo = false;
_parent._parent.speedX = 25;
_parent.gotoAndStop("double");
Symbol 419 MovieClip Frame 20
Symbol 419 MovieClip Frame 41
_global.SlowMo = false;
gotoAndPlay ("loop");
Symbol 432 MovieClip Frame 12
gotoAndPlay ("loop");
Symbol 435 MovieClip Frame 23
gotoAndPlay ("loop");
Symbol 447 MovieClip Frame 15
gotoAndPlay ("loop");
Symbol 464 MovieClip Frame 9
stop();
Symbol 465 MovieClip [knight] Frame 1
var land1 = _parent.plat1_mc.plat_mc.floor_mc;
var land2 = _parent.plat2_mc.plat_mc.floor_mc;
var land3 = _parent.plat3_mc.plat_mc.floor_mc;
var land4 = _parent.plat4_mc.plat_mc.floor_mc;
var ramp1 = _parent.plat1_mc.ramp_mc;
var ramp2 = _parent.plat2_mc.ramp_mc;
var ramp3 = _parent.plat3_mc.ramp_mc;
var ramp4 = _parent.plat4_mc.ramp_mc;
jump_max = -10;
jump_push = -0.5;
jump_double = -10;
deltaY = 0;
gravity = 0.9;
posY = this._y;
hitCheck = function (clip, localX, localY) {
var _local2 = new flash.geom.Point(localX, localY);
_parent.localToGlobal(_local2);
return(clip.hitTest(_local2.x, _local2.y, true));
};
check_floor = function () {
onFloor = false;
if (deltaY >= 0) {
if (hitCheck(land1, this._x, posY - 12)) {
deltaY = 0;
posY = posY - 12;
onFloor = true;
}
if (hitCheck(land1, this._x, posY - 10)) {
deltaY = 0;
posY = posY - 10;
onFloor = true;
}
if (hitCheck(land1, this._x, posY - 8)) {
deltaY = 0;
posY = posY - 8;
onFloor = true;
}
if (hitCheck(land1, this._x, posY - 6)) {
deltaY = 0;
posY = posY - 6;
onFloor = true;
}
if (hitCheck(land1, this._x, posY - 5)) {
deltaY = 0;
posY = posY - 5;
onFloor = true;
}
if (hitCheck(land1, this._x, posY - 4)) {
deltaY = 0;
posY = posY - 4;
onFloor = true;
}
if (hitCheck(land1, this._x, posY - 3)) {
deltaY = 0;
posY = posY - 3;
onFloor = true;
}
if (hitCheck(land1, this._x, posY - 2)) {
deltaY = 0;
posY = posY - 1;
onFloor = true;
}
if (hitCheck(land1, this._x, posY - 1)) {
deltaY = 0;
posY = posY - 1;
posY = Math.round(posY);
onFloor = true;
}
if (hitCheck(land2, this._x, posY - 10)) {
deltaY = 0;
posY = posY - 10;
onFloor = true;
}
if (hitCheck(land2, this._x, posY - 8)) {
deltaY = 0;
posY = posY - 8;
onFloor = true;
}
if (hitCheck(land2, this._x, posY - 6)) {
deltaY = 0;
posY = posY - 6;
onFloor = true;
}
if (hitCheck(land2, this._x, posY - 5)) {
deltaY = 0;
posY = posY - 5;
onFloor = true;
}
if (hitCheck(land2, this._x, posY - 4)) {
deltaY = 0;
posY = posY - 4;
onFloor = true;
}
if (hitCheck(land2, this._x, posY - 3)) {
deltaY = 0;
posY = posY - 3;
onFloor = true;
}
if (hitCheck(land2, this._x, posY - 2)) {
deltaY = 0;
posY = posY - 1;
onFloor = true;
}
if (hitCheck(land2, this._x, posY - 1)) {
deltaY = 0;
posY = posY - 1;
posY = Math.round(posY);
onFloor = true;
}
if (hitCheck(land3, this._x, posY - 10)) {
deltaY = 0;
posY = posY - 10;
onFloor = true;
}
if (hitCheck(land3, this._x, posY - 8)) {
deltaY = 0;
posY = posY - 8;
onFloor = true;
}
if (hitCheck(land3, this._x, posY - 6)) {
deltaY = 0;
posY = posY - 6;
onFloor = true;
}
if (hitCheck(land3, this._x, posY - 5)) {
deltaY = 0;
posY = posY - 5;
onFloor = true;
}
if (hitCheck(land3, this._x, posY - 4)) {
deltaY = 0;
posY = posY - 4;
onFloor = true;
}
if (hitCheck(land3, this._x, posY - 3)) {
deltaY = 0;
posY = posY - 3;
onFloor = true;
}
if (hitCheck(land3, this._x, posY - 2)) {
deltaY = 0;
posY = posY - 1;
onFloor = true;
}
if (hitCheck(land3, this._x, posY - 1)) {
deltaY = 0;
posY = posY - 1;
posY = Math.round(posY);
onFloor = true;
}
if (hitCheck(land4, this._x, posY - 10)) {
deltaY = 0;
posY = posY - 10;
onFloor = true;
}
if (hitCheck(land4, this._x, posY - 8)) {
deltaY = 0;
posY = posY - 8;
onFloor = true;
}
if (hitCheck(land4, this._x, posY - 6)) {
deltaY = 0;
posY = posY - 6;
onFloor = true;
}
if (hitCheck(land4, this._x, posY - 5)) {
deltaY = 0;
posY = posY - 5;
onFloor = true;
}
if (hitCheck(land4, this._x, posY - 4)) {
deltaY = 0;
posY = posY - 4;
onFloor = true;
}
if (hitCheck(land4, this._x, posY - 3)) {
deltaY = 0;
posY = posY - 3;
onFloor = true;
}
if (hitCheck(land4, this._x, posY - 2)) {
deltaY = 0;
posY = posY - 1;
onFloor = true;
}
if (hitCheck(land4, this._x, posY - 1)) {
deltaY = 0;
posY = posY - 1;
posY = Math.round(posY);
onFloor = true;
}
}
this._y = posY;
};
check_ramp = function () {
onRamp = false;
if (_global.SlowMo == false) {
if (hitCheck(ramp1, this._x, posY - 12)) {
deltaY = 0;
posY = posY - 11;
onRamp = true;
}
if (hitCheck(ramp1, this._x, posY - 10)) {
deltaY = 0;
posY = posY - 9;
onRamp = true;
}
if (hitCheck(ramp1, this._x, posY - 8)) {
deltaY = 0;
posY = posY - 7;
onRamp = true;
}
if (hitCheck(ramp1, this._x, posY - 6)) {
deltaY = 0;
posY = posY - 5;
onRamp = true;
}
if (hitCheck(ramp1, this._x, posY - 5)) {
deltaY = 0;
posY = posY - 4;
onRamp = true;
}
if (hitCheck(ramp1, this._x, posY - 4)) {
deltaY = 0;
posY = posY - 3;
onRamp = true;
}
if (hitCheck(ramp1, this._x, posY - 3)) {
deltaY = 0;
posY = posY - 2;
onRamp = true;
}
if (hitCheck(ramp1, this._x, posY - 2)) {
deltaY = 0;
posY = posY - 1;
onRamp = true;
}
if (hitCheck(ramp1, this._x, posY - 1)) {
deltaY = 0;
posY = posY - 0;
posY = Math.round(posY);
onRamp = true;
}
if (hitCheck(ramp2, this._x, posY - 10)) {
deltaY = 0;
posY = posY - 9;
onRamp = true;
}
if (hitCheck(ramp2, this._x, posY - 8)) {
deltaY = 0;
posY = posY - 7;
onRamp = true;
}
if (hitCheck(ramp2, this._x, posY - 6)) {
deltaY = 0;
posY = posY - 5;
onRamp = true;
}
if (hitCheck(ramp2, this._x, posY - 5)) {
deltaY = 0;
posY = posY - 4;
onRamp = true;
}
if (hitCheck(ramp2, this._x, posY - 4)) {
deltaY = 0;
posY = posY - 3;
onRamp = true;
}
if (hitCheck(ramp2, this._x, posY - 3)) {
deltaY = 0;
posY = posY - 2;
onRamp = true;
}
if (hitCheck(ramp2, this._x, posY - 2)) {
deltaY = 0;
posY = posY - 1;
onRamp = true;
}
if (hitCheck(ramp2, this._x, posY - 1)) {
deltaY = 0;
posY = posY - 0;
posY = Math.round(posY);
onRamp = true;
}
if (hitCheck(ramp3, this._x, posY - 10)) {
deltaY = 0;
posY = posY - 9;
onRamp = true;
}
if (hitCheck(ramp3, this._x, posY - 8)) {
deltaY = 0;
posY = posY - 7;
onRamp = true;
}
if (hitCheck(ramp3, this._x, posY - 6)) {
deltaY = 0;
posY = posY - 5;
onRamp = true;
}
if (hitCheck(ramp3, this._x, posY - 5)) {
deltaY = 0;
posY = posY - 4;
onRamp = true;
}
if (hitCheck(ramp3, this._x, posY - 4)) {
deltaY = 0;
posY = posY - 4;
onRamp = true;
}
if (hitCheck(ramp3, this._x, posY - 3)) {
deltaY = 0;
posY = posY - 2;
onRamp = true;
}
if (hitCheck(ramp3, this._x, posY - 2)) {
deltaY = 0;
posY = posY - 1;
onRamp = true;
}
if (hitCheck(ramp3, this._x, posY - 1)) {
deltaY = 0;
posY = posY - 0;
posY = Math.round(posY);
onRamp = true;
}
if (hitCheck(ramp4, this._x, posY - 10)) {
deltaY = 0;
posY = posY - 9;
onRamp = true;
}
if (hitCheck(ramp4, this._x, posY - 8)) {
deltaY = 0;
posY = posY - 7;
onRamp = true;
}
if (hitCheck(ramp4, this._x, posY - 6)) {
deltaY = 0;
posY = posY - 5;
onRamp = true;
}
if (hitCheck(ramp4, this._x, posY - 5)) {
deltaY = 0;
posY = posY - 4;
onRamp = true;
}
if (hitCheck(ramp4, this._x, posY - 4)) {
deltaY = 0;
posY = posY - 3;
onRamp = true;
}
if (hitCheck(ramp4, this._x, posY - 3)) {
deltaY = 0;
posY = posY - 2;
onRamp = true;
}
if (hitCheck(ramp4, this._x, posY - 2)) {
deltaY = 0;
posY = posY - 1;
onRamp = true;
}
if (hitCheck(ramp4, this._x, posY - 1)) {
deltaY = 0;
posY = posY - 0;
posY = Math.round(posY);
onRamp = true;
}
}
this._y = posY;
};
grav = function () {
if (_global.Paused == false) {
deltaY = deltaY + gravity;
if (deltaY >= 20) {
deltaY = 20;
}
posY = posY + deltaY;
this._y = posY;
}
};
checkKeys = function () {
if (_global.Paused == false) {
keyspace = Key.isDown(32);
}
};
checkSide = function () {
topHead = ((hitCheck(land1, (this._x + 12) + _parent.deltaX, posY - 50) || (hitCheck(land2, (this._x + 12) + _parent.deltaX, posY - 50))) || (hitCheck(land3, (this._x + 12) + _parent.deltaX, posY - 50))) || (hitCheck(land4, (this._x + 12) + _parent.deltaX, posY - 50));
};
Symbol 465 MovieClip [knight] Frame 2
stop();
deltaY = 2;
_global.Boosting = false;
_global.Oily = false;
onEnterFrame = function () {
grav();
check_floor();
checkSide();
floor = ((hitCheck(land1, this._x, posY + 1) || (hitCheck(land2, this._x, posY + 1))) || (hitCheck(land3, this._x, posY + 1))) || (hitCheck(land4, this._x, posY + 1));
checkKeys();
if ((deltaY >= -5) && (deltaY <= 4)) {
if (keyspace || (_global.jump_check == true)) {
gotoAndStop ("double");
}
}
if (deltaY >= 4) {
if ((keyspace && (_global.glide_open == true)) || ((_global.jump_check == true) && (_global.glide_open == true))) {
gotoAndStop ("glide");
}
}
if (floor) {
if (_global.Oily == false) {
gotoAndStop ("run");
} else {
gotoAndStop ("oil_slide");
}
}
if (_global.Paused == false) {
falll_mc.play();
} else {
falll_mc.stop();
}
};
Symbol 465 MovieClip [knight] Frame 3
stop();
_global.Boosting = false;
_global.Oily = false;
onEnterFrame = function () {
checkSide();
grav();
check_ramp();
check_floor();
if (_global.Paused == false) {
roll_mc.play();
} else {
roll_mc.stop();
}
};
Symbol 465 MovieClip [knight] Frame 4
stop();
_global.Boosting = false;
onEnterFrame = function () {
checkSide();
};
Symbol 465 MovieClip [knight] Frame 5
stop();
_global.Boosting = false;
deltaY = 0;
_global.Oily = false;
onEnterFrame = function () {
if (_global.Paused == false) {
if (_global.Mute == false) {
_parent.pl_sound_mc.feet.setVolume(100);
}
}
if ((_global.Paused == true) || (_global.Mute == true)) {
_parent.pl_sound_mc.feet.setVolume(0);
}
check_floor();
checkKeys();
check_ramp();
if (_global.Oily == true) {
gotoAndStop ("oil_slide");
}
floor = ((hitCheck(land1, this._x, posY + 2) || (hitCheck(land2, this._x, posY + 2))) || (hitCheck(land3, this._x, posY + 2))) || (hitCheck(land4, this._x, posY + 2));
ramp = ((hitCheck(ramp1, this._x, posY + 2) || (hitCheck(ramp2, this._x, posY + 2))) || (hitCheck(ramp3, this._x, posY + 2))) || (hitCheck(ramp4, this._x, posY + 2));
if ((!floor) && (!ramp)) {
_parent.pl_sound_mc.feet.setVolume(0);
gotoAndStop ("fall");
}
if (floor) {
if (keyspace || (_global.jump_check == true)) {
_parent.pl_sound_mc.feet.setVolume(0);
gotoAndStop ("jump");
}
}
if (ramp) {
if (keyspace || (_global.jump_check == true)) {
_parent.pl_sound_mc.feet.setVolume(0);
gotoAndStop ("jump_ramp");
}
}
if (_global.Paused == false) {
run_mc.play();
} else {
run_mc.stop();
}
};
Symbol 465 MovieClip [knight] Frame 6
stop();
_global.Times_Jumped++;
deltaY = jump_max;
mm = 0;
_global.Oily = false;
_global.SlowMo = false;
onEnterFrame = function () {
grav();
check_floor();
checkSide();
checkKeys();
check_ramp();
floor = ((hitCheck(land1, this._x, posY + 1) || (hitCheck(land2, this._x, posY + 1))) || (hitCheck(land3, this._x, posY + 1))) || (hitCheck(land4, this._x, posY + 1));
ramp = ((hitCheck(ramp1, this._x, posY + 1) || (hitCheck(ramp2, this._x, posY + 1))) || (hitCheck(ramp3, this._x, posY + 1))) || (hitCheck(ramp4, this._x, posY + 1));
if (floor || (ramp)) {
if (_global.Oily == false) {
gotoAndStop ("run");
} else {
gotoAndStop ("oil_slide");
}
}
if ((deltaY >= -5) && (deltaY <= 4)) {
if (keyspace || (_global.jump_check == true)) {
gotoAndStop ("double");
}
}
if (deltaY >= 4) {
if ((keyspace && (_global.glide_open == true)) || ((_global.jump_check == true) && (_global.glide_open == true))) {
gotoAndStop ("glide");
}
}
};
Instance of Symbol 318 MovieClip in Symbol 465 MovieClip [knight] Frame 6
onClipEvent (load) {
gotoAndStop(random(4) + 1);
}
Symbol 465 MovieClip [knight] Frame 7
stop();
_global.Times_Jumped++;
deltaY = jump_max;
mm = 0;
onEnterFrame = function () {
grav();
check_floor();
checkSide();
checkKeys();
check_ramp();
floor = ((hitCheck(land1, this._x, posY + 1) || (hitCheck(land2, this._x, posY + 1))) || (hitCheck(land3, this._x, posY + 1))) || (hitCheck(land4, this._x, posY + 1));
ramp = ((hitCheck(ramp1, this._x, posY + 1) || (hitCheck(ramp2, this._x, posY + 1))) || (hitCheck(ramp3, this._x, posY + 1))) || (hitCheck(ramp4, this._x, posY + 1));
if (floor || (ramp)) {
if (_global.Oily == false) {
gotoAndStop ("run");
} else {
gotoAndStop ("oil_slide");
}
}
if (deltaY >= -3) {
if ((keyspace && (_global.glide_open == true)) || ((_global.jump_check == true) && (_global.glide_open == true))) {
gotoAndStop ("glide");
}
}
};
Symbol 465 MovieClip [knight] Frame 8
stop();
_global.Boosting = false;
onEnterFrame = function () {
};
Symbol 465 MovieClip [knight] Frame 9
stop();
_global.Times_Jumped++;
_global.SlowMo = true;
_root.canSurf_mc.gotoAndStop(3);
_global.Boosting = false;
mm = 0;
onEnterFrame = function () {
grav();
checkKeys();
};
Symbol 465 MovieClip [knight] Frame 10
stop();
_global.Times_Jumped++;
_parent.pl_sound_mc.feet.setVolume(0);
deltaY = random(15) - 30;
_parent.speedX = 30;
mm = 0;
_global.SlowMo = false;
onEnterFrame = function () {
grav();
checkKeys();
if (deltaY >= 0) {
gotoAndStop ("double");
}
};
Instance of Symbol 400 MovieClip in Symbol 465 MovieClip [knight] Frame 10
onClipEvent (enterFrame) {
this.gotoAndPlay(this._currentframe + 10);
}
Symbol 465 MovieClip [knight] Frame 11
stop();
var gotWings = new Sound(this);
gotWings.attachSound("gotWings");
gotWings.setVolume(100);
if (_global.Mute == false) {
gotWings.start();
}
_global.Times_Jumped++;
deltaY = -11;
mm = 0;
onEnterFrame = function () {
if (_global.Paused == false) {
_root.wings_mc.bar_mc._xscale = _root.wings_mc.bar_mc._xscale - 2;
if (_root.wings_mc.bar_mc._xscale <= 1) {
gotoAndStop ("fall_again");
}
grav();
deltaY = deltaY - 0.6;
check_floor();
checkSide();
checkKeys();
floor = ((hitCheck(land1, this._x, posY + 1) || (hitCheck(land2, this._x, posY + 1))) || (hitCheck(land3, this._x, posY + 1))) || (hitCheck(land4, this._x, posY + 1));
ramp = ((hitCheck(ramp1, this._x, posY + 1) || (hitCheck(ramp2, this._x, posY + 1))) || (hitCheck(ramp3, this._x, posY + 1))) || (hitCheck(ramp4, this._x, posY + 1));
if (floor || (ramp)) {
if (_global.Oily == false) {
gotoAndStop ("run");
} else {
gotoAndStop ("oil_slide");
}
}
if ((!keyspace) && (_global.jump_check == false)) {
gotoAndStop ("fall_again");
}
}
};
Symbol 465 MovieClip [knight] Frame 12
stop();
_global.Boosting = false;
onEnterFrame = function () {
grav();
checkKeys();
check_floor();
checkSide();
floor = ((hitCheck(land1, this._x, posY + 1) || (hitCheck(land2, this._x, posY + 1))) || (hitCheck(land3, this._x, posY + 1))) || (hitCheck(land4, this._x, posY + 1));
ramp = ((hitCheck(ramp1, this._x, posY + 1) || (hitCheck(ramp2, this._x, posY + 1))) || (hitCheck(ramp3, this._x, posY + 1))) || (hitCheck(ramp4, this._x, posY + 1));
if (floor || (ramp)) {
if (_global.Oily == false) {
gotoAndStop ("run");
} else {
gotoAndStop ("oil_slide");
}
}
if ((keyspace && (_global.glide_open == true)) || ((_global.jump_check == true) && (_global.glide_open == true))) {
gotoAndStop ("glide_again");
}
};
Symbol 465 MovieClip [knight] Frame 13
stop();
var gotWings = new Sound(this);
gotWings.attachSound("gotWings");
gotWings.setVolume(100);
if (_global.Mute == false) {
gotWings.start();
}
_global.Times_Jumped++;
deltaY = -1;
mm = 0;
onEnterFrame = function () {
if (_global.Paused == false) {
_root.wings_mc.bar_mc._xscale = _root.wings_mc.bar_mc._xscale - 2;
if (_root.wings_mc.bar_mc._xscale <= 1) {
gotoAndStop ("fall_again");
}
grav();
deltaY = deltaY - 0.6;
check_floor();
checkSide();
checkKeys();
floor = ((hitCheck(land1, this._x, posY + 1) || (hitCheck(land2, this._x, posY + 1))) || (hitCheck(land3, this._x, posY + 1))) || (hitCheck(land4, this._x, posY + 1));
ramp = ((hitCheck(ramp1, this._x, posY + 1) || (hitCheck(ramp2, this._x, posY + 1))) || (hitCheck(ramp3, this._x, posY + 1))) || (hitCheck(ramp4, this._x, posY + 1));
if (floor || (ramp)) {
if (_global.Oily == false) {
gotoAndStop ("run");
} else {
gotoAndStop ("oil_slide");
}
}
if ((!keyspace) && (_global.jump_check == false)) {
gotoAndStop ("fall_again");
}
}
};
Symbol 465 MovieClip [knight] Frame 14
var endSplash = new Sound(this);
endSplash.attachSound("endSplash");
endSplash.setVolume(80);
if (_global.Mute == false) {
endSplash.start();
}
_root.death_mc.gotoAndPlay("death");
onEnterFrame = function () {
};
_global.Boosting = false;
Symbol 465 MovieClip [knight] Frame 15
_global.Wipe_Outs++;
_global.Boosting = false;
_global.Oily = false;
_parent.pl_sound_mc.feet.setVolume(0);
onEnterFrame = function () {
grav();
checkKeys();
if (deltaY >= 8) {
check_floor();
floor = ((hitCheck(land1, this._x, posY + 1) || (hitCheck(land2, this._x, posY + 1))) || (hitCheck(land3, this._x, posY + 1))) || (hitCheck(land4, this._x, posY + 1));
ramp = ((hitCheck(ramp1, this._x, posY + 1) || (hitCheck(ramp2, this._x, posY + 1))) || (hitCheck(ramp3, this._x, posY + 1))) || (hitCheck(ramp4, this._x, posY + 1));
if (floor || (ramp)) {
gotoAndStop ("land_roll");
}
if (keyspace || (_global.jump_check == true)) {
gotoAndStop ("falling_save");
}
}
};
Symbol 465 MovieClip [knight] Frame 16
stop();
_global.Boosting = true;
_global.Times_Jumped++;
_global.On_Ramps++;
deltaY = -18;
mm = 0;
_global.SlowMo = false;
onEnterFrame = function () {
grav();
check_floor();
checkKeys();
check_ramp();
floor = ((hitCheck(land1, this._x, posY + 1) || (hitCheck(land2, this._x, posY + 1))) || (hitCheck(land3, this._x, posY + 1))) || (hitCheck(land4, this._x, posY + 1));
ramp = ((hitCheck(ramp1, this._x, posY + 1) || (hitCheck(ramp2, this._x, posY + 1))) || (hitCheck(ramp3, this._x, posY + 1))) || (hitCheck(ramp4, this._x, posY + 1));
if (deltaY >= 0) {
if (floor || (ramp)) {
_global.Boosting = false;
if (_global.Oily == false) {
gotoAndStop ("run");
} else {
gotoAndStop ("oil_slide");
}
}
}
if (deltaY >= -3) {
if (keyspace || (_global.jump_check == true)) {
gotoAndStop ("double");
}
}
};
Instance of Symbol 318 MovieClip in Symbol 465 MovieClip [knight] Frame 16
onClipEvent (load) {
gotoAndStop(random(4) + 1);
}
Symbol 465 MovieClip [knight] Frame 17
stop();
_global.Boosting = false;
_global.Times_Jumped++;
deltaY = jump_max;
mm = 0;
onEnterFrame = function () {
grav();
check_floor();
checkSide();
checkKeys();
check_ramp();
floor = ((hitCheck(land1, this._x, posY + 1) || (hitCheck(land2, this._x, posY + 1))) || (hitCheck(land3, this._x, posY + 1))) || (hitCheck(land4, this._x, posY + 1));
ramp = ((hitCheck(ramp1, this._x, posY + 1) || (hitCheck(ramp2, this._x, posY + 1))) || (hitCheck(ramp3, this._x, posY + 1))) || (hitCheck(ramp4, this._x, posY + 1));
if (floor || (ramp)) {
if (_global.Oily == false) {
gotoAndStop ("run");
} else {
gotoAndStop ("oil_slide");
}
}
if (deltaY >= -3) {
if ((keyspace && (_global.glide_open == true)) || ((_global.jump_check == true) && (_global.glide_open == true))) {
gotoAndStop ("glide");
}
}
};
Symbol 465 MovieClip [knight] Frame 18
stop();
deltaY = 0;
_global.Boosting = true;
_parent.pl_sound_mc.feet.setVolume(0);
onEnterFrame = function () {
check_floor();
checkKeys();
floor = ((hitCheck(land1, this._x, posY + 2) || (hitCheck(land2, this._x, posY + 2))) || (hitCheck(land3, this._x, posY + 2))) || (hitCheck(land4, this._x, posY + 2));
if (!floor) {
gotoAndStop ("boulder");
}
if (floor) {
if (keyspace || (_global.jump_check == true)) {
gotoAndStop ("slide_save");
}
}
if (_global.Paused == false) {
slide_mc.play();
} else {
slide_mc.stop();
}
};
Symbol 465 MovieClip [knight] Frame 19
stop();
_global.Times_Jumped++;
deltaY = 0;
_global.Oily = false;
onEnterFrame = function () {
check_floor();
checkKeys();
floor = ((hitCheck(land1, this._x, posY + 2) || (hitCheck(land2, this._x, posY + 2))) || (hitCheck(land3, this._x, posY + 2))) || (hitCheck(land4, this._x, posY + 2));
if (!floor) {
gotoAndStop ("fall");
}
if (floor) {
if ((keyspace && (save_mc._currentframe >= 6)) || ((_global.jump_check == true) && (save_mc._currentframe >= 6))) {
gotoAndStop ("double");
}
}
};
Symbol 467 MovieClip [message_multi10] Frame 50
stop();
removeMovieClip(this);
Symbol 469 MovieClip [message_multi5] Frame 50
stop();
removeMovieClip(this);
Symbol 476 MovieClip [message_small] Frame 50
stop();
removeMovieClip(this);
Symbol 477 MovieClip [message_big] Frame 50
stop();
removeMovieClip(this);
Symbol 516 MovieClip [tramp] Frame 1
stop();
onEnterFrame = function () {
if (this.hitTest(_parent._parent.hero_mc)) {
if (_global.SlowMo == false) {
_global.Boosting = true;
_parent._parent.hero_mc.gotoAndStop("tramp");
play();
}
}
};
Symbol 516 MovieClip [tramp] Frame 2
play();
if (_global.Mute == false) {
_parent._parent.ef_sound_mc.Spring.start();
}
_global.Tramps_Taken++;
Symbol 516 MovieClip [tramp] Frame 15
stop();
Symbol 535 MovieClip Frame 410
_root.loadTime = true;
stop();
Symbol 1130 MovieClip [__Packages.mochi.as2.MochiSync] Frame 0
class mochi.as2.MochiSync
{
var _syncContainer;
function MochiSync () {
_syncContainer = {};
}
function getProp(name) {
return(_syncContainer[name]);
}
function setProp(name, value) {
if (_syncContainer[name] == value) {
return(undefined);
}
_syncContainer[name] = value;
mochi.as2.MochiServices.send("sync_propUpdate", {name:name, value:value});
}
function triggerEvent(eventType, args) {
switch (eventType) {
case SYNC_REQUEST :
mochi.as2.MochiServices.send("sync_syncronize", _syncContainer);
break;
case SYNC_PROPERTY :
_syncContainer[args.name] = args.value;
}
}
static var SYNC_REQUEST = "SyncRequest";
static var SYNC_PROPERTY = "UpdateProperty";
}
Symbol 1131 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.8 as2");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local6 = "_mochiservices_com_" + id;
var _local5 = new MovieClipLoader();
var _local3 = {};
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servURL) {
_servURL = urlOptions().servURL;
}
var _local4 = _servURL + _services;
if (urlOptions().servicesURL) {
_local4 = urlOptions().servicesURL;
}
allowDomains(_local4);
_clip = clip.createEmptyMovieClip(_local6, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
if (_local3.waitInterval != null) {
clearInterval(_local3.waitInterval);
}
_local3.onLoadError = loadError;
_local3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_local3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
_local3.startTime = getTimer();
_local3.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_local3.waitInterval = setInterval(_local3, "wait", 1000);
_local5.addListener(_local3);
_local5.loadClip((((((_local4 + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options)) + "&api_version=") + getVersion(), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function loadError(target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
disconnect();
onError.apply(null, [errorCode]);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case "events" :
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case "coins" :
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
break;
case "sync" :
mochi.as2.MochiServices.servicesSync.triggerEvent(pkg.event, pkg.args);
}
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function updateCopy(args) {
send("coins_updateCopy", args, null, null);
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
var _local6;
if (_root._url.indexOf("mochiad_options") != -1) {
var _local2 = (_root._url.indexOf("mochiad_options") + "mochiad_options".length) + 1;
_local6 = _root._url.substr(_local2, _root._url.length);
} else if (_root.mochiad_options) {
_local6 = _root.mochiad_options;
}
if (_local6) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://x.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static function setContainer(clip) {
}
static function stayOnTop(clip) {
}
static var _servURL = "http://www.mochiads.com/static/lib/services/";
static var _services = "services.swf";
static var _mochiLC = "MochiLC.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
static var servicesSync = new mochi.as2.MochiSync();
}
Symbol 1132 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] Frame 0
class mochi.as2.MochiEventDispatcher
{
var eventTable;
function MochiEventDispatcher () {
eventTable = {};
}
function buildDelegate(thisObject, thatObject) {
var _local2 = {thisObject:thisObject, thatObject:thatObject};
if (thatObject != undefined) {
var funct = ((typeof(thatObject) == "string") ? (thisObject[thatObject]) : (thatObject));
_local2.delegate = function (args) {
funct.call(thisObject, args);
};
} else {
_local2.delegate = thisObject;
}
return(_local2);
}
function compareDelegate(d_A, d_B) {
if ((d_A.thisObject != d_B.thisObject) || (d_A.thatObject != d_B.thatObject)) {
return(false);
}
return(true);
}
function addEventListener(event, thisObject, thatObject) {
removeEventListener(event, thisObject, thatObject);
eventTable[event].push(buildDelegate(thisObject, thatObject));
}
function removeEventListener(event, thisObject, thatObject) {
var _local3 = buildDelegate(thisObject, thatObject);
if (eventTable[event] == undefined) {
eventTable[event] = [];
return(undefined);
}
for (var _local4 in eventTable[event]) {
if (!compareDelegate(eventTable[event][_local4], _local3)) {
continue;
}
eventTable[event].splice(Number(_local4), 1);
}
}
function triggerEvent(event, args) {
if (eventTable[event] == undefined) {
return(undefined);
}
for (var _local4 in eventTable[event]) {
eventTable[event][_local4].delegate(args);
}
}
}
Symbol 1133 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
class mochi.as2.MochiEvents
{
function MochiEvents () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function startSession(achievementID) {
mochi.as2.MochiServices.send("events_beginSession", {achievementID:achievementID}, null, null);
}
static function setNotifications(clip, style) {
var _local2 = {};
for (var _local3 in style) {
_local2[_local3] = style[_local3];
}
_local2.clip = clip;
mochi.as2.MochiServices.send("events_setNotifications", _local2, null, null);
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static function startPlay(tag) {
if (tag == undefined) {
tag = "gameplay";
}
mochi.as2.MochiServices.send("events_setRoundID", {tag:String(tag)}, null, null);
}
static function endPlay() {
mochi.as2.MochiServices.send("events_clearRoundID", null, null, null);
}
static function trackEvent(tag, value) {
mochi.as2.MochiServices.send("events_trackEvent", {tag:tag, value:value}, null, null);
}
static var ACHIEVEMENT_RECEIVED = "AchievementReceived";
static var ALIGN_TOP_LEFT = "ALIGN_TL";
static var ALIGN_TOP = "ALIGN_T";
static var ALIGN_TOP_RIGHT = "ALIGN_TR";
static var ALIGN_LEFT = "ALIGN_L";
static var ALIGN_CENTER = "ALIGN_C";
static var ALIGN_RIGHT = "ALIGN_R";
static var ALIGN_BOTTOM_LEFT = "ALIGN_BL";
static var ALIGN_BOTTOM = "ALIGN_B";
static var ALIGN_BOTTOM_RIGHT = "ALIGN_BR";
static var FORMAT_SHORT = "ShortForm";
static var FORMAT_LONG = "LongForm";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 1134 MovieClip [__Packages.mochi.as2.MochiSocial] Frame 0
class mochi.as2.MochiSocial
{
function MochiSocial () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showLoginWidget(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("coins_showLoginWidget", {options:options});
}
static function hideLoginWidget() {
mochi.as2.MochiServices.send("coins_hideLoginWidget");
}
static function requestLogin() {
mochi.as2.MochiServices.send("coins_requestLogin");
}
static function getUserInfo() {
mochi.as2.MochiServices.send("coins_getUserInfo");
}
static function saveUserProperties(properties) {
mochi.as2.MochiServices.send("coins_saveUserProperties", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var LOGGED_IN = "LoggedIn";
static var LOGGED_OUT = "LoggedOut";
static var LOGIN_SHOW = "LoginShow";
static var LOGIN_HIDE = "LoginHide";
static var LOGIN_SHOWN = "LoginShown";
static var PROFILE_SHOW = "ProfileShow";
static var PROFILE_HIDE = "ProfileHide";
static var PROPERTIES_SAVED = "PropertySaved";
static var WIDGET_LOADED = "WidgetLoaded";
static var USER_INFO = "UserInfo";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var PROPERTIES_SIZE = "PropertiesSize";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 1135 MovieClip [__Packages.mochi.as2.MochiScores] Frame 0
class mochi.as2.MochiScores
{
static var boardID, onClose, onError;
function MochiScores () {
}
static function setBoardID(boardID) {
mochi.as2.MochiServices.warnID(boardID, true);
mochi.as2.MochiScores.boardID = boardID;
mochi.as2.MochiServices.send("scores_setBoardID", {boardID:boardID});
}
static function showLeaderboard(options) {
options.clip = mochi.as2.MochiServices.clip;
if ((options.clip != mochi.as2.MochiServices.__get__clip()) || (mochi.as2.MochiServices.__get__childClip()._target == undefined)) {
mochi.as2.MochiServices.disconnect();
trace("WARNING! This application is attempting to connect to MochiServices inside a showLeaderboard call!");
trace("make sure MochiServices.connect is called as early in the application runtime as possible.");
mochi.as2.MochiServices.connect(mochi.as2.MochiServices.__get__id(), options.clip);
}
delete options.clip;
if (options.name != null) {
if (typeof(options.name) == "object") {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (options.score instanceof TextField) {
if (options.score.text != undefined) {
options.score = options.score.text;
}
} else if (options.score instanceof mochi.as2.MochiDigits) {
options.score = options.score.value;
}
var _local1 = Number(options.score);
if (isNaN(_local1)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is 'Not a Number'");
} else if ((_local1 == Number.NEGATIVE_INFINITY) || (_local1 == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(_local1) != _local1) {
trace(("WARNING: Submitted score '" + options.score) + "' will be truncated");
}
options.score = _local1;
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
mochi.as2.MochiServices.__get__clip().stop();
}
if (options.onClose != null) {
onClose = options.onClose;
} else {
onClose = function () {
mochi.as2.MochiServices.__get__clip().play();
};
}
if (options.onError != null) {
onError = options.onError;
} else {
onError = onClose;
}
if (options.boardID == null) {
if (boardID != null) {
options.boardID = boardID;
}
}
mochi.as2.MochiServices.warnID(options.boardID, true);
trace("[MochiScores] NOTE: Security Sandbox Violation errors below are normal");
mochi.as2.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose);
}
static function closeLeaderboard() {
mochi.as2.MochiServices.send("scores_closeLeaderboard");
}
static function getPlayerInfo(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod);
}
static function submit(score, name, callbackObj, callbackMethod) {
score = Number(score);
if (isNaN(score)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is 'Not a Number'");
} else if ((score == Number.NEGATIVE_INFINITY) || (score == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(score) != score) {
trace(("WARNING: Submitted score '" + String(score)) + "' will be truncated");
}
score = Number(score);
}
mochi.as2.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod);
}
static function requestList(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod);
}
static function scoresArrayToObjects(scores) {
var _local5 = {};
var _local1;
var _local4;
var _local2;
var _local6;
for (var _local8 in scores) {
if (typeof(scores[_local8]) == "object") {
if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) {
_local5[_local8] = [];
_local2 = scores[_local8];
_local4 = 0;
while (_local4 < _local2.rows.length) {
_local6 = {};
_local1 = 0;
while (_local1 < _local2.cols.length) {
_local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1];
_local1++;
}
_local5[_local8].push(_local6);
_local4++;
}
} else {
_local5[_local8] = {};
for (var _local7 in scores[_local8]) {
_local5[_local8][_local7] = scores[_local8][_local7];
}
}
} else {
_local5[_local8] = scores[_local8];
}
}
return(_local5);
}
static function doClose(args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = "IOError";
}
onError.apply(null, [args.errorCode]);
} else {
onClose.apply();
}
}
}
Symbol 1136 MovieClip [__Packages.mochi.as2.MochiDigits] Frame 0
class mochi.as2.MochiDigits
{
var Encoder, Fragment, Sibling;
function MochiDigits (digit, index) {
Encoder = 0;
setValue(digit, index);
}
function get value() {
return(Number(toString()));
}
function set value(v) {
setValue(v);
//return(value);
}
function addValue(v) {
value = value + v;
}
function setValue(digit, index) {
var _local3 = digit.toString();
if ((index == undefined) || (isNaN(index))) {
index = 0;
}
Fragment = _local3.charCodeAt(index++) ^ Encoder;
if (index < _local3.length) {
Sibling = new mochi.as2.MochiDigits(digit, index);
} else {
Sibling = null;
}
reencode();
}
function reencode() {
var _local2 = int(2147483647 * Math.random());
Fragment = Fragment ^ (_local2 ^ Encoder);
Encoder = _local2;
}
function toString() {
var _local2 = String.fromCharCode(Fragment ^ Encoder);
return(((Sibling != null) ? (_local2.concat(Sibling.toString())) : (_local2)));
}
}
Symbol 543 MovieClip Frame 1
_root.stop();
Symbol 543 MovieClip Frame 165
_root.gotoAndPlay("start");
Symbol 555 MovieClip Frame 1
stop();
Symbol 558 Button
on (release) {
_root.gotoAndStop("game");
}
on (keyPress "<Space>") {
_root.gotoAndStop("game");
}
Symbol 561 Button
on (release) {
_root.gotoAndPlay("global_score");
}
Symbol 565 Button
on (release) {
getURL ("http://flashgamedistribution.com/game/The_Flood_Runner_2/play", "_blank");
}
Symbol 567 MovieClip Frame 1
stop();
var menuNav = new Sound(this);
menuNav.attachSound("menuNav");
menuNav.setVolume(100);
Symbol 572 Button
on (release) {
gotoAndStop (2);
_global.batman = true;
}
Symbol 578 Button
on (release) {
gotoAndStop (1);
_global.batman = false;
}
Symbol 581 MovieClip Frame 1
stop();
Symbol 581 MovieClip Frame 2
stop();
Symbol 582 Button
on (release) {
_root.Color_alles = 1;
gotoAndStop (2);
}
Symbol 583 Button
on (release) {
_root.Color_alles = 2;
gotoAndStop (3);
}
Symbol 585 Button
on (release) {
_root.Color_alles = 0;
gotoAndStop (1);
}
Symbol 587 Button
on (release) {
_root.Color_alles = 1;
gotoAndStop (2);
}
Symbol 589 MovieClip Frame 1
stop();
Symbol 598 Button
on (release) {
getURL ("http://www.clockworkmonster.com/?FloodRunnerLogo", "_blank");
}
Symbol 603 Button
on (release) {
getURL ("http://www.benrad.co.za", "_blank");
}
Symbol 605 MovieClip Frame 1
onEnterFrame = function () {
if (_global.Paused == false) {
_parent.MoveTheLand();
this._x = this._x - (_parent.speedX / 6);
}
if (this._x <= -1500) {
this._x = 0;
}
};
Symbol 607 Button
on (rollOver) {
Mouse.hide();
}
on (press) {
gotoAndStop (2);
}
on (release) {
gotoAndStop (1);
}
Symbol 608 MovieClip Frame 1
stop();
if (_global.Paused == false) {
_global.jump_check = false;
}
Symbol 608 MovieClip Frame 2
stop();
if ((_global.Paused == false) && (_global.die == false)) {
_global.jump_check = true;
}
Symbol 608 MovieClip Frame 3
stop();
Symbol 617 MovieClip Frame 1
onEnterFrame = function () {
if (_global.quali_light == false) {
this._visible = false;
} else {
this._visible = true;
}
if (_global.Paused == false) {
_parent.MoveTheLand();
this._x = this._x - (_parent.speedX / 5);
}
if (this._x <= -2000) {
this._x = 0;
}
};
Symbol 620 MovieClip Frame 1
onEnterFrame = function () {
if (_global.quali_light == false) {
this._visible = false;
} else {
this._visible = true;
}
if (_global.Paused == false) {
_parent.MoveTheLand();
this._x = this._x - (_parent.speedX / 4.5);
}
if (this._x <= -1000) {
this._x = 0;
}
};
Symbol 622 MovieClip Frame 1
onEnterFrame = function () {
if (_global.Paused == false) {
_parent.MoveTheLand();
this._x = this._x - (_parent.speedX / 4);
}
if (this._x <= -1500) {
this._x = 0;
}
};
Symbol 630 MovieClip Frame 1
onEnterFrame = function () {
if (_global.quali_light == false) {
this._visible = false;
} else {
this._visible = true;
}
if (_global.Paused == false) {
_parent.MoveTheLand();
this._x = this._x - (_parent.speedX / 3);
}
if (this._x <= -1500) {
this._x = 0;
}
};
Symbol 632 MovieClip Frame 1
onEnterFrame = function () {
if (_global.Paused == false) {
_parent.MoveTheLand();
this._x = this._x - (_parent.speedX / 2);
}
if (this._x <= -1500) {
this._x = 0;
}
};
Symbol 635 MovieClip Frame 1
onEnterFrame = function () {
if (_global.quali_light == false) {
this._visible = false;
} else {
this._visible = true;
}
if (_global.Paused == false) {
_parent.MoveTheLand();
this._x = this._x - (_parent.speedX / 1.5);
}
if (this._x <= -2000) {
this._x = 0;
}
};
Symbol 658 MovieClip Frame 1
stop();
Symbol 658 MovieClip Frame 2
if (_global.Mute == false) {
_parent._parent.ef_sound_mc.Split.start();
}
onEnterFrame = function () {
var _local4 = _parent._parent.hero_mc;
var _local5 = this;
if (_global.Paused == false) {
_parent._parent.ef_sound_mc.Split.setVolume(100);
}
if (((_global.Paused == true) || (_global.SloMo == true)) || (_global.Mute == true)) {
_parent._parent.ef_sound_mc.Split.setVolume(0);
}
};
Symbol 658 MovieClip Frame 45
stop();
delete eval (onEnterFrame(this));
Symbol 662 MovieClip Frame 1
onEnterFrame = function () {
if (block_mc.hitTest(_parent._parent._parent.hero_mc)) {
if (_global.SlowMo == false) {
_parent._parent._parent.hero_mc.gotoAndStop("boulder");
}
}
};
Symbol 670 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.speed_mc.distance_txt >= 3000) {
if (((_parent._x <= 750) && (this._currentframe == 1)) && (_global.Paused == false)) {
this.gotoAndPlay(2);
}
if (((_global.Paused == true) && (this._currentframe != 1)) && (this._currentframe < 28)) {
this.stop();
}
if (((_global.Paused == false) && (this._currentframe != 1)) && (this._currentframe < 28)) {
this.play();
}
}
};
Symbol 670 MovieClip Frame 8
if (_global.Mute == false) {
_parent._parent.rock_sound_mc.rockfall.start();
}
onEnterFrame = function () {
var _local3 = _parent._parent.hero_mc;
if (_global.Paused == false) {
_parent._parent.rock_sound_mc.rockfall.setVolume(100);
}
if (((_global.Paused == true) || (_global.SloMo == true)) || (_global.Mute == true)) {
_parent._parent.rock_sound_mc.rockfall.setVolume(0);
}
};
Symbol 670 MovieClip Frame 25
if (_global.Mute == false) {
_parent._parent.rock_sound_mc.explo.start();
}
onEnterFrame = function () {
var _local3 = _parent._parent.hero_mc;
if (_global.Paused == false) {
_parent._parent.rock_sound_mc.explo.setVolume(100);
}
if (((_global.Paused == true) || (_global.SloMo == true)) || (_global.Mute == true)) {
_parent._parent.rock_sound_mc.explo.setVolume(0);
}
};
Symbol 670 MovieClip Frame 35
stop();
Symbol 676 MovieClip Frame 1
onEnterFrame = function () {
if (this.hitTest(_parent._parent.hero_mc)) {
if ((this._currentframe == 1) && (_global.SlowMo == false)) {
_global.Oily = true;
this.gotoAndStop(2);
}
}
};
Symbol 697 MovieClip Frame 1
stop();
Symbol 697 MovieClip Frame 45
stop();
Symbol 710 MovieClip Frame 1
stop();
Symbol 710 MovieClip Frame 2
if (_global.Mute == false) {
_parent._parent.ef_sound_mc.Split.start();
}
onEnterFrame = function () {
var _local4 = _parent._parent.hero_mc;
var _local5 = this;
if (_global.Paused == false) {
_parent._parent.ef_sound_mc.Split.setVolume(100);
}
if (((_global.Paused == true) || (_global.SloMo == true)) || (_global.Mute == true)) {
_parent._parent.ef_sound_mc.Split.setVolume(0);
}
};
Symbol 710 MovieClip Frame 45
stop();
delete eval (onEnterFrame(this));
Symbol 742 MovieClip Frame 1
stop();
Symbol 742 MovieClip Frame 45
stop();
Symbol 744 MovieClip Frame 1
stop();
Symbol 744 MovieClip Frame 2
if (_global.Mute == false) {
_parent._parent.ef_sound_mc.Split.start();
}
onEnterFrame = function () {
var _local4 = _parent._parent.hero_mc;
var _local5 = this;
if (_global.Paused == false) {
_parent._parent.ef_sound_mc.Split.setVolume(100);
}
if (((_global.Paused == true) || (_global.SloMo == true)) || (_global.Mute == true)) {
_parent._parent.ef_sound_mc.Split.setVolume(0);
}
};
Symbol 744 MovieClip Frame 45
stop();
Symbol 755 MovieClip Frame 1
stop();
Symbol 755 MovieClip Frame 45
stop();
Symbol 764 MovieClip Frame 1
stop();
Symbol 764 MovieClip Frame 2
if (_global.Mute == false) {
_parent._parent.ef_sound_mc.Split.start();
}
onEnterFrame = function () {
var _local4 = _parent._parent.hero_mc;
var _local5 = this;
if (_global.Paused == false) {
_parent._parent.ef_sound_mc.Split.setVolume(100);
}
if (((_global.Paused == true) || (_global.SloMo == true)) || (_global.Mute == true)) {
_parent._parent.ef_sound_mc.Split.setVolume(0);
}
};
Symbol 764 MovieClip Frame 45
stop();
Symbol 772 MovieClip Frame 1
stop();
onEnterFrame = function () {
_root.ColorPlatz();
if (_global.Paused == false) {
_parent.MoveTheLand();
this._x = this._x - _parent.speedX;
}
};
Instance of Symbol 648 MovieClip "ramp_mc" in Symbol 772 MovieClip Frame 2
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 500) {
this._y = 700;
}
}
Instance of Symbol 658 MovieClip "plat_mc" in Symbol 772 MovieClip Frame 3
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 2000) {
notNow = true;
} else {
notNow = false;
}
}
onClipEvent (enterFrame) {
if (!notNow) {
if ((_parent._x <= 300) && (this._currentframe == 1)) {
this.gotoAndPlay(2);
}
if ((((this._currentframe != 1) && (this._currentframe != 45)) && (_global.Paused == true)) || (((this._currentframe != 1) && (this._currentframe != 45)) && (_global.SlowMo == true))) {
this.stop();
}
if ((((this._currentframe != 1) && (this._currentframe != 45)) && (_global.Paused == false)) && (_global.SlowMo == false)) {
this.play();
}
}
}
Instance of Symbol 516 MovieClip [tramp] in Symbol 772 MovieClip Frame 4
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 800) {
this._y = 1000;
}
}
Instance of Symbol 516 MovieClip [tramp] in Symbol 772 MovieClip Frame 4
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 800) {
this._y = 1000;
}
}
Instance of Symbol 676 MovieClip in Symbol 772 MovieClip Frame 4
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 2200) {
this._y = 1000;
}
}
Instance of Symbol 648 MovieClip "ramp_mc" in Symbol 772 MovieClip Frame 5
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 500) {
this._y = 700;
}
}
Instance of Symbol 710 MovieClip "plat_mc" in Symbol 772 MovieClip Frame 6
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 2000) {
notNow = true;
} else {
notNow = false;
}
}
onClipEvent (enterFrame) {
if (!notNow) {
if ((_parent._x <= 200) && (this._currentframe == 1)) {
this.gotoAndPlay(2);
}
if ((((this._currentframe != 1) && (this._currentframe != 45)) && (_global.Paused == true)) || (((this._currentframe != 1) && (this._currentframe != 45)) && (_global.SlowMo == true))) {
this.stop();
}
if ((((this._currentframe != 1) && (this._currentframe != 45)) && (_global.Paused == false)) && (_global.SlowMo == false)) {
this.play();
}
floor_mc.gotoAndStop(this._currentframe);
}
}
Instance of Symbol 676 MovieClip in Symbol 772 MovieClip Frame 8
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 2200) {
this._y = 1000;
}
}
Instance of Symbol 516 MovieClip [tramp] in Symbol 772 MovieClip Frame 8
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 800) {
this._y = 1000;
}
}
Instance of Symbol 648 MovieClip "ramp_mc" in Symbol 772 MovieClip Frame 9
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 500) {
this._y = 700;
}
}
Instance of Symbol 516 MovieClip [tramp] in Symbol 772 MovieClip Frame 11
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 800) {
this._y = 1000;
}
}
Instance of Symbol 648 MovieClip "ramp_mc" in Symbol 772 MovieClip Frame 12
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 500) {
this._y = 700;
}
}
Instance of Symbol 676 MovieClip in Symbol 772 MovieClip Frame 13
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 2200) {
this._y = 1000;
}
}
Instance of Symbol 676 MovieClip in Symbol 772 MovieClip Frame 13
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 2200) {
this._y = 1000;
}
}
Instance of Symbol 676 MovieClip in Symbol 772 MovieClip Frame 14
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 2200) {
this._y = 1000;
}
}
Instance of Symbol 516 MovieClip [tramp] in Symbol 772 MovieClip Frame 14
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 800) {
this._y = 1000;
}
}
Instance of Symbol 744 MovieClip "plat_mc" in Symbol 772 MovieClip Frame 15
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 2000) {
notNow = true;
} else {
notNow = false;
}
}
onClipEvent (enterFrame) {
if (!notNow) {
if ((_parent._x <= 300) && (this._currentframe == 1)) {
this.gotoAndPlay(2);
}
if ((((this._currentframe != 1) && (this._currentframe != 45)) && (_global.Paused == true)) || (((this._currentframe != 1) && (this._currentframe != 45)) && (_global.SlowMo == true))) {
this.stop();
}
if ((((this._currentframe != 1) && (this._currentframe != 45)) && (_global.Paused == false)) && (_global.SlowMo == false)) {
this.play();
}
floor_mc.gotoAndStop(this._currentframe);
}
}
Instance of Symbol 676 MovieClip in Symbol 772 MovieClip Frame 15
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 2200) {
this._y = 1000;
}
}
Instance of Symbol 516 MovieClip [tramp] in Symbol 772 MovieClip Frame 16
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 800) {
this._y = 1000;
}
}
Instance of Symbol 648 MovieClip "ramp_mc" in Symbol 772 MovieClip Frame 16
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 500) {
this._y = 700;
}
}
Instance of Symbol 764 MovieClip "plat_mc" in Symbol 772 MovieClip Frame 17
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 2000) {
notNow = true;
} else {
notNow = false;
}
}
onClipEvent (enterFrame) {
if (!notNow) {
if ((_parent._x <= 300) && (this._currentframe == 1)) {
this.gotoAndPlay(2);
}
if ((((this._currentframe != 1) && (this._currentframe != 45)) && (_global.Paused == true)) || (((this._currentframe != 1) && (this._currentframe != 45)) && (_global.SlowMo == true))) {
this.stop();
}
if ((((this._currentframe != 1) && (this._currentframe != 45)) && (_global.Paused == false)) && (_global.SlowMo == false)) {
this.play();
}
floor_mc.gotoAndStop(this._currentframe);
}
}
Instance of Symbol 676 MovieClip in Symbol 772 MovieClip Frame 18
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 2200) {
this._y = 1000;
}
}
Instance of Symbol 516 MovieClip [tramp] in Symbol 772 MovieClip Frame 19
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 800) {
this._y = 1000;
}
}
Instance of Symbol 648 MovieClip "ramp_mc" in Symbol 772 MovieClip Frame 20
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 500) {
this._y = 700;
}
}
Symbol 774 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_global.Paused == false) {
_parent.MoveTheLand();
this._x = this._x - _parent.speedX;
if ((this._x <= -1000) && (this._currentframe == 1)) {
this._y = random(800) - 500;
this._x = 5000;
} else if ((this._x <= -1000) && (this._currentframe == 2)) {
tempNum = random(5);
if (tempNum <= 1) {
this.gotoAndStop(1);
this._y = random(800) - 500;
this._x = 5000;
} else {
this._y = random(800) - 500;
this._x = 5000;
}
}
if (this.hitTest(_parent.hero_mc)) {
this.gotoAndStop(2);
}
}
};
Symbol 774 MovieClip Frame 2
stop();
var gotGem = new Sound(this);
gotGem.attachSound("gotGem1");
gotGem.setVolume(30);
if (_global.Mute == false) {
gotGem.start();
}
if (_global.multiplier < 25) {
_global.multiplier++;
}
_global.Multi_Collect++;
Symbol 776 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_global.Paused == false) {
_parent.MoveTheLand();
this._x = this._x - _parent.speedX;
if ((this._x <= -1000) && (this._currentframe == 1)) {
this._y = random(800) - 500;
this._x = 5000;
} else if ((this._x <= -1000) && (this._currentframe == 2)) {
tempNum = random(5);
if (tempNum <= 1) {
this.gotoAndStop(1);
this._y = random(800) - 500;
this._x = 5000;
} else {
this._y = random(800) - 500;
this._x = 5000;
}
}
if (this.hitTest(_parent.hero_mc)) {
this.gotoAndStop(2);
}
}
};
Symbol 776 MovieClip Frame 2
stop();
var gotGem = new Sound(this);
gotGem.attachSound("gotGem1");
gotGem.setVolume(50);
if (_global.Mute == false) {
gotGem.start();
}
thisGem = 5000;
newGenscr = thisGem * _root.thescore_mc.multi_mc._currentframe;
_root.thescore_mc.scr_txt = _root.thescore_mc.scr_txt + newGenscr;
var thisguy = _root.mess_mc.attachMovie("message_small", "ms", 99);
thisguy.showNum_mc.showNum = newGenscr;
thisguy._x = 400;
thisguy._y = 50;
_global.Small_Bonus++;
Symbol 778 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_global.Paused == false) {
_parent.MoveTheLand();
this._x = this._x - (_parent.speedX * 1.5);
if ((this._x <= -1000) && (this._currentframe == 1)) {
this._y = random(800) - 500;
this._x = 5000;
} else if ((this._x <= -1000) && (this._currentframe == 2)) {
tempNum = random(5);
if (tempNum <= 1) {
this.gotoAndStop(1);
this._y = random(800) - 500;
this._x = 5000;
} else {
this._y = random(800) - 500;
this._x = 5000;
}
}
if (this.hitTest(_parent.hero_mc)) {
this.gotoAndStop(2);
}
}
};
Symbol 778 MovieClip Frame 2
stop();
var gotGem = new Sound(this);
gotGem.attachSound("gotGem1");
gotGem.setVolume(100);
if (_global.Mute == false) {
gotGem.start();
}
thisGem = 10000;
newGenscr = thisGem * _root.thescore_mc.multi_mc._currentframe;
_root.thescore_mc.scr_txt = _root.thescore_mc.scr_txt + newGenscr;
var thisguy = _root.mess_mc.attachMovie("message_big", "ms", 99);
thisguy.showNum_mc.showNum = newGenscr;
thisguy._x = 400;
thisguy._y = 50;
_global.Big_Bonus++;
Symbol 786 MovieClip Frame 1
onEnterFrame = function () {
if (_global.Paused == false) {
_parent.MoveTheLand();
this._x = this._x - (_parent.speedX * 1.5);
}
if (this._x <= -1500) {
this._x = 0;
}
};
Symbol 828 MovieClip Frame 40
stop();
Symbol 880 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_global.Paused == false) {
if ((block_mc.hitTest(_parent.hero_mc) && (_global.canSurfit == true)) && (this._currentframe == 1)) {
_parent.hero_mc.gotoAndStop("surf");
_parent.hero_mc._visible = false;
if (_global.batman == false) {
this.gotoAndPlay("surf");
} else {
this.gotoAndPlay("bat_surf");
}
}
if ((this._currentframe != 1) && (this._currentframe < 28)) {
this.play();
}
}
if (_global.Paused == true) {
if ((this._currentframe != 1) && (this._currentframe < 28)) {
this.stop();
}
}
};
Symbol 880 MovieClip Frame 2
play();
_parent.hero_mc.gotoAndStop("surf");
Instance of Symbol 828 MovieClip "wave_mc" in Symbol 880 MovieClip Frame 2
onClipEvent (load) {
_root.ColorWavez();
}
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._currentframe);
}
Symbol 880 MovieClip Frame 28
_parent.hero_mc._visible = true;
_parent.hero_mc.gotoAndStop("slow_air");
_global.usedBoard = true;
_global.Close_Calls++;
play();
Symbol 880 MovieClip Frame 142
gotoAndStop (1);
Symbol 880 MovieClip Frame 143
play();
_parent.hero_mc.gotoAndStop("surf");
stop();
onEnterFrame = function () {
if (_global.Paused == false) {
if ((this._currentframe >= 143) && (this._currentframe < 169)) {
this.play();
}
}
if (_global.Paused == true) {
if ((this._currentframe >= 143) && (this._currentframe < 169)) {
this.stop();
}
}
};
Instance of Symbol 828 MovieClip "wave_mc" in Symbol 880 MovieClip Frame 143
onClipEvent (load) {
_root.ColorWavez();
}
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._currentframe);
}
Symbol 880 MovieClip Frame 169
_global.usedBoard = true;
_global.Close_Calls++;
_parent.hero_mc._visible = true;
_parent.hero_mc.gotoAndStop("slow_air");
play();
Symbol 880 MovieClip Frame 283
gotoAndStop (1);
Symbol 882 MovieClip Frame 1
var feet = new Sound(this);
feet.attachSound("feet");
feet.setVolume(0);
feet.start(0, 99999);
Symbol 884 MovieClip Frame 1
var Split = new Sound(this);
Split.attachSound("Split");
Split.setVolume(100);
var Spring = new Sound(this);
Spring.attachSound("Spring");
Spring.setVolume(100);
var rockfall = new Sound(this);
rockfall.attachSound("rockfall");
rockfall.setVolume(0);
var explo = new Sound(this);
explo.attachSound("explo");
explo.setVolume(2);
onEnterFrame = function () {
if ((_global.SlowMo == false) && (_global.Paused == false)) {
Split.setVolume(100);
} else {
Split.setVolume(0);
}
};
var lastVol = 0;
Symbol 886 MovieClip Frame 1
var water = new Sound(this);
var lastVol = 0;
water.setVolume(0);
water.attachSound("water");
water.start(0, 99999);
onEnterFrame = function () {
var _local4 = _parent.hero_mc;
var _local5 = _parent.wave1_mc;
if (_global.Paused == false) {
if (_local4) {
var _local7 = _local5._x - _local4._x;
var _local6 = (_local5._y + 40) - _local4._y;
var _local8 = Math.sqrt((_local7 * _local7) + (_local6 * _local6));
var _local9 = ((_local8 < 400) ? (_local8) : 400);
var _local3 = Math.round(100 - (_local9 / 4));
if (_local3 != lastVol) {
water.setVolume(_local3 * 0.5);
lastVol = _local3;
}
}
}
if (((_global.Paused == true) || (_global.SlowMo == true)) || (_global.Mute == true)) {
water.setVolume(0);
}
};
Symbol 888 MovieClip Frame 1
var Air = new Sound(this);
var lastVol = 0;
Air.setVolume(0);
Air.attachSound("Air");
Air.start(0, 99999);
onEnterFrame = function () {
var _local4 = _parent.hero_mc;
var _local8 = _parent.airChecker_mc;
if (_global.Paused == false) {
if (_local4) {
var _local6 = _local8._x - _local4._x;
var _local5 = _local8._y - _local4._y;
var _local7 = Math.sqrt((_local6 * _local6) + (_local5 * _local5));
var _local9 = ((_local7 < 400) ? (_local7) : 400);
var _local3 = Math.round(100 - (_local9 / 4));
if (_local3 != lastVol) {
Air.setVolume(_local3 * 0.5);
lastVol = _local3;
}
}
}
if (((_global.Paused == true) || (_global.SlowMo == true)) || (_global.Mute == true)) {
Air.setVolume(0);
}
};
Symbol 892 MovieClip Frame 1
var slo = new Sound(this);
slo.attachSound("slo");
slo.setVolume(0);
slo.start(0, 99999);
onEnterFrame = function () {
if (((_global.SlowMo == true) && (_global.Paused == false)) && (_global.Mute == false)) {
slo.setVolume(100);
} else {
slo.setVolume(0);
}
};
Symbol 894 MovieClip Frame 1
var rockfall = new Sound(this);
rockfall.attachSound("rockfall");
rockfall.setVolume(50);
var explo = new Sound(this);
explo.attachSound("explo");
explo.setVolume(50);
onEnterFrame = function () {
if ((_global.SlowMo == false) && (_global.Paused == false)) {
rockfall.setVolume(50);
} else {
rockfall.setVolume(0);
}
};
Symbol 896 MovieClip Frame 1
onEnterFrame = function () {
if (_global.Paused == false) {
_parent.MoveTheLand();
this._x = this._x - _parent.speedX;
_global.dist++;
}
};
Symbol 898 MovieClip Frame 1
onEnterFrame = function () {
if (_global.quali_light == false) {
this._visible = false;
} else {
this._visible = true;
}
if (_global.Paused == false) {
_parent.MoveTheLand();
this._x = this._x - (_parent.speedX * 1.2);
}
if (this._x <= -1500) {
this._x = 0;
}
};
Symbol 899 MovieClip Frame 1
if (_global.batman == false) {
attachMovie("knight", "hero_mc", 999);
} else if (_global.batman == true) {
attachMovie("Bat", "hero_mc", 999);
}
hero_mc._x = 257;
hero_mc._y = 200;
var speedX = 0;
var temp_speedX = 0;
var addSpeed = 0.002;
MoveTheLand = function () {
if (_global.Paused == false) {
if (_global.SlowMo == false) {
speedX = speedX + addSpeed;
_global.Current_Speed = speedX;
if ((speedX >= 15) && (speedX <= 23)) {
_global.gap = 350;
}
if ((speedX >= 25) && (_global.Boosting == false)) {
if (_root.speed_mc.distance_txt <= 8000) {
_global.gap = random(500) + 200;
} else {
_global.gap = random(700) + 300;
}
_global.Current_Speed = 25;
speedX = 25;
} else if ((speedX >= 25) && (_global.Boosting == true)) {
if (_root.speed_mc.distance_txt <= 8000) {
_global.gap = random(500) + 200;
} else {
_global.gap = random(700) + 350;
}
_global.Current_Speed = 38;
speedX = 38;
}
} else if (_global.SlowMo == true) {
speedX = speedX - (speedX / 2);
if (speedX <= 1) {
speedX = 1;
}
}
}
};
Instance of Symbol 608 MovieClip "jump_checker_mc" in Symbol 899 MovieClip Frame 1
onClipEvent (load) {
_global.jump_check = false;
}
onClipEvent (enterFrame) {
if (_global.isMenu == true) {
this._x = -1000;
} else {
this._x = 0;
}
}
Instance of Symbol 614 MovieClip "wave5_mc" in Symbol 899 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.quali_light == false) {
this._visible = false;
} else {
this._visible = true;
}
if (_global.Paused == false) {
if (this._x <= -1) {
this._x = this._x + 2;
} else {
this._x = 0;
}
if (_global.SlowMo == false) {
this.gotoAndPlay(this._currentframe + 10);
} else {
play();
}
} else {
this.stop();
}
}
Instance of Symbol 628 MovieClip "wave4_mc" in Symbol 899 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.Paused == false) {
if (this._x <= -1) {
this._x = this._x + 2;
} else {
this._x = 0;
}
if (_global.SlowMo == false) {
this.gotoAndPlay(this._currentframe + 10);
} else {
play();
}
} else {
this.stop();
}
}
Instance of Symbol 641 MovieClip "wave3_mc" in Symbol 899 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.Paused == false) {
if (this._x <= -1) {
this._x = this._x + 2;
} else {
this._x = 0;
}
if (_global.SlowMo == false) {
this.gotoAndPlay(this._currentframe + 10);
} else {
play();
}
} else {
this.stop();
}
}
Instance of Symbol 772 MovieClip "plat1_mc" in Symbol 899 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._x <= (-(this._width + _global.gap))) {
this._x = (_parent.plat4_mc._x + _parent.plat4_mc._width) + _global.gap;
tempHight = random(120) - 60;
this._y = _parent.plat4_mc._y + tempHight;
if (this._y <= 50) {
this._y = 50;
} else if (this._y >= 280) {
this._y = 280;
}
nowFr = this._currentframe;
newFr = random(20) + 1;
if (newFr == nowFr) {
newFr = newFr + 1;
}
if (newFr > 20) {
newFr = 1;
}
this.gotoAndStop(newFr);
}
}
Instance of Symbol 772 MovieClip "plat2_mc" in Symbol 899 MovieClip Frame 1
onClipEvent (load) {
this._x = (_parent.plat1_mc._x + _parent.plat1_mc._width) + _global.gap;
}
onClipEvent (enterFrame) {
if (this._x <= (-(this._width + _global.gap))) {
this._x = (_parent.plat1_mc._x + _parent.plat1_mc._width) + _global.gap;
tempHight = random(120) - 60;
this._y = _parent.plat1_mc._y + tempHight;
if (this._y <= 55) {
this._y = 55;
} else if (this._y >= 270) {
this._y = 270;
}
nowFr = this._currentframe;
newFr = random(20) + 1;
if (newFr == nowFr) {
newFr = newFr + 1;
}
if (newFr > 20) {
newFr = 1;
}
this.gotoAndStop(newFr);
}
}
Instance of Symbol 772 MovieClip "plat3_mc" in Symbol 899 MovieClip Frame 1
onClipEvent (load) {
this._x = (_parent.plat2_mc._x + _parent.plat2_mc._width) + _global.gap;
}
onClipEvent (enterFrame) {
if (this._x <= (-(this._width + _global.gap))) {
this._x = (_parent.plat2_mc._x + _parent.plat2_mc._width) + _global.gap;
tempHight = random(120) - 60;
this._y = _parent.plat2_mc._y + tempHight;
if (this._y <= 65) {
this._y = 65;
} else if (this._y >= 290) {
this._y = 290;
}
nowFr = this._currentframe;
newFr = random(20) + 1;
if (newFr == nowFr) {
newFr = newFr + 1;
}
if (newFr > 20) {
newFr = 1;
}
this.gotoAndStop(newFr);
}
}
Instance of Symbol 772 MovieClip "plat4_mc" in Symbol 899 MovieClip Frame 1
onClipEvent (load) {
this._x = (_parent.plat3_mc._x + _parent.plat3_mc._width) + _global.gap;
}
onClipEvent (enterFrame) {
if (this._x <= (-(this._width + _global.gap))) {
this._x = (_parent.plat3_mc._x + _parent.plat3_mc._width) + _global.gap;
tempHight = random(120) - 60;
this._y = _parent.plat3_mc._y + tempHight;
if (this._y <= 45) {
this._y = 45;
} else if (this._y >= 285) {
this._y = 285;
}
nowFr = this._currentframe;
newFr = random(20) + 1;
if (newFr == nowFr) {
newFr = newFr + 1;
}
if (newFr > 20) {
newFr = 1;
}
this.gotoAndStop(newFr);
}
}
Instance of Symbol 784 MovieClip "wave2_mc" in Symbol 899 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.Paused == false) {
if (this._x <= -1) {
this._x = this._x + 2;
} else {
this._x = 0;
}
if (_global.SlowMo == false) {
this.gotoAndPlay(this._currentframe + 10);
} else {
play();
}
} else {
this.stop();
}
}
Instance of Symbol 791 MovieClip "wave1_mc" in Symbol 899 MovieClip Frame 1
onClipEvent (load) {
waveVol = 0;
this.swapDepths(9999);
}
onClipEvent (enterFrame) {
if (_global.Paused == false) {
if (this._x <= 239) {
this._x = this._x + 2;
} else {
this._x = 240;
}
if ((this._x == 240) && (_global.usedBoard == false)) {
_root.canSurf_mc.gotoAndStop(2);
}
if (_global.SlowMo == false) {
this.gotoAndPlay(this._currentframe + 10);
} else {
play();
}
} else {
this.stop();
}
}
Instance of Symbol 880 MovieClip "surf_mc" in Symbol 899 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(99999);
}
Symbol 902 MovieClip Frame 1
stop();
Symbol 906 MovieClip Frame 1
stop();
Instance of Symbol 906 MovieClip "bar_mc" in Symbol 908 MovieClip Frame 1
onClipEvent (load) {
this._xscale = 0;
addme = 0.12;
}
onClipEvent (enterFrame) {
if (_global.Paused == false) {
if (this._xscale >= 100) {
this._xscale = 100;
}
if (this._xscale <= 0) {
this._xscale = 0;
}
if (_global.die == false) {
this._xscale = this._xscale + addme;
}
if (this._xscale >= 25) {
_global.glide_open = true;
this.gotoAndStop(2);
} else {
_global.glide_open = false;
this.gotoAndStop(1);
}
}
}
Symbol 912 MovieClip Frame 1
_global.Current_Speed = _global.Current_Speed + 0.5;
Symbol 912 MovieClip Frame 2
_global.Current_Speed = _global.Current_Speed + 0.5;
Symbol 912 MovieClip Frame 3
_global.Current_Speed = _global.Current_Speed + 0.5;
Symbol 912 MovieClip Frame 4
_global.Current_Speed = _global.Current_Speed + 0.5;
Symbol 912 MovieClip Frame 5
_global.Current_Speed = _global.Current_Speed + 0.5;
Symbol 912 MovieClip Frame 6
_global.Current_Speed = _global.Current_Speed - 0.5;
Symbol 912 MovieClip Frame 7
_global.Current_Speed = _global.Current_Speed - 0.5;
Symbol 912 MovieClip Frame 8
_global.Current_Speed = _global.Current_Speed - 0.5;
Symbol 912 MovieClip Frame 9
_global.Current_Speed = _global.Current_Speed - 0.5;
Symbol 912 MovieClip Frame 10
_global.Current_Speed = _global.Current_Speed - 0.5;
Symbol 913 MovieClip Frame 1
stop();
Symbol 917 MovieClip Frame 1
stop();
Instance of Symbol 917 MovieClip in Symbol 922 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.distance_txt >= 99999) {
this.gotoAndStop("two");
} else if (_parent.distance_txt >= 999999999) {
this.gotoAndStop("three");
} else {
gotoAndStop (1);
}
}
Symbol 939 MovieClip Frame 26
stop();
Symbol 942 MovieClip Frame 80
_global.multiplier--;
_parent.prevFrame();
Symbol 954 MovieClip Frame 120
_global.multiplier--;
_parent.prevFrame();
Symbol 971 MovieClip Frame 1
stop();
Symbol 973 MovieClip Frame 1
stop();
Symbol 973 MovieClip Frame 2
var airTimer = new Sound(this);
airTimer.attachSound("AirTimeSnd");
airTimer.setVolume(100);
if (_global.Mute == false) {
airTimer.start();
}
Instance of Symbol 973 MovieClip "air_mc" in Symbol 974 MovieClip Frame 1
/* no clip actions */
Symbol 979 MovieClip Frame 8
stop();
Symbol 989 MovieClip Frame 64
stop();
Symbol 990 MovieClip Frame 1
stop();
_global.canSurfit = false;
Symbol 990 MovieClip Frame 2
stop();
_global.canSurfit = true;
Symbol 990 MovieClip Frame 3
stop();
_global.canSurfit = false;
Symbol 995 Button
on (release) {
gotoAndStop (3);
}
Symbol 999 Button
on (release) {
_global.Mute = false;
gotoAndStop (2);
}
Symbol 1000 MovieClip Frame 1
if (_global.Mute == true) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
Symbol 1000 MovieClip Frame 2
stop();
Symbol 1000 MovieClip Frame 3
_global.Mute = true;
Symbol 1002 Button
on (release) {
gotoAndStop (3);
}
Symbol 1003 Button
on (release) {
gotoAndStop (4);
}
Symbol 1008 Button
on (release) {
gotoAndStop (4);
}
Symbol 1009 Button
on (release) {
gotoAndStop (2);
}
Symbol 1012 Button
on (release) {
gotoAndStop (3);
}
Symbol 1015 MovieClip Frame 2
stop();
_quality = "BEST";
_global.quali_light = true;
Symbol 1015 MovieClip Frame 3
_quality = "MEDIUM";
_global.quali_light = true;
Symbol 1015 MovieClip Frame 4
_quality = "LOW";
_global.quali_light = false;
Symbol 1017 MovieClip Frame 1
stop();
Symbol 1026 Button
on (keyPress "<Space>") {
gotoAndPlay ("un");
}
on (release) {
gotoAndPlay ("un");
}
Symbol 1029 Button
on (release) {
stopAllSounds();
_root.gotoAndPlay("reset");
}
Symbol 1033 MovieClip Frame 1
stop();
Symbol 1033 MovieClip Frame 3
var pauseSnd = new Sound(this);
pauseSnd.attachSound("pauseSnd");
pauseSnd.setVolume(100);
if (_global.Mute == false) {
pauseSnd.start();
}
Symbol 1033 MovieClip Frame 10
stop();
Symbol 1033 MovieClip Frame 13
if (_global.Mute == false) {
pauseSnd.start();
}
Symbol 1033 MovieClip Frame 20
_global.Paused = false;
Symbol 1050 Button
on (release) {
gotoAndStop (3);
}
Symbol 1056 Button
on (release) {
gotoAndStop (4);
}
on (keyPress "<Space>") {
gotoAndStop (4);
}
Symbol 1070 MovieClip Frame 1
if (_global.startUp == true) {
_global.Paused = false;
gotoAndStop (4);
}
Symbol 1070 MovieClip Frame 2
stop();
Instance of Symbol 917 MovieClip in Symbol 1070 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent.distance_txt >= 99999) {
this.gotoAndStop("two");
} else if (_parent.distance_txt >= 999999999) {
this.gotoAndStop("three");
} else {
gotoAndStop (1);
}
}
Symbol 1070 MovieClip Frame 4
stop();
_global.startUp = true;
_global.isMenu = false;
_global.Paused = false;
_parent.theme_mc._x = 740;
_parent.PauseBtn._x = 739;
_parent.sndbtn._x = 766;
Symbol 1074 MovieClip Frame 1
stop();
Symbol 1074 MovieClip Frame 2
_global.isMenu = true;
_global.scr_add = _root.thescore_mc.scr_txt;
_global.f_Dist = _root.speed_mc.distance_txt;
Symbol 1074 MovieClip Frame 53
stop();
stopAllSounds();
_root.gotoAndStop("ending");
Symbol 1084 MovieClip Frame 1
stop();
Symbol 1106 Button
on (release) {
stopAllSounds();
_global.usedBoard = false;
_global.gotoLocal = false;
_global.skip_scr = false;
_global.Paused = true;
_global.isMenu = true;
_global.SlowMo = false;
_global.Current_Speed = 0;
_global.gap = 175;
_global.Boosting = false;
_global.dist = 0;
_global.Oily = false;
_global.mouse_time = 0;
_global.thattheone = 0;
_global.die = false;
_global.scr_add = 0;
_global.f_Dist = 0;
_global.On_Ramps = 0;
_global.Times_Jumped = 0;
_global.Tramps_Taken = 0;
_global.Wipe_Outs = 0;
_global.Close_Calls = 0;
_global.Air_Time = 0;
_global.Multi_Collect = 0;
_global.Small_Bonus = 0;
_global.Big_Bonus = 0;
_root.gotoAndStop("game");
}
on (keyPress "<Space>") {
stopAllSounds();
_global.usedBoard = false;
_global.gotoLocal = false;
_global.skip_scr = false;
_global.Paused = true;
_global.isMenu = true;
_global.SlowMo = false;
_global.Current_Speed = 0;
_global.gap = 175;
_global.Boosting = false;
_global.dist = 0;
_global.Oily = false;
_global.mouse_time = 0;
_global.thattheone = 0;
_global.die = false;
_global.scr_add = 0;
_global.f_Dist = 0;
_global.On_Ramps = 0;
_global.Times_Jumped = 0;
_global.Tramps_Taken = 0;
_global.Wipe_Outs = 0;
_global.Close_Calls = 0;
_global.Air_Time = 0;
_global.Multi_Collect = 0;
_global.Small_Bonus = 0;
_global.Big_Bonus = 0;
_root.gotoAndStop("game");
}
Symbol 1110 Button
on (release) {
stopAllSounds();
Mouse.show();
_root.gotoAndPlay("reset");
}
Symbol 1113 Button
on (release) {
getURL ("http://www.clockworkmonster.com/?FloodRunnerMore", "_blank");
}
Symbol 1116 Button
on (release) {
getURL ("http://www.benrad.co.za", "_blank");
}
Symbol 1121 Button
on (release) {
stopAllSounds();
_global.skip_scr = true;
_root.gotoAndPlay("global_submit");
}
Symbol 1122 MovieClip Frame 1
var fscr = _global.scr_add;
var fDist = _global.f_Dist;
fscr = fscr + _global.Times_Jumped;
fscr = fscr + _global.Tramps_Taken;
fscr = fscr + _global.On_Ramps;
fscr = fscr + _global.Close_Calls;
fscr = fscr + _global.Wipe_Outs;
fscr = fscr + _global.Air_Time;
fscr = fscr + _global.Multi_Collect;
fscr = fscr + _global.Small_Bonus;
fscr = fscr + _global.Big_Bonus;
fscr = fscr + fDist;
_global.thattheone = fscr;
Symbol 1122 MovieClip Frame 2
_global.isMenu = true;
Symbol 1122 MovieClip Frame 40
stop();
Symbol 1123 MovieClip Frame 1
stop();
Symbol 1124 MovieClip Frame 1
stop();
Symbol 1124 MovieClip Frame 2
stop();
Symbol 1127 Button
on (release) {
gotoAndPlay ("reset");
}