Frame 1
function calc() {
var _local2 = Math.round((_root.a / _root.b) * 100);
bar_mc.gotoAndStop(_local2);
}
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
this.menu = my_cm;
Stage.scaleMode = "noScale";
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
this.menu = my_cm;
a = getBytesLoaded();
b = getBytesTotal();
setInterval(calc, 100);
c = Math.ceil((a / b) * 100) + "%";
loadbar_mc.bar_mc._xscale = Math.ceil((a / b) * 100);
Frame 2
if (a == b) {
gotoAndStop ("splash");
} else {
gotoAndPlay (1);
}
Frame 4
runner = SharedObject.getLocal("run_profile");
var lc = new LocalConnection();
var domain = lc.domain();
if ((domain == "localhost") || (domain.indexOf("armorgames.com") > -1)) {
play();
} else {
gotoAndStop ("fail");
}
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 554 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 576 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 584 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");
}
};
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 906 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 958 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 974 MovieClip "canSurf_mc" in Frame 10
onClipEvent (load) {
_global.usedBoard = false;
}
onClipEvent (enterFrame) {
if (_global.usedBoard == true) {
gotoAndStop (3);
}
}
Instance of Symbol 999 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 () {
};
Instance of Symbol 1067 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 1103 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 1104 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();
Mouse.show();
Instance of Symbol 1120 MovieClip in Frame 15
onClipEvent (load) {
if (_global.thattheone == _parent.runner.data.pl1scr) {
this.gotoAndStop(2);
} else if (_global.thattheone == _parent.runner.data.pl2scr) {
this.gotoAndStop(3);
} else if (_global.thattheone == _parent.runner.data.pl3scr) {
this.gotoAndStop(4);
} else if (_global.thattheone == _parent.runner.data.pl4scr) {
this.gotoAndStop(5);
} else if (_global.thattheone == _parent.runner.data.pl5scr) {
this.gotoAndStop(6);
}
if (_global.thattheone == 0) {
this.gotoAndStop(1);
}
}
Frame 19
stop();
Frame 20
stop();
delete eval (onEnterFrame());
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 528 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 539 Button
on (press) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 542 MovieClip Frame 1
_root.stop();
gotoAndPlay (2);
Symbol 542 MovieClip Frame 218
_root.play();
Symbol 554 MovieClip Frame 1
stop();
Symbol 557 Button
on (release) {
_root.gotoAndStop("game");
}
on (keyPress "<Space>") {
_root.gotoAndStop("game");
}
Symbol 560 Button
on (release) {
_root.pl1scr = _root.runner.data.pl1scr;
_root.pl1 = _root.runner.data.pl1;
_root.pl2scr = _root.runner.data.pl2scr;
_root.pl2 = _root.runner.data.pl2;
_root.pl3scr = _root.runner.data.pl3scr;
_root.pl3 = _root.runner.data.pl3;
_root.pl4scr = _root.runner.data.pl4scr;
_root.pl4 = _root.runner.data.pl4;
_root.pl5scr = _root.runner.data.pl5scr;
_root.pl5 = _root.runner.data.pl5;
_root.gotoAndPlay("local_score");
}
on (keyPress "<Space>") {
_root.pl1scr = _root.runner.data.pl1scr;
_root.pl1 = _root.runner.data.pl1;
_root.pl2scr = _root.runner.data.pl2scr;
_root.pl2 = _root.runner.data.pl2;
_root.pl3scr = _root.runner.data.pl3scr;
_root.pl3 = _root.runner.data.pl3;
_root.pl4scr = _root.runner.data.pl4scr;
_root.pl4 = _root.runner.data.pl4;
_root.pl5scr = _root.runner.data.pl5scr;
_root.pl5 = _root.runner.data.pl5;
_root.gotoAndPlay("local_score");
}
Symbol 562 MovieClip Frame 1
stop();
var menuNav = new Sound(this);
menuNav.attachSound("menuNav");
menuNav.setVolume(100);
Symbol 567 Button
on (release) {
gotoAndStop (2);
_global.batman = true;
}
Symbol 573 Button
on (release) {
gotoAndStop (1);
_global.batman = false;
}
Symbol 576 MovieClip Frame 1
stop();
Symbol 576 MovieClip Frame 2
stop();
Symbol 577 Button
on (release) {
_root.Color_alles = 1;
gotoAndStop (2);
}
Symbol 578 Button
on (release) {
_root.Color_alles = 2;
gotoAndStop (3);
}
Symbol 580 Button
on (release) {
_root.Color_alles = 0;
gotoAndStop (1);
}
Symbol 582 Button
on (release) {
_root.Color_alles = 1;
gotoAndStop (2);
}
Symbol 584 MovieClip Frame 1
stop();
Symbol 589 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 591 Button
on (rollOver) {
Mouse.hide();
}
on (press) {
gotoAndStop (2);
}
on (release) {
gotoAndStop (1);
}
Symbol 592 MovieClip Frame 1
stop();
if (_global.Paused == false) {
_global.jump_check = false;
}
Symbol 592 MovieClip Frame 2
stop();
if ((_global.Paused == false) && (_global.die == false)) {
_global.jump_check = true;
}
Symbol 592 MovieClip Frame 3
stop();
Symbol 601 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 604 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 606 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 614 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 616 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 619 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 642 MovieClip Frame 1
stop();
Symbol 642 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 642 MovieClip Frame 45
stop();
delete eval (onEnterFrame(this));
Symbol 646 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 654 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 654 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 654 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 654 MovieClip Frame 35
stop();
Symbol 660 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 681 MovieClip Frame 1
stop();
Symbol 681 MovieClip Frame 45
stop();
Symbol 694 MovieClip Frame 1
stop();
Symbol 694 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 694 MovieClip Frame 45
stop();
delete eval (onEnterFrame(this));
Symbol 726 MovieClip Frame 1
stop();
Symbol 726 MovieClip Frame 45
stop();
Symbol 728 MovieClip Frame 1
stop();
Symbol 728 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 728 MovieClip Frame 45
stop();
Symbol 739 MovieClip Frame 1
stop();
Symbol 739 MovieClip Frame 45
stop();
Symbol 748 MovieClip Frame 1
stop();
Symbol 748 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 748 MovieClip Frame 45
stop();
Symbol 756 MovieClip Frame 1
stop();
onEnterFrame = function () {
_root.ColorPlatz();
if (_global.Paused == false) {
_parent.MoveTheLand();
this._x = this._x - _parent.speedX;
}
};
Instance of Symbol 632 MovieClip "ramp_mc" in Symbol 756 MovieClip Frame 2
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 500) {
this._y = 700;
}
}
Instance of Symbol 642 MovieClip "plat_mc" in Symbol 756 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 756 MovieClip Frame 4
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 800) {
this._y = 1000;
}
}
Instance of Symbol 516 MovieClip [tramp] in Symbol 756 MovieClip Frame 4
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 800) {
this._y = 1000;
}
}
Instance of Symbol 660 MovieClip in Symbol 756 MovieClip Frame 4
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 2200) {
this._y = 1000;
}
}
Instance of Symbol 632 MovieClip "ramp_mc" in Symbol 756 MovieClip Frame 5
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 500) {
this._y = 700;
}
}
Instance of Symbol 694 MovieClip "plat_mc" in Symbol 756 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 660 MovieClip in Symbol 756 MovieClip Frame 8
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 2200) {
this._y = 1000;
}
}
Instance of Symbol 516 MovieClip [tramp] in Symbol 756 MovieClip Frame 8
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 800) {
this._y = 1000;
}
}
Instance of Symbol 632 MovieClip "ramp_mc" in Symbol 756 MovieClip Frame 9
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 500) {
this._y = 700;
}
}
Instance of Symbol 516 MovieClip [tramp] in Symbol 756 MovieClip Frame 11
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 800) {
this._y = 1000;
}
}
Instance of Symbol 632 MovieClip "ramp_mc" in Symbol 756 MovieClip Frame 12
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 500) {
this._y = 700;
}
}
Instance of Symbol 660 MovieClip in Symbol 756 MovieClip Frame 13
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 2200) {
this._y = 1000;
}
}
Instance of Symbol 660 MovieClip in Symbol 756 MovieClip Frame 13
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 2200) {
this._y = 1000;
}
}
Instance of Symbol 660 MovieClip in Symbol 756 MovieClip Frame 14
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 2200) {
this._y = 1000;
}
}
Instance of Symbol 516 MovieClip [tramp] in Symbol 756 MovieClip Frame 14
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 800) {
this._y = 1000;
}
}
Instance of Symbol 728 MovieClip "plat_mc" in Symbol 756 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 660 MovieClip in Symbol 756 MovieClip Frame 15
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 2200) {
this._y = 1000;
}
}
Instance of Symbol 516 MovieClip [tramp] in Symbol 756 MovieClip Frame 16
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 800) {
this._y = 1000;
}
}
Instance of Symbol 632 MovieClip "ramp_mc" in Symbol 756 MovieClip Frame 16
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 500) {
this._y = 700;
}
}
Instance of Symbol 748 MovieClip "plat_mc" in Symbol 756 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 660 MovieClip in Symbol 756 MovieClip Frame 18
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 2200) {
this._y = 1000;
}
}
Instance of Symbol 516 MovieClip [tramp] in Symbol 756 MovieClip Frame 19
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 800) {
this._y = 1000;
}
}
Instance of Symbol 632 MovieClip "ramp_mc" in Symbol 756 MovieClip Frame 20
onClipEvent (load) {
if (_root.speed_mc.distance_txt <= 500) {
this._y = 700;
}
}
Symbol 758 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 758 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 760 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 760 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 762 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 762 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 770 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 812 MovieClip Frame 40
stop();
Symbol 864 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 864 MovieClip Frame 2
play();
_parent.hero_mc.gotoAndStop("surf");
Instance of Symbol 812 MovieClip "wave_mc" in Symbol 864 MovieClip Frame 2
onClipEvent (load) {
_root.ColorWavez();
}
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._currentframe);
}
Symbol 864 MovieClip Frame 28
_parent.hero_mc._visible = true;
_parent.hero_mc.gotoAndStop("slow_air");
_global.usedBoard = true;
_global.Close_Calls++;
play();
Symbol 864 MovieClip Frame 142
gotoAndStop (1);
Symbol 864 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 812 MovieClip "wave_mc" in Symbol 864 MovieClip Frame 143
onClipEvent (load) {
_root.ColorWavez();
}
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._currentframe);
}
Symbol 864 MovieClip Frame 169
_global.usedBoard = true;
_global.Close_Calls++;
_parent.hero_mc._visible = true;
_parent.hero_mc.gotoAndStop("slow_air");
play();
Symbol 864 MovieClip Frame 283
gotoAndStop (1);
Symbol 866 MovieClip Frame 1
var feet = new Sound(this);
feet.attachSound("feet");
feet.setVolume(0);
feet.start(0, 99999);
Symbol 868 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 870 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 872 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 876 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 878 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 880 MovieClip Frame 1
onEnterFrame = function () {
if (_global.Paused == false) {
_parent.MoveTheLand();
this._x = this._x - _parent.speedX;
_global.dist++;
}
};
Symbol 882 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 883 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 592 MovieClip "jump_checker_mc" in Symbol 883 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 598 MovieClip "wave5_mc" in Symbol 883 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 612 MovieClip "wave4_mc" in Symbol 883 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 625 MovieClip "wave3_mc" in Symbol 883 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 756 MovieClip "plat1_mc" in Symbol 883 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 756 MovieClip "plat2_mc" in Symbol 883 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 756 MovieClip "plat3_mc" in Symbol 883 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 756 MovieClip "plat4_mc" in Symbol 883 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 768 MovieClip "wave2_mc" in Symbol 883 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 775 MovieClip "wave1_mc" in Symbol 883 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 864 MovieClip "surf_mc" in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(99999);
}
Symbol 886 MovieClip Frame 1
stop();
Symbol 890 MovieClip Frame 1
stop();
Instance of Symbol 890 MovieClip "bar_mc" in Symbol 892 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 896 MovieClip Frame 1
_global.Current_Speed = _global.Current_Speed + 0.5;
Symbol 896 MovieClip Frame 2
_global.Current_Speed = _global.Current_Speed + 0.5;
Symbol 896 MovieClip Frame 3
_global.Current_Speed = _global.Current_Speed + 0.5;
Symbol 896 MovieClip Frame 4
_global.Current_Speed = _global.Current_Speed + 0.5;
Symbol 896 MovieClip Frame 5
_global.Current_Speed = _global.Current_Speed + 0.5;
Symbol 896 MovieClip Frame 6
_global.Current_Speed = _global.Current_Speed - 0.5;
Symbol 896 MovieClip Frame 7
_global.Current_Speed = _global.Current_Speed - 0.5;
Symbol 896 MovieClip Frame 8
_global.Current_Speed = _global.Current_Speed - 0.5;
Symbol 896 MovieClip Frame 9
_global.Current_Speed = _global.Current_Speed - 0.5;
Symbol 896 MovieClip Frame 10
_global.Current_Speed = _global.Current_Speed - 0.5;
Symbol 897 MovieClip Frame 1
stop();
Symbol 901 MovieClip Frame 1
stop();
Instance of Symbol 901 MovieClip in Symbol 906 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 923 MovieClip Frame 26
stop();
Symbol 926 MovieClip Frame 80
_global.multiplier--;
_parent.prevFrame();
Symbol 938 MovieClip Frame 120
_global.multiplier--;
_parent.prevFrame();
Symbol 955 MovieClip Frame 1
stop();
Symbol 957 MovieClip Frame 1
stop();
Symbol 957 MovieClip Frame 2
var airTimer = new Sound(this);
airTimer.attachSound("AirTimeSnd");
airTimer.setVolume(100);
if (_global.Mute == false) {
airTimer.start();
}
Instance of Symbol 957 MovieClip "air_mc" in Symbol 958 MovieClip Frame 1
/* no clip actions */
Symbol 963 MovieClip Frame 8
stop();
Symbol 973 MovieClip Frame 64
stop();
Symbol 974 MovieClip Frame 1
stop();
_global.canSurfit = false;
Symbol 974 MovieClip Frame 2
stop();
_global.canSurfit = true;
Symbol 974 MovieClip Frame 3
stop();
_global.canSurfit = false;
Symbol 979 Button
on (release) {
gotoAndStop (3);
}
Symbol 983 Button
on (release) {
_global.Mute = false;
gotoAndStop (2);
}
Symbol 984 MovieClip Frame 1
if (_global.Mute == true) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
Symbol 984 MovieClip Frame 2
stop();
Symbol 984 MovieClip Frame 3
_global.Mute = true;
Symbol 986 Button
on (release) {
gotoAndStop (3);
}
Symbol 987 Button
on (release) {
gotoAndStop (4);
}
Symbol 992 Button
on (release) {
gotoAndStop (4);
}
Symbol 993 Button
on (release) {
gotoAndStop (2);
}
Symbol 996 Button
on (release) {
gotoAndStop (3);
}
Symbol 999 MovieClip Frame 2
stop();
_quality = "BEST";
_global.quali_light = true;
Symbol 999 MovieClip Frame 3
_quality = "MEDIUM";
_global.quali_light = true;
Symbol 999 MovieClip Frame 4
_quality = "LOW";
_global.quali_light = false;
Symbol 1001 MovieClip Frame 1
stop();
Symbol 1010 Button
on (keyPress "<Space>") {
gotoAndPlay ("un");
}
on (release) {
gotoAndPlay ("un");
}
Symbol 1013 Button
on (release) {
stopAllSounds();
_root.gotoAndPlay("reset");
}
Symbol 1017 MovieClip Frame 1
stop();
Symbol 1017 MovieClip Frame 3
var pauseSnd = new Sound(this);
pauseSnd.attachSound("pauseSnd");
pauseSnd.setVolume(100);
if (_global.Mute == false) {
pauseSnd.start();
}
Symbol 1017 MovieClip Frame 10
stop();
Symbol 1017 MovieClip Frame 13
if (_global.Mute == false) {
pauseSnd.start();
}
Symbol 1017 MovieClip Frame 20
_global.Paused = false;
Symbol 1034 Button
on (release) {
gotoAndStop (3);
}
Symbol 1040 Button
on (release) {
gotoAndStop (4);
}
on (keyPress "<Space>") {
gotoAndStop (4);
}
Symbol 1054 MovieClip Frame 1
if (_global.startUp == true) {
_global.Paused = false;
gotoAndStop (4);
}
Symbol 1054 MovieClip Frame 2
stop();
Instance of Symbol 901 MovieClip in Symbol 1054 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 1054 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 1058 MovieClip Frame 1
stop();
Symbol 1058 MovieClip Frame 2
_global.isMenu = true;
_global.scr_add = _root.thescore_mc.scr_txt;
_global.f_Dist = _root.speed_mc.distance_txt;
Symbol 1058 MovieClip Frame 53
stop();
stopAllSounds();
_root.gotoAndStop("ending");
Symbol 1067 MovieClip Frame 1
stop();
Symbol 1089 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 1093 Button
on (release) {
stopAllSounds();
Mouse.show();
_root.gotoAndPlay("reset");
}
Symbol 1098 Button
on (release) {
_root.gotoAndPlay("local");
}
Symbol 1101 MovieClip Frame 1
stop();
Symbol 1102 MovieClip Frame 1
_global.fscr = _global.scr_add;
_global.fDist = _global.f_Dist;
_global.fscr = _global.fscr + _global.Times_Jumped;
_global.fscr = _global.fscr + _global.Tramps_Taken;
_global.fscr = _global.fscr + _global.On_Ramps;
_global.fscr = _global.fscr + _global.Close_Calls;
_global.fscr = _global.fscr + _global.Wipe_Outs;
_global.fscr = _global.fscr + _global.Air_Time;
_global.fscr = _global.fscr + _global.Multi_Collect;
_global.fscr = _global.fscr + _global.Small_Bonus;
_global.fscr = _global.fscr + _global.Big_Bonus;
_global.fscr = _global.fscr + _global.fDist;
_global.thattheone = _global.fscr;
Symbol 1102 MovieClip Frame 2
_global.isMenu = true;
Instance of Symbol 1101 MovieClip in Symbol 1102 MovieClip Frame 21
onClipEvent (load) {
if (_global.thattheone <= _root.runner.data.pl5scr) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 1102 MovieClip Frame 40
stop();
Symbol 1103 MovieClip Frame 1
stop();
Symbol 1104 MovieClip Frame 1
stop();
Symbol 1104 MovieClip Frame 2
stop();
Symbol 1107 Button
on (release) {
gotoAndPlay ("reset");
}
Symbol 1109 Button
on (release) {
stopAllSounds();
Mouse.show();
gotoAndPlay ("reset");
}
Symbol 1113 Button
on (release) {
gotoAndPlay ("global_score");
}
Symbol 1116 Button
on (release) {
_global.hisName = entering_txt;
i = 1;
while (i < 6) {
if (runner.data[("pl" + i) + "scr"] == undefined) {
runner.data[("pl" + i) + "scr"] = 0;
runner.flush();
}
if (runner.data["pl" + i] == undefined) {
runner.data["pl" + i] = "";
runner.flush();
}
i++;
}
i = 1;
while (i < 6) {
if (_global.thattheone >= runner.data[("pl" + i) + "scr"]) {
n = 6;
while (n > i) {
runner.data[("pl" + n) + "scr"] = runner.data[("pl" + (n - 1)) + "scr"];
runner.data["pl" + n] = runner.data["pl" + (n - 1)];
runner.flush();
n--;
}
runner.data[("pl" + i) + "scr"] = _global.thattheone;
runner.data["pl" + i] = _global.hisName;
runner.flush();
break;
}
i++;
}
i = 1;
while (i < 6) {
_root[("pl" + i) + "scr"] = runner.data[("pl" + i) + "scr"];
_root["pl" + i] = runner.data["pl" + i];
i++;
}
gotoAndPlay ("local_score");
}
Symbol 1120 MovieClip Frame 1
stop();