Frame 2
var preloadPer = 99;
if (this._framesloaded >= this._totalframes) {
this.gotoAndPlay("startDone");
}
Instance of Symbol 9 MovieClip "load" in Frame 3
onClipEvent (load) {
totalByte = this._parent.getBytesTotal();
preloadPer = this._parent.preloadPer;
}
onClipEvent (enterFrame) {
loadedByte = this._parent.getBytesLoaded();
loadedPer = Math.floor((loadedByte / (totalByte * (preloadPer / 100))) * 100);
this.gotoAndStop(loadedPer);
if (loadedPer >= 99) {
this._parent.gotoAndPlay("start");
}
}
Frame 4
stop();
Frame 10
play();
Frame 26
Mouse.hide();
coursorMC.onMouseMove = function () {
this._x = _root._xmouse;
this._y = _root._ymouse;
updateAfterEvent();
};
play();
Instance of Symbol 17 MovieClip "coursorMC" in Frame 26
onClipEvent (load) {
this.swapDepths(10000);
}
Frame 78
stop();
Frame 348
bgmsound_obj.setVolume(0);
this.bgmMC.gotoAndStop(1);
hitCount = 27;
escapeGoalX = 940;
escapeGoalY = 100;
play();
Frame 363
stop();
Frame 365
play();
Frame 375
stop();
Frame 385
var bgmsound_obj = new Sound(_root);
bgmsound_obj.setVolume(0);
play();
Instance of Symbol 76 MovieClip "pudding101" in Frame 385
onClipEvent (load) {
this.childPudding1 = "pudding201";
this.childPudding2 = "pudding219";
this.childPudding3 = "pudding237";
this.minY = 231;
this.maxY = 531;
}
Instance of Symbol 78 MovieClip "pudding201" in Frame 385
onClipEvent (load) {
this.childPudding1 = "pudding301";
this.childPudding2 = "pudding307";
this.childPudding3 = "pudding313";
this.minY = 231;
this.maxY = 531;
}
Instance of Symbol 79 MovieClip "pudding301" in Frame 385
onClipEvent (load) {
this.childPudding1 = "pudding401";
this.childPudding2 = "pudding403";
this.childPudding3 = "pudding405";
this.minY = 231;
this.maxY = 531;
}
Instance of Symbol 79 MovieClip "pudding307" in Frame 385
onClipEvent (load) {
this.childPudding1 = "pudding407";
this.childPudding2 = "pudding409";
this.childPudding3 = "pudding411";
this.minY = 237;
this.maxY = 537;
}
Instance of Symbol 79 MovieClip "pudding313" in Frame 385
onClipEvent (load) {
this.childPudding1 = "pudding413";
this.childPudding2 = "pudding415";
this.childPudding3 = "pudding417";
this.minY = 243;
this.maxY = 483;
}
Instance of Symbol 78 MovieClip "pudding219" in Frame 385
onClipEvent (load) {
this.childPudding1 = "pudding319";
this.childPudding2 = "pudding325";
this.childPudding3 = "pudding331";
this.minY = 249;
this.maxY = 489;
}
Instance of Symbol 79 MovieClip "pudding319" in Frame 385
onClipEvent (load) {
this.childPudding1 = "pudding419";
this.childPudding2 = "pudding421";
this.childPudding3 = "pudding423";
this.minY = 249;
this.maxY = 489;
}
Instance of Symbol 79 MovieClip "pudding325" in Frame 385
onClipEvent (load) {
this.childPudding1 = "pudding425";
this.childPudding2 = "pudding427";
this.childPudding3 = "pudding429";
this.minY = 255;
this.maxY = 495;
}
Instance of Symbol 79 MovieClip "pudding331" in Frame 385
onClipEvent (load) {
this.childPudding1 = "pudding431";
this.childPudding2 = "pudding433";
this.childPudding3 = "pudding435";
this.minY = 261;
this.maxY = 501;
}
Instance of Symbol 78 MovieClip "pudding237" in Frame 385
onClipEvent (load) {
this.childPudding1 = "pudding337";
this.childPudding2 = "pudding343";
this.childPudding3 = "pudding349";
this.minY = 267;
this.maxY = 507;
}
Instance of Symbol 79 MovieClip "pudding337" in Frame 385
onClipEvent (load) {
this.childPudding1 = "pudding437";
this.childPudding2 = "pudding439";
this.childPudding3 = "pudding441";
this.minY = 267;
this.maxY = 507;
}
Instance of Symbol 79 MovieClip "pudding343" in Frame 385
onClipEvent (load) {
this.childPudding1 = "pudding443";
this.childPudding2 = "pudding445";
this.childPudding3 = "pudding447";
this.minY = 273;
this.maxY = 513;
}
Instance of Symbol 79 MovieClip "pudding349" in Frame 385
onClipEvent (load) {
this.childPudding1 = "pudding449";
this.childPudding2 = "pudding451";
this.childPudding3 = "pudding453";
this.minY = 279;
this.maxY = 519;
}
Instance of Symbol 17 MovieClip "coursorMC" in Frame 385
onClipEvent (enterFrame) {
this.swapDepths(_root.getNextHighestDepth());
}
Frame 386
bgmsound_obj.setVolume(2);
Frame 387
bgmsound_obj.setVolume(4);
Frame 388
bgmsound_obj.setVolume(6);
Frame 389
bgmsound_obj.setVolume(8);
Frame 390
bgmsound_obj.setVolume(10);
Frame 391
bgmsound_obj.setVolume(12);
Frame 392
bgmsound_obj.setVolume(14);
Frame 393
bgmsound_obj.setVolume(16);
Frame 394
bgmsound_obj.setVolume(20);
Frame 395
stop();
Instance of Symbol 97 MovieClip "bgPot" in Frame 395
onClipEvent (load) {
this.swapDepths(950);
}
Instance of Symbol 98 MovieClip "secMC" in Frame 395
onClipEvent (load) {
this.swapDepths(951);
}
Instance of Symbol 99 MovieClip "blankMC" in Frame 395
onClipEvent (load) {
var startTime = getTimer();
var gameEndtime = (getTimer() + 90000);
}
onClipEvent (enterFrame) {
var scoreTime = (getTimer() - startTime);
scoreTime = Math.floor(scoreTime / 100) / 10;
_root.scoreTimeText = new String(String(scoreTime));
dec_point = _root.scoreTimeText.indexOf(".");
if (dec_point != -1) {
_root.scoreTimeText = _root.scoreTimeText;
} else {
_root.scoreTimeText = _root.scoreTimeText + ".0";
}
var currentSec = (gameEndtime - getTimer());
currentSec = Math.floor(currentSec / 100) / 10;
currentSecText = new String(String(currentSec));
dec_point = currentSecText.indexOf(".");
if (dec_point != -1) {
currentSecText = currentSecText;
} else {
currentSecText = currentSecText + ".0";
}
this._parent.secMC.secTxt.text = currentSecText;
if (currentSec < 0) {
currentSecText = "0.0";
this._parent.secMC.secTxt.text = currentSecText;
this._parent.gotoAndPlay("gameOver");
}
}
Frame 396
this.gotoAndStop(this._currentframe - 1);
Frame 430
this.bgWindow.gotoAndStop(10);
pudding101.gotoAndPlay("action11");
pudding201.gotoAndPlay("action11");
pudding219.gotoAndPlay("action11");
pudding237.gotoAndPlay("action11");
pudding301.gotoAndPlay("action11");
pudding307.gotoAndPlay("action11");
pudding313.gotoAndPlay("action11");
pudding319.gotoAndPlay("action11");
pudding325.gotoAndPlay("action11");
pudding331.gotoAndPlay("action11");
pudding337.gotoAndPlay("action11");
pudding343.gotoAndPlay("action11");
pudding349.gotoAndPlay("action11");
pudding401.gotoAndPlay("action11");
pudding403.gotoAndPlay("action11");
pudding405.gotoAndPlay("action11");
pudding407.gotoAndPlay("action11");
pudding409.gotoAndPlay("action11");
pudding411.gotoAndPlay("action11");
pudding413.gotoAndPlay("action11");
pudding415.gotoAndPlay("action11");
pudding417.gotoAndPlay("action11");
pudding419.gotoAndPlay("action11");
pudding421.gotoAndPlay("action11");
pudding423.gotoAndPlay("action11");
pudding425.gotoAndPlay("action11");
pudding427.gotoAndPlay("action11");
pudding429.gotoAndPlay("action11");
pudding431.gotoAndPlay("action11");
pudding433.gotoAndPlay("action11");
pudding435.gotoAndPlay("action11");
pudding437.gotoAndPlay("action11");
pudding439.gotoAndPlay("action11");
pudding441.gotoAndPlay("action11");
pudding443.gotoAndPlay("action11");
pudding445.gotoAndPlay("action11");
pudding447.gotoAndPlay("action11");
pudding449.gotoAndPlay("action11");
pudding451.gotoAndPlay("action11");
pudding453.gotoAndPlay("action11");
Frame 500
bgmsound_obj.setVolume(18);
Frame 501
bgmsound_obj.setVolume(16);
Frame 502
bgmsound_obj.setVolume(14);
Frame 503
bgmsound_obj.setVolume(12);
Frame 504
bgmsound_obj.setVolume(10);
Frame 505
bgmsound_obj.setVolume(8);
Frame 506
bgmsound_obj.setVolume(6);
Frame 507
bgmsound_obj.setVolume(4);
Frame 508
bgmsound_obj.setVolume(0);
Frame 509
this.secMC.removeMovieClip();
this.bgPot.removeMovieClip();
this.pudding101.removeMovieClip();
this.pudding201.removeMovieClip();
this.pudding219.removeMovieClip();
this.pudding237.removeMovieClip();
this.pudding301.removeMovieClip();
this.pudding307.removeMovieClip();
this.pudding313.removeMovieClip();
this.pudding319.removeMovieClip();
this.pudding325.removeMovieClip();
this.pudding331.removeMovieClip();
this.pudding337.removeMovieClip();
this.pudding343.removeMovieClip();
this.pudding349.removeMovieClip();
this.pudding401.removeMovieClip();
this.pudding403.removeMovieClip();
this.pudding405.removeMovieClip();
this.pudding407.removeMovieClip();
this.pudding409.removeMovieClip();
this.pudding411.removeMovieClip();
this.pudding413.removeMovieClip();
this.pudding415.removeMovieClip();
this.pudding417.removeMovieClip();
this.pudding419.removeMovieClip();
this.pudding421.removeMovieClip();
this.pudding423.removeMovieClip();
this.pudding425.removeMovieClip();
this.pudding427.removeMovieClip();
this.pudding429.removeMovieClip();
this.pudding431.removeMovieClip();
this.pudding433.removeMovieClip();
this.pudding435.removeMovieClip();
this.pudding437.removeMovieClip();
this.pudding439.removeMovieClip();
this.pudding441.removeMovieClip();
this.pudding443.removeMovieClip();
this.pudding445.removeMovieClip();
this.pudding447.removeMovieClip();
this.pudding449.removeMovieClip();
this.pudding451.removeMovieClip();
this.pudding453.removeMovieClip();
stop();
Frame 514
play();
Frame 529
this.bgWindow.gotoAndStop(1);
this.gotoAndPlay("howto");
Frame 539
play();
this.secMC.removeMovieClip();
this.bgPot.removeMovieClip();
this.secTxt.text = _root.scoreTimeText;
this.pudding101.removeMovieClip();
this.pudding201.removeMovieClip();
this.pudding219.removeMovieClip();
this.pudding237.removeMovieClip();
this.pudding301.removeMovieClip();
this.pudding307.removeMovieClip();
this.pudding313.removeMovieClip();
this.pudding319.removeMovieClip();
this.pudding325.removeMovieClip();
this.pudding331.removeMovieClip();
this.pudding337.removeMovieClip();
this.pudding343.removeMovieClip();
this.pudding349.removeMovieClip();
this.pudding401.removeMovieClip();
this.pudding403.removeMovieClip();
this.pudding405.removeMovieClip();
this.pudding407.removeMovieClip();
this.pudding409.removeMovieClip();
this.pudding411.removeMovieClip();
this.pudding413.removeMovieClip();
this.pudding415.removeMovieClip();
this.pudding417.removeMovieClip();
this.pudding419.removeMovieClip();
this.pudding421.removeMovieClip();
this.pudding423.removeMovieClip();
this.pudding425.removeMovieClip();
this.pudding427.removeMovieClip();
this.pudding429.removeMovieClip();
this.pudding431.removeMovieClip();
this.pudding433.removeMovieClip();
this.pudding435.removeMovieClip();
this.pudding437.removeMovieClip();
this.pudding439.removeMovieClip();
this.pudding441.removeMovieClip();
this.pudding443.removeMovieClip();
this.pudding445.removeMovieClip();
this.pudding447.removeMovieClip();
this.pudding449.removeMovieClip();
this.pudding451.removeMovieClip();
this.pudding453.removeMovieClip();
Frame 540
bgmsound_obj.setVolume(18);
Frame 541
bgmsound_obj.setVolume(16);
Frame 542
bgmsound_obj.setVolume(14);
Frame 543
bgmsound_obj.setVolume(12);
Frame 544
bgmsound_obj.setVolume(10);
Frame 545
bgmsound_obj.setVolume(8);
Frame 546
bgmsound_obj.setVolume(6);
Frame 547
bgmsound_obj.setVolume(4);
Frame 548
bgmsound_obj.setVolume(0);
Frame 549
stop();
Frame 554
play();
Frame 569
this.gotoAndPlay("howto");
Symbol 9 MovieClip Frame 100
stop();
Symbol 30 Button
on (release) {
gotoAndPlay ("intro");
}
Symbol 37 Button
on (release) {
gotoAndPlay ("howto");
}
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 10
stop();
Symbol 56 Button
on (release) {
this.gotoAndPlay("toGameStart");
}
Symbol 60 Button
on (press) {
this._parent.hitY = this._y;
this._parent._x = this._parent._x + this._x;
this._parent._y = this._parent._y + this.hitY;
this._parent.gotoAndPlay("action10");
}
Symbol 62 Button
on (press) {
this._parent.gotoAndPlay("action10");
}
Symbol 64 Button
on (press) {
this._parent.gotoAndPlay("action10");
}
Symbol 67 Button
on (press) {
this._parent.gotoAndPlay("action10");
}
Symbol 70 Button
on (press) {
this._parent.gotoAndPlay("action10");
}
Symbol 76 MovieClip Frame 11
this.swapDepths(this._y);
play();
Symbol 76 MovieClip Frame 16
actionArray = Array();
if (this._x > (60 + (this._width / 2))) {
actionArray.push(1);
}
if (this._x < (740 - (this._width / 2))) {
actionArray.push(2);
}
if ((this._x > (60 + (this._width / 2))) && (this._y < 480)) {
actionArray.push(3);
}
if ((this._x < (740 - (this._width / 2))) && (this._y < 480)) {
actionArray.push(4);
}
if ((this._x > (60 + (this._width / 2))) && (this._y > 290)) {
actionArray.push(5);
}
if ((this._x < (740 - (this._width / 2))) && (this._y > 290)) {
actionArray.push(6);
}
stillActionNum = Math.round(Math.random() * 2);
if (stillActionNum < 1) {
actionArray.push(7);
} else if ((stillActionNum >= 1) && (stillActionNum < 2)) {
actionArray.push(8);
} else {
actionArray.push(9);
}
whichPick = Math.ceil(Math.random() * actionArray.length);
if (whichPick != 0) {
whichPick--;
}
this.gotoAndPlay("action" + actionArray[whichPick]);
Symbol 76 MovieClip Frame 21
play();
Symbol 76 MovieClip Frame 35
this._x = this._x - 60;
Symbol 76 MovieClip Frame 41
this.gotoAndPlay("setAction");
Symbol 76 MovieClip Frame 46
play();
Symbol 76 MovieClip Frame 60
this._x = this._x + 60;
Symbol 76 MovieClip Frame 66
this.gotoAndPlay("setAction");
Symbol 76 MovieClip Frame 71
play();
Symbol 76 MovieClip Frame 85
this._x = this._x - 60;
this._y = this._y + 60;
this.swapDepths(this._y);
Symbol 76 MovieClip Frame 91
this.gotoAndPlay("setAction");
Symbol 76 MovieClip Frame 95
play();
Symbol 76 MovieClip Frame 109
this._x = this._x + 60;
this._y = this._y + 60;
this.swapDepths(this._y);
Symbol 76 MovieClip Frame 115
this.gotoAndPlay("setAction");
Symbol 76 MovieClip Frame 121
play();
Symbol 76 MovieClip Frame 135
this._x = this._x - 60;
this._y = this._y - 60;
this.swapDepths(this._y);
Symbol 76 MovieClip Frame 141
this.gotoAndPlay("setAction");
Symbol 76 MovieClip Frame 146
play();
Symbol 76 MovieClip Frame 160
this._x = this._x + 60;
this._y = this._y - 60;
this.swapDepths(this._y);
Symbol 76 MovieClip Frame 166
this.gotoAndPlay("setAction");
Symbol 76 MovieClip Frame 171
play();
Symbol 76 MovieClip Frame 188
this.gotoAndPlay("setAction");
Symbol 76 MovieClip Frame 191
play();
Symbol 76 MovieClip Frame 218
this.gotoAndPlay("setAction");
Symbol 76 MovieClip Frame 221
play();
Symbol 76 MovieClip Frame 241
this.gotoAndPlay("setAction");
Symbol 76 MovieClip Frame 251
play();
actionArray = Array();
if (this._x > (60 + (this._width / 2))) {
actionArray.push(1);
}
if (this._x < (740 - (this._width / 2))) {
actionArray.push(2);
}
if ((this._x > (60 + (this._width / 2))) && (this._y < 480)) {
actionArray.push(3);
}
if ((this._x < (740 - (this._width / 2))) && (this._y < 480)) {
actionArray.push(4);
}
if ((this._x > (60 + (this._width / 2))) && (this._y > 290)) {
actionArray.push(5);
}
if ((this._x < (740 - (this._width / 2))) && (this._y > 290)) {
actionArray.push(6);
}
actionArray.push(9);
if (this.hitY == undefined) {
this.hitY = 0;
}
hitYPos = this._y + (Math.ceil(this.hitY / 30) * 30);
if (hitYPos < this.minY) {
hitYPos = this.minY;
} else if (hitYPos > this.maxY) {
hitYPos = this.maxY;
}
_root[this.childPudding1]._x = this._x + Math.round((Math.random() * 50) - 25);
_root[this.childPudding1]._y = hitYPos;
_root[this.childPudding2]._x = this._x + Math.round((Math.random() * 50) - 25);
_root[this.childPudding2]._y = hitYPos + 18;
_root[this.childPudding3]._x = this._x + Math.round((Math.random() * 50) - 25);
_root[this.childPudding3]._y = hitYPos + 37;
_root[this.childPudding1].swapDepths(_root[this.childPudding1]._y);
_root[this.childPudding2].swapDepths(_root[this.childPudding2]._y);
_root[this.childPudding2].swapDepths(_root[this.childPudding2]._y);
whichPick = Math.ceil(Math.random() * actionArray.length);
if (whichPick != 0) {
whichPick--;
}
_root[this.childPudding1].gotoAndPlay("action" + actionArray[whichPick]);
actionArray.splice(whichPick, 1);
whichPick = Math.ceil(Math.random() * actionArray.length);
if (whichPick != 0) {
whichPick--;
}
_root[this.childPudding2].gotoAndPlay("action" + actionArray[whichPick]);
actionArray.splice(whichPick, 1);
whichPick = Math.ceil(Math.random() * actionArray.length);
if (whichPick != 0) {
whichPick--;
}
_root[this.childPudding3].gotoAndPlay("action" + actionArray[whichPick]);
actionArray.splice(whichPick, 1);
Symbol 76 MovieClip Frame 262
this._x = 1000;
stop();
Symbol 76 MovieClip Frame 270
play();
this.dX = Math.round((_root.escapeGoalX - this._x) / 40);
this.dY = Math.round((_root.escapeGoalY - this._y) / 40);
Symbol 76 MovieClip Frame 298
play();
Symbol 76 MovieClip Frame 299
dX = dX + 2;
dY = dY - 2;
this._x = this._x + dX;
this._y = this._y + dY;
if ((this._x < 950) || (this._y > 130)) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 10
this.swapDepths(this._y);
play();
Symbol 78 MovieClip Frame 15
actionArray = Array();
if (this._x > (60 + (this._width / 2))) {
actionArray.push(1);
}
if (this._x < (740 - (this._width / 2))) {
actionArray.push(2);
}
if ((this._x > (60 + (this._width / 2))) && (this._y < 480)) {
actionArray.push(3);
}
if ((this._x < (740 - (this._width / 2))) && (this._y < 480)) {
actionArray.push(4);
}
if ((this._x > (60 + (this._width / 2))) && (this._y > 290)) {
actionArray.push(5);
}
if ((this._x < (740 - (this._width / 2))) && (this._y > 290)) {
actionArray.push(6);
}
stillActionNum = Math.round(Math.random() * 2);
if (stillActionNum < 1) {
actionArray.push(7);
} else if ((stillActionNum >= 1) && (stillActionNum < 2)) {
actionArray.push(8);
} else {
actionArray.push(9);
}
whichPick = Math.ceil(Math.random() * actionArray.length);
if (whichPick != 0) {
whichPick--;
}
this.gotoAndPlay("action" + actionArray[whichPick]);
Symbol 78 MovieClip Frame 20
play();
Symbol 78 MovieClip Frame 32
this._x = this._x - 60;
Symbol 78 MovieClip Frame 38
this.gotoAndPlay("setAction");
Symbol 78 MovieClip Frame 45
play();
Symbol 78 MovieClip Frame 57
this._x = this._x + 60;
Symbol 78 MovieClip Frame 63
this.gotoAndPlay("setAction");
Symbol 78 MovieClip Frame 70
play();
Symbol 78 MovieClip Frame 82
this._x = this._x - 60;
this._y = this._y + 60;
this.swapDepths(this._y);
Symbol 78 MovieClip Frame 88
this.gotoAndPlay("setAction");
Symbol 78 MovieClip Frame 95
play();
Symbol 78 MovieClip Frame 107
this._x = this._x + 60;
this._y = this._y + 60;
this.swapDepths(this._y);
Symbol 78 MovieClip Frame 113
this.gotoAndPlay("setAction");
Symbol 78 MovieClip Frame 120
play();
Symbol 78 MovieClip Frame 132
this._x = this._x - 60;
this._y = this._y - 60;
this.swapDepths(this._y);
Symbol 78 MovieClip Frame 138
this.gotoAndPlay("setAction");
Symbol 78 MovieClip Frame 145
play();
Symbol 78 MovieClip Frame 157
this._x = this._x + 60;
this._y = this._y - 60;
this.swapDepths(this._y);
Symbol 78 MovieClip Frame 163
this.gotoAndPlay("setAction");
Symbol 78 MovieClip Frame 170
play();
Symbol 78 MovieClip Frame 187
this.gotoAndPlay("setAction");
Symbol 78 MovieClip Frame 190
play();
Symbol 78 MovieClip Frame 217
this.gotoAndPlay("setAction");
Symbol 78 MovieClip Frame 220
play();
Symbol 78 MovieClip Frame 238
this.gotoAndPlay("setAction");
Symbol 78 MovieClip Frame 245
play();
actionArray = Array();
if (this._x > (60 + (this._width / 2))) {
actionArray.push(1);
}
if (this._x < (740 - (this._width / 2))) {
actionArray.push(2);
}
if ((this._x > (60 + (this._width / 2))) && (this._y < 480)) {
actionArray.push(3);
}
if ((this._x < (740 - (this._width / 2))) && (this._y < 480)) {
actionArray.push(4);
}
if ((this._x > (60 + (this._width / 2))) && (this._y > 290)) {
actionArray.push(5);
}
if ((this._x < (740 - (this._width / 2))) && (this._y > 290)) {
actionArray.push(6);
}
actionArray.push(9);
if (this.hitY == undefined) {
this.hitY = 0;
}
hitYPos = this._y + (Math.ceil(this.hitY / 30) * 30);
if (hitYPos < this.minY) {
hitYPos = this.minY;
} else if (hitYPos > this.maxY) {
hitYPos = this.maxY;
}
_root[this.childPudding1]._x = this._x + Math.round((Math.random() * 70) - 35);
_root[this.childPudding1]._y = hitYPos;
_root[this.childPudding2]._x = this._x + Math.round((Math.random() * 70) - 35);
_root[this.childPudding2]._y = hitYPos + 6;
_root[this.childPudding3]._x = this._x + Math.round((Math.random() * 70) - 35);
_root[this.childPudding3]._y = hitYPos + 12;
_root[this.childPudding1].swapDepths(_root[this.childPudding1]._y);
_root[this.childPudding2].swapDepths(_root[this.childPudding2]._y);
_root[this.childPudding2].swapDepths(_root[this.childPudding2]._y);
whichPick = Math.ceil(Math.random() * actionArray.length);
if (whichPick != 0) {
whichPick--;
}
_root[this.childPudding1].gotoAndPlay("action" + actionArray[whichPick]);
actionArray.splice(whichPick, 1);
whichPick = Math.ceil(Math.random() * actionArray.length);
if (whichPick != 0) {
whichPick--;
}
_root[this.childPudding2].gotoAndPlay("action" + actionArray[whichPick]);
actionArray.splice(whichPick, 1);
whichPick = Math.ceil(Math.random() * actionArray.length);
if (whichPick != 0) {
whichPick--;
}
_root[this.childPudding3].gotoAndPlay("action" + actionArray[whichPick]);
actionArray.splice(whichPick, 1);
Symbol 78 MovieClip Frame 256
this._x = 1000;
stop();
Symbol 78 MovieClip Frame 265
play();
this.dX = Math.round((_root.escapeGoalX - this._x) / 40);
this.dY = Math.round((_root.escapeGoalY - this._y) / 40);
Symbol 78 MovieClip Frame 293
play();
Symbol 78 MovieClip Frame 294
dX = dX + 2;
dY = dY - 2;
this._x = this._x + dX;
this._y = this._y + dY;
if ((this._x < 950) || (this._y > 130)) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 10
this.swapDepths(this._y);
play();
Symbol 79 MovieClip Frame 15
actionArray = Array();
if (this._x > (60 + (this._width / 2))) {
actionArray.push(1);
}
if (this._x < (740 - (this._width / 2))) {
actionArray.push(2);
}
if ((this._x > (60 + (this._width / 2))) && (this._y < 480)) {
actionArray.push(3);
}
if ((this._x < (740 - (this._width / 2))) && (this._y < 480)) {
actionArray.push(4);
}
if ((this._x > (60 + (this._width / 2))) && (this._y > 290)) {
actionArray.push(5);
}
if ((this._x < (740 - (this._width / 2))) && (this._y > 290)) {
actionArray.push(6);
}
stillActionNum = Math.round(Math.random() * 2);
if (stillActionNum < 1) {
actionArray.push(7);
} else if ((stillActionNum >= 1) && (stillActionNum < 2)) {
actionArray.push(8);
} else {
actionArray.push(9);
}
whichPick = Math.ceil(Math.random() * actionArray.length);
if (whichPick != 0) {
whichPick--;
}
this.gotoAndPlay("action" + actionArray[whichPick]);
Symbol 79 MovieClip Frame 20
play();
Symbol 79 MovieClip Frame 30
this._x = this._x - 60;
Symbol 79 MovieClip Frame 36
this.gotoAndPlay("setAction");
Symbol 79 MovieClip Frame 45
play();
Symbol 79 MovieClip Frame 55
this._x = this._x + 60;
Symbol 79 MovieClip Frame 61
this.gotoAndPlay("setAction");
Symbol 79 MovieClip Frame 70
play();
Symbol 79 MovieClip Frame 80
this._x = this._x - 60;
this._y = this._y + 60;
this.swapDepths(this._y);
Symbol 79 MovieClip Frame 86
this.gotoAndPlay("setAction");
Symbol 79 MovieClip Frame 95
play();
Symbol 79 MovieClip Frame 105
this._x = this._x + 60;
this._y = this._y + 60;
this.swapDepths(this._y);
Symbol 79 MovieClip Frame 111
this.gotoAndPlay("setAction");
Symbol 79 MovieClip Frame 120
play();
Symbol 79 MovieClip Frame 130
this._x = this._x - 60;
this._y = this._y - 60;
this.swapDepths(this._y);
Symbol 79 MovieClip Frame 136
this.gotoAndPlay("setAction");
Symbol 79 MovieClip Frame 145
play();
Symbol 79 MovieClip Frame 155
this._x = this._x + 60;
this._y = this._y - 60;
this.swapDepths(this._y);
Symbol 79 MovieClip Frame 161
this.gotoAndPlay("setAction");
Symbol 79 MovieClip Frame 170
play();
Symbol 79 MovieClip Frame 187
this.gotoAndPlay("setAction");
Symbol 79 MovieClip Frame 190
play();
Symbol 79 MovieClip Frame 217
this.gotoAndPlay("setAction");
Symbol 79 MovieClip Frame 220
play();
Symbol 79 MovieClip Frame 236
this.gotoAndPlay("setAction");
Symbol 79 MovieClip Frame 245
play();
actionArray = Array();
if (this._x > (60 + (this._width / 2))) {
actionArray.push(1);
}
if (this._x < (740 - (this._width / 2))) {
actionArray.push(2);
}
if ((this._x > (60 + (this._width / 2))) && (this._y < 480)) {
actionArray.push(3);
}
if ((this._x < (740 - (this._width / 2))) && (this._y < 480)) {
actionArray.push(4);
}
if ((this._x > (60 + (this._width / 2))) && (this._y > 290)) {
actionArray.push(5);
}
if ((this._x < (740 - (this._width / 2))) && (this._y > 290)) {
actionArray.push(6);
}
actionArray.push(9);
if (this.hitY == undefined) {
this.hitY = 0;
}
hitYPos = this._y + (Math.ceil(this.hitY / 30) * 30);
if (hitYPos < this.minY) {
hitYPos = this.minY;
} else if (hitYPos > this.maxY) {
hitYPos = this.maxY;
}
_root[this.childPudding1]._x = this._x + Math.round((Math.random() * 60) - 30);
_root[this.childPudding1]._y = hitYPos;
_root[this.childPudding2]._x = this._x + Math.round((Math.random() * 60) - 30);
_root[this.childPudding2]._y = hitYPos + 6;
_root[this.childPudding3]._x = this._x + Math.round((Math.random() * 60) - 30);
_root[this.childPudding3]._y = hitYPos + 12;
_root[this.childPudding1].swapDepths(_root[this.childPudding1]._y);
_root[this.childPudding2].swapDepths(_root[this.childPudding2]._y);
_root[this.childPudding2].swapDepths(_root[this.childPudding2]._y);
whichPick = Math.ceil(Math.random() * actionArray.length);
if (whichPick != 0) {
whichPick--;
}
_root[this.childPudding1].gotoAndPlay("action" + actionArray[whichPick]);
actionArray.splice(whichPick, 1);
whichPick = Math.ceil(Math.random() * actionArray.length);
if (whichPick != 0) {
whichPick--;
}
_root[this.childPudding2].gotoAndPlay("action" + actionArray[whichPick]);
actionArray.splice(whichPick, 1);
whichPick = Math.ceil(Math.random() * actionArray.length);
if (whichPick != 0) {
whichPick--;
}
_root[this.childPudding3].gotoAndPlay("action" + actionArray[whichPick]);
actionArray.splice(whichPick, 1);
Symbol 79 MovieClip Frame 256
this._x = 1000;
stop();
Symbol 79 MovieClip Frame 265
play();
this.dX = Math.round((_root.escapeGoalX - this._x) / 40);
this.dY = Math.round((_root.escapeGoalY - this._y) / 40);
Symbol 79 MovieClip Frame 293
play();
Symbol 79 MovieClip Frame 294
dX = dX + 2;
dY = dY - 2;
this._x = this._x + dX;
this._y = this._y + dY;
if ((this._x < 950) || (this._y > 130)) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 81 Button
on (press) {
this._parent._x = this._parent._x + this._x;
this._parent._y = this._parent._y + this._y;
this._parent.gotoAndPlay("action10");
}
Symbol 84 Button
on (press) {
this._parent.gotoAndPlay("action10");
}
Symbol 87 Button
on (press) {
this._parent.gotoAndPlay("action10");
}
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 10
this.swapDepths(this._y);
play();
Symbol 96 MovieClip Frame 15
actionArray = Array();
if (this._x > (60 + (this._width / 2))) {
actionArray.push(1);
}
if (this._x < (740 - (this._width / 2))) {
actionArray.push(2);
}
if ((this._x > (60 + (this._width / 2))) && (this._y < 480)) {
actionArray.push(3);
}
if ((this._x < (740 - (this._width / 2))) && (this._y < 480)) {
actionArray.push(4);
}
if ((this._x > (60 + (this._width / 2))) && (this._y > 290)) {
actionArray.push(5);
}
if ((this._x < (740 - (this._width / 2))) && (this._y > 290)) {
actionArray.push(6);
}
stillActionNum = Math.round(Math.random() * 2);
if (stillActionNum < 1) {
actionArray.push(7);
} else if ((stillActionNum >= 1) && (stillActionNum < 2)) {
actionArray.push(8);
} else {
actionArray.push(9);
}
whichPick = Math.ceil(Math.random() * actionArray.length);
if (whichPick != 0) {
whichPick--;
}
this.gotoAndPlay("action" + actionArray[whichPick]);
Symbol 96 MovieClip Frame 20
play();
Symbol 96 MovieClip Frame 28
this._x = this._x - 60;
Symbol 96 MovieClip Frame 35
this.gotoAndPlay("setAction");
Symbol 96 MovieClip Frame 40
play();
Symbol 96 MovieClip Frame 48
this._x = this._x + 60;
Symbol 96 MovieClip Frame 55
this.gotoAndPlay("setAction");
Symbol 96 MovieClip Frame 60
play();
Symbol 96 MovieClip Frame 68
this._x = this._x - 60;
this._y = this._y + 60;
this.swapDepths(this._y);
Symbol 96 MovieClip Frame 75
this.gotoAndPlay("setAction");
Symbol 96 MovieClip Frame 80
play();
Symbol 96 MovieClip Frame 88
this._x = this._x + 60;
this._y = this._y + 60;
this.swapDepths(this._y);
Symbol 96 MovieClip Frame 95
this.gotoAndPlay("setAction");
Symbol 96 MovieClip Frame 100
play();
Symbol 96 MovieClip Frame 108
this._x = this._x - 60;
this._y = this._y - 60;
this.swapDepths(this._y);
Symbol 96 MovieClip Frame 115
this.gotoAndPlay("setAction");
Symbol 96 MovieClip Frame 120
play();
Symbol 96 MovieClip Frame 128
this._x = this._x + 60;
this._y = this._y - 60;
this.swapDepths(this._y);
Symbol 96 MovieClip Frame 135
this.gotoAndPlay("setAction");
Symbol 96 MovieClip Frame 140
play();
Symbol 96 MovieClip Frame 156
this.gotoAndPlay("setAction");
Symbol 96 MovieClip Frame 160
play();
Symbol 96 MovieClip Frame 187
this.gotoAndPlay("setAction");
Symbol 96 MovieClip Frame 190
play();
Symbol 96 MovieClip Frame 204
this.gotoAndPlay("setAction");
Symbol 96 MovieClip Frame 210
_root.hitCount--;
play();
Symbol 96 MovieClip Frame 229
this._x = 1000;
stop();
if (_root.hitCount == 0) {
_root.gotoAndPlay("gameClear");
}
Symbol 96 MovieClip Frame 235
play();
this.dX = Math.round((_root.escapeGoalX - this._x) / 40);
this.dY = Math.round((_root.escapeGoalY - this._y) / 40);
Symbol 96 MovieClip Frame 263
play();
Symbol 96 MovieClip Frame 264
dX = dX + 2;
dY = dY - 2;
this._x = this._x + dX;
this._y = this._y + dY;
if ((this._x < 950) || (this._y > 130)) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 114 Button
on (release) {
this.gotoAndPlay("overtoStart");
}
Symbol 127 Button
on (release) {
this.gotoAndPlay("cleartoStart");
}