Frame 2
delete credits.onEnterFrame;
grass.removeMovieClip();
fscommand ("allowscale", "false");
_root.registeredgame = true;
_root.echoice = "girl_temp";
_root._quality = "LOW";
_root.currentlevel = 1;
menu.currentup = false;
sign.removeMovieClip();
crowint.clearInterval();
_root.clearInterval(gametime);
gametime.clearInterval();
stop();
movieclip.prototype.loader = function () {
if (!this.init) {
this.total = int(_root.getBytesTotal() / 1000);
_root.part = 1;
this.init = true;
}
this.info = "Total 969kb Loaded " + _root.percent;
this.count = g++;
this.download = int(_root.getBytesLoaded() / 1000);
this.bytesleft = (_root.getBytesTotal() - _root.getBytesLoaded()) + " bytes";
_root.percent = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + " %";
_root.percent2 = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
this.frame = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
this.total = int(_root.getBytesTotal() / 1000);
this.loader.gotoAndPlay(_root.percent2);
this.interval = function () {
_root.play();
};
if (this.total <= this.download) {
_root.gotoAndStop("logos");
delete _root.onEnterFrame;
delete loadlogo.onEnterFrame;
} else {
_root.stop();
}
};
_root.onEnterFrame = function () {
barz.loader();
};
movieclip.prototype.introwobbler = function (tempo, dim, ddim, adder, adder2) {
this.originy = adder2;
this._y = ((this.originy + adder) + dim) + (ddim * Math.sin((this.i * Math.PI) / 180));
this.i = this.i + tempo;
if (this.i >= 360) {
this.i = 0;
}
};
loadlogo.onEnterFrame = function () {
this.introwobbler(10, 3, 5, 40, 20);
};
Frame 7
function ladybug() {
}
function bird() {
}
function superz() {
}
function powerup() {
}
function tree_class() {
}
function boards() {
}
function balloon() {
}
function star() {
}
function scrollblock() {
}
function launchbeez() {
if (!_root.hivez) {
beeenter.singleshot("beeenter", true);
hivearray = [[100, 160, 320, 270, 155, 450, 30, 180], [310, 200, 250, 100, 230, 230, 220, 120, 310]];
base.attachMovie("hive", "hive", 11, {_x:hivearray[0][random(8)], _y:hivearray[1][random(8)]});
_root.hivez = true;
}
}
function ladybug() {
ladyin.singleshot("ladyin", true);
bugarray = [[10, 30, 50, 70, 16, 60, 30, 10], [310, 230, 320, 100, 230, 230, 220, 120, 310]];
base.attachMovie("ladybug", "ladybug", 14, {_x:bugarray[0][random(8)], _y:bugarray[1][random(8)]});
}
function dropsome() {
_root.pupint = setInterval(function () {
if ((_root.pickedup == true) and (_root.powerupadded < _root.p_total)) {
_root.powerupadded++;
_root.p_num = random(_root.p_array.length);
mypoZ = random(8);
pupitup.singleshot("pupitup", true);
powerup = base.attachMovie("Pup_holder", "powerup", 9200, {_x:_root.base.poweruparray[0][mypoZ], _y:_root.base.poweruparray[1][mypoZ], i:0});
base.attachMovie("fountain", "fountainz", 9800, {_x:base.powerup._x, _y:base.powerup._y - 100});
powerup.gotoAndStop(_root.p_array[_root.p_num]);
_root.pickedup = false;
clearInterval(_root.pupint);
}
}, 15000);
}
function dropsuper() {
_root.supint = setInterval(function () {
mypoZz = random(2);
myrandz = random(2);
switch (myrandz) {
case 0 :
base.attachMovie("super1", "superp", 63, {_x:_root.base.superarray[0][mypoZz], _y:_root.base.superarray[1][mypoZz], i:0});
break;
case 1 :
base.attachMovie("super_2", "superp", 62, {_x:_root.base.superarray[0][mypoZz], _y:_root.base.superarray[1][mypoZz], i:0, tag:2});
break;
case 2 :
base.attachMovie("super_1", "superp", 62, {_x:_root.base.superarray[0][mypoZz], _y:_root.base.superarray[1][mypoZz], i:0, tag:2});
}
superup.singleshot("super_up", true);
clearInterval(_root.supint);
}, 25000);
}
function character() {
}
function drop() {
if (!this.dropfence) {
gozz.singleshot("gozz", true);
_root.base.enemy1.shutdown = true;
_root.base.enemy3.shutdown = true;
arrowz = base.attachMovie("arrow_out", "arrow", 320, {_x:500, _y:40});
arrowz.onEnterFrame = function () {
_root.base.shakeit();
this.arrowdrive(30, 10, 10, 15, 10);
};
fence2.singleshot("fenceopen", true);
base.grass.gotoAndStop(2);
base.fence.gotoAndStop(2);
base.hitsite.removeMovieClip();
}
this.dropfence = true;
}
function opponent() {
this.tosscount = 0;
this.shutdown = false;
this.bhit = false;
}
function attach() {
_root.ammotype = 2;
}
function gametime(onoff) {
if (onoff == 1) {
time = setInterval(function () {
_root.fullsecond = _root.fullsecond + 1;
mainui.ui.timeicon.nextFrame();
if (!timeinit) {
_root.minute = 0;
_root.sec = 0;
timeinit = true;
}
_root.z++;
if (_root.z < 1) {
_root.sec = "00";
}
if ((_root.z < 10) and (_root.z >= 1)) {
_root.sec = ["0" + _root.z];
}
if (_root.z >= 10) {
_root.sec = _root.z;
}
if (_root.sec > 59) {
_root.sec = "00";
_root.z = 0;
_root.minute++;
}
}, 1000);
}
if (onoff == 2) {
clearInterval(time);
_root.z = 0;
}
}
function compile_score() {
myDate = new Date();
myDate2 = new Date();
_root.storedtime = myDate.getTime(1);
_root.storedtime2 = myDate2.getTime(2);
_root.bonus = _root.bonus + _root.critterhit;
if (_root.fullsecond < 90) {
_root.bonus = _root.bonus + 20;
}
_root.yourhits = _root.chartag;
_root.hittally = (_root.uitext1 + _root.uitext2) - _root.yoursplash;
_root.score = ((_root.prevscore + _root.hittally) + _root.bonus) + _root.addscore;
_root.storedtime = _root.storedtime;
_root.inputext = _root.score;
loglocalscore();
my_score = _root.score;
my_name = _root.postname + _root.storedtime2;
}
function loadUI(lev) {
_root.attachMovie("mainui", "mainui", 10000);
_root.mainui.gotoAndStop(lev);
mainui.ui.ui_obj.gotoAndStop(_root.uiobj);
_root.uitext1 = 0;
_root.uitext2 = 0;
_root.minute = 0;
}
function addlevel(current) {
switch (current) {
case 1 :
_root.bonus = 0;
_root.lady = setInterval(ladybug, 43000);
_root.dropsome();
base.attachMovie("enemypak1", "enemy1", 7006, {xset:arrayx1, yset:arrayy1, arraydir:arraydir1, _x:489, _y:254, nametext:"enemy1"});
base.enemy1.hook.attachMovie("handsred", "b_unit", 1);
_root.powerupadded = 0;
crowint.clearInterval();
crowint = setInterval(function () {
crow.singleshot("crow", true);
c_dir = Math.randomBetween(120, 350);
_root.attachMovie("bird", "bird", 10003, {_y:c_dir, adder2:c_dir, originy:c_dir});
}, 30000);
switch (_root.charchoice) {
case "boy" :
base.attachMovie("boy_c", "char1", 10001);
base.char1.hook.attachMovie("handsred", "b_unit", 1);
break;
case "girl" :
base.attachMovie("girl", "char1", 10001);
base.char1.hook.attachMovie("handsred", "b_unit", 1);
break;
case "bear" :
base.attachMovie("bear", "char1", 10001);
base.char1.hook.attachMovie("handsred", "b_unit", 1);
}
base.char1.waterpressure = 0;
_root.ammotype = 1;
_root.superr = true;
if (_root.intense > 0) {
_root.hop1 = setInterval(function () {
attachhopper(220, 1, _root.hop1);
clearInterval(_root.hop1);
}, 22000);
_root.hop2 = setInterval(function () {
attachhopper(224, 1, _root.hop2);
clearInterval(_root.hop2);
}, 43000);
} else {
_root.hop1 = setInterval(function () {
attachhopper(220, 1, _root.hop1);
clearInterval(_root.hop1);
}, 22000);
}
base.char1.hh = 0;
base.char1.powerupcounter = 1;
if (_root.charchoice != "bear") {
base.char1.hook.b_unit.gotoAndStop(1);
} else {
base.char1.hook.b_unit.gotoAndStop(8);
}
base.char1._x = 80;
base.char1._y = 300;
base.attachMovie("pointer", "pointer", 3000);
base.attachMovie("button", "button", 600);
_root.powerupnum = 0;
base.char1.ballooncount = 20;
base.char1.powerupcounter = 0;
add_crow();
base.powerup.num = 0;
base.dropoz = 0;
add_powerup();
dropsuper();
gametime(1);
return;
case 2 :
_root.bonus = 0;
_root.lady = setInterval(ladybug, 43000);
_root.dropsome();
_root.beezid = setInterval(launchbeez, 20020);
base.attachMovie("enemypak2", "enemy1", 7006, {xset:arrayx2, yset:arrayy2, arraydir:arraydir2, _x:489, _y:254, nametext:"enemy1"});
base.enemy1.hook.attachMovie("handsred", "b_unit", 1);
_root.powerupadded = 0;
crowint.clearInterval();
crowint = setInterval(function () {
crow.singleshot("crow", true);
c_dir = Math.randomBetween(120, 350);
_root.attachMovie("bird", "bird", 10003, {_y:c_dir, adder2:c_dir, originy:c_dir});
}, 30000);
switch (_root.charchoice) {
case "boy" :
base.attachMovie("boy_c", "char1", 10001);
base.char1.hook.attachMovie("handsred", "b_unit", 1);
break;
case "girl" :
base.attachMovie("girl", "char1", 10001);
base.char1.hook.attachMovie("handsred", "b_unit", 1);
break;
case "bear" :
base.attachMovie("bear", "char1", 10001);
base.char1.hook.attachMovie("handsred", "b_unit", 1);
base.char1.hook.b_unit.gotoAndStop(8);
}
_root.ammotype = 1;
_root.superr = true;
base.char1.hh = 0;
base.char1.powerupcounter = 1;
if (_root.charchoice != "bear") {
base.char1.hook.b_unit.gotoAndStop(1);
} else {
base.char1.hook.b_unit.gotoAndStop(8);
}
base.char1._x = 80;
base.char1._y = 300;
base.attachMovie("pointer", "pointer", 3000);
base.attachMovie("button", "button", 600);
_root.powerupnum = 0;
base.char1.ballooncount = 20;
base.char1.powerupcounter = 0;
_root.hop1 = setInterval(function () {
attachhopper(220, 1);
clearInterval(_root.hop1);
}, 12000);
_root.hop2 = setInterval(function () {
attachhopper(224, 2);
clearInterval(_root.hop2);
}, 23000);
add_crow();
base.powerup.num = 0;
base.dropoz = 0;
add_powerup();
dropsuper();
gametime(1);
return;
case 3 :
_root.bonus = 0;
_root.lady = setInterval(ladybug, 43000);
_root.dropsome();
base.attachMovie("enemypak1", "enemy1", 7006, {xset:arrayx1, yset:arrayy1, arraydir:arraydir1, _x:489, _y:254, nametext:"enemy1"});
base.enemy1.hook.attachMovie("handsred", "b_unit", 1);
base.attachMovie("enemypak3", "enemy3", 7007, {xset:arrayx3, yset:arrayy3, arraydir:arraydir3, _x:489, _y:254, nametext:"enemy3"});
base.enemy3.hook.attachMovie("handsred", "b_unit", 2);
base.enemy3.hook.b_unit.gotoAndStop(8);
_root.powerupadded = 0;
crowint.clearInterval();
crowint = setInterval(function () {
crow.singleshot("crow", true);
c_dir = Math.randomBetween(120, 350);
_root.attachMovie("bird", "bird", 10003, {_y:c_dir, adder2:c_dir, originy:c_dir});
}, 30000);
base.enemy3.hook.b_unit.gotoAndStop(8);
switch (_root.charchoice) {
case "boy" :
base.attachMovie("boy_c", "char1", 10001);
base.char1.hook.attachMovie("handsred", "b_unit", 1);
break;
case "girl" :
base.attachMovie("girl", "char1", 10001);
base.char1.hook.attachMovie("handsred", "b_unit", 1);
break;
case "bear" :
base.attachMovie("bear", "char1", 10001);
base.char1.hook.attachMovie("handsred", "b_unit", 1);
}
_root.ammotype = 1;
_root.superr = true;
base.char1.hh = 0;
base.char1.powerupcounter = 1;
if (_root.charchoice != "bear") {
base.char1.hook.b_unit.gotoAndStop(1);
} else {
base.char1.hook.b_unit.gotoAndStop(8);
}
base.char1._x = 80;
base.char1._y = 300;
base.attachMovie("pointer", "pointer", 3000);
base.attachMovie("button", "button", 600);
_root.powerupnum = 0;
base.char1.ballooncount = 20;
base.char1.powerupcounter = 0;
_root.hop1 = setInterval(function () {
attachhopper(220, 2);
clearInterval(_root.hop1);
}, 20000);
_root.hop2 = setInterval(function () {
attachhopper(224, 2);
clearInterval(_root.hop2);
}, 33000);
_root.hop3 = setInterval(function () {
attachhopper(220, 1);
clearInterval(_root.hop3);
}, 42000);
_root.hop4 = setInterval(function () {
attachhopper(224, 2);
clearInterval(_root.hop4);
}, 23000);
add_crow();
base.powerup.num = 0;
base.dropoz = 0;
add_powerup();
dropsuper();
gametime(1);
}
}
function grasshoppers() {
}
function attachhopper(depth, typ) {
if (_root._currentframe == 20) {
intvz = input;
switch (typ) {
case 1 :
hoppercount++;
xxpoz = Math.randomBetween(10, 80);
yypoz = Math.randomBetween(90, 300);
crickin.singleshot("crickin", true);
_root.base.attachMovie("hopper", "h" + (hoppercount++), 10050 + hoppercount, {myweight:10, jstrength:70, jdist:1.5, _y:yypoz, _x:xxpoz, originy:yypoz, hatchtime:random(100), name:1, intervalz:input, typ:typ});
break;
case 2 :
hoppercount++;
crickin.singleshot("crickin", true);
xxpoz = Math.randomBetween(10, 80);
yypoz = Math.randomBetween(90, 300);
_root.base.attachMovie("hopper_f", "h" + (hoppercount++), 10050 + (hoppercount + 20), {myweight:10, jstrength:60, jdist:5, _y:yypoz, _x:xxpoz, originy:yypoz, hatchtime:random(100), name:2, intervalz:input, typ:typ});
}
if (hoppercount > 10) {
hoppercount = 0;
}
}
}
function doThisAfter(milliseconds, typ) {
var id = setInterval(function () {
if (_root._currentframe == 20) {
attachhopper(220, typ);
}
clearInterval(id);
clearInterval(i);
}, milliseconds);
}
function bee() {
this.movearray = [[20, -80, 10, 40, -100], [50, -70, 30, -50, 90]];
}
function hive() {
}
function bobletter() {
this.gotoAndStop(bob_array[this.name]);
counter = 0;
delay = 300;
}
globalsoundcontrol = new Sound();
_root.holdit = false;
Object.registerClass("balloon0", balloon);
attachMovie("masker", "masker", 9000000000000);
_root.attachMovie("quitbutton", "quitbut", 9000000000002, {_x:485, _y:365});
base.char1.ballooncount = 20;
Object.registerClass("enemypak1", opponent);
Object.registerClass("enemypak2", opponent);
Object.registerClass("ladybug", ladybug);
Object.registerClass("enemypak3", opponent);
Object.registerClass("bird", bird);
Object.registerClass("boy_c", character);
Object.registerClass("bear", character);
Object.registerClass("Pup_holder", powerup);
Object.registerClass("star", star);
Object.registerClass("balloon1", balloon);
Object.registerClass("super", balloon);
Object.registerClass("super1", superz);
Object.registerClass("super2", balloon);
Object.registerClass("super_2", superz);
Object.registerClass("balloon2", balloon);
Object.registerClass("board_rules", boards);
Object.registerClass("tallyboard1", boards);
Object.registerClass("board_controls", boards);
Object.registerClass("sorryboard", boards);
Object.registerClass("tallyboard", boards);
Object.registerClass("board_register", boards);
Object.registerClass("char_setup", boards);
Object.registerClass("board_score", boards);
Object.registerClass("scoreboardmain", boards);
Object.registerClass("endround", boards);
Object.registerClass("scrollblock", scrollblock);
Object.registerClass("tree1", tree_class);
Object.registerClass("grass_long", tree_class);
Object.registerClass("picnik", tree_class);
ladybug.prototype = new MovieClip();
superz.prototype = new MovieClip();
tree_class.prototype = new MovieClip();
powerup.prototype = new MovieClip();
bird.prototype = new MovieClip();
boards.prototype = new MovieClip();
balloon.prototype = new MovieClip();
star.prototype = new MovieClip();
scrollblock.prototype = new MovieClip();
boards.prototype.onEnterFrame = function () {
if (this.inside.unlock) {
this.direction = 2;
}
switch (this.name) {
case "menu" :
this.spinit(2, 4, true);
return;
case "level1" :
this.spinit(1, 8, true);
return;
case "level2" :
this.spinit(1, 8, true);
return;
case "level3" :
this.spinit(1, 8, true);
return;
case "gameover" :
this.inner.gotoAndStop("level1over");
this.spinit(1, 4, true);
}
};
_root.pickedup = true;
_quality = "Low";
stop();
initializemouse = true;
Movieclip.prototype.mousemove = function () {
if (_root.initializemouse) {
this.xtarget = 240;
this.ytarget = 200;
this.xstart = this._x;
this.ystart = this._y;
_root.initializemouse = false;
}
if (base.hitsite.hitTest(_root._xmouse, _root._ymouse, true)) {
this.xtarget = this._x;
this.ytarget = this._y;
}
this.x = Math.abs(this.xstart - this.xtarget);
this.y = Math.abs(this.ystart - this.ytarget);
if (this.x > this.y) {
this.xspeed = 3;
this.yspeed = 3 * (this.y / this.x);
} else {
this.yspeed = 3;
this.xspeed = 3 * (this.x / this.y);
}
this.xtarget + 2;
if ((((this._x > 5) || (this._x < (this.xtarget - 2.5))) || (this._y > (this.ytarget + 2.5))) || (this._y < (this.ytarget - 2.5))) {
if (this._x > this.xtarget) {
this._x = this._x - this.xspeed;
} else {
this._x = this._x + this.xspeed;
}
if (this._x > (this.xtarget - 5)) {
this.dir = "left";
this.dirnum = 1;
}
if (this._x < (this.xtarget + 12)) {
this.dir = "right";
this.dirnum = 2;
}
if (this._y > (this.ytarget + 3)) {
this.dir = "up";
this.dirnum = 3;
}
if (this._y < (this.ytarget - 3)) {
this.dir = "down";
this.dirnum = 4;
}
if (this._x == this.xtarget) {
this.dir = "center";
this.dirnum = 5;
}
if (this._y > this.ytarget) {
this._y = this._y - this.yspeed;
} else {
this._y = this._y + this.yspeed;
}
} else if (this.firing) {
this.dir = "center";
this.dirnum = 5;
}
this.onMouseDown = function () {
this.xtarget = _root._xmouse;
this.ytarget = _root._ymouse;
this.xstart = this._x;
this.ystart = this._y;
};
};
Movieclip.prototype.followm = function () {
if ((this._x - base.char1._x) <= 0) {
this.dir = "center";
}
this.Xpos = _xmouse;
this.Ypos = _ymouse;
this._x = base.char1._x;
this._y = base.char1._y;
this.x = this.Xpos - this._x;
this.y = this.Ypos - this._y;
this.r = Math.sqrt((this.x * this.x) + (this.y * this.y));
this.sinTheta = this.y / this.r;
this.theta = Math.asin(this.sinTheta);
if (this.Xpos < this._x) {
this._rotation = 270 - (this.theta / 0.0174532925199433 /* Math.PI/180 */);
} else if (this._x < this.Xpos) {
this._rotation = 90 + (this.theta / 0.0174532925199433 /* Math.PI/180 */);
}
};
_root.onMouseUp = function () {
base.char1.firing = true;
base.char1.gotoAndPlay(1);
base.char1.dir = 5;
if (base.hitsite.hitTest(_xmouse, _ymouse, true)) {
if (Math.floor((base.char1._x - _root._xmouse) < 0)) {
base.char1.gotoAndStop("right");
}
if (Math.floor((base.char1._y - _root._ymouse) > 0) and Math.floor((base.char1._x - _root._xmouse) > -20)) {
base.char1.gotoAndStop("center");
}
} else {
this.firing = false;
this.moveme = false;
}
};
_root.onMouseDown = function () {
if ((base.hitsite.hitTest(_xmouse, _ymouse, true) and (_root.holdit == false)) and (base.char1.ballooncount >= 0)) {
base.char1.firing = false;
this.numm++;
if (base.char1.ballooncount < 0) {
this.hit = false;
base.char1.holdfire = false;
base.char1.gotoAndStop("centern");
}
base.char1.ballooncount--;
base.char1.dir = "false";
this.moving = false;
targ_y = base.pointer._y;
targ_x = base.pointer._x;
if (base.char1.ballooncount >= 0) {
blurp.singleshot("blurp", true);
switch (_root.ammotype) {
case 1 :
this.colorz = random(3);
attachMovie("balloon" + this.colorz, [1], this.numm + 3000, {_x:targ_x, _y:targ_y, _rotation:base.pointer._rotation, name:base.char1, tag:en, typ:1, colorz:this.colorz});
break;
case 2 :
attachMovie("super", [1], this.numm + 3000, {_x:targ_x, _y:targ_y, _rotation:base.pointer._rotation, name:base.char1, tag:"me", typ:2, colorz:"star"});
break;
case 3 :
attachMovie("super2", [1], this.numm + 3000, {_x:targ_x, _y:targ_y, _rotation:base.pointer._rotation, name:base.char1, tag:"me", typ:2, colorz:"sun"});
}
if (Math.floor((base.char1._x - _root._xmouse) < 0)) {
base.char1.gotoAndStop("throwright");
}
if (Math.floor((base.char1._y - _root._ymouse) > 0) and Math.floor((base.char1._x - _root._xmouse) > -20)) {
base.char1.gotoAndStop("throwup");
}
}
} else {
this.moving = true;
}
};
ladybug.prototype.onEnterFrame = function () {
if (!this.init) {
this.cool = false;
this.init = true;
}
this.blinker(30);
this.lifetimer++;
if (this._y == 0) {
this.cool = false;
delete eval (this.onEnterFrame());
this.removeMovieClip();
}
if (this.lifetimer > 290) {
this.dir = 2;
} else {
this.dir = 1;
}
if (this.hitTest(_root.base.char1)) {
this.gotoAndPlay("up");
if (!this.cool) {
this.fly = true;
this.gotoAndPlay("up");
cool.singleshot("cool", true);
if (_root.base.char1.ballooncount <= 0) {
_root.base.char1.ballooncount = _root.base.char1.ballooncount + 6;
} else {
_root.base.char1.ballooncount = _root.base.char1.ballooncount + 5;
}
this.lifetimer = 360;
base.char1.attachMovie("ladyx", "ladyx", 7, {_x:base.char1.hook._x, _y:base.char1.hook._y});
this.cool = true;
}
}
if (this.lifetimer > 350) {
if (!this.fly) {
ladyout.singleshot("ladyout", true);
this.gotoAndPlay("up");
this.fly = true;
}
this.up++;
this._y = this._y - (1 * (this.up / 10));
this._x = this._x + (Math.sin(this._y / 5) * 2);
} else if (!this.fly) {
switch (this.dir) {
case 1 :
if (!this.lock) {
this.gotoAndPlay("right");
this.lock = true;
}
this._x = this._x + 1;
return;
case 2 :
if (!this.lockx) {
this.gotoAndPlay("left");
this.lockx = true;
}
this._x = this._x - 1;
}
}
};
superz.prototype.onEnterFrame = function () {
if (this.hitTest(_root.base.char1)) {
dropsuper();
_root.holdit = false;
superbz.singleshot("superbz", true);
superb.singleshot("superb", true);
_root.base.char1.hh = 0;
if (this.tag == 2) {
_root.ammotype = 3;
base.attachMovie("bsup1", "bsupz", 10, {_x:this._x - 10, _y:this._y});
base.char1.hook.b_unit.gotoAndStop(5);
} else {
base.attachMovie("bsup2", "bsupz", 10, {_x:this._x - 10, _y:this._y});
base.char1.hook.b_unit.gotoAndStop(2);
_root.ammotype = 2;
}
this.removeMovieClip();
}
this.blinker(30);
this.i++;
if ((this.i > 120) and (this.i < 122)) {
this.hh = 0;
}
if (this.i > 160) {
this.i = 0;
superout.singleshot("superout", true);
dropsuper();
this.removeMovieClip();
}
};
powerup.prototype.onEnterFrame = function () {
if (!this.init) {
this.i = 0;
this.init = true;
}
this.blinker(30);
this.i++;
if ((this.i > 120) and (this.i < 122)) {
this.hh = 0;
}
if (this.i > 180) {
pupout.singleshot("pupout", true);
_root.powerupadded--;
_root.pickedup = true;
dropsome();
this.removeMovieClip();
}
if (this.hitTest(_root.base.char1)) {
base.char1.attachMovie("rings", "rings", 6, {_x:base.char1.hook._x, _y:base.char1.hook._y});
base.char1.hh = 0;
mainui.ui.powerupmeter.gotoAndStop(_root.powerupadded + 1);
mainui.ui.powerupmeter["p_jar" + _root.powerupadded].gotoAndStop(_root.p_array[_root.p_num]);
switch (_root.p_array[_root.p_num]) {
case "1" :
strawberry.singleshot("strawberry ", true);
pup2.singleshot("powerup_grabbed", true);
break;
case "2" :
icecream.singleshot("icecream ", true);
pup2.singleshot("powerup_grabbed", true);
break;
case "3" :
frenchfries.singleshot("frenchfries", true);
pup2.singleshot("powerup_grabbed", true);
break;
case "4" :
pancake.singleshot("pancake", true);
pup2.singleshot("powerup_grabbed", true);
break;
case "5" :
cookie.singleshot("cookie", true);
pup2.singleshot("powerup_grabbed", true);
break;
case "6" :
tomatoes.singleshot("tomatoes", true);
pup2.singleshot("powerup_grabbed", true);
break;
case "7" :
carrotz.singleshot("carrotz", true);
pup2.singleshot("powerup_grabbed", true);
break;
case "8" :
water.singleshot("watermelon ", true);
pup2.singleshot("powerup_grabbed", true);
break;
case "9" :
pudding.singleshot("pudding", true);
pup2.singleshot("powerup_grabbed", true);
break;
case "10" :
pbj.singleshot("pbj", true);
pup2.singleshot("powerup_grabbed", true);
break;
case "11" :
corn.singleshot("corn", true);
pup2.singleshot("powerup_grabbed", true);
break;
case "12" :
pear.singleshot("pear", true);
pup2.singleshot("powerup_grabbed", true);
}
_root.p_array.splice(_root.p_num, 1);
strawb_in.singleshot("strawb_in", true);
_root.p_left--;
_root.pickedup = true;
this.removeMovieClip();
clearInterval(_root.pupint);
dropsome();
}
};
Object.registerClass("boy_c", character);
Object.registerClass("girl", character);
character.prototype = new MovieClip();
character.prototype.onEnterFrame = function () {
if (this.ballooncount < 0) {
_root.balloontick = 0;
this.balloncount = 0;
}
_root.balloontick = int(this.ballooncount);
_root.yoursplash = _root.op1 + _root.op2;
if (((_root.op1 + _root.op2) >= 5) and (this.warningsoundzz != true)) {
warningzz.singleshot("warningzz", true);
this.warningsoundzz = true;
}
_root.chartag = _root.uitext1 + _root.uitext2;
this.blinker(30);
switch (_root.currentlevel) {
case 1 :
if (_root.p_array.length < 1) {
drop();
}
break;
case 2 :
if (_root.p_array.length < 1) {
drop();
}
break;
case 3 :
if (_root.p_array.length >= 1) {
break;
}
drop();
}
if (this.ballooncount > 20) {
this.ballooncount = 20;
}
base.pointer.followm();
if ((this._x > 420) and (this._y < 200)) {
if (!this.leavers) {
if (_root.currentlevel < 3) {
leaver.singleshot("leaver", true);
} else {
winsound.singleshot("winsound", true);
}
this.leavers = true;
}
base.Pup_holder.removeMovieClip();
clearInterval(_root.pupint);
clearInterval(_root.hopint);
clearInterval(_root.beezid);
base.superp.removeMovieClip();
this.removeMovieClip();
_root.passed = true;
clearInterval(_root.supint);
_root.state = "clear";
_root.sticker = 0;
_root.holdit = false;
base.ladybug.removeMovieClip();
clearInterval(_root.lady);
_root.state = "clear";
clearInterval(_root.hop1);
clearInterval(_root.hop2);
clearInterval(_root.hop3);
clearInterval(_root.hop4);
doThisAfter(1);
gotoAndPlay (28);
this.dropfence = false;
base.removeMovieClip();
mainui.removeMovieClip();
}
if (((_root.op1 + _root.op2) >= 10) || (_root.sticker >= 3)) {
doThisAfter(1);
if (_root.sticker >= 3) {
_root.frogsign = true;
}
_root.holdit = false;
_root.sticker = 0;
_root.passed = false;
base.ladybug.removeMovieClip();
clearInterval(_root.lady);
base.Pup_holder.removeMovieClip();
base.superp.removeMovieClip();
_root.state = "clear";
clearInterval(_root.hop1);
clearInterval(_root.hop2);
clearInterval(_root.hop3);
clearInterval(_root.hop4);
_root.crits = true;
_root.gotoAndPlay("clearlevel");
clearInterval(_root.lady);
clearInterval(_root.supint);
this.dropfence = false;
_root.base.removeMovieClip();
mainui.removeMovieClip();
}
if (this.hitTest(_level0[0])) {
this.randomcry = random(20);
if (this.randomcry == 5) {
laugh2.singleshot("laugh2", true);
}
if (this.randomcry == 8) {
goodhit.singleshot("goodhit", true);
}
if (this.randomcry == 18) {
longlaugh.singleshot("longlaugh", true);
}
this.hit = true;
base.attachMovie("splasher", "splash", 240000, {_y:this._y, _x:this._x});
base.attachMovie("popper" + _level0[0].colorz, "red", 230000, {_y:this._y, _x:this._x});
this.gotoAndPlay("hit");
_root.score2.singleshot("score2", true);
switch (_level0[0].name) {
case _level0.base.enemy1 :
_root.op1++;
this.hitspin = 0;
break;
case _level0.base.enemy3 :
_root.op2++;
this.hitspin = 0;
}
delete _level0[0].onEnterFrame;
_level0[0].removeMovieClip();
} else if (this.hitspin > 20) {
_root.moveme = true;
this.hit = false;
} else {
this.hitspin++;
}
if (_root.chartag < 0) {
_root.chartag = 0;
}
if (this.hitTest(base.spiket1)) {
if (_root.charchoice == "bear") {
base.char1.hook.b_unit.gotoAndStop(8);
} else {
base.char1.hook.b_unit.gotoAndStop(1);
}
if (!this.soundinit) {
fill.singleshot("fillup", true);
this.soundinit = true;
}
_root.base.spiket1.gotoAndStop(1);
_root.holdit = false;
_root.mainui.ui.pressure.gotoAndStop(int(this.waterpressure));
if (this.waterpressure > 0) {
this.waterpressure = this.waterpressure - 0.1;
this.ballooncount = this.ballooncount + 0.1;
this.balloncount = Math.floor(this.ballooncount);
}
_root.ammotype = 1;
} else {
if (this.waterpressure < 20) {
_root.mainui.ui.pressure.gotoAndStop(int(this.waterpressure));
this.waterpressure = this.waterpressure + 0.1;
this.waterpl = false;
} else {
if (!this.waterpl) {
_root.base.attachMovie("pipesplash", "piper", 77000, {_y:base.spiket1._y, _x:base.spiket1._x});
waterppp.singleshot("wateron", true);
this.waterpl = true;
}
base.spiket1.play();
}
this.soundinit = false;
this.ballooncount = int(this.ballooncount);
}
if (this.waterpressure <= 2) {
if (!this.waterp) {
girgle.singleshot("girgle", true);
this.waterp = true;
}
} else {
this.waterp = false;
}
if ((-Math.floor(this._x - _root._xmouse)) > 0) {
this.dist = -Math.floor(this._x - _root._xmouse);
} else {
this.dist = Math.floor(this._x - _root._xmouse);
}
this.adder = int(this.dist / 15);
if ((-Math.floor(this._y - _root._ymouse)) > 0) {
this.distY = -Math.floor(this._y - _root._ymouse);
} else {
this.distY = Math.floor(this._y - _root._ymouse);
}
this.adder2 = int(this.distY / 12);
if (_root.initializemouse) {
this.xtarget = 180;
this.ytarget = 200;
this.xstart = this._x;
this.ystart = this._y;
_root.initializemouse = false;
}
if (base.hitsite.hitTest(_root._xmouse, _root._ymouse, true)) {
this.xtarget = this._x;
this.ytarget = this._y;
}
if (!base.hitTest(_root._xmouse, _root._ymouse, true)) {
this.xtarget = this._x;
this.ytarget = this._y;
}
this.x = Math.abs(this.xstart - this.xtarget);
this.y = Math.abs(this.ystart - this.ytarget);
if (this.x > this.y) {
this.xspeed = 3;
this.yspeed = 3 * (this.y / this.x);
} else {
this.yspeed = 3;
this.xspeed = 3 * (this.x / this.y);
}
if ((((this._x > (this.xtarget + 2)) || (this._x < (this.xtarget - 2))) || (this._y > (this.ytarget + 2))) || (this._y < (this.ytarget - 2))) {
if (this._x > this.xtarget) {
this._x = this._x - this.xspeed;
} else {
this._x = this._x + this.xspeed;
}
if (this._x > (this.xtarget - 50)) {
this.dir = "left";
this.dirnum = 1;
}
if (this._x < (this.xtarget + 50)) {
this.dir = "right";
this.dirnum = 2;
}
if (this._y > (this.ytarget + 40)) {
this.dir = "up";
this.dirnum = 3;
}
if (this._y < (this.ytarget - 40)) {
this.dir = "down";
this.dirnum = 4;
}
if (this._y > this.ytarget) {
this._y = this._y - this.yspeed;
} else {
this._y = this._y + this.yspeed;
}
} else {
if (this.firing) {
this.dir = "center";
}
this.dirnum = 5;
}
this.onMouseDown = function () {
base.char1.moveme = true;
this.xtarget = _root._xmouse;
this.ytarget = _root._ymouse;
this.xstart = this._x;
this.ystart = this._y;
};
mainui.ui.powerbar.bar.gotoAndPlay(this.adder);
if (!mainui.ui.cholder._visible) {
with (mainui.ui.fballoon) {
blinker(30);
if (hh > 30) {
hh = 0;
}
}
}
if (this.ballooncount < 0) {
if (_root.charchoice != "bear") {
base.char1.hook.b_unit.gotoAndStop(1);
} else {
base.char1.hook.b_unit.gotoAndStop(8);
}
mainui.ui.cholder._visible = false;
mainui.ui.getmore._visible = true;
} else {
mainui.ui.cholder._visible = true;
mainui.ui.getmore._visible = false;
}
this.balloncountz = this.ballooncount;
if (!this.hit) {
if (this.ballooncount > 0) {
switch (this.dir) {
case "right" :
this.gotoAndStop("right");
break;
case "left" :
this.gotoAndStop("left");
break;
case "down" :
this.gotoAndStop("down");
break;
case "up" :
this.gotoAndStop("up");
break;
case "center" :
this.gotoAndStop("center");
}
} else {
switch (this.dir) {
case "right" :
this.gotoAndStop("rightn");
return;
case "left" :
this.gotoAndStop("leftn");
return;
case "down" :
this.gotoAndStop("downn");
return;
case "up" :
this.gotoAndStop("upn");
return;
case "center" :
this.gotoAndStop("centern");
}
}
}
};
opponent.prototype = new MovieClip();
opponent.prototype.onEnterFrame = function () {
if (this.hitTest(_level0[1])) {
_root.charpoint++;
if (_root.charpoint == 10) {
scorepoint.singleshot("pointsz", true);
_root.charpoint = 0;
}
this.randomcry = random(80);
switch (this.randomcry) {
case 5 :
cry.singleshot("cry", true);
break;
case 67 :
niceone.singleshot("niceone", true);
break;
case 72 :
gotcha.singleshot("gotcha", true);
break;
case 25 :
cry.singleshot("cry", true);
break;
case 24 :
lookout.singleshot("lookout", true);
break;
case 56 :
cry.singleshot("cry", true);
break;
case 18 :
hehe.singleshot("hehe", true);
break;
case 22 :
longestlaugh.singleshot("longestlaugh", true);
}
this.moveme = false;
base.attachMovie("popper" + _level0[1].colorz, "red2", 230001, {_y:this._y, _x:this._x});
switch (_level0[1].colorz) {
case "star" :
supersplash.singleshot("supersplash", true);
base.attachMovie("popper_star", "popstar", 240002, {_y:this._y, _x:this._x});
break;
case "sun" :
supersplash.singleshot("supersplash", true);
base.attachMovie("popper_sun", "popsun", 240003, {_y:this._y, _x:this._x});
}
base.attachMovie("splasher", "splash", 240001, {_y:this._y, _x:this._x});
this.gotoAndPlay("hit");
switch (this.nametext) {
case "enemy1" :
_root.uitext1 = _root.uitext1 + _level0[1].typ;
_root.scory.singleshot("score1", true);
_level0[1].removeMovieClip();
break;
case "enemy3" :
_root.uitext2 = _root.uitext2 + _level0[1].typ;
_root.scory.singleshot("score1", true);
_level0[1].removeMovieClip();
}
}
this.cx = this._x - base.char1._x;
this.cy = this._y / base.char1._y;
this.adder = this.cx / 15;
if ((((this.cx < 430) and (this.cy < 5)) and (this.cy > 0.4)) and (this.shutdown == false)) {
this.seconds = random(_root.op_throw);
if (this.seconds < _root.throwlock) {
this.moveme = false;
if (this.tosscount < 3) {
this.tosscount++;
this.fire("left", true, this.adder);
this.gotoAndStop("throwleft");
}
} else if ((this.hit == false) and (this.moveme == true)) {
this.gotoAndStop("center");
this.tosscount = 0;
this.fire("left", false);
}
}
if (((this.cy < 500) and (this.cx < 120)) and (this.shutdown == false)) {
this.seconds = random(_root.op_throw);
if (this.seconds < _root.throwlock) {
this.moveme = false;
if (this.tosscount < 3) {
this.tosscount++;
this.fire("down", true, this.adder);
this.gotoAndStop("throwdown");
}
} else if ((this.hit == false) and (this.moveme == true)) {
this.gotoAndStop("center");
this.fire("up", false);
this.tosscount = 0;
}
}
if (!this.hit) {
this.arr = arr;
if ((this.xx <= this.xset.length) and (this.edir == 1)) {
this.xx++;
this.forwards = true;
this._x = this.xset[this.xx];
this._y = this.yset[this.xx];
} else {
this.edir = 2;
}
if ((this.xx > 0) and (this.edir == 2)) {
this.xx--;
this.forwards = false;
this._x = this.xset[this.xx];
this._y = this.yset[this.xx];
} else {
this.edir = 1;
}
if (this.moveme) {
if (this.forwards) {
switch (this.arraydir[this.xx]) {
case 3 :
this.gotoAndStop("up");
break;
case 4 :
this.gotoAndStop("down");
break;
case 2 :
this.gotoAndStop("right");
break;
case 1 :
this.gotoAndStop("left");
break;
case 5 :
this.gotoAndStop("center");
}
} else {
switch (this.arraydir[this.xx]) {
case 3 :
this.gotoAndStop("down");
return;
case 4 :
this.gotoAndStop("up");
return;
case 2 :
this.gotoAndStop("left");
return;
case 1 :
this.gotoAndStop("right");
return;
case 5 :
this.gotoAndStop("center");
}
}
}
}
};
bird.prototype.onEnterFrame = function () {
this._x = this._x + 2.5;
if (this.hitTest(base.char1)) {
if (!this.sound) {
crowattack.singleshot("crowattack", true);
this.sound = true;
}
if (base.char1.ballooncount > 5) {
base.char1.ballooncount--;
}
this.gotoAndPlay(11);
}
if (!this.init1) {
this.originx = this._x;
this.init1 = true;
}
this.birdwobbler(3, 34.5, 50, 15, 10);
if (this._x > 630) {
if (!returning) {
delete this.onEnterFrame;
this.removeMovieClip();
} else {
this._x = this.originx - 20;
}
}
};
Math.randomBetween = function (a, b) {
return(a + Math.floor(Math.random() * ((b - a) + 1)));
};
movieclip.prototype.wobbler1 = function (tempo, dim, ddim, alpha, dalpha, adder, adder2) {
this.originy = adder2;
this._y = ((this.originy + adder) + dim) + (ddim * Math.sin((this.i * Math.PI) / 180));
this.i = this.i + tempo;
if (this.i >= 360) {
this.i = 0;
}
};
movieclip.prototype.birdwobbler = function (tempo, dim, ddim, alpha, dalpha) {
this._y = (this.originy + dim) + (ddim * Math.sin((this.i * Math.PI) / 180));
this.i = this.i + tempo;
if (this.i >= 360) {
this.i = 0;
}
};
Movieclip.prototype.blinker = function (setblink) {
if (!this.colorinit) {
this.hh = 0;
this.s = [0, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0, 255];
this.c = new Color(this);
this.colorinit = true;
}
if (this.hh < this.s.length) {
this.hh++;
this.c.setBrightOffset(this.s[this.hh]);
}
};
Color.prototype.setBrightOffset = function (offset) {
if (!this.blinkinit) {
this.hh = 0;
this.blinkinit = true;
}
this.trans = new Object();
this.trans.rb = (this.trans.gb = (this.trans.bb = offset));
this.setTransform(this.trans);
};
Color.prototype.setTint = function (r, g, b, amount) {
var percent = (100 - amount);
var trans = new Object();
trans.ra = (trans.ga = (trans.ba = percent));
var ratio = (amount / 100);
trans.rb = r * ratio;
trans.gb = g * ratio;
trans.bb = b * ratio;
this.setTransform(trans);
};
Movieclip.prototype.spinit = function (method, seconds, removeit, mytarg) {
if (!this.spininit) {
this._alpha = 0;
this.inside._xscale = 0;
this.inside._yscale = 0;
this.direction = 1;
this.spininit = true;
}
if ((this.inside._xscale < 100) and (this.direction != 2)) {
this.inside._rotation = this.inside._rotation + 72;
this._alpha = this._alpha + 10;
this.inside._xscale = this.inside._xscale + 10;
this.inside._yscale = this.inside._yscale + 10;
this.t1++;
}
switch (method) {
case 1 :
if (this.inside._xscale >= 100) {
if (!this.soundz) {
readyz.singleshot("readyz", true);
this.soundz = true;
}
if ((this.spintimer > (seconds * 10)) and (this.spintimer < (seconds * 20))) {
if (!this.sound2) {
setter.singleshot("setter", true);
this.sound2 = true;
}
this.inside.ready.gotoAndStop(2);
}
if (this.spintimer > (seconds * 20)) {
if (!this.sound3) {
go.singleshot("go", true);
this.sound3 = true;
}
this.inside.ready.gotoAndStop(3);
}
if (this.spintimer >= (seconds * 30)) {
this.direction = 2;
} else {
this.spintimer++;
}
}
break;
case 2 :
}
if (this.direction != 1) {
_root.menu.prototype.locked = false;
this.inside._rotation = this.inside._rotation - 72;
this._alpha = this._alpha - 5;
this.inside._xscale = this.inside._xscale - 5;
this.inside._yscale = this.inside._yscale - 5;
this.t1--;
if (this._alpha <= 1) {
switch (this.name) {
case "level1" :
addlevel(1);
break;
case "level2" :
addlevel(2);
break;
case "level3" :
addlevel(3);
}
if (this.tag == "end") {
_root.gotoAndStop("intro");
}
menu.currentup = false;
delete this.onEnterFrame;
delete this.inside.ready.onEnterFrame;
this.removeMovieClip();
}
}
};
_root.powerupnum = 0;
this.count = 0;
while (this.count < 5) {
_root["uitext" + this.count] = 0;
this.count++;
}
Movieclip.prototype.stardrive = function () {
this._y = this._y - 0.3;
this._x = Math.sin(this._y);
};
this.edir == 1;
Movieclip.prototype.gravity = function (death, adder) {
this.adder = adder;
if (!this.initg) {
this.originy = this._y;
this.initg = true;
}
if (this._y > (this.originy + death)) {
this.nextFrame();
}
this._y = this._y + this.vy;
this.vy = this.vy + ((45 - this.adder) / 20);
this.vx = this.vx / 1.02;
};
shock = new Sound();
gozz = new Sound();
frog = new Sound();
namenter = new Sound();
hopout = new Sound();
pupout = new Sound();
superout = new Sound();
balloonsound = new Sound();
crickin = new Sound();
beeleave = new Sound();
girgle = new Sound();
waterppp = new Sound();
blurp = new Sound();
ladyin = new Sound();
ladyout = new Sound();
cool = new Sound();
fill = new Sound();
score = new Sound();
crow = new Sound();
enter = new Sound();
pup2 = new Sound();
fence2 = new Sound();
strawb_in = new Sound();
strawb_out = new Sound();
bossa2 = new Sound();
bossa = new Sound();
titlemain = new Sound();
readyz = new Sound();
setter = new Sound();
go = new Sound();
get = new Sound();
superb = new Sound();
cry = new Sound();
energy = new Sound();
titlez = new Sound();
ohno = new Sound();
nextlevel = new Sound();
sorry = new Sound();
corn = new Sound();
laugh2 = new Sound();
highscore = new Sound();
finish = new Sound();
pancake = new Sound();
pudding = new Sound();
pear = new Sound();
niceone = new Sound();
bossa3 = new Sound();
ticky = new Sound();
rollover1 = new Sound();
down = new Sound();
rollover_in = new Sound();
gotcha = new Sound();
intensez = new Sound();
choose = new Sound();
readie = new Sound();
scory = new Sound();
score2 = new Sound();
carrotz = new Sound();
cookie = new Sound();
frenchfries = new Sound();
icecream = new Sound();
pbj = new Sound();
strawberry = new Sound();
tomatoes = new Sound();
water = new Sound();
yuck = new Sound();
djoe = new Sound();
csero = new Sound();
laughz = new Sound();
frogz = new Sound();
superbz = new Sound();
goodhit = new Sound();
lookout = new Sound();
longlaugh = new Sound();
hehe = new Sound();
pupitup = new Sound();
longestlaugh = new Sound();
beesoundz = new Sound();
splash = new Sound();
superup = new Sound();
warning = new Sound();
supersplash = new Sound();
scorepoint = new Sound();
crowattack = new Sound();
beeenter = new Sound();
leaver = new Sound();
scorefin = new Sound();
warningzz = new Sound();
winsound = new Sound();
jumpy = new Sound();
Sound.prototype.singleshot = function (id) {
this.attachSound(id);
this.start();
};
Sound.prototype.looper = function (id) {
this.attachSound(id);
this.setVolume = 60;
this.start(0, 500000);
};
_root.removed = true;
Movieclip.prototype.shakeit = function () {
if (!this.init) {
s = 0;
this.originx = this._x;
this.originy = this._y;
this.init = true;
}
if (this.s < 10) {
base._x = random(6);
base._y = random(6);
this.s++;
} else {
base._x = this.originx;
base._y = this.originy;
}
};
opponent.prototype.fire = function (Fdir, Foff, adder) {
if ((this.shutdown == false) and (Foff == true)) {
this.i++;
blurp.singleshot("blurp", true);
this.colorz = random(3);
attachMovie("balloon" + this.colorz, [0], this.i + 1, {Fdir:Fdir, adder:adder, who:2, _x:this._x, _y:this._y, name:this, tag:en, colorz:this.colorz});
}
};
balloon.prototype.onEnterFrame = function () {
if ((_root.ammotype == 2) and (this.tag == "me")) {
this.droplettimer++;
if (this.droplettimer > 2) {
this.tackon++;
base.attachMovie("droplet", "droplet" + this.tackon, 400000 + this.tackon, {_x:this._x, _y:this._y});
this.droplettimer = 0;
}
}
if ((_root.ammotype == 3) and (this.tag == "me")) {
this.droplettimer++;
if (this.droplettimer > 2) {
this.tackon++;
base.attachMovie("droplet2", "droplet" + this.tackon, 400000 + this.tackon, {_x:this._x, _y:this._y});
this.droplettimer = 0;
}
}
if ((_root.currentlevel > 3) || (_root.intense > 12)) {
this.pthrower = 200;
} else {
this.pthrower = 50;
}
if (this.who == 2) {
switch (this.fdir) {
case "up" :
this._y = this._y - 20;
this.gravity(200, this.adder);
this._rotation = this._rotation + 8;
break;
case "down" :
this._y = this._y + 12;
this.gravity(200, this.adder);
this._rotation = this._rotation + 8;
break;
case "right" :
this._x = this._x + 12;
this._y = this._y - 12;
this.gravity(this.pthrower, this.adder);
this._rotation = this._rotation + 8;
break;
case "left" :
this._x = this._x - 12;
this._y = this._y - 12;
this.gravity(this.pthrower, this.adder);
this._rotation = this._rotation + 8;
}
} else {
this.inner._rotation = this.inner._rotation + 20;
this._y = this._y - ((Math.cos(0.0174532925199433 /* Math.PI/180 */ * this._rotation) * base.char1.adder2) + 15);
this._x = this._x + (Math.sin(0.0174532925199433 /* Math.PI/180 */ * this._rotation) * base.char1.adder);
this.gravity();
}
};
tree_class.prototype.onEnterFrame = function () {
if (this.hitTest(base.char1)) {
if ((base.char1._y - (base.char1._height / 2)) < (this._y - (this._height / 3))) {
this.swapDepths(20001);
} else {
this.swapDepths(801);
}
}
if (this.hitTest(base.enemy1)) {
if ((base.enemy1._y - (base.enemy1._height / 2)) < (this._y - (this._height / 3))) {
this.swapDepths(20002);
} else {
this.swapDepths(802);
}
}
if (this.hitTest(base.enemy2)) {
if ((base.enemy2._y - (base.enemy2._height / 2)) < (this._y - (this._height / 3))) {
this.swapDepths(20003);
} else {
this.swapDepths(803);
}
}
if (this.hitTest(base.enemy3)) {
if ((base.enemy3._y - (base.enemy3._height / 2)) < (this._y - (this._height / 3))) {
this.swapDepths(20004);
} else {
this.swapDepths(804);
}
}
if (this.hitTest(_root.base[4])) {
if ((_root.base[4]._y - (_root.base[4]._height / 2)) < (this._y - (this._height / 3))) {
this.swapDepths(20000);
} else {
this.base[4].swapDepths(805);
}
}
};
movieclip.prototype.arrowdrive = function (tempo, dim, ddim, alpha, dalpha, adder) {
if (!this.init) {
this.originx = this._x;
this.init = true;
}
this.force = ((this.originx + adder) + dim) + (ddim * Math.sin((this.i * 36) / 180));
this._x = this.force;
this.i = this.i + tempo;
if (this.i >= 360) {
this.i = 0;
}
};
_root.loglocalscore();
Date.prototype.oldDay = Date.prototype.getDay;
Date.prototype.oldMonth = Date.prototype.getMonth;
Date.prototype.oldSeconds = Date.prototype.getSeconds;
Date.prototype.oldMinutes = Date.prototype.getMinutes;
Date.prototype.oldHours = Date.prototype.getHours;
Date.prototype.oldTime = Date.prototype.getTime;
Date.prototype.getSeconds = function () {
var secs = this.oldSeconds();
((secs < 10) ? ((secs = "0" + secs)) : null);
return(secs);
};
Date.prototype.getMinutes = function () {
var mins = this.oldMinutes();
((mins < 10) ? ((mins = "0" + mins)) : null);
return(mins);
};
Date.prototype.getHours = function () {
var cHour = this.oldHours();
if (cHour < 12) {
this.morning = " AM";
return(cHour);
}
this.morning = " PM";
return(cHour - 12);
};
Date.prototype.getTime = function (format) {
if (arguments.length > 0) {
if (format == 0) {
return((((((this.getDay() + " ") + this.getDate()) + " of ") + this.getMonth()) + " ") + this.getFullYear());
}
if (format == 1) {
return(((((((((this.getHours() + ":") + this.getMinutes()) + this.morning) + "/") + (this.getMonth() + 1)) + "/") + this.getDate()) + "/") + this.getFullYear());
}
if (format == 2) {
return(((((this.getMonth() + 1) + "/") + this.getDate()) + "/") + this.getFullYear());
}
if (format == 3) {
return(this.toString());
}
} else {
return(this.oldTime());
}
};
myDate = new Date();
Object.registerClass("hopper", grasshoppers);
Object.registerClass("hopper_f", grasshoppers);
grasshoppers.prototype = new MovieClip();
grasshoppers.prototype.onEnterFrame = function () {
if (_root._currentframe != 20) {
doThisAfter(1);
this.removeMovieClip();
delete this.onEnterFrame;
}
if (this.hitTest(_level0[1])) {
base.attachMovie("grex", "grex2", 240001, {_y:this._y, _x:this._x});
frog.singleshot("frog", true);
_root.critterhit = _root.critterhit + 5;
doThisAfter(Math.randomBetween(_root.hopperin, 40000), this.typ);
this.removeMovieClip();
delete this.onEnterFrame;
}
if (this.hitTest(_root.base.char1)) {
base.attachMovie("grex", "grexz", 240002, {_y:this._y, _x:this._x});
_root.sticker++;
frogz.singleshot("frogz", true);
yuck.singleshot("yuck", true);
_root.hoppercurrent = false;
switch (this.name) {
case 1 :
doThisAfter(Math.randomBetween(_root.hopperin, 40000), this.typ);
this.removeMovieClip();
delete this.onEnterFrame;
base.char1.hook.b_unit.gotoAndStop(3);
_root.holdit = true;
break;
case 2 :
base.char1.hook.b_unit.gotoAndStop(4);
_root.holdit = true;
doThisAfter(Math.randomBetween(_root.hopperin, 40000), this.typ);
this.removeMovieClip();
delete this.onEnterFrame;
}
_root.ammotype = 0;
}
if (this.hatchtimer > 20) {
this.power = this.power + 2;
this.count++;
this.dirtime = (this.jstrength * this.myweight) / 2;
if ((this.count > (this.dirtime * 2)) || (_root._currentframe > 21)) {
doThisAfter(Math.randomBetween(_root.hopperin, 40000), this.typ);
this.removeMovieClip();
delete this.onEnterFrame;
hopout.singleshot("hopout", true);
_root.hoppercurrent = false;
}
if (this.count > this.dirtime) {
this.dir = 2;
} else {
this.dir = 1;
}
if (this.lock) {
switch (this.dir) {
case 1 :
this._x = this._x + this.jdist;
this.point = "right";
break;
case 2 :
this._x = this._x - this.jdist;
this.point = "left";
}
this._y = this.wave;
}
this.wave = (Math.sin(this.power / this.myweight) * this.jstrength) + this.originy;
if (this.wave < this.originy) {
this.lock = true;
this.inner.gotoAndStop(this.point);
if (!this.jumpsound) {
jumpy.singleshot("jumpy", true);
this.jumpsound = true;
}
this.inner.jj.gotoAndStop(2);
} else {
this.inner.gotoAndStop(this.point);
if (this.name == 2) {
if (this.hitTest(_root.base.grass.river)) {
this.inner.jj.gotoAndStop(5);
this.jumpsound = false;
}
if (!this.hitTest(_root.base.grass.river)) {
this.inner.jj.gotoAndStop(1);
this.jumpsound = false;
}
} else {
this.jumpsound = false;
this.inner.jj.gotoAndStop(1);
}
this.lock = false;
}
} else {
this.hatchtimer++;
}
};
Object.registerClass("bee", bee);
bee.prototype = new MovieClip();
Object.registerClass("hive", hive);
bee.prototype = new MovieClip();
hive.prototype = new MovieClip();
hive.prototype.onEnterFrame = function () {
this.blinker(30);
this.t++;
if (this.t > 1000) {
beeleave.singleshot("beeleave", true);
clearInterval(_root.beezid);
_root.beezid = setInterval(launchbeez, 20020);
this.removeMovieClip();
}
if ((this.hitTest(_root.base.char1) || (this.hitTest(_level[1]))) || (this.hitTest(_level[0]))) {
if (!this.sounder) {
ohno.singleshot("ohno", true);
beesoundz.singleshot("beezzz", true);
this.sounder = true;
}
clearInterval(_root.beezid);
_root.hivez = false;
bee.prototype.enemy = _root.base.char1;
this.beetimer++;
if ((this.beetimer > 5) and (this.beecount < 7)) {
this.beecount++;
this.beetimer = 0;
_root.base.attachMovie("bee", "bee", 80000 + this.beecount, {_x:this._x, _y:this._y - 20, lifetime:Math.randomBetween(10, 30)});
}
}
if (this.hitTest(_root.base.enemy1)) {
if (!this.sounder) {
ohno.singleshot("ohno", true);
beesoundz.singleshot("beezzz", true);
this.sounder = true;
}
clearInterval(_root.beezid);
_root.hivez = false;
bee.prototype.enemy = _root.base.enemy1;
this.beetimer++;
if ((this.beetimer > 5) and (this.beecount < 7)) {
this.beecount++;
this.beetimer = 0;
_root.base.attachMovie("bee", "bee", 80000 + this.beecount, {_x:this._x, _y:this._y - 20, lifetime:Math.randomBetween(10, 30)});
}
}
};
bee.prototype.onEnterFrame = function () {
if (this.hitTest(_root.base.char1)) {
if (_root.base.char1.ballooncount > 0) {
_root.base.char1.ballooncount--;
}
}
if (this._x < this.enemy) {
this.gotoAndStop("right");
} else {
this.gotoAndStop("left");
}
this.k++;
if (this.lifemeter > this.lifetime) {
this.removeMovieClip();
}
if (this.k > 20) {
this.lifemeter++;
this.timer = random(5);
this.k = 0;
}
this.floatTo(0.2, this.movearray[0][this.timer] + this.enemy._x, (this.movearray[1][this.timer] + this.enemy._y) - 70);
};
bee.prototype.beemove = function () {
};
MovieClip.prototype.floatTo = function (s, x, y) {
this._x = this._x + ((Math.round(x - this._x) * s) * s);
this._y = this._y + ((Math.round(y - this._y) * s) * s);
};
titlemain.looper("bossa");
Object.registerClass("bobletter", bobletter);
bobletter.prototype = new MovieClip();
bobletter.prototype.startbob = function (bobcount, targetz, xpoz, ypoz) {
b_count = bobcount;
bob_array = ["c", "h", "a", "r", "a", "c", "t", "e", "r", "-", "s", "e", "t", "-", "u", "p"];
b_count = bob_array.length;
targetz.createEmptyMovieClip("holder", 5);
bobl = 0;
while (bobl < bob_array.length) {
boblocy = 60;
boblocx = 60;
targetz.holder.attachMovie("bobletter", [l], bobl + 20, {_y:boblocy, _x:(boblocx * bobl) / 4, name:bobl, originy:boblocy, stage:1});
targetz.holder._x = -116;
targetz.holder._y = -145;
bobl++;
}
};
bobletter.prototype.onEnterFrame = function () {
if (!this.init) {
dir = 1;
counterz = 0;
this.init = true;
}
if (counterz >= b_count) {
if (tickz > delay) {
dir = 2;
tickz = 0;
counterz--;
} else {
tickz++;
}
}
if ((counterz <= -1) and (dir == 2)) {
if (tickz > delay) {
dir = 1;
tick = 0;
counterz = 0;
} else {
tickz++;
}
}
if ((this.name == counterz) and (dir == 1)) {
if (this._y < (this.originy + 8)) {
this._y = this._y + (1 + ((this._y - this.originy) / 3));
} else {
counterz = counterz + 1;
}
}
if ((this.name == counterz) and (dir == 2)) {
if (this._y > this.originy) {
this._y = this._y - 4;
} else {
counterz = counterz - 1;
}
}
};
base.removeMovieClip();
grass.removeMovieClip();
walkin.removeMovieClip();
ply_but.removeMovieClip();
credits.removeMovieClip();
delete eval (credits.onEnterFrame());
delete eval (walkin.onEnterFrame());
_root.attachMovie("grassback", "grass", 2);
_root.attachMovie("logoflasher", "flipper", 8, {_x:256, _y:192});
_root.crowint = setInterval(function () {
crow.singleshot("crow", true);
c_dirz = Math.randomBetween(120, 350);
_root.attachMovie("bird", "bird", 10003, {_y:c_dir, adder2:c_dir, originy:c_dirz});
}, 9000);
Movieclip.prototype.flipper = function () {
if (this._currentframe >= this._totalframes) {
_root.gotoAndStop("gamelogo");
}
if (!this.init) {
this.hh = 0;
this._alpha = 0;
this.init = true;
this.switcher = 1;
}
switch (this.switcher) {
case 1 :
if (this._alpha < 100) {
this._alpha = this._alpha + 4;
} else {
this.switcher = 2;
}
return;
case 2 :
if (this.count < 70) {
this.count++;
} else {
this.switcher = 3;
}
return;
case 3 :
if (this._alpha > 0) {
this.count = 0;
this._alpha = this._alpha - 6;
} else {
this.hh = 0;
this.nextFrame();
this.init = false;
}
}
};
bird._y = 100;
flipper.onEnterFrame = function () {
this.flipper();
};
Movieclip.prototype.snapinplace = function (acc, dec, destY, destX) {
this.acc = acc;
this.dec = dec;
this.destY = destY;
this.destX = destX;
this.currX = this._x;
this.currY = this._y;
this.diffX = this.destX - this.currX;
this.diffY = this.destY - this.currY;
this.vx = (this.vx + ((this.diffX * 1) / this.acc)) / this.dec;
this.vy = (this.vy + ((this.diffY * 1) / this.acc)) / this.dec;
this._x = this._x + this.vx;
this._y = this._y + this.vy;
};
arrayx1 = [489, 486, 483, 480, 477, 474, 471, 468, 465, 462, 459, 456, 453, 450, 447, 444, 441, 438, 435, 432, 429, 426, 423, 420, 417, 414, 411, 408, 405, 402, 399, 396, 394.9, 393.8, 392.7, 391.6, 390.5, 389.4, 388.3, 387.2, 386.1, 385, 383.9, 382.8, 381.7, 380.6, 379.5, 378.4, 377.3, 376.2, 375.1, 374, 372.9, 371.8, 370.7, 369.6, 368.5, 367.4, 367.4, 367.4, 367.4, 367.4, 367.4, 367.4, 367.4, 367.4, 367.4, 367.4, 367.4, 367.4, 367.4, 367.4, 367.4, 367.4, 367.4, 367.4, 367.4, 367.4, 367.4, 367.4, 364.4, 361.4, 358.4, 355.4, 352.4, 349.4, 346.4, 343.4, 340.4, 337.4, 334.4, 331.4, 331.4, 331.4, 331.4, 331.4, 331.4, 331.4, 331.4, 331.4, 331.4, 331.4, 331.4, 331.4, 331.4, 331.4, 331.4, 331.4, 331.4, 331.4, 331.4, 331.4, 331.4, 331.4, 328.4, 325.4, 322.4, 319.4, 316.4, 313.4, 310.4, 307.4, 304.4, 301.4, 298.4, 295.4, 292.4, 289.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 286.4, 289.4, 292.4, 295.4, 298.4, 301.4, 304.4, 307.4, 310.4, 313.4, 316.4, 319.4, 322.4, 325.4, 328.4, 331.4, 334.4, 337.4, 340.4, 343.4, 343.4, 343.4, 343.4, 343.4, 343.4, 344.35, 345.3, 346.25, 347.2, 348.15, 349.1, 350.05, 351, 351.95, 352.9, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 353.85, 356.85, 359.85, 362.85, 365.85, 368.85, 371.85, 374.85, 377.85, 380.85, 383.85, 386.85, 389.85, 392.85, 395.85, 398.85, 401.85, 404.85, 407.85, 410.85, 413.85, 416.85, 419.85, 422.85, 425.85, 428.85, 431.85, 434.85, 434.85, 434.85, 434.85, 434.85, 434.85, 434.85, 434.85, 434.85, 434.85, 434.85, 434.85, 434.85, 434.85, 434.85, 434.85, 434.85, 434.85, 434.85, 434.85, 434.85, 434.85, 434.85, 434.85, 437.85, 440.85, 443.85, 446.85, 449.85, 452.85, 455.85, 458.85, 461.85, 464.85, 467.85, 467.85, 467.85, 467.85, 467.85, 467.85, 467.85, 467.85, 467.85, 467.85, 467.85, 467.85, 467.85, 467.85, 467.85, 467.85, 469.85, 471.85, 473.85, 475.85, 477.85, 479.85, 481.85, 483.85, 483.85, 483.85, 483.85, 483.85, 483.85, 483.85, 483.85, 483.85, 483.85, 483.85, 483.85, 480.85, 477.85, 474.85, 471.85, 468.85, 465.85, 462.85, 459.85, 456.85, 453.85, 450.85, 450.85, 450.85, 450.85, 450.85, 450.85, 450.85, 450.45, 450.05, 449.65, 449.25, 448.85, 448.45, 448.05, 447.65, 447.25, 446.85, 446.45, 446.05, 445.65, 445.25, 445.25, 445.25, 445.25, 445.25, 445.25, 445.25, 445.25, 445.25, 445.25, 445.25, 445.25, 445.25, 445.25, 445.25, 445.25, 442.25, 439.25, 436.25, 433.25, 430.25, 427.25, 424.25, 421.25, 418.25, 415.25, 412.25, 409.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 406.25, 403.6, 400.95, 398.3, 395.65, 393, 390.35, 387.7, 385.05, 382.4, 379.75, 377.1, 374.45, 371.8, 369.15, 366.5, 363.85, 366.85, 369.85, 372.85, 375.85, 378.85, 381.85, 384.85, 387.85, 390.85, 393.85, 396.85, 399.85, 402.85, 405.85, 408.85, 411.85, 414.85, 417.85, 417.85, 417.85, 417.85, 417.85, 417.85, 417.85, 417.85, 417.85, 417.85, 417.85, 417.85, 417.85, 417.85, 420.85, 423.85, 426.85, 429.85, 432.85, 435.85, 438.85, 441.85, 444.85, 447.85, 450.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 453.85, 454.8, 455.75, 456.7, 457.65, 458.6, 459.55, 460.5, 461.45, 462.4, 463.35, 464.3, 465.25, 466.2, 467.15, 468.1, 469.05, 469.05, 469.05, 469.05, 469.05, 469.05, 469.05, 469.05, 469.05, 469.05, 469.05, 469.05, 468.95, 468.85, 468.75, 468.65, 468.55, 468.45, 468.35, 468.25, 468.15, 468.05, 467.95, 467.85, 467.75, 467.65, 467.55, 467.45, 467.35, 467.25, 467.15, 467.05, 467.1, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.15, 467.1, 467.05, 467, 466.95, 466.9, 466.85, 466.8, 466.75, 466.7, 466.65, 466.6, 466.55, 466.5, 466.45, 466.4, 466.35, 466.3, 466.25, 466.2, 466.15, 463.8, 461.45, 459.1, 456.75, 454.4, 452.05, 449.7, 447.35, 445, 442.65, 440.3, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 437.95, 434.95, 431.95, 428.95, 425.95, 422.95, 419.95, 416.95, 413.95, 410.95, 407.95, 404.95, 401.95, 398.95, 395.95, 392.95, 389.95, 386.95, 383.95, 380.95, 377.95, 374.95, 371.95, 368.95, 365.95, 362.95, 359.95, 359.95, 359.95, 359.95, 359.95, 359.95, 359.95, 359.95, 359.95, 359.95, 359.95, 359.95, 359.95, 359.95, 359.95, 356.95, 353.95, 350.95, 347.95, 344.95, 341.95, 338.95, 335.95, 332.95, 329.95, 326.95, 323.95, 320.95, 317.95, 314.95, 311.95, 311.95, 311.95, 311.95, 311.95, 314.95, 317.95, 320.95, 323.95, 326.95, 329.95, 332.95, 335.95, 338.95, 341.95, 344.95, 347.95, 350.95, 353.95, 356.95, 359.95, 362.95, 365.95, 368.95, 371.95, 374.95, 377.95, 380.95, 383.95, 386.95, 389.95, 392.95, 395.95, 398.95, 401.95, 404.95, 404.95, 404.95, 404.95, 404.95, 404.95, 404.95, 404.95, 404.95, 404.95, 404.95, 404.95, 404.95, 407.95, 410.95, 413.95, 416.95, 419.95, 422.95, 425.95, 428.95, 431.95, 434.95, 437.95, 440.95, 443.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 447.05, 447.15, 447.25, 447.35, 447.45, 447.55, 447.65, 447.75, 447.85, 447.95, 448.05, 448.15, 448.25, 448.35, 448.45, 448.55, 448.65, 448.75, 448.85, 448.95, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 449.05, 452.05, 455.05, 458.05, 461.05, 464.05, 467.05, 470.05, 473.05, 476.05, 476.05, 476.05, 476.05, 476.05, 476.05, 476.05, 476.05, 476.05, 476.05, 473.05, 470.05, 467.05, 464.05, 461.05, 458.05, 455.05, 452.05, 449.05, 446.05, 443.05, 440.05, 437.05, 434.05, 431.05, 428.05, 425.05, 422.05, 419.05, 416.05, 413.05, 410.05, 407.05, 404.05, 401.05, 398.05, 395.05, 392.05, 392.05, 389.05, 386.05, 383.05, 380.05, 377.05, 374.05, 371.05, 368.05, 365.05, 362.05, 359.05, 356.05, 353.05, 350.05, 347.05, 344.05, 341.05, 338.05, 335.05, 332.05, 329.05, 326.05, 323.05, 320.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 317.05, 314.05, 311.05, 308.05, 305.05, 302.05, 299.05, 296.05, 293.05, 290.05, 287.05, 284.05, 281.05, 278.05, 278.05, 278.05, 278.05, 278.05, 278.05, 278.05, 278.05, 278.05, 279.85, 281.65, 283.45, 285.25, 287.05, 288.85, 290.65, 292.45, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 294.25, 297.25, 300.25, 303.25, 306.25, 309.25, 312.25, 315.25, 318.25, 321.25, 324.25, 327.25, 330.25, 333.25, 336.25, 339.25, 342.25, 345.25, 348.25, 351.25, 354.25, 357.25, 360.25, 363.25, 366.25, 369.25, 372.25, 375.25, 378.25, 381.25, 381.25, 382.1, 382.95, 383.8, 384.65, 385.5, 386.35, 387.2, 388.05, 388.9, 389.75, 390.6, 391.45, 392.3, 393.15, 394, 394.85, 395.7, 396.55, 397.4, 398.25, 399.1, 399.95, 399.95, 399.95, 399.95, 399.95, 399.95, 399.95, 399.95, 399.95, 399.95, 401.25, 402.55, 403.85, 405.15, 406.45, 407.75, 409.05, 410.35, 411.65, 412.95, 414.25, 415.55, 416.85, 418.15, 419.45, 420.75, 422.05, 423.35, 424.65, 424.65, 424.65, 424.65, 424.65, 424.65, 427.65, 430.65, 433.65, 436.65, 439.65, 442.65, 445.65, 448.65, 451.65, 454.65, 457.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.65, 460.7, 460.75, 460.8, 460.85, 460.9, 460.95, 461, 461.05, 461.1, 461.15, 461.2, 461.25, 461.3, 461.35, 460.15, 458.95, 457.75, 456.55, 455.35, 454.15, 452.95, 451.75, 450.55, 449.35, 448.15, 446.95, 445.75, 444.55, 443.35, 442.15, 440.95, 439.75, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 438.55, 436.55, 434.55, 432.55, 430.55, 428.55, 426.55, 424.55, 422.55, 420.55, 418.55, 416.55, 414.55, 412.55, 410.55, 408.55, 406.55, 404.55, 402.55, 400.55, 398.55, 396.55, 396.55, 396.55, 396.55, 396.55, 396.55, 396.55, 396.55, 396.55, 396.55, 396.55, 396.55, 396.55, 396.55, 396.55, 396.55, 396.55, 396.55, 396.55, 393.55, 390.55, 387.55, 384.55, 381.55, 378.55, 375.55, 372.55, 369.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55, 366.55];
arrayy1 = [254, 253.55, 253.1, 252.65, 252.2, 251.75, 251.3, 250.85, 250.4, 249.95, 247.55, 245.15, 242.75, 240.35, 237.95, 235.55, 233.15, 230.75, 228.35, 225.95, 223.55, 221.15, 218.75, 216.35, 213.95, 211.55, 209.15, 206.75, 204.35, 201.95, 199.55, 197.15, 194.15, 191.15, 188.15, 185.15, 182.15, 179.15, 176.15, 173.15, 170.15, 167.15, 164.15, 161.15, 158.15, 155.15, 152.15, 149.15, 146.15, 143.15, 140.15, 137.15, 134.15, 131.15, 128.15, 125.15, 122.15, 119.15, 119.15, 119.15, 119.15, 119.15, 119.15, 119.15, 119.15, 119.15, 119.15, 119.15, 119.15, 119.15, 119.15, 119.15, 119.15, 119.15, 119.15, 119.15, 119.15, 119.15, 119.15, 119.15, 118.65, 118.15, 117.65, 117.15, 116.65, 116.15, 115.65, 115.15, 114.65, 114.15, 113.65, 113.15, 113.15, 113.15, 113.15, 113.15, 113.15, 113.15, 113.15, 113.15, 113.15, 113.15, 113.15, 113.15, 113.15, 113.15, 113.15, 113.15, 113.15, 113.15, 113.15, 113.15, 113.15, 113.15, 110.45, 107.75, 105.05, 102.35, 99.65, 96.95, 94.25, 91.55, 88.85, 86.15, 83.45, 80.75, 78.05, 75.35, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.65, 72.75, 72.85, 72.95, 73.05, 73.15, 73.25, 73.35, 73.45, 73.55, 73.65, 73.75, 73.85, 73.95, 74.05, 74.15, 74.25, 74.35, 74.45, 74.55, 74.55, 74.55, 74.55, 74.55, 74.55, 77.55, 80.55, 83.55, 86.55, 89.55, 92.55, 95.55, 98.55, 101.55, 104.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 109.8, 112.05, 114.3, 116.55, 118.8, 121.05, 123.3, 125.55, 127.8, 130.05, 132.3, 134.55, 136.8, 139.05, 141.3, 143.55, 145.8, 148.05, 150.3, 152.55, 154.8, 157.05, 159.3, 161.55, 163.8, 166.05, 168.3, 168.3, 168.3, 168.3, 168.3, 168.3, 168.3, 168.3, 168.3, 168.3, 168.3, 168.3, 168.3, 168.3, 168.3, 168.3, 168.3, 168.3, 168.3, 168.3, 168.3, 168.3, 168.3, 168.3, 170.05, 171.8, 173.55, 175.3, 177.05, 178.8, 180.55, 182.3, 184.05, 185.8, 187.55, 187.55, 187.55, 187.55, 187.55, 187.55, 187.55, 187.55, 187.55, 187.55, 187.55, 187.55, 187.55, 187.55, 187.55, 187.55, 184.55, 181.55, 178.55, 175.55, 172.55, 169.55, 166.55, 163.55, 163.55, 163.55, 163.55, 163.55, 163.55, 163.55, 163.55, 163.55, 163.55, 163.55, 163.55, 161.3, 159.05, 156.8, 154.55, 152.3, 150.05, 147.8, 145.55, 143.3, 141.05, 138.8, 138.8, 138.8, 138.8, 138.8, 138.8, 138.8, 135.8, 132.8, 129.8, 126.8, 123.8, 120.8, 117.8, 114.8, 111.8, 108.8, 105.8, 102.8, 99.8, 96.8, 96.8, 96.8, 96.8, 96.8, 96.8, 96.8, 96.8, 96.8, 96.8, 96.8, 96.8, 96.8, 96.8, 96.8, 96.8, 96.35, 95.9, 95.45, 95, 94.55, 94.1, 93.65, 93.2, 92.75, 92.3, 91.85, 91.4, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 90.95, 87.95, 84.95, 81.95, 78.95, 75.95, 72.95, 69.95, 66.95, 63.95, 60.95, 57.95, 54.95, 51.95, 48.95, 45.95, 42.95, 42.65, 42.35, 42.05, 41.75, 41.45, 41.15, 40.85, 40.55, 40.25, 39.95, 39.65, 39.35, 39.05, 38.75, 38.45, 38.15, 37.85, 38.1, 38.1, 38.1, 38.1, 38.1, 38.1, 38.1, 38.1, 38.1, 38.1, 38.1, 38.1, 38.1, 38.1, 40, 41.9, 43.8, 45.7, 47.6, 49.5, 51.4, 53.3, 55.2, 57.1, 59, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 60.9, 63.9, 66.9, 69.9, 72.9, 75.9, 78.9, 81.9, 84.9, 87.9, 90.9, 93.9, 96.9, 99.9, 102.9, 105.9, 108.9, 108.9, 108.9, 108.9, 108.9, 108.9, 108.9, 108.9, 108.9, 108.9, 108.9, 108.9, 111.9, 114.9, 117.9, 120.9, 123.9, 126.9, 129.9, 132.9, 135.9, 138.9, 141.9, 144.9, 147.9, 150.9, 153.9, 156.9, 159.9, 162.9, 165.9, 168.9, 171.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 174.9, 177.9, 180.9, 183.9, 186.9, 189.9, 192.9, 195.9, 198.9, 201.9, 204.9, 207.9, 210.9, 213.9, 216.9, 219.9, 222.9, 225.9, 228.9, 231.9, 234.9, 231.9, 228.9, 225.9, 222.9, 219.9, 216.9, 213.9, 210.9, 207.9, 204.9, 201.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 198.9, 196.8, 194.7, 192.6, 190.5, 188.4, 186.3, 184.2, 182.1, 180, 177.9, 175.8, 173.7, 171.6, 169.5, 167.4, 165.3, 163.2, 161.1, 159, 156.9, 154.8, 152.7, 150.6, 148.5, 146.4, 144.3, 144.3, 144.3, 144.3, 144.3, 144.3, 144.3, 144.3, 144.3, 144.3, 144.3, 144.3, 144.3, 144.3, 144.3, 143.45, 142.6, 141.75, 140.9, 140.05, 139.2, 138.35, 137.5, 136.65, 135.8, 134.95, 134.1, 133.25, 132.4, 131.55, 130.7, 130.7, 130.7, 130.7, 130.7, 130.2, 129.7, 129.2, 128.7, 128.2, 127.7, 127.2, 126.7, 126.2, 125.7, 125.2, 124.7, 124.2, 123.7, 123.2, 122.7, 122.2, 121.7, 121.2, 120.7, 120.2, 119.7, 119.2, 118.7, 118.2, 117.7, 117.2, 116.7, 116.2, 115.7, 115.2, 115.2, 115.2, 115.2, 115.2, 115.2, 115.2, 115.2, 115.2, 115.2, 115.2, 115.2, 115.2, 117.3, 119.4, 121.5, 123.6, 125.7, 127.8, 129.9, 132, 134.1, 136.2, 138.3, 140.4, 142.5, 144.6, 144.6, 144.6, 144.6, 144.6, 144.6, 144.6, 144.6, 144.6, 144.6, 144.6, 144.6, 144.6, 147.6, 150.6, 153.6, 156.6, 159.6, 162.6, 165.6, 168.6, 171.6, 174.6, 177.6, 180.6, 183.6, 186.6, 189.6, 192.6, 195.6, 198.6, 201.6, 204.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 207.6, 208.45, 209.3, 210.15, 211, 211.85, 212.7, 213.55, 214.4, 215.25, 215.25, 215.25, 215.25, 215.25, 215.25, 215.25, 215.25, 215.25, 215.25, 212.55, 209.85, 207.15, 204.45, 201.75, 199.05, 196.35, 193.65, 190.95, 188.25, 185.55, 182.85, 180.15, 177.45, 174.75, 172.05, 169.35, 166.65, 163.95, 161.25, 158.55, 155.85, 153.15, 150.45, 147.75, 145.05, 142.35, 139.65, 139.65, 138.65, 137.65, 136.65, 135.65, 134.65, 133.65, 132.65, 131.65, 130.65, 129.65, 128.65, 127.65, 126.65, 125.65, 124.65, 123.65, 122.65, 121.65, 120.65, 119.65, 118.65, 117.65, 116.65, 115.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 114.65, 111.75, 108.85, 105.95, 103.05, 100.15, 97.25, 94.35, 91.45, 88.55, 85.65, 82.75, 79.85, 76.95, 76.95, 76.95, 76.95, 76.95, 76.95, 76.95, 76.95, 76.95, 79.95, 82.95, 85.95, 88.95, 91.95, 94.95, 97.95, 100.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 105.45, 106.95, 108.45, 109.95, 111.45, 112.95, 114.45, 115.95, 117.45, 118.95, 120.45, 121.95, 123.45, 120.8, 118.15, 115.5, 112.85, 110.2, 107.55, 104.9, 102.25, 99.6, 96.95, 94.3, 91.65, 89, 86.35, 83.7, 81.05, 81.05, 84.05, 87.05, 90.05, 93.05, 96.05, 99.05, 102.05, 105.05, 108.05, 111.05, 114.05, 117.05, 120.05, 123.05, 126.05, 129.05, 132.05, 135.05, 138.05, 141.05, 144.05, 147.05, 147.05, 147.05, 147.05, 147.05, 147.05, 147.05, 147.05, 147.05, 147.05, 150.05, 153.05, 156.05, 159.05, 162.05, 165.05, 168.05, 171.05, 174.05, 177.05, 180.05, 183.05, 186.05, 189.05, 192.05, 195.05, 198.05, 201.05, 204.05, 204.05, 204.05, 204.05, 204.05, 204.05, 203.5, 202.95, 202.4, 201.85, 201.3, 200.75, 200.2, 199.65, 199.1, 198.55, 198, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 197.45, 200.45, 203.45, 206.45, 209.45, 212.45, 215.45, 218.45, 221.45, 224.45, 227.45, 230.45, 233.45, 236.45, 239.45, 236.45, 233.45, 230.45, 227.45, 224.45, 221.45, 218.45, 215.45, 212.45, 209.45, 206.45, 203.45, 200.45, 197.45, 194.45, 191.45, 188.45, 185.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 182.45, 179.45, 176.45, 173.45, 170.45, 167.45, 164.45, 161.45, 158.45, 155.45, 152.45, 149.45, 146.45, 143.45, 140.45, 137.45, 134.45, 131.45, 128.45, 125.45, 122.45, 119.45, 119.45, 119.45, 119.45, 119.45, 119.45, 119.45, 119.45, 119.45, 119.45, 119.45, 119.45, 119.45, 119.45, 119.45, 119.45, 119.45, 119.45, 119.45, 119.7, 119.95, 120.2, 120.45, 120.7, 120.95, 121.2, 121.45, 121.7, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121.95, 121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3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 2, 5, 5, 5, 5, 5, 5, 5, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 1, 2, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5];
arrayx2 = [489, 486, 483, 480, 477, 474, 471, 468, 465, 462, 459, 456, 453, 450, 447, 444, 441, 438, 435, 432, 429, 428.85, 428.7, 428.55, 428.4, 428.25, 428.1, 427.95, 427.8, 427.65, 427.5, 427.35, 427.2, 427.05, 426.9, 426.75, 426.6, 426.45, 426.3, 426.15, 426, 425.85, 425.7, 425.55, 425.4, 425.25, 425.1, 424.95, 424.8, 424.65, 424.5, 424.35, 424.2, 424.05, 423.9, 423.75, 423.6, 423.45, 423.3, 423.15, 423, 422.85, 422.7, 422.55, 422.4, 422.25, 422.1, 421.95, 421.8, 421.65, 421.5, 421.35, 421.2, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 421.05, 424.05, 427.05, 430.05, 433.05, 436.05, 439.05, 442.05, 445.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 450.75, 453.45, 456.15, 458.85, 461.55, 464.25, 466.95, 469.65, 472.35, 475.05, 473.55, 472.05, 470.55, 469.05, 467.55, 466.05, 464.55, 463.05, 461.55, 460.05, 458.55, 457.05, 455.55, 454.05, 452.55, 451.05, 449.55, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 448.05, 445.05, 442.05, 439.05, 436.05, 433.05, 430.05, 427.05, 424.05, 421.05, 418.05, 415.05, 412.05, 409.05, 406.05, 403.05, 400.05, 397.05, 394.05, 391.05, 388.05, 387.45, 386.85, 386.25, 385.65, 385.05, 384.45, 383.85, 383.25, 382.65, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 382.05, 379.05, 376.05, 373.05, 370.05, 367.05, 364.05, 361.05, 358.05, 355.05, 352.05, 349.05, 346.4, 343.75, 341.1, 338.45, 335.8, 333.15, 330.5, 327.85, 325.2, 322.55, 319.9, 317.25, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 314.6, 316.5, 318.4, 320.3, 322.2, 324.1, 326, 327.9, 329.8, 331.7, 333.6, 335.5, 338.5, 341.5, 344.5, 347.5, 350.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 353.5, 356.5, 359.5, 362.5, 365.5, 368.5, 371.5, 374.5, 377.5, 380.5, 383.5, 386.5, 389.5, 392.5, 395.5, 398.5, 401.5, 404.5, 407.5, 410.5, 413.5, 416.5, 419.5, 422.5, 425.5, 428.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 431.5, 434.5, 437.5, 440.5, 443.5, 446.5, 449.5, 452.5, 455.5, 458.5, 461.5, 464.5, 467.5, 470.5, 470.5, 470.5, 470.5, 470.5, 470.5, 470.5, 470.5, 470.5, 470.5, 470.5, 470.5, 470.5, 470.5, 470.5, 473.5, 476.5, 479.5, 482.5, 485.5, 488.5, 491.5, 494.5, 497.5, 497.5, 497.5, 497.5, 497.5, 497.5, 497.5, 496.35, 495.2, 494.05, 492.9, 491.75, 490.6, 489.45, 488.3, 487.15, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, 483, 480, 477, 474, 471, 468, 465, 462, 459, 456, 453, 450, 447, 444, 441, 438, 435, 435, 435, 435, 435, 435, 432.55, 430.1, 427.65, 425.2, 422.75, 420.3, 417.85, 415.4, 412.95, 412.95, 412.95, 412.95, 409.95, 406.95, 403.95, 400.95, 397.95, 394.95, 391.95, 388.95, 385.95, 382.95, 379.95, 376.95, 373.95, 370.95, 367.95, 364.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 361.95, 358.95, 355.95, 352.95, 349.95, 346.95, 343.95, 340.95, 337.95, 334.95, 331.95, 328.95, 325.95, 325.35, 324.75, 324.15, 323.55, 322.95, 322.35, 321.75, 321.15, 320.55, 319.95, 319.35, 318.75, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 318.15, 315.5, 312.85, 310.2, 307.55, 304.9, 302.25, 299.6, 296.95, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 294.3, 291.3, 288.3, 285.3, 282.3, 279.3, 276.3, 273.3, 270.3, 267.3, 264.3, 261.3, 258.3, 255.3, 252.3, 249.3, 249.3, 249.3, 252.3, 255.3, 258.3, 261.3, 264.3, 267.3, 270.3, 273.3, 276.3, 279.3, 282.3, 282.3, 282.3, 282.3, 282.3, 282.3, 282.3, 282.3, 282.3, 282.3, 282.3, 282.3, 282.3, 282.3, 282.3, 285.3, 288.3, 291.3, 294.3, 297.3, 300.3, 303.3, 306.3, 309.3, 312.3, 315.3, 318.3, 321.3, 324.3, 327.3, 330.3, 333.3, 336.3, 339.3, 342.3, 345.3, 348.3, 351.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 354.3, 357.3, 360.3, 363.3, 366.3, 369.3, 372.3, 375.3, 378.3, 381.3, 384.3, 387.3, 390.3, 393.3, 396.3, 399.3, 402.3, 405.3, 408.3, 411.3, 414.3, 417.3, 420.3, 423.3, 426.3, 429.3, 432.3, 435.3, 438.3, 441.3, 444.3, 447.3, 450.3, 453.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.3, 456.55, 456.8, 457.05, 457.3, 457.55, 457.8, 458.05, 458.3, 458.55, 458.8, 459.05, 459.3, 459.55, 459.8, 459.5, 459.2, 458.9, 458.6, 458.3, 458, 457.7, 457.4, 457.1, 456.8, 456.5, 456.2, 455.9, 455.6, 455.3, 455, 454.7, 454.4, 454.1, 453.8, 453.5, 453.2, 452.9, 453.15, 453.15, 453.15, 453.15, 453.15, 453.15, 453.15, 453.15, 453.15, 453.15, 453.15, 453.15, 453.15, 453.15, 453.15, 453.15, 453.15, 453.15, 453.15, 453.15, 453.15, 453.15, 453.15, 453.15, 453.15, 450.15, 447.15, 444.15, 441.15, 438.15, 435.15, 432.15, 429.15, 426.15, 423.15, 420.15, 417.15, 414.15, 411.15, 408.15, 405.15, 402.15, 399.15, 396.15, 393.15, 390.15, 387.15, 384.15, 381.15, 378.15, 375.15, 372.15, 369.15, 366.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 363.15, 360.15, 357.15, 354.15, 351.15, 348.15, 345.15, 342.15, 339.15, 336.15, 333.15, 330.15, 327.15, 324.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 321.15, 323.45, 325.75, 328.05, 330.35, 332.65, 334.95, 337.25, 339.55, 341.85, 344.15, 346.45, 346.45, 346.45, 346.45, 346.45, 349.45, 352.45, 355.45, 358.45, 361.45, 364.45, 367.45, 370.45, 373.45, 376.45, 379.45, 382.45, 385.45, 388.45, 391.45, 394.45, 397.45, 400.45, 403.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 406.45, 407.8, 409.15, 410.5, 411.85, 413.2, 414.55, 415.9, 417.25, 418.6, 419.95, 421.3, 422.65, 424, 425.35, 426.7, 428.05, 431.05, 434.05, 437.05, 440.05, 443.05, 446.05, 449.05, 452.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 455.05, 452.2, 449.35, 446.5, 443.65, 440.8, 437.95, 435.1, 435.1, 435.1, 435.1, 435.1, 435.1, 435.1, 435.1, 435.1, 435.1, 435.1, 435.1, 435.1, 435.1, 435.1, 435.1, 432.1, 429.1, 426.1, 423.1, 420.1, 417.1, 414.1, 411.1, 408.1, 405.1, 402.1, 399.1, 396.1, 393.1, 390.1, 387.1, 384.1, 384.1, 384.1, 384.1, 384.1, 384.1, 384.1, 384.1, 384.1, 384.1, 384.1, 381.1, 378.1, 375.1, 372.1, 369.1, 366.1, 363.1, 360.1, 357.1, 354.1, 351.1, 348.1, 345.1, 342.1, 339.1, 336.1, 333.1, 330.1, 327.1, 324.1, 321.1, 321.1, 321.1, 321.1, 321.1, 321.1, 321.1, 321.1, 318.1, 315.1, 312.1, 309.1, 306.1, 303.1, 300.1, 297.1, 294.1, 291.1, 288.1, 285.1, 282.1, 282.1, 282.1, 285.1, 288.1, 291.1, 294.1, 297.1, 300.1, 303.1, 306.1, 309.1, 312.1, 315.1, 318.1, 321.1, 324.1, 327.1, 330.1, 333.1, 336.1, 339.1, 342.1, 345.1, 348.1, 351.1, 354.1, 357.1, 360.1, 363.1, 366.1, 369.1, 372.1, 375.1, 378.1, 381.1, 384.1, 387.1, 390.1, 393.1, 396.1, 399.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1, 402.1];
arrayy2 = [254, 253.55, 253.1, 252.65, 252.2, 251.75, 251.3, 250.85, 250.4, 249.95, 249.5, 249.05, 248.6, 248.15, 247.7, 247.25, 246.8, 246.35, 245.9, 245.45, 245, 242, 239, 236, 233, 230, 227, 224, 221, 218, 215, 212, 209, 206, 203, 200, 197, 194, 191, 188, 185, 182, 179, 176, 173, 170, 167, 164, 161, 158, 155, 152, 149, 146, 143, 140, 137, 134, 131, 128, 125, 122, 119, 116, 113, 110, 107, 104, 101, 98, 95, 92, 89, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 88.55, 91.1, 93.65, 96.2, 98.75, 101.3, 103.85, 106.4, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 108.95, 111.95, 114.95, 117.95, 120.95, 123.95, 126.95, 129.95, 132.95, 135.95, 138.95, 141.95, 144.95, 147.95, 150.95, 153.95, 156.95, 159.95, 162.95, 165.95, 168.95, 171.95, 174.95, 177.95, 180.95, 183.95, 186.95, 189.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 192.95, 191.75, 190.55, 189.35, 188.15, 186.95, 185.75, 184.55, 183.35, 182.15, 180.95, 179.75, 178.55, 177.35, 176.15, 174.95, 173.75, 172.55, 171.35, 170.15, 168.95, 165.95, 162.95, 159.95, 156.95, 153.95, 150.95, 147.95, 144.95, 141.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.95, 138.55, 138.15, 137.75, 137.35, 136.95, 136.55, 136.15, 135.75, 135.35, 134.95, 134.55, 131.55, 128.55, 125.55, 122.55, 119.55, 116.55, 113.55, 110.55, 107.55, 104.55, 101.55, 98.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 95.55, 98.55, 101.55, 104.55, 107.55, 110.55, 113.55, 116.55, 119.55, 122.55, 125.55, 128.55, 128.3, 128.05, 127.8, 127.55, 127.3, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 127.05, 129.85, 132.65, 135.45, 138.25, 141.05, 143.85, 146.65, 149.45, 152.25, 155.05, 157.85, 160.65, 163.45, 166.25, 169.05, 171.85, 174.65, 177.45, 180.25, 183.05, 185.85, 188.65, 191.45, 194.25, 197.05, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 199.85, 200.75, 201.65, 202.55, 203.45, 204.35, 205.25, 206.15, 207.05, 207.95, 208.85, 209.75, 210.65, 211.55, 211.55, 211.55, 211.55, 211.55, 211.55, 211.55, 211.55, 211.55, 211.55, 211.55, 211.55, 211.55, 211.55, 211.55, 210.05, 208.55, 207.05, 205.55, 204.05, 202.55, 201.05, 199.55, 198.05, 198.05, 198.05, 198.05, 198.05, 198.05, 198.05, 195.05, 192.05, 189.05, 186.05, 183.05, 180.05, 177.05, 174.05, 171.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 168.05, 165.35, 162.65, 159.95, 157.25, 154.55, 151.85, 149.15, 146.45, 143.75, 141.05, 138.35, 135.65, 132.95, 130.25, 127.55, 124.85, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 119.15, 116.15, 113.15, 110.15, 107.15, 104.15, 101.15, 98.15, 95.15, 95.15, 95.15, 95.15, 95.5, 95.85, 96.2, 96.55, 96.9, 97.25, 97.6, 97.95, 98.3, 98.65, 99, 99.35, 99.7, 100.05, 100.4, 100.75, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 101.1, 100.25, 99.4, 98.55, 97.7, 96.85, 96, 95.15, 94.3, 93.45, 92.6, 91.75, 90.9, 93.9, 96.9, 99.9, 102.9, 105.9, 108.9, 111.9, 114.9, 117.9, 120.9, 123.9, 126.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 129.9, 126.9, 123.9, 120.9, 117.9, 114.9, 111.9, 108.9, 105.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 102.9, 101.2, 99.5, 97.8, 96.1, 94.4, 92.7, 91, 89.3, 87.6, 85.9, 84.2, 82.5, 80.8, 79.1, 77.4, 77.4, 77.4, 78.65, 79.9, 81.15, 82.4, 83.65, 84.9, 86.15, 87.4, 88.65, 89.9, 91.15, 91.15, 91.15, 91.15, 91.15, 91.15, 91.15, 91.15, 91.15, 91.15, 91.15, 91.15, 91.15, 91.15, 91.15, 92.8, 94.45, 96.1, 97.75, 99.4, 101.05, 102.7, 104.35, 106, 107.65, 109.3, 110.95, 112.6, 114.25, 115.9, 117.55, 119.2, 120.85, 122.5, 124.15, 125.8, 127.45, 129.1, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 130.75, 133.55, 136.35, 139.15, 141.95, 144.75, 147.55, 150.35, 153.15, 155.95, 158.75, 161.55, 164.35, 167.15, 169.95, 172.75, 175.55, 178.35, 181.15, 183.95, 186.75, 189.55, 192.35, 192.05, 191.75, 191.45, 191.15, 190.85, 190.55, 190.25, 189.95, 189.65, 189.35, 189.05, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 189.3, 192.3, 195.3, 198.3, 201.3, 204.3, 207.3, 210.3, 213.3, 216.3, 219.3, 222.3, 225.3, 228.3, 231.3, 228.3, 225.3, 222.3, 219.3, 216.3, 213.3, 210.3, 207.3, 204.3, 201.3, 198.3, 195.3, 192.3, 189.3, 186.3, 183.3, 180.3, 177.3, 174.3, 171.3, 168.3, 165.3, 162.3, 159.3, 159.3, 159.3, 159.3, 159.3, 159.3, 159.3, 159.3, 159.3, 159.3, 159.3, 159.3, 159.3, 159.3, 159.3, 159.3, 159.3, 159.3, 159.3, 159.3, 159.3, 159.3, 159.3, 159.3, 159.3, 157.5, 155.7, 153.9, 152.1, 150.3, 148.5, 146.7, 144.9, 143.1, 141.3, 139.5, 137.7, 135.9, 134.1, 132.3, 130.5, 128.7, 126.9, 125.1, 123.3, 121.5, 119.7, 117.9, 116.1, 114.3, 112.5, 110.7, 108.9, 107.1, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 105.3, 108.3, 111.3, 114.3, 117.3, 120.3, 123.3, 126.3, 129.3, 132.3, 135.3, 138.3, 138.3, 138.3, 138.3, 138.3, 139.05, 139.8, 140.55, 141.3, 142.05, 142.8, 143.55, 144.3, 145.05, 145.8, 146.55, 147.3, 148.05, 148.8, 149.55, 150.3, 151.05, 151.8, 152.55, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 153.3, 156.3, 159.3, 162.3, 165.3, 168.3, 171.3, 174.3, 177.3, 180.3, 183.3, 186.3, 189.3, 192.3, 195.3, 198.3, 201.3, 202.1, 202.9, 203.7, 204.5, 205.3, 206.1, 206.9, 207.7, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 208.5, 205.5, 202.5, 199.5, 196.5, 193.5, 190.5, 187.5, 187.5, 187.5, 187.5, 187.5, 187.5, 187.5, 187.5, 187.5, 187.5, 187.5, 187.5, 187.5, 187.5, 187.5, 187.5, 184.8, 182.1, 179.4, 176.7, 174, 171.3, 168.6, 165.9, 163.2, 160.5, 157.8, 155.1, 152.4, 149.7, 147, 144.3, 141.6, 141.6, 141.6, 141.6, 141.6, 141.6, 141.6, 141.6, 141.6, 141.6, 141.6, 139.85, 138.1, 136.35, 134.6, 132.85, 131.1, 129.35, 127.6, 125.85, 124.1, 122.35, 120.6, 118.85, 117.1, 115.35, 113.6, 111.85, 110.1, 108.35, 106.6, 104.85, 104.85, 104.85, 104.85, 104.85, 104.85, 104.85, 104.85, 103.15, 101.45, 99.75, 98.05, 96.35, 94.65, 92.95, 91.25, 89.55, 87.85, 86.15, 84.45, 82.75, 82.75, 82.75, 84.8, 86.85, 88.9, 90.95, 93, 95.05, 97.1, 99.15, 101.2, 103.25, 105.3, 107.35, 109.4, 111.45, 113.5, 115.55, 117.6, 119.65, 121.7, 123.75, 125.8, 127.85, 129.9, 131.95, 134, 136.05, 138.1, 140.15, 142.2, 144.25, 146.3, 148.35, 150.4, 152.45, 154.5, 156.55, 158.6, 160.65, 162.7, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75, 164.75];
arrayx3 = [489, 486, 483, 480, 477, 474, 471, 468, 465, 462, 459, 456, 453, 450, 447, 444, 443.05, 442.1, 441.15, 440.2, 439.25, 438.3, 437.35, 436.4, 435.45, 434.5, 433.55, 432.6, 431.65, 430.7, 429.75, 428.8, 427.85, 426.9, 425.95, 425, 424.05, 423.1, 422.15, 421.2, 420.25, 419.3, 418.35, 417.4, 416.45, 415.5, 414.55, 413.6, 412.65, 411.7, 410.75, 409.8, 408.85, 407.9, 406.95, 406, 405.05, 404.1, 403.15, 402.2, 401.25, 400.3, 400.3, 400.3, 400.3, 400.3, 400.3, 400.3, 400.3, 400.3, 403.3, 406.3, 409.3, 412.3, 415.3, 418.3, 421.3, 424.3, 427.3, 427.3, 427.3, 427.3, 427.3, 427.3, 427.3, 427.3, 427.3, 427.3, 427.3, 427.3, 427.3, 427.3, 427.3, 427.3, 427.3, 427.3, 427.3, 427.3, 427.3, 427.3, 430.3, 433.3, 436.3, 439.3, 442.3, 445.3, 448.3, 451.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 454.3, 455.2, 456.1, 457, 457.9, 458.8, 459.7, 460.6, 461.5, 462.4, 463.3, 464.2, 465.1, 466, 466.9, 467.8, 468.7, 469.6, 470.5, 471.4, 472.3, 473.2, 473.2, 473.2, 473.2, 470.75, 468.3, 465.85, 463.4, 463.4, 463.4, 463.4, 463.4, 463.4, 463.4, 463.4, 463.4, 463.4, 463.4, 463.4, 466.4, 469.4, 472.4, 475.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 478.4, 475.4, 472.4, 469.4, 466.4, 463.4, 460.4, 457.4, 454.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 451.4, 449.55, 447.7, 445.85, 444, 442.15, 440.3, 438.45, 436.6, 434.75, 432.9, 431.05, 429.2, 427.35, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 425.5, 428.5, 431.5, 434.5, 437.5, 440.5, 443.5, 446.5, 449.5, 452.5, 455.5, 458.5, 461.5, 464.5, 467.5, 467.5, 467.5, 467.5, 467.5, 467.5, 467.5, 467.5, 467.5, 467.5, 467.5, 467.5, 467.5, 467.45, 467.4, 467.35, 467.3, 467.25, 467.2, 467.15, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 467.1, 464.1, 461.1, 458.1, 455.1, 452.1, 449.1, 446.1, 443.1, 440.1, 437.1, 434.1, 431.1, 428.1, 425.1, 422.1, 419.1, 416.1, 413.1, 410.1, 407.1, 404.1, 401.1, 398.1, 395.1, 392.1, 389.1, 386.1, 383.1, 380.1, 377.1, 374.1, 371.1, 368.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 365.1, 362.1, 359.1, 356.1, 353.1, 350.1, 347.1, 344.1, 341.1, 338.1, 335.1, 332.1, 329.1, 326.1, 323.1, 320.1, 317.1, 314.1, 314.1, 312.95, 311.8, 310.65, 309.5, 308.35, 307.2, 306.05, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 304.9, 307.9, 310.9, 313.9, 316.9, 319.9, 322.9, 325.9, 328.9, 331.9, 334.9, 337.9, 340.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 343.9, 340.9, 337.9, 334.9, 331.9, 328.9, 325.9, 322.9, 319.9, 316.9, 313.9, 310.9, 307.9, 304.9, 301.9, 298.9, 295.9, 292.9, 289.9, 286.9, 283.9, 280.9, 277.9, 274.9, 271.9, 268.9, 265.9, 262.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 259.9, 262.9, 265.9, 268.9, 271.9, 274.9, 277.9, 280.9, 283.9, 286.9, 289.9, 292.9, 295.9, 298.9, 301.9, 304.9, 307.9, 307.9, 307.9, 307.9, 307.9, 307.9, 307.9, 307.9, 307.9, 307.9, 307.9, 307.9, 307.9, 307.9, 307.9, 310.9, 313.9, 316.9, 319.9, 322.9, 325.9, 328.9, 331.9, 334.9, 337.9, 340.9, 343.9, 346.9, 349.9, 352.9, 355.9, 358.9, 361.9, 364.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 367.9, 370.5, 373.1, 375.7, 378.3, 380.9, 383.5, 386.1, 388.7, 391.3, 393.9, 396.5, 399.1, 401.7, 404.3, 406.9, 409.5, 412.1, 414.7, 417.3, 419.9, 422.5, 425.1, 427.7, 430.3, 432.9, 435.5, 438.1, 441.1, 444.1, 447.1, 450.1, 453.1, 456.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 459.1, 461.1, 463.1, 465.1, 467.1, 469.1, 471.1, 473.1, 475.1, 477.1, 479.1, 481.1, 483.1, 485.1, 487.1, 489.1, 491.1, 493.1, 495.1, 497.1, 499.1, 501.1, 503.1, 501.4, 499.7, 498, 496.3, 494.6, 492.9, 491.2, 489.5, 487.8, 486.1, 484.4, 482.7, 481, 479.3, 477.6, 475.9, 474.2, 472.5, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 470.8, 473.8, 476.8, 479.8, 482.8, 485.8, 488.8, 491.8, 494.8, 497.8, 500.8, 503.8, 506.8, 509.8, 512.8, 515.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 518.8, 515.8, 512.8, 509.8, 506.8, 503.8, 500.8, 497.8, 494.8, 491.8, 488.8, 485.8, 482.8, 479.8, 476.8, 473.8, 470.8, 467.8, 464.8, 461.8, 458.8, 455.8, 452.8, 449.8, 446.8, 443.8, 440.8, 437.8, 434.8, 431.8, 428.8, 425.8, 422.8, 419.8, 416.8, 413.8, 410.8, 407.8, 404.8, 401.8, 398.8, 395.8, 392.8, 389.8, 386.8, 383.8, 381.75, 379.7, 377.65, 375.6, 373.55, 371.5, 369.45, 367.4, 365.35, 363.3, 361.25, 359.2, 357.15, 355.1, 353.05, 351, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 345.95, 342.95, 339.95, 336.95, 333.95, 330.95, 327.95, 324.95, 321.95, 318.95, 315.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 312.95, 315.95, 318.95, 321.95, 324.95, 327.95, 330.95, 333.95, 336.95, 339.95, 342.95, 345.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 348.95, 351.95, 354.95, 357.95, 360.95, 363.95, 366.95, 369.95, 372.95, 375.95, 378.95, 381.95, 384.95, 387.95, 390.95, 393.95, 396.95, 399.95, 402.95, 405.95, 408.95, 411.95, 414.95, 417.95, 420.95, 423.95, 426.95, 429.95, 432.95, 435.95, 435.95, 435.95, 435.95, 435.95, 435.95, 435.95, 435.95, 436.5, 437.05, 437.6, 438.15, 438.7, 439.25, 439.8, 440.35, 440.9, 441.45, 442, 442.55, 443.1, 443.65, 444.2, 444.75, 445.3, 445.85, 446.4, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 446.95, 443.95, 440.95, 437.95, 434.95, 431.95, 428.95, 425.95, 422.95, 419.95, 416.95, 413.95, 410.95, 407.95, 404.95, 401.95, 398.95, 395.95, 392.95, 389.95, 386.95, 383.95, 380.95, 377.95, 374.95, 371.95, 368.95, 365.95, 362.95, 359.95, 356.95, 353.95, 350.95, 347.95, 344.95, 341.95, 338.95, 335.95, 332.95, 329.95, 326.95, 323.95, 320.95, 317.95, 314.95, 311.95, 308.95, 305.95, 302.95, 299.95, 296.95, 293.95, 290.95, 293.95, 296.95, 299.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 302.95, 299.95, 296.95, 293.95, 290.95, 287.95, 284.95, 281.95, 278.95, 278.95, 278.95, 278.95, 281.95, 284.95, 287.95, 290.95, 293.95, 296.95, 299.95, 302.95, 305.95, 308.95, 311.95, 314.95, 317.95, 320.95, 323.95, 326.95, 329.95, 332.95, 335.95, 338.95, 341.95, 344.95, 347.95, 347.95, 346.7, 345.45, 344.2, 342.95, 341.7, 340.45, 339.2, 337.95, 336.7, 335.45, 334.2, 334.2, 334.2, 334.2, 334.2, 337.2, 340.2, 343.2, 346.2, 349.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2, 352.2];
arrayy3 = [254, 253.55, 253.1, 252.65, 252.2, 251.75, 251.3, 250.85, 250.4, 249.95, 249.5, 249.05, 248.6, 248.15, 247.7, 247.25, 244.25, 241.25, 238.25, 235.25, 232.25, 229.25, 226.25, 223.25, 220.25, 217.25, 214.25, 211.25, 208.25, 205.25, 202.25, 199.25, 196.25, 193.25, 190.25, 187.25, 184.25, 181.25, 178.25, 175.25, 172.25, 169.25, 166.25, 163.25, 160.25, 157.25, 154.25, 151.25, 148.25, 145.25, 142.25, 139.25, 136.25, 133.25, 130.25, 127.25, 124.25, 121.25, 118.25, 115.25, 112.25, 109.25, 109.25, 109.25, 109.25, 109.25, 109.25, 109.25, 109.25, 109.25, 111.2, 113.15, 115.1, 117.05, 119, 120.95, 122.9, 124.85, 126.8, 126.8, 126.8, 126.8, 126.8, 126.8, 126.8, 126.8, 126.8, 126.8, 126.8, 126.8, 126.8, 126.8, 126.8, 126.8, 126.8, 126.8, 126.8, 126.8, 126.8, 126.8, 128.65, 130.5, 132.35, 134.2, 136.05, 137.9, 139.75, 141.6, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 143.45, 146.45, 149.45, 152.45, 155.45, 158.45, 161.45, 164.45, 167.45, 170.45, 173.45, 176.45, 179.45, 182.45, 185.45, 188.45, 191.45, 194.45, 197.45, 200.45, 203.45, 206.45, 206.45, 206.45, 206.45, 209.45, 212.45, 215.45, 218.45, 218.45, 218.45, 218.45, 218.45, 218.45, 218.45, 218.45, 218.45, 218.45, 218.45, 218.45, 216.05, 213.65, 211.25, 208.85, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 206.45, 208.15, 209.85, 211.55, 213.25, 214.95, 216.65, 218.35, 220.05, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 221.75, 218.75, 215.75, 212.75, 209.75, 206.75, 203.75, 200.75, 197.75, 194.75, 191.75, 188.75, 185.75, 182.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.75, 179.8, 179.85, 179.9, 179.95, 180, 180.05, 180.1, 180.15, 180.2, 180.25, 180.3, 180.35, 180.4, 180.45, 180.45, 180.45, 180.45, 180.45, 180.45, 180.45, 180.45, 180.45, 180.45, 180.45, 180.45, 180.45, 183.45, 186.45, 189.45, 192.45, 195.45, 198.45, 201.45, 204.45, 207.45, 210.45, 213.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 216.45, 214.5, 212.55, 210.6, 208.65, 206.7, 204.75, 202.8, 200.85, 198.9, 196.95, 195, 193.05, 191.1, 189.15, 187.2, 185.25, 183.3, 181.35, 179.4, 177.45, 175.5, 173.55, 171.6, 169.65, 167.7, 165.4, 163.1, 160.8, 158.5, 156.2, 153.9, 151.6, 149.25, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.95, 146.1, 145.25, 144.4, 143.55, 142.7, 141.85, 141, 140.15, 139.3, 138.45, 137.6, 136.75, 135.9, 135.05, 134.2, 133.35, 132.5, 132.5, 129.5, 126.5, 123.5, 120.5, 117.5, 114.5, 111.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 108.5, 109.55, 110.6, 111.65, 112.7, 113.75, 114.8, 115.85, 116.9, 117.95, 119, 120.05, 121.1, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 122.15, 120.75, 119.35, 117.95, 116.55, 115.15, 113.75, 112.35, 110.95, 109.55, 108.15, 106.75, 105.35, 103.95, 102.55, 101.15, 99.75, 98.35, 96.95, 95.55, 94.15, 92.75, 89.85, 86.95, 84.05, 81.15, 78.25, 75.35, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 72.45, 73.85, 75.25, 76.65, 78.05, 79.45, 80.85, 82.25, 83.65, 85.05, 86.45, 87.85, 89.25, 90.65, 92.05, 93.45, 94.85, 94.85, 94.85, 94.85, 94.85, 94.85, 94.85, 94.85, 94.85, 94.85, 94.85, 94.85, 94.85, 94.85, 94.85, 97.4, 99.95, 102.5, 105.05, 107.6, 110.15, 112.7, 115.25, 117.8, 120.35, 122.9, 125.45, 127, 128.55, 130.1, 131.65, 133.2, 134.75, 136.3, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 137.85, 140.85, 143.85, 146.85, 149.85, 152.85, 155.85, 158.85, 161.85, 164.85, 167.85, 170.85, 173.85, 176.85, 179.85, 182.85, 185.85, 188.85, 191.85, 194.85, 197.85, 200.85, 203.85, 206.85, 209.85, 212.85, 215.85, 218.85, 217.4, 215.95, 214.5, 213.05, 211.6, 210.15, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 208.7, 211.7, 214.7, 217.7, 220.7, 223.7, 226.7, 229.7, 232.7, 235.7, 238.7, 241.7, 244.7, 247.7, 250.7, 253.7, 256.7, 259.7, 262.7, 265.7, 268.7, 271.7, 274.7, 271.7, 268.7, 265.7, 262.7, 259.7, 256.7, 253.7, 250.7, 247.7, 244.7, 241.7, 238.7, 235.7, 232.7, 229.7, 226.7, 223.7, 220.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 217.7, 219.15, 220.6, 222.05, 223.5, 224.95, 226.4, 227.85, 229.3, 230.75, 232.2, 233.65, 235.1, 236.55, 238, 239.45, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 240.9, 239.35, 237.8, 236.25, 234.7, 233.15, 231.6, 230.05, 228.5, 226.95, 225.4, 223.85, 222.3, 220.75, 219.2, 217.65, 216.1, 214.55, 213, 211.45, 209.9, 208.35, 206.8, 205.25, 203.7, 202.15, 200.6, 199.05, 197.5, 195.95, 194.4, 192.85, 191.3, 189.75, 188.2, 186.65, 185.1, 183.55, 182, 180.45, 178.9, 177.35, 175.8, 174.25, 172.7, 171.15, 168.15, 165.15, 162.15, 159.15, 156.15, 153.15, 150.15, 147.15, 144.15, 141.15, 138.15, 135.15, 132.15, 129.15, 126.15, 123.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.15, 120.6, 121.05, 121.5, 121.95, 122.4, 122.85, 123.3, 123.75, 124.2, 124.65, 125.1, 125.55, 122.55, 119.55, 116.55, 113.55, 110.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.55, 107.25, 106.95, 106.65, 106.35, 106.05, 105.75, 105.45, 105.15, 104.85, 104.55, 104.25, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 103.95, 105.45, 106.95, 108.45, 109.95, 111.45, 112.95, 114.45, 115.95, 117.45, 118.95, 120.45, 121.95, 123.45, 124.95, 126.45, 127.95, 129.45, 130.95, 132.45, 133.95, 135.45, 136.95, 138.45, 139.95, 141.45, 142.95, 144.45, 145.95, 147.45, 147.45, 147.45, 147.45, 147.45, 147.45, 147.45, 147.45, 150.45, 153.45, 156.45, 159.45, 162.45, 165.45, 168.45, 171.45, 174.45, 177.45, 180.45, 183.45, 186.45, 189.45, 192.45, 195.45, 198.45, 201.45, 204.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 207.45, 205.3, 203.15, 201, 198.85, 196.7, 194.55, 192.4, 190.25, 188.1, 185.95, 183.8, 181.65, 179.5, 177.35, 175.2, 173.05, 170.9, 168.75, 166.6, 164.45, 162.3, 160.15, 158, 155.85, 153.7, 151.55, 149.4, 147.25, 145.1, 142.95, 140.8, 138.65, 136.5, 134.35, 132.2, 130.1, 128, 125.9, 123.8, 121.7, 119.6, 117.5, 115.4, 113.3, 111.2, 109.1, 107, 104.9, 102.8, 100.7, 98.6, 96.5, 97.5, 98.5, 99.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 100.5, 98.9, 97.3, 95.7, 94.1, 92.5, 90.9, 89.3, 87.7, 87.7, 87.7, 87.7, 87.85, 88, 88.15, 88.3, 88.45, 88.6, 88.75, 88.9, 89.05, 89.2, 89.35, 89.5, 89.65, 89.8, 89.95, 90.1, 90.25, 90.4, 90.55, 90.7, 90.85, 91, 91.15, 91.15, 94.15, 97.15, 100.15, 103.15, 106.15, 109.15, 112.15, 115.15, 118.15, 121.15, 124.15, 124.15, 124.15, 124.15, 124.15, 124.1, 124.05, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124];
arraydir3 = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 5, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 5, 5, 5, 4, 4, 4, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 3, 3, 3, 3, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 1, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,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5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5];
Frame 8
stop();
_root.flipper.removeMovieClip();
attachMovie("b_balloon2", "bballoon", 10, {_x:256, _y:-100});
attachMovie("b_text2", "btext", 11, {_x:256, _y:-100, hh:0});
bballoon.onEnterFrame = function () {
if (this._alpha <= 0) {
if (_root.registeredgame) {
_root.gotoAndStop("intro");
} else {
_root.gotoAndStop("register");
}
_root.btext.removeMovieClip();
this.removeMovieClip();
}
if (this.counter < 200) {
this.counter++;
if (!this.sound1) {
this.sound1 = true;
}
this.snapinplace(1, 1.2, 192, 256);
} else {
this._alpha = this._alpha - 5;
_root.btext._alpha = _root.btext._alpha - 5;
}
};
btext.onEnterFrame = function () {
if (this.counter < 40) {
this.counter++;
} else {
if (this.tick2 < 80) {
this.tick2++;
} else {
this.blinker(30);
}
this.snapinplace(1, 1.2, 192, 256);
}
};
Frame 10
function bubblenote() {
}
function captionbutton() {
switch (this.name) {
case "demo" :
this.pos = 2;
return;
case "full" :
this.pos = 1;
}
}
stop();
_root.flipper.removeMovieClip();
if (!(_root.version === "web")) {
} else {
gotoAndStop (14);
_root.timesplayed._visible = false;
}
_root.timesplayed = ("YOU HAVE " + (15 - myLocalSO.data.plays)) + " PLAYS LEFT";
Object.registerClass("bubblenote", bubblenote);
Object.registerClass("text_demobuttonbig2", captionbutton);
Object.registerClass("register_button", captionbutton);
bubblenote.prototype = new MovieClip();
captionbutton.prototype = new MovieClip();
_quality = "low";
attachMovie("text_demobuttonbig2", "demo", 4, {_x:800, _y:330, name:"demo"});
attachMovie("register_button", "register_b", 5, {_x:-200, _y:300, name:"full"});
attachMovie("register_name", "register_name", 6, {_x:800, _y:170, name:"name"});
attachMovie("register_key", "register_key", 7, {_x:-200, _y:235, name:"key"});
register_name.onEnterFrame = function () {
if (this.i < 200) {
this.i++;
}
if (this.i > 5) {
this.snapinplace(1, 2, 170, 300);
}
if (this.i > 25) {
register_key.snapinplace(1, 2, 235, 300);
}
if (this.i > 45) {
register_b.snapinplace(1, 2, 300, 300);
}
if (this.i > 65) {
demo.snapinplace(1, 2, 330, 300);
}
};
Selection.setFocus("_root.nametext");
captionbutton.prototype.onRollOver = function () {
_root.bubblenote.closer = false;
if (this.name == "demo") {
this._y = 335;
}
if (this.name == "p_up") {
this._y = 335;
this._x = 335;
}
if (this.name == "full") {
this._y = 305;
}
if (!this.done) {
this.addstar(this);
cap = attachMovie("bubblenote", "bubblenote", 200000, {_xscale:4, _yscale:4, _y:this._y + 5, _x:this._x + 10, acc:0.7, dec:3, destYs:101, destXs:101, destX:this._x + 110, _alpha:0});
cap.gotoAndStop(this.pos);
this.done = true;
}
};
captionbutton.prototype.onRelease = function () {
if (this.name == "demo") {
trace(_root.plays);
_root.cap.removeMovieClip();
_root.gotoAndStop("intro");
_root.register_b.removeMovieClip();
_root.register_key.removeMovieClip();
_root.register_name.removeMovieClip();
_root.demo.removeMovieClip();
} else {
cap.gotoAndStop(4);
}
if ((this.name == "full") and (validateKey(_root.nametext, _root.registration) == true)) {
_root.registergame = true;
register_game();
_root.cap.removeMovieClip();
_root.gotoAndStop("intro");
_root.register_b.removeMovieClip();
_root.register_key.removeMovieClip();
_root.register_name.removeMovieClip();
_root.demo.removeMovieClip();
} else {
if (this.name == "full") {
this._y = 305;
}
cap.gotoAndStop(3);
}
};
captionbutton.prototype.onRollOut = function () {
_root.bubblenote.closer = true;
_root.cap.removeMovieClip();
this.done = false;
};
bubblenote.prototype.onEnterFrame = function () {
if (this.closer == true) {
this.destYs = 0;
this.destXs = 0;
if (this._xscale <= 0) {
this.removeMovieClip();
}
}
this.onRollOut = function () {
this.destYs = 0;
this.destXs = 0;
if (this._xscale <= 0) {
this.removeMovieClip();
}
};
if (this.closer) {
this.removeMovieClip();
}
if (!this.closer) {
if (this._x < this.destx) {
this.t++;
this._x = this._x + (35 / this.t);
}
if (this._xscale < 100) {
this._xscale = this._xscale + 10;
this._yscale = this._yscale + 10;
}
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
}
} else {
this.removeMovieClip();
}
};
Frame 13
play();
Frame 14
function menu() {
}
stop();
_root.currentlevel = 1;
_root.charchoice = "girl";
_root.intense = 4;
_root.addscore = 40;
_root.intensity = [11000, 19000, 8700, 8200, 7200, 5200, 5000, 4100, 4050, 4040, 3030, 2020, 2010, 2000, 1050, 1025, 1000, 900, 900, 900, 950, 950, 900];
_root.throwintense = [25, 40, 40, 40, 40, 40, 40, 40, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30];
_root.throwlock = _root.throwintense[4];
_root.critterhit = 0;
_root.hopperin = 30000;
_root.intensecounter = 4;
_root.postname = "Kiko";
_root.score = 0;
demo.removeMovieClip();
register_b.removeMovieClip();
register_name.removeMovieClip();
register_key.removeMovieClip();
_root.btext.removeMovieClip();
delete bubblenote.prototype.onEnterFrame;
delete _root.flipper.onEnterFrame;
delete _root.bballoon.onEnterFrame;
delete _root.btext.onEnterFrame;
_root.bballoon.removeMovieClip;
_root.attachMovie("grassback2", "grass", 2);
_root.base.removeMovieClip();
_root.powerupnum = 0;
menu.currentup = false;
pupint.clearInterval();
if ((_root.currentlevel >= 1) and (_root.startedgame == true)) {
_root.frame.removeMovieClip();
gotoAndStop (20);
} else {
_root.laughz.singleshot("laughz", true);
_root.prevscore = 0;
}
menu.prototype = new MovieClip();
Object.registerClass("button_plain", menu);
xsetting = 220;
if (_root.registergame) {
ysetting = 190;
textarray = ["text_rule", "text_setup2", "text_playdemo1", "text_scores", "text_buygame1"];
} else {
ysetting = 190;
textarray = ["text_rule", "text_setup2", "text_playdemo1", "text_scores", "text_buygame1"];
}
xarray = [-200, 800, -200, 800, -200, -220, 800, -200, 800, -200, 800, -200];
xsetting = xarray[0];
menuitem = 0;
while (menuitem < 10) {
Object.registerClass(textarray[menuitem], menu);
attachMovie(textarray[menuitem], ["button" + menuitem], menuitem + 5, {_x:256, _y:600, timer:menuitem, originy:ysetting, _xscale:99, _yscale:99});
ysetting = ysetting + 25;
menuitem++;
}
menu.prototype.onEnterFrame = function () {
if (_root._currentframe < 14) {
this.removeMovieClip();
}
if (_root._currentframe > 15) {
this.removeMovieClip();
}
if (this.locked) {
this.enabled = false;
} else {
this.enabled = true;
}
if (!this.init) {
this.hh = 0;
this.cevent = 1;
this.init = true;
}
this.onRollOver = function () {
_root.cursorz.gotoAndStop(3);
rollover1.singleshot("rollover1", true);
this._y = this.originy - 5;
};
this.onRollOut = function () {
_root.cursorz.gotoAndStop(1);
};
this.onPress = function () {
down.singleshot("down", true);
this._y = this.originy - 7;
};
this.onRelease = function () {
_root.cursorz.gotoAndStop(1);
_root.menu.prototype.locked = true;
if (!menu.currentup) {
switch (this.timer) {
case 0 :
_root.attachMovie("board_rules", "boardrules", 1000, {_x:256, _y:218, name:"menu"});
menu.currentup = true;
return;
case 1 :
_root.attachMovie("char_setup", "boardsetup", 1000, {_x:256, _y:218, name:"menu", locked:true});
menu.currentup = true;
return;
case 2 :
_root.frame.removeMovieClip();
_root.uiobj = _root.myLocalSO.data.uiobj;
trace(_root.uiobj);
_root.gotoAndStop("levelsetup");
return;
case 3 :
_root.attachMovie("board_score", "boardcontrol", 999, {_x:256, _y:218, name:"menu"});
menu.currentup = true;
return;
case 4 :
gotoAndStop (33);
cool.singleshot("crow", true);
menu.currentup = false;
_root.menu.prototype.locked = false;
}
}
};
if (this._y != this.originy) {
this.snapinplace(0.8, 1.7, this.originy, 256);
}
if (this.i > (this.timer * 80)) {
this.snapinplace(0.8, 1.7, this._y, 256);
} else if (this.i < 500) {
this.i++;
}
};
i = 0;
while (i < 10000) {
clearInterval(i);
i++;
}
Frame 20
function baseholder() {
}
stop();
_root.currentlevel = 1;
_root.charchoice = "girl";
_root.sec = "00";
_root.critterhit = 0;
_root.balloontick = 0;
_root.z = 0;
clearInterval(_root.hop1);
clearInterval(_root.hop2);
clearInterval(_root.hop3);
clearInterval(_root.hop4);
_root.state = "play";
_root.attachMovie("soundbutton", "soundmaster", 9000000000001, {_x:485, _y:310});
_root.quitbut._y = 325;
clearInterval(_root.tiny);
clearInterval(_root.turvy);
clearInterval(_root.tops);
_root.unlockcredits = true;
_root.secc = "00";
_root.sec = "00";
_root.chartag = 0;
_root.op1 = 0;
_root.op2 = 0;
_root.pickedup = true;
_root.powerupadded = 0;
_root.yoursplash = 0;
base.powerup.removeMovieClip();
_root.grass.removeMovieClip();
clearInterval(_root.crowint);
this.dropfence = false;
delete _root.p_array;
_root.score = 0;
_root.hittally = 0;
_root.chartag = 0;
_root.fullsecond = 0;
_root.uitext1 = 0;
_root.uitext2 = 0;
delete bobletter.onEnterFrame;
delete base.char1.onEnterFrame;
delete register_name.onEnterFrame;
delete base.enemy1.onEnterFrame;
delete base.enemy2.onEnterFrame;
delete base.enemy3.onEnterFrame;
delete bubblenote.onEnterFrame;
delete board_score.onEnterFrame;
delete board_controls.onEnterFrame;
delete board_rules.onEnterFrame;
delete char_setup.onEnterFrame;
delete button1.onEnterFrame;
delete button2.onEnterFrame;
delete button3.onEnterFrame;
delete button4.onEnterFrame;
delete button5.onEnterFrame;
delete button6.onEnterFrame;
delete button7.onEnterFrame;
delete tree1.onEnterFrame;
delete tree2.onEnterFrame;
delete tree3.onEnterFrame;
clearInterval(crowint);
_root.activated = true;
clearInterval(pupint);
clearInterval(_root.pupint);
clearInterval(_root.gametime);
_root.base.removeMovieClip();
Object.registerClass("base", baseholder);
baseholder.prototype = new MovieClip();
_root.chartag = 0;
_root.startedgame = true;
clearInterval(pupint);
_root.introcrow.removeMovieClip();
_root.scoreboard = true;
switch (_root.currentlevel) {
case 1 :
_root.attachMovie("base", "base", 1, {name:"level1"});
break;
case 2 :
_root.attachMovie("base", "base", 1, {name:"level2"});
break;
case 3 :
_root.attachMovie("base", "base", 1, {name:"level3"});
}
baseholder.prototype.loadlevel = function () {
switch (_root.currentlevel) {
case 1 :
_root.minute = "00";
_root.sec = "00";
_root.scoretop = 2;
_root.op_throw = _root.intensity[_root.intense];
_root.powerupadded = 0;
_root.p_total = 4;
_root.p_array = new Array();
_root.p_array = ["1", "2", "3", "4"];
this.attachMovie("mainfence", "fence", 8020, {_x:360, _y:220});
this.attachMovie("grass", "grass", 2);
this.attachMovie("tree1", "tree1", 9001, {_x:95, _y:100});
this.attachMovie("tree1", "tree2", 9002, {_x:140, _y:260});
this.attachMovie("tree1", "tree3", 9004, {_x:400, _y:150});
this.attachMovie("spiket", "spiket1", 4, {_x:60, _y:70});
this.attachMovie("spiket", "spiket2", 5, {_x:450, _y:230});
this.attachMovie("hitsite", "hitsite", 20000);
this.poweruparray = [[80, 220, 200, 220, 355, 30, 60, 300], [100, 300, 260, 300, 280, 30, 50, 280]];
this.superarray = [[170, 380, 220, 240, 400, 50, 70, 320], [220, 300, 270, 300, 330, 50, 70, 190]];
_root.activated = true;
z = 0;
loadUI(1);
sign = _root.attachMovie("scoreboardmain", "board", 120000, {_x:256, _y:180, name:"level1"});
sign.inside.gotoAndStop(1);
return;
case 2 :
_root.minute = "00";
_root.sec = "00";
_root.scoretop = 2;
this.poweruparray = [[80, 220, 200, 220, 370, 30, 60, 300], [100, 300, 260, 300, 280, 30, 50, 280]];
this.superarray = [[170, 380, 220, 240, 400, 50, 70, 320], [220, 300, 270, 300, 330, 50, 70, 190]];
_root.op_throw = _root.intensity[_root.intense] - 300;
_root.powerupadded = 0;
_root.p_total = 4;
_root.p_array = new Array();
_root.p_array = ["9", "10", "11", "12"];
this.attachMovie("logfence", "fence", 8000, {_x:360, _y:220});
this.attachMovie("grass_blank", "grass", 2);
this.attachMovie("picnik", "tree1", 9001, {_x:80, _y:100});
this.attachMovie("picnik", "tree3", 9003, {_x:480, _y:150});
this.attachMovie("spiket", "spiket1", 4, {_x:100, _y:250});
this.attachMovie("spiket", "spiket2", 5, {_x:460, _y:50});
this.attachMovie("hitsite", "hitsite", 20000);
_root.activated = true;
z = 0;
loadUI(3);
sign = _root.attachMovie("scoreboardmain", "board", 120000, {_x:256, _y:180, name:"level2"});
sign.inside.gotoAndStop(2);
return;
case 3 :
_root.minute = "00";
_root.sec = "00";
_root.scoretop = 2;
this.poweruparray = [[80, 220, 200, 220, 370, 30, 60, 300], [100, 300, 260, 300, 280, 30, 50, 280]];
this.superarray = [[170, 380, 220, 240, 400, 50, 70, 320], [220, 300, 270, 300, 330, 50, 70, 190]];
_root.op_throw = _root.intensity[_root.intense] - 400;
_root.powerupadded = 0;
_root.p_total = 4;
_root.p_array = new Array();
_root.p_array = ["5", "6", "7", "8"];
this.attachMovie("grass_3", "grass", 2);
this.attachMovie("riverfence", "fence", 8000, {_x:360, _y:220});
this.attachMovie("grass_long", "tree1", 9001, {_x:150, _y:250});
this.attachMovie("spiket", "spiket1", 4, {_x:50, _y:180});
this.attachMovie("spiket", "spiket2", 5, {_x:570, _y:260});
this.attachMovie("hitsite", "hitsite", 20000);
loadUI(2);
sign = _root.attachMovie("scoreboardmain", "board", 120000, {_x:256, _y:180, name:"level3"});
sign.inside.gotoAndStop(3);
}
};
base.loadlevel();
initializemouse = true;
Frame 28
i = 0;
while (i < 10000) {
clearInterval(i);
i++;
}
_root.cursorz.gotoAndStop(1);
_root.sec = 0;
_root.soundmaster.removeMovieClip();
delete base.char1.onEnterFrame;
delete base.enemy1.onEnterFrame;
delete base.enemy2.onEnterFrame;
delete base.enemy3.onEnterFrame;
clearInterval(supint);
clearInterval(_root.time);
clearInterval(pupint);
gametime(2);
_root.state == "clear";
_root.state = "open";
clearInterval(_root.gametime);
arrowz.removeMovieClip();
_root.pickedup = true;
if (_root.uitext4 < 5) {
base.bird.removeMovieClip();
base.removeMovieClip();
mainui.removeMovieClip();
scoreboard2._x = 300;
scoreboard2._y = 225;
} else {
base.removeMovieClip();
mainui.removeMovieClip();
scoreboard3._x = 300;
scoreboard3._y = 225;
}
soundmaster.removeMovieClip();
switch (_root.passed) {
case true :
sign = _root.attachMovie("tallyboard", "tallyboard", 120000, {_x:256, _y:192, name:"menu", tag:"ZZZZz"});
_root.name = _root.postname;
_root.compile_score();
break;
case false :
sorry.singleshot("sorry", true);
_root.pickedup = true;
_root.pupint.clearInterval();
_root.minute = "0";
_root.sec = "00";
sign = _root.attachMovie("sorryboard", "sorryboard", 120000, {_x:256, _y:192, name:"menu", tag:"asaa"});
if (!_root.frogsign) {
break;
}
_root.sorryboard.inside.gotoAndStop(2);
_root.frogsign = false;
}
_root.gotoAndStop("rest");
clearInterval(cane);
clearInterval(candy2);
clearInterval(candy);
clearInterval(cane2);
Frame 29
stop();
_root.hoppercurrent = false;
_root.attachhopper(380, 7000);
Frame 30
_root.attachMovie("base", "base", 1, {name:"rest"});
base.attachMovie("grassfinal", "grass", 2);
_root.soundmaster.removeMovieClip();
stop();
Frame 31
stop();
_root.soundmaster._y = 350;
_root.quitbut._y = 365;
_root.soundmaster.removeMovieClip();
delete base.char1.onEnterFrame;
delete base.enemy1.onEnterFrame;
delete base.enemy2.onEnterFrame;
delete base.enemy3.onEnterFrame;
clearInterval(supint);
clearInterval(_root.time);
clearInterval(pupint);
gametime(2);
clearInterval(_root.gametime);
arrowz.removeMovieClip();
_root.pickedup = true;
if (_root.uitext4 < 5) {
base.bird.removeMovieClip();
base.removeMovieClip();
mainui.removeMovieClip();
scoreboard2._x = 300;
scoreboard2._y = 225;
} else {
base.removeMovieClip();
mainui.removeMovieClip();
scoreboard3._x = 300;
scoreboard3._y = 225;
}
_root.attachMovie("base", "base", 1, {name:"rest"});
base.attachMovie("grass_blank", "grass", 2);
_root.attachMovie("ply_but", "ply_but", 50, {_x:480, _y:427});
stop();
_root.attachMovie("walkers", "walkin", 4, {_x:-10, _y:460});
walkin.onEnterFrame = function () {
if (_root.unlockcredits) {
if (this._y > -60) {
this._x = this._x + 1;
this._y = this._y - 1;
} else {
this.removeMovieClip();
}
}
};
_root.attachMovie("gamecredit", "credits", 20, {_y:600, _x:256});
credits.onEnterFrame = function () {
if (_root.unlockcredits) {
if (!this.doneit) {
if (this._y > -75) {
this._y = this._y - 1;
} else {
this.doneit = true;
}
}
}
};
i = 0;
while (i < 10000) {
clearInterval(i);
i++;
}
Frame 32
_root.currentlevel = 0;
_root.gotoAndStop("intro");
_root.base.removeMovieClip();
_root.walkin.removeMovieClip();
_root.ply_but.removeMovieClip();
_root.credits.removeMovieClip();
delete eval (_root.walkin.onEnterFrame());
_root.holdit = false;
_root.sticker = 0;
Frame 33
stop();
_root.grass.removeMovieClip();
_root.board.removeMovieClip();
_root.quitbut.removeMovieClip();
_root.soundmaster.removeMovieClip();
quitbut._x = -999;
soundmaster._x = -999;
delete base.char1.onEnterFrame;
delete base.enemy1.onEnterFrame;
delete base.enemy2.onEnterFrame;
delete base.enemy3.onEnterFrame;
clearInterval(supint);
clearInterval(_root.time);
clearInterval(pupint);
gametime(2);
clearInterval(_root.gametime);
arrowz.removeMovieClip();
_root.pickedup = true;
if (_root.uitext4 < 5) {
base.bird.removeMovieClip();
base.removeMovieClip();
mainui.removeMovieClip();
scoreboard2._x = 300;
scoreboard2._y = 225;
} else {
base.removeMovieClip();
mainui.removeMovieClip();
scoreboard3._x = 300;
scoreboard3._y = 225;
}
loadlogo.onEnterFrame = function () {
this.introwobbler(10, 3, 5, 50, 20);
};
Frame 34
_root.currentlevel = 0;
_root.gotoAndStop("intro");
_root.base.removeMovieClip();
_root.walkin.removeMovieClip();
_root.ply_but.removeMovieClip();
_root.credits.removeMovieClip();
delete eval (_root.walkin.onEnterFrame());
_root.holdit = false;
_root.sticker = 0;
Symbol 13 Button
on (rollOver) {
loadVariablesNum ("wbf.txt", 0);
}
on (release) {
if (mylink != undefined) {
getURL (mylink, "_blank");
} else {
getURL ("http://www.shop3djoe.com/Merchant2/merchant.mv?Screen=CTGY&Store_Code=3DJOE&Category_Code=DOWNLOAD", "_blank");
}
}
Symbol 31 MovieClip [balloon0] Frame 1
stop();
Symbol 31 MovieClip [balloon0] Frame 2
this.removeMovieClip();
Symbol 35 MovieClip [balloon1] Frame 1
stop();
Symbol 35 MovieClip [balloon1] Frame 2
this.removeMovieClip();
Symbol 39 MovieClip [balloon2] Frame 1
stop();
Symbol 39 MovieClip [balloon2] Frame 2
this.removeMovieClip();
Symbol 49 MovieClip [bird] Frame 5
this._x = this._x + 2;
Symbol 49 MovieClip [bird] Frame 10
gotoAndPlay (1);
Symbol 53 Button
on (release) {
unlock = true;
_root.readie.singleshot("readie", true);
}
on (rollOver) {
_root.cursorz.gotoAndStop(3);
}
on (rollOut) {
_root.cursorz.gotoAndStop(1);
}
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 2
stop();
Instance of Symbol 72 MovieClip in Symbol 73 MovieClip Frame 2
/* no clip actions */
Symbol 77 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 2
stop();
Symbol 78 MovieClip Frame 1
textz.onEnterFrame = function () {
if (!this.init) {
this.originy = this._y;
this.init = true;
}
if ((this._y < 10) and (this._y > -1220)) {
switch (this.dir) {
case 1 :
this._y = this._y - 2;
break;
case 2 :
if (this._y >= 0) {
break;
}
this._y = this._y + 2;
}
} else {
this._y = this.originy;
}
};
arrowdown.onRollOver = function () {
_root.cursorz.gotoAndStop(3);
textz.dir = 1;
this.gotoAndStop(2);
};
arrowdown.onRollOut = function () {
this.gotoAndStop(1);
_root.cursorz.gotoAndStop(1);
textz.dir = 3;
};
arrowup.onRollOver = function () {
this.gotoAndStop(2);
_root.cursorz.gotoAndStop(3);
textz.dir = 2;
};
arrowup.onRollOut = function () {
this.gotoAndStop(1);
_root.cursorz.gotoAndStop(1);
textz.dir = 3;
};
Symbol 82 Button
on (release) {
nextFrame();
}
on (rollOver) {
_root.rollover_in.singleshot("rollover_in", true);
}
on (rollOver) {
_root.cursorz.gotoAndStop(3);
}
on (rollOut) {
_root.cursorz.gotoAndStop(1);
}
Symbol 83 Button
on (release) {
unlock = true;
_root.readie.singleshot("readie", true);
}
on (rollOver) {
_root.cursorz.gotoAndStop(3);
}
on (rollOut) {
_root.cursorz.gotoAndStop(1);
}
Symbol 89 Button
on (release) {
prevFrame();
}
on (rollOver) {
_root.cursorz.gotoAndStop(3);
_root.rollover_in.singleshot("rollover_in", true);
}
on (rollOut) {
_root.cursorz.gotoAndStop(1);
}
Symbol 90 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 2
stop();
Symbol 91 MovieClip [board_rules] Frame 1
inside._xscale = 0;
inside._yscale = 0;
Symbol 92 Button
on (release) {
delete loading.onEnterFrame;
delete but1.onEnterFrame;
_root.readie.singleshot("readie", true);
unlock = true;
if ((_root.currentlevel > 3) and (_root.unlockcredits == false)) {
_root.unlockcredits = true;
}
}
on (rollOver) {
_root.cursorz.gotoAndStop(3);
}
on (rollOut) {
_root.cursorz.gotoAndStop(1);
}
Symbol 98 Button
on (release) {
nextFrame();
}
Symbol 106 MovieClip Frame 2
Symbol 106 MovieClip Frame 5
Symbol 106 MovieClip Frame 10
stop();
Symbol 106 MovieClip Frame 11
stop();
but2.onEnterFrame = function () {
this.arrowdrive(30, 10, 10, 15, 10);
};
but2.onRelease = function () {
gotoAndPlay (1);
};
but2.onRollOver = function () {
};
Symbol 106 MovieClip Frame 19
stop();
Symbol 107 MovieClip [board_score] Frame 1
inside._xscale = 0;
inside._yscale = 0;
Symbol 128 MovieClip [bobletter] Frame 1
stop();
Symbol 141 MovieClip [bsup1] Frame 6
this.removeMovieClip();
Symbol 142 MovieClip [bsup2] Frame 6
this.removeMovieClip();
Symbol 154 Button
on (release) {
_root.passed = true;
if (_root.registeredgame) {
trace("currentlevel " + _root.currentlevel);
}
_root.gotoAndPlay("clearlevel");
_root.base.removeMovieClip();
_root.mainui.removeMovieClip();
}
Symbol 156 Button
on (release) {
unlock = true;
_root.readie.singleshot("readie", true);
if ((_root.name_enter == null) and (_root.myLocalSO.data.namestore == "empty")) {
switch (_root.charchoice) {
case "bear" :
_root.postname = "Loi ";
break;
case "boy" :
_root.postname = "Joe ";
break;
case "girl" :
_root.postname = "Kiko ";
}
} else {
switch (_root.name_enter.length) {
case 1 :
_root.postname = _root.name_enter + " ";
break;
case 2 :
_root.postname = _root.name_enter + " ";
break;
case 3 :
_root.postname = _root.name_enter + " ";
break;
case 4 :
_root.postname = _root.name_enter + " ";
break;
case 5 :
_root.postname = _root.name_enter;
}
trace(_root.postname.length);
_root.myLocalSO.data.namestore = _root.postname;
_root.postname = _root.myLocalSO.data.namestore;
trace(_root.postname.length);
}
}
on (rollOver) {
_root.cursorz.gotoAndStop(3);
}
on (rollOut) {
_root.cursorz.gotoAndStop(1);
}
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 2
stop();
Symbol 170 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 2
stop();
Symbol 199 Button
on (release) {
_root.bossa2.looper("bossa2");
}
on (press) {
_root.bossa2.stop();
}
on (rollOver) {
_root.cursorz.gotoAndStop(3);
_root.rollover_in.singleshot("rollover_in", true);
}
on (rollOut) {
_root.cursorz.gotoAndStop(1);
}
Symbol 206 MovieClip Frame 1
stop();
Instance of Symbol 205 MovieClip in Symbol 206 MovieClip Frame 1
/* no clip actions */
Symbol 206 MovieClip Frame 2
stop();
Symbol 222 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 2
stop();
Symbol 222 MovieClip Frame 3
stop();
Symbol 225 MovieClip Frame 1
boy.onEnterFrame = function () {
this.blinker(30);
this.wobbler1(6, -20, 5, 10, 5, 10);
};
girl.onEnterFrame = function () {
this.blinker(30);
this.wobbler1(7, -22, 6, 10, 5, 10);
};
bear.onEnterFrame = function () {
this.blinker(30);
this.wobbler1(6, -20, 7, 30, 80, 10);
};
Symbol 226 MovieClip [char_setup] Frame 1
inside._xscale = 0;
inside._yscale = 0;
Symbol 233 MovieClip Frame 10
_parent.moveme = true;
Symbol 238 MovieClip Frame 9
_parent.gotoAndPlay(1);
Symbol 244 MovieClip Frame 4
_parent.moveme = true;
Symbol 249 MovieClip Frame 5
_parent.moveme = true;
Symbol 254 MovieClip Frame 4
_parent.moveme = true;
Symbol 262 MovieClip Frame 9
_root.charhit = false;
_parent.hit = false;
_parent.holdfire = false;
Symbol 268 MovieClip [char1] Frame 1
stop();
Symbol 268 MovieClip [char1] Frame 2
stop();
Symbol 268 MovieClip [char1] Frame 3
stop();
Symbol 268 MovieClip [char1] Frame 4
stop();
Symbol 268 MovieClip [char1] Frame 5
stop();
Symbol 268 MovieClip [char1] Frame 12
_root.charhit = false;
nextFrame();
Symbol 268 MovieClip [char1] Frame 17
stop();
Symbol 268 MovieClip [char1] Frame 18
stop();
Symbol 268 MovieClip [char1] Frame 19
stop();
Symbol 268 MovieClip [char1] Frame 20
stop();
Symbol 268 MovieClip [char1] Frame 21
stop();
Symbol 280 MovieClip [cursor] Frame 1
stop();
Symbol 280 MovieClip [cursor] Frame 2
stop();
Symbol 280 MovieClip [cursor] Frame 3
stop();
Symbol 285 MovieClip [droplet] Frame 11
this.removeMovieClip();
Symbol 289 MovieClip [droplet2] Frame 7
this.removeMovieClip();
Symbol 294 MovieClip Frame 1
if (random(60) > 56) {
gotoAndPlay (5);
}
Symbol 294 MovieClip Frame 4
_parent.moveme = true;
gotoAndPlay (1);
Symbol 299 MovieClip Frame 7
_parent.moveme = true;
Symbol 304 MovieClip Frame 8
_parent.moveme = true;
_parent.gotoAndPlay(1);
Symbol 316 MovieClip Frame 5
_parent.moveme = true;
Symbol 321 MovieClip Frame 4
_parent.moveme = true;
Symbol 326 MovieClip Frame 4
_parent.moveme = true;
Symbol 327 MovieClip [enemypak1] Frame 1
this.hit = false;
this.moveme = true;
stop();
Symbol 327 MovieClip [enemypak1] Frame 2
stop();
Symbol 327 MovieClip [enemypak1] Frame 3
stop();
Symbol 327 MovieClip [enemypak1] Frame 4
stop();
Symbol 327 MovieClip [enemypak1] Frame 5
stop();
Symbol 327 MovieClip [enemypak1] Frame 6
_parent.holdfire = false;
Symbol 327 MovieClip [enemypak1] Frame 13
this.hit = false;
this.moveme = true;
Symbol 343 MovieClip [fountain] Frame 11
this.removeMovieClip();
Symbol 348 MovieClip Frame 1
if (random(60) > 56) {
gotoAndPlay (5);
}
Symbol 348 MovieClip Frame 4
_parent.moveme = true;
gotoAndPlay (1);
Symbol 362 MovieClip [girl] Frame 1
stop();
moveme = true;
Symbol 362 MovieClip [girl] Frame 2
stop();
Symbol 362 MovieClip [girl] Frame 3
stop();
Symbol 362 MovieClip [girl] Frame 4
stop();
Symbol 362 MovieClip [girl] Frame 5
stop();
Symbol 362 MovieClip [girl] Frame 6
_parent.holdfire = false;
Symbol 362 MovieClip [girl] Frame 15
_root.charhit = false;
this.hit = false;
_parent.holdfire = false;
Symbol 362 MovieClip [girl] Frame 20
stop();
Symbol 362 MovieClip [girl] Frame 21
stop();
Symbol 362 MovieClip [girl] Frame 22
stop();
Symbol 362 MovieClip [girl] Frame 23
stop();
Symbol 362 MovieClip [girl] Frame 24
stop();
Symbol 364 MovieClip [girl_op] Frame 1
stop();
Symbol 364 MovieClip [girl_op] Frame 2
stop();
Symbol 364 MovieClip [girl_op] Frame 3
stop();
Symbol 364 MovieClip [girl_op] Frame 4
stop();
Symbol 364 MovieClip [girl_op] Frame 5
stop();
Symbol 364 MovieClip [girl_op] Frame 6
_parent.holdfire = false;
Symbol 364 MovieClip [girl_op] Frame 15
_root.charhit = false;
this.hit = false;
gotoAndStop (1);
_parent.holdfire = false;
Symbol 364 MovieClip [girl_op] Frame 20
stop();
Symbol 364 MovieClip [girl_op] Frame 21
stop();
Symbol 364 MovieClip [girl_op] Frame 22
stop();
Symbol 364 MovieClip [girl_op] Frame 23
stop();
Symbol 364 MovieClip [girl_op] Frame 24
stop();
Symbol 376 MovieClip [tree1] Frame 1
stop();
Symbol 379 MovieClip [grassback] Frame 1
audio.onPress = function () {
audclik = [1, 2];
if (click == 1) {
click = 0;
} else {
click++;
}
audio.gotoAndStop(audclik[click]);
if (audclik[click] == 2) {
_root.globalsoundcontrol.setVolume(0);
} else {
_root.globalsoundcontrol.setVolume(100);
}
};
audio.onRollOver = function () {
_root.holdit = true;
};
audio.onRollOut = function () {
_root.holdit = false;
};
Symbol 390 MovieClip [grex] Frame 4
this.removeMovieClip();
Symbol 407 MovieClip [handsred] Frame 1
stop();
Symbol 407 MovieClip [handsred] Frame 2
stop();
Symbol 407 MovieClip [handsred] Frame 3
stop();
Symbol 407 MovieClip [handsred] Frame 4
stop();
Symbol 407 MovieClip [handsred] Frame 5
stop();
Symbol 407 MovieClip [handsred] Frame 8
stop();
Symbol 415 MovieClip Frame 1
stop();
Symbol 415 MovieClip Frame 2
stop();
Symbol 416 MovieClip Frame 1
stop();
Symbol 416 MovieClip Frame 2
stop();
Symbol 417 MovieClip [hopper] Frame 9
stop();
Symbol 420 MovieClip Frame 1
stop();
Symbol 420 MovieClip Frame 2
stop();
Symbol 420 MovieClip Frame 5
stop();
Symbol 421 MovieClip [Symbol 354] Frame 1
stop();
Symbol 421 MovieClip [Symbol 354] Frame 2
stop();
Symbol 422 MovieClip [hopper_F] Frame 9
stop();
Symbol 435 MovieClip [ladybug] Frame 9
gotoAndPlay (1);
Symbol 435 MovieClip [ladybug] Frame 18
gotoAndPlay (11);
Symbol 435 MovieClip [ladybug] Frame 33
gotoAndPlay (29);
Symbol 446 MovieClip [ladyx] Frame 6
this.removeMovieClip();
Symbol 455 MovieClip [logoflasher] Frame 2
_root.shock.singleshot("shocker", true);
stop();
Symbol 455 MovieClip [logoflasher] Frame 3
_root.djoe.singleshot("3djoe", true);
stop();
Symbol 455 MovieClip [logoflasher] Frame 4
_root.csero.singleshot("csero", true);
stop();
Symbol 455 MovieClip [logoflasher] Frame 5
_parent.gotoAndStop("gamelogo");
_root.titlez.singleshot("title", true);
Symbol 461 MovieClip [mainfence] Frame 1
stop();
Symbol 461 MovieClip [mainfence] Frame 2
stop();
Symbol 465 MovieClip Frame 1
stop();
Symbol 476 MovieClip Frame 1
stop();
Symbol 476 MovieClip Frame 2
stop();
Symbol 476 MovieClip Frame 3
stop();
Symbol 492 MovieClip Frame 1
stop();
Symbol 492 MovieClip Frame 2
stop();
Symbol 492 MovieClip Frame 3
stop();
Symbol 492 MovieClip Frame 4
stop();
Symbol 492 MovieClip Frame 5
stop();
Symbol 492 MovieClip Frame 6
stop();
Symbol 492 MovieClip Frame 7
stop();
Symbol 492 MovieClip Frame 8
stop();
Symbol 492 MovieClip Frame 9
stop();
Symbol 492 MovieClip Frame 10
stop();
Symbol 492 MovieClip Frame 11
stop();
Symbol 492 MovieClip Frame 12
stop();
Symbol 493 MovieClip Frame 1
stop();
Symbol 493 MovieClip Frame 2
stop();
Symbol 493 MovieClip Frame 3
stop();
Symbol 493 MovieClip Frame 4
stop();
Symbol 493 MovieClip Frame 5
stop();
Symbol 511 MovieClip Frame 1
stop();
Symbol 511 MovieClip Frame 2
Symbol 511 MovieClip Frame 3
gotoAndStop (1);
Symbol 513 MovieClip [mainui] Frame 1
stop();
Symbol 527 MovieClip [pipesplash] Frame 7
this.removeMovieClip();
Symbol 531 Button
on (release) {
doThisAfter(1);
_root.balloontick = 0;
clearInterval(_root.hop1);
clearInterval(_root.hop2);
clearInterval(_root.hop3);
clearInterval(_root.hop4);
_root.sorryboard.removeMovieClip();
delete _root.sorryboard.onEnterFrame;
_root.boardcontrol.removeMovieClip();
delete _root.boardcontrol.onEnterFrame;
_root.tallyboard.removeMovieClip();
delete _root.tallyboard.onEnterFrame;
_root.mainui.removeMovieClip();
_root.board.removeMovieClip();
delete eval (_root.board.onEnterFrame());
_root.startedgame = false;
_root.holdit = false;
_root.sticker = 0;
base.Pup_holder.removeMovieClip();
clearInterval(_root.pupint);
clearInterval(_root.hopint);
clearInterval(_root.beezid);
base.superp.removeMovieClip();
this.removeMovieClip();
_root.passed = true;
clearInterval(_root.supint);
base.ladybug.removeMovieClip();
clearInterval(_root.lady);
this.dropfence = false;
base.removeMovieClip();
mainui.removeMovieClip();
delete base.char1.onEnterFrame;
delete base.enemy1.onEnterFrame;
delete base.enemy2.onEnterFrame;
delete base.enemy3.onEnterFrame;
clearInterval(supint);
clearInterval(_root.time);
clearInterval(pupint);
gametime(2);
clearInterval(_root.gametime);
arrowz.removeMovieClip();
_root.pickedup = true;
if (_root.uitext4 < 5) {
base.bird.removeMovieClip();
base.removeMovieClip();
mainui.removeMovieClip();
scoreboard2._x = 300;
scoreboard2._y = 225;
} else {
base.removeMovieClip();
mainui.removeMovieClip();
scoreboard3._x = 300;
scoreboard3._y = 225;
}
_root.gotoAndPlay("end");
_root.soundmaster.removeMovieClip();
this.removeMovieClip();
}
on (rollOver) {
_root.cursorz.gotoAndStop(3);
}
on (rollOut) {
_root.cursorz.gotoAndStop(1);
}
on (rollOver) {
_root.cursorz.gotoAndStop(3);
}
on (rollOut) {
_root.cursorz.gotoAndStop(1);
}
Symbol 542 MovieClip [popper_star] Frame 5
this.removeMovieClip();
Symbol 551 MovieClip [popper_sun] Frame 5
this.removeMovieClip();
Symbol 560 MovieClip [popper0] Frame 5
this.removeMovieClip();
Symbol 569 MovieClip [popper1] Frame 5
this.removeMovieClip();
Symbol 578 MovieClip [popper2] Frame 5
this.removeMovieClip();
Symbol 583 MovieClip [Pup_holder] Frame 1
stop();
Symbol 583 MovieClip [Pup_holder] Frame 2
stop();
Symbol 583 MovieClip [Pup_holder] Frame 3
stop();
Symbol 583 MovieClip [Pup_holder] Frame 4
stop();
Symbol 590 MovieClip Frame 1
stop();
Symbol 590 MovieClip Frame 2
stop();
Symbol 591 MovieClip [quitbutton] Frame 1
audio.onPress = function () {
audclik = [1, 2];
if (click == 1) {
click = 0;
} else {
click++;
}
audio.gotoAndStop(audclik[click]);
if (audclik[click] == 2) {
_root.globalsoundcontrol.setVolume(0);
} else {
_root.globalsoundcontrol.setVolume(100);
}
};
audio.onRollOver = function () {
_root.holdit = true;
_root.cursorz.gotoAndStop(3);
};
audio.onRollOut = function () {
_root.holdit = false;
_root.cursorz.gotoAndStop(1);
};
Symbol 602 MovieClip [rings] Frame 6
this.removeMovieClip();
Symbol 610 MovieClip [riverfence] Frame 1
stop();
Symbol 610 MovieClip [riverfence] Frame 2
stop();
Symbol 621 MovieClip Frame 1
stop();
hh = 0;
Symbol 621 MovieClip Frame 2
stop();
hh = 0;
Symbol 621 MovieClip Frame 3
stop();
hh = 0;
Symbol 626 MovieClip Frame 1
ready.onEnterFrame = function () {
this.blinker(30);
this.wobbler1(13, 6, 5, 8, 5, -87);
};
stop();
Symbol 626 MovieClip Frame 2
stop();
Symbol 626 MovieClip Frame 3
stop();
Symbol 626 MovieClip Frame 4
stop();
Symbol 627 MovieClip [scoreboardmain] Frame 1
stop();
gotoAndStop(this.name);
Symbol 633 Button
on (release) {
_root.gotoAndStop("upsell");
unlock = true;
}
on (rollOver) {
_root.cursorz.gotoAndStop(3);
}
on (rollOut) {
_root.cursorz.gotoAndStop(1);
}
Symbol 640 MovieClip Frame 1
stop();
bar.onEnterFrame = function () {
if ((this._alpha = 100)) {
if (!this.init) {
_root.tally = 0;
this.init = true;
}
this.arrowdrive(30, 10, 10, 15, 10);
}
};
Symbol 640 MovieClip Frame 2
stop();
Symbol 641 MovieClip [sorryboard] Frame 1
inside._xscale = 0;
inside._yscale = 0;
Symbol 649 Button
on (release) {
doThisAfter(1);
_root.balloontick = 0;
clearInterval(_root.hop1);
clearInterval(_root.hop2);
clearInterval(_root.hop3);
clearInterval(_root.hop4);
_root.sorryboard.removeMovieClip();
delete _root.sorryboard.onEnterFrame;
_root.boardcontrol.removeMovieClip();
delete _root.boardcontrol.onEnterFrame;
_root.tallyboard.removeMovieClip();
delete _root.tallyboard.onEnterFrame;
_root.mainui.removeMovieClip();
_root.board.removeMovieClip();
delete eval (_root.board.onEnterFrame());
_root.startedgame = false;
_root.holdit = false;
_root.sticker = 0;
base.Pup_holder.removeMovieClip();
clearInterval(_root.pupint);
clearInterval(_root.hopint);
clearInterval(_root.beezid);
base.superp.removeMovieClip();
this.removeMovieClip();
_root.passed = true;
clearInterval(_root.supint);
base.ladybug.removeMovieClip();
clearInterval(_root.lady);
this.dropfence = false;
base.removeMovieClip();
mainui.removeMovieClip();
delete base.char1.onEnterFrame;
delete base.enemy1.onEnterFrame;
delete base.enemy2.onEnterFrame;
delete base.enemy3.onEnterFrame;
clearInterval(supint);
clearInterval(_root.time);
clearInterval(pupint);
gametime(2);
clearInterval(_root.gametime);
arrowz.removeMovieClip();
_root.pickedup = true;
if (_root.uitext4 < 5) {
base.bird.removeMovieClip();
base.removeMovieClip();
mainui.removeMovieClip();
scoreboard2._x = 300;
scoreboard2._y = 225;
} else {
base.removeMovieClip();
mainui.removeMovieClip();
scoreboard3._x = 300;
scoreboard3._y = 225;
}
_root.gotoAndPlay("end");
_root.soundmaster.removeMovieClip();
this.removeMovieClip();
}
on (rollOver) {
_root.cursorz.gotoAndStop(3);
}
on (rollOut) {
_root.cursorz.gotoAndStop(1);
}
Symbol 661 MovieClip [splasher] Frame 6
this.removeMovieClip();
Symbol 662 MovieClip Frame 1
stop();
Symbol 662 MovieClip Frame 2
stop();
Symbol 664 MovieClip [super] Frame 1
stop();
Symbol 664 MovieClip [super] Frame 2
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 673 MovieClip [super2] Frame 1
stop();
Symbol 673 MovieClip [super2] Frame 3
_root.balloonsound.singleshot("waterballoon", true);
Symbol 673 MovieClip [super2] Frame 9
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 702 Button
on (release) {
unlock = true;
_root.gotoAndStop("upsell");
}
on (rollOver) {
_root.cursorz.gotoAndStop(3);
}
on (rollOut) {
_root.cursorz.gotoAndStop(1);
}
Symbol 703 MovieClip Frame 1
stop();
tilly.onEnterFrame = function () {
this.arrowdrive(30, 10, 10, 15, 10);
};
chart.onRelease = function () {
name = _root.name;
score = _root.score;
_root.attachMovie("board_score", "boardcontrol", 999, {_x:256, _y:192, name:"menu", tag:"end"});
_root.menu.currentup = true;
_parent.removeMovieClip();
};
text.onEnterFrame = function () {
if ((this._alpha = 100)) {
if (!this.init) {
this.tallseq = 0;
this.init = true;
}
switch (this.tallseq) {
case 2 :
if (this.addtick < _root.addscore) {
this.addtick = this.addtick + 1;
_root.ticky.singleshot("ticky", true);
if (this.addtick < 10) {
this.addscore_t = "00" + this.addtick;
}
if ((this.addtick < 100) and (this.addtick > 10)) {
this.addscore_t = "0" + this.addtick;
}
if (this.addtick > 100) {
this.addscore_t = this.addtick;
}
trace(this.addscore_t);
_root.texter = this.addscore_t;
} else {
this.tallseq = 3;
}
return;
case 0 :
if (this.chartext_t < _root.yoursplash) {
_root.ticky.singleshot("ticky", true);
this.chartick++;
this.chartext_t = "0" + this.chartick;
} else {
this.tallseq = 1;
}
return;
case 1 :
if (this.fullsecond_t < (_root.fullsecond + 1)) {
_root.ticky.singleshot("ticky", true);
this.fullsecond_t++;
if (this.ticker < 10) {
this.sec_t = "0" + this.ticker;
}
if (this.ticker > 10) {
this.sec_t = this.ticker;
}
if (this.sec_t < 60) {
this.ticker++;
} else {
this.minute_t++;
this.ticker = "00";
}
} else {
this.tallseq = 2;
}
return;
case 3 :
if (this.prevtick < _root.prevscore) {
this.prevtick = this.prevtick + 1;
_root.ticky.singleshot("ticky", true);
if (this.prevtick < 10) {
this.prevscore_t = "00" + this.prevtick;
}
if ((this.prevtick < 100) and (this.prevtick > 10)) {
this.prevscore_t = "0" + this.prevtick;
}
if (this.prevtick > 100) {
this.prevscore_t = this.prevtick;
}
} else {
this.tallseq = 4;
}
return;
case 4 :
if (this.hittick < _root.hittally) {
this.hittick = this.hittick + 1;
_root.ticky.singleshot("ticky", true);
if (this.hittick < 10) {
this.hittally_t = "00" + this.hittick;
}
if ((this.hittick < 100) and (this.hittick > 10)) {
this.hittally_t = "0" + this.hittick;
}
if (this.hittick > 100) {
this.hittally_t = this.hittick;
}
} else {
this.tallseq = 5;
}
return;
case 5 :
if (this.bontick < _root.bonus) {
this.bontick = this.bontick + 1;
_root.ticky.singleshot("ticky", true);
if (this.bontick < 10) {
this.bonus_t = "00" + this.bontick;
}
if ((this.bontick < 100) and (this.bontick > 10)) {
this.bonus_t = "0" + this.bontick;
}
if (this.hittick > 100) {
this.bonus_t = this.bontick;
}
} else {
this.tallseq = 6;
}
return;
case 6 :
if (this.tallyt < _root.score) {
this.talltick = this.talltick + 1;
_root.ticky.singleshot("ticky", true);
if (this.talltick < 10) {
this.tallyt = "00" + this.talltick;
}
if ((this.talltick < 100) and (this.talltick > 10)) {
this.tallyt = "0" + this.talltick;
}
if (this.talltick >= 100) {
this.tallyt = this.talltick;
}
_root.prevscore = _root.score;
} else {
if (this.tallyt > _root.scoretop) {
_root.currentlevel++;
}
_root.scorefin.singleshot("scorefin", true);
this.tallseq = 7;
_root.minute = "00";
_root.sec = "0";
if (_root.currentlevel < 4) {
_root.nextlevel.singleshot("nextlevel", true);
} else {
_root.finish.singleshot("finish", true);
}
}
}
}
};
chart.onRollOver = function () {
};
Symbol 704 MovieClip [tallyboard] Frame 1
inside._xscale = 0;
inside._yscale = 0;
Symbol 796 MovieClip Frame 1
stop();
stop();
Symbol 801 Button
on (release) {
doThisAfter(1);
_root.balloontick = 0;
clearInterval(_root.hop1);
clearInterval(_root.hop2);
clearInterval(_root.hop3);
clearInterval(_root.hop4);
_root.sorryboard.removeMovieClip();
delete _root.sorryboard.onEnterFrame;
_root.boardcontrol.removeMovieClip();
delete _root.boardcontrol.onEnterFrame;
_root.tallyboard.removeMovieClip();
delete _root.tallyboard.onEnterFrame;
_root.mainui.removeMovieClip();
_root.board.removeMovieClip();
delete eval (_root.board.onEnterFrame());
_root.startedgame = false;
_root.holdit = false;
_root.sticker = 0;
base.Pup_holder.removeMovieClip();
clearInterval(_root.pupint);
clearInterval(_root.hopint);
clearInterval(_root.beezid);
base.superp.removeMovieClip();
this.removeMovieClip();
_root.passed = true;
clearInterval(_root.supint);
base.ladybug.removeMovieClip();
clearInterval(_root.lady);
this.dropfence = false;
base.removeMovieClip();
mainui.removeMovieClip();
delete base.char1.onEnterFrame;
delete base.enemy1.onEnterFrame;
delete base.enemy2.onEnterFrame;
delete base.enemy3.onEnterFrame;
clearInterval(supint);
clearInterval(_root.time);
clearInterval(pupint);
gametime(2);
clearInterval(_root.gametime);
arrowz.removeMovieClip();
_root.pickedup = true;
if (_root.uitext4 < 5) {
base.bird.removeMovieClip();
base.removeMovieClip();
mainui.removeMovieClip();
scoreboard2._x = 300;
scoreboard2._y = 225;
} else {
base.removeMovieClip();
mainui.removeMovieClip();
scoreboard3._x = 300;
scoreboard3._y = 225;
}
_root.gotoAndPlay("end");
_root.soundmaster.removeMovieClip();
this.removeMovieClip();
}