Frame 3
ifFrameLoaded (33) {
gotoAndPlay (16);
}
Frame 4
ifFrameLoaded (26) {
gotoAndPlay (8);
}
Instance of Symbol 19 MovieClip "seg1" in Frame 4
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 21 MovieClip "seg4" in Frame 4
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 23 MovieClip "seg2" in Frame 4
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 25 MovieClip "seg5" in Frame 4
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 27 MovieClip "seg3" in Frame 4
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Frame 5
gotoAndPlay (4);
Frame 8
ifFrameLoaded (28) {
gotoAndPlay (12);
}
Instance of Symbol 30 MovieClip "seg1" in Frame 8
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 32 MovieClip "seg4" in Frame 8
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 34 MovieClip "seg2" in Frame 8
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 36 MovieClip "seg5" in Frame 8
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 38 MovieClip "seg3" in Frame 8
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Frame 9
gotoAndPlay (8);
Frame 12
ifFrameLoaded (33) {
gotoAndPlay (16);
}
Instance of Symbol 40 MovieClip "seg1" in Frame 12
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 42 MovieClip "seg4" in Frame 12
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 44 MovieClip "seg2" in Frame 12
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 46 MovieClip "seg5" in Frame 12
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 48 MovieClip "seg3" in Frame 12
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Frame 13
gotoAndPlay (12);
Frame 16
stop();
Instance of Symbol 53 MovieClip in Frame 16
/* no clip actions */
Instance of Symbol 55 MovieClip "seg1" in Frame 16
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 57 MovieClip "seg4" in Frame 16
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 59 MovieClip "seg2" in Frame 16
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 61 MovieClip "seg5" in Frame 16
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 63 MovieClip "seg3" in Frame 16
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Frame 20
gotoAndPlay (16);
Frame 26
peppersLeft = 5;
overallScore = 0;
lives = 5;
function initDot(theBadGuy) {
theBadGuy.badGuyNum = Number(theBadGuy._name.substring(theBadGuy._name.length - 1, theBadGuy._name.length));
theBadGuy._alpha = 1;
theBadGuy._width = badHStep;
theBadGuy._height = badVStep;
theBadGuy._x = startXpos[theBadGuy.badGuyNum - 1];
theBadGuy._y = startYpos[theBadGuy.badGuyNum - 1];
theBadGuy.atHLine = startHLine[theBadGuy.badGuyNum - 1];
theBadGuy.atVLine = startVLine[theBadGuy.badGuyNum - 1];
theBadGuy.direction = startDir[theBadGuy.badGuyNum - 1];
hitArea.duplicateMovieClip("badHit" + theBadGuy.badGuyNum, 10 + theBadGuy.badGuyNum);
this["badHit" + theBadGuy.badGuyNum]._x = theBadGuy._x;
this["badHit" + theBadGuy.badGuyNum]._y = theBadGuy._y;
this["badHit" + theBadGuy.badGuyNum]._alpha = 1;
}
function checkForBurgerGuy(theBadGuy2) {
if (((this["badHit" + theBadGuy2.badGuyNum].hitTest(burgerHit) && (!theBadGuy2.dropped)) && (!theBadGuy2.peppered)) && (!allStopped)) {
burgerman.gotoAndPlay("dead");
burgerdot.direction = "dead";
allStopped = true;
}
}
function moveBadGuy(theBadGuy) {
if (theBadGuy.squished) {
scoreIdentifier++;
score.duplicateMovieClip("score" + scoreIdentifier, 20 + scoreIdentifier);
this["score" + scoreIdentifier]._x = theBadGuy._x;
this["score" + scoreIdentifier]._y = theBadGuy._y;
this["score" + scoreIdentifier].theScore = this["badGuy" + theBadGuy._name.charAt(theBadGuy._name.length - 1)].points;
overallScore = Number(overallScore) + this["badGuy" + theBadGuy._name.charAt(theBadGuy._name.length - 1)].points;
theBadGuy.deadCountdown = 20;
theBadGuy.scoreDisplayed = "score" + scoreIdentifier;
theBadGuy.squished = false;
theBadGuy.pepperCountdown = 0;
theBadGuy.dead = true;
} else if (theBadGuy.dropped) {
theBadGuy.pepperCountdown = 0;
theBadGuy.dropCountdown--;
if (0 >= theBadGuy.dropCountdown) {
this[theBadGuy.scoreDisplayed].removeMovieClip();
theBadGuy.dropped = false;
this["badGuy" + theBadGuy._name.charAt(theBadGuy._name.length - 1)]._visible = true;
}
} else if (theBadGuy.dead) {
theBadGuy._x = -999;
theBadGuy._y = -999;
theBadGuy.deadCountdown--;
if (0 >= theBadGuy.deadCountdown) {
this[theBadGuy.scoreDisplayed].removeMovieClip();
theBadGuy.dead = false;
theStartPoint++;
if (theStartPoint >= numBadGuys) {
theStartPoint = 0;
}
theBadGuy._x = startXpos[theStartPoint];
theBadGuy._y = startYpos[theStartPoint];
theBadGuy.direction = startDir[theStartPoint];
theBadGuy.atVline = startVLine[theStartPoint];
theBadGuy.atHline = startHLine[theStartPoint];
}
} else if (theBadGuy.falling) {
theBadGuy._y = theBadGuy.fallingOn._y + 8;
} else if (theBadGuy.peppered) {
theBadGuy.pepperCountdown--;
if (0 >= theBadGuy.pepperCountdown) {
theBadGuy.peppered = false;
this["badGuy" + theBadGuy._name.charAt(theBadGuy._name.length - 1)].gotoAndStop(1);
}
} else if ((theBadGuy.direction == "up") && (!allStopped)) {
theBadGuy._y = theBadGuy._y - badVStep;
linecount = 1;
while (numHLines >= linecount) {
if (theBadGuy.hitTest(this["hline" + linecount])) {
theBadGuy.atHline = linecount;
badGuyAtIntersection(theBadGuy);
linecount = 999;
}
linecount++;
}
} else if ((theBadGuy.direction == "down") && (!allStopped)) {
theBadGuy._y = theBadGuy._y + badVStep;
linecount = 1;
while (numHLines >= linecount) {
if (theBadGuy.hitTest(this["hline" + linecount])) {
theBadGuy.atHline = linecount;
badGuyAtIntersection(theBadGuy);
linecount = 999;
}
linecount++;
}
} else if ((theBadGuy.direction == "left") && (!allStopped)) {
theBadGuy._x = theBadGuy._x - badHStep;
linecount = 1;
while (numVLines >= linecount) {
if (theBadGuy.hitTest(this["vline" + linecount])) {
theBadGuy.atVline = linecount;
badGuyAtIntersection(theBadGuy);
linecount = 999;
}
linecount++;
}
} else if ((theBadGuy.direction == "right") && (!allStopped)) {
theBadGuy._x = theBadGuy._x + badHStep;
linecount = 1;
while (numVLines >= linecount) {
if (theBadGuy.hitTest(this["vline" + linecount])) {
theBadGuy.atVline = linecount;
badGuyAtIntersection(theBadGuy);
linecount = 999;
}
linecount++;
}
}
this["badGuy" + theBadGuy.badGuyNum]._x = theBadGuy._x;
this["badGuy" + theBadGuy.badGuyNum]._y = theBadGuy._y;
this["badHit" + theBadGuy.badGuyNum]._x = theBadGuy._x;
this["badHit" + theBadGuy.badGuyNum]._y = theBadGuy._y;
}
function badGuyAtIntersection(theBadGuy) {
theBadGuy.downUnder = false;
if (theBadGuy.direction == "up") {
if ((burgerdot._x < theBadGuy._x) && (evalIntersection(theBadGuy.atVline, theBadGuy.atHline, "left"))) {
theBadGuy.direction = "left";
theBadGuy._y = this["hline" + theBadGuy.atHline]._y;
} else if ((theBadGuy._x < burgerdot._x) && (evalIntersection(theBadGuy.atVline, theBadGuy.atHline, "right"))) {
theBadGuy.direction = "right";
theBadGuy._y = this["hline" + theBadGuy.atHline]._y;
} else if (evalIntersection(theBadGuy.atVline, theBadGuy.atHline, "up")) {
theBadGuy.direction = "up";
} else if (evalIntersection(theBadGuy.atVline, theBadGuy.atHline, "left")) {
theBadGuy.direction = "left";
theBadGuy._y = this["hline" + theBadGuy.atHline]._y;
} else if (evalIntersection(theBadGuy.atVline, theBadGuy.atHline, "down")) {
theBadGuy.direction = "down";
}
} else if (theBadGuy.direction == "down") {
if ((burgerdot._x < theBadGuy._x) && (evalIntersection(theBadGuy.atVline, theBadGuy.atHline, "left"))) {
theBadGuy.direction = "left";
theBadGuy._y = this["hline" + theBadGuy.atHline]._y;
} else if ((theBadGuy._x < burgerdot._x) && (evalIntersection(theBadGuy.atVline, theBadGuy.atHline, "right"))) {
theBadGuy.direction = "right";
theBadGuy._y = this["hline" + theBadGuy.atHline]._y;
} else if (evalIntersection(theBadGuy.atVline, theBadGuy.atHline, "down")) {
theBadGuy.direction = "down";
} else if (evalIntersection(theBadGuy.atVline, theBadGuy.atHline, "left")) {
theBadGuy.direction = "left";
theBadGuy._y = this["hline" + theBadGuy.atHline]._y;
} else if (evalIntersection(theBadGuy.atVline, theBadGuy.atHline, "up")) {
theBadGuy.direction = "up";
}
} else if (theBadGuy.direction == "left") {
if ((burgerdot._y < theBadGuy._y) && (evalIntersection(theBadGuy.atVline, theBadGuy.atHline, "up"))) {
theBadGuy.direction = "up";
theBadGuy._x = this["vline" + theBadGuy.atVline]._x;
} else if (evalIntersection(theBadGuy.atVline, theBadGuy.atHline, "down")) {
theBadGuy.direction = "down";
theBadGuy._x = this["vline" + theBadGuy.atVline]._x;
} else if (evalIntersection(theBadGuy.atVline, theBadGuy.atHline, "up")) {
theBadGuy.direction = "up";
theBadGuy._x = this["vline" + theBadGuy.atVline]._x;
} else if (evalIntersection(theBadGuy.atVline, theBadGuy.atHline, "left")) {
theBadGuy.direction = "left";
} else if (evalIntersection(theBadGuy.atVline, theBadGuy.atHline, "right")) {
theBadGuy.direction = "right";
}
} else if (theBadGuy.direction == "right") {
if ((burgerdot._y < theBadGuy._y) && (evalIntersection(theBadGuy.atVline, theBadGuy.atHline, "up"))) {
theBadGuy.direction = "up";
theBadGuy._x = this["vline" + theBadGuy.atVline]._x;
} else if (evalIntersection(theBadGuy.atVline, theBadGuy.atHline, "down")) {
theBadGuy.direction = "down";
theBadGuy._x = this["vline" + theBadGuy.atVline]._x;
} else if (evalIntersection(theBadGuy.atVline, theBadGuy.atHline, "up")) {
theBadGuy.direction = "up";
theBadGuy._x = this["vline" + theBadGuy.atVline]._x;
} else if (evalIntersection(theBadGuy.atVline, theBadGuy.atHline, "right")) {
theBadGuy.direction = "right";
} else if (evalIntersection(theBadGuy.atVline, theBadGuy.atHline, "left")) {
theBadGuy.direction = "left";
}
}
}
function evalIntersection(theVLineNum, theHLineNum, theDirection) {
theVLine = this["vline" + theVLineNum];
theHLine = this["hline" + theHLineNum];
if ((theDirection == "left") && ((((theHLine._x - (theHLine._width / 2)) + badHStep) < theVLine._x) || (theVLineNum == 0))) {
return(true);
}
if ((theDirection == "right") && ((theVLine._x < ((theHLine._x + (theHLine._width / 2)) - badHStep)) || (theVLineNum == 0))) {
return(true);
}
if (((theDirection == "up") && (((theVLine._y - (theVLine._height / 2)) + badVStep) < theHLine._y)) && (theVLineNum != 0)) {
return(true);
}
if ((theDirection == "down") && (theHLine._y < ((theVLine._y + (theVLine._height / 2)) - badVStep))) {
return(true);
}
return(false);
}
function initBurgerPiece(thePiece) {
thePiece.thePieceNum = Number(thePiece._name.substring(5, thePiece._name.length));
platColCount = 0;
while (platColCount < numCols) {
platCount = 1;
while (numPlatsPerCol >= platCount) {
if (thePiece.hitTest(this[("platform" + platCount) + colLetter[platColCount]])) {
thePiece.currPlatform = platCount;
thePiece.checkPlatform = platCount;
thePiece.targetPlatform = platCount;
thePiece.col = colLetter[platColCount];
}
platCount++;
}
platColCount++;
}
}
function initBurgerSegs(thePiece) {
thePiece.seg1.segDown = false;
thePiece.seg1._y = 0;
thePiece.seg2.segDown = false;
thePiece.seg2._y = 0;
thePiece.seg3.segDown = false;
thePiece.seg3._y = 0;
thePiece.seg4.segDown = false;
thePiece.seg4._y = 0;
thePiece.seg5.segDown = false;
thePiece.seg5._y = 0;
}
function pieceInBase(thePiece) {
overallScore = Number(overallScore) + 50;
numPiecesInBase = 0;
pieceCount = 1;
while (numPieces >= pieceCount) {
if (this["piece" + pieceCount].currPlatform == 0) {
numPiecesInBase++;
}
pieceCount++;
}
if (numPiecesInBase == numPieces) {
play();
} else if (((((((numPiecesInBase == 4) || (numPiecesInBase == 8)) || (numPiecesInBase == 12)) || (numPiecesInBase == 16)) || (numPiecesInBase == 20)) || (numPiecesInBase == 24)) || (numPiecesInBase == 28)) {
treat._visible = true;
}
thePiece.falling = false;
if (this["piece" + (thePiece.thePieceNum + 1)].col == thePiece.col) {
thePiece._y = this["piece" + (thePiece.thePieceNum + 1)]._y - 15;
}
badGuyCount = 1;
while (numBadGuys >= badGuyCount) {
if (this["badDot" + badGuyCount].falling) {
this["badDot" + badGuyCount].direction = "up";
this["badDot" + badGuyCount].falling = false;
this["badDot" + badGuyCount].dropped = true;
this["badDot" + badGuyCount].dropCountdown = 20;
this["badDot" + badGuyCount].squished = false;
this["badDot" + badGuyCount].downUnder = true;
this["badDot" + badGuyCount].atVline = 0;
this["badGuy" + badGuyCount]._visible = false;
this["badDot" + badGuyCount]._y = this["badDot" + badGuyCount]._y + 5;
pickABadGuy = badGuyCount;
}
badGuyCount++;
}
if (0 < thePiece.badGuysDropping) {
dropScore = 250 * Math.pow(2, thePiece.badGuysDropping);
scoreIdentifier++;
score.duplicateMovieClip("score" + scoreIdentifier, 20 + scoreIdentifier);
this["score" + scoreIdentifier]._x = this["badDot" + pickABadGuy]._x;
this["score" + scoreIdentifier]._y = this["badDot" + pickABadGuy]._y - 8;
this["score" + scoreIdentifier].theScore = dropScore;
overallScore = Number(overallScore) + dropScore;
this["badDot" + pickABadGuy].scoreDisplayed = "score" + scoreIdentifier;
} else {
dropScore = 0;
}
}
function dropBurgerPiece(thePiece) {
if ((((thePiece.seg1.segDown && (thePiece.seg2.segDown)) && (thePiece.seg3.segDown)) && (thePiece.seg4.segDown)) && (thePiece.seg5.segDown)) {
thePiece._y = thePiece._y + dropRate;
initBurgerSegs(thePiece);
thePiece.falling = true;
thePiece.badGuysDropping = 0;
badGuyCount = 1;
while (numBadGuys >= badGuyCount) {
if (thePiece.hitTest(this["badDot" + badGuyCount])) {
this["badDot" + badGuyCount].falling = true;
this["badDot" + badGuyCount].fallingOn = thePiece;
this["badDot" + badGuyCount]._y = thePiece._y;
thePiece.badGuysDropping++;
} else {
this["badDot" + badGuyCount].falling = false;
}
badGuyCount++;
}
if (thePiece.badGuysDropping == 0) {
thePiece.targetPlatform = thePiece.currPlatform + 1;
thePiece.numPlatformsHit = 1;
} else {
thePiece.targetPlatform = (thePiece.currPlatform + 2) + thePiece.badGuysDropping;
thePiece.numPlatformsHit = 2 + thePiece.badGuysDropping;
}
}
if (thePiece.falling) {
thePiece._y = thePiece._y + dropRate;
initBurgerSegs(thePiece);
badGuyCount = 1;
while (numBadGuys >= badGuyCount) {
if (((thePiece.hitTest(this["badGuy" + badGuyCount]) && (!this["badDot" + badGuyCount].downUnder)) && (!this["badDot" + badGuyCount].falling)) && (!this["badDot" + badGuyCount].dead)) {
this["badDot" + badGuyCount].squished = true;
}
badGuyCount++;
}
if (thePiece.hitTest(this[("platform" + (thePiece.checkPlatform + 1)) + thePiece.col])) {
overallScore = Number(overallScore) + 50;
thePiece.checkPlatform++;
}
if (thePiece.hitTest(this[("platform" + thePiece.targetPlatform) + thePiece.col])) {
thePiece.falling = false;
thePiece._y = this[("platform" + thePiece.targetPlatform) + thePiece.col]._y - 5;
badGuyCount = 1;
while (numBadGuys >= badGuyCount) {
if (this["badDot" + badGuyCount].falling) {
this["badDot" + badGuyCount]._y = this[("platform" + thePiece.targetPlatform) + thePiece.col]._y;
this["badDot" + badGuyCount].atHLine = this[("platform" + thePiece.targetPlatform) + thePiece.col].onHLine;
this["badDot" + badGuyCount].falling = false;
this["badDot" + badGuyCount].dropped = true;
this["badDot" + badGuyCount].dropCountdown = 20;
if (this["badDot" + badGuyCount]._x < burgerDot._x) {
this["badDot" + badGuyCount].direction = "right";
} else {
this["badDot" + badGuyCount].direction = "left";
}
this["badGuy" + badGuyCount]._visible = false;
pickABadGuy = badGuyCount;
}
badGuyCount++;
}
if (0 < thePiece.badGuysDropping) {
dropScore = 250 * Math.pow(2, thePiece.badGuysDropping);
scoreIdentifier++;
score.duplicateMovieClip("score" + scoreIdentifier, 20 + scoreIdentifier);
this["score" + scoreIdentifier]._x = this["badDot" + pickABadGuy]._x;
this["score" + scoreIdentifier]._y = this["badDot" + pickABadGuy]._y - 8;
this["score" + scoreIdentifier].theScore = dropScore;
overallScore = Number(overallScore) + dropScore;
this["badDot" + pickABadGuy].scoreDisplayed = "score" + scoreIdentifier;
} else {
dropScore = 0;
}
}
thePiece.currPlatform = thePiece.targetPlatform;
if (thePiece.hitTest(this["base" + thePiece.col])) {
thePiece.falling = false;
thePiece._y = this["base" + thePiece.col]._y - 8;
thePiece.currPlatform = 0;
pieceInBase(thePiece);
}
if (thePiece.hitTest(this["piece" + (thePiece.thePieceNum + 1)]) && (this["piece" + (thePiece.thePieceNum + 1)].currPlatform == 0)) {
thePiece._y = this["piece" + (thePiece.thePieceNum + 1)]._y - 15;
thePiece.currPlatform = 0;
pieceInBase(thePiece);
} else if (thePiece.hitTest(this["piece" + (thePiece.thePieceNum + 1)])) {
this["piece" + (thePiece.thePieceNum + 1)].falling = true;
this["piece" + (thePiece.thePieceNum + 1)].targetPlatform = this["piece" + thePiece.thePieceNum].targetPlatform + 1;
this["piece" + (thePiece.thePieceNum + 1)].badGuysDropping = 0;
this["piece" + (thePiece.thePieceNum + 1)].numPlatformsHit = 0;
}
if ((this["piece" + (thePiece.thePieceNum + 1)].col == thePiece.col) && (this["piece" + (thePiece.thePieceNum + 1)]._y < thePiece._y)) {
thePiece._y = this["piece" + (thePiece.thePieceNum + 1)]._y - 15;
}
}
}
function initBurgerGuy() {
burgerdot._alpha = 1;
hitArea.duplicateMovieClip("burgerHit", 10);
burgerHit._alpha = 1;
}
function throwPepper() {
if (!allStopped) {
peppersLeft--;
pepper._x = burgerdot._x;
pepper._y = burgerdot._y;
pepper.gotoAndPlay(burgerdot.direction);
}
}
function checkingTreat() {
if (treat._visible) {
treat.countUp++;
if (treat.countUp == 60) {
treat._visible = false;
treat.countUp = 0;
}
}
if (treat.hitTest(burgerhit) && (treat._visible)) {
scoreIdentifier++;
score.duplicateMovieClip("score" + scoreIdentifier, 20 + scoreIdentifier);
this["score" + scoreIdentifier]._x = treat._x;
this["score" + scoreIdentifier]._y = treat._y;
this["score" + scoreIdentifier].theScore = treat.points;
overallScore = Number(overallScore) + treat.points;
PeppersLeft++;
treat._visible = false;
treat.countUp = 0;
}
}
function moveUp() {
if (!allStopped) {
burgerman.nextFrame();
burgerdot.direction = "up";
burgerdot._y = burgerdot._y - vStep;
burgerdot.onCourse = false;
lineCount = 1;
while (numVLines >= lineCount) {
if (burgerdot.hitTest(this["vline" + lineCount])) {
burgerdot.onCourse = true;
burgerdot.onLineNum = lineCount;
}
lineCount++;
}
if (!burgerdot.onCourse) {
burgerdot._y = burgerdot._y + vStep;
} else {
burgerdot._x = this["vline" + burgerdot.onLineNum]._x;
if (burgerdot._y < (this["vline" + burgerdot.onLineNum]._y - (this["vline" + burgerdot.onLineNum]._height / 2))) {
burgerdot._y = this["vline" + burgerdot.onLineNum]._y - (this["vline" + burgerdot.onLineNum]._height / 2);
}
}
burgerman._x = burgerdot._x;
burgerman._y = burgerdot._y;
burgerHit._x = burgerdot._x;
burgerHit._y = burgerdot._y;
}
}
function moveDown() {
if (!allStopped) {
burgerman.nextFrame();
burgerdot.direction = "down";
burgerdot._y = burgerdot._y + vStep;
burgerdot.onCourse = false;
lineCount = 1;
while (this.numVLines >= lineCount) {
if (burgerdot.hitTest(this["vline" + lineCount])) {
burgerdot.onCourse = true;
burgerdot.onLineNum = lineCount;
}
lineCount++;
}
if (!burgerdot.onCourse) {
burgerdot._y = burgerdot._y - vStep;
} else {
burgerdot._x = this["vline" + burgerdot.onLineNum]._x;
if ((this["vline" + burgerdot.onLineNum]._y + (this["vline" + burgerdot.onLineNum]._height / 2)) < burgerdot._y) {
burgerdot._y = this["vline" + burgerdot.onLineNum]._y + (this["vline" + burgerdot.onLineNum]._height / 2);
}
}
burgerman._x = burgerdot._x;
burgerman._y = burgerdot._y;
burgerHit._x = burgerdot._x;
burgerHit._y = burgerdot._y;
}
}
function moveLeft() {
if (!allStopped) {
burgerman.nextFrame();
burgerdot.direction = "left";
burgerdot._x = burgerdot._x - hStep;
burgerdot.onCourse = false;
lineCount = 1;
while (numHLines >= lineCount) {
if (burgerdot.hitTest(this["hline" + lineCount])) {
burgerdot.onCourse = true;
burgerdot.onLineNum = lineCount;
}
lineCount++;
}
if (!burgerdot.onCourse) {
burgerdot._x = burgerdot._x + hStep;
} else {
burgerdot._y = this["hline" + burgerdot.onLineNum]._y;
if (burgerdot._x < (this["hline" + burgerdot.onLineNum]._x - (this["hline" + burgerdot.onLineNum]._width / 2))) {
burgerdot._x = this["hline" + burgerdot.onLineNum]._x - (this["hline" + burgerdot.onLineNum]._width / 2);
}
}
burgerman._x = burgerdot._x;
burgerman._y = burgerdot._y;
burgerHit._x = burgerdot._x;
burgerHit._y = burgerdot._y;
}
}
function moveRight() {
if (!allStopped) {
burgerman.nextFrame();
burgerdot.direction = "right";
burgerdot._x = burgerdot._x + hStep;
burgerdot.onCourse = false;
lineCount = 1;
while (numHLines >= lineCount) {
if (burgerdot.hitTest(this["hline" + lineCount])) {
burgerdot.onCourse = true;
burgerdot.onLineNum = lineCount;
}
lineCount++;
}
if (!burgerdot.onCourse) {
burgerdot._x = burgerdot._x - hStep;
} else {
burgerdot._y = this["hline" + burgerdot.onLineNum]._y;
if ((this["hline" + burgerdot.onLineNum]._x + (this["hline" + burgerdot.onLineNum]._width / 2)) < burgerdot._x) {
burgerdot._x = this["hline" + burgerdot.onLineNum]._x + (this["hline" + burgerdot.onLineNum]._width / 2);
}
}
burgerman._x = burgerdot._x;
burgerman._y = burgerdot._y;
burgerHit._x = burgerdot._x;
burgerHit._y = burgerdot._y;
}
}
vStep = 4.7;
hStep = 8.5;
Frame 28
level = 1;
allStopped = false;
numVLines = 11;
numHLines = 10;
numPlatforms = 20;
numPlatsPerCol = 5;
numCols = 4;
numPieces = 16;
numBases = 4;
dropRate = 8;
colLetter = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j");
platColCount = 0;
while (platColCount < numCols) {
platCount = 1;
while (numPlatsPerCol >= platCount) {
hlineCount = 1;
while (numHLines >= hlineCount) {
if (this[("platform" + platCount) + colLetter[platColCount]].hitTest(this["hline" + hlineCount])) {
this[("platform" + platcount) + colLetter[platColCount]].onHLine = hlineCount;
hlineCount = 999;
}
hlineCount++;
}
platCount++;
}
platColCount++;
}
badVStep = 2.9;
badHStep = 6.2;
numBadGuys = 4;
startXpos = new Array(0, 485, 0, 485);
startYpos = new Array(92, 92, 381, 381);
startDir = new Array("right", "left", "right", "left");
startHLine = new Array(9, 9, 5, 5);
startVLine = new Array(10, 11, 5, 4);
pieceCount = 1;
while (numPieces >= pieceCount) {
initBurgerSegs(this["piece" + pieceCount]);
pieceCount++;
}
lifeCount = 2;
while (lifeCount < lives) {
duplicateMovieClip (life1, "life" + lifeCount, lifeCount);
this["life" + lifeCount]._y = this["life" + (lifeCount - 1)]._y - 19;
lifeCount++;
}
Instance of Symbol 81 MovieClip "piece1" in Frame 28
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece2" in Frame 28
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece3" in Frame 28
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece4" in Frame 28
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 81 MovieClip "piece5" in Frame 28
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece6" in Frame 28
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece7" in Frame 28
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece8" in Frame 28
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 81 MovieClip "piece9" in Frame 28
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 81 MovieClip "piece13" in Frame 28
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece11" in Frame 28
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece15" in Frame 28
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece12" in Frame 28
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece16" in Frame 28
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece10" in Frame 28
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece14" in Frame 28
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 88 MovieClip "treat" in Frame 28
onClipEvent (load) {
this._visible = false;
countUp = 0;
}
onClipEvent (enterFrame) {
_parent.checkingTreat();
}
Frame 33
stop();
Instance of Symbol 100 MovieClip "badDot1" in Frame 33
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot2" in Frame 33
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot4" in Frame 33
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot3" in Frame 33
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 102 MovieClip "burgerdot" in Frame 33
onClipEvent (load) {
_parent.initBurgerGuy();
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
_parent.moveLeft();
} else if (Key.isDown(Key.RIGHT)) {
_parent.moveRight();
} else if (Key.isDown(Key.DOWN)) {
_parent.moveDown();
} else if (Key.isDown(Key.UP)) {
_parent.moveUp();
} else if (!_parent.allStopped) {
_parent.burgerman.gotoAndStop(direction);
}
if ((Key.isDown(Key.SPACE) && (_parent.pepper._currentframe == 1)) && (0 < _parent.peppersLeft)) {
_parent.throwPepper();
}
}
Instance of Symbol 105 MovieClip "badGuy1" in Frame 33
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
_parent["badHit" + theNum]._x = _parent["badDot" + theNum]._x;
_parent["badHit" + theNum]._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 106 MovieClip "badGuy2" in Frame 33
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
_parent["badHit" + theNum]._x = parent["badDot" + theNum]._x;
_parent["badHit" + theNum]._y = parent["badDot" + theNum]._y;
}
Instance of Symbol 106 MovieClip "badGuy4" in Frame 33
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
_parent["badHit" + theNum]._x = parent["badDot" + theNum]._x;
_parent["badHit" + theNum]._y = parent["badDot" + theNum]._y;
}
Instance of Symbol 109 MovieClip "badGuy3" in Frame 33
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
_parent["badHit" + theNum]._x = parent["badDot" + theNum]._x;
_parent["badHit" + theNum]._y = parent["badDot" + theNum]._y;
}
Instance of Symbol 130 MovieClip "burgerman" in Frame 33
onClipEvent (enterFrame) {
if ((dirDisplay != _parent.burgerdot.direction) && (!allStopped)) {
gotoAndStop(_parent.burgerdot.direction);
}
this._x = _parent.burgerdot._x;
this._y = _parent.burgerdot._y;
_parent.burgerHit._x = _parent.burgerdot._x;
_parent.burgerHit._y = _parent.burgerdot._y;
}
Frame 40
allStopped = false;
level = 2;
numVLines = 14;
numHLines = 12;
numPlatsPerCol = 6;
numCols = 4;
numPieces = 16;
numBases = 4;
dropRate = 8;
badVStep = 2.9;
badHStep = 6.2;
numBadGuys = 4;
startXpos = new Array(0, 485, 0, 485);
startYpos = new Array(83.4, 83.4, 221, 221);
startDir = new Array("right", "left", "right", "left");
startHLine = new Array(9, 9, 2, 2);
startVLine = new Array(1, 9, 1, 9);
Instance of Symbol 81 MovieClip "piece1" in Frame 40
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece2" in Frame 40
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece3" in Frame 40
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece4" in Frame 40
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 81 MovieClip "piece5" in Frame 40
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece7" in Frame 40
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece6" in Frame 40
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece8" in Frame 40
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 81 MovieClip "piece9" in Frame 40
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 81 MovieClip "piece13" in Frame 40
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece10" in Frame 40
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece15" in Frame 40
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece12" in Frame 40
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece16" in Frame 40
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece11" in Frame 40
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece14" in Frame 40
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 88 MovieClip "treat" in Frame 40
onClipEvent (load) {
this._visible = false;
countUp = 0;
}
onClipEvent (enterFrame) {
_parent.checkingTreat();
}
Frame 41
platColCount = 0;
while (platColCount < numCols) {
platCount = 1;
while (numPlatsPerCol >= platCount) {
hlineCount = 1;
while (numHLines >= hlineCount) {
if (this[("platform" + platCount) + colLetter[platColCount]].hitTest(this["hline" + hlineCount])) {
this[("platform" + platcount) + colLetter[platColCount]].onHLine = hlineCount;
hlineCount = 999;
}
hlineCount++;
}
platCount++;
}
platColCount++;
}
pieceCount = 1;
while (numPieces >= pieceCount) {
initBurgerSegs(this["piece" + pieceCount]);
pieceCount++;
}
Frame 45
stop();
Instance of Symbol 100 MovieClip "badDot1" in Frame 45
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot2" in Frame 45
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot4" in Frame 45
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot3" in Frame 45
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 102 MovieClip "burgerdot" in Frame 45
onClipEvent (load) {
_parent.initBurgerGuy();
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
_parent.moveLeft();
} else if (Key.isDown(Key.RIGHT)) {
_parent.moveRight();
} else if (Key.isDown(Key.DOWN)) {
_parent.moveDown();
} else if (Key.isDown(Key.UP)) {
_parent.moveUp();
} else if (!_parent.allStopped) {
_parent.burgerman.gotoAndStop(direction);
}
if ((Key.isDown(Key.SPACE) && (_parent.pepper._currentframe == 1)) && (0 < _parent.peppersLeft)) {
_parent.throwPepper();
}
}
Instance of Symbol 132 MovieClip "badGuy1" in Frame 45
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 132 MovieClip "badGuy2" in Frame 45
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 132 MovieClip "badGuy3" in Frame 45
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 133 MovieClip "badGuy4" in Frame 45
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 134 MovieClip "burgerman" in Frame 45
onClipEvent (enterFrame) {
if (dirDisplay != _parent.burgerdot.direction) {
gotoAndStop(_parent.burgerdot.direction);
}
this._x = _parent.burgerdot._x;
this._y = _parent.burgerdot._y;
}
Frame 52
allStopped = false;
level = 3;
numVLines = 17;
numHLines = 16;
numPlatsPerCol = 5;
numCols = 6;
numPieces = 18;
numBases = 6;
dropRate = 8;
badVStep = 2.9;
badHStep = 6.2;
numBadGuys = 6;
startXpos = new Array(0, 485, 0, 485, 0, 485);
startYpos = new Array(92.5, 92.5, 315.6, 315.6, 378.6, 378.6);
startDir = new Array("right", "left", "right", "left", "right", "left");
startHLine = new Array(1, 1, 8, 9, 12, 13);
startVLine = new Array(1, 16, 2, 17, 2, 17);
Instance of Symbol 81 MovieClip "piece1" in Frame 52
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece2" in Frame 52
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece3" in Frame 52
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 81 MovieClip "piece7" in Frame 52
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece8" in Frame 52
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece9" in Frame 52
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 81 MovieClip "piece10" in Frame 52
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 81 MovieClip "piece13" in Frame 52
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece17" in Frame 52
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece5" in Frame 52
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece12" in Frame 52
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece15" in Frame 52
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 81 MovieClip "piece16" in Frame 52
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 81 MovieClip "piece4" in Frame 52
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece18" in Frame 52
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece6" in Frame 52
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece11" in Frame 52
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece14" in Frame 52
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 88 MovieClip "treat" in Frame 52
onClipEvent (load) {
this._visible = false;
countUp = 0;
}
onClipEvent (enterFrame) {
_parent.checkingTreat();
}
Frame 53
platColCount = 0;
while (platColCount < numCols) {
platCount = 1;
while (numPlatsPerCol >= platCount) {
hlineCount = 1;
while (numHLines >= hlineCount) {
if (this[("platform" + platCount) + colLetter[platColCount]].hitTest(this["hline" + hlineCount])) {
this[("platform" + platcount) + colLetter[platColCount]].onHLine = hlineCount;
hlineCount = 999;
}
hlineCount++;
}
platCount++;
}
platColCount++;
}
pieceCount = 1;
while (numPieces >= pieceCount) {
initBurgerSegs(this["piece" + pieceCount]);
pieceCount++;
}
Frame 57
stop();
Instance of Symbol 100 MovieClip "badDot1" in Frame 57
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot2" in Frame 57
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot4" in Frame 57
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot3" in Frame 57
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot5" in Frame 57
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot6" in Frame 57
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 102 MovieClip "burgerdot" in Frame 57
onClipEvent (load) {
_parent.initBurgerGuy();
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
_parent.moveLeft();
} else if (Key.isDown(Key.RIGHT)) {
_parent.moveRight();
} else if (Key.isDown(Key.DOWN)) {
_parent.moveDown();
} else if (Key.isDown(Key.UP)) {
_parent.moveUp();
} else if (!_parent.allStopped) {
_parent.burgerman.gotoAndStop(direction);
}
if ((Key.isDown(Key.SPACE) && (_parent.pepper._currentframe == 1)) && (0 < _parent.peppersLeft)) {
_parent.throwPepper();
}
}
Instance of Symbol 137 MovieClip "badGuy1" in Frame 57
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 132 MovieClip "badGuy2" in Frame 57
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 137 MovieClip "badGuy3" in Frame 57
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 132 MovieClip "badGuy4" in Frame 57
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 134 MovieClip "burgerman" in Frame 57
onClipEvent (enterFrame) {
if (dirDisplay != _parent.burgerdot.direction) {
gotoAndStop(_parent.burgerdot.direction);
}
this._x = _parent.burgerdot._x;
this._y = _parent.burgerdot._y;
}
Instance of Symbol 133 MovieClip "badGuy5" in Frame 57
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 137 MovieClip "badGuy6" in Frame 57
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Frame 63
allStopped = false;
level = 4;
numVLines = 27;
numHLines = 8;
numPlatsPerCol = 8;
numCols = 4;
numPieces = 32;
numBases = 4;
dropRate = 8;
badVStep = 2.9;
badHStep = 6.2;
numBadGuys = 6;
startXpos = new Array(0, 485, 0, 485, 0, 485);
startYpos = new Array(92.5, 92.5, 156.5, 156.5, 316.5, 316.5);
startDir = new Array("right", "left", "right", "left", "right", "left");
startHLine = new Array(1, 1, 3, 3, 8, 8);
startVLine = new Array(1, 25, 2, 26, 3, 27);
Instance of Symbol 81 MovieClip "piece1" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece3" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece8" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 81 MovieClip "piece9" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece11" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece16" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 81 MovieClip "piece17" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 81 MovieClip "piece25" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece24" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece32" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece19" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece27" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece5" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece13" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece21" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece29" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece7" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece15" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece23" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece31" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece2" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece10" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece18" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece26" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece4" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece12" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece20" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece28" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece6" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece14" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece22" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece30" in Frame 63
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 88 MovieClip "treat" in Frame 63
onClipEvent (load) {
this._visible = false;
countUp = 0;
}
onClipEvent (enterFrame) {
_parent.checkingTreat();
}
Frame 64
platColCount = 0;
while (platColCount < numCols) {
platCount = 1;
while (numPlatsPerCol >= platCount) {
hlineCount = 1;
while (numHLines >= hlineCount) {
if (this[("platform" + platCount) + colLetter[platColCount]].hitTest(this["hline" + hlineCount])) {
this[("platform" + platcount) + colLetter[platColCount]].onHLine = hlineCount;
hlineCount = 999;
}
hlineCount++;
}
platCount++;
}
platColCount++;
}
pieceCount = 1;
while (numPieces >= pieceCount) {
initBurgerSegs(this["piece" + pieceCount]);
pieceCount++;
}
Frame 68
stop();
Instance of Symbol 100 MovieClip "badDot1" in Frame 68
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot2" in Frame 68
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot4" in Frame 68
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot3" in Frame 68
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot5" in Frame 68
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot6" in Frame 68
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 102 MovieClip "burgerdot" in Frame 68
onClipEvent (load) {
_parent.initBurgerGuy();
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
_parent.moveLeft();
} else if (Key.isDown(Key.RIGHT)) {
_parent.moveRight();
} else if (Key.isDown(Key.DOWN)) {
_parent.moveDown();
} else if (Key.isDown(Key.UP)) {
_parent.moveUp();
} else if (!_parent.allStopped) {
_parent.burgerman.gotoAndStop(direction);
}
if ((Key.isDown(Key.SPACE) && (_parent.pepper._currentframe == 1)) && (0 < _parent.peppersLeft)) {
_parent.throwPepper();
}
}
Instance of Symbol 137 MovieClip "badGuy1" in Frame 68
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 132 MovieClip "badGuy2" in Frame 68
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 137 MovieClip "badGuy3" in Frame 68
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 132 MovieClip "badGuy4" in Frame 68
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 134 MovieClip "burgerman" in Frame 68
onClipEvent (enterFrame) {
if (dirDisplay != _parent.burgerdot.direction) {
gotoAndStop(_parent.burgerdot.direction);
}
this._x = _parent.burgerdot._x;
this._y = _parent.burgerdot._y;
}
Instance of Symbol 133 MovieClip "badGuy5" in Frame 68
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 137 MovieClip "badGuy6" in Frame 68
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Frame 75
allStopped = false;
level = 5;
numVLines = 10;
numHLines = 11;
numPlatsPerCol = 8;
numCols = 2;
numPieces = 16;
numBases = 2;
dropRate = 8;
badVStep = 2.9;
badHStep = 6.2;
numBadGuys = 6;
startXpos = new Array(0, 485, 0, 485, 0, 485);
startYpos = new Array(92.5, 92.5, 465.5, 465.5, 226.5, 226.5);
startDir = new Array("right", "left", "right", "left", "right", "left");
startHLine = new Array(1, 1, 11, 10, 5, 5);
startVLine = new Array(1, 10, 2, 10, 2, 10);
Instance of Symbol 81 MovieClip "piece1" in Frame 75
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece3" in Frame 75
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece8" in Frame 75
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 81 MovieClip "piece9" in Frame 75
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece16" in Frame 75
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece11" in Frame 75
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece5" in Frame 75
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece13" in Frame 75
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece7" in Frame 75
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece15" in Frame 75
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece2" in Frame 75
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece10" in Frame 75
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece4" in Frame 75
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece12" in Frame 75
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece6" in Frame 75
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece14" in Frame 75
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 88 MovieClip "treat" in Frame 75
onClipEvent (load) {
this._visible = false;
countUp = 0;
}
onClipEvent (enterFrame) {
_parent.checkingTreat();
}
Frame 76
platColCount = 0;
while (platColCount < numCols) {
platCount = 1;
while (numPlatsPerCol >= platCount) {
hlineCount = 1;
while (numHLines >= hlineCount) {
if (this[("platform" + platCount) + colLetter[platColCount]].hitTest(this["hline" + hlineCount])) {
this[("platform" + platcount) + colLetter[platColCount]].onHLine = hlineCount;
hlineCount = 999;
}
hlineCount++;
}
platCount++;
}
platColCount++;
}
pieceCount = 1;
while (numPieces >= pieceCount) {
initBurgerSegs(this["piece" + pieceCount]);
pieceCount++;
}
Frame 80
stop();
Instance of Symbol 100 MovieClip "badDot1" in Frame 80
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot2" in Frame 80
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot4" in Frame 80
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot3" in Frame 80
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot5" in Frame 80
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot6" in Frame 80
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 102 MovieClip "burgerdot" in Frame 80
onClipEvent (load) {
_parent.initBurgerGuy();
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
_parent.moveLeft();
} else if (Key.isDown(Key.RIGHT)) {
_parent.moveRight();
} else if (Key.isDown(Key.DOWN)) {
_parent.moveDown();
} else if (Key.isDown(Key.UP)) {
_parent.moveUp();
} else if (!_parent.allStopped) {
_parent.burgerman.gotoAndStop(direction);
}
if ((Key.isDown(Key.SPACE) && (_parent.pepper._currentframe == 1)) && (0 < _parent.peppersLeft)) {
_parent.throwPepper();
}
}
Instance of Symbol 137 MovieClip "badGuy1" in Frame 80
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 132 MovieClip "badGuy2" in Frame 80
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 137 MovieClip "badGuy3" in Frame 80
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 132 MovieClip "badGuy4" in Frame 80
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 134 MovieClip "burgerman" in Frame 80
onClipEvent (enterFrame) {
if (dirDisplay != _parent.burgerdot.direction) {
gotoAndStop(_parent.burgerdot.direction);
}
this._x = _parent.burgerdot._x;
this._y = _parent.burgerdot._y;
}
Instance of Symbol 133 MovieClip "badGuy5" in Frame 80
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 137 MovieClip "badGuy6" in Frame 80
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Frame 87
allStopped = false;
level = 6;
numVLines = 25;
numHLines = 21;
numPlatsPerCol = 5;
numCols = 4;
numPieces = 18;
numBases = 4;
dropRate = 8;
badVStep = 2.9;
badHStep = 6.2;
numBadGuys = 6;
startXpos = new Array(0, 485, 0, 485, 0, 485);
startYpos = new Array(125.7, 91.7, 329.7, 295.7, 395.7, 362.6);
startDir = new Array("right", "left", "right", "left", "right", "left");
startHLine = new Array(3, 2, 15, 14, 19, 18);
startVLine = new Array(1, 10, 2, 12, 7, 12);
Instance of Symbol 81 MovieClip "piece1" in Frame 87
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece3" in Frame 87
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece4" in Frame 87
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 81 MovieClip "piece5" in Frame 87
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece7" in Frame 87
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece9" in Frame 87
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 81 MovieClip "piece10" in Frame 87
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 81 MovieClip "piece15" in Frame 87
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece14" in Frame 87
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 84 MovieClip "piece18" in Frame 87
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece12" in Frame 87
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 83 MovieClip "piece17" in Frame 87
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece2" in Frame 87
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece6" in Frame 87
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece11" in Frame 87
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece16" in Frame 87
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece8" in Frame 87
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 82 MovieClip "piece13" in Frame 87
onClipEvent (load) {
_parent.initBurgerPiece(this);
}
onClipEvent (enterFrame) {
_parent.dropBurgerPiece(this);
}
Instance of Symbol 88 MovieClip "treat" in Frame 87
onClipEvent (load) {
this._visible = false;
countUp = 0;
}
onClipEvent (enterFrame) {
_parent.checkingTreat();
}
Frame 88
platColCount = 0;
while (platColCount < numCols) {
platCount = 1;
while (numPlatsPerCol >= platCount) {
hlineCount = 1;
while (numHLines >= hlineCount) {
if (this[("platform" + platCount) + colLetter[platColCount]].hitTest(this["hline" + hlineCount])) {
this[("platform" + platcount) + colLetter[platColCount]].onHLine = hlineCount;
hlineCount = 999;
}
hlineCount++;
}
platCount++;
}
platColCount++;
}
pieceCount = 1;
while (numPieces >= pieceCount) {
initBurgerSegs(this["piece" + pieceCount]);
pieceCount++;
}
Frame 92
stop();
Instance of Symbol 100 MovieClip "badDot1" in Frame 92
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot2" in Frame 92
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot4" in Frame 92
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot3" in Frame 92
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot5" in Frame 92
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 100 MovieClip "badDot6" in Frame 92
onClipEvent (load) {
_parent.initDot(this);
}
onClipEvent (enterFrame) {
_parent.moveBadGuy(this);
_parent.checkForBurgerGuy(this);
}
Instance of Symbol 102 MovieClip "burgerdot" in Frame 92
onClipEvent (load) {
_parent.initBurgerGuy();
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
_parent.moveLeft();
} else if (Key.isDown(Key.RIGHT)) {
_parent.moveRight();
} else if (Key.isDown(Key.DOWN)) {
_parent.moveDown();
} else if (Key.isDown(Key.UP)) {
_parent.moveUp();
} else if (!_parent.allStopped) {
_parent.burgerman.gotoAndStop(direction);
}
if ((Key.isDown(Key.SPACE) && (_parent.pepper._currentframe == 1)) && (0 < _parent.peppersLeft)) {
_parent.throwPepper();
}
}
Instance of Symbol 137 MovieClip "badGuy1" in Frame 92
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 132 MovieClip "badGuy2" in Frame 92
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 137 MovieClip "badGuy3" in Frame 92
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 132 MovieClip "badGuy4" in Frame 92
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 134 MovieClip "burgerman" in Frame 92
onClipEvent (enterFrame) {
if (dirDisplay != _parent.burgerdot.direction) {
gotoAndStop(_parent.burgerdot.direction);
}
this._x = _parent.burgerdot._x;
this._y = _parent.burgerdot._y;
}
Instance of Symbol 133 MovieClip "badGuy5" in Frame 92
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Instance of Symbol 137 MovieClip "badGuy6" in Frame 92
onClipEvent (load) {
theNum = Number(this._name.substring(this._name.length - 1, this._name.length));
}
onClipEvent (enterFrame) {
this._x = _parent["badDot" + theNum]._x;
this._y = _parent["badDot" + theNum]._y;
}
Frame 98
gotoAndPlay (28);
Instance of Symbol 148 MovieClip in Frame 109
onClipEvent (load) {
this._visible = false;
countUp = 0;
}
onClipEvent (enterFrame) {
if (this._visible) {
countUp++;
if (countUp == 60) {
this._visible = false;
countUp = 0;
}
}
if (this.hitTest(_parent.burgerhit) && (this._visible)) {
_parent.PeppersLeft++;
this._visible = false;
countUp = 0;
}
}
Symbol 5 MovieClip [score] Frame 1
play();
Symbol 5 MovieClip [score] Frame 21
stop();
Symbol 6 MovieClip [score] Frame 1
play();
Symbol 6 MovieClip [score] Frame 21
stop();
Symbol 13 Button
on (release) {
getURL ("mailto:robb_4321@yahoo.com");
}
Symbol 17 Button
on (release) {
getURL ("http://www.geocities.com/robbsgames/", "_blank");
}
Symbol 52 Button
on (release) {
gotoAndPlay (26);
}
on (keyPress "<Enter>") {
gotoAndPlay (26);
}
Instance of Symbol 55 MovieClip "seg1" in Symbol 81 MovieClip Frame 1
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 57 MovieClip "seg4" in Symbol 81 MovieClip Frame 1
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 59 MovieClip "seg2" in Symbol 81 MovieClip Frame 1
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 61 MovieClip "seg5" in Symbol 81 MovieClip Frame 1
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 63 MovieClip "seg3" in Symbol 81 MovieClip Frame 1
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 40 MovieClip "seg1" in Symbol 82 MovieClip Frame 1
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 42 MovieClip "seg4" in Symbol 82 MovieClip Frame 1
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 44 MovieClip "seg2" in Symbol 82 MovieClip Frame 1
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 46 MovieClip "seg5" in Symbol 82 MovieClip Frame 1
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 48 MovieClip "seg3" in Symbol 82 MovieClip Frame 1
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 30 MovieClip "seg1" in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 32 MovieClip "seg4" in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 34 MovieClip "seg2" in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 36 MovieClip "seg5" in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 38 MovieClip "seg3" in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 19 MovieClip "seg1" in Symbol 84 MovieClip Frame 1
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 21 MovieClip "seg4" in Symbol 84 MovieClip Frame 1
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 23 MovieClip "seg2" in Symbol 84 MovieClip Frame 1
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 25 MovieClip "seg5" in Symbol 84 MovieClip Frame 1
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 27 MovieClip "seg3" in Symbol 84 MovieClip Frame 1
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Symbol 88 MovieClip Frame 1
points = 500;
Symbol 105 MovieClip Frame 1
points = 100;
stop();
Symbol 106 MovieClip Frame 1
points = 100;
stop();
Symbol 109 MovieClip Frame 1
points = 300;
stop();
Symbol 119 MovieClip Frame 1
function checkPepper() {
badGuyCount = 1;
while (_parent.numBadGuys >= badGuyCount) {
if (this.hitTest(_parent["badGuy" + badGuyCount])) {
_parent["badGuy" + badGuyCount].gotoAndStop("peppered");
_parent["badDot" + badGuyCount].peppered = true;
_parent["badDot" + badGuyCount].pepperCountdown = 40;
}
badGuyCount++;
}
}
stop();
Symbol 119 MovieClip Frame 6
checkPepper();
play();
Symbol 119 MovieClip Frame 7
checkPepper();
play();
Symbol 119 MovieClip Frame 8
checkPepper();
play();
Symbol 119 MovieClip Frame 9
checkPepper();
play();
Symbol 119 MovieClip Frame 10
checkPepper();
play();
Symbol 119 MovieClip Frame 11
checkPepper();
play();
Symbol 119 MovieClip Frame 12
checkPepper();
play();
Symbol 119 MovieClip Frame 13
checkPepper();
play();
Symbol 119 MovieClip Frame 14
gotoAndStop (1);
checkPepper();
Symbol 119 MovieClip Frame 16
checkPepper();
play();
Symbol 119 MovieClip Frame 17
checkPepper();
play();
Symbol 119 MovieClip Frame 18
checkPepper();
play();
Symbol 119 MovieClip Frame 19
checkPepper();
play();
Symbol 119 MovieClip Frame 20
checkPepper();
play();
Symbol 119 MovieClip Frame 21
checkPepper();
play();
Symbol 119 MovieClip Frame 22
checkPepper();
play();
Symbol 119 MovieClip Frame 23
checkPepper();
play();
Symbol 119 MovieClip Frame 24
gotoAndStop (1);
checkPepper();
Symbol 119 MovieClip Frame 26
checkPepper();
play();
Symbol 119 MovieClip Frame 27
checkPepper();
play();
Symbol 119 MovieClip Frame 28
checkPepper();
play();
Symbol 119 MovieClip Frame 29
checkPepper();
play();
Symbol 119 MovieClip Frame 30
checkPepper();
play();
Symbol 119 MovieClip Frame 31
checkPepper();
play();
Symbol 119 MovieClip Frame 32
checkPepper();
play();
Symbol 119 MovieClip Frame 33
checkPepper();
play();
Symbol 119 MovieClip Frame 34
gotoAndStop (1);
checkPepper();
Symbol 119 MovieClip Frame 36
checkPepper();
play();
Symbol 119 MovieClip Frame 37
checkPepper();
play();
Symbol 119 MovieClip Frame 38
checkPepper();
play();
Symbol 119 MovieClip Frame 39
checkPepper();
play();
Symbol 119 MovieClip Frame 40
checkPepper();
play();
Symbol 119 MovieClip Frame 41
checkPepper();
play();
Symbol 119 MovieClip Frame 42
checkPepper();
play();
Symbol 119 MovieClip Frame 43
checkPepper();
play();
Symbol 119 MovieClip Frame 44
gotoAndStop (1);
checkPepper();
Symbol 130 MovieClip Frame 1
dirDisplay = "up";
stop();
Symbol 130 MovieClip Frame 5
if (!_parent.allStopped) {
gotoAndStop (2);
}
Symbol 130 MovieClip Frame 7
dirDisplay = "down";
stop();
Symbol 130 MovieClip Frame 12
if (!_parent.allStopped) {
gotoAndStop (8);
}
Symbol 130 MovieClip Frame 13
dirDisplay = "left";
stop();
Symbol 130 MovieClip Frame 17
if (!_parent.allStopped) {
gotoAndStop (14);
}
Symbol 130 MovieClip Frame 18
dirDisplay = "right";
stop();
Symbol 130 MovieClip Frame 22
if (!_parent.allStopped) {
gotoAndStop (19);
}
Symbol 130 MovieClip Frame 24
dirDisplay = "dead";
play();
Symbol 130 MovieClip Frame 33
pieceCount = 1;
while (_parent.numPieces >= pieceCount) {
if (_parent["piece" + pieceCount].falling) {
gotoAndPlay (30);
}
pieceCount++;
}
Symbol 130 MovieClip Frame 34
numPiecesInBase = 0;
pieceCount = 1;
while (_parent.numPieces >= pieceCount) {
if (_parent["piece" + pieceCount].currPlatform == 0) {
numPiecesInBase++;
}
pieceCount++;
}
if (numPiecesInBase == _parent.numPieces) {
stop();
_parent.allStopped = false;
_parent.play();
}
Symbol 130 MovieClip Frame 36
stop();
_parent.allStopped = false;
if (1 < _parent.lives) {
_parent.lives--;
removeMovieClip(_parent["life" + _parent.lives]);
if (_parent.lives == 1) {
_parent.life1._visible = false;
}
} else {
_parent.gotoAndStop("gameover");
}
_parent.gotoAndPlay("pre" + _parent.level);
Symbol 132 MovieClip Frame 1
points = 100;
stop();
Symbol 133 MovieClip Frame 1
points = 300;
stop();
Symbol 134 MovieClip Frame 1
dirDisplay = "up";
stop();
Symbol 134 MovieClip Frame 5
if (!_parent.allStopped) {
gotoAndStop (2);
}
Symbol 134 MovieClip Frame 7
dirDisplay = "down";
stop();
Symbol 134 MovieClip Frame 12
if (!_parent.allStopped) {
gotoAndStop (8);
}
Symbol 134 MovieClip Frame 13
dirDisplay = "left";
stop();
Symbol 134 MovieClip Frame 17
if (!_parent.allStopped) {
gotoAndStop (14);
}
Symbol 134 MovieClip Frame 18
dirDisplay = "right";
stop();
Symbol 134 MovieClip Frame 22
if (!_parent.allStopped) {
gotoAndStop (19);
}
Symbol 134 MovieClip Frame 24
dirDisplay = "dead";
play();
Symbol 134 MovieClip Frame 33
pieceCount = 1;
while (_parent.numPieces >= pieceCount) {
if (_parent["piece" + pieceCount].falling) {
gotoAndPlay (30);
}
pieceCount++;
}
Symbol 134 MovieClip Frame 34
numPiecesInBase = 0;
pieceCount = 1;
while (_parent.numPieces >= pieceCount) {
if (_parent["piece" + pieceCount].currPlatform == 0) {
numPiecesInBase++;
}
pieceCount++;
}
if (numPiecesInBase == _parent.numPieces) {
stop();
_parent.allStopped = false;
_parent.play();
}
Symbol 134 MovieClip Frame 36
stop();
_parent.allStopped = false;
if (1 < _parent.lives) {
_parent.lives--;
removeMovieClip(_parent["life" + _parent.lives]);
if (_parent.lives == 1) {
_parent.life1._visible = false;
}
} else {
_parent.gotoAndStop("gameover");
}
_parent.gotoAndPlay("pre" + _parent.level);
Symbol 137 MovieClip Frame 1
points = 200;
stop();
Symbol 145 Button
on (release) {
_parent.gotoAndPlay("actions");
}
Symbol 147 MovieClip Frame 65
stop();
Instance of Symbol 19 MovieClip "seg1" in Symbol 147 MovieClip Frame 65
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 21 MovieClip "seg4" in Symbol 147 MovieClip Frame 65
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 23 MovieClip "seg2" in Symbol 147 MovieClip Frame 65
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 25 MovieClip "seg5" in Symbol 147 MovieClip Frame 65
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 27 MovieClip "seg3" in Symbol 147 MovieClip Frame 65
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 55 MovieClip "seg1" in Symbol 147 MovieClip Frame 65
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 57 MovieClip "seg4" in Symbol 147 MovieClip Frame 65
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 59 MovieClip "seg2" in Symbol 147 MovieClip Frame 65
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 61 MovieClip "seg5" in Symbol 147 MovieClip Frame 65
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 63 MovieClip "seg3" in Symbol 147 MovieClip Frame 65
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 40 MovieClip "seg1" in Symbol 147 MovieClip Frame 65
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 42 MovieClip "seg4" in Symbol 147 MovieClip Frame 65
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 44 MovieClip "seg2" in Symbol 147 MovieClip Frame 65
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 46 MovieClip "seg5" in Symbol 147 MovieClip Frame 65
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 48 MovieClip "seg3" in Symbol 147 MovieClip Frame 65
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 30 MovieClip "seg1" in Symbol 147 MovieClip Frame 65
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 32 MovieClip "seg4" in Symbol 147 MovieClip Frame 65
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 34 MovieClip "seg2" in Symbol 147 MovieClip Frame 65
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 36 MovieClip "seg5" in Symbol 147 MovieClip Frame 65
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Instance of Symbol 38 MovieClip "seg3" in Symbol 147 MovieClip Frame 65
onClipEvent (load) {
segNum = Number(this._name.charAt(this._name.length - 1));
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.burgerDot) && (!_parent.falling)) {
segDown = true;
}
if (segDown == true) {
if (_parent["seg" + (segNum - 1)] && (_parent["seg" + (segNum + 1)])) {
if (_parent["seg" + (segNum - 1)].segDown && (_parent["seg" + (segNum + 1)].segDown)) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum - 1)]) {
if (_parent["seg" + (segNum - 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
} else if (_parent["seg" + (segNum + 1)]) {
if (_parent["seg" + (segNum + 1)].segDown) {
this._y = 10;
} else {
this._y = 5;
}
}
}
}
Symbol 148 MovieClip Frame 1
points = 500;