Frame 1
System.security.allowDomain("*");
MochiAd.showPreGameAd({id:"bbb69a6126c143a5", res:"640x480"});
mochi.MochiServices.connect("bbb69a6126c143a5");
Frame 2
function gameMenu(menu, obj) {
getURL (_root.authorsSite, "_blank");
}
var gameName = "breakit 2";
vNum = "v2.12";
gameQuality = "AUTO";
authorsSite = "http://www.terrypaton.com";
var menu_cm = new ContextMenu();
menu_cm.customItems.push(new ContextMenuItem(authorsSite, gameMenu));
menu_cm.hideBuiltInItems();
menu = menu_cm;
Frame 3
gameLoadingName = "breakit 2";
loadingClip.onEnterFrame = function () {
pL = Math.floor((this._parent.getBytesLoaded() / this._parent.getBytesTotal()) * 100);
if (pL < 100) {
this.mask._xscale = (pL / 100) * 100;
this._parent.stop();
} else {
i = 0;
while (i < stringLength) {
removeMovieClip(eval ("loadingHolder.l" + i));
i++;
}
this._parent.play();
}
};
stringLength = gameLoadingName.length;
wordOffset = (stringLength * 20) / 2;
this.createEmptyMovieClip("loadingHolder", 1);
loadingHolder._x = (320 - wordOffset) + 10;
loadingHolder._y = 175;
i = 0;
while (i < stringLength) {
t = loadingHolder.attachMovie("letter", "l" + i, i);
t._x = i * 20;
t.angle = i;
t.Lvar.text = gameLoadingName.charAt(i);
t._xscale = (t._yscale = 200);
i++;
}
stop();
Frame 5
function setupHighscoreSubmission() {
submitScoreBtnClip.onRelease = function () {
mochi.MochiScores.showLeaderboard({boardID:"de9b73b2471100c9", onClose:function () {
}, score:playerScore});
submitScoreBtnClip._visible = false;
};
}
function showHighscores() {
mochi.MochiScores.showLeaderboard({boardID:"de9b73b2471100c9", onClose:function () {
}, res:"640x480", showTableRank:true});
}
_global.continueMovie = function () {
play();
};
Frame 6
stop();
Frame 25
function displayBackground() {
backGround.lines.clear();
levelColourArray = new Array(102, 26112, 6697728, 10027008, 3342489, 6684825, 6710886, 2829218, 26112, 13382400, 13382400);
levelLineColourArray = new Array(1771972, 84774, 9397249, 16711680, 3355647, 11928291, 10066329, 8421597, 6723891, 16776960, 16711935);
backGround.beginFill(levelColourArray[Math.floor(level / 5)], 100);
backGround.moveTo(0, 0);
backGround.lineTo(640, 0);
backGround.lineTo(640, 480);
backGround.lineTo(0, 480);
backGround.lineTo(0, 0);
backGround.endFill();
backGround.createEmptyMovieClip("lines", this.getNextHighestDepth());
offset = random(300);
i = 0;
while (i < 30) {
alf = random(15) + 5;
backGround.lines.lineStyle(random(50), levelLineColourArray[Math.floor(level / 5)], alf, true, "none", "round", "miter", 1);
if ((Math.floor(level / 10) + 1) == 1) {
backGround.lines.moveTo(random(0), random(480));
backGround.lines.curveTo(0, random(480), 640, offset + random(100));
}
if ((Math.floor(level / 10) + 1) == 2) {
backGround.lines.moveTo(random(640), random(480));
backGround.lines.curveTo(0, random(480), 640, offset + random(100));
}
if ((Math.floor(level / 10) + 1) == 3) {
backGround.lines.moveTo(random(640), random(0));
backGround.lines.curveTo(random(640), random(480), 640, random(480));
}
if ((Math.floor(level / 10) + 1) == 4) {
backGround.lines.moveTo(random(640), random(480));
backGround.lines.curveTo(random(640), random(480), random(640), random(480));
}
if ((Math.floor(level / 10) + 1) >= 5) {
backGround.lines.moveTo(random(640), 480);
backGround.lines.curveTo(random(640), -150 + random(480), 320 + random(320), 480);
}
i++;
}
var _local3 = levelLineColourArray[level - 1];
var _local2 = new Array();
_local2.push(filter);
backGround.lines.filters = _local2;
}
mainmenu.onRelease = function () {
gotoAndPlay (26);
};
function attachSoundFromLibrary(idname) {
var _local1 = new Sound(_soundClip);
_local1.attachSound(idname);
return(_local1);
}
function playSound(temp) {
switch (temp) {
case 1 :
bounce1.start();
break;
case 2 :
bounce2.start();
break;
case 3 :
bounce3.start();
break;
case 4 :
hitbatsnd1.start();
break;
case 5 :
hitbatsnd2.start();
break;
case 6 :
hitbatsnd3.start();
break;
case 7 :
stickySnd.start();
break;
case 8 :
lostballSnd.start();
break;
case 9 :
pointsSnd.start();
break;
case 10 :
brickSmashSnd.start();
break;
case 11 :
bonuscollectSnd.start();
break;
case 12 :
madnessSnd.start();
break;
case 13 :
levelUpSnd.start();
break;
case 14 :
legendSnd.start();
break;
case 15 :
laserVoiceSnd.start();
break;
case 16 :
greatSnd.start();
break;
case 17 :
godLikeSnd.start();
break;
case 18 :
gameOverSnd.start();
break;
case 19 :
extralifeSnd.start();
break;
case 20 :
doubleSnd.start();
break;
case 21 :
crazySnd.start();
break;
case 22 :
breakitSnd.start();
break;
case 23 :
awesomeSnd.start();
break;
case 24 :
amazingSnd.start();
break;
case 25 :
wellDoneSnd.start();
break;
case 26 :
superPointsSnd.start();
break;
case 27 :
stickBatSnd.start();
break;
case 28 :
speedSnd.start();
break;
case 29 :
slowSnd.start();
break;
case 30 :
shrinkSnd.start();
break;
case 31 :
scoreResetSnd.start();
break;
case 32 :
multiBallSnd.start();
break;
case 33 :
hitWallSnd.start();
break;
case 34 :
forceWallSnd.start();
break;
case 35 :
largeBatSnd.start();
break;
case 36 :
pwrGoneSnd.start();
break;
case 37 :
ballLostSnd.start();
break;
case 38 :
lsrFireSnd.start();
break;
case 39 :
lsrHitSnd.start();
break;
case 40 :
lifeLostSnd.start();
break;
case 45 :
trippingSnd.start();
break;
case 44 :
outofthisworldSnd.start();
break;
case 43 :
psychoSnd.start();
break;
case 42 :
totallysickSnd.start();
break;
case 41 :
fordNicholasSnd.start();
break;
default :
bounce1.start();
}
}
_soundClip = this.createEmptyMovieClip("soundClip", 9990);
bounce1 = attachSoundFromLibrary("bounce1.wav");
bounce2 = attachSoundFromLibrary("bounce2.wav");
bounce3 = attachSoundFromLibrary("bounce3.wav");
bounce4 = attachSoundFromLibrary("bounce4.wav");
bounce5 = attachSoundFromLibrary("bounce5.wav");
hitbatsnd1 = attachSoundFromLibrary("hitbatsnd1.wav");
hitbatsnd2 = attachSoundFromLibrary("hitbatsnd2.wav");
hitbatsnd3 = attachSoundFromLibrary("hitbatsnd3.wav");
pointsSnd = attachSoundFromLibrary("pointsCollected.wav");
stickySnd = attachSoundFromLibrary("stickybat.wav");
lostballSnd = attachSoundFromLibrary("lostball.wav");
brickSmashSnd = attachSoundFromLibrary("brickSmash.wav");
bonuscollectSnd = attachSoundFromLibrary("bonuscollected.wav");
madnessSnd = attachSoundFromLibrary("madness.wav");
levelUpSnd = attachSoundFromLibrary("levelUp.wav");
legendSnd = attachSoundFromLibrary("legend.wav");
laserVoiceSnd = attachSoundFromLibrary("laser.wav");
greatSnd = attachSoundFromLibrary("great.wav");
godLikeSnd = attachSoundFromLibrary("godLike.wav");
gameOverSnd = attachSoundFromLibrary("gameOver.wav");
extralifeSnd = attachSoundFromLibrary("extralife.wav");
doubleSnd = attachSoundFromLibrary("double.wav");
crazySnd = attachSoundFromLibrary("crazy.wav");
breakitSnd = attachSoundFromLibrary("breakit.wav");
awesomeSnd = attachSoundFromLibrary("awesome.wav");
amazingSnd = attachSoundFromLibrary("amazing.wav");
wellDoneSnd = attachSoundFromLibrary("wellDone.wav");
superPointsSnd = attachSoundFromLibrary("superPoints.wav");
stickBatSnd = attachSoundFromLibrary("stickBat.wav");
speedSnd = attachSoundFromLibrary("speed.wav");
slowSnd = attachSoundFromLibrary("slow.wav");
shrinkSnd = attachSoundFromLibrary("shrink.wav");
scoreResetSnd = attachSoundFromLibrary("scoreReset.wav");
multiBallSnd = attachSoundFromLibrary("multiBall.wav");
largeBatSnd = attachSoundFromLibrary("largeBat.wav");
forceWallSnd = attachSoundFromLibrary("forceWall.wav");
pwrGoneSnd = attachSoundFromLibrary("powerGoneSound.wav");
ballLostSnd = attachSoundFromLibrary("ballLostSound.wav");
lsrFireSnd = attachSoundFromLibrary("lsr_snd.wav");
lsrHitSnd = attachSoundFromLibrary("lasrHitBrick.wav");
hitWallSnd = attachSoundFromLibrary("hitForceWallSound.wav");
lifeLostSnd = attachSoundFromLibrary("lifeLost.wav");
fireWorkSnd1 = attachSoundFromLibrary("fireWorks1.wav");
fireWorkSnd2 = attachSoundFromLibrary("fireWorks2.wav");
fireWorkSnd3 = attachSoundFromLibrary("fireWorks3.wav");
mOverSnd = attachSoundFromLibrary("mouseOverSound.wav");
mDownSnd = attachSoundFromLibrary("mouseDown.wav");
musicTrack = attachSoundFromLibrary("music.wav");
trippingSnd = attachSoundFromLibrary("tripping.wav");
outofthisworldSnd = attachSoundFromLibrary("outofthisworld.wav");
psychoSnd = attachSoundFromLibrary("psycho.wav");
totallysickSnd = attachSoundFromLibrary("totallysick.wav");
fordNicholasSnd = attachSoundFromLibrary("fordNicholas.wav");
storage = SharedObject.getLocal("breakitStore");
level = storage.data.uptolevel;
levelsUnlocked = storage.data.levelsUnlocked;
if (level == undefined) {
storage.data.uptolevel = 1;
level = 1;
}
if (levelsUnlocked == undefined) {
storage.data.levelsUnlocked = 1;
levelsUnlocked = 1;
}
yourhigh = storage.data.myhighscore;
if (yourhigh == undefined) {
storage.data.myhighscore = 0;
yourhigh = 0;
}
Frame 26
trace(level);
musicTrack.start(0, 100);
if (yourhigh > 0) {
yourHighestText = "YOUR HIGHEST SCORE: " + yourhigh;
} else {
yourHighestText = " ";
}
displayBackground();
playBtn.onRelease = function () {
gotoAndPlay (36);
};
playBtn.onRollOver = function () {
mOverSnd.start();
};
playBtn.onPress = function () {
mDownSnd.start();
};
vNumtext.text = vNum;
highReset.onRelease = function () {
storage.data.myhighscore = 0;
yourhigh = 0;
storage.flush();
};
viewHighscoreBtn.onRelease = function () {
showHighscores();
};
Frame 35
_quality = "HIGH";
stop();
Frame 36
level1Array = new Array(100, 175, 150, 200, 1, 500, 175, 550, 200, 1, 400, 175, 450, 200, 1, 300, 175, 350, 200, 1, 200, 175, 250, 200, 1, 150, 175, 200, 200, 1, 250, 175, 300, 200, 1, 350, 175, 400, 200, 1, 450, 175, 500, 200, 1, 100, 150, 150, 175, 2, 150, 150, 200, 175, 2, 200, 150, 250, 175, 2, 250, 150, 300, 175, 2, 300, 150, 350, 175, 2, 350, 150, 400, 175, 2, 400, 150, 450, 175, 2, 450, 150, 500, 175, 2, 500, 150, 550, 175, 2, 100, 125, 150, 150, 3, 150, 125, 200, 150, 3, 200, 125, 250, 150, 3, 250, 125, 300, 150, 3, 300, 125, 350, 150, 3, 350, 125, 400, 150, 3, 400, 125, 450, 150, 3, 450, 125, 500, 150, 3, 500, 125, 550, 150, 3, 300, 100, 350, 125, 25, 500, 275, 550, 300, 26, 100, 275, 150, 300, 24);
level2Array = new Array(75, 100, 125, 125, 2, 75, 125, 125, 150, 2, 75, 150, 125, 175, 2, 75, 175, 125, 200, 2, 75, 200, 125, 225, 2, 75, 225, 125, 250, 2, 75, 250, 125, 275, 2, 75, 275, 125, 300, 2, 75, 300, 125, 325, 2, 75, 325, 125, 350, 2, 525, 325, 575, 350, 2, 525, 300, 575, 325, 2, 525, 275, 575, 300, 2, 525, 250, 575, 275, 2, 525, 225, 575, 250, 2, 525, 200, 575, 225, 2, 525, 175, 575, 200, 2, 525, 150, 575, 175, 2, 525, 125, 575, 150, 2, 525, 100, 575, 125, 2, 125, 100, 175, 125, 1, 125, 325, 175, 350, 1, 475, 325, 525, 350, 1, 475, 100, 525, 125, 1, 175, 100, 225, 125, 1, 175, 325, 225, 350, 1, 425, 325, 475, 350, 1, 425, 100, 475, 125, 1, 375, 125, 425, 150, 1, 225, 125, 275, 150, 1, 275, 150, 325, 175, 1, 325, 150, 375, 175, 1, 225, 300, 275, 325, 1, 375, 300, 425, 325, 1, 125, 125, 175, 150, 3, 125, 150, 175, 175, 3, 125, 175, 175, 200, 3, 125, 200, 175, 225, 3, 125, 225, 175, 250, 3, 125, 250, 175, 275, 3, 125, 275, 175, 300, 3, 125, 300, 175, 325, 3, 475, 300, 525, 325, 3, 475, 275, 525, 300, 3, 475, 250, 525, 275, 3, 475, 225, 525, 250, 3, 475, 200, 525, 225, 3, 475, 175, 525, 200, 3, 475, 150, 525, 175, 3, 475, 125, 525, 150, 3, 275, 125, 325, 150, 27, 325, 125, 375, 150, 29);
level3Array = new Array(250, 175, 300, 200, 13, 300, 200, 350, 225, 13, 250, 225, 300, 250, 13, 300, 150, 350, 175, 13, 250, 150, 300, 175, 24, 300, 175, 350, 200, 21, 250, 200, 300, 225, 27, 300, 225, 350, 250, 22, 200, 150, 250, 175, 1, 200, 175, 250, 200, 1, 200, 200, 250, 225, 1, 200, 225, 250, 250, 1, 200, 250, 250, 275, 1, 150, 250, 200, 275, 1, 100, 250, 150, 275, 1, 50, 250, 100, 275, 1, 50, 225, 100, 250, 1, 50, 200, 100, 225, 1, 50, 175, 100, 200, 1, 50, 150, 100, 175, 1, 50, 125, 100, 150, 1, 100, 125, 150, 150, 1, 150, 125, 200, 150, 1, 200, 125, 250, 150, 1, 400, 125, 450, 150, 1, 450, 125, 500, 150, 1, 500, 125, 550, 150, 1, 550, 125, 600, 150, 1, 550, 150, 600, 175, 1, 550, 175, 600, 200, 1, 550, 200, 600, 225, 1, 550, 225, 600, 250, 1, 550, 250, 600, 275, 1, 500, 250, 550, 275, 1, 450, 250, 500, 275, 1, 400, 250, 450, 275, 1, 400, 225, 450, 250, 1, 400, 200, 450, 225, 1, 400, 175, 450, 200, 1, 400, 150, 450, 175, 1, 450, 150, 500, 175, 3, 450, 175, 500, 200, 3, 450, 200, 500, 225, 3, 450, 225, 500, 250, 3, 500, 225, 550, 250, 3, 500, 200, 550, 225, 3, 500, 175, 550, 200, 3, 500, 150, 550, 175, 3, 100, 150, 150, 175, 3, 100, 175, 150, 200, 3, 100, 200, 150, 225, 3, 100, 225, 150, 250, 3, 150, 225, 200, 250, 3, 150, 200, 200, 225, 3, 150, 175, 200, 200, 3, 150, 150, 200, 175, 3, 350, 175, 400, 200, 13, 350, 225, 400, 250, 13, 350, 150, 400, 175, 25, 350, 200, 400, 225, 26);
level4Array = new Array(175, 275, 225, 300, 11, 225, 275, 275, 300, 11, 275, 275, 325, 300, 11, 325, 275, 375, 300, 11, 375, 275, 425, 300, 11, 425, 275, 475, 300, 11, 425, 250, 475, 275, 11, 425, 225, 475, 250, 11, 425, 200, 475, 225, 11, 425, 175, 475, 200, 11, 425, 150, 475, 175, 11, 425, 125, 475, 150, 11, 175, 250, 225, 275, 11, 175, 225, 225, 250, 11, 175, 200, 225, 225, 11, 175, 175, 225, 200, 11, 175, 150, 225, 175, 11, 175, 125, 225, 150, 11, 175, 100, 225, 125, 11, 225, 100, 275, 125, 11, 275, 100, 325, 125, 11, 325, 100, 375, 125, 11, 375, 100, 425, 125, 11, 425, 100, 475, 125, 11, 225, 250, 275, 275, 20, 225, 125, 275, 150, 20, 375, 125, 425, 150, 20, 375, 250, 425, 275, 20, 275, 125, 325, 150, 8, 275, 150, 325, 175, 8, 275, 175, 325, 200, 8, 275, 200, 325, 225, 8, 275, 225, 325, 250, 8, 275, 250, 325, 275, 8, 325, 250, 375, 275, 8, 325, 225, 375, 250, 8, 325, 200, 375, 225, 8, 325, 175, 375, 200, 8, 325, 150, 375, 175, 8, 325, 125, 375, 150, 8, 375, 150, 425, 175, 7, 375, 175, 425, 200, 7, 375, 200, 425, 225, 7, 375, 225, 425, 250, 7, 225, 225, 275, 250, 7, 225, 200, 275, 225, 7, 225, 175, 275, 200, 7, 225, 150, 275, 175, 7);
level5Array = new Array(25, 25, 75, 50, 4, 75, 50, 125, 75, 4, 125, 75, 175, 100, 4, 175, 100, 225, 125, 4, 225, 125, 275, 150, 4, 275, 150, 325, 175, 4, 325, 175, 375, 200, 4, 375, 200, 425, 225, 4, 425, 225, 475, 250, 4, 475, 250, 525, 275, 4, 525, 275, 575, 300, 4, 575, 300, 625, 325, 4, 575, 25, 625, 50, 4, 525, 50, 575, 75, 4, 475, 75, 525, 100, 4, 425, 100, 475, 125, 4, 375, 125, 425, 150, 4, 325, 150, 375, 175, 4, 275, 175, 325, 200, 4, 225, 200, 275, 225, 4, 175, 225, 225, 250, 4, 125, 250, 175, 275, 4, 75, 275, 125, 300, 4, 25, 300, 75, 325, 4, 125, 50, 175, 75, 22, 475, 50, 525, 75, 23, 175, 25, 225, 50, 3, 175, 50, 225, 75, 3, 175, 75, 225, 100, 3, 425, 25, 475, 50, 3, 425, 50, 475, 75, 3, 425, 75, 475, 100, 3, 175, 125, 225, 150, 3, 175, 150, 225, 175, 3, 175, 175, 225, 200, 3, 175, 200, 225, 225, 3, 425, 200, 475, 225, 3, 425, 175, 475, 200, 3, 425, 150, 475, 175, 3, 425, 125, 475, 150, 3, 225, 175, 275, 200, 1, 225, 150, 275, 175, 1, 225, 100, 275, 125, 1, 225, 75, 275, 100, 1, 225, 50, 275, 75, 1, 225, 25, 275, 50, 1, 375, 25, 425, 50, 1, 375, 50, 425, 75, 1, 375, 75, 425, 100, 1, 375, 100, 425, 125, 1, 375, 150, 425, 175, 1, 375, 175, 425, 200, 1, 275, 125, 325, 150, 2, 275, 100, 325, 125, 2, 275, 75, 325, 100, 2, 275, 50, 325, 75, 2, 275, 25, 325, 50, 2, 325, 25, 375, 50, 2, 325, 50, 375, 75, 2, 325, 75, 375, 100, 2, 325, 100, 375, 125, 2, 325, 125, 375, 150, 2);
level6Array = new Array(25, 150, 75, 175, 14, 75, 150, 125, 175, 14, 125, 150, 175, 175, 14, 175, 150, 225, 175, 14, 225, 150, 275, 175, 14, 275, 150, 325, 175, 14, 325, 150, 375, 175, 14, 375, 150, 425, 175, 14, 425, 150, 475, 175, 14, 475, 150, 525, 175, 14, 525, 150, 575, 175, 14, 575, 150, 625, 175, 14, 25, 175, 75, 200, 25, 575, 175, 625, 200, 25, 575, 250, 625, 275, 25, 25, 250, 75, 275, 25, 25, 275, 75, 300, 5, 75, 250, 125, 275, 5, 125, 225, 175, 250, 5, 175, 225, 225, 250, 5, 225, 225, 275, 250, 5, 275, 225, 325, 250, 5, 325, 225, 375, 250, 5, 375, 225, 425, 250, 5, 575, 275, 625, 300, 5, 525, 250, 575, 275, 5, 475, 225, 525, 250, 5, 425, 225, 475, 250, 5, 25, 225, 75, 250, 5, 75, 225, 125, 250, 5, 25, 200, 75, 225, 5, 75, 175, 125, 200, 5, 75, 200, 125, 225, 5, 525, 175, 575, 200, 5, 525, 200, 575, 225, 5, 525, 225, 575, 250, 5, 575, 225, 625, 250, 5, 575, 200, 625, 225, 5, 125, 175, 175, 200, 6, 125, 200, 175, 225, 6, 475, 175, 525, 200, 6, 475, 200, 525, 225, 6, 425, 175, 475, 200, 7, 425, 200, 475, 225, 7, 175, 175, 225, 200, 7, 175, 200, 225, 225, 7, 225, 175, 275, 200, 8, 225, 200, 275, 225, 8, 375, 175, 425, 200, 8, 375, 200, 425, 225, 8, 275, 175, 325, 200, 1, 275, 200, 325, 225, 1, 325, 200, 375, 225, 1, 325, 175, 375, 200, 1);
level7Array = new Array(75, 25, 125, 50, 5, 75, 50, 125, 75, 4, 75, 75, 125, 100, 5, 75, 100, 125, 125, 4, 75, 125, 125, 150, 5, 75, 150, 125, 175, 4, 75, 175, 125, 200, 5, 75, 200, 125, 225, 4, 75, 225, 125, 250, 5, 75, 250, 125, 275, 4, 75, 275, 125, 300, 5, 525, 275, 575, 300, 5, 525, 250, 575, 275, 4, 525, 225, 575, 250, 5, 525, 200, 575, 225, 4, 525, 175, 575, 200, 5, 525, 150, 575, 175, 4, 525, 125, 575, 150, 5, 525, 100, 575, 125, 4, 525, 75, 575, 100, 5, 525, 50, 575, 75, 4, 525, 25, 575, 50, 5, 225, 25, 275, 50, 5, 375, 25, 425, 50, 5, 375, 50, 425, 75, 4, 225, 50, 275, 75, 4, 225, 75, 275, 100, 5, 225, 100, 275, 125, 4, 225, 125, 275, 150, 5, 225, 150, 275, 175, 4, 225, 175, 275, 200, 5, 225, 200, 275, 225, 4, 225, 225, 275, 250, 5, 375, 225, 425, 250, 5, 375, 200, 425, 225, 4, 375, 175, 425, 200, 5, 375, 150, 425, 175, 4, 375, 125, 425, 150, 5, 375, 100, 425, 125, 4, 375, 75, 425, 100, 5, 125, 250, 175, 275, 14, 175, 250, 225, 275, 14, 425, 250, 475, 275, 14, 475, 250, 525, 275, 14, 25, 275, 75, 300, 14, 575, 275, 625, 300, 14, 275, 225, 325, 250, 14, 325, 225, 375, 250, 14, 225, 250, 275, 275, 4, 375, 250, 425, 275, 4);
level8Array = new Array(175, 50, 225, 75, 12, 175, 75, 225, 100, 12, 175, 100, 225, 125, 12, 175, 125, 225, 150, 12, 175, 150, 225, 175, 12, 175, 175, 225, 200, 12, 425, 50, 475, 75, 12, 425, 75, 475, 100, 12, 425, 100, 475, 125, 12, 425, 125, 475, 150, 12, 425, 150, 475, 175, 12, 425, 175, 475, 200, 12, 225, 175, 275, 200, 20, 375, 175, 425, 200, 20, 225, 100, 275, 125, 20, 375, 100, 425, 125, 20, 125, 100, 175, 125, 20, 475, 100, 525, 125, 20, 275, 50, 325, 75, 13, 275, 75, 325, 100, 13, 275, 100, 325, 125, 13, 275, 125, 325, 150, 13, 275, 150, 325, 175, 13, 275, 175, 325, 200, 13, 325, 175, 375, 200, 13, 325, 150, 375, 175, 13, 325, 125, 375, 150, 13, 325, 100, 375, 125, 13, 325, 75, 375, 100, 13, 325, 50, 375, 75, 13, 325, 25, 375, 50, 13, 275, 25, 325, 50, 13, 425, 25, 475, 50, 12, 175, 25, 225, 50, 12, 175, 200, 225, 225, 8, 175, 225, 225, 250, 8, 175, 250, 225, 275, 8, 425, 200, 475, 225, 8, 425, 225, 475, 250, 8, 425, 250, 475, 275, 8, 275, 200, 325, 225, 8, 275, 225, 325, 250, 8, 275, 250, 325, 275, 8, 325, 250, 375, 275, 8, 325, 225, 375, 250, 8, 325, 200, 375, 225, 8, 375, 200, 425, 225, 8, 375, 225, 425, 250, 8, 375, 250, 425, 275, 8, 225, 200, 275, 225, 8, 225, 225, 275, 250, 8, 225, 250, 275, 275, 8, 475, 125, 525, 150, 2, 525, 125, 575, 150, 2, 125, 125, 175, 150, 2, 75, 125, 125, 150, 2, 25, 125, 75, 150, 2, 575, 125, 625, 150, 2, 25, 150, 75, 175, 2, 75, 150, 125, 175, 2, 125, 150, 175, 175, 2, 475, 150, 525, 175, 2, 525, 150, 575, 175, 2, 575, 150, 625, 175, 2);
level9Array = new Array(25, 200, 75, 225, 1, 75, 200, 125, 225, 1, 125, 200, 175, 225, 1, 175, 200, 225, 225, 1, 225, 200, 275, 225, 1, 275, 200, 325, 225, 1, 325, 200, 375, 225, 1, 375, 200, 425, 225, 1, 425, 200, 475, 225, 1, 475, 200, 525, 225, 1, 525, 200, 575, 225, 1, 575, 200, 625, 225, 1, 25, 175, 75, 200, 2, 75, 175, 125, 200, 12, 125, 175, 175, 200, 20, 175, 175, 225, 200, 12, 225, 175, 275, 200, 2, 275, 175, 325, 200, 12, 325, 175, 375, 200, 12, 375, 175, 425, 200, 2, 425, 175, 475, 200, 12, 475, 175, 525, 200, 20, 525, 175, 575, 200, 12, 575, 175, 625, 200, 2, 25, 150, 75, 175, 3, 75, 150, 125, 175, 3, 125, 150, 175, 175, 3, 175, 150, 225, 175, 3, 225, 150, 275, 175, 3, 275, 150, 325, 175, 3, 325, 150, 375, 175, 3, 375, 150, 425, 175, 3, 425, 150, 475, 175, 3, 475, 150, 525, 175, 3, 525, 150, 575, 175, 3, 575, 150, 625, 175, 3, 575, 125, 625, 150, 6, 525, 125, 575, 150, 6, 475, 125, 525, 150, 6, 425, 125, 475, 150, 6, 375, 125, 425, 150, 6, 325, 125, 375, 150, 6, 275, 125, 325, 150, 6, 225, 125, 275, 150, 6, 175, 125, 225, 150, 6, 125, 125, 175, 150, 6, 75, 125, 125, 150, 6, 25, 125, 75, 150, 6, 25, 100, 75, 125, 7, 75, 100, 125, 125, 7, 125, 100, 175, 125, 7, 175, 100, 225, 125, 7, 225, 100, 275, 125, 7, 275, 100, 325, 125, 7, 325, 100, 375, 125, 7, 375, 100, 425, 125, 7, 425, 100, 475, 125, 7, 475, 100, 525, 125, 7, 525, 100, 575, 125, 7, 575, 100, 625, 125, 7, 575, 225, 625, 250, 24, 25, 225, 75, 250, 25);
level10Array = new Array(175, 250, 225, 275, 11, 225, 250, 275, 275, 11, 275, 250, 325, 275, 11, 325, 250, 375, 275, 11, 375, 250, 425, 275, 11, 425, 250, 475, 275, 11, 475, 250, 525, 275, 11, 525, 250, 575, 275, 11, 575, 250, 625, 275, 11, 25, 200, 75, 225, 9, 75, 200, 125, 225, 9, 125, 200, 175, 225, 9, 175, 200, 225, 225, 9, 225, 200, 275, 225, 9, 275, 200, 325, 225, 9, 325, 200, 375, 225, 9, 375, 200, 425, 225, 9, 425, 200, 475, 225, 9, 475, 200, 525, 225, 9, 525, 200, 575, 225, 9, 575, 150, 625, 175, 11, 525, 150, 575, 175, 11, 475, 150, 525, 175, 11, 425, 150, 475, 175, 11, 375, 150, 425, 175, 11, 325, 150, 375, 175, 11, 275, 150, 325, 175, 11, 225, 150, 275, 175, 11, 175, 150, 225, 175, 11, 125, 250, 175, 275, 11, 75, 250, 125, 275, 11, 75, 150, 125, 175, 11, 125, 150, 175, 175, 11, 25, 100, 75, 125, 9, 75, 100, 125, 125, 9, 125, 100, 175, 125, 9, 175, 100, 225, 125, 9, 225, 100, 275, 125, 9, 275, 100, 325, 125, 9, 325, 100, 375, 125, 9, 375, 100, 425, 125, 9, 425, 100, 475, 125, 9, 475, 100, 525, 125, 9, 525, 100, 575, 125, 9, 575, 50, 625, 75, 11, 525, 50, 575, 75, 11, 475, 50, 525, 75, 11, 425, 50, 475, 75, 11, 375, 50, 425, 75, 11, 325, 50, 375, 75, 11, 275, 50, 325, 75, 11, 225, 50, 275, 75, 11, 175, 50, 225, 75, 11, 125, 50, 175, 75, 11, 75, 50, 125, 75, 11, 25, 250, 75, 275, 20, 575, 200, 625, 225, 20, 575, 100, 625, 125, 20, 25, 150, 75, 175, 20, 25, 50, 75, 75, 20);
level11Array = new Array(200, 250, 250, 275, 22, 300, 250, 350, 275, 22, 400, 250, 450, 275, 22, 175, 225, 225, 250, 1, 275, 225, 325, 250, 1, 375, 225, 425, 250, 1, 400, 200, 450, 225, 2, 300, 200, 350, 225, 2, 200, 200, 250, 225, 2, 175, 175, 225, 200, 3, 275, 175, 325, 200, 3, 375, 175, 425, 200, 3, 200, 150, 250, 175, 6, 300, 150, 350, 175, 6, 400, 150, 450, 175, 6, 375, 125, 425, 150, 7, 275, 125, 325, 150, 7, 175, 125, 225, 150, 7, 200, 100, 250, 125, 8, 300, 100, 350, 125, 8, 400, 100, 450, 125, 8, 375, 75, 425, 100, 5, 275, 75, 325, 100, 5, 175, 75, 225, 100, 5, 200, 50, 250, 75, 4, 300, 50, 350, 75, 4, 400, 50, 450, 75, 4);
level12Array = new Array(300, 175, 350, 200, 28, 350, 175, 400, 200, 25, 250, 175, 300, 200, 25, 400, 175, 450, 200, 31, 200, 175, 250, 200, 31, 200, 200, 250, 225, 11, 250, 200, 300, 225, 11, 300, 200, 350, 225, 11, 350, 200, 400, 225, 11, 400, 200, 450, 225, 11, 450, 200, 500, 225, 11, 450, 175, 500, 200, 11, 450, 150, 500, 175, 11, 400, 150, 450, 175, 11, 350, 150, 400, 175, 11, 300, 150, 350, 175, 11, 250, 150, 300, 175, 11, 200, 150, 250, 175, 11, 150, 150, 200, 175, 11, 150, 175, 200, 200, 11, 150, 200, 200, 225, 11, 125, 225, 175, 250, 1, 175, 225, 225, 250, 1, 225, 225, 275, 250, 1, 275, 225, 325, 250, 1, 325, 225, 375, 250, 1, 375, 225, 425, 250, 1, 425, 225, 475, 250, 1, 475, 225, 525, 250, 1, 475, 125, 525, 150, 1, 425, 125, 475, 150, 1, 375, 125, 425, 150, 1, 325, 125, 375, 150, 1, 275, 125, 325, 150, 1, 225, 125, 275, 150, 1, 175, 125, 225, 150, 1, 125, 125, 175, 150, 1, 100, 150, 150, 175, 2, 100, 175, 150, 200, 2, 100, 200, 150, 225, 2, 500, 200, 550, 225, 2, 500, 175, 550, 200, 2, 500, 150, 550, 175, 2, 125, 250, 175, 275, 15, 125, 275, 175, 300, 15, 125, 300, 175, 325, 15, 475, 250, 525, 275, 15, 475, 275, 525, 300, 15, 475, 300, 525, 325, 15);
level13Array = new Array(275, 25, 325, 50, 2, 225, 25, 275, 50, 2, 175, 25, 225, 50, 2, 125, 50, 175, 75, 2, 75, 75, 125, 100, 2, 50, 100, 100, 125, 2, 50, 125, 100, 150, 2, 50, 150, 100, 175, 2, 75, 175, 125, 200, 2, 100, 200, 150, 225, 2, 150, 225, 200, 250, 2, 200, 250, 250, 275, 2, 250, 275, 300, 300, 2, 275, 50, 325, 75, 1, 225, 50, 275, 75, 1, 175, 50, 225, 75, 1, 125, 75, 175, 100, 1, 100, 100, 150, 125, 1, 100, 125, 150, 150, 1, 100, 150, 150, 175, 1, 125, 175, 175, 200, 1, 150, 200, 200, 225, 1, 200, 225, 250, 250, 1, 250, 250, 300, 275, 1, 275, 75, 325, 100, 3, 225, 75, 275, 100, 3, 175, 75, 225, 100, 3, 150, 100, 200, 125, 3, 150, 125, 200, 150, 3, 150, 150, 200, 175, 3, 175, 175, 225, 200, 3, 200, 200, 250, 225, 3, 250, 225, 300, 250, 3, 200, 100, 250, 125, 20, 200, 150, 250, 175, 20, 225, 175, 275, 200, 20, 250, 100, 300, 125, 20, 200, 125, 250, 150, 8, 250, 125, 300, 150, 8, 250, 150, 300, 175, 8, 250, 200, 300, 225, 8, 275, 175, 325, 200, 8, 300, 100, 350, 125, 8, 300, 125, 350, 150, 8, 300, 150, 350, 175, 8, 300, 200, 350, 225, 8);
level14Array = new Array(300, 25, 350, 50, 11, 350, 25, 400, 50, 11, 250, 25, 300, 50, 11, 200, 50, 250, 75, 11, 400, 50, 450, 75, 11, 450, 75, 500, 100, 11, 150, 75, 200, 100, 11, 100, 100, 150, 125, 11, 500, 100, 550, 125, 11, 100, 125, 150, 150, 11, 100, 150, 150, 175, 11, 100, 175, 150, 200, 11, 125, 200, 175, 225, 11, 175, 225, 225, 250, 11, 500, 125, 550, 150, 11, 500, 150, 550, 175, 11, 500, 175, 550, 200, 11, 475, 200, 525, 225, 11, 425, 225, 475, 250, 11, 175, 250, 225, 275, 12, 125, 225, 175, 250, 12, 75, 200, 125, 225, 12, 50, 175, 100, 200, 12, 50, 150, 100, 175, 12, 50, 125, 100, 150, 12, 50, 100, 100, 125, 12, 75, 75, 125, 100, 12, 100, 50, 150, 75, 12, 125, 25, 175, 50, 12, 175, 25, 225, 50, 12, 425, 25, 475, 50, 12, 475, 25, 525, 50, 12, 500, 50, 550, 75, 12, 525, 75, 575, 100, 12, 550, 100, 600, 125, 12, 550, 125, 600, 150, 12, 550, 150, 600, 175, 12, 550, 175, 600, 200, 12, 525, 200, 575, 225, 12, 475, 225, 525, 250, 12, 425, 250, 475, 275, 12, 175, 200, 225, 225, 29, 425, 200, 475, 225, 29, 300, 50, 350, 75, 31, 350, 50, 400, 75, 27, 250, 50, 300, 75, 27, 150, 150, 200, 175, 8, 200, 150, 250, 175, 8, 250, 150, 300, 175, 8, 300, 150, 350, 175, 8, 350, 150, 400, 175, 8, 400, 150, 450, 175, 8, 450, 150, 500, 175, 8, 150, 125, 200, 150, 4, 200, 125, 250, 150, 4, 250, 125, 300, 150, 4, 300, 125, 350, 150, 4, 350, 125, 400, 150, 4, 400, 125, 450, 150, 4, 450, 125, 500, 150, 4);
level15Array = new Array(200, 50, 250, 75, 15, 200, 75, 250, 100, 15, 200, 100, 250, 125, 15, 200, 125, 250, 150, 15, 200, 150, 250, 175, 15, 200, 175, 250, 200, 15, 200, 200, 250, 225, 15, 200, 225, 250, 250, 15, 200, 250, 250, 275, 15, 250, 250, 300, 275, 4, 300, 250, 350, 275, 4, 350, 250, 400, 275, 4, 400, 250, 450, 275, 4, 450, 250, 500, 275, 15, 450, 225, 500, 250, 15, 450, 200, 500, 225, 15, 450, 175, 500, 200, 15, 450, 150, 500, 175, 15, 450, 125, 500, 150, 15, 450, 100, 500, 125, 15, 450, 75, 500, 100, 15, 450, 50, 500, 75, 15, 250, 50, 300, 75, 4, 300, 50, 350, 75, 4, 350, 50, 400, 75, 4, 400, 50, 450, 75, 4, 250, 225, 300, 250, 26, 400, 225, 450, 250, 26, 250, 75, 300, 100, 26, 400, 75, 450, 100, 26, 325, 150, 375, 175, 21, 275, 125, 325, 150, 8, 275, 150, 325, 175, 8, 275, 175, 325, 200, 8, 325, 175, 375, 200, 8, 375, 175, 425, 200, 8, 375, 150, 425, 175, 8, 375, 125, 425, 150, 8, 325, 125, 375, 150, 8);
level16Array = new Array(175, 100, 225, 125, 21, 275, 100, 325, 125, 21, 375, 100, 425, 125, 21, 75, 250, 125, 275, 18, 525, 250, 575, 275, 18, 75, 225, 125, 250, 18, 525, 225, 575, 250, 18, 525, 200, 575, 225, 7, 525, 175, 575, 200, 7, 525, 150, 575, 175, 7, 525, 125, 575, 150, 7, 525, 100, 575, 125, 7, 525, 75, 575, 100, 7, 525, 50, 575, 75, 7, 75, 200, 125, 225, 7, 75, 175, 125, 200, 7, 75, 150, 125, 175, 7, 75, 125, 125, 150, 7, 75, 100, 125, 125, 7, 75, 75, 125, 100, 7, 75, 50, 125, 75, 7, 475, 100, 525, 125, 21, 425, 100, 475, 125, 26, 225, 100, 275, 125, 26, 325, 100, 375, 125, 29, 125, 100, 175, 125, 22, 125, 50, 175, 75, 6, 175, 50, 225, 75, 6, 225, 50, 275, 75, 6, 275, 50, 325, 75, 6, 325, 50, 375, 75, 6, 375, 50, 425, 75, 6, 425, 50, 475, 75, 6, 475, 50, 525, 75, 6, 125, 250, 175, 275, 6, 175, 250, 225, 275, 6, 225, 250, 275, 275, 6, 275, 250, 325, 275, 6, 325, 250, 375, 275, 6, 375, 250, 425, 275, 6, 425, 250, 475, 275, 6, 475, 250, 525, 275, 6, 475, 225, 525, 250, 18, 425, 225, 475, 250, 18, 375, 225, 425, 250, 18, 325, 225, 375, 250, 18, 275, 225, 325, 250, 18, 225, 225, 275, 250, 18, 175, 225, 225, 250, 18, 125, 225, 175, 250, 18);
level17Array = new Array(50, 300, 100, 325, 12, 75, 275, 125, 300, 12, 100, 250, 150, 275, 12, 125, 225, 175, 250, 12, 150, 200, 200, 225, 12, 175, 175, 225, 200, 12, 200, 150, 250, 175, 12, 225, 125, 275, 150, 12, 250, 100, 300, 125, 12, 275, 75, 325, 100, 12, 300, 50, 350, 75, 12, 325, 25, 375, 50, 12, 25, 325, 75, 350, 12, 25, 275, 75, 300, 11, 50, 250, 100, 275, 11, 75, 225, 125, 250, 11, 100, 200, 150, 225, 11, 125, 175, 175, 200, 11, 150, 150, 200, 175, 11, 175, 125, 225, 150, 11, 200, 100, 250, 125, 11, 225, 75, 275, 100, 11, 250, 50, 300, 75, 11, 275, 25, 325, 50, 11, 25, 25, 75, 50, 28, 75, 25, 125, 50, 4, 25, 50, 75, 75, 4, 75, 50, 125, 75, 4, 25, 225, 75, 250, 25, 225, 25, 275, 50, 25, 50, 200, 100, 225, 2, 75, 175, 125, 200, 2, 100, 150, 150, 175, 2, 125, 125, 175, 150, 2, 150, 100, 200, 125, 2, 175, 75, 225, 100, 2, 200, 50, 250, 75, 2, 25, 175, 75, 200, 6, 50, 150, 100, 175, 6, 75, 125, 125, 150, 6, 100, 100, 150, 125, 6, 125, 75, 175, 100, 6, 150, 50, 200, 75, 6, 175, 25, 225, 50, 6, 25, 125, 75, 150, 1, 50, 100, 100, 125, 1, 75, 75, 125, 100, 1, 125, 25, 175, 50, 1, 25, 75, 75, 100, 4);
level18Array = new Array(575, 25, 625, 50, 28, 525, 25, 575, 50, 2, 575, 50, 625, 75, 2, 475, 25, 525, 50, 27, 575, 75, 625, 100, 26, 525, 50, 575, 75, 24, 425, 25, 475, 50, 4, 475, 50, 525, 75, 4, 525, 75, 575, 100, 4, 575, 100, 625, 125, 4, 375, 25, 425, 50, 12, 425, 50, 475, 75, 12, 475, 75, 525, 100, 12, 525, 100, 575, 125, 12, 575, 125, 625, 150, 12, 400, 75, 450, 100, 7, 425, 100, 475, 125, 7, 475, 100, 525, 125, 7, 500, 125, 550, 150, 7, 550, 150, 600, 175, 7, 575, 175, 625, 200, 7, 350, 50, 400, 75, 7, 325, 25, 375, 50, 7, 275, 25, 325, 50, 5, 350, 75, 400, 100, 5, 450, 125, 500, 150, 5, 575, 200, 625, 225, 5, 500, 150, 550, 175, 5, 375, 100, 425, 125, 23, 525, 175, 575, 200, 23, 300, 50, 350, 75, 20, 450, 150, 500, 175, 30, 225, 25, 275, 50, 8, 250, 50, 300, 75, 8, 300, 75, 350, 100, 8, 325, 100, 375, 125, 8, 400, 125, 450, 150, 8, 350, 125, 400, 150, 8, 400, 150, 450, 175, 8, 475, 175, 525, 200, 8, 525, 200, 575, 225, 8, 575, 225, 625, 250, 8, 425, 175, 475, 200, 8, 475, 200, 525, 225, 8, 525, 225, 575, 250, 8, 575, 250, 625, 275, 8);
level19Array = new Array(75, 25, 125, 50, 1, 125, 25, 175, 50, 1, 175, 25, 225, 50, 1, 225, 25, 275, 50, 1, 275, 25, 325, 50, 1, 325, 25, 375, 50, 1, 375, 25, 425, 50, 1, 425, 25, 475, 50, 1, 475, 25, 525, 50, 1, 525, 25, 575, 50, 1, 100, 50, 150, 75, 1, 150, 50, 200, 75, 1, 200, 50, 250, 75, 1, 250, 50, 300, 75, 1, 300, 50, 350, 75, 25, 350, 50, 400, 75, 1, 400, 50, 450, 75, 1, 450, 50, 500, 75, 1, 500, 50, 550, 75, 1, 125, 75, 175, 100, 1, 175, 75, 225, 100, 1, 225, 75, 275, 100, 1, 275, 75, 325, 100, 1, 325, 75, 375, 100, 1, 375, 75, 425, 100, 1, 425, 75, 475, 100, 1, 475, 75, 525, 100, 1, 150, 100, 200, 125, 1, 200, 100, 250, 125, 1, 250, 100, 300, 125, 1, 300, 100, 350, 125, 1, 350, 100, 400, 125, 1, 400, 100, 450, 125, 1, 450, 100, 500, 125, 1, 175, 125, 225, 150, 1, 225, 125, 275, 150, 1, 275, 125, 325, 150, 1, 325, 125, 375, 150, 1, 375, 125, 425, 150, 1, 425, 125, 475, 150, 1, 200, 150, 250, 175, 1, 250, 150, 300, 175, 1, 300, 150, 350, 175, 25, 350, 150, 400, 175, 1, 400, 150, 450, 175, 1, 225, 175, 275, 200, 1, 275, 175, 325, 200, 1, 325, 175, 375, 200, 1, 375, 175, 425, 200, 1, 250, 200, 300, 225, 1, 300, 200, 350, 225, 1, 350, 200, 400, 225, 1, 275, 225, 325, 250, 1, 325, 225, 375, 250, 1, 300, 250, 350, 275, 1, 150, 25, 200, 50, 5, 250, 25, 300, 50, 5, 350, 25, 400, 50, 5, 450, 25, 500, 50, 5);
level20Array = new Array(275, 25, 325, 50, 5, 325, 25, 375, 50, 5, 225, 50, 275, 75, 5, 375, 50, 425, 75, 5, 175, 75, 225, 100, 5, 425, 75, 475, 100, 5, 125, 100, 175, 125, 5, 475, 100, 525, 125, 5, 75, 125, 125, 150, 5, 525, 125, 575, 150, 5, 25, 150, 75, 175, 5, 575, 150, 625, 175, 5, 75, 175, 125, 200, 5, 125, 200, 175, 225, 5, 525, 175, 575, 200, 5, 475, 200, 525, 225, 5, 175, 225, 225, 250, 5, 425, 225, 475, 250, 5, 175, 250, 225, 275, 18, 125, 250, 175, 275, 18, 75, 250, 125, 275, 18, 25, 250, 75, 275, 18, 425, 250, 475, 275, 18, 475, 250, 525, 275, 18, 525, 250, 575, 275, 18, 575, 250, 625, 275, 18, 475, 225, 525, 250, 4, 525, 225, 575, 250, 4, 575, 225, 625, 250, 4, 125, 225, 175, 250, 4, 75, 225, 125, 250, 4, 25, 225, 75, 250, 4, 525, 200, 575, 225, 4, 575, 200, 625, 225, 4, 575, 175, 625, 200, 4, 75, 200, 125, 225, 4, 25, 200, 75, 225, 4, 25, 175, 75, 200, 4, 525, 25, 575, 50, 28, 125, 25, 175, 50, 28, 75, 100, 125, 125, 21, 525, 100, 575, 125, 21, 575, 125, 625, 150, 7, 575, 100, 625, 125, 7, 575, 75, 625, 100, 7, 575, 50, 625, 75, 7, 575, 25, 625, 50, 7, 25, 125, 75, 150, 7, 25, 100, 75, 125, 7, 25, 75, 75, 100, 7, 25, 50, 75, 75, 7, 25, 25, 75, 50, 7, 475, 25, 525, 50, 7, 475, 50, 525, 75, 7, 475, 75, 525, 100, 7, 75, 75, 125, 100, 7, 75, 50, 125, 75, 7, 75, 25, 125, 50, 7, 125, 50, 175, 75, 7, 125, 75, 175, 100, 7, 175, 50, 225, 75, 7, 175, 25, 225, 50, 7, 225, 25, 275, 50, 7, 375, 25, 425, 50, 7, 425, 25, 475, 50, 7, 425, 50, 475, 75, 7, 525, 75, 575, 100, 7, 525, 50, 575, 75, 7, 275, 50, 325, 75, 11, 325, 50, 375, 75, 11, 375, 75, 425, 100, 11, 425, 100, 475, 125, 11, 475, 125, 525, 150, 11, 525, 150, 575, 175, 11, 475, 175, 525, 200, 11, 425, 200, 475, 225, 11, 175, 200, 225, 225, 11, 125, 175, 175, 200, 11, 75, 150, 125, 175, 11, 125, 125, 175, 150, 11, 175, 100, 225, 125, 11, 225, 75, 275, 100, 11);
level21Array = new Array(200, 25, 250, 50, 1, 200, 50, 250, 75, 1, 200, 75, 250, 100, 1, 200, 100, 250, 125, 1, 400, 25, 450, 50, 1, 400, 50, 450, 75, 1, 400, 75, 450, 100, 1, 400, 100, 450, 125, 1, 150, 25, 200, 50, 5, 150, 50, 200, 75, 5, 150, 75, 200, 100, 5, 150, 100, 200, 125, 5, 150, 125, 200, 150, 5, 200, 125, 250, 150, 5, 250, 125, 300, 150, 5, 250, 100, 300, 125, 5, 250, 75, 300, 100, 5, 250, 50, 300, 75, 5, 250, 25, 300, 50, 5, 350, 25, 400, 50, 5, 350, 50, 400, 75, 5, 350, 75, 400, 100, 5, 350, 100, 400, 125, 5, 350, 125, 400, 150, 5, 400, 125, 450, 150, 5, 450, 125, 500, 150, 5, 450, 100, 500, 125, 5, 450, 75, 500, 100, 5, 450, 50, 500, 75, 5, 450, 25, 500, 50, 5, 300, 125, 350, 150, 20, 300, 100, 350, 125, 20, 300, 75, 350, 100, 20, 300, 50, 350, 75, 20, 300, 25, 350, 50, 20, 100, 25, 150, 50, 4, 100, 50, 150, 75, 4, 100, 75, 150, 100, 4, 100, 100, 150, 125, 4, 100, 125, 150, 150, 4, 100, 150, 150, 175, 4, 150, 150, 200, 175, 4, 200, 150, 250, 175, 4, 250, 150, 300, 175, 4, 300, 150, 350, 175, 4, 350, 150, 400, 175, 4, 400, 150, 450, 175, 4, 475, 150, 525, 175, 4, 500, 125, 550, 150, 4, 500, 100, 550, 125, 4, 500, 75, 550, 100, 4, 500, 50, 550, 75, 4, 500, 25, 550, 50, 4, 450, 150, 500, 175, 4, 500, 150, 550, 175, 4, 100, 275, 150, 300, 26, 500, 275, 550, 300, 26, 300, 275, 350, 300, 29);
level22Array = new Array(25, 225, 75, 250, 2, 100, 225, 150, 250, 2, 175, 225, 225, 250, 2, 250, 225, 300, 250, 2, 325, 225, 375, 250, 2, 400, 225, 450, 250, 2, 475, 225, 525, 250, 2, 550, 225, 600, 250, 2, 550, 175, 600, 200, 2, 475, 175, 525, 200, 2, 400, 175, 450, 200, 2, 325, 175, 375, 200, 2, 250, 175, 300, 200, 2, 175, 175, 225, 200, 2, 100, 175, 150, 200, 2, 25, 175, 75, 200, 2, 25, 125, 75, 150, 2, 100, 125, 150, 150, 2, 175, 125, 225, 150, 2, 250, 125, 300, 150, 2, 325, 125, 375, 150, 2, 400, 125, 450, 150, 2, 475, 125, 525, 150, 2, 550, 125, 600, 150, 2, 25, 200, 75, 225, 24, 550, 200, 600, 225, 24, 550, 150, 600, 175, 31, 25, 150, 75, 175, 31, 100, 75, 150, 100, 1, 175, 75, 225, 100, 1, 250, 75, 300, 100, 1, 325, 75, 375, 100, 1, 400, 75, 450, 100, 1, 475, 75, 525, 100, 1);
level23Array = new Array(25, 125, 75, 150, 1, 50, 150, 100, 175, 1, 75, 175, 125, 200, 1, 100, 200, 150, 225, 1, 575, 125, 625, 150, 1, 550, 150, 600, 175, 1, 525, 175, 575, 200, 1, 500, 200, 550, 225, 1, 150, 125, 200, 150, 1, 175, 150, 225, 175, 1, 200, 175, 250, 200, 1, 225, 200, 275, 225, 1, 450, 125, 500, 150, 1, 425, 150, 475, 175, 1, 400, 175, 450, 200, 1, 375, 200, 425, 225, 1, 300, 125, 350, 150, 1, 300, 150, 350, 175, 1, 300, 175, 350, 200, 1, 300, 200, 350, 225, 1, 75, 125, 125, 150, 13, 100, 150, 150, 175, 13, 125, 175, 175, 200, 13, 150, 200, 200, 225, 13, 200, 125, 250, 150, 13, 225, 150, 275, 175, 13, 250, 175, 300, 200, 13, 350, 175, 400, 200, 13, 375, 150, 425, 175, 13, 400, 125, 450, 150, 13, 525, 125, 575, 150, 13, 500, 150, 550, 175, 13, 475, 175, 525, 200, 13, 450, 200, 500, 225, 13, 300, 225, 350, 250, 20, 225, 225, 275, 250, 20, 150, 225, 200, 250, 20, 375, 225, 425, 250, 20, 450, 225, 500, 250, 20, 100, 225, 150, 250, 18, 500, 225, 550, 250, 18, 50, 225, 100, 250, 18, 550, 225, 600, 250, 18, 25, 250, 75, 275, 18, 575, 250, 625, 275, 18);
level24Array = new Array(25, 150, 75, 175, 20, 75, 150, 125, 175, 20, 125, 150, 175, 175, 20, 175, 150, 225, 175, 20, 225, 150, 275, 175, 20, 275, 150, 325, 175, 20, 325, 150, 375, 175, 20, 375, 150, 425, 175, 20, 425, 150, 475, 175, 20, 475, 150, 525, 175, 20, 525, 150, 575, 175, 20, 575, 150, 625, 175, 20, 25, 175, 75, 200, 15, 75, 175, 125, 200, 15, 125, 175, 175, 200, 15, 175, 175, 225, 200, 15, 225, 175, 275, 200, 15, 275, 175, 325, 200, 15, 325, 175, 375, 200, 15, 375, 175, 425, 200, 15, 425, 175, 475, 200, 15, 475, 175, 525, 200, 15, 525, 175, 575, 200, 15, 575, 175, 625, 200, 15, 25, 200, 75, 225, 4, 75, 200, 125, 225, 4, 125, 200, 175, 225, 4, 175, 200, 225, 225, 4, 225, 200, 275, 225, 4, 275, 200, 325, 225, 4, 325, 200, 375, 225, 4, 375, 200, 425, 225, 4, 425, 200, 475, 225, 4, 475, 200, 525, 225, 4, 525, 200, 575, 225, 4, 575, 200, 625, 225, 4, 575, 125, 625, 150, 1, 525, 125, 575, 150, 1, 475, 125, 525, 150, 1, 425, 125, 475, 150, 1, 375, 125, 425, 150, 1, 325, 125, 375, 150, 1, 275, 125, 325, 150, 1, 225, 125, 275, 150, 1, 175, 125, 225, 150, 1, 125, 125, 175, 150, 1, 75, 125, 125, 150, 1, 25, 125, 75, 150, 1);
level25Array = new Array(275, 250, 325, 275, 8, 325, 250, 375, 275, 8, 225, 250, 275, 275, 8, 375, 250, 425, 275, 8, 375, 225, 425, 250, 8, 325, 225, 375, 250, 8, 275, 225, 325, 250, 8, 225, 225, 275, 250, 8, 375, 200, 425, 225, 6, 325, 200, 375, 225, 6, 275, 200, 325, 225, 6, 225, 200, 275, 225, 6, 225, 175, 275, 200, 6, 275, 175, 325, 200, 6, 325, 175, 375, 200, 6, 375, 175, 425, 200, 6, 375, 150, 425, 175, 3, 225, 150, 275, 175, 3, 225, 125, 275, 150, 3, 375, 125, 425, 150, 3, 275, 150, 325, 175, 20, 275, 125, 325, 150, 20, 325, 125, 375, 150, 20, 325, 150, 375, 175, 20, 225, 100, 275, 125, 6, 275, 100, 325, 125, 6, 325, 100, 375, 125, 6, 375, 100, 425, 125, 6, 375, 75, 425, 100, 6, 325, 75, 375, 100, 6, 275, 75, 325, 100, 6, 225, 75, 275, 100, 6, 225, 50, 275, 75, 8, 225, 25, 275, 50, 8, 275, 25, 325, 50, 8, 325, 25, 375, 50, 8, 375, 25, 425, 50, 8, 375, 50, 425, 75, 8, 325, 50, 375, 75, 8, 275, 50, 325, 75, 8, 425, 25, 475, 50, 14, 425, 50, 475, 75, 14, 425, 250, 475, 275, 14, 425, 225, 475, 250, 14, 175, 250, 225, 275, 14, 175, 225, 225, 250, 14, 175, 25, 225, 50, 14, 175, 50, 225, 75, 14, 175, 75, 225, 100, 13, 175, 100, 225, 125, 13, 175, 175, 225, 200, 13, 175, 200, 225, 225, 13, 425, 175, 475, 200, 13, 425, 200, 475, 225, 13, 425, 75, 475, 100, 13, 425, 100, 475, 125, 13, 425, 125, 475, 150, 12, 425, 150, 475, 175, 12, 175, 150, 225, 175, 12, 175, 125, 225, 150, 12);
level26Array = new Array(150, 225, 200, 250, 13, 200, 225, 250, 250, 13, 250, 225, 300, 250, 13, 300, 225, 350, 250, 13, 350, 225, 400, 250, 13, 400, 225, 450, 250, 13, 450, 225, 500, 250, 13, 200, 200, 250, 225, 30, 300, 200, 350, 225, 25, 400, 200, 450, 225, 24, 450, 200, 500, 225, 1, 500, 175, 550, 200, 1, 550, 150, 600, 175, 1, 150, 200, 200, 225, 1, 100, 175, 150, 200, 1, 50, 150, 100, 175, 1, 100, 125, 150, 150, 1, 150, 100, 200, 125, 1, 500, 125, 550, 150, 1, 450, 100, 500, 125, 1, 150, 75, 200, 100, 13, 200, 75, 250, 100, 13, 250, 75, 300, 100, 13, 300, 75, 350, 100, 13, 350, 75, 400, 100, 13, 400, 75, 450, 100, 13, 450, 75, 500, 100, 13, 150, 125, 200, 150, 5, 150, 150, 200, 175, 5, 150, 175, 200, 200, 5, 100, 150, 150, 175, 5, 500, 150, 550, 175, 5, 450, 125, 500, 150, 5, 450, 150, 500, 175, 5, 450, 175, 500, 200, 5, 300, 175, 350, 200, 5, 300, 150, 350, 175, 5, 300, 125, 350, 150, 5, 300, 100, 350, 125, 21, 200, 100, 250, 125, 23, 400, 100, 450, 125, 26, 200, 125, 250, 150, 1, 200, 150, 250, 175, 1, 200, 175, 250, 200, 1, 400, 125, 450, 150, 1, 400, 150, 450, 175, 1, 400, 175, 450, 200, 1, 250, 100, 300, 125, 5, 250, 125, 300, 150, 5, 250, 150, 300, 175, 5, 250, 175, 300, 200, 5, 250, 200, 300, 225, 5, 350, 200, 400, 225, 5, 350, 175, 400, 200, 5, 350, 150, 400, 175, 5, 350, 125, 400, 150, 5, 350, 100, 400, 125, 5);
level27Array = new Array(75, 275, 125, 300, 9, 100, 250, 150, 275, 9, 125, 225, 175, 250, 9, 150, 200, 200, 225, 9, 175, 175, 225, 200, 9, 525, 275, 575, 300, 9, 500, 250, 550, 275, 9, 475, 225, 525, 250, 9, 450, 200, 500, 225, 9, 425, 175, 475, 200, 9, 200, 150, 250, 175, 9, 225, 125, 275, 150, 9, 400, 150, 450, 175, 9, 375, 125, 425, 150, 9, 250, 100, 300, 125, 9, 350, 100, 400, 125, 9, 275, 75, 325, 100, 9, 325, 75, 375, 100, 9, 375, 75, 425, 100, 20, 225, 75, 275, 100, 20, 100, 200, 150, 225, 20, 500, 200, 550, 225, 20, 525, 225, 575, 250, 8, 550, 250, 600, 275, 8, 475, 175, 525, 200, 8, 450, 150, 500, 175, 8, 425, 125, 475, 150, 8, 400, 100, 450, 125, 8, 200, 100, 250, 125, 8, 175, 125, 225, 150, 8, 150, 150, 200, 175, 8, 125, 175, 175, 200, 8, 75, 225, 125, 250, 8, 50, 250, 100, 275, 8, 25, 275, 75, 300, 8, 575, 275, 625, 300, 8, 250, 50, 300, 75, 8, 350, 50, 400, 75, 8, 300, 50, 350, 75, 8, 25, 225, 75, 250, 7, 50, 200, 100, 225, 7, 75, 175, 125, 200, 7, 100, 150, 150, 175, 7, 125, 125, 175, 150, 7, 150, 100, 200, 125, 7, 175, 75, 225, 100, 7, 200, 50, 250, 75, 7, 400, 50, 450, 75, 7, 425, 75, 475, 100, 7, 450, 100, 500, 125, 7, 475, 125, 525, 150, 7, 500, 150, 550, 175, 7, 525, 175, 575, 200, 7, 550, 200, 600, 225, 7, 575, 225, 625, 250, 7);
level28Array = new Array(25, 200, 75, 225, 7, 75, 175, 125, 200, 7, 125, 150, 175, 175, 7, 175, 175, 225, 200, 7, 225, 200, 275, 225, 7, 275, 225, 325, 250, 7, 325, 250, 375, 275, 7, 375, 250, 425, 275, 7, 425, 225, 475, 250, 7, 475, 200, 525, 225, 7, 525, 175, 575, 200, 7, 575, 150, 625, 175, 7, 575, 125, 625, 150, 8, 525, 150, 575, 175, 8, 475, 175, 525, 200, 8, 425, 200, 475, 225, 8, 375, 225, 425, 250, 8, 325, 225, 375, 250, 8, 275, 200, 325, 225, 8, 225, 175, 275, 200, 8, 175, 150, 225, 175, 8, 125, 125, 175, 150, 8, 75, 150, 125, 175, 8, 25, 175, 75, 200, 8, 25, 150, 75, 175, 26, 325, 200, 375, 225, 29, 425, 175, 475, 200, 27, 275, 175, 325, 200, 25, 175, 125, 225, 150, 28, 475, 150, 525, 175, 30, 375, 200, 425, 225, 24, 525, 125, 575, 150, 23, 75, 125, 125, 150, 21, 225, 150, 275, 175, 22, 575, 100, 625, 125, 31, 125, 100, 175, 125, 20, 25, 125, 75, 150, 12, 75, 100, 125, 125, 12, 125, 75, 175, 100, 12, 175, 100, 225, 125, 12, 225, 125, 275, 150, 12, 275, 150, 325, 175, 12, 325, 175, 375, 200, 12, 375, 175, 425, 200, 12, 425, 150, 475, 175, 12, 475, 125, 525, 150, 12, 525, 100, 575, 125, 12, 575, 75, 625, 100, 12, 25, 225, 75, 250, 6, 75, 200, 125, 225, 6, 125, 175, 175, 200, 6, 175, 200, 225, 225, 6, 225, 225, 275, 250, 6, 275, 250, 325, 275, 6, 325, 275, 375, 300, 6, 375, 275, 425, 300, 6, 425, 250, 475, 275, 6, 475, 225, 525, 250, 6, 525, 200, 575, 225, 6, 575, 175, 625, 200, 6);
level29Array = new Array(75, 275, 125, 300, 11, 100, 250, 150, 275, 11, 100, 225, 150, 250, 11, 125, 200, 175, 225, 11, 125, 175, 175, 200, 11, 150, 150, 200, 175, 11, 175, 125, 225, 150, 11, 200, 100, 250, 125, 11, 250, 75, 300, 100, 11, 525, 275, 575, 300, 11, 500, 250, 550, 275, 11, 500, 225, 550, 250, 11, 475, 200, 525, 225, 11, 475, 175, 525, 200, 11, 450, 150, 500, 175, 11, 425, 125, 475, 150, 11, 400, 100, 450, 125, 11, 350, 75, 400, 100, 11, 25, 275, 75, 300, 9, 575, 275, 625, 300, 9, 550, 250, 600, 275, 9, 550, 225, 600, 250, 9, 50, 250, 100, 275, 9, 50, 225, 100, 250, 9, 75, 200, 125, 225, 9, 75, 175, 125, 200, 9, 525, 175, 575, 200, 9, 525, 200, 575, 225, 9, 500, 150, 550, 175, 7, 475, 125, 525, 150, 7, 450, 100, 500, 125, 7, 400, 75, 450, 100, 7, 200, 75, 250, 100, 7, 150, 100, 200, 125, 7, 125, 125, 175, 150, 7, 100, 150, 150, 175, 7, 225, 225, 275, 250, 12, 375, 225, 425, 250, 12, 325, 225, 375, 250, 12, 275, 225, 325, 250, 12, 225, 200, 275, 225, 11, 275, 200, 325, 225, 11, 325, 200, 375, 225, 11, 375, 200, 425, 225, 11, 300, 175, 350, 200, 20, 300, 50, 350, 75, 20);
level30Array = new Array(350, 125, 400, 150, 15, 350, 150, 400, 175, 15, 350, 175, 400, 200, 15, 350, 200, 400, 225, 15, 350, 225, 400, 250, 15, 350, 250, 400, 275, 15, 400, 250, 450, 275, 15, 450, 250, 500, 275, 15, 500, 250, 550, 275, 15, 550, 250, 600, 275, 15, 550, 225, 600, 250, 15, 550, 200, 600, 225, 15, 550, 175, 600, 200, 15, 550, 150, 600, 175, 15, 550, 125, 600, 150, 15, 400, 125, 450, 150, 15, 450, 125, 500, 150, 15, 500, 125, 550, 150, 15, 425, 175, 475, 200, 20, 425, 200, 475, 225, 20, 475, 200, 525, 225, 20, 475, 175, 525, 200, 20, 50, 125, 100, 150, 15, 50, 150, 100, 175, 15, 50, 175, 100, 200, 15, 50, 200, 100, 225, 15, 50, 225, 100, 250, 15, 50, 250, 100, 275, 15, 100, 250, 150, 275, 15, 150, 250, 200, 275, 15, 200, 250, 250, 275, 15, 250, 250, 300, 275, 15, 250, 225, 300, 250, 15, 250, 200, 300, 225, 15, 250, 175, 300, 200, 15, 250, 150, 300, 175, 15, 250, 125, 300, 150, 15, 200, 125, 250, 150, 15, 150, 125, 200, 150, 15, 100, 125, 150, 150, 15, 125, 175, 175, 200, 20, 175, 175, 225, 200, 20, 175, 200, 225, 225, 20, 125, 200, 175, 225, 20);
level31Array = new Array(25, 150, 75, 175, 8, 75, 150, 125, 175, 8, 125, 150, 175, 175, 8, 175, 150, 225, 175, 8, 225, 150, 275, 175, 8, 275, 150, 325, 175, 8, 325, 150, 375, 175, 8, 375, 150, 425, 175, 8, 425, 150, 475, 175, 8, 475, 150, 525, 175, 8, 525, 150, 575, 175, 8, 575, 150, 625, 175, 8, 25, 225, 75, 250, 5, 75, 225, 125, 250, 5, 125, 225, 175, 250, 5, 175, 225, 225, 250, 5, 225, 225, 275, 250, 5, 275, 225, 325, 250, 5, 325, 225, 375, 250, 5, 375, 225, 425, 250, 5, 425, 225, 475, 250, 5, 475, 225, 525, 250, 5, 525, 225, 575, 250, 5, 575, 225, 625, 250, 5, 125, 125, 175, 150, 22, 475, 125, 525, 150, 22, 275, 125, 325, 150, 29, 325, 125, 375, 150, 29, 75, 75, 125, 100, 20, 525, 75, 575, 100, 20, 25, 100, 75, 125, 2, 75, 100, 125, 125, 2, 125, 100, 175, 125, 2, 175, 100, 225, 125, 2, 225, 100, 275, 125, 2, 275, 100, 325, 125, 2, 325, 100, 375, 125, 2, 375, 100, 425, 125, 2, 425, 100, 475, 125, 2, 475, 100, 525, 125, 2, 525, 100, 575, 125, 2, 575, 100, 625, 125, 2, 25, 50, 75, 75, 4, 75, 50, 125, 75, 4, 125, 50, 175, 75, 4, 175, 50, 225, 75, 4, 225, 50, 275, 75, 4, 275, 50, 325, 75, 4, 325, 50, 375, 75, 4, 375, 50, 425, 75, 4, 425, 50, 475, 75, 4, 475, 50, 525, 75, 4, 525, 50, 575, 75, 4, 575, 50, 625, 75, 4, 50, 25, 100, 50, 4, 100, 25, 150, 50, 4, 150, 25, 200, 50, 4, 200, 25, 250, 50, 4, 250, 25, 300, 50, 4, 300, 25, 350, 50, 4, 350, 25, 400, 50, 4, 400, 25, 450, 50, 4, 450, 25, 500, 50, 4, 500, 25, 550, 50, 4, 550, 25, 600, 50, 4);
level32Array = new Array(50, 225, 100, 250, 7, 100, 225, 150, 250, 6, 150, 225, 200, 250, 7, 250, 225, 300, 250, 7, 350, 225, 400, 250, 7, 450, 225, 500, 250, 7, 550, 225, 600, 250, 7, 500, 225, 550, 250, 6, 400, 225, 450, 250, 6, 300, 225, 350, 250, 6, 200, 225, 250, 250, 6, 75, 200, 125, 225, 6, 175, 200, 225, 225, 6, 275, 200, 325, 225, 6, 375, 200, 425, 225, 6, 475, 200, 525, 225, 6, 525, 200, 575, 225, 7, 425, 200, 475, 225, 7, 325, 200, 375, 225, 7, 225, 200, 275, 225, 7, 125, 200, 175, 225, 7, 100, 175, 150, 200, 7, 200, 175, 250, 200, 7, 300, 175, 350, 200, 7, 400, 175, 450, 200, 7, 500, 175, 550, 200, 7, 375, 150, 425, 175, 7, 275, 150, 325, 175, 7, 175, 150, 225, 175, 7, 475, 150, 525, 175, 7, 450, 175, 500, 200, 6, 425, 150, 475, 175, 6, 350, 175, 400, 200, 6, 325, 150, 375, 175, 6, 250, 175, 300, 200, 6, 225, 150, 275, 175, 6, 150, 175, 200, 200, 6, 125, 150, 175, 175, 6, 200, 125, 250, 150, 6, 300, 125, 350, 150, 6, 400, 125, 450, 150, 6, 450, 125, 500, 150, 7, 350, 125, 400, 150, 7, 250, 125, 300, 150, 7, 150, 125, 200, 150, 7, 225, 100, 275, 125, 7, 325, 100, 375, 125, 7, 425, 100, 475, 125, 7, 375, 100, 425, 125, 6, 275, 100, 325, 125, 6, 175, 100, 225, 125, 6, 250, 75, 300, 100, 6, 350, 75, 400, 100, 6, 200, 75, 250, 100, 7, 300, 75, 350, 100, 7, 400, 75, 450, 100, 7, 50, 275, 100, 300, 29, 550, 275, 600, 300, 29, 300, 50, 350, 75, 21);
level33Array = new Array(75, 50, 125, 75, 13, 75, 75, 125, 100, 13, 75, 100, 125, 125, 13, 75, 125, 125, 150, 13, 75, 150, 125, 175, 13, 75, 175, 125, 200, 13, 525, 50, 575, 75, 13, 525, 75, 575, 100, 13, 525, 100, 575, 125, 13, 525, 125, 575, 150, 13, 525, 150, 575, 175, 13, 525, 175, 575, 200, 13, 175, 50, 225, 75, 13, 175, 75, 225, 100, 13, 175, 100, 225, 125, 13, 175, 125, 225, 150, 13, 175, 150, 225, 175, 13, 175, 175, 225, 200, 13, 425, 175, 475, 200, 13, 425, 150, 475, 175, 13, 425, 125, 475, 150, 13, 425, 100, 475, 125, 13, 425, 75, 475, 100, 13, 425, 50, 475, 75, 13, 475, 100, 525, 125, 20, 125, 100, 175, 125, 20, 475, 125, 525, 150, 1, 475, 150, 525, 175, 1, 475, 175, 525, 200, 1, 475, 75, 525, 100, 1, 475, 50, 525, 75, 1, 125, 50, 175, 75, 1, 125, 75, 175, 100, 1, 125, 125, 175, 150, 1, 125, 150, 175, 175, 1, 125, 175, 175, 200, 1, 300, 100, 350, 125, 29, 225, 125, 275, 150, 22, 375, 125, 425, 150, 23, 300, 75, 350, 100, 28);
level34Array = new Array(25, 275, 75, 300, 1, 75, 275, 125, 300, 1, 125, 275, 175, 300, 1, 175, 275, 225, 300, 1, 225, 275, 275, 300, 1, 275, 275, 325, 300, 1, 325, 275, 375, 300, 1, 375, 275, 425, 300, 1, 425, 275, 475, 300, 1, 475, 275, 525, 300, 1, 525, 275, 575, 300, 1, 575, 275, 625, 300, 1, 550, 250, 600, 275, 5, 450, 250, 500, 275, 5, 350, 250, 400, 275, 5, 250, 250, 300, 275, 5, 150, 250, 200, 275, 5, 50, 250, 100, 275, 5, 25, 225, 75, 250, 3, 75, 225, 125, 250, 3, 125, 225, 175, 250, 3, 175, 225, 225, 250, 3, 225, 225, 275, 250, 3, 275, 225, 325, 250, 3, 325, 225, 375, 250, 3, 375, 225, 425, 250, 3, 425, 225, 475, 250, 3, 475, 225, 525, 250, 3, 525, 225, 575, 250, 3, 575, 225, 625, 250, 3, 100, 250, 150, 275, 13, 200, 250, 250, 275, 13, 400, 250, 450, 275, 13, 500, 250, 550, 275, 13, 300, 250, 350, 275, 20, 25, 150, 75, 175, 2, 75, 150, 125, 175, 2, 125, 150, 175, 175, 2, 175, 150, 225, 175, 2, 225, 150, 275, 175, 2, 275, 150, 325, 175, 2, 325, 150, 375, 175, 2, 375, 150, 425, 175, 2, 425, 150, 475, 175, 2, 475, 150, 525, 175, 2, 525, 150, 575, 175, 2, 575, 150, 625, 175, 2, 575, 100, 625, 125, 5, 525, 100, 575, 125, 5, 475, 100, 525, 125, 5, 425, 100, 475, 125, 5, 375, 100, 425, 125, 5, 325, 100, 375, 125, 5, 275, 100, 325, 125, 5, 225, 100, 275, 125, 5, 175, 100, 225, 125, 5, 125, 100, 175, 125, 5, 75, 100, 125, 125, 5, 25, 100, 75, 125, 5, 50, 125, 100, 150, 7, 150, 125, 200, 150, 7, 250, 125, 300, 150, 7, 350, 125, 400, 150, 7, 450, 125, 500, 150, 7, 550, 125, 600, 150, 7, 300, 125, 350, 150, 20, 500, 125, 550, 150, 13, 400, 125, 450, 150, 13, 200, 125, 250, 150, 13, 100, 125, 150, 150, 13);
level35Array = new Array(25, 300, 75, 325, 9, 575, 300, 625, 325, 9, 525, 300, 575, 325, 9, 75, 300, 125, 325, 9, 125, 275, 175, 300, 9, 175, 250, 225, 275, 9, 475, 275, 525, 300, 9, 425, 250, 475, 275, 9, 225, 225, 275, 250, 9, 275, 225, 325, 250, 9, 325, 225, 375, 250, 9, 375, 225, 425, 250, 9, 25, 275, 75, 300, 9, 75, 275, 125, 300, 9, 125, 250, 175, 275, 9, 175, 225, 225, 250, 9, 225, 200, 275, 225, 9, 275, 200, 325, 225, 9, 325, 200, 375, 225, 9, 375, 200, 425, 225, 9, 425, 225, 475, 250, 9, 475, 250, 525, 275, 9, 525, 275, 575, 300, 9, 575, 275, 625, 300, 9, 575, 25, 625, 50, 28, 25, 25, 75, 50, 28, 175, 175, 225, 200, 29, 425, 175, 475, 200, 29, 425, 200, 475, 225, 9, 475, 225, 525, 250, 9, 525, 250, 575, 275, 9, 575, 250, 625, 275, 9, 175, 200, 225, 225, 9, 125, 225, 175, 250, 9, 75, 250, 125, 275, 9, 25, 250, 75, 275, 9, 225, 175, 275, 200, 9, 275, 175, 325, 200, 9, 325, 175, 375, 200, 9, 375, 175, 425, 200, 9, 225, 150, 275, 175, 7, 275, 150, 325, 175, 7, 325, 150, 375, 175, 7, 375, 150, 425, 175, 7, 425, 125, 475, 150, 7, 475, 100, 525, 125, 7, 525, 75, 575, 100, 7, 575, 75, 625, 100, 7, 175, 125, 225, 150, 7, 125, 100, 175, 125, 7, 75, 75, 125, 100, 7, 25, 75, 75, 100, 7, 25, 50, 75, 75, 7, 75, 50, 125, 75, 7, 75, 25, 125, 50, 7, 125, 50, 175, 75, 7, 125, 75, 175, 100, 7, 175, 75, 225, 100, 7, 175, 100, 225, 125, 7, 225, 100, 275, 125, 7, 225, 125, 275, 150, 7, 275, 100, 325, 125, 7, 275, 125, 325, 150, 7, 325, 100, 375, 125, 7, 325, 125, 375, 150, 7, 375, 100, 425, 125, 7, 375, 125, 425, 150, 7, 425, 100, 475, 125, 7, 425, 75, 475, 100, 7, 475, 75, 525, 100, 7, 475, 50, 525, 75, 7, 525, 50, 575, 75, 7, 525, 25, 575, 50, 7, 575, 50, 625, 75, 7);
level36Array = new Array(75, 200, 125, 225, 7, 75, 225, 125, 250, 7, 75, 250, 125, 275, 7, 125, 250, 175, 275, 7, 175, 250, 225, 275, 7, 175, 225, 225, 250, 7, 175, 200, 225, 225, 7, 125, 200, 175, 225, 7, 425, 225, 475, 250, 7, 475, 225, 525, 250, 7, 525, 225, 575, 250, 7, 525, 250, 575, 275, 7, 525, 275, 575, 300, 7, 475, 275, 525, 300, 7, 425, 275, 475, 300, 7, 425, 250, 475, 275, 7, 350, 75, 400, 100, 7, 350, 100, 400, 125, 7, 350, 125, 400, 150, 7, 400, 125, 450, 150, 7, 450, 125, 500, 150, 7, 450, 100, 500, 125, 7, 450, 75, 500, 100, 7, 400, 75, 450, 100, 7, 125, 50, 175, 75, 7, 175, 50, 225, 75, 7, 225, 50, 275, 75, 7, 225, 75, 275, 100, 7, 225, 100, 275, 125, 7, 175, 100, 225, 125, 7, 125, 100, 175, 125, 7, 125, 75, 175, 100, 7, 400, 100, 450, 125, 20, 475, 250, 525, 275, 20, 125, 225, 175, 250, 20, 175, 75, 225, 100, 20, 225, 25, 275, 50, 1, 175, 25, 225, 50, 1, 125, 25, 175, 50, 1, 125, 125, 175, 150, 1, 175, 125, 225, 150, 1, 225, 125, 275, 150, 1, 350, 50, 400, 75, 1, 400, 50, 450, 75, 1, 450, 50, 500, 75, 1, 350, 150, 400, 175, 1, 400, 150, 450, 175, 1, 450, 150, 500, 175, 1, 425, 200, 475, 225, 1, 475, 200, 525, 225, 1, 525, 200, 575, 225, 1, 525, 300, 575, 325, 1, 475, 300, 525, 325, 1, 425, 300, 475, 325, 1, 225, 200, 275, 225, 1, 225, 225, 275, 250, 1, 225, 250, 275, 275, 1, 25, 200, 75, 225, 1, 25, 225, 75, 250, 1, 25, 250, 75, 275, 1);
level37Array = new Array(50, 75, 100, 100, 8, 100, 75, 150, 100, 8, 150, 75, 200, 100, 8, 200, 75, 250, 100, 8, 250, 75, 300, 100, 8, 350, 125, 400, 150, 8, 400, 125, 450, 150, 8, 450, 125, 500, 150, 8, 500, 125, 550, 150, 8, 550, 125, 600, 150, 8, 150, 175, 200, 200, 8, 200, 175, 250, 200, 8, 250, 175, 300, 200, 8, 300, 175, 350, 200, 8, 350, 175, 400, 200, 8, 250, 225, 300, 250, 8, 300, 225, 350, 250, 8, 350, 225, 400, 250, 8, 400, 225, 450, 250, 8, 450, 225, 500, 250, 8, 75, 275, 125, 300, 8, 125, 275, 175, 300, 8, 175, 275, 225, 300, 8, 225, 275, 275, 300, 8, 275, 275, 325, 300, 8, 300, 125, 350, 150, 29, 400, 175, 450, 200, 29, 300, 75, 350, 100, 29, 200, 225, 250, 250, 29, 325, 275, 375, 300, 29);
level38Array = new Array(250, 25, 300, 50, 12, 250, 50, 300, 75, 12, 250, 75, 300, 100, 12, 250, 100, 300, 125, 12, 250, 125, 300, 150, 12, 250, 150, 300, 175, 12, 250, 175, 300, 200, 12, 250, 200, 300, 225, 12, 250, 225, 300, 250, 12, 250, 250, 300, 275, 12, 350, 250, 400, 275, 12, 350, 225, 400, 250, 12, 350, 200, 400, 225, 12, 350, 175, 400, 200, 12, 350, 150, 400, 175, 12, 350, 125, 400, 150, 12, 350, 100, 400, 125, 12, 350, 75, 400, 100, 12, 350, 50, 400, 75, 12, 350, 25, 400, 50, 12, 300, 250, 350, 275, 1, 300, 225, 350, 250, 1, 300, 200, 350, 225, 1, 300, 175, 350, 200, 1, 300, 150, 350, 175, 1, 300, 125, 350, 150, 1, 300, 100, 350, 125, 1, 300, 75, 350, 100, 1, 300, 50, 350, 75, 1, 300, 25, 350, 50, 25, 400, 25, 450, 50, 25, 200, 25, 250, 50, 25, 400, 50, 450, 75, 13, 400, 75, 450, 100, 13, 400, 100, 450, 125, 13, 400, 125, 450, 150, 13, 400, 150, 450, 175, 13, 400, 175, 450, 200, 13, 400, 200, 450, 225, 13, 400, 225, 450, 250, 13, 400, 250, 450, 275, 13, 200, 250, 250, 275, 13, 200, 225, 250, 250, 13, 200, 200, 250, 225, 13, 200, 175, 250, 200, 13, 200, 150, 250, 175, 13, 200, 125, 250, 150, 13, 200, 100, 250, 125, 13, 200, 75, 250, 100, 13, 200, 50, 250, 75, 13);
level39Array = new Array(150, 300, 200, 325, 9, 200, 275, 250, 300, 9, 250, 250, 300, 275, 9, 300, 225, 350, 250, 9, 350, 250, 400, 275, 9, 400, 275, 450, 300, 9, 450, 300, 500, 325, 9, 450, 275, 500, 300, 9, 450, 250, 500, 275, 9, 450, 225, 500, 250, 9, 450, 200, 500, 225, 9, 450, 175, 500, 200, 9, 450, 150, 500, 175, 9, 150, 275, 200, 300, 9, 150, 250, 200, 275, 9, 150, 225, 200, 250, 9, 150, 200, 200, 225, 9, 150, 175, 200, 200, 9, 150, 150, 200, 175, 9, 200, 125, 250, 150, 9, 250, 100, 300, 125, 9, 300, 75, 350, 100, 9, 350, 100, 400, 125, 9, 400, 125, 450, 150, 9, 200, 200, 250, 225, 20, 400, 200, 450, 225, 20, 300, 150, 350, 175, 20, 300, 100, 350, 125, 9, 250, 125, 300, 150, 9, 200, 150, 250, 175, 9, 350, 125, 400, 150, 9, 400, 150, 450, 175, 9, 400, 250, 450, 275, 9, 350, 225, 400, 250, 9, 300, 200, 350, 225, 9, 250, 225, 300, 250, 9, 200, 250, 250, 275, 9, 400, 225, 450, 250, 3, 400, 175, 450, 200, 3, 350, 200, 400, 225, 3, 350, 175, 400, 200, 3, 350, 150, 400, 175, 3, 300, 125, 350, 150, 3, 300, 175, 350, 200, 3, 250, 175, 300, 200, 3, 250, 150, 300, 175, 3, 250, 200, 300, 225, 3, 200, 225, 250, 250, 3, 200, 175, 250, 200, 3);
level40Array = new Array(300, 50, 350, 75, 8, 350, 75, 400, 100, 8, 375, 100, 425, 125, 8, 400, 125, 450, 150, 8, 425, 150, 475, 175, 8, 450, 175, 500, 200, 8, 475, 200, 525, 225, 8, 450, 225, 500, 250, 8, 425, 250, 475, 275, 8, 400, 275, 450, 300, 8, 375, 300, 425, 325, 8, 350, 275, 400, 300, 8, 375, 250, 425, 275, 8, 400, 225, 450, 250, 8, 425, 200, 475, 225, 8, 400, 175, 450, 200, 8, 375, 150, 425, 175, 8, 350, 125, 400, 150, 8, 325, 100, 375, 125, 8, 300, 75, 350, 100, 8, 375, 200, 425, 225, 14, 325, 200, 375, 225, 14, 275, 200, 325, 225, 14, 225, 200, 275, 225, 14, 175, 200, 225, 225, 14, 125, 200, 175, 225, 14, 75, 200, 125, 225, 14, 350, 175, 400, 200, 20, 250, 175, 300, 200, 20, 150, 175, 200, 200, 20, 100, 175, 150, 200, 11, 200, 175, 250, 200, 11, 300, 175, 350, 200, 11, 325, 300, 375, 325, 8, 300, 325, 350, 350, 8);
level41Array = new Array(125, 300, 175, 325, 14, 175, 275, 225, 300, 14, 200, 250, 250, 275, 14, 225, 225, 275, 250, 14, 250, 200, 300, 225, 14, 275, 175, 325, 200, 14, 325, 150, 375, 175, 14, 375, 175, 425, 200, 14, 400, 200, 450, 225, 14, 425, 225, 475, 250, 14, 450, 250, 500, 275, 14, 475, 275, 525, 300, 14, 525, 300, 575, 325, 14, 125, 200, 175, 225, 14, 175, 175, 225, 200, 14, 200, 150, 250, 175, 14, 225, 125, 275, 150, 14, 250, 100, 300, 125, 14, 275, 75, 325, 100, 14, 325, 50, 375, 75, 14, 375, 75, 425, 100, 14, 400, 100, 450, 125, 14, 425, 125, 475, 150, 14, 450, 150, 500, 175, 14, 475, 175, 525, 200, 14, 525, 200, 575, 225, 14, 325, 100, 375, 125, 20, 225, 175, 275, 200, 20, 425, 175, 475, 200, 20, 275, 125, 325, 150, 1, 325, 125, 375, 150, 1, 375, 125, 425, 150, 1, 275, 150, 325, 175, 1, 375, 150, 425, 175, 1);
level42Array = new Array(175, 275, 225, 300, 1, 175, 250, 225, 275, 1, 175, 225, 225, 250, 1, 175, 200, 225, 225, 1, 175, 175, 225, 200, 1, 175, 150, 225, 175, 1, 175, 125, 225, 150, 1, 175, 100, 225, 125, 1, 175, 75, 225, 100, 1, 225, 50, 275, 75, 1, 275, 50, 325, 75, 1, 325, 50, 375, 75, 1, 375, 50, 425, 75, 1, 425, 50, 475, 75, 1, 475, 75, 525, 100, 1, 475, 100, 525, 125, 1, 475, 125, 525, 150, 1, 475, 150, 525, 175, 1, 475, 175, 525, 200, 1, 475, 200, 525, 225, 1, 475, 225, 525, 250, 1, 475, 250, 525, 275, 1, 475, 275, 525, 300, 1, 225, 250, 275, 275, 1, 275, 250, 325, 275, 1, 325, 250, 375, 275, 1, 375, 250, 425, 275, 1, 425, 250, 475, 275, 1, 275, 275, 325, 300, 1, 375, 275, 425, 300, 1, 275, 100, 325, 125, 11, 275, 125, 325, 150, 11, 375, 100, 425, 125, 11, 375, 125, 425, 150, 11, 225, 225, 275, 250, 1, 225, 200, 275, 225, 1, 225, 175, 275, 200, 1, 225, 150, 275, 175, 1, 225, 125, 275, 150, 1, 225, 100, 275, 125, 1, 225, 75, 275, 100, 1, 275, 75, 325, 100, 1, 325, 75, 375, 100, 1, 375, 75, 425, 100, 1, 425, 75, 475, 100, 1, 425, 100, 475, 125, 1, 425, 125, 475, 150, 1, 425, 150, 475, 175, 1, 375, 150, 425, 175, 20, 325, 150, 375, 175, 1, 325, 125, 375, 150, 1, 325, 100, 375, 125, 1, 275, 150, 325, 175, 20, 275, 175, 325, 200, 1, 275, 200, 325, 225, 1, 275, 225, 325, 250, 1, 325, 225, 375, 250, 1, 325, 200, 375, 225, 1, 325, 175, 375, 200, 1, 375, 175, 425, 200, 1, 375, 200, 425, 225, 1, 375, 225, 425, 250, 1, 425, 225, 475, 250, 1, 425, 200, 475, 225, 1, 425, 175, 475, 200, 1);
level43Array = new Array(225, 50, 275, 75, 3, 275, 50, 325, 75, 3, 325, 50, 375, 75, 3, 375, 75, 425, 100, 3, 175, 75, 225, 100, 3, 150, 100, 200, 125, 3, 400, 100, 450, 125, 3, 125, 125, 175, 150, 3, 100, 150, 150, 175, 3, 100, 175, 150, 200, 3, 425, 125, 475, 150, 3, 425, 150, 475, 175, 3, 425, 175, 475, 200, 3, 375, 175, 425, 200, 3, 325, 175, 375, 200, 3, 275, 175, 325, 200, 3, 225, 175, 275, 200, 3, 225, 200, 275, 225, 3, 225, 225, 275, 250, 3, 225, 250, 275, 275, 3, 275, 250, 325, 275, 3, 325, 250, 375, 275, 3, 375, 250, 425, 275, 3, 425, 250, 475, 275, 3, 100, 200, 150, 225, 3, 100, 225, 150, 250, 3, 100, 250, 150, 275, 3, 125, 275, 175, 300, 3, 150, 300, 200, 325, 3, 200, 325, 250, 350, 3, 250, 325, 300, 350, 3, 300, 325, 350, 350, 3, 350, 325, 400, 350, 3, 400, 300, 450, 325, 3, 425, 275, 475, 300, 3, 300, 100, 350, 125, 20, 300, 125, 350, 150, 20, 225, 150, 275, 175, 3, 275, 150, 325, 175, 3, 325, 150, 375, 175, 3, 375, 150, 425, 175, 3, 375, 125, 425, 150, 3, 350, 100, 400, 125, 3, 325, 75, 375, 100, 3, 275, 75, 325, 100, 3, 250, 100, 300, 125, 3, 250, 125, 300, 150, 3, 200, 100, 250, 125, 3, 200, 125, 250, 150, 3, 225, 75, 275, 100, 3, 175, 150, 225, 175, 3, 175, 175, 225, 200, 3, 175, 200, 225, 225, 3, 175, 225, 225, 250, 3, 175, 250, 225, 275, 3, 200, 275, 250, 300, 3, 250, 275, 300, 300, 3, 300, 275, 350, 300, 3, 350, 275, 400, 300, 3, 350, 300, 400, 325, 3, 300, 300, 350, 325, 3, 250, 300, 300, 325, 3, 200, 300, 250, 325, 3, 150, 150, 200, 175, 3, 150, 175, 200, 200, 3, 150, 200, 200, 225, 3, 150, 225, 200, 250, 3, 150, 250, 200, 275, 3, 175, 125, 225, 150, 3, 175, 275, 225, 300, 3, 400, 275, 450, 300, 3, 350, 125, 400, 150, 3, 275, 225, 325, 250, 3, 325, 225, 375, 250, 3, 375, 225, 425, 250, 3, 425, 225, 475, 250, 3);
level44Array = new Array(100, 50, 150, 75, 7, 100, 75, 150, 100, 7, 100, 100, 150, 125, 7, 100, 125, 150, 150, 7, 100, 150, 150, 175, 7, 100, 175, 150, 200, 7, 150, 175, 200, 200, 7, 200, 175, 250, 200, 7, 200, 150, 250, 175, 7, 200, 125, 250, 150, 7, 200, 200, 250, 225, 7, 200, 225, 250, 250, 7, 250, 175, 300, 200, 7, 350, 175, 400, 200, 7, 350, 150, 400, 175, 7, 350, 125, 400, 150, 7, 350, 100, 400, 125, 7, 350, 75, 400, 100, 7, 350, 50, 400, 75, 7, 400, 175, 450, 200, 7, 450, 175, 500, 200, 7, 450, 200, 500, 225, 7, 450, 225, 500, 250, 7, 500, 175, 550, 200, 7, 450, 150, 500, 175, 7, 450, 125, 500, 150, 7, 100, 200, 150, 225, 11, 150, 200, 200, 225, 11, 250, 200, 300, 225, 11, 350, 200, 400, 225, 11, 400, 200, 450, 225, 11, 500, 200, 550, 225, 11, 500, 150, 550, 175, 11, 400, 150, 450, 175, 11, 250, 150, 300, 175, 11, 150, 150, 200, 175, 11, 100, 25, 150, 50, 11, 350, 25, 400, 50, 11, 200, 250, 250, 275, 11, 200, 100, 250, 125, 11, 450, 250, 500, 275, 11, 450, 100, 500, 125, 11, 400, 225, 450, 250, 11, 500, 225, 550, 250, 11, 250, 225, 300, 250, 11, 150, 225, 200, 250, 11, 50, 175, 100, 200, 11, 50, 150, 100, 175, 11, 50, 125, 100, 150, 11, 50, 100, 100, 125, 11, 50, 75, 100, 100, 11, 50, 50, 100, 75, 11, 150, 50, 200, 75, 11, 150, 75, 200, 100, 11, 150, 100, 200, 125, 11, 150, 125, 200, 150, 11, 300, 175, 350, 200, 11, 300, 150, 350, 175, 11, 300, 125, 350, 150, 11, 300, 100, 350, 125, 11, 250, 125, 300, 150, 11, 300, 75, 350, 100, 11, 300, 50, 350, 75, 11, 400, 50, 450, 75, 11, 400, 75, 450, 100, 11, 400, 100, 450, 125, 11, 400, 125, 450, 150, 11, 500, 125, 550, 150, 11, 250, 100, 300, 125, 25, 500, 100, 550, 125, 20);
level45Array = new Array(100, 75, 150, 100, 1, 100, 100, 150, 125, 1, 75, 125, 125, 150, 1, 75, 150, 125, 175, 1, 100, 175, 150, 200, 1, 100, 200, 150, 225, 1, 125, 225, 175, 250, 1, 125, 250, 175, 275, 1, 150, 275, 200, 300, 1, 175, 250, 225, 275, 1, 200, 225, 250, 250, 1, 225, 200, 275, 225, 1, 250, 225, 300, 250, 1, 275, 250, 325, 275, 1, 300, 225, 350, 250, 1, 325, 250, 375, 275, 1, 350, 225, 400, 250, 1, 375, 200, 425, 225, 1, 400, 175, 450, 200, 1, 450, 175, 500, 200, 1, 475, 150, 525, 175, 1, 450, 125, 500, 150, 1, 425, 100, 475, 125, 1, 400, 75, 450, 100, 1, 350, 75, 400, 100, 1, 325, 100, 375, 125, 1, 300, 75, 350, 100, 1, 475, 250, 525, 275, 1, 475, 275, 525, 300, 1, 125, 50, 175, 75, 1, 175, 50, 225, 75, 1, 200, 75, 250, 100, 1, 225, 50, 275, 75, 1, 275, 50, 325, 75, 1, 250, 150, 300, 175, 28, 125, 150, 175, 175, 28, 375, 150, 425, 175, 28, 150, 175, 200, 200, 11, 150, 200, 200, 225, 11, 275, 175, 325, 200, 11, 275, 200, 325, 225, 11, 275, 125, 325, 150, 11, 275, 100, 325, 125, 11, 150, 100, 200, 125, 11, 150, 125, 200, 150, 11, 325, 150, 375, 175, 11, 375, 125, 425, 150, 11, 350, 175, 400, 200, 11, 425, 150, 475, 175, 11, 475, 225, 525, 250, 1, 475, 200, 525, 225, 1, 325, 200, 375, 225, 1, 325, 125, 375, 150, 1, 375, 100, 425, 125, 1, 250, 75, 300, 100, 1, 225, 100, 275, 125, 1, 225, 125, 275, 150, 1, 200, 150, 250, 175, 1, 225, 175, 275, 200, 1, 150, 75, 200, 100, 1, 475, 300, 525, 325, 1, 475, 325, 525, 350, 1, 475, 350, 525, 375, 1, 500, 175, 550, 200, 1, 225, 250, 275, 275, 1);
level46Array = new Array(200, 50, 250, 75, 11, 175, 75, 225, 100, 11, 150, 100, 200, 125, 11, 125, 125, 175, 150, 11, 100, 150, 150, 175, 11, 75, 175, 125, 200, 11, 100, 200, 150, 225, 11, 125, 225, 175, 250, 11, 150, 250, 200, 275, 11, 175, 275, 225, 300, 11, 200, 300, 250, 325, 11, 350, 300, 400, 325, 11, 375, 275, 425, 300, 11, 400, 250, 450, 275, 11, 425, 225, 475, 250, 11, 450, 200, 500, 225, 11, 475, 175, 525, 200, 11, 450, 150, 500, 175, 11, 425, 125, 475, 150, 11, 400, 100, 450, 125, 11, 375, 75, 425, 100, 11, 350, 50, 400, 75, 11, 125, 175, 175, 200, 20, 175, 175, 225, 200, 20, 225, 175, 275, 200, 20, 275, 175, 325, 200, 20, 325, 175, 375, 200, 20, 375, 175, 425, 200, 20, 425, 175, 475, 200, 20, 150, 200, 200, 225, 7, 200, 200, 250, 225, 7, 400, 200, 450, 225, 7, 350, 200, 400, 225, 7, 300, 200, 350, 225, 7, 250, 200, 300, 225, 7, 150, 150, 200, 175, 7, 200, 150, 250, 175, 7, 250, 150, 300, 175, 7, 300, 150, 350, 175, 7, 350, 150, 400, 175, 7, 400, 150, 450, 175, 7);
level47Array = new Array(100, 75, 150, 100, 11, 100, 100, 150, 125, 3, 175, 100, 225, 125, 11, 175, 125, 225, 150, 3, 250, 125, 300, 150, 11, 250, 150, 300, 175, 3, 325, 175, 375, 200, 3, 325, 150, 375, 175, 11, 400, 175, 450, 200, 11, 400, 200, 450, 225, 3, 475, 200, 525, 225, 11, 475, 225, 525, 250, 3, 475, 250, 525, 275, 12, 400, 225, 450, 250, 12, 325, 200, 375, 225, 12, 250, 175, 300, 200, 12, 175, 150, 225, 175, 12, 100, 125, 150, 150, 12, 100, 50, 150, 75, 23, 175, 75, 225, 100, 26, 250, 100, 300, 125, 29, 325, 125, 375, 150, 22, 400, 150, 450, 175, 24, 475, 175, 525, 200, 28);
level48Array = new Array(200, 250, 250, 275, 7, 250, 250, 300, 275, 7, 300, 250, 350, 275, 7, 350, 250, 400, 275, 7, 400, 250, 450, 275, 7, 200, 225, 250, 250, 6, 250, 225, 300, 250, 6, 300, 225, 350, 250, 6, 350, 225, 400, 250, 6, 400, 225, 450, 250, 6, 400, 175, 450, 200, 6, 350, 175, 400, 200, 6, 300, 175, 350, 200, 6, 250, 175, 300, 200, 6, 200, 175, 250, 200, 6, 200, 125, 250, 150, 6, 250, 125, 300, 150, 6, 300, 125, 350, 150, 6, 350, 125, 400, 150, 6, 400, 125, 450, 150, 6, 200, 150, 250, 175, 7, 200, 200, 250, 225, 7, 400, 150, 450, 175, 7, 400, 200, 450, 225, 7, 350, 200, 400, 225, 7, 250, 200, 300, 225, 7, 250, 150, 300, 175, 7, 350, 150, 400, 175, 7, 300, 200, 350, 225, 20, 300, 150, 350, 175, 20, 300, 100, 350, 125, 20, 350, 100, 400, 125, 7, 400, 100, 450, 125, 7, 250, 100, 300, 125, 7, 200, 100, 250, 125, 7, 200, 75, 250, 100, 6, 250, 75, 300, 100, 6, 300, 75, 350, 100, 6, 350, 75, 400, 100, 6, 400, 75, 450, 100, 6, 450, 250, 500, 275, 15, 500, 250, 550, 275, 15, 550, 250, 600, 275, 15, 150, 250, 200, 275, 15, 100, 250, 150, 275, 15, 50, 250, 100, 275, 15, 100, 325, 150, 350, 11, 500, 325, 550, 350, 11);
level49Array = new Array(50, 300, 100, 325, 11, 100, 300, 150, 325, 11, 150, 300, 200, 325, 11, 200, 300, 250, 325, 11, 250, 300, 300, 325, 11, 300, 300, 350, 325, 11, 350, 300, 400, 325, 11, 400, 300, 450, 325, 11, 450, 300, 500, 325, 11, 500, 300, 550, 325, 11, 550, 300, 600, 325, 11, 25, 275, 75, 300, 3, 75, 275, 125, 300, 3, 125, 275, 175, 300, 3, 175, 275, 225, 300, 3, 225, 275, 275, 300, 3, 275, 275, 325, 300, 3, 325, 275, 375, 300, 3, 375, 275, 425, 300, 3, 425, 275, 475, 300, 3, 475, 275, 525, 300, 3, 525, 275, 575, 300, 3, 575, 275, 625, 300, 3, 100, 250, 150, 275, 20, 500, 250, 550, 275, 20, 375, 250, 425, 275, 20, 225, 250, 275, 275, 20);
level50Array = new Array(50, 50, 100, 75, 9, 50, 75, 100, 100, 9, 50, 100, 100, 125, 9, 50, 125, 100, 150, 9, 50, 150, 100, 175, 9, 50, 175, 100, 200, 9, 50, 200, 100, 225, 9, 50, 225, 100, 250, 9, 50, 250, 100, 275, 9, 100, 75, 150, 100, 3, 100, 100, 150, 125, 3, 100, 125, 150, 150, 3, 150, 75, 200, 100, 3, 200, 75, 250, 100, 3, 150, 150, 200, 175, 3, 200, 175, 250, 200, 3, 200, 200, 250, 225, 3, 150, 225, 200, 250, 3, 100, 225, 150, 250, 3, 100, 150, 150, 175, 3, 275, 100, 325, 125, 3, 275, 125, 325, 150, 3, 275, 150, 325, 175, 3, 275, 175, 325, 200, 3, 275, 200, 325, 225, 3, 325, 225, 375, 250, 3, 375, 200, 425, 225, 3, 375, 175, 425, 200, 3, 375, 150, 425, 175, 3, 375, 125, 425, 150, 3, 375, 100, 425, 125, 3, 325, 75, 375, 100, 3, 450, 75, 500, 100, 3, 450, 100, 500, 125, 3, 450, 125, 500, 150, 3, 450, 150, 500, 175, 3, 450, 175, 500, 200, 3, 450, 225, 500, 250, 3, 500, 50, 550, 75, 9, 500, 75, 550, 100, 9, 500, 100, 550, 125, 9, 500, 125, 550, 150, 9, 500, 150, 550, 175, 9, 500, 175, 550, 200, 9, 500, 200, 550, 225, 9, 500, 225, 550, 250, 9, 500, 250, 550, 275, 9, 100, 250, 150, 275, 9, 150, 250, 200, 275, 9, 200, 250, 250, 275, 9, 250, 250, 300, 275, 9, 300, 250, 350, 275, 9, 350, 250, 400, 275, 9, 400, 250, 450, 275, 9, 450, 250, 500, 275, 9, 450, 50, 500, 75, 9, 400, 50, 450, 75, 9, 350, 50, 400, 75, 9, 300, 50, 350, 75, 9, 250, 50, 300, 75, 9, 200, 50, 250, 75, 9, 150, 50, 200, 75, 9, 100, 50, 150, 75, 9, 325, 100, 375, 125, 20, 325, 125, 375, 150, 20, 325, 150, 375, 175, 20, 325, 175, 375, 200, 20, 325, 200, 375, 225, 20);
level50Array = new Array(100, 225, 150, 250, 1, 150, 225, 200, 250, 1, 200, 225, 250, 250, 1, 250, 225, 300, 250, 1, 300, 225, 350, 250, 1, 350, 225, 400, 250, 1, 400, 225, 450, 250, 1, 450, 225, 500, 250, 1, 500, 225, 550, 250, 1, 500, 200, 550, 225, 28, 450, 200, 500, 225, 28, 400, 200, 450, 225, 28, 350, 200, 400, 225, 28, 300, 200, 350, 225, 28, 250, 200, 300, 225, 28, 200, 200, 250, 225, 28, 150, 200, 200, 225, 28, 100, 200, 150, 225, 28);
function goPlay(temp) {
i = 0;
while (i < 51) {
removeMovieClip(eval ("l" + i));
i++;
}
trace(temp);
level = temp;
musicTrack.stop();
gotoAndPlay (46);
}
gameState = "setup";
displayBackground();
if (levelsUnlocked == 1) {
level = 1;
musicTrack.stop();
gotoAndPlay (46);
} else {
i = 0;
while (i < 50) {
ty = Math.floor(i / 10);
tx = i - (ty * 10);
attachMovie("lvlBtn", "l" + i, i);
eval ("l" + i)._x = 140 + (tx * 40);
eval ("l" + i)._y = 160 + (ty * 40);
eval ("l" + i).num = i + 1;
if (i >= levelsUnlocked) {
eval ("l" + i).gotoAndStop(2);
} else {
eval ("l" + i).gotoAndStop(1);
eval ("l" + i).btn.onRelease = function () {
trace(this._parent._parent);
this._parent._parent.goPlay(this._parent.num);
};
eval ("l" + i).btn.onRollOver = function () {
mOverSnd.start();
};
eval ("l" + i).btn.onPress = function () {
mDownSnd.start();
};
}
if (i != (level - 1)) {
eval ("l" + i).ind._visible = false;
}
i++;
}
}
startmainmenu.onRelease = function () {
i = 0;
while (i < 51) {
removeMovieClip(eval ("l" + i));
i++;
}
musicTrack.stop();
gotoAndPlay (26);
};
startmainmenu.onRollOver = function () {
mOverSnd.start();
};
startmainmenu.onPress = function () {
mDownSnd.start();
};
Frame 45
stop();
Frame 46
function convertToRadians(tempAngle) {
return((tempAngle * Math.PI) / 180);
}
function testBallHitBricks(ballID, ballx, bally, bxmove, bymove, bang) {
hitBrick = false;
newAngle = bang;
bcount = 0;
testYDist = Math.abs(bymove) + 25;
testXDist = Math.abs(bxmove) + 50;
i = 0;
while (i < thislevelArray.length) {
x = thislevelArray[i];
if (x != 0) {
if (Math.abs(x - ballx) < testXDist) {
y = thislevelArray[i + 1];
if (Math.abs(y - bally) < testYDist) {
bcount++;
a = thislevelArray[i + 2];
b = thislevelArray[i + 3];
btype = thislevelArray[i + 4];
if (((bally <= y) && ((bally + bymove) >= y)) || ((bally <= y) && ((bally + bymove) >= b))) {
if ((ballx >= x) && (ballx <= a)) {
ballID.y = y;
if (newAngle < 90) {
newAngle = 360 - newAngle;
} else {
newAngle = 180 + Math.abs(180 - newAngle);
}
hitBrick = true;
}
}
if ((ballx >= a) && ((ballx + bxmove) <= a)) {
if ((bally >= y) && (bally <= b)) {
ballID.x = a;
if (newAngle > 180) {
newAngle = 180 + Math.abs(360 - newAngle);
} else {
newAngle = 180 - newAngle;
}
hitBrick = true;
}
}
if (((bally >= b) && ((bally + bymove) <= b)) || ((bally >= b) && ((bally + bymove) <= y))) {
if ((ballx >= x) && (ballx <= a)) {
ballID.y = b;
if (newAngle > 270) {
newAngle = 360 - newAngle;
} else {
newAngle = 180 - Math.abs(180 - newAngle);
}
hitBrick = true;
}
}
if ((ballx <= x) && ((ballx + bxmove) >= x)) {
if ((bally >= y) && (bally <= b)) {
ballID.x = x;
if (newAngle > 270) {
newAngle = 180 + Math.abs(360 - newAngle);
} else {
newAngle = 180 - newAngle;
}
hitBrick = true;
}
}
trace("hit brick type = " + btype);
if (hitBrick) {
playSound(10);
switch (btype) {
case 1 :
addBonus = 75;
tempPoints = 50;
break;
case 2 :
addBonus = 75;
tempPoints = 50;
break;
case 3 :
addBonus = 100;
tempPoints = 100;
break;
case 4 :
addBonus = 100;
tempPoints = 100;
break;
case 5 :
addBonus = 100;
tempPoints = 125;
break;
case 6 :
addBonus = 100;
tempPoints = 125;
break;
case 7 :
addBonus = 100;
tempPoints = 150;
break;
case 8 :
addBonus = 100;
tempPoints = 150;
break;
case 9 :
addBonus = 100;
tempPoints = 150;
break;
case 10 :
addBonus = 100;
tempPoints = 150;
break;
case 11 :
addBonus = 100;
tempPoints = 150;
break;
case 12 :
addBonus = 50;
tempPoints = 20;
break;
case 13 :
addBonus = 50;
tempPoints = 25;
break;
case 14 :
addBonus = 50;
tempPoints = 25;
break;
case 15 :
addBonus = 50;
tempPoints = 30;
break;
case 16 :
addBonus = 50;
tempPoints = 35;
break;
case 17 :
addBonus = 50;
tempPoints = 40;
break;
case 18 :
addBonus = 50;
tempPoints = 45;
break;
case 19 :
addBonus = 50;
tempPoints = 50;
break;
case 20 :
addBonus = 250;
tempPoints = 50;
break;
case 21 :
addBonus = 250;
tempPoints = 25;
break;
case 22 :
addBonus = 250;
tempPoints = 25;
break;
case 23 :
addBonus = 250;
tempPoints = 25;
break;
case 24 :
addBonus = 250;
tempPoints = 25;
break;
case 25 :
addBonus = 250;
tempPoints = 25;
break;
case 26 :
addBonus = 250;
tempPoints = 25;
break;
case 27 :
addBonus = 250;
tempPoints = 25;
break;
case 28 :
addBonus = 5000;
tempPoints = 25;
break;
case 29 :
addBonus = 250;
tempPoints = 50;
break;
case 30 :
addBonus = 250;
tempPoints = 50;
break;
}
if (doublePoints) {
trace("DOUBLE POINTS");
addBonus = addBonus * 2;
tempPoints = tempPoints * 2;
}
if (tempPoints == undefined) {
tempPoints = 25;
}
trace("adding points = " + tempPoints);
addPoints(tempPoints);
if (btype < 20) {
if (random(3) < 2) {
var n = Math.floor(i / 5);
var _mc = pointsHolder.attachMovie("pointsClip", "p" + n, n);
_mc._x = x + 25;
_mc._y = y + 13;
_mc.points = addBonus;
}
} else {
var n = Math.floor(i / 5);
var _mc = pointsHolder.attachMovie("powerUp", "p" + n, n);
_mc._x = x + 25;
_mc._y = y + 13;
_mc.gotoAndStop(btype - 19);
_mc.points = addBonus;
_mc.typeOfPowerUp = btype - 19;
}
if ((btype < 11) || (btype > 19)) {
thislevelArray[i] = 0;
removeMovieClip(eval ("bricksHolder.b" + (i / 5)));
thisLevelBricks--;
} else {
btype--;
thislevelArray[i + 4] = btype;
eval ("bricksHolder.b" + (i / 5)).gotoAndStop(btype);
eval ("bricksHolder.b" + (i / 5)).shake = true;
trace("shake it");
}
break;
}
tmpAngle = convertToRadians(bang);
tx = spd * Math.cos(tmpAngle);
ty = spd * Math.sin(tmpAngle);
}
}
}
i = i + 5;
}
if (hitBrick) {
return(newAngle);
}
}
function positionPlayer() {
tx = int(_root._xmouse);
acl = px - tx;
px = px - (acl / 5);
if (playerState == "shrink") {
if (px < 5) {
px = 5;
}
if (px > 635) {
px = 635;
}
} else {
if (px > 586) {
px = 586;
}
if (px < 50) {
px = 50;
}
}
prot = int((-acl) / 2);
if (prot > 30) {
prot = 30;
}
if (prot < -30) {
prot = -30;
}
lastprot = prot;
player._x = px;
player._y = py;
player._rotation = prot;
}
function setupBricks() {
trace("setupBricks");
thisLevelBricks = thislevelArray.length / 5;
i = 0;
while (i < thislevelArray.length) {
x = thislevelArray[i];
y = thislevelArray[i + 1];
a = thislevelArray[i + 2];
b = thislevelArray[i + 3];
btype = thislevelArray[i + 4];
bricksHolder.attachMovie("brick", "b" + (i / 5), i / 5);
with (eval ("bricksHolder.b" + (i / 5))) {
_x = x;
_y = y;
gotoAndStop(btype);
}
i = i + 5;
}
}
function addPowerEffect(PowerUp) {
trace("effect " + PowerUp);
disablePwrUps();
powerUpCount = 240;
switch (PowerUp) {
case 1 :
return;
case 2 :
playSound(15);
if (playerState != "laser") {
attachMovie("playerlsr", "player", 199);
player._x = px;
player._y = py;
playerState = "laser";
}
lsrPowerUp = true;
return;
case 3 :
powerUpCount = 400;
if (playerState != "double") {
lsrPowerUp = false;
attachMovie("playerDouble", "player", 199);
player._x = px;
player._y = py;
playerState = "double";
}
playSound(20);
return;
case 4 :
powerUpCount = 400;
lsrPowerUp = false;
playSound(30);
if (playerState != "shrink") {
attachMovie("playerShrink", "player", 199);
player._x = px;
player._y = py;
playerState = "shrink";
}
return;
case 5 :
powerUpCount = 400;
playSound(28);
ballMaxSpeed = ballMaxSpeed + 6;
return;
case 6 :
playSound(32);
attachMovie("ball", "b" + ballNum, ballNum);
eval ("b" + ballNum).x = px;
eval ("b" + ballNum).y = 400;
eval ("b" + ballNum).angle = 300;
eval ("b" + ballNum).speed = 5;
ballNum++;
attachMovie("ball", "b" + ballNum, ballNum);
eval ("b" + ballNum).x = px;
eval ("b" + ballNum).y = 400;
eval ("b" + ballNum).angle = 230;
eval ("b" + ballNum).speed = 5;
ballNum++;
ballsInPlay = ballsInPlay + 2;
return;
case 7 :
powerUpCount = 400;
playSound(29);
trace("slow down");
ballMaxSpeed = (10 + (level / 5)) - 5;
return;
case 8 :
playSound(27);
stickyBat = true;
lsrPowerUp = false;
return;
case 9 :
playSound(26);
doublePoints = true;
return;
case 10 :
playSound(21);
trace("crazy ball");
crazyBall = true;
return;
case 11 :
_root.playSound(35);
trace("large bat");
if (playerState != "large") {
playerState = "large";
attachMovie("playerlg", "player", 199);
player._x = px;
player._y = py;
}
return;
case 12 :
_root.playSound(34);
trace("force wall");
pointsHolder.attachMovie("forceWallClip", "forceWall", 1000);
pointsHolder.forceWall._x = 25;
pointsHolder.forceWall._y = 445;
forceWallActive = true;
return;
}
}
function disablePwrUps() {
forceWallActive = false;
removeMovieClip(pointsHolder.forceWall);
playerState = "normal";
crazyBall = false;
stickyBat = false;
lsrPowerUp = false;
doublePoints = false;
ballMaxSpeed = 10 + (level / 10);
attachMovie("player", "player", 199);
player._x = px;
player._y = py;
attachMovie("playerGoesNorm", "pgn", 200);
pgn._x = px;
pgn._y = py;
}
function addPoints(tpoints) {
playerScore = playerScore + tpoints;
trace(tpoints + " points added");
if ((playerScore > 50000) && (addedLife == 0)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 100000) && (addedLife == 1)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 150000) && (addedLife == 2)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 200000) && (addedLife == 3)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 250000) && (addedLife == 4)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 300000) && (addedLife == 5)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 250000) && (addedLife == 4)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 300000) && (addedLife == 5)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 350000) && (addedLife == 6)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 400000) && (addedLife == 7)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 450000) && (addedLife == 8)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 500000) && (addedLife == 9)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 550000) && (addedLife == 10)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 600000) && (addedLife == 11)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 650000) && (addedLife == 12)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 700000) && (addedLife == 13)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 750000) && (addedLife == 14)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 800000) && (addedLife == 15)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 850000) && (addedLife == 16)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 900000) && (addedLife == 17)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 950000) && (addedLife == 18)) {
lives++;
addedLife++;
playSound(19);
} else if ((playerScore > 1000000) && (addedLife == 19)) {
lives++;
addedLife++;
playSound(19);
}
updateTextBoxes();
}
function updateTextBoxes() {
scoreTextBox.text = playerScore;
livesTextBox.text = lives;
levelTextBox.text = level;
}
function laserClass() {
}
laserClass.prototype = new MovieClip();
laserClass.prototype.onLoad = function () {
this.speed = 4;
this.maxSpeed = 10;
this.x = this._x;
this.y = this._y;
};
laserClass.prototype.onEnterFrame = function () {
if (this.speed < this.maxSpeed) {
this.speed = this.speed * 1.1;
}
this.y = this.y - this.speed;
temp = _root.testBallHitBricks(this, this.x, this.y, 0, this.speed, 270);
if (temp != undefined) {
trace("laser hit a brick");
_root.playSound(39);
removeMovieClip(this);
}
if (this.y < 25) {
removeMovieClip(this);
}
this._x = this.x;
this._y = this.y;
};
Object.registerClass("laserBullet", laserClass);
function showBall(tx, ty) {
tb = this.getNextHighestDepth();
attachMovie("showBall", "sb" + tb, tb);
eval ("sb" + tb)._x = tx;
eval ("sb" + tb)._y = ty;
}
function testiIfGameIsOver() {
if (ballsInPlay < 1) {
lives--;
if (lives < 1) {
gameState = "game over";
} else {
gameState = "lose life";
}
}
}
onMouseDown = function () {
if (lsrPowerUp) {
nowLsr = getTimer();
if ((Math.abs(nowLsr - lastLsr) > 150) || (lastLsr == undefined)) {
trace("fire laser");
trace("play laser firing sound");
playSound(38);
lastLsr = getTimer();
tb = pointsHolder.getNextHighestDepth();
pointsHolder.attachMovie("laserBullet", "lsr" + tb, 1000 + tb);
eval ("pointsHolder.lsr" + tb)._x = px;
eval ("pointsHolder.lsr" + tb)._y = py;
}
}
};
function pausebtnpress() {
if (_root.gameState == "playing") {
_root.gameState = "paused";
attachMovie("paused_clip", "tp", 9000);
tp._x = 320;
tp._y = 240;
} else if (_root.gameState == "paused") {
removeMovieClip("tp");
_root.gameState = "playing";
}
}
function frameAction() {
switch (gameState) {
case "playing" :
if (thisLevelBricks <= 0) {
gameState = "level complete";
stickyBat = false;
crazyBall = false;
}
if (thisLevelBricks <= 2) {
if (Math.abs(getTimer() - endLvlPower) > 6000) {
endLvlPower = getTimer();
pointsHolder.attachMovie("powerUp", "p" + (i / 5), i / 5);
with (eval ("pointsHolder.p" + (i / 5))) {
_x = random(600) + 20;
_y = -10;
gotoAndStop(1);
}
eval ("pointsHolder.p" + (i / 5)).points = 0;
eval ("pointsHolder.p" + (i / 5)).typeOfPowerUp = 1;
}
}
positionPlayer();
if (powerUpCount > 0) {
powerUpCount--;
this.pointsHolder.forceWall._alpha = (powerUpCount / 240) * 100;
if (powerUpCount < 1) {
_root.playSound(36);
stickyBat = false;
crazyBall = false;
doublePoints = false;
ballMaxSpeed = 10 + (level / 10);
forceWallActive = false;
removeMovieClip(this.pointsHolder.forceWall);
lsrPowerUp = false;
if ((((playerState == "double") || (playerState == "large")) || (playerState == "shrink")) || (playerState == "laser")) {
attachMovie("player", "player", 199);
player._x = px;
player._y = py;
attachMovie("playerGoesNorm", "pgn", 200);
pgn._x = px;
pgn._y = py;
}
playerState = "normal";
}
}
return;
case "paused" :
return;
case "lose life" :
trace("lose life");
playSound(40);
i = 1;
while (i < 500) {
removeMovieClip(eval ("b" + i));
removeMovieClip(eval ("pointsHolder.p" + i));
removeMovieClip(eval ("pointsHolder.lsr" + tb));
i++;
}
lwait = 90;
var _mc = attachMovie("levelAnnounce", "levelAnnounce", 300);
_mc._x = 320;
_mc._y = 140;
_mc.levelAnnounce_clip.textBox.text = "LEVEL " + level;
stickyBat = false;
crazyBall = false;
lsrPowerUp = false;
forceWallActive = false;
removeMovieClip("forceWall");
ballMaxSpeed = 10 + (level / 10);
if ((((playerState == "double") || (playerState == "large")) || (playerState == "shrink")) || (playerState == "laser")) {
attachMovie("player", "player", 199);
player._x = px;
player._y = py;
attachMovie("playerGoesNorm", "pgn", 200);
pgn._x = px;
pgn._y = py;
}
powerUpCount = 0;
playerState = "normal";
gameState = "lose life wait";
return;
case "lose life wait" :
lwait--;
if (lwait < 1) {
attachMovie("ball", "b" + ballNum, ballNum);
eval ("b" + ballNum).x = (eval ("b" + ballNum)._x = px);
eval ("b" + ballNum).y = (eval ("b" + ballNum)._y = py - 30);
eval ("b" + ballNum).angle = (210 + random(60)) + 60;
eval ("b" + ballNum).bState = "stuck to bat";
ballsInPlay = 1;
ballNum++;
lvlStart = 30;
gameState = "level start delay";
}
return;
case "level start delay" :
lvlStart--;
if (lvlStart < 1) {
gameState = "playing";
}
return;
case "level complete" :
trace("level complete");
level++;
if (level > 50) {
clearAll();
gotoAndPlay (71);
} else {
gameState = "start level";
}
updateTextBoxes();
return;
case "start level" :
removeMovieClip(pointsHolder.forceWall);
endLvlPower = getTimer();
if (level > levelsUnlocked) {
levelsUnlocked = level;
storage.data.levelsUnlocked = levelsUnlocked;
}
storage.data.uptolevel = level;
trace("up to level = " + storage.data.uptolevel);
storage.flush();
crazyBall = false;
i = 1;
while (i < 500) {
removeMovieClip(eval ("b" + i));
removeMovieClip(eval ("pointsHolder.p" + i));
removeMovieClip(eval ("pointsHolder.lsr" + tb));
i++;
}
powerUpCount = 0;
stickyBat = false;
lsrPowerUp = false;
displayBackground();
ballNum = 1;
playerbatstate = 1;
prot = 0;
px = 320;
py = 430;
pnum = 2;
attachMovie("player", "player", 199);
player._x = px;
player._y = py;
thislevelArray = eval (("level" + level) + "Array");
setupBricks();
attachMovie("ball", "b" + ballNum, ballNum);
eval ("b" + ballNum).x = (eval ("b" + ballNum)._x = px);
eval ("b" + ballNum).y = (eval ("b" + ballNum)._y = py - 30);
eval ("b" + ballNum).bState = "stuck to bat";
attachMovie("tellClick", "tellClick", 2001);
tellClick._x = 320;
tellClick._y = 470;
ballsInPlay = 1;
ballNum++;
ballMaxSpeed = 10 + (level / 10);
forceWallActive = false;
removeMovieClip(pointsHolder.forceWall);
var _mc = attachMovie("levelAnnounce", "levelAnnounce", 300);
_mc._x = 320;
_mc._y = 140;
_mc.levelAnnounce_clip.textBox.text = "LEVEL " + level;
playerState = "normal";
lvlStart = 30;
gameState = "level start delay";
return;
case "setup" :
addedLife = 0;
_quality = gameQuality;
lives = 3;
barHeight = 20;
batRad = 60;
playerScore = 0;
gameState = "start level";
ballRad = 20;
updateTextBoxes();
return;
case "game over" :
trace("game over");
clearAll();
gotoAndPlay (61);
return;
default :
gameState = "setup";
}
}
function clearAll() {
removeMovieClip(player);
}
var keyListener_obj = new Object();
keyListener_obj.onKeyDown = function () {
if (!(Key.getCode() === 32)) {
} else {
pausebtnpress();
}
};
Key.addListener(keyListener_obj);
Instance of Symbol 272 MovieClip in Frame 46
onClipEvent (enterFrame) {
_parent.frameAction();
}
Frame 55
stop();
Frame 60
gotoAndPlay (26);
Frame 61
System.security.allowDomain("*");
gameName = "breakit2";
score = playerScore;
_quality = "HIGH";
mainmenu.onRelease = function () {
delete onEnterFrame;
gotoAndPlay (26);
};
mainmenu.onRollOver = function () {
mOverSnd.start();
};
mainmenu.onPress = function () {
mDownSnd.start();
};
viewHighscoreBtn.onRelease = function () {
showHighscores();
};
if ((playerScore > yourhigh) || (playerScore > 2000)) {
yourhigh = playerScore;
storage.data.myhighscore = playerScore;
} else {
enterHigh._visible = false;
}
yourHighestText = "YOUR HIGHEST SCORE: " + yourhigh;
displayBackground();
if (score > 1000) {
setupHighscoreSubmission();
} else {
submitScoreBtnClip._visible = false;
}
if (yourhigh != undefined) {
yourHighestText = "YOUR HIGHEST SCORE: " + yourhigh;
} else {
yourHighestText = " ";
}
storage.flush();
Frame 70
_root.playSound(18);
stop();
Frame 71
function launchFireWorks(cx, cy, fxtype) {
sndR = random(3) + 1;
if (sndR == 1) {
fireWorkSnd1.start();
}
if (sndR == 2) {
fireWorkSnd2.start();
}
if (sndR == 3) {
fireWorkSnd3.start();
}
fxAm = random(50) + 50;
rotDiv = 360 / fxAm;
fxNum = this.fireWorksClip.getNextHighestDepth();
this.fireWorksClip.createEmptyMovieClip("fxholder" + fxNum, fxNum);
i = 0;
while (i < fxAm) {
eval ("fireWorksClip.fxholder" + fxNum).attachMovie("fireWorksParticle", "fx" + i, i + (100 * fxNum));
eval ((("fireWorksClip.fxholder" + fxNum) + ".fx") + i)._x = cx;
eval ((("fireWorksClip.fxholder" + fxNum) + ".fx") + i)._y = cy;
eval ((("fireWorksClip.fxholder" + fxNum) + ".fx") + i).gotoAndStop(fxtype);
eval ((("fireWorksClip.fxholder" + fxNum) + ".fx") + i).rot = i * rotDiv;
eval ((("fireWorksClip.fxholder" + fxNum) + ".fx") + i).fxtype = fxtype;
i++;
}
}
System.security.allowDomain("*");
_quality = "AUTO";
gameName = "breakit2";
score = playerScore;
c = 10;
this.createEmptyMovieClip("fireWorksClip", this.getNextHighestDepth());
onEnterFrame = function () {
c--;
if (c < 1) {
c = random(20) + 10;
launchFireWorks(random(600) + 20, random(400) + 40, random(3) + 1);
}
};
mainmenu.onRelease = function () {
delete onEnterFrame;
gotoAndPlay (26);
};
mainmenu.onRollOver = function () {
mOverSnd.start();
};
mainmenu.onPress = function () {
mDownSnd.start();
};
enterHigh._visible = true;
yourhigh = playerScore;
storage.data.myhighscore = playerScore;
if (score > 1000) {
setupHighscoreSubmission();
} else {
submitScoreBtnClip._visible = false;
}
viewHighscoreBtn.onRelease = function () {
showHighscores();
};
if (yourhigh != undefined) {
yourHighestText = "YOUR HIGHEST SCORE: " + yourhigh;
} else {
yourHighestText = " ";
}
storage.flush();
Frame 80
stop();
Symbol 303 MovieClip [__Packages.mochi.MochiServices] Frame 0
class mochi.MochiServices
{
static var _id, _container, _clip, _sendChannelName, _rcvChannelName, __get__comChannelName, onError, _listenChannel, _rcvChannel, _loader, _loaderListener, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("1.31");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
_rcvChannelName = val;
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.MochiServices.onError = onError;
} else if (mochi.MochiServices.onError == undefined) {
mochi.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
_rcvChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local2 = "_mochiservices_com_" + id;
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
allowDomains(_gatewayURL);
_clip = clip.createEmptyMovieClip(_local2, 10336, false);
_loader = new MovieClipLoader();
if (_loaderListener.waitInterval != null) {
clearInterval(_loaderListener.waitInterval);
}
_loaderListener = {};
_loaderListener.onLoadError = function (target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
mochi.MochiServices.disconnect();
mochi.MochiServices.onError.apply(null, [errorCode]);
};
_loaderListener.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_loaderListener.startTime = getTimer();
_loaderListener.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.MochiServices.disconnect();
mochi.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_loaderListener.waitInterval = setInterval(_loaderListener, "wait", 1000);
_loader.addListener(_loaderListener);
_loader.loadClip(_gatewayURL, _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
_rcvChannel = new LocalConnection();
_rcvChannel.allowDomain = function (d) {
return(true);
};
_rcvChannel.allowInsecureDomain = _rcvChannel.allowDomain;
_rcvChannel._nextcallbackID = 0;
_rcvChannel._callbacks = {};
listen();
return(_clip);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()});
_rcvChannel.onStatus = function (infoObject) {
mochi.MochiServices.onStatus(infoObject);
};
_rcvChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_rcvChannel.onError = function () {
mochi.MochiServices.onError.apply(null, ["IOError"]);
};
_rcvChannel.connect(_rcvChannelName);
trace("connected!");
_connecting = false;
_connected = true;
_listenChannel.close();
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _rcvChannel._callbacks[_local1.callbackID];
}
delete _rcvChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
onError.apply(null, ["NotConnected"]);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID});
}
_rcvChannel._callbacks[_rcvChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_rcvChannel._nextcallbackID++;
}
static var _gatewayURL = "http://www.mochiads.com/static/lib/services/services.swf";
static var _listenChannelName = "__mochiservices";
static var _connecting = false;
static var _connected = false;
}
Symbol 304 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.3");
}
static function showPreGameAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}};
options = _parseOptions(options, _local27);
if ("5cc6f7dfb67f2f08341c831480f7c2a7".length == 0) {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local23 = 11000;
var _local26 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local7._x = 10;
_local7._y = _local13 - 20;
var _local22 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local24 = options.outline;
delete options.outline;
var _local5 = _local7.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local7.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local22);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local6 = _local7.createEmptyMovieClip("_outline", 3);
_local6.lineStyle(0, _local24, 100);
_local6.moveTo(0, 0);
_local6.lineTo(_local4 - 20, 0);
_local6.lineTo(_local4 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
chk.ad_msec = _local23;
chk.ad_timeout = _local26;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local12 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local10 = (100 * _local8) / _local4;
var _local11 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(_local10 || 0, _local11));
_local2 = Math.max(this.last_pcnt, _local2);
this.last_pcnt = _local2;
_local9._xscale = _local2;
if (!chk.showing) {
var _local7 = _local12.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local5 > chk.ad_timeout) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function _loadCommunicator(options) {
var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = _parseOptions(options, _local26);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local18 = options.clip;
var _local20 = "_mochiad_com_" + options.id;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local18[_local20]) {
return(_local18[_local20].lc);
}
var _local21 = options.com_server + options.id;
_allowDomains(_local21);
delete options.id;
delete options.com_server;
var _local25 = options.depth;
delete options.depth;
var _local17 = _local18.createEmptyMovieClip(_local20, _local25);
var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1);
for (var _local15 in options) {
_local11[_local15] = options[_local15];
}
var _local6 = new LocalConnection();
var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local17;
_local6.name = _local16;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local16);
_local17.lc = _local6;
_local11.lc = _local16;
_local6._id = 0;
_local6._queue = [];
_local6.rpcResult = function (cb_arg) {
var _local8 = parseInt(cb_arg);
var _local4 = this._callbacks[_local8];
if (!_local4) {
return(undefined);
}
delete this._callbacks[_local8];
var _local5 = [];
var _local3 = 2;
while (_local3 < _local4.length) {
_local5.push(_local4[_local3]);
_local3++;
}
_local3 = 1;
while (_local3 < arguments.length) {
_local5.push(arguments[_local3]);
_local3++;
}
var _local6 = _local4[1];
var _local7 = _local4[0];
if (_local7 && (typeof(_local6) == "string")) {
_local6 = _local7[_local6];
}
if (_local6) {
_local6.apply(_local7, _local5);
}
};
_local6._didConnect = function (endpoint) {
this._endpoint = endpoint;
var _local4 = this._queue;
delete this._queue;
var _local5 = this.doSend;
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2];
_local5.apply(this, _local3);
_local2++;
}
};
_local6.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var _local4 = [];
var _local3 = 0;
while (_local3 < arguments.length) {
_local4.push(arguments[_local3]);
_local3++;
}
this._queue.push(_local4);
return(undefined);
}
this._id = this._id + 1;
var _local5 = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[_local5] = [cbobj, cbfn];
var _local7 = new LocalConnection();
var _local9 = _local7.send(this._endpoint, "rpc", _local5, args);
};
_local6._callbacks = {};
_local6._callbacks[0] = [_local6, "_didConnect"];
_local11.st = getTimer();
_local11.loadMovie(_local21 + ".swf", "POST");
return(_local6);
}
static function fetchHighScores(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["fetchHighScores", options];
_local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}
static function sendHighScore(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["sendHighScore", options];
_local1.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
}
Symbol 305 MovieClip [__Packages.letterClass] Frame 0
class letterClass extends MovieClip
{
var centerY, radiusY, speed, y, _y, x, _x, angle;
function letterClass () {
super();
}
function onLoad() {
centerY = 48;
radiusY = 5;
speed = 0.05;
y = _y;
x = _x;
}
function onEnterFrame() {
if (angle != undefined) {
y = centerY + (Math.sin(angle) * radiusY);
angle = angle + speed;
_x = x;
_y = y;
}
}
}
Symbol 306 MovieClip [__Packages.fireWorksClass] Frame 0
class fireWorksClass extends MovieClip
{
var x, _x, y, _y, xCenter, yCenter, depth, fall, _rotation, fxtype, speed, _alpha, removeMovieClip, temprot, rot;
function fireWorksClass () {
super();
}
function onLoad() {
x = _x;
y = _y;
xCenter = _x;
yCenter = _y;
depth = 1;
fall = Math.random(0.2) + 0.5;
_rotation = random(360);
if (fxtype == 1) {
speed = random(5) + 4;
}
if (fxtype == 2) {
speed = random(9) + 4;
}
if (fxtype == 3) {
speed = random(5) + 4;
}
}
function onEnterFrame() {
depth = depth + speed;
speed = speed * 0.95;
if (speed < 3) {
yCenter = yCenter + fall;
fall = fall * 1.1;
_alpha = _alpha - 3;
if (_alpha < 10) {
removeMovieClip();
}
}
temprot = (rot / 180) * Math.PI;
x = xCenter + (depth * Math.sin(temprot));
y = yCenter + (depth * Math.cos(temprot));
_x = x;
_y = y;
if ((((x < 0) || (x > 640)) || (y < 0)) || (y > 480)) {
removeMovieClip();
}
}
}
Symbol 307 MovieClip [__Packages.ballClass] Frame 0
class ballClass extends MovieClip
{
var bState, speed, x, y, stickOffset, testAngle, angle, tmpAngle, bx, by, _x, _y, temp, bricksInARow, tempPoints, removeMovieClip, hitBat;
function ballClass () {
super();
}
function onLoad() {
if (bState == undefined) {
bState = "normal";
}
speed = 0.05;
_root.showBall(x, y);
stickOffset = 0;
}
function onMouseDown() {
if (bState == "stuck to bat") {
speed = 10;
y = _root.py - 40;
if (_root.prot < 0) {
testAngle = (270 + (_root.prot * 2)) / 3;
trace(testAngle);
angle = 270 + (_root.prot * 2);
} else {
angle = 270 + (_root.prot * 2);
}
bState = "normal";
}
}
function calcPath() {
tmpAngle = _root.convertToRadians(angle);
bx = speed * Math.cos(tmpAngle);
by = speed * Math.sin(tmpAngle);
}
function onEnterFrame() {
if (_root.gameState == "playing") {
calcPath();
_x = x;
_y = y;
switch (bState) {
case "normal" :
if (_root.crazyBall) {
if (y < 400) {
temp = random(20) - 10;
angle = angle + temp;
}
}
if (!_root.stickyBat) {
if (speed < _root.ballMaxSpeed) {
speed = speed + 0.2;
} else if (speed > _root.ballMaxSpeed) {
speed = speed - 0.2;
}
}
x = x + bx;
y = y + by;
if (_root.forceWallActive) {
if (y > 445) {
_root.playSound(33);
if (angle < 90) {
angle = 360 - angle;
} else {
angle = 180 + Math.abs(180 - angle);
}
}
}
if (y < 25) {
_root.playSound(3);
y = 25;
if (angle > 270) {
angle = 360 - angle;
} else {
angle = 180 - Math.abs(180 - angle);
}
}
if (x > 615) {
_root.playSound(2);
trace(angle);
x = 615;
if (angle > 270) {
angle = 180 + Math.abs(360 - angle);
} else {
angle = 180 - angle;
}
trace(angle);
} else if (x < 25) {
_root.playSound(3);
x = 25;
if (angle > 180) {
angle = 180 + Math.abs(360 - angle);
} else {
angle = 180 - angle;
}
}
if (angle > 360) {
angle = angle - 360;
} else if (angle < 0) {
angle = angle + 360;
} else if (angle == 0) {
angle = angle + 5;
} else if (angle == 180) {
angle = angle - 5;
}
temp = _root.testBallHitBricks(this, x, y, bx, by, angle);
if (temp != undefined) {
angle = temp;
bricksInARow++;
tempPoints = 0;
switch (bricksInARow) {
case 5 :
tempPoints = 500;
_root.playSound(16);
break;
case 10 :
tempPoints = 1000;
_root.playSound(23);
break;
case 15 :
tempPoints = 2000;
_root.playSound(24);
break;
case 20 :
tempPoints = 4000;
_root.playSound(12);
break;
case 25 :
tempPoints = 8000;
_root.playSound(14);
break;
case 30 :
tempPoints = 18000;
_root.playSound(17);
break;
case 35 :
tempPoints = 25000;
_root.playSound(41);
break;
case 40 :
tempPoints = 30000;
_root.playSound(42);
break;
case 45 :
tempPoints = 35000;
_root.playSound(43);
break;
case 50 :
tempPoints = 50000;
_root.playSound(44);
break;
case 53 :
tempPoints = 100000 /* 0x0186A0 */;
_root.playSound(45);
break;
}
if (_root.doublePoints) {
tempPoints = tempPoints * 2;
}
if (tempPoints > 0) {
_root.addPoints(tempPoints);
}
}
if (y > 480) {
_root.playSound(37);
bState = "lost ball";
_root.ballsInPlay--;
_root.testiIfGameIsOver();
removeMovieClip();
trace("ball lost");
}
if (y < 408) {
hitBat = false;
}
if (!hitBat) {
if (y >= 410) {
switch (_root.playerState) {
case "normal" :
if ((x > (_root.px - 60)) && (x < (_root.px + 60))) {
hitBat = true;
}
break;
case "laser" :
if ((x > (_root.px - 60)) && (x < (_root.px + 60))) {
hitBat = true;
}
break;
case "large" :
if (x > (_root.px - 86)) {
if (x < (_root.px + 86)) {
hitBat = true;
}
}
break;
case "shrink" :
if (x > (_root.px - 30)) {
if (x < (_root.px + 30)) {
hitBat = true;
}
}
break;
case "double" :
if (!((x > (_root.px - 96)) || (x < (_root.px + 96)))) {
break;
}
if (!((x < (_root.px - 26)) || (x > (_root.px + 26)))) {
break;
}
hitBat = true;
}
if (hitBat) {
bricksInARow = 0;
hitBat = true;
trace(hitBat);
if (_root.stickyBat) {
_root.playSound(7);
bState = "stuck to bat";
stickOffset = x - _root.px;
if (Math.abs(stickOffset) > 25) {
stickOffset = stickOffset * 0.8;
}
} else {
_root.playSound(random(3) + 4);
}
if (_root.prot < 0) {
testAngle = (270 + (_root.prot * 2)) / 3;
trace(testAngle);
angle = 270 + (_root.prot * 2);
} else {
angle = 270 + (_root.prot * 2);
}
}
}
}
break;
case "lost ball" :
_root.playSound(8);
bState = "lost ball wait";
break;
case "lost ball wait" :
break;
case "stuck to bat" :
x = _root.px + stickOffset;
y = _root.py - 30;
speed = 0;
}
}
}
}
Symbol 308 MovieClip [__Packages.brickClass] Frame 0
class brickClass extends MovieClip
{
var x, _x, y, _y, shake, shaking, c;
function brickClass () {
super();
}
function onLoad() {
x = _x;
y = _y;
shake = false;
shaking = false;
}
function onEnterFrame() {
if (_root.gameState == "playing") {
if (shake) {
trace("shake");
shake = false;
shaking = true;
c = 6;
} else if (shaking) {
_x = x + random(8);
_y = y + random(8);
c--;
if (c < 1) {
shaking = false;
_x = x;
_y = y;
}
}
}
}
}
Symbol 309 MovieClip [__Packages.pointsClass] Frame 0
class pointsClass extends MovieClip
{
var x, _x, y, _y, speed, maxspeed, removeMovieClip, hitBat, points;
function pointsClass () {
super();
}
function onLoad() {
x = _x;
y = _y;
speed = 1;
maxspeed = 20;
}
function onEnterFrame() {
if (_root.gameState == "playing") {
if (speed < maxspeed) {
speed = speed * 1.1;
}
y = y + speed;
_y = y;
if (y > 480) {
removeMovieClip();
}
hitBat = false;
if (y > (_root.py - _root.barHeight)) {
if (y < (_root.py + _root.barHeight)) {
if ((_root.playerState == "normal") || (_root.playerState == "laser")) {
if (x > (_root.px - 60)) {
if (x < (_root.px + 60)) {
hitBat = true;
}
}
}
if (_root.playerState == "large") {
if (x > (_root.px - 86)) {
if (x < (_root.px + 86)) {
hitBat = true;
}
}
}
if (_root.playerState == "double") {
if ((x > (_root.px - 96)) || (x < (_root.px + 96))) {
if ((x < (_root.px - 26)) || (x > (_root.px + 26))) {
hitBat = true;
}
}
}
if (_root.playerState == "shrink") {
if (x > (_root.px - 30)) {
if (x < (_root.px + 30)) {
hitBat = true;
}
}
}
if (hitBat) {
trace("hit player - add points");
_root.player.gotoAndPlay("collectglow");
_root.addPoints(points);
_root.playSound(9);
removeMovieClip();
}
}
}
}
}
}
Symbol 310 MovieClip [__Packages.powerUpClass] Frame 0
class powerUpClass extends MovieClip
{
var x, _x, y, _y, speed, maxspeed, pState, removeMovieClip, hitBat, typeOfPowerUp, temp, points, gotoAndStop, _alpha;
function powerUpClass () {
super();
}
function onLoad() {
x = _x;
y = _y;
speed = 1;
maxspeed = 20;
pState = "normal";
}
function onEnterFrame() {
if (_root.gameState == "playing") {
if (pState == "normal") {
if (speed < maxspeed) {
speed = speed * 1.1;
}
y = y + speed;
_y = y;
if (y > 480) {
removeMovieClip();
}
if (y > (_root.py - _root.barHeight)) {
if (y < (_root.py + _root.barHeight)) {
if ((_root.playerState == "normal") || (_root.playerState == "laser")) {
if ((x > (_root.px - 60)) && (x < (_root.px + 60))) {
hitBat = true;
}
} else if (_root.playerState == "large") {
if (x > (_root.px - 86)) {
if (x < (_root.px + 86)) {
hitBat = true;
}
}
} else if (_root.playerState == "double") {
if ((x > (_root.px - 96)) || (x < (_root.px + 96))) {
if ((x < (_root.px - 26)) || (x > (_root.px + 26))) {
hitBat = true;
}
}
} else if (_root.playerState == "shrink") {
if (x > (_root.px - 30)) {
if (x < (_root.px + 30)) {
hitBat = true;
}
}
}
if (hitBat) {
_root.playSound(11);
if (typeOfPowerUp == 1) {
temp = random(11) + 2;
if (temp == 9) {
temp = 10;
}
_root.addPowerEffect(temp);
} else {
_root.addPowerEffect(typeOfPowerUp);
}
_root.addPoints(points);
gotoAndStop(19 + typeOfPowerUp);
y = _root.py - 40;
_y = y;
pState = "tell player";
}
}
}
} else if (pState == "tell player") {
_alpha = _alpha - 1;
if (_alpha < 5) {
removeMovieClip();
}
}
}
}
}
Symbol 311 MovieClip [__Packages.lvlBtnClass] Frame 0
class lvlBtnClass extends MovieClip
{
var angle, bState, c;
function lvlBtnClass () {
super();
}
function onLoad() {
angle = 0;
bState = false;
c = 120;
}
function onEnterFrame() {
if (bState) {
}
}
}
Symbol 312 MovieClip [__Packages.mochi.MochiScores] Frame 0
class mochi.MochiScores
{
static var boardID, onClose, onError;
function MochiScores () {
}
static function setBoardID(boardID) {
mochi.MochiScores.boardID = boardID;
mochi.MochiServices.send("scores_setBoardID", {boardID:boardID});
}
static function showLeaderboard(options) {
if (options.clip != null) {
if ((options.clip != mochi.MochiServices.__get__clip()) || (mochi.MochiServices.__get__childClip()._target == undefined)) {
mochi.MochiServices.disconnect();
mochi.MochiServices.connect(mochi.MochiServices.__get__id(), options.clip);
}
delete options.clip;
}
if (options.name != null) {
if (typeof(options.name) == "object") {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (typeof(options.score) == "object") {
if (options.score.text != undefined) {
options.score = options.score.text;
}
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
mochi.MochiServices.__get__clip().stop();
}
if (options.onClose != null) {
onClose = options.onClose;
} else {
onClose = function () {
mochi.MochiServices.__get__clip().play();
};
}
if (options.onError != null) {
onError = options.onError;
} else {
onError = onClose;
}
if (options.boardID == null) {
if (boardID != null) {
options.boardID = boardID;
}
}
mochi.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose);
}
static function closeLeaderboard() {
mochi.MochiServices.send("scores_closeLeaderboard");
}
static function getPlayerInfo(callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod);
}
static function submit(score, name, callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod);
}
static function requestList(callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod);
}
static function scoresArrayToObjects(scores) {
var _local5 = {};
var _local1;
var _local4;
var _local2;
var _local6;
for (var _local8 in scores) {
if (typeof(scores[_local8]) == "object") {
if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) {
_local5[_local8] = [];
_local2 = scores[_local8];
_local4 = 0;
while (_local4 < _local2.rows.length) {
_local6 = {};
_local1 = 0;
while (_local1 < _local2.cols.length) {
_local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1];
_local1++;
}
_local5[_local8].push(_local6);
_local4++;
}
} else {
_local5[_local8] = {};
for (var _local7 in scores[_local8]) {
_local5[_local8][_local7] = scores[_local8][_local7];
}
}
} else {
_local5[_local8] = scores[_local8];
}
}
return(_local5);
}
static function doClose(args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = "IOError";
}
onError.apply(null, [args.errorCode]);
} else {
onClose.apply();
}
}
}
Symbol 12 MovieClip [letter] Frame 1
#initclip 11
Object.registerClass("letter", letterClass);
#endinitclip
Symbol 26 MovieClip Frame 1
stop();
Symbol 29 MovieClip [playerlsr] Frame 9
stop();
Symbol 29 MovieClip [playerlsr] Frame 15
gotoAndStop (9);
Symbol 29 MovieClip [playerlsr] Frame 27
removeMovieClip(this);
Symbol 32 Button
on (rollOver) {
this.bState = true;
}
on (rollOut) {
this.bState = false;
}
Symbol 38 MovieClip [lvlBtn] Frame 1
#initclip 17
Object.registerClass("lvlBtn", lvlBtnClass);
#endinitclip
Symbol 42 MovieClip [fireWorksParticle] Frame 1
#initclip 12
Object.registerClass("fireWorksParticle", fireWorksClass);
#endinitclip
Symbol 49 Button
on (release) {
_root.pausebtnpress();
}
Symbol 53 MovieClip [tellClick] Frame 109
removeMovieClip(this);
Symbol 56 MovieClip [ball] Frame 1
#initclip 13
Object.registerClass("ball", ballClass);
#endinitclip
Symbol 119 MovieClip [brick] Frame 1
#initclip 14
Object.registerClass("brick", brickClass);
#endinitclip
Symbol 122 MovieClip [player] Frame 1
stop();
Symbol 122 MovieClip [player] Frame 7
gotoAndStop (1);
Symbol 122 MovieClip [player] Frame 19
removeMovieClip(this);
Symbol 124 MovieClip [pointsClip] Frame 1
#initclip 15
Object.registerClass("pointsClip", pointsClass);
#endinitclip
Symbol 138 MovieClip [powerUp] Frame 1
#initclip 16
Object.registerClass("powerUp", powerUpClass);
#endinitclip
Symbol 140 MovieClip [showBall] Frame 16
removeMovieClip(this);
Symbol 146 MovieClip [playerlg] Frame 9
stop();
Symbol 146 MovieClip [playerlg] Frame 18
gotoAndStop ("norm");
Symbol 146 MovieClip [playerlg] Frame 31
removeMovieClip(this);
Symbol 147 MovieClip [playerGoesNorm] Frame 12
removeMovieClip(this);
Symbol 150 MovieClip [playerDouble] Frame 9
stop();
Symbol 150 MovieClip [playerDouble] Frame 18
gotoAndStop ("norm");
Symbol 150 MovieClip [playerDouble] Frame 31
removeMovieClip(this);
Symbol 153 MovieClip [playerShrink] Frame 9
stop();
Symbol 153 MovieClip [playerShrink] Frame 18
gotoAndStop ("norm");
Symbol 153 MovieClip [playerShrink] Frame 31
removeMovieClip(this);
Symbol 157 MovieClip [levelAnnounce] Frame 84
removeMovieClip(this);
Symbol 160 MovieClip [laserBullet] Frame 1
stop();
Symbol 160 MovieClip [laserBullet] Frame 12
removeMovieClip(this);
Symbol 213 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 1
_parent.textBox.text = this;
Symbol 220 MovieClip Frame 75
_parent.textBox.text = _parent.textBox.text + ("END " + _parent);
_parent.play();
stop();
Symbol 241 MovieClip Frame 1
this.onPress = function () {
getURL ("http://www.terrypaton.com", "_blank");
};
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.stop();
Symbol 246 MovieClip Frame 23
stop();
Symbol 281 Button
on (press) {
_root.pausebtnpress();
}