Frame 1
Frame 2
if (_root.getBytesLoaded() != _root.getBytesTotal()) {
gotoAndPlay (1);
}
Frame 3
gotoAndPlay(SplashScreen);
_root.ContinueLevel = 0;
Frame 7
_root.CodeData = new Array(638921421, 344896499, 101589224, 261120681, 450745521, 666401978, 199513855, 656839188, 938031927, 258167921, 562676127, 195626377, 755277801, 771376955, 274163354, 845622892, 255786588, 411098454, 651599146, 932750316, 549539583, 858068945, 220281789, 535076526, 416968181, 468030368, 197304445, 783110607, 923561475, 787712637, 529372728, 122841532, 401157522, 442873617, 671811339, 168078037, 584473649, 536377113, 386057721, 989360671, 492601332, 652177315, 188633108, 513891680, 299690413, 827143197, 191501254, 127784607, 348620050, 680993637, 391538125, 910784533, 515117559, 697632046, 617859244, 161193336, 456423312, 188770507, 681335819, 513351772, 210896989, 202744106, 938871463, 605777053, 436542821, 841408302, 320265478, 366064255, 262752809, 795891812, 643024774, 525594101, 454836963, 314875589, 177855609, 778954283, 121440262, 319754118, 502506920, 955487752, 938613665, 106965107, 979408608, 819534207, 813406242, 229602050, 679559007, 890865362, 357997377, 461978607, 660463606, 322052301, 279393708, 538237957, 235510767, 557533772, 672794936, 925597055, 301751430, 673191709, 782221514, 996634515, 497285445, 125773605, 733422782, 572151779, 592834696, 172113495, 128507083, 632404150, 785692625, 141856140, 428753320, 951459042, 357084558, 122709800, 397231886, 443516766, 387881617, 501175019, 463117252, 995934205, 711315631, 600655570, 905368899, 685368725, 300214071, 391714161, 892090651, 103355406, 666476931, 401201908, 856452900, 603655818, 930864163, 370224219, 726895676, 277717225, 416878670, 921072527, 141871828, 719084939, 479879417, 136378837, 392666867, 254966382, 227511581, 719412800, 259297195, 445352850, 913029729, 733983714, 796151126, 408107022, 293322827, 538476427, 684976104, 840045730, 365288730, 119333896, 853005151, 667463692, 526069834, 776853984, 330242330, 873253615, 304471104, 811603258, 932852085, 855301778, 851165257, 470987342, 308073991, 473991200, 491541311, 906997117, 774504180, 200897270, 712696800, 198322241, 306215160, 899162218, 778476108, 313749980, 385557565, 757954448, 576030955, 981328264, 793193433, 412383434, 723399372, 577587686, 917451197, 102642624, 644158578, 628570662, 324302584, 306587166, 703037016, 134520513, 110103721, 732954120, 276627743, 689427836, 355408196, 629860344, 143268097, 233067607, 538698040, 860909218, 606761491, 212194351, 306915965, 185176742, 616547224, 196802920, 386834333, 631414126, 280698652, 180228757, 979995754, 956178312, 127350510, 620572163, 644676836, 237595229, 732068762, 600969975, 559185336, 533964145, 290889585, 221618573, 304861628, 946828822, 591990716, 831473886, 371589067, 682340618, 223703117, 770173130, 645422100, 788255062, 184770982, 394083489, 212985235, 232878143, 918774937, 575806387, 130599631, 540004254, 341752704, 709813646, 331617999, 835037204, 838875542, 195042156, 759678783, 143933449, 538984722, 337805860, 145538830, 598579111, 989331287, 144446245, 582865105, 243150074, 374080850, 757729155, 311765412, 417170206, 393042282, 311376242, 284603800, 567368910, 386392074, 606168290, 170721070, 871170708, 556258005, 742230634, 263855743, 413863198, 290167599, 751587886, 145484576, 398203994, 339717393, 912846243, 333283562, 582255271, 540244217, 913131557, 150399338, 946920045, 305448811, 786991573, 755219479, 360307768, 373818028, 220996621);
Frame 9
gotoAndPlay ("SplashScreen");
Frame 10
function Initialize() {
Crash3.stop();
Crash7.stop();
Crash6.stop();
Crash5.stop();
ShowFlag = 0;
FlagPayOut.stop();
Extraman.stop();
Extraman._visible = false;
Altitude = 0;
ExtraSpacing = 0;
FTFCounter = 0;
ProTipOff = 1;
GameIsOver = false;
Lives = 10;
SmallJumpHit = 0;
GoldenKeySuccess = false;
BigJumpHit = 0;
RunCount = 0;
FlagCapture = false;
FlagPayOutCounterActive = false;
FlagPayOutCounter = 0;
HugeJump = false;
RunOffStage = false;
SpeedVar = 0;
RunFasterOn._visible = false;
Crash7.stop();
Crash6.stop();
Crash5.stop();
ReadySetGo.stop();
SpeedVarConstant = 5;
ConstantJumpSpeed = 5;
Initial = 5;
LondonY = new Array();
LondonX = new Array();
Sprite = new Array();
Image = new Array();
GroundX = new Array();
GroundY = new Array();
GroundL = new Array();
MC = new Array();
Auwger = false;
GroundAltitude = 1000;
LengthConstant = 10;
LengthVar = 100;
LondonSpacing = 400;
Runway = 700;
Dying = false;
GameLevel = 1;
FlagActive = false;
FlagPayOut._visible = false;
RunningSound = new Sound();
RunningSound.attachSound("step");
RunningSound.setVolume(SoundVolume);
TheFlagSound = new Sound();
TheFlagSound.attachSound("fanfare");
TheFlagSound.setVolume(SoundVolume);
FlagAppearsSound = new Sound();
FlagAppearsSound.attachSound("popcork");
FlagAppearsSound.setVolume(SoundVolume);
SmallApplauseSound = new Sound();
SmallApplauseSound.attachSound("applausesmall");
SmallApplauseSound.setVolume(SoundVolume);
GruntSound = new Sound();
GruntSound.attachSound("punch");
GruntSound.setVolume(SoundVolume);
GruntMSound = new Sound();
GruntMSound.attachSound("MWPUNCH");
GruntMSound.setVolume(SoundVolume);
KeyClinkSound = new Sound();
KeyClinkSound.attachSound("keyClink");
KeyClinkSound.setVolume(SoundVolume);
BigApplauseSound = new Sound();
BigApplauseSound.attachSound("APPLAUSE");
BigApplauseSound.setVolume(SoundVolume);
CrowSound = new Sound();
CrowSound.attachSound("crow");
CrowSound.setVolume(SoundVolume);
MotorSound = new Sound();
MotorSound.attachSound("motorShort");
MotorSound.setVolume(SoundVolume);
HelicopterSound = new Sound();
HelicopterSound.attachSound("chopper");
HelicopterSound.setVolume(SoundVolume);
JetSound = new Sound();
JetSound.attachSound("jet");
JetSound.setVolume(SoundVolume);
SatelliteSound = new Sound();
SatelliteSound.attachSound("SatelliteBeep");
SatelliteSound.setVolume(SoundVolume);
AlienSound = new Sound();
AlienSound.attachSound("alien4");
AlienSound.setVolume(SoundVolume);
}
function SetupFirstLevel() {
WayPointComplete = 0;
WayPointComplete = 0;
GameLevel = 1;
Lives = 10;
BuildAmount = 5;
NumberImages = 9;
NumImagIncrementor = 4;
Score = 0;
FlagCapture = false;
Loft = 0;
FlyingStuff = 0;
Falling = false;
FlagActive = false;
RX = 600;
RY = 350;
RunnerX = 200;
RunnerY = RY;
Runner._x = RunnerX;
Runner._y = RunnerY;
GroundFloor._y = RY;
CrashDone = false;
BigJumpHit = 0;
SmallJumpHit = 0;
FallingTooFast = -26;
ToggleDirection = false;
TogglePause = false;
AlphaFigure = 100;
if (_root.ContinueLevel > 0) {
i = 1;
while (i < _root.ContinueLevel) {
GameLevel++;
WayPointComplete = 0;
DifficultyProgression();
i++;
}
}
BuildLevel();
DrawGround();
ReadySetGoFunction();
}
function ReadySetGoFunction() {
ReadySetCounter = 0;
ReadySetWatch = true;
ReadySetGo._x = 400;
ReadySetGo._y = 200;
_root.ReadySetGo._visible = true;
_root.ReadySetGo.play(1, 0);
Runner._visible = true;
RunCount = 0;
}
function ResetLevel() {
LondonSpacing = 400;
WayPointComplete = 0;
CommonResetVars();
}
function ResetAtLadder() {
GroundXTotal = 500;
CommonResetVars();
}
function CommonResetVars() {
ClearLondonImages();
Falling = false;
SmallJumpHit = 0;
ReadySetWatch = false;
GoldenKeySuccess = false;
BigJumpHit = 0;
FTFCounter = 0;
RunCount = 0;
FlagActive = false;
FlagCapture = false;
HugeJump = false;
FlagPayOut._visible = false;
FlagPayOutCounterActive = false;
FlagPayOutCounter = 0;
BritishFlag._visible = false;
RunOffStage = false;
SpeedVar = 0;
Auwger = false;
Runner._xscale = 100;
ToggleDirection = false;
TogglePause = false;
Crash3._visible = false;
Crash7._visible = false;
Crash6._visible = false;
Crash5._visible = false;
Runner._alpha = 100;
Runner.play();
CrashDone = false;
AlphaFigure = 100;
Altitude = 0;
Sky._alpha = AlphaFigure;
GroundFloor._y = RY;
if (Lives < 0) {
GameIsOver = true;
_root.PublishedLevel = GameLevel;
} else {
ReadySetGoFunction();
BuildLevel();
DrawGround();
if (ProTipOff == 1) {
ProTip._x = 200;
ProTip._y = 500;
ProTip._visible = true;
ProTipOff = 2;
}
}
}
function DifficultyProgression() {
if (GameLevel > 75) {
BuildAmount = BuildAmount + 2;
} else {
BuildAmount = BuildAmount + 6;
}
if (GameLevel < 25) {
NumImagIncrementor = NumImagIncrementor + 2;
}
NumberImages = BuildAmount + NumImagIncrementor;
}
function GroundSubroutine() {
LengthConstant = 10;
LengthVar = 100 - (GameLevel * 5);
if (LengthVar < 25) {
LengthVar = 25;
}
a = GameLevel * 5;
if (a > 150) {
a = 150;
}
GroundDirection = (random(150) + 75) - a;
r = random(GameLevel);
if (r > 5) {
rr = random(2);
if (rr == 1) {
GroundDirection = GroundDirection * -1;
}
}
}
function BuildLevel() {
if (WayPointComplete == 0) {
SetupLondonImages();
GroundXTotal = LondonSpacing + Runway;
}
GroundYTotal = -50;
i = 1;
while (i < BuildAmount) {
GroundSubroutine();
GroundLength = random(LengthVar) + LengthConstant;
r = random(15);
if (i == (BuildAmount - 1)) {
r = 5;
}
if (r < 10) {
GroundXTotal = GroundXTotal + GroundDirection;
GroundX[i] = GroundXTotal;
}
if (r == 0) {
GroundStep = 40;
}
if (r == 1) {
GroundStep = 60;
}
if (r == 2) {
GroundStep = 80;
}
if (r == 3) {
GroundStep = 100;
}
if (r == 4) {
GroundStep = 120;
}
if (r == 5) {
GroundStep = 120;
}
if (r == 6) {
GroundStep = 0;
}
if (r == 7) {
GroundStep = 40;
}
if (r == 8) {
GroundStep = 0;
}
if (r == 9) {
GroundStep = 0;
GroundX[i] = (GroundXTotal + random(400)) + 300;
}
if (r == 10) {
GroundStep = 40;
GroundX[i] = (GroundXTotal + random(400)) + 300;
}
if (r == 11) {
GroundStep = 0;
GroundX[i] = (GroundXTotal + random(800)) + 400;
}
if (r == 12) {
GroundStep = 40;
GroundX[i] = (GroundXTotal + random(800)) + 500;
}
if (r == 13) {
GroundStep = 0;
GroundX[i] = (GroundXTotal + random(800)) + 700;
}
if (r == 14) {
GroundStep = 40;
GroundX[i] = (GroundXTotal + random(800)) + 800;
}
GroundYTotal = GroundYTotal - GroundStep;
GroundY[i] = GroundYTotal;
GroundL[i] = GroundLength;
duplicateMovieClip (GroundElement, "MC" + i, i);
setProperty("MC" + i, _x , GroundX[i]);
setProperty("MC" + i, _y , GroundY[i]);
setProperty("MC" + i, _xscale , GroundL[i]);
Sprite[i] = this["MC" + i];
i++;
}
AddKey();
}
function GetLondonIndividuality() {
LondonSpacing = (LondonSpacing + random(170)) + 100;
ExtraSpacing = GameLevel * 4;
if (ExtraSpacing > 45) {
ExtraSpacing = 45;
}
LondonSpacing = LondonSpacing + ExtraSpacing;
}
function DecideWhichCloud() {
CloudCounter = 0;
if (random(2) == 0) {
DuplicatorCloudA();
Image[_root.temp].gotoAndPlay(random(60));
} else {
DuplicatorCloudB();
Image[_root.temp].gotoAndPlay(random(60));
}
}
function SetupLondonImages() {
CloudCounter = 0;
i = BuildAmount + 1;
while (i < (NumberImages + 1)) {
CloudCounter++;
_root.temp = i;
GetLondonIndividuality();
if ((random(3) == 0) and (GameLevel != 1)) {
CloudCounter = 3;
}
if (CloudCounter == 3) {
DecideWhichCloud();
} else {
a = GameLevel;
if (a > 14) {
a = 14;
}
r = random(a);
if (r == 0) {
DuplicatorTelephoneBooth();
}
if (r == 1) {
DuplicatorLondonCab();
}
if (r == 2) {
DuplicatorTreeGreen();
}
if (r == 3) {
DuplicatorTreeYellow();
}
if (r == 4) {
DuplicatorDoubleDeckBus();
}
if (r == 5) {
DuplicatorStPaulsCathedral();
}
if (r == 6) {
DuplicatorSoccerDudes();
}
if (r == 7) {
DuplicatorKnight();
}
if (r == 8) {
DuplicatorLondonBridge();
}
if (r == 9) {
DuplicatorLondonEye();
}
if (r == 10) {
DuplicatorTateMuseum();
}
if (r == 11) {
DuplicatorTowerofLondon();
}
if (r == 12) {
DuplicatorWestminsterAbby();
}
if (r == 13) {
DuplicatorCanaryTower();
}
}
i++;
}
}
function ClearLondonImages() {
i = BuildAmount;
while (i < (NumberImages + 1)) {
Image[i]._y = (Image[i]._y = 2000);
i++;
}
}
function AddKey() {
BuildAmount--;
Image[BuildAmount] = GoldenKey;
Image[BuildAmount]._x = GroundX[BuildAmount];
Image[BuildAmount]._y = GroundY[BuildAmount] - 80;
Image[BuildAmount]._y = Image[BuildAmount]._y + RY;
if (GameLevel == 1) {
Image[BuildAmount]._y = Image[BuildAmount]._y + (RY / 3);
}
}
function DrawLondonImages() {
i = BuildAmount + 2;
while (i < (NumberImages + 1)) {
Image[i]._x = Image[i]._x + SpeedX;
i++;
}
}
function DrawGround() {
i = 0;
while (i < BuildAmount) {
Sprite[i]._y = Sprite[i]._y + RY;
i++;
}
}
function DrawPause() {
Runner._visible = false;
WaitMan._x = RunnerX;
WaitMan._y = RunnerY;
WaitMan._visible = true;
}
function DrawImages() {
Image[BuildAmount]._x = Image[BuildAmount]._x + SpeedX;
Image[BuildAmount]._y = Image[BuildAmount]._y + SpeedY;
DrawLondonImages();
}
function DrawImagesJump() {
Image[BuildAmount]._y = Image[BuildAmount]._y + Loft;
AlphaFigure = AlphaFigure - (Loft / 200);
if (AlphaFigure < 0) {
AlphaFigure = 0;
}
if (AlphaFigure > 100) {
AlphaFigure = 100;
}
Sky._alpha = AlphaFigure;
}
function DrawImagesTweak() {
Image[BuildAmount]._y = Image[BuildAmount]._y + 1;
}
function Running() {
if (Dying == false) {
if ((TogglePause == false) and (FlagActive == false)) {
ShowFlag++;
}
if ((((ShowFlag > 2500) and (Lives < 15)) and (HugeJump == false)) and (FlagActive == false)) {
FlagSetup();
}
if (FlagActive == true) {
FlagEngine();
}
if (((BigJumpHit == 0) and (HugeJump == false)) and (SmallJumpHit == 0)) {
RunCount++;
}
if ((RunCount > 6) and (TogglePause == false)) {
RunCount = 0;
RunningSound.start();
}
if ((BigJumpHit == 0) and (SmallJumpHit == 0)) {
SpeedVar = SpeedVarConstant;
} else if (HugeJump == false) {
SpeedVar = ConstantJumpSpeed;
}
if (ProTipOff == 2) {
tempg++;
ProTip._y = ProTip._y + Loft;
if (tempg > 55) {
ProTipOff = 3;
ProTip._visible = false;
}
}
if (WayPointComplete == 0) {
LondonCollision();
} else {
GoldenKeyCollision();
FlyingStuffStepOne();
FlyingStuffStepTwo();
}
if (ToggleDirection == false) {
SpeedX = -SpeedVar;
Runner._xscale = 100;
} else {
SpeedX = SpeedVar;
Runner._xscale = -100;
}
if ((TogglePause == true) and (Falling == false)) {
if ((BigJumpHit == 0) and (SmallJumpHit == 0)) {
DrawPause();
SpeedX = 0;
}
}
SpeedY = 0;
i = 0;
while (i < BuildAmount) {
Sprite[i]._x = Sprite[i]._x + SpeedX;
Sprite[i]._y = Sprite[i]._y + SpeedY;
i++;
}
if ((((Runner._x > (Image[NumberImages]._x + 100)) and (GoldenKeySuccess == false)) and (ReadySetWatch == false)) and (Runner._x < (Image[NumberImages]._x + 500))) {
WayPointComplete++;
}
if ((WayPointComplete == 1) and (GoldenKeySuccess == false)) {
Extraman._visible = true;
Extraman.play(1);
WayPointFunction();
}
if (WayPointComplete > 1000) {
WayPointComplete = 1000;
}
DrawImages();
GroundFloor._y = GroundFloor._y + SpeedY;
if ((Falling == false) and (GroundFloor._y > RY)) {
if ((BigJumpHit == 0) and (SmallJumpHit == 0)) {
CheckForHoles();
}
}
if (Falling == true) {
if ((BigJumpHit == 0) and (SmallJumpHit == 0)) {
Fall();
}
}
}
}
function FlagSetup() {
FlagAppearsSound.start();
FlagCapture = false;
BritishFlag._x = random(800);
BritishFlag._y = random(450) + 100;
ShowFlag = 0;
FlagActive = true;
FlagCourse = random(9) - 4;
BritishFlag._visible = true;
}
function FlagEngine() {
BritishFlag._y = BritishFlag._y - 3;
if (random(25) == 0) {
if (random(2) == 0) {
FlagCourse = 4;
} else {
FlagCourse = -4;
}
}
BritishFlag._x = BritishFlag._x + FlagCourse;
BritishFlag._rotation = BritishFlag._rotation + 5;
BritishFlag._x = BritishFlag._x + SpeedX;
BritishFlag._y = BritishFlag._y + Loft;
FlagCollision();
}
function FlagCollision() {
if (BritishFlag.hitTest(Runner) and (FlagCapture == false)) {
TheFlagSound.start();
BritishFlag._visible = false;
BritishFlag._x = 2000;
FlagCapture = true;
FlagPayOut._visible = true;
FlagPayOut.play();
FlagPayOutCounterActive = true;
}
if ((random(200) == 0) and (FlagPayOutCounterActive == false)) {
ClearFlag();
}
if (FlagPayOutCounterActive == true) {
FlagPayOutCounter++;
}
if (FlagPayOutCounter == 40) {
Lives = Lives + 5;
ClearFlag();
}
}
function ClearFlag() {
FlagPayOut._visible = false;
FlagPayOutCounterActive = false;
FlagPayOutCounter = 0;
FlagActive = false;
BritishFlag._visible = false;
FlagPop._x = BritishFlag._x;
FlagPop._y = BritishFlag._y;
FlagPop._visible = true;
}
function FlyingStuffStepOne() {
tempa = 1100;
tempb = 1100;
if ((Altitude > tempa) and (FlyingStuff == 0)) {
ClearFlyingStuff();
FlyingStuff = 1;
AnimatedCrow._x = 880;
AnimatedCrow._y = random(300) + 200;
AnimatedCrow._visible = true;
CrowSound.start();
}
if ((Altitude > (tempa + tempb)) and (FlyingStuff == 1)) {
ClearFlyingStuff();
HelicopterCounter = 20;
FlyingStuff = 2;
Helicopter._x = 880;
Helicopter._y = random(300) + 200;
Helicopter._visible = true;
}
if ((Altitude > (tempa + (tempb * 2))) and (FlyingStuff == 2)) {
ClearFlyingStuff();
MotorCounter = 0;
FlyingStuff = 3;
Cessna._x = 880;
Cessna._y = random(300) + 200;
Cessna._visible = true;
}
if ((Altitude > (tempa + (tempb * 4))) and (FlyingStuff == 3)) {
ClearFlyingStuff();
FlyingStuff = 4;
ConcordCounter = 5;
Concord._x = 880;
Concord._y = random(300) + 200;
Concord._visible = true;
}
if ((Altitude > (tempa + (tempb * 6))) and (FlyingStuff == 4)) {
ClearFlyingStuff();
FlyingStuff = 5;
SatelliteCounter = 15;
Satellite._x = 880;
Satellite._y = random(300) + 200;
Satellite._visible = true;
}
if ((Altitude > (tempa + (tempb * 8))) and (FlyingStuff == 5)) {
ClearFlyingStuff();
FlyingStuff = 6;
ConcordCounter = 5;
SpaceShuttle._x = 880;
SpaceShuttle._y = random(300) + 200;
SpaceShuttle._visible = true;
}
if ((Altitude > (tempa + (tempb * 10))) and (FlyingStuff == 6)) {
ClearFlyingStuff();
FlyingStuff = 7;
Comet._x = 880;
Comet._y = random(300) + 200;
Comet._visible = true;
}
if ((Altitude > (tempa + (tempb * 12))) and (FlyingStuff == 7)) {
ClearFlyingStuff();
FlyingStuff = 8;
AlienCounter = 5;
Alien._x = 880;
Alien._y = random(300) + 200;
Alien._visible = true;
}
if ((FlyingStuff == 8) and (Alien._x < (RunnerX - 2500))) {
ClearFlyingStuff();
FlyingStuff = 8;
Alien._x = 880;
Alien._y = random(300) + 200;
Alien._visible = true;
}
}
function FlyingStuffStepTwo() {
if (GoldenKeySuccess == false) {
tempf = 400;
if ((FlyingStuff == 1) and (AnimatedCrow._x > (RunnerX - tempf))) {
FlyingCrow();
}
if ((FlyingStuff == 2) and (Helicopter._x > (RunnerX - tempf))) {
FlyingHelicopter();
}
if ((FlyingStuff == 3) and (Cessna._x > (RunnerX - tempf))) {
FlyingCessna();
}
if ((FlyingStuff == 4) and (Concord._x > (RunnerX - tempf))) {
FlyingConcord();
}
if ((FlyingStuff == 5) and (Satellite._x > (RunnerX - tempf))) {
FlyingSatellite();
}
if ((FlyingStuff == 6) and (SpaceShuttle._x > (RunnerX - tempf))) {
FlyingSpaceShuttle();
}
if ((FlyingStuff == 7) and (Comet._x > (RunnerX - tempf))) {
FlyingComet();
}
if (FlyingStuff == 8) {
FlyingAlien();
}
}
}
function FlyingSpeedFunction() {
FlyingStuffSpeed = GameLevel;
if (FlyingStuffSpeed < 3) {
FlyingStuffSpeed = 3;
}
if (FlyingStuffSpeed > 10) {
FlyingStuffSpeed = 10;
}
}
function StopAllFlyingSounds() {
HelicopterSound.stop();
MotorSound.stop();
JetSound.stop();
SatelliteSound.stop();
AlienSound.stop();
}
function FlyingCrow() {
FlyingSpeedFunction();
AnimatedCrow._x = (AnimatedCrow._x + SpeedX) - FlyingStuffSpeed;
AnimatedCrow._y = AnimatedCrow._y + Loft;
if (AnimatedCrow._y > RunnerY) {
AnimatedCrow._y = AnimatedCrow._y - FlyingStuffSpeed;
}
if (AnimatedCrow._y < RunnerY) {
AnimatedCrow._y = AnimatedCrow._y + FlyingStuffSpeed;
}
if (AnimatedCrow.hitTest(Runner)) {
AnimatedCrow._visible = false;
CrowSound.start();
FlyingStuffCollision();
}
}
function FlyingHelicopter() {
FlyingSpeedFunction();
Helicopter._x = (Helicopter._x + SpeedX) - FlyingStuffSpeed;
Helicopter._y = Helicopter._y + Loft;
HelicopterCounter++;
if (HelicopterCounter == 25) {
HelicopterSound.start();
HelicopterCounter = 0;
}
if (Helicopter._y > RunnerY) {
Helicopter._y = (Helicopter._y - FlyingStuffSpeed) - 1;
}
if (Helicopter._y < RunnerY) {
Helicopter._y = (Helicopter._y + FlyingStuffSpeed) + 1;
}
if (Helicopter.hitTest(Runner)) {
Helicopter._visible = false;
FlyingStuffCollision();
}
}
function FlyingCessna() {
FlyingSpeedFunction();
Cessna._x = (Cessna._x + SpeedX) - FlyingStuffSpeed;
Cessna._y = Cessna._y + Loft;
MotorCounter++;
if (MotorCounter == 3) {
MotorSound.start();
MotorCounter = 0;
}
if (Cessna._y > RunnerY) {
Cessna._y = (Cessna._y - FlyingStuffSpeed) - 1;
}
if (Cessna._y < RunnerY) {
Cessna._y = (Cessna._y + FlyingStuffSpeed) + 1;
}
if (Cessna.hitTest(Runner)) {
Cessna._visible = false;
FlyingStuffCollision();
}
}
function FlyingConcord() {
FlyingSpeedFunction();
Concord._x = (Concord._x + SpeedX) - FlyingStuffSpeed;
Concord._y = Concord._y + Loft;
ConcordCounter++;
if (ConcordCounter == 10) {
JetSound.start();
ConcordCounter = 0;
}
if (Concord._y > RunnerY) {
Concord._y = (Concord._y - FlyingStuffSpeed) - 1;
}
if (Concord._y < RunnerY) {
Concord._y = (Concord._y + FlyingStuffSpeed) + 1;
}
if (Concord.hitTest(Runner)) {
Concord._visible = false;
FlyingStuffCollision();
}
}
function FlyingSatellite() {
FlyingSpeedFunction();
Satellite._x = (Satellite._x + SpeedX) - FlyingStuffSpeed;
Satellite._y = Satellite._y + Loft;
Satellite._rotation++;
SatelliteCounter++;
if (SatelliteCounter == 20) {
SatelliteSound.start();
SatelliteCounter = 0;
}
if (Satellite._y > RunnerY) {
Satellite._y = Satellite._y - FlyingStuffSpeed;
}
if (Satellite._y < RunnerY) {
Satellite._y = Satellite._y + FlyingStuffSpeed;
}
if (Satellite.hitTest(Runner)) {
Satellite._visible = false;
FlyingStuffCollision();
}
}
function FlyingSpaceShuttle() {
FlyingSpeedFunction();
SpaceShuttle._x = (SpaceShuttle._x + SpeedX) - FlyingStuffSpeed;
SpaceShuttle._y = SpaceShuttle._y + Loft;
ConcordCounter++;
if (ConcordCounter == 7) {
JetSound.start();
ConcordCounter = 0;
}
if (SpaceShuttle._y > RunnerY) {
SpaceShuttle._y = (SpaceShuttle._y - FlyingStuffSpeed) - 1;
}
if (SpaceShuttle._y < RunnerY) {
SpaceShuttle._y = (SpaceShuttle._y + FlyingStuffSpeed) + 1;
}
if (SpaceShuttle.hitTest(Runner)) {
SpaceShuttle._visible = false;
FlyingStuffCollision();
}
}
function FlyingComet() {
FlyingSpeedFunction();
Comet._x = (Comet._x + SpeedX) - FlyingStuffSpeed;
Comet._y = Comet._y + Loft;
if (Comet._y > RunnerY) {
Comet._y = (Comet._y - FlyingStuffSpeed) - 1;
}
if (Comet._y < RunnerY) {
Comet._y = (Comet._y + FlyingStuffSpeed) + 1;
}
if (Comet.hitTest(Runner)) {
Comet._visible = false;
FlyingStuffCollision();
}
}
function FlyingAlien() {
FlyingSpeedFunction();
Alien._x = (Alien._x + SpeedX) - FlyingStuffSpeed;
Alien._y = Alien._y + Loft;
AlienCounter++;
if ((AlienCounter > 15) and (Alien._x > (RunnerX - tempf))) {
AlienSound.start();
AlienCounter = 0;
}
if (Alien._y > RunnerY) {
Alien._y = (Alien._y - FlyingStuffSpeed) - 4;
}
if (Alien._y < RunnerY) {
Alien._y = (Alien._y + FlyingStuffSpeed) + 4;
}
if (Alien.hitTest(Runner)) {
FlyingStuffCollision();
}
}
function FlyingStuffCollision() {
if (GoldenKeySuccess == false) {
BigJumpHit = 0;
StopAllFlyingSounds();
SmallJumpHit = 0;
HugeJump = false;
Falling = false;
FlyingStuff = 0;
Loft = 0;
_root.TogglePause = false;
_root.WaitMan._visible = false;
Crash();
}
}
function WayPointFunction() {
SmallApplauseSound.start();
WayPointSign._visible = true;
WayPointSign._x = 375;
WayPointSign._y = 150;
WayPointSign.play(1);
}
function BigJumpSetup() {
Loft = 17;
Gravity = 1;
BigJumpHit++;
Runner.gotoAndStop(3);
}
function SmallJumpSetup() {
Loft = 13;
Gravity = 1;
SmallJumpHit++;
Runner.gotoAndStop(3);
}
function HugeJumpSetup() {
Loft = 23;
Gravity = 1;
BigJumpHit++;
HugeJump = true;
Runner.gotoAndStop(3);
WaveDraw();
SpeedVar = 10;
}
function WaveDraw() {
SpeedVar = 10;
if (ToggleDirection == false) {
Waves._x = RunnerX + 10;
Waves._y = RunnerY - 25;
Waves._rotation = 60;
Waves._visible = true;
} else {
Waves._x = RunnerX - 15;
Waves._y = RunnerY - 20;
Waves._rotation = 290;
Waves._visible = true;
}
}
function JumpEngine() {
if (HugeJump == true) {
WaveDraw();
}
if (BigJumpHit == 1000) {
HugeJumpSetup();
} else if (BigJumpHit == 1) {
BigJumpSetup();
} else if (SmallJumpHit == 1) {
SmallJumpSetup();
}
if ((BigJumpHit > 1) or (SmallJumpHit > 1)) {
i = 0;
while (i < BuildAmount) {
Sprite[i]._y = Sprite[i]._y + Loft;
i++;
}
i = BuildAmount + 2;
while (i < (NumberImages + 1)) {
Image[i]._y = Image[i]._y + Loft;
i++;
}
DrawImagesJump();
GroundFloor._y = GroundFloor._y + Loft;
Loft = Loft - Gravity;
if (Loft < 0) {
Waves._visible = false;
}
if ((Loft < FallingTooFast) and (GoldenKeySuccess == false)) {
Loft = FallingTooFast;
if ((Auwger = true)) {
Loft = -30;
}
FTFCounter++;
if (FTFCounter > 5) {
Auwger = true;
Runner.gotoAndStop(11);
FTFCounter = 0;
}
} else {
FTFCounter = 0;
}
if (Dying == false) {
if (Loft > 0) {
CheckCollisionUp();
} else if (Loft <= 0) {
CheckCollisionDown();
}
}
}
}
function Fall() {
i = 0;
while (i < BuildAmount) {
Sprite[i]._y = Sprite[i]._y + Loft;
i++;
}
i = BuildAmount + 2;
while (i < (NumberImages + 1)) {
Image[i]._y = Image[i]._y + Loft;
i++;
}
DrawImagesJump();
GroundFloor._y = GroundFloor._y + Loft;
Loft = Loft - Gravity;
if ((Loft < FallingTooFast) and (GoldenKeySuccess == false)) {
Loft = FallingTooFast;
FTFCounter++;
if (FTFCounter > 5) {
Auwger = true;
Runner.gotoAndStop(11);
FTFCounter = 0;
}
} else {
FTFCounter = 0;
}
if (Loft <= 0) {
CheckCollisionDown();
}
}
function Tweak() {
while (Sprite[TweakI].hitTest(Runner) or GroundFloor.hitTest(Runner)) {
i = 0;
while (i < BuildAmount) {
Sprite[i]._y = Sprite[i]._y + 1;
i++;
}
i = BuildAmount + 2;
while (i < (NumberImages + 1)) {
Image[i]._y = Image[i]._y + 1;
i++;
}
DrawImagesTweak();
GroundFloor._y = GroundFloor._y + 1;
}
}
function CheckForHoles() {
Falling = true;
Loft = 1;
Gravity = 1;
i = 0;
while (i < BuildAmount) {
if (Sprite[i].hitTest(RunnerX + 12, RunnerY + 1, true) or Sprite[i].hitTest(RunnerX - 8, RunnerY + 1, true)) {
Falling = false;
Loft = 0;
}
i++;
}
}
function CheckCollisionDown() {
if (GoldenKeySuccess == false) {
i = 0;
while (i < BuildAmount) {
if (Sprite[i].hitTest(Runner)) {
RunCount = 50;
BigJumpHit = 0;
SmallJumpHit = 0;
HugeJump = false;
Runner.play();
TweakI = i;
Falling = false;
SpeedVar = SpeedVarConstant;
if (Auwger == true) {
Auwger = false;
Crash();
} else {
Loft = 0;
Waves._visible = false;
Tweak();
}
}
if (GroundFloor.hitTest(Runner) or (Runner._y > GroundFloor._y)) {
HugeJump = false;
BigJumpHit = 0;
SmallJumpHit = 0;
Falling = false;
TweakI = i;
Loft = 0;
RunCount = 50;
if (Auwger == true) {
Crash();
} else {
Auwger = false;
Runner.play();
SpeedVar = SpeedVarConstant;
Waves._visible = false;
Tweak();
}
}
i++;
}
}
}
function CheckCollisionUp() {
if (GoldenKeySuccess == false) {
i = 0;
while (i < BuildAmount) {
if (Sprite[i].hitTest(Runner)) {
BigJumpHit = 0;
SmallJumpHit = 0;
HugeJump = false;
Falling = false;
Loft = 0;
Crash();
}
i++;
}
}
}
function LondonCrash() {
BigJumpHit = 0;
SmallJumpHit = 0;
HugeJump = false;
Falling = false;
Loft = 0;
Crash();
}
function LondonCollision() {
if ((GoldenKeySuccess == false) and (WayPointComplete == 0)) {
i = BuildAmount + 2;
while (i < (NumberImages + 1)) {
if (Image[i].hitTest(RunnerX + 12, RunnerY - 1, true)) {
LondonCrash();
}
if (Image[i].hitTest(RunnerX + 8, RunnerY - 24, true)) {
LondonCrash();
}
if (Image[i].hitTest(RunnerX - 10, RunnerY - 14, true)) {
LondonCrash();
}
if (Image[i].hitTest(RunnerX - 8, RunnerY - 1, true)) {
LondonCrash();
}
i++;
}
}
}
function GoldenKeyCollision() {
if (Image[BuildAmount].hitTest(Runner) and (GoldenKeySuccess == false)) {
GoldenKeySuccess = true;
Extraman.play(1);
Extraman._visible = true;
KeyClinkSound.start();
TempLoft = 0;
ClearFlyingStuff();
Runner._visible = false;
Image[BuildAmount]._visible = false;
SpinningMan._x = Runner._x;
SpinningMan._y = Runner._y;
SpinningMan._visible = true;
}
}
function PostKeyReset() {
BigJumpHit = 0;
Runner._visible = true;
RunOffStage = false;
GoldenKeySuccess = false;
Image[BuildAmount]._visible = true;
SmallJumpHit = 0;
HugeJump = false;
FlyingStuff = 0;
Runner._x = RunnerX;
Runner._y = RunnerY;
Falling = false;
Loft = 0;
WayPointComplete = 0;
SpeedVar = 0;
ClearFlyingStuff();
waves._visible = false;
DifficultyProgression();
GameLevel++;
ResetLevel();
}
function ClearFlyingStuff() {
AnimatedCrow._visible = false;
Helicopter._visible = false;
Concord._visible = false;
Cessna._visible = false;
Satellite._visible = false;
Satellite._rotation = 0;
Alien._visible = false;
Comet._visible = false;
SpaceShuttle._visible = false;
}
function Crash() {
if (Dying == false) {
if (random(2) == 0) {
GruntSound.start();
} else {
GruntMSound.start();
}
ClearFlyingStuff();
BuildAmount++;
BigJumpHit = 0;
Dying = true;
FlyingStuff = 0;
SmallJumpHit = 0;
HugeJump = false;
Loft = 0;
SpeedVar = 0;
waves._visible = false;
_root.Runner._alpha = 30;
_root.Runner.stop();
r = random(3);
if (Auwger == true) {
r = 21;
}
if (r == 0) {
Crash6._x = RunnerX;
Crash6._y = RunnerY;
Crash6._visible = true;
_root.Crash6.play(1, 0);
}
if (r == 1) {
Crash5._x = RunnerX;
Crash5._y = RunnerY;
Crash5._visible = true;
_root.Crash5.play(1, 0);
}
if (r == 2) {
Crash3._x = RunnerX;
Crash3._y = RunnerY;
Crash3._visible = true;
_root.Crash3.play(1, 0);
}
if (r == 21) {
_root.Runner._visible = false;
Crash7._x = RunnerX;
Crash7._y = RunnerY - 4;
Crash7._visible = true;
_root.Crash7.play(1, 0);
}
Auwger = false;
Lives--;
}
}
function SuccessFall() {
if (RunOffStage == true) {
Runner._x = Runner._x + 10;
Loft = 0;
Runner._xscale = 100;
ToggleDirection = false;
SpeedVar = 0;
if (Runner._x > 820) {
PostKeyReset();
}
} else {
SpinningMan._rotation = SpinningMan._rotation + 10;
if (SpinningMan._y > (GroundFloor._y - 140)) {
SpinningMan._visible = false;
Parachute._x = SpinningMan._x;
Parachute._y = SpinningMan._y;
Parachute._visible = true;
Loft = -5;
if (Parachute._y >= GroundFloor._y) {
BigApplauseSound.start();
Loft = 0;
Parachute._visible = false;
Runner.play(2);
Runner._x = Parachute._x;
Runner._y = GroundFloor._y + 2;
Runner._visible = true;
RunOffStage = true;
}
}
}
}
function Main() {
if (ReadySetWatch == false) {
if ((Loft != 0) or (SpeedX == 0)) {
RunCount--;
}
if (GoldenKeySuccess == true) {
SuccessFall();
}
Running();
JumpEngine();
Altitude = Altitude + Loft;
if (Altitude < 0) {
Altitude = 0;
}
if (CrashDone == true) {
if (WayPointComplete == 0) {
ResetLevel();
} else {
ResetAtLadder();
}
}
}
}
function DuplicatorTelephoneBooth() {
LondonX[temp] = LondonSpacing;
LondonY[temp] = RY;
duplicateMovieClip (PhoneBooth, "MC" + temp, temp);
setProperty("MC" + temp, _x , LondonX[temp]);
setProperty("MC" + temp, _y , LondonY[temp]);
Image[temp] = this["MC" + temp];
}
function DuplicatorTreeGreen() {
LondonX[temp] = LondonSpacing;
LondonY[temp] = RY;
duplicateMovieClip (TreeGreen, "MC" + temp, temp);
setProperty("MC" + temp, _x , LondonX[temp]);
setProperty("MC" + temp, _y , LondonY[temp]);
Image[temp] = this["MC" + temp];
a = random(50);
Image[temp]._xscale = 50 + a;
Image[temp]._yscale = 50 + a;
}
function DuplicatorTreeYellow() {
LondonX[temp] = LondonSpacing;
LondonY[temp] = RY;
duplicateMovieClip (TreeYellow, "MC" + temp, temp);
setProperty("MC" + temp, _x , LondonX[temp]);
setProperty("MC" + temp, _y , LondonY[temp]);
Image[temp] = this["MC" + temp];
a = random(50);
Image[temp]._xscale = 50 + a;
Image[temp]._yscale = 50 + a;
}
function DuplicatorStPaulsCathedral() {
LondonX[temp] = LondonSpacing;
LondonY[temp] = RY;
duplicateMovieClip (StPaulsCathedral, "MC" + temp, temp);
setProperty("MC" + temp, _x , LondonX[temp]);
setProperty("MC" + temp, _y , LondonY[temp]);
Image[temp] = this["MC" + temp];
}
function DuplicatorDoubleDeckBus() {
LondonX[temp] = LondonSpacing;
LondonY[temp] = RY;
duplicateMovieClip (DoubleDeckBus, "MC" + temp, temp);
setProperty("MC" + temp, _x , LondonX[temp]);
setProperty("MC" + temp, _y , LondonY[temp]);
Image[temp] = this["MC" + temp];
}
function DuplicatorLondonCab() {
LondonX[temp] = LondonSpacing;
LondonY[temp] = RY;
duplicateMovieClip (LondonCab, "MC" + temp, temp);
setProperty("MC" + temp, _x , LondonX[temp]);
setProperty("MC" + temp, _y , LondonY[temp]);
Image[temp] = this["MC" + temp];
}
function DuplicatorStPaulsCathedral() {
LondonX[temp] = LondonSpacing;
LondonY[temp] = RY;
duplicateMovieClip (StPaulsCathedral, "MC" + temp, temp);
setProperty("MC" + temp, _x , LondonX[temp]);
setProperty("MC" + temp, _y , LondonY[temp]);
Image[temp] = this["MC" + temp];
}
function DuplicatorCloudA() {
LondonSpacing = LondonSpacing - random(75);
LondonX[temp] = LondonSpacing;
LondonY[temp] = (RY - random(140)) - 70;
if (GameLevel < 4) {
LondonY[temp] = (RY - random(140)) - 180;
}
duplicateMovieClip (CloudA, "MC" + temp, temp);
setProperty("MC" + temp, _x , LondonX[temp]);
setProperty("MC" + temp, _y , LondonY[temp]);
Image[temp] = this["MC" + temp];
}
function DuplicatorCloudB() {
LondonSpacing = LondonSpacing - random(75);
LondonX[temp] = LondonSpacing;
LondonY[temp] = (RY - random(140)) - 100;
if (GameLevel < 4) {
LondonY[temp] = (RY - random(140)) - 180;
}
duplicateMovieClip (CloudB, "MC" + temp, temp);
setProperty("MC" + temp, _x , LondonX[temp]);
setProperty("MC" + temp, _y , LondonY[temp]);
Image[temp] = this["MC" + temp];
}
function DuplicatorKnight() {
LondonX[temp] = LondonSpacing;
LondonY[temp] = RY;
duplicateMovieClip (Knight, "MC" + temp, temp);
setProperty("MC" + temp, _x , LondonX[temp]);
setProperty("MC" + temp, _y , LondonY[temp]);
Image[temp] = this["MC" + temp];
}
function DuplicatorLondonBridge() {
LondonX[temp] = LondonSpacing;
LondonY[temp] = RY;
duplicateMovieClip (LondonBridge, "MC" + temp, temp);
setProperty("MC" + temp, _x , LondonX[temp]);
setProperty("MC" + temp, _y , LondonY[temp]);
Image[temp] = this["MC" + temp];
}
function DuplicatorLondonEye() {
LondonX[temp] = LondonSpacing;
LondonY[temp] = RY;
duplicateMovieClip (LondonEye, "MC" + temp, temp);
setProperty("MC" + temp, _x , LondonX[temp]);
setProperty("MC" + temp, _y , LondonY[temp]);
Image[temp] = this["MC" + temp];
}
function DuplicatorTateMuseum() {
LondonX[temp] = LondonSpacing;
LondonY[temp] = RY;
duplicateMovieClip (TateMuseum, "MC" + temp, temp);
setProperty("MC" + temp, _x , LondonX[temp]);
setProperty("MC" + temp, _y , LondonY[temp]);
Image[temp] = this["MC" + temp];
}
function DuplicatorTowerofLondon() {
LondonX[temp] = LondonSpacing;
LondonY[temp] = RY;
duplicateMovieClip (TowerofLondon, "MC" + temp, temp);
setProperty("MC" + temp, _x , LondonX[temp]);
setProperty("MC" + temp, _y , LondonY[temp]);
Image[temp] = this["MC" + temp];
}
function DuplicatorWestminsterAbby() {
LondonX[temp] = LondonSpacing;
LondonY[temp] = RY;
duplicateMovieClip (WestminsterAbby, "MC" + temp, temp);
setProperty("MC" + temp, _x , LondonX[temp]);
setProperty("MC" + temp, _y , LondonY[temp]);
Image[temp] = this["MC" + temp];
}
function DuplicatorCanaryTower() {
LondonX[temp] = LondonSpacing;
LondonY[temp] = RY;
duplicateMovieClip (CanaryTower, "MC" + temp, temp);
setProperty("MC" + temp, _x , LondonX[temp]);
setProperty("MC" + temp, _y , LondonY[temp]);
Image[temp] = this["MC" + temp];
}
if (Initial < 1) {
Initialize();
SetupFirstLevel();
}
if (Initial > 1) {
Main();
}
_root.gotoAndPlay("MainFrame");
Instance of Symbol 179 MovieClip "mouse" in Frame 10
onClipEvent (keyDown) {
if (Key.isDown(73) and Key.isDown(90)) {
_root.Cheatcount++;
if (_root.Cheatcount == 1) {
_root.Cheat = true;
_root.Lives = 5;
_root.Cheatmode._y = 50;
_root.men = 50;
_root.PostKeyReset();
} else {
_root.Cheat = false;
_root.Cheatcount = 0;
_root.Cheatmode._y = -150;
}
}
if (Key.isDown(17) or Key.isDown(32)) {
if (_root.ToggleDirection == false) {
_root.ToggleDirection = true;
} else {
_root.ToggleDirection = false;
}
}
if (((_root.Falling == false) and (_root.BigJumpHit == 0)) and (_root.Dying == false)) {
if ((Key.isDown(38) and (_root.SmallJumpHit == 0)) and (_root.TogglePause == false)) {
if (_root.BigJumpHit == 0) {
_root.BigJumpHit = 1000;
_root.SmallJumpHit = 0;
}
} else {
if ((Key.isDown(37) and (_root.TogglePause == false)) and (_root.BigJumpHit == 0)) {
_root.SmallJumpHit++;
}
if (Key.isDown(40)) {
if (_root.TogglePause == false) {
_root.TogglePause = true;
} else {
_root.TogglePause = false;
_root.WaitMan._visible = false;
_root.Runner._visible = true;
if (_root.ToggleDirection == false) {
_root.SpeedX = _root.Speedvar;
} else {
_root.SpeedX = -_root.Speedvar;
}
}
}
if ((Key.isDown(39) and (_root.TogglePause == false)) and (_root.SmallJumpHit == 0)) {
_root.BigJumpHit++;
}
}
}
}
Frame 11
if (_root.GameIsOver == false) {
_root.gotoAndPlay("MainFrame");
}
Frame 12
function encode(str, hash) {
i = 0;
result = "";
len = str.length;
x = 0;
while (x < len) {
if (x > 0) {
result = result + "-";
}
i = (i % hash.length) + 1;
result = result + Number(str.charCodeAt(x) ^ hash.charCodeAt(i - 1));
x++;
}
return(result);
}
function makechecksum(str) {
result = 0;
len = str.length;
x = 0;
while (x < len) {
result = result + Number(str.charCodeAt(x));
x++;
}
return(result);
}
AllSet = false;
rup = 0;
while (rup < 300) {
trace(_root.CodeData[rup]);
if (_root.GameLevel == rup) {
_root.ContinueFig = _root.CodeData[rup - 1];
AllSet = true;
}
rup++;
}
if (AllSet == false) {
_root.ContinueFig = 220996621 /* 0xD2C240D */;
_root.MaxFig._x = 110;
}
i = 0;
while (i < _root.BuildAmount) {
_root.Sprite[i]._visible = false;
i++;
}
i = _root.BuildAmount + 2;
while (i < (_root.NumberImages + 1)) {
_root.Image[i]._visible = false;
i++;
}
swear = false;
if (_root.PublishedLevel < 5) {
_root.NeedHighScore._x = 380;
_root.NeedHighScore._y = 400;
}
stop();
_root.PlayingFromNL = false;
submitButton.onRelease = function () {
user = _root.playerInput.text;
score = _root.PublishedLevel;
ran = random(10000) + 5000;
if ((user.indexOf("fuck") != -1) or (user.indexOf("shit") != -1)) {
swear = true;
}
if (user == _root.ContinueFig) {
swear = true;
}
if ((user.indexOf("fuk") != -1) or (user.indexOf("pussy") != -1)) {
swear = true;
}
if ((user.indexOf("bitch") != -1) or (user.indexOf("cunt") != -1)) {
swear = true;
}
if ((user.indexOf("nigg") != -1) or (user.indexOf("ass") != -1)) {
swear = true;
}
if ((user.indexOf("dick") != -1) or (user.indexOf("cock") != -1)) {
swear = true;
}
if ((user.indexOf("butthole") != -1) or (user.indexOf("piss") != -1)) {
swear = true;
}
if ((user.indexOf("penis") != -1) or (user.indexOf("vagina") != -1)) {
swear = true;
}
if ((user.indexOf("hitler") != -1) or (user.indexOf("jewish") != -1)) {
swear = true;
}
if ((user.indexOf("mother") != -1) or (user.indexOf("f*") != -1)) {
swear = true;
}
if ((user.indexOf("f.u.") != -1) or (user.indexOf("dik") != -1)) {
swear = true;
}
if ((user.indexOf("FUCK") != -1) or (user.indexOf("SHIT") != -1)) {
swear = true;
}
if ((user.indexOf("FUC") != -1) or (user.indexOf("Fuck") != -1)) {
swear = true;
}
if ((user.indexOf("Bitch") != -1) or (user.indexOf("Cunt") != -1)) {
swear = true;
}
if ((user.indexOf("Nigg") != -1) or (user.indexOf("Ass") != -1)) {
swear = true;
}
if ((user.indexOf("Dick") != -1) or (user.indexOf("Cock") != -1)) {
swear = true;
}
if ((user.indexOf("Butthole") != -1) or (user.indexOf("fUc") != -1)) {
swear = true;
}
if ((user.indexOf("FuC") != -1) or (user.indexOf("fUC") != -1)) {
swear = true;
}
if ((user.indexOf("CUNT") != -1) or (user.indexOf("F*") != -1)) {
swear = true;
}
if ((user.indexOf("Mother") != -1) or (user.indexOf("NIGG") != -1)) {
swear = true;
}
if ((user.indexOf("F.U.") != -1) or (user.indexOf("f.U.") != -1)) {
swear = true;
}
if ((user.indexOf("Negro") != -1) or (user.indexOf("NEGRO") != -1)) {
swear = true;
}
if ((user.indexOf("F. U.") != -1) or (user.indexOf("F U") != -1)) {
swear = true;
}
if ((user.indexOf("F U") != -1) or (user.indexOf("F u") != -1)) {
swear = true;
}
if ((user.indexOf("F u") != -1) or (user.indexOf("f u") != -1)) {
swear = true;
}
if ((user.indexOf("f u") != -1) or (user.indexOf("f u") != -1)) {
swear = true;
}
if ((user.indexOf("F. u") != -1) or (user.indexOf("F. U") != -1)) {
swear = true;
}
rscore = Number(Number(ran) + Number(score));
checkString = (user + rscore.toString()) + ran.toString();
checksum = makechecksum(checkString);
encScore = encode(rscore.toString(), "ScorePass");
encUser = encode(user, "UserPass");
encRan = encode(ran.toString(), "RandomPass");
encCheckSum = encode(checkSum.toString(), "CheckPass");
sendData = new LoadVars();
sendData.playerOutput = user;
sendData.vers = 1;
sendData.score = score.toString();
sendData.user = user;
sendData.e1 = encRan;
sendData.e2 = encScore;
sendData.e3 = encUser;
sendData.e4 = encCheckSum;
sendData.cache = random(10000);
statusText.text = "Sending Data...\nPlease wait.";
sendData.onLoad = function () {
if (sendData.result == "added") {
statusText.text = "Player Score Added.";
_root.playerInput.text = "";
_root.scoreInput.text = "";
} else {
statusText.text = "Error adding score.";
}
};
if (swear == true) {
swearMovie._x = 360;
}
if (_root.ContinueLevel == _root.GameLevel) {
CantStore._x = 360;
}
if ((swear == false) and (_root.ContinueLevel != _root.GameLevel)) {
sendData.sendAndLoad("http://www.nationlocation.com/EXTREME/insertscore.php", sendData, "POST");
_root.Initial = 0;
getURL ("http://www.nationlocation.com/EXTREME/cjextreme.html");
}
};
Frame 13
gotoAndPlay (12);
Frame 15
stop();
Symbol 25 MovieClip Frame 1
setProperty(this, _xscale , (_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
Symbol 25 MovieClip Frame 2
gotoAndPlay (1);
Symbol 52 Button
on (press) {
positiontext.scroll = positiontext.scroll - 1;
playertext.scroll = playertext.scroll - 1;
scoretext.scroll = scoretext.scroll - 1;
_root.ScrollUp = true;
}
on (release) {
_root.ScrollUp = false;
}
Symbol 56 Button
on (press) {
positiontext.scroll = positiontext.scroll + 1;
playertext.scroll = playertext.scroll + 1;
scoretext.scroll = scoretext.scroll + 1;
_root.ScrollDown = true;
}
on (release) {
_root.ScrollDown = false;
}
Symbol 57 MovieClip Frame 1
stop();
loadData = new LoadVars();
statusText.text = "Loading scoreboard.\nPlease wait.";
loadData.onLoad = function () {
if (loadData.result == "okay") {
statusText.text = "";
var _local2 = 0;
while (_local2 <= 99) {
positionText.text = positionText.text + ((_local2 + 1) + newline);
playerText.text = playerText.text + (loadData["player" + _local2] + newline);
scoreText.text = scoreText.text + (loadData["score" + _local2] + newline);
TextCounter.text = TextCounter.text + _local2;
_root.Stolen = false;
_local2++;
}
} else {
if (_root.done == false) {
statusText.text = "Highscores not loading? Make sure you are playing City Jumper at...";
}
if (_root.done == true) {
statusText.text = "Highscores not loading? Make sure you are playing City Jumper at... www.NationLocation.com";
}
_root.Stolen = true;
}
};
loadData.load("http://www.nationlocation.com/EXTREME/showscores.php?" + Math.round(Math.random() * 1000000));
Symbol 65 Button
on (press) {
positiontextAT.scroll = positiontextAT.scroll - 1;
playertextAT.scroll = playertextAT.scroll - 1;
scoretextAT.scroll = scoretextAT.scroll - 1;
_root.ScrollUpAT = true;
}
on (release) {
_root.ScrollUpAT = false;
}
Symbol 66 Button
on (press) {
positiontextAT.scroll = positiontextAT.scroll + 1;
playertextAT.scroll = playertextAT.scroll + 1;
scoretextAT.scroll = scoretextAT.scroll + 1;
_root.ScrollDownAT = true;
}
on (release) {
_root.ScrollDownAT = false;
}
Symbol 67 MovieClip Frame 1
stop();
loadData = new LoadVars();
statusText.text = "Loading scoreboard.\nPlease wait.";
loadData.onLoad = function () {
if (loadData.result == "okay") {
statusText.text = "";
var _local1 = 0;
while (_local1 <= 99) {
positionTextAT.text = positionTextAT.text + ((_local1 + 1) + newline);
playerTextAT.text = playerTextAT.text + (loadData["player" + _local1] + newline);
scoreTextAT.text = scoreTextAT.text + (loadData["score" + _local1] + newline);
TextCounterAT.text = TextCounterAT.text + _local1;
_local1++;
}
} else {
statusTextAT.text = "Highscores not loading? Play from www.NationLocation.com";
}
};
loadData.load("http://www.nationlocation.com/EXTREME/showscoresat.php?" + Math.round(Math.random() * 1000000));
Symbol 95 Button
on (release) {
if (_root.CharContinueLevel <= 0) {
_root.splash._visible = false;
if (_root.VolumeOff == true) {
_root.soundVolume = 0;
} else {
_root.soundvolume = 40;
}
_root.gotoAndPlay("mainframe");
} else if (_root.CharContinueLevel > 0) {
rup = 0;
while (rup < 300) {
trace(_root.CodeData[rup]);
if (_root.CharContinueLevel == _root.CodeData[rup]) {
_root.ContinueLevel = rup + 1;
_root.splash._visible = false;
if (_root.VolumeOff == true) {
_root.soundVolume = 0;
} else {
_root.soundvolume = 40;
}
_root.gotoAndPlay("mainframe");
} else {
_root.BadCode._y = 550;
}
rup++;
}
}
}
Symbol 123 MovieClip Frame 45
stop();
Symbol 150 Button
on (release) {
getURL ("http://www.nationlocation.com");
}
Symbol 160 Button
on (release) {
noVolume._x = -278;
noVolume._visible = true;
_root.VolumeOff = true;
speaker._visible = false;
_root.Extreme.stop();
Extreme.stop();
}
Symbol 167 Button
on (release) {
noVolume._visible = false;
_root.VolumeOff = false;
speaker._visible = true;
Extreme.play();
}
Instance of Symbol 57 MovieClip "scoretable" in Symbol 170 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ScrollDown == true) {
positiontext.scroll = positiontext.scroll + 1;
playertext.scroll = playertext.scroll + 1;
scoretext.scroll = scoretext.scroll + 1;
}
if (_root.ScrollUp == true) {
positiontext.scroll = positiontext.scroll - 1;
playertext.scroll = playertext.scroll - 1;
scoretext.scroll = scoretext.scroll - 1;
}
}
Instance of Symbol 67 MovieClip in Symbol 170 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ScrollDownAT == true) {
positiontextAT.scroll = positiontextAT.scroll + 1;
playertextAT.scroll = playertextAT.scroll + 1;
scoretextAT.scroll = scoretextAT.scroll + 1;
}
if (_root.ScrollUpAT == true) {
positiontextAT.scroll = positiontextAT.scroll - 1;
playertextAT.scroll = playertextAT.scroll - 1;
scoretextAT.scroll = scoretextAT.scroll - 1;
}
}
Symbol 193 MovieClip Frame 10
gotoAndPlay (1);
Symbol 201 MovieClip Frame 31
_root.CrashDone = true;
_root.Crash6.stop();
Symbol 206 MovieClip Frame 16
_root.CrashDone = true;
_root.Crash5.stop();
Symbol 217 MovieClip Frame 81
_root.WayPointSign._visible = false;
stop();
Symbol 240 MovieClip Frame 68
_root.Dying = false;
_root.ReadySetWatch = false;
_root.SpeedVar = _root.SpeedVarConstant;
_root.ReadySetGo.stop();
Symbol 282 MovieClip Frame 60
_root.CrashDone = true;
_root.Crash7.stop();
Symbol 293 MovieClip Frame 22
_root.CrashDone = true;
_root.Crash3.stop();
Symbol 300 MovieClip Frame 40
stop();
Symbol 307 MovieClip Frame 35
_root.Lives++;
_root.Extraman._visible = false;
_root.Extraman.stop();
Symbol 318 MovieClip Frame 2
_root.FlagPop._visible = false;
Symbol 329 Button
on (release) {
_root.RunFasterOn._visible = false;
_root.RunFasterOff._visible = true;
_root.SpeedVarConstant = 5;
}
Symbol 330 Button
on (release) {
_root.RunFasterOn._visible = true;
_root.RunFasterOff._visible = false;
_root.SpeedVarConstant = 8;
}
Symbol 347 Button
on (release) {
getURL ("http://www.nationlocation.com/EXTREME/cjextreme.html");
}
Symbol 377 Button
on (release) {
getURL ("http://www.nationlocation.com/EXTREME/cjextreme.html");
}
Symbol 385 Button
on (release) {
getURL ("http://www.nationlocation.com/EXTREME/cjextreme.html");
}