Frame 1
stopAllSounds();
globalSound = new Sound();
sound = true;
_global.myRoot = this;
_quality = "HIGH";
var rightClick = new ContextMenu();
rightClick.hideBuiltInItems();
_global.myRoot.menu = rightClick;
var urlString = _global.myRoot._url;
if (urlString.indexOf("armorgames.com") == -1) {
_root._x = 50000;
_root._y = 40000;
}
buttonLink.onRelease = function () {
getURL ("http://www.armorgames.com", "_blank");
};
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
this.loadBar._width = getPercent * 100;
this.loadText = Math.round(getPercent * 100) + "%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}
Frame 2
this.gotoAndPlay(1);
Frame 4
stopAllSounds();
Frame 5
stop();
rockOn = false;
help = false;
scores = false;
credits = false;
buttonPlay.onPress = function () {
stopAllSounds();
rockOn = true;
help = false;
scores = false;
credits = false;
fg.play();
};
buttonHelp.onPress = function () {
rockOn = false;
help = true;
scores = false;
credits = false;
fg.play();
};
buttonScores.onPress = function () {
rockOn = false;
help = false;
scores = true;
credits = false;
fg.play();
};
buttonCredits.onPress = function () {
rockOn = false;
help = false;
scores = false;
credits = true;
fg.play();
};
buttonLink.onRelease = function () {
getURL ("http://www.armorgames.com", "_blank");
};
fg.speaker.onRelease = function () {
if (sound) {
sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
sound = true;
_global.myRoot.globalSound.setVolume(100);
}
};
fg.q.onRelease = function () {
trace(_quality);
if (_quality == "HIGH") {
prev = "HIGH";
_quality = "MEDIUM";
} else if ((_quality == "MEDIUM") && (prev == "HIGH")) {
_quality = "LOW";
} else if ((_quality == "MEDIUM") && (prev == "LOW")) {
_quality = "HIGH";
} else if (_quality == "LOW") {
_quality = "MEDIUM";
prev = "LOW";
}
};
onEnterFrame = function () {
if (sound) {
fg.speaker.gotoAndStop(1);
} else {
fg.speaker.gotoAndStop(2);
}
if (_quality == "HIGH") {
fg.q.gotoAndStop(1);
} else if (_quality == "MEDIUM") {
fg.q.gotoAndStop(2);
} else if (_quality == "LOW") {
fg.q.gotoAndStop(3);
}
if (fg._currentframe == fg._totalframes) {
if (rockOn) {
play();
}
if (help) {
gotoAndStop ("help");
}
if (scores) {
gotoAndStop ("scores");
}
if (credits) {
gotoAndStop ("credits");
}
}
};
clicks = 0;
pressCounter = 0;
highestDepth = 10000;
onMouseDown = function () {
pressed = true;
};
onMouseUp = function () {
pressed = false;
};
setup = function () {
levelPassed = false;
gamePaused = false;
shaking = false;
quit = false;
fg.q.onRelease = function () {
trace(_quality);
if (_quality == "HIGH") {
prev = "HIGH";
_quality = "MEDIUM";
} else if ((_quality == "MEDIUM") && (prev == "HIGH")) {
_quality = "LOW";
} else if ((_quality == "MEDIUM") && (prev == "LOW")) {
_quality = "HIGH";
} else if (_quality == "LOW") {
_quality = "MEDIUM";
prev = "LOW";
}
};
fg.speaker.onRelease = function () {
if ((!levelPassed) and (!gamePaused)) {
if (sound) {
sound = false;
_global.myRoot.globalSound.setVolume(0);
fg.speaker.gotoAndStop(2);
} else {
sound = true;
_global.myRoot.globalSound.setVolume(100);
fg.speaker.gotoAndStop(1);
}
}
};
fg.pauseGame.onRelease = function () {
if (fg.pauseGame._currentframe == 1) {
fg.pauseGame.play();
fg.pausedMenu.play();
gamePaused = true;
}
};
onMouseDown = function () {
pressed = true;
clicks = clicks + 1;
};
onMouseUp = function () {
pressed = false;
};
};
game = function () {
shake();
count();
fg.clicksText = "clicks: " + clicks;
if (sound) {
fg.speaker.gotoAndStop(1);
} else {
fg.speaker.gotoAndStop(2);
}
if (_quality == "HIGH") {
fg.q.gotoAndStop(1);
} else if (_quality == "MEDIUM") {
fg.q.gotoAndStop(2);
} else if (_quality == "LOW") {
fg.q.gotoAndStop(3);
}
if (highestDepth == 0) {
highestDepth = 10000;
}
if (pressed) {
pressCounter++;
} else {
pressCounter = 0;
}
};
explode = function () {
shaking = true;
shakeCount = 20;
j = 0;
while (j < 25) {
p = attachMovie("explosion", "explosion" + (j++), highestDepth--);
p._x = (explodeX - 40) + random(80);
p._y = explodeY;
p._xscale = (p._yscale = (Math.random() * 100) + 20);
p._rotation = random(360);
j++;
}
};
explodeB = function () {
shaking = true;
shakeCount = 20;
j = 0;
while (j < 25) {
p = attachMovie("explosion", "explosion" + (j++), highestDepth--);
p._x = (explodeX - 40) + random(80);
p._y = (explodeY - 40) + random(80);
p._xscale = (p._yscale = (Math.random() * 100) + 20);
p._rotation = random(360);
j++;
}
};
shake = function () {
if (shaking) {
_global.myRoot._x = random(20) - 5;
_global.myRoot._y = random(20) - 5;
shakeCount--;
if (shakeCount == 0) {
shaking = false;
_global.myRoot._x = 0;
_global.myRoot._y = 0;
}
}
};
passedOrPaused = function () {
if (levelPassed) {
if (fg._currentframe != fg._totalframes) {
fg.play();
}
if (fg._currentframe == fg._totalframes) {
play();
}
}
if (gamePaused) {
if (quit) {
if (fg._currentframe != fg._totalframes) {
fg.play();
}
if (fg._currentframe == fg._totalframes) {
gotoAndPlay ("menu");
}
}
}
};
Frame 6
stop();
setup();
moon.onRelease = function () {
};
moon.useHandCursor = true;
arrowButton.onRelease = function () {
};
arrowButton.useHandCursor = true;
draggingMoon = false;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (moon.hitTest(_xmouse, _ymouse, true)) {
if (!draggingMoon) {
draggingMoon = true;
}
}
if (arrowButton.hitTest(_xmouse, _ymouse, true) and (!hills.hitTest(_xmouse, _ymouse, true))) {
if (arrowButton._currentframe == 1) {
arrowButton.play();
levelPassed = true;
}
}
}
} else {
draggingMoon = false;
}
if (draggingMoon) {
moon._y = _ymouse;
if (moon._y > (460 - (moon._height / 2))) {
moon._y = 460 - (moon._height / 2);
}
if (moon._y < (20 + (moon._height / 2))) {
moon._y = 20 + (moon._height / 2);
}
arrowButton._y = 480 - moon._y;
}
alphaStuff = arrowButton._y / 4;
sky.nightSky._alpha = alphaStuff;
} else {
passedOrPaused();
}
};
Frame 7
stop();
setup();
i = 0;
while (i < 15) {
_global.myRoot["egg" + i].onRelease = function () {
};
_global.myRoot["egg" + i].useHandCursor = true;
i++;
}
eggFound = false;
openMouth = false;
chosenEgg = random(15);
_global.myRoot["egg" + chosenEgg].gotoAndStop(2);
arrowButton._x = _global.myRoot["egg" + chosenEgg]._x;
arrowButton._y = _global.myRoot["egg" + chosenEgg]._y;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (!eggFound) {
i = 0;
while (i < 15) {
if (_global.myRoot["egg" + i].hitTest(_xmouse, _ymouse, true)) {
if (_global.myRoot["egg" + i].eggAnim._currentframe < 21) {
_global.myRoot["egg" + i].eggAnim.play();
}
if ((pressed and (pressCounter == 1)) and (_global.myRoot["egg" + i].eggAnim._currentframe < 17)) {
openMouth = true;
if (i == chosenEgg) {
eggFound = true;
}
}
} else if (_global.myRoot["egg" + i].eggAnim._currentframe > 1) {
_global.myRoot["egg" + i].eggAnim.play();
}
if (!openMouth) {
if (_global.myRoot["egg" + i].eggAnim._currentframe == 16) {
_global.myRoot["egg" + i].eggAnim.gotoAndPlay(1);
}
} else if (_global.myRoot["egg" + i].eggAnim._currentframe == 16) {
_global.myRoot["egg" + i].eggAnim.gotoAndPlay(17);
openMouth = false;
}
i++;
}
} else if (pressed) {
if (pressCounter == 1) {
if (_global.myRoot["egg" + chosenEgg].eggAnim.arrowButton.hitTest(_xmouse, _ymouse, true)) {
if (_global.myRoot["egg" + chosenEgg].eggAnim.arrowButton._currentframe == 1) {
_global.myRoot["egg" + chosenEgg].eggAnim.arrowButton.play();
levelPassed = true;
}
}
}
}
} else {
passedOrPaused();
}
};
Frame 8
stop();
setup();
machine.machineAsleep.lever.onRelease = function () {
};
machine.machineAsleep.lever.useHandCursor = true;
circleWhite.onRelease = function () {
};
circleWhite.useHandCursor = true;
triangleBlack.onRelease = function () {
};
triangleBlack.useHandCursor = true;
arrowButtonAnim.onRelease = function () {
};
arrowButtonAnim.useHandCursor = true;
arrowButtonAnim._visible = false;
circleWhiteEaten = false;
triangleBlackEaten = false;
draggingCircleWhite = false;
draggingTriangleBlack = false;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (machine.machineAsleep.lever.hitTest(_xmouse, _ymouse, true)) {
fg.sounds.lever.play();
machine.machineAsleep.lever._rotation = machine.machineAsleep.lever._rotation + 45;
i = 0;
while (i < 2) {
if (_global.myRoot.machine.machineAsleep["eye" + i]._currentframe == 1) {
_global.myRoot.machine.machineAsleep["eye" + i].play();
}
i++;
}
}
if (circleWhite.hitTest(_xmouse, _ymouse, true)) {
if (!draggingTriangleBlack) {
draggingCircleWhite = true;
}
}
if (triangleBlack.hitTest(_xmouse, _ymouse, true)) {
if (!draggingCircleWhite) {
draggingTriangleBlack = true;
}
}
if (arrowButtonAnim.hitTest(_xmouse, _ymouse, true) and arrowButtonAnim._visible) {
if (arrowButtonAnim.arrowButton._currentframe == 1) {
arrowButtonAnim.arrowButton.play();
levelPassed = true;
pressed = false;
}
}
}
} else {
draggingCircleWhite = false;
draggingTriangleBlack = false;
}
if (_global.myRoot.machine.machineAsleep.eye0._currentframe == _global.myRoot.machine.machineAsleep.eye0._totalframes) {
if (machine._currentframe == 1) {
machine.gotoAndStop(2);
}
}
if (draggingCircleWhite) {
circleWhite.gotoAndStop(2);
circleWhite._x = _xmouse;
circleWhite._y = _ymouse;
if (circleWhite._y > (400 - (circleWhite._height / 2))) {
circleWhite._y = 400 - (circleWhite._height / 2);
}
if (circleWhite._y < (0 + (circleWhite._height / 2))) {
circleWhite._y = 0 + (circleWhite._height / 2);
}
if (circleWhite._x > (640 - (circleWhite._width / 2))) {
circleWhite._x = 640 - (circleWhite._width / 2);
}
if (circleWhite._x < (0 + (circleWhite._width / 2))) {
circleWhite._x = 0 + (circleWhite._width / 2);
}
} else {
if (circleWhite.hitTest(machine)) {
if (machine._currentframe == 2) {
if ((machine.triangleBlack._currentframe == 1) or (machine.triangleBlack._currentframe == machine.triangleBlack._totalframes)) {
fg.sounds.grinder.play();
fg.sounds.screamA.play();
circleWhite.gotoAndStop(3);
machine.circleWhite.play();
circleWhiteEaten = true;
}
}
}
if (!circleWhiteEaten) {
circleWhite.gotoAndStop(1);
circleWhite._x = 240;
circleWhite._y = 360;
}
}
if (draggingTriangleBlack) {
triangleBlack.gotoAndStop(2);
triangleBlack._x = _xmouse;
triangleBlack._y = _ymouse;
if (triangleBlack._y > (400 - (triangleBlack._height / 2))) {
triangleBlack._y = 400 - (triangleBlack._height / 2);
}
if (triangleBlack._y < (0 + (triangleBlack._height / 2))) {
triangleBlack._y = 0 + (triangleBlack._height / 2);
}
if (triangleBlack._x > (640 - (triangleBlack._width / 2))) {
triangleBlack._x = 640 - (triangleBlack._width / 2);
}
if (triangleBlack._x < (0 + (triangleBlack._width / 2))) {
triangleBlack._x = 0 + (triangleBlack._width / 2);
}
} else {
if (triangleBlack.hitTest(machine)) {
if (machine._currentframe == 2) {
if ((machine.circleWhite._currentframe == 1) or (machine.circleWhite._currentframe == machine.circleWhite._totalframes)) {
fg.sounds.grinder.play();
fg.sounds.screamB.play();
triangleBlack.gotoAndStop(3);
machine.triangleBlack.play();
triangleBlackEaten = true;
}
}
}
if (!triangleBlackEaten) {
triangleBlack.gotoAndStop(1);
triangleBlack._x = 120;
triangleBlack._y = 370;
}
}
if (circleWhiteEaten and triangleBlackEaten) {
if ((machine.triangleBlack._currentframe == machine.triangleBlack._totalframes) and (machine.circleWhite._currentframe == machine.circleWhite._totalframes)) {
if (arrowButtonAnim._currentframe == 1) {
fg.sounds.burp.play();
machine.gotoAndStop(3);
arrowButtonAnim._visible = true;
arrowButtonAnim.play();
}
}
}
} else {
passedOrPaused();
}
};
Frame 9
stop();
setup();
arrowButton.onRelease = function () {
};
arrowButton.useHandCursor = true;
arrowButton._visible = false;
sticks = 0;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
i = 0;
while (i < 8) {
if (_global.myRoot["stick" + i].hitTest(_xmouse, _ymouse, true)) {
if (((pressed and (pressCounter == 1)) and (_global.myRoot["stick" + i]._currentframe == 1)) and (sticks == i)) {
_global.myRoot["stick" + i].play();
fg.sounds.pickup.play();
pressed = false;
sticks++;
}
}
i++;
}
if (sticks == 8) {
arrowButton._visible = true;
if (arrowButton.hitTest(_xmouse, _ymouse, true)) {
if (pressed and (pressCounter == 1)) {
arrowButton.play();
levelPassed = true;
pressed = false;
}
}
}
} else {
passedOrPaused();
}
};
Frame 10
stop();
setup();
i = 0;
while (i < 4) {
_global.myRoot["dude" + i].onRelease = function () {
};
_global.myRoot["dude" + i].useHandCursor = true;
i++;
}
arrowButtonAnim.onRelease = function () {
};
arrowButtonAnim.useHandCursor = true;
arrowButtonAnim._visible = false;
hatsFit = false;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (!hatsFit) {
i = 0;
while (i < 4) {
if (_global.myRoot["dude" + i].hitTest(_xmouse, _ymouse, true)) {
_global.myRoot["dude" + i].hats.play();
fg.sounds.blip.play();
}
i++;
}
}
if (arrowButtonAnim._visible) {
if (arrowButtonAnim.hitTest(_xmouse, _ymouse, true)) {
if (arrowButtonAnim.arrowButton._currentframe == 1) {
arrowButtonAnim.arrowButton.play();
levelPassed = true;
}
}
}
}
}
if ((((dude0.hats._currentframe == 1) and (dude1.hats._currentframe == 2)) and (dude2.hats._currentframe == 3)) and (dude3.hats._currentframe == 4)) {
hatsFit = true;
if (arrowButtonAnim._currentframe == 1) {
i = 0;
while (i < 4) {
_global.myRoot["dude" + i].useHandCursor = false;
i++;
}
arrowButtonAnim._visible = true;
arrowButtonAnim.play();
}
}
} else {
passedOrPaused();
}
};
Frame 11
stop();
setup();
boxAnim.onRelease = function () {
};
boxAnim.useHandCursor = true;
pieceA.onRelease = function () {
};
pieceA.useHandCursor = true;
pieceB.onRelease = function () {
};
pieceB.useHandCursor = true;
pieceC.onRelease = function () {
};
pieceC.useHandCursor = true;
pieceD.onRelease = function () {
};
pieceD.useHandCursor = true;
fallingA = false;
fallingB = false;
fallingC = false;
fallingD = false;
pieceA._y = 135;
pieceB._y = 135;
pieceC._y = 135;
pieceD._y = 135;
pieceA._visible = true;
pieceB._visible = true;
pieceC._visible = true;
pieceD._visible = true;
puzzleSolved = false;
buttonReset.onPress = function () {
fallingA = false;
fallingB = false;
fallingC = false;
fallingD = false;
pieceA._y = 135;
pieceB._y = 135;
pieceC._y = 135;
pieceD._y = 135;
pieceA._visible = true;
pieceB._visible = true;
pieceC._visible = true;
pieceD._visible = true;
puzzleSolved = false;
i = 0;
while (i < 4) {
_global.myRoot.boxAnim.box["piece" + i].gotoAndStop(1);
i++;
}
};
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (boxAnim.hitTest(_xmouse, _ymouse, true)) {
if ((((boxAnim.box.piece0._currentframe == 2) and (boxAnim.box.piece1._currentframe == 3)) and (boxAnim.box.piece2._currentframe == 4)) and (boxAnim.box.piece3._currentframe == 5)) {
fg.sounds.success.play();
levelPassed = true;
} else {
boxAnim.play();
fg.sounds.blip.play();
}
}
if (pieceA.hitTest(_xmouse, _ymouse, true)) {
if (pieceA._y == 135) {
fallingA = true;
fg.sounds.jump.play();
}
}
if (pieceB.hitTest(_xmouse, _ymouse, true)) {
if (pieceB._y == 135) {
fallingB = true;
fg.sounds.jump.play();
}
}
if (pieceC.hitTest(_xmouse, _ymouse, true)) {
if (pieceC._y == 135) {
fallingC = true;
fg.sounds.jump.play();
}
}
if (pieceD.hitTest(_xmouse, _ymouse, true)) {
if (pieceD._y == 135) {
fallingD = true;
fg.sounds.jump.play();
}
}
}
}
if (fallingA) {
pieceA._y = pieceA._y + 5;
if (pieceA._y > 500) {
fallingA = false;
pieceA._y = 135;
}
}
if (fallingB) {
pieceB._y = pieceB._y + 5;
if (pieceB._y > 500) {
fallingB = false;
pieceB._y = 135;
}
}
if (fallingC) {
pieceC._y = pieceC._y + 5;
if (pieceC._y > 500) {
fallingC = false;
pieceC._y = 135;
}
}
if (fallingD) {
pieceD._y = pieceD._y + 5;
if (pieceD._y > 500) {
fallingD = false;
pieceD._y = 135;
}
}
if ((boxAnim._currentframe == 1) or (boxAnim._currentframe == 5)) {
if (pieceB._y == 285) {
if ((boxAnim.box.piece0._currentframe == 1) and (boxAnim.box.piece2._currentframe > 1)) {
boxAnim.box.piece0.gotoAndStop("pieceB");
pieceB._visible = false;
fallingB = false;
pieceB._y = 135;
}
}
if (pieceB._y == 355) {
if (boxAnim.box.piece2._currentframe == 1) {
boxAnim.box.piece2.gotoAndStop("pieceB");
pieceB._visible = false;
fallingB = false;
pieceB._y = 135;
}
}
if (pieceC._y == 285) {
if ((boxAnim.box.piece1._currentframe == 1) and (boxAnim.box.piece3._currentframe > 1)) {
boxAnim.box.piece1.gotoAndStop("pieceC");
pieceC._visible = false;
fallingC = false;
pieceC._y = 135;
}
}
if (pieceC._y == 355) {
if (boxAnim.box.piece3._currentframe == 1) {
boxAnim.box.piece3.gotoAndStop("pieceC");
pieceC._visible = false;
fallingC = false;
pieceC._y = 135;
}
}
}
if ((boxAnim._currentframe == 2) or (boxAnim._currentframe == 4)) {
if (pieceC._y == 285) {
if ((boxAnim.box.piece0._currentframe == 1) and (boxAnim.box.piece2._currentframe > 1)) {
boxAnim.box.piece0.gotoAndStop("pieceC");
pieceC._visible = false;
fallingC = false;
pieceC._y = 135;
}
}
if (pieceC._y == 355) {
if (boxAnim.box.piece2._currentframe == 1) {
boxAnim.box.piece2.gotoAndStop("pieceC");
pieceC._visible = false;
fallingC = false;
pieceC._y = 135;
}
}
if (pieceD._y == 285) {
if ((boxAnim.box.piece1._currentframe == 1) and (boxAnim.box.piece3._currentframe > 1)) {
boxAnim.box.piece1.gotoAndStop("pieceD");
pieceD._visible = false;
fallingD = false;
pieceD._y = 135;
}
}
if (pieceD._y == 355) {
if (boxAnim.box.piece3._currentframe == 1) {
boxAnim.box.piece3.gotoAndStop("pieceD");
pieceD._visible = false;
fallingD = false;
pieceD._y = 135;
}
}
}
if (boxAnim._currentframe == 3) {
if (pieceD._y == 285) {
if ((boxAnim.box.piece0._currentframe == 1) and (boxAnim.box.piece2._currentframe > 1)) {
boxAnim.box.piece0.gotoAndStop("pieceD");
pieceD._visible = false;
fallingD = false;
pieceD._y = 135;
}
}
if (pieceD._y == 355) {
if (boxAnim.box.piece2._currentframe == 1) {
boxAnim.box.piece2.gotoAndStop("pieceD");
pieceD._visible = false;
fallingD = false;
pieceD._y = 135;
}
}
}
if ((boxAnim._currentframe == 6) or (boxAnim._currentframe == 8)) {
if (pieceA._y == 285) {
if ((boxAnim.box.piece0._currentframe == 1) and (boxAnim.box.piece2._currentframe > 1)) {
boxAnim.box.piece0.gotoAndStop("pieceA");
pieceA._visible = false;
fallingA = false;
pieceA._y = 135;
}
}
if (pieceA._y == 355) {
if (boxAnim.box.piece2._currentframe == 1) {
boxAnim.box.piece2.gotoAndStop("pieceA");
pieceA._visible = false;
fallingA = false;
pieceA._y = 135;
}
}
if (pieceB._y == 285) {
if ((boxAnim.box.piece1._currentframe == 1) and (boxAnim.box.piece3._currentframe > 1)) {
boxAnim.box.piece1.gotoAndStop("pieceB");
pieceB._visible = false;
fallingB = false;
pieceB._y = 135;
}
}
if (pieceB._y == 355) {
if (boxAnim.box.piece3._currentframe == 1) {
boxAnim.box.piece3.gotoAndStop("pieceB");
pieceB._visible = false;
fallingB = false;
pieceB._y = 135;
}
}
}
if (boxAnim._currentframe == 7) {
if (pieceA._y == 285) {
if ((boxAnim.box.piece1._currentframe == 1) and (boxAnim.box.piece3._currentframe > 1)) {
boxAnim.box.piece1.gotoAndStop("pieceA");
pieceA._visible = false;
fallingA = false;
pieceA._y = 135;
}
}
if (pieceA._y == 355) {
if (boxAnim.box.piece3._currentframe == 1) {
boxAnim.box.piece3.gotoAndStop("pieceA");
pieceA._visible = false;
fallingA = false;
pieceA._y = 135;
}
}
}
} else {
passedOrPaused();
}
};
Frame 12
stop();
setup();
car.onRelease = function () {
};
car.useHandCursor = true;
arrowButtonAnim.onRelease = function () {
};
arrowButtonAnim.useHandCursor = true;
arrowButtonAnim._visible = false;
dx = 0;
dy = 0;
speed = 0;
startX = 475;
startY = 240;
carStarted = false;
starsCollected = 0;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (carStarted) {
car._rotation = car._rotation - 2;
}
if (pressCounter == 1) {
if (car.hitTest(_xmouse, _ymouse, true)) {
fg.sounds.engine.play();
carStarted = true;
}
if (arrowButtonAnim._visible) {
if (arrowButtonAnim.hitTest(_xmouse, _ymouse, true)) {
if (arrowButtonAnim.arrowButton._currentframe == 1) {
arrowButtonAnim.arrowButton.play();
levelPassed = true;
pressed = false;
}
}
}
}
}
if (!track.hitTest(car._x, car._y, true)) {
fg.sounds.buzzer.play();
carStarted = false;
}
if (carStarted) {
speed = speed + 0.01;
dx = Math.sin(car._rotation * (Math.PI/180)) * speed;
dy = (Math.cos(car._rotation * (Math.PI/180)) * speed) * -1;
car._x = car._x + dx;
car._y = car._y + dy;
} else {
dx = 0;
dy = 0;
speed = 0;
car._x = startX;
car._y = startY;
car._rotation = 0;
}
i = 0;
while (i < 15) {
if (_global.myRoot["star" + i].hitTest(car)) {
if (_global.myRoot["star" + i]._currentframe == 1) {
fg.sounds.pickup.play();
_global.myRoot["star" + i].play();
starsCollected++;
}
}
i++;
}
if (starsCollected == 15) {
if (arrowButtonAnim._currentframe == 1) {
arrowButtonAnim._visible = true;
arrowButtonAnim.play();
}
}
} else {
passedOrPaused();
}
};
Frame 13
stop();
setup();
i = 0;
while (i < 4) {
_global.myRoot["screw" + i].onRelease = function () {
};
_global.myRoot["screw" + i].useHandCursor = true;
i++;
}
i = 0;
while (i < 4) {
_global.myRoot["piece" + i].onRelease = function () {
};
_global.myRoot["piece" + i].useHandCursor = true;
_global.myRoot["piece" + i]._visible = false;
i++;
}
arrowButton.onRelease = function () {
};
arrowButton.useHandCursor = true;
unscrewed = 0;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (panel._currentframe == panel._totalframes) {
i = 0;
while (i < 4) {
if (_global.myRoot["piece" + i].hitTest(_xmouse, _ymouse, true)) {
_global.myRoot["piece" + i]._rotation = _global.myRoot["piece" + i]._rotation + 90;
fg.sounds.blip.play();
}
i++;
}
}
if (arrowButton.hitTest(_xmouse, _ymouse, true)) {
if (arrowButton._currentframe == 2) {
levelPassed = true;
arrowButton.play();
pressed = false;
}
}
}
i = 0;
while (i < 4) {
if (_global.myRoot["screw" + i].hitTest(_xmouse, _ymouse, true)) {
if (_global.myRoot["screw" + i]._currentframe < 90) {
if (_global.myRoot["screw" + i]._currentframe == 1) {
fg.sounds.creak.play();
}
_global.myRoot["screw" + i].gotoAndStop(_global.myRoot["screw" + i]._currentframe + 1);
}
}
if (_global.myRoot["screw" + i]._currentframe == 90) {
_global.myRoot["screw" + i].play();
unscrewed++;
}
i++;
}
}
if (unscrewed == 4) {
if (panel._currentframe == 1) {
i = 0;
while (i < 4) {
_global.myRoot["piece" + i]._visible = true;
i++;
}
panel.play();
}
}
if (hitmap.hitTest(_xmouse, _ymouse, true)) {
pressed = false;
}
if ((((piece0._rotation == 0) and (piece1._rotation == 0)) and (piece2._rotation == 0)) and (piece3._rotation == 0)) {
i = 0;
while (i < 4) {
if (_global.myRoot["piece" + i]._currentframe == 1) {
_global.myRoot["piece" + i].play();
}
i++;
}
if (arrowButton._currentframe == 1) {
arrowButton.play();
}
}
} else {
passedOrPaused();
}
};
Frame 14
stop();
setup();
cliffScene.rope.onRelease = function () {
};
cliffScene.rope.useHandCursor = true;
cliffScene.arrowButton.onRelease = function () {
};
cliffScene.arrowButton.useHandCursor = true;
gravity = 0.5;
acceleration = 1.05;
draggingRope = false;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (cliffScene.rope.hitTest(_xmouse, _ymouse, true)) {
draggingRope = true;
fg.sounds.rope.play();
grabPoint = cliffScene._y - _ymouse;
gravity = 0.5;
}
if (cliffScene.arrowButton.hitTest(_xmouse, _ymouse, true)) {
if (cliffScene.arrowButton._currentframe == 1) {
cliffScene.arrowButton.useHandCursor = false;
cliffScene.arrowButton.play();
levelPassed = true;
}
}
}
} else {
draggingRope = false;
}
if (draggingRope) {
if (cliffScene._y >= 400) {
cliffScene._y = _ymouse + grabPoint;
gravity = 0.5;
}
} else if (cliffScene._y > 400) {
cliffScene._y = cliffScene._y - gravity;
gravity = gravity * acceleration;
}
if (cliffScene._y < 400) {
cliffScene._y = 400;
}
mountains._y = 350 + (cliffScene._y / 8);
clouds._y = 100 + (cliffScene._y / 16);
} else {
passedOrPaused();
}
};
Frame 15
stop();
setup();
car.onRelease = function () {
};
car.useHandCursor = true;
arrowButtonAnim.arrowButton.onRelease = function () {
};
arrowButtonAnim.arrowButton.useHandCursor = true;
arrowButtonAnim._visible = false;
carStarted = false;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (!carStarted) {
if (car.hitTest(_xmouse, _ymouse, true)) {
fg.sounds.engine.play();
carStarted = true;
}
} else if (car._currentframe == 1) {
fg.sounds.jump.play();
car.play();
}
if (arrowButtonAnim._visible) {
if (arrowButtonAnim.arrowButton.hitTest(_xmouse, _ymouse, true)) {
if (arrowButtonAnim.arrowButton._currentframe == 1) {
arrowButtonAnim.arrowButton.play();
levelPassed = true;
}
}
}
}
}
if (carStarted) {
car._x = car._x + 3;
}
i = 0;
while (i < 3) {
if (car.hitmap.hitTest(_global.myRoot["spikes" + i])) {
fg.sounds.explosionA.play();
explodeX = car._x;
explodeY = car._y;
car._x = 60;
car._y = 350;
carStarted = false;
explode();
}
i++;
}
if (car._x > 680) {
if (arrowButtonAnim._currentframe == 1) {
carStarted = false;
arrowButtonAnim._visible = true;
arrowButtonAnim.play();
}
}
} else {
passedOrPaused();
}
};
Frame 16
stop();
setup();
pumpHandle.pumpHandleTop.onRelease = function () {
};
pumpHandle.pumpHandleTop.useHandCursor = true;
arrowButton.onRelease = function () {
};
arrowButton.useHandCursor = true;
arrowButton._visible = false;
arrowButton._x = 470;
arrowButton._y = 315;
draggingPumpHandle = false;
ball._yscale = 25;
pumpCounter = 5;
pumped = true;
xSpeed = 10;
ySpeed = 10;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (pumpHandle.pumpHandleTop.hitTest(_xmouse, _ymouse, true)) {
if (!draggingPumpHandle) {
draggingPumpHandle = true;
grabPoint = pumpHandle._y - _ymouse;
}
}
if (arrowButton.hitTest(_xmouse, _ymouse, true) and arrowButton._visible) {
if (arrowButton._currentframe == 1) {
arrowButton.play();
levelPassed = true;
}
}
}
} else {
draggingPumpHandle = false;
}
if (draggingPumpHandle) {
pumpHandle._y = _ymouse + grabPoint;
}
if (pumpHandle._y <= 250) {
pumpHandle._y = 250;
}
if ((pumpHandle._y >= 250) and (pumpHandle._y < 270)) {
if (!pumped) {
pumped = true;
}
}
if (pumpHandle._y >= 320) {
pumpHandle._y = 320;
}
if ((pumpHandle._y <= 320) and (pumpHandle._y > 300)) {
if (pumped) {
if (pumpCounter > 0) {
if (ball._yscale < 100) {
ball._yscale = ball._yscale + 2;
} else {
ball._yscale = 100;
if (ball._currentframe == 1) {
fg.sounds.pop.play();
ball.play();
arrowButton._visible = true;
arrowButtonBouncing = true;
}
}
pumpCounter--;
} else {
pumpCounter = 5;
pumped = false;
}
}
}
if (arrowButtonBouncing) {
arrowButton._x = arrowButton._x + xSpeed;
arrowButton._y = arrowButton._y + ySpeed;
}
if ((arrowButton._x + (arrowButton._width / 2)) > 640) {
xSpeed = xSpeed * -1;
}
if ((arrowButton._x - (arrowButton._width / 2)) < 0) {
xSpeed = xSpeed * -1;
}
if ((arrowButton._y + (arrowButton._width / 2)) > 400) {
ySpeed = ySpeed * -1;
}
if ((arrowButton._y - (arrowButton._width / 2)) < 0) {
ySpeed = ySpeed * -1;
}
} else {
passedOrPaused();
}
};
Frame 17
stop();
setup();
bomb.onRelease = function () {
};
bomb.useHandCursor = true;
arrowButton.onRelease = function () {
};
arrowButton.useHandCursor = true;
arrowButton._visible = false;
i = 0;
while (i < 16) {
_global.myRoot["tile" + i].onRelease = function () {
};
_global.myRoot["tile" + i].useHandCursor = true;
i++;
}
bombMoving = false;
touchingTiles = false;
bombSpeedX = 5;
bombSpeedY = 0;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (bomb.hitTest(_xmouse, _ymouse, true)) {
if (!bombMoving) {
fg.sounds.ignite.play();
bomb.useHandCursor = false;
bombMoving = true;
bomb.play();
}
}
i = 0;
while (i < 16) {
if (_global.myRoot["tile" + i].hitTest(_xmouse, _ymouse, true)) {
fg.sounds.blip.play();
_global.myRoot["tile" + i].pointer._rotation = _global.myRoot["tile" + i].pointer._rotation + 90;
}
i++;
}
if (arrowButton.hitTest(_xmouse, _ymouse, true) and arrowButton._visible) {
if (arrowButton._currentframe == 1) {
arrowButton.play();
levelPassed = true;
}
}
}
}
i = 0;
while (i < 16) {
if (bomb.centre.hitTest(_global.myRoot["tile" + i]._x, _global.myRoot["tile" + i]._y, true)) {
if (!touchingTiles) {
touchingTiles = true;
if (_global.myRoot["tile" + i].pointer._rotation == 0) {
bombSpeedX = 5;
bombSpeedY = 0;
}
if (_global.myRoot["tile" + i].pointer._rotation == 90) {
bombSpeedX = 0;
bombSpeedY = 5;
}
if (_global.myRoot["tile" + i].pointer._rotation == 180) {
bombSpeedX = -5;
bombSpeedY = 0;
}
if (_global.myRoot["tile" + i].pointer._rotation == -90) {
bombSpeedX = 0;
bombSpeedY = -5;
}
}
} else {
touchingTiles = false;
}
i++;
}
if (bombMoving) {
bomb._x = bomb._x + bombSpeedX;
bomb._y = bomb._y + bombSpeedY;
}
if (bomb._x > 640) {
bomb._x = 0;
}
if (bomb._x < 0) {
bomb._x = 640;
}
if (bomb._y > 480) {
bomb._y = 0;
}
if (bomb._y < 0) {
bomb._y = 480;
}
if (bomb._currentframe > 420) {
if (bombMoving) {
fg.sounds.explosionA.play();
bombMoving = false;
explodeX = bomb._x;
explodeY = bomb._y;
explodeB();
}
if (bomb.hitTest(crate._x, crate._y, true)) {
if (crate._currentframe == 1) {
arrowButton._visible = true;
crate.play();
}
}
}
if (bomb._currentframe == bomb._totalframes) {
if (crate._currentframe == 1) {
bomb._x = 75;
bomb._y = 105;
bomb.gotoAndStop(1);
bombMoving = false;
touchingTiles = false;
bombSpeedX = 5;
bombSpeedY = 0;
bomb.useHandCursor = true;
}
}
} else {
passedOrPaused();
}
};
Frame 18
stop();
setup();
solved = false;
started = false;
turning = false;
rotationCounterCW = 180;
rotationCounterCCW = 120;
trans = 0;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (!solved) {
if ((pressed and (!turningCW)) and (!turningCCW)) {
if (pressCounter == 1) {
if (plus3.hitmap.hitTest(_xmouse, _ymouse, true)) {
turningCW = true;
switched = false;
pressed = false;
if (started == false) {
started = true;
}
}
if (minus2.hitmap.hitTest(_xmouse, _ymouse, true)) {
turningCCW = true;
switched = false;
pressed = false;
if (started == false) {
started = true;
}
}
}
}
} else if (arrowButton._currentframe == 1) {
minus2.gotoAndStop(2);
plus3.gotoAndStop(2);
arrowButton.play();
}
if (turningCW) {
if (rotationCounterCW > 0) {
wheel._rotation = wheel._rotation - 5;
rotationCounterCW = rotationCounterCW - 5;
} else {
rotationCounterCW = 180;
turningCW = false;
}
}
if (turningCCW) {
if (rotationCounterCCW > 0) {
wheel._rotation = wheel._rotation + 5;
rotationCounterCCW = rotationCounterCCW - 5;
} else {
rotationCounterCCW = 120;
turningCCW = false;
}
}
if (((started and (!turningCW)) and (!turningCCW)) and (!switched)) {
i = 0;
while (i < 6) {
if (_global.myRoot.wheel["section" + i].hitTest(pointer._x, pointer._y, true)) {
if (_global.myRoot.wheel["section" + i]._currentframe == 1) {
_global.myRoot.wheel["section" + i].gotoAndStop(2);
fg.sounds.blip.play();
trans++;
} else {
_global.myRoot.wheel["section" + i].gotoAndStop(1);
fg.sounds.blip.play();
trans--;
}
switched = true;
}
i++;
}
}
if (trans == 6) {
solved = true;
}
if (pressed) {
if (arrowButton.hitTest(_xmouse, _ymouse, true)) {
if (arrowButton._currentframe == 10) {
levelPassed = true;
arrowButton.play();
}
}
}
} else {
passedOrPaused();
}
};
Frame 19
stop();
setup();
arrowButtonAnim.onRelease = function () {
};
arrowButtonAnim.useHandCursor = true;
arrowButtonAnim._visible = false;
endX = 120;
endY = 350;
par = 4;
speed = 8;
returning = false;
onEnterFrame = function () {
game();
sign.signHolder.parText = "Par " + par;
if ((!levelPassed) and (!gamePaused)) {
if (par > 0) {
if (pressed) {
if (pressCounter == 1) {
if ((golfball._currentframe == 1) and (!returning)) {
endX = _xmouse;
endY = _ymouse;
starter._x = endX;
starter._y = endY;
if (par > 0) {
par--;
} else {
par = 0;
}
}
}
}
} else if (starter.hitTest(golfball._x, golfball._y, true)) {
fg.sounds.buzzer.play();
returning = true;
endX = 120;
endY = 350;
starter._x = endX;
starter._y = endY;
par = 4;
}
golfball._x = golfball._x + ((endX - golfball._x) / speed);
golfball._y = golfball._y + ((endY - golfball._y) / speed);
if (!course.hitTest(golfball._x, golfball._y, true)) {
if (!returning) {
fg.sounds.buzzer.play();
}
returning = true;
endX = 120;
endY = 350;
starter._x = endX;
starter._y = endY;
par = 4;
}
if (hole.hitTest(golfball._x, golfball._y, true)) {
if ((golfball._currentframe == 1) and (!returning)) {
endX = hole._x;
endY = hole._y;
golfBall._x = endX;
golfBall._y = endY;
golfball.play();
}
}
if ((golfball._currentframe == golfball._totalframes) and (arrowButtonAnim._currentframe == 1)) {
arrowButtonAnim._visible = true;
arrowButtonAnim.play();
}
if (starter.hitTest(golfball._x, golfball._y, true)) {
if (returning) {
golfball._x = starter._x;
golfball._y = starter._y;
returning = false;
}
}
if (pressed) {
if (pressCounter == 1) {
if (arrowButtonAnim.hitTest(_xmouse, _ymouse, true) and arrowButtonAnim._visible) {
arrowButtonAnim.arrowButton.play();
levelPassed = true;
}
}
}
} else {
passedOrPaused();
}
};
Frame 20
stop();
setup();
duck.duckAnim.arrowButton.onRelease = function () {
};
duck.duckAnim.arrowButton.useHandCursor = true;
duck.duckAnim.arrowButton._visible = false;
duckReflection.duckAnim.arrowButton._visible = false;
arrowButtonFall._x = random(600) + 20;
speed = 5;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (arrowButtonFall._currentframe == 15) {
fg.sounds.splashA.play();
}
if (pressed) {
if (pressCounter == 1) {
if (!duck.duckAnim.arrowButton._visible) {
if (duck.duckAnim._currentframe == 1) {
pressed = false;
fg.sounds.splashB.play();
duck.duckAnim.play();
duckReflection.duckAnim.play();
}
}
if (duck.duckAnim.arrowButton.hitTest(_xmouse, _ymouse, true) and duck.duckAnim.arrowButton._visible) {
if (duck.duckAnim.arrowButton._currentframe == 1) {
duck.duckAnim.arrowButton.play();
levelPassed = true;
}
}
}
}
if (!duck.duckAnim.arrowButton._visible) {
endX = _global.myRoot._xmouse;
endY = _global.myRoot._ymouse;
duck._x = duck._x + ((endX - duck._x) / speed);
if (duck._x < _xmouse) {
duck._xscale = -100;
duckReflection._xscale = -100;
} else {
duck._xscale = 100;
duckReflection._xscale = 100;
}
}
duckReflection._x = duck._x;
if (duck.duckAnim.duckBeak.hitTest(arrowButtonFall._x, arrowButtonFall._y, true)) {
if (arrowButtonFall._currentframe == arrowButtonFall._totalframes) {
duck.duckAnim.arrowButton._visible = true;
}
}
} else {
passedOrPaused();
}
};
Frame 21
stop();
setup();
i = 0;
while (i < 10) {
_global.myRoot["key" + i].onRelease = function () {
};
_global.myRoot["key" + i].useHandCursor = true;
i++;
}
keyStar.onRelease = function () {
};
keyStar.useHandCursor = true;
keyHash.onRelease = function () {
};
keyHash.useHandCursor = true;
safe.arrowButton.onRelease = function () {
};
safe.arrowButton.useHandCursor = true;
safe.arrowButton._visible = false;
window.gotoAndStop(random(3));
clock.gotoAndStop(random(3));
if ((clock._currentframe == 1) and (window._currentframe == 1)) {
combination = 13;
}
if ((clock._currentframe == 2) and (window._currentframe == 1)) {
combination = 192;
}
if ((clock._currentframe == 1) and (window._currentframe == 2)) {
combination = 1215;
}
if ((clock._currentframe == 2) and (window._currentframe == 2)) {
combination = 1500;
}
combinationText = "****";
chars = 0;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (keyStar.hitTest(_xmouse, _ymouse, true)) {
fg.sounds.blip.play();
combinationText = "****";
}
if (keyHash.hitTest(_xmouse, _ymouse, true)) {
if (combinationText == combination) {
if (safe._currentframe == 1) {
fg.sounds.correct.play();
safe.arrowButton._visible = true;
safe.play();
}
} else {
fg.sounds.buzzer.play();
combinationText = "****";
}
}
i = 0;
while (i < 10) {
if (_global.myRoot["key" + i].hitTest(_xmouse, _ymouse, true)) {
if (combinationText == "****") {
combinationText = "";
chars = 0;
}
if (chars < 4) {
fg.sounds.blip.play();
combinationText = combinationText + i;
chars = chars + 1;
}
}
i++;
}
if (safe.arrowButton.hitTest(_xmouse, _ymouse, true) and safe.arrowButton._visible) {
if (safe.arrowButton._currentframe == 1) {
safe.arrowButton.play();
levelPassed = true;
}
}
}
}
} else {
passedOrPaused();
}
};
Frame 22
stop();
setup();
arrowButton.onRelease = function () {
};
arrowButton.useHandCursor = true;
arrowButton._visible = false;
left = true;
right = false;
bomberAlive = true;
resetBomber = false;
bombCarried = true;
bombed = 0;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (left) {
bomber._xscale = 100;
if (bomber._x < 680) {
bomber._x = bomber._x + 5;
} else if (bombed < 6) {
bomber._x = 680;
bomber._y = bomber._y + 40;
left = false;
right = true;
} else {
left = false;
right = false;
}
}
if (right) {
bomber._xscale = -100;
if (bomber._x > -40) {
bomber._x = bomber._x - 5;
} else if (bombed < 6) {
bomber._x = -40;
bomber._y = bomber._y + 40;
left = true;
right = false;
} else {
left = false;
right = false;
}
}
i = 0;
while (i < 3) {
if (bomber.hitTest(_global.myRoot["building" + i])) {
fg.sounds.explosionB.play();
explodeX = bomber._x;
explodeY = bomber._y;
bomber._x = -40;
bomber._y = 130;
explode();
}
i++;
}
if (bombCarried) {
bomb._x = bomber._x;
bomb._y = bomber._y;
bomb._visible = false;
} else {
bomb._y = bomb._y + 5;
bomb._visible = true;
i = 0;
while (i < 3) {
if (bomb.hitTest(_global.myRoot["building" + i])) {
fg.sounds.explosionA.play();
bomb._x = bomber._x;
bomb._y = bomber._y;
bomb._visible = false;
bombCarried = true;
_global.myRoot["building" + i].play();
explodeX = _global.myRoot["building" + i]._x;
explodeY = _global.myRoot["building" + i]._y;
explode();
bombed++;
if (bombed == 6) {
arrowButton._visible = true;
arrowButton._x = _global.myRoot["building" + i]._x;
arrowButton._y = _global.myRoot["building" + i]._y - 15;
}
}
i++;
}
if (bomb.hitTest(ground)) {
fg.sounds.explosionB.play();
hitX = bomb._x;
bombCarried = true;
explodeX = hitX;
explodeY = 400;
explode();
}
}
if (pressed) {
if (pressCounter == 1) {
if (bombed < 6) {
bombCarried = false;
}
if (arrowButton.hitTest(_xmouse, _ymouse, true) and arrowButton._visible) {
if (arrowButton._currentframe == 1) {
arrowButton.play();
levelPassed = true;
}
}
}
}
} else {
passedOrPaused();
}
};
Frame 23
stop();
setup();
ball.arrowButton.onRelease = function () {
};
ball.arrowButton.useHandCursor = false;
gravity = 0.4;
restitution = 0.7;
friction = 0.9;
vel = {x:0, y:0};
pos = {x:320, y:260};
old = {x:ball._x, y:ball._y};
radius = ball._width / 2;
bouncing = false;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (ball.hitTest(_xmouse, _ymouse, true)) {
if (!bouncing) {
dragging = true;
}
}
}
if (ball.arrowButton.hitTest(_xmouse, _ymouse, true)) {
if (!bouncing) {
if ((ball._currentframe == 5) and (ball.arrowButton._currentframe == 1)) {
ball.arrowButton.play();
levelPassed = true;
}
}
}
} else {
dragging = false;
}
if (((((vel.x > -0.7) and (vel.x < 0.7)) and (vel.y > -0.7)) and (vel.y < 0.7)) and ((pos.y + radius) > 399)) {
if (bouncing) {
bouncing = false;
mouseSymbol.gotoAndStop(1);
ball.arrowButton.useHandCursor = true;
Mouse.hide();
Mouse.show();
}
} else if ((!bouncing) and (!dragging)) {
bouncing = true;
mouseSymbol.gotoAndStop(2);
ball.arrowButton.useHandCursor = false;
Mouse.hide();
Mouse.show();
}
if (!dragging) {
vel.y = vel.y + gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
if ((pos.y + radius) > 400) {
pos.y = 400 - radius;
vel.y = vel.y * (-restitution);
vel.x = vel.x * friction;
if (vel.y < -2) {
fg.sounds.jump.play();
ball.play();
}
}
if ((pos.y - radius) < 0) {
fg.sounds.jump.play();
pos.y = 0 + radius;
vel.y = vel.y * (-restitution);
vel.x = vel.x * friction;
ball.play();
}
if ((pos.x + radius) > 640) {
fg.sounds.jump.play();
pos.x = 640 - radius;
vel.x = vel.x * (-restitution);
ball.play();
}
if (pos.x < (0 + radius)) {
fg.sounds.jump.play();
pos.x = 0 + radius;
vel.x = vel.x * (-restitution);
ball.play();
}
ball._x = pos.x;
ball._y = pos.y;
} else {
ballEndX = _xmouse;
ballEndY = _ymouse;
ball._x = ball._x + ((ballEndX - ball._x) / 3);
ball._y = ball._y + ((ballEndY - ball._y) / 3);
old.x = pos.x;
old.y = pos.y;
pos.x = ball._x;
pos.y = ball._y;
vel.x = (pos.x - old.x) / 2;
vel.y = (pos.y - old.y) / 2;
}
if ((((_xmouse < 0) or (_xmouse > 640)) or (_ymouse < 0)) or (_ymouse > 400)) {
dragging = false;
}
if ((ball._y + radius) > 400) {
ball._y = 400 - radius;
}
if ((ball._y - radius) < 0) {
ball._y = 0 + radius;
}
if ((ball._x + radius) > 640) {
ball._x = 640 - radius;
}
if (ball._x < (0 + radius)) {
ball._x = 0 + radius;
}
} else {
passedOrPaused();
}
};
Frame 24
stop();
setup();
arrowButtonAnim.onRelease = function () {
};
arrowButtonAnim.useHandCursor = true;
arrowButtonAnim._visible = false;
i = 0;
while (i < 6) {
_global.myRoot["cat" + i].onRelease = function () {
};
_global.myRoot["cat" + i].useHandCursor = true;
i++;
}
pos = new Array();
pos[0] = {x:180, y:230};
pos[1] = {x:320, y:230};
pos[2] = {x:460, y:230};
pos[3] = {x:180, y:390};
pos[4] = {x:320, y:390};
pos[5] = {x:460, y:390};
i = 0;
while (i < 6) {
j = Math.floor(Math.random() * pos.length);
_global.myRoot["cat" + i]._x = pos[j].x;
_global.myRoot["cat" + i]._y = pos[j].y;
pos.splice(j, 1);
i++;
}
catsClicked = 0;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
trace(catsClicked);
if (pressed) {
if (pressCounter == 1) {
i = 0;
while (i < 6) {
if (catsClicked < 6) {
if (_global.myRoot["cat" + i].hitTest(_xmouse, _ymouse, true)) {
if (_global.myRoot["cat" + i].cat._currentframe == 1) {
_global.myRoot["cat" + i].cat.play();
fg.sounds.meaw.play();
if (catsClicked == 0) {
if (i == 0) {
catsClicked = 1;
} else {
catsClicked = 0;
fg.sounds.buzzer.play();
}
} else if (catsClicked == 1) {
if (i == 1) {
catsClicked = 2;
} else {
catsClicked = 0;
fg.sounds.buzzer.play();
}
} else if (catsClicked == 2) {
if (i == 2) {
catsClicked = 3;
} else {
catsClicked = 0;
fg.sounds.buzzer.play();
}
} else if (catsClicked == 3) {
if (i == 3) {
catsClicked = 4;
} else {
catsClicked = 0;
fg.sounds.buzzer.play();
}
} else if (catsClicked == 4) {
if (i == 4) {
catsClicked = 5;
} else {
catsClicked = 0;
fg.sounds.buzzer.play();
}
} else if (catsClicked == 5) {
if (i == 5) {
catsClicked = 6;
lastCat = i;
} else {
catsClicked = 0;
fg.sounds.buzzer.play();
}
}
}
}
}
i++;
}
if (arrowButtonAnim._visible) {
if (arrowButtonAnim.hitTest(_xmouse, _ymouse, true)) {
if (arrowButtonAnim.arrowButton._currentframe == 1) {
arrowButtonAnim.arrowButton.play();
levelPassed = true;
}
}
}
}
}
if (catsClicked == 6) {
if (arrowButtonAnim._currentframe == 1) {
arrowButtonAnim._x = _global.myRoot["cat" + lastCat]._x;
arrowButtonAnim._y = _global.myRoot["cat" + lastCat]._y;
arrowButtonAnim._visible = true;
arrowButtonAnim.play();
}
i = 0;
while (i < 6) {
_global.myRoot["cat" + i].useHandCursor = false;
i++;
}
}
} else {
passedOrPaused();
}
};
Frame 25
stop();
setup();
arrowButton.onRelease = function () {
};
arrowButton.useHandCursor = true;
arrowButton._visible = false;
allEyesOpen = false;
i = 0;
while (i < 5) {
_global.myRoot.monster["eye" + i].gotoAndStop(2);
_global.myRoot.monster["eye" + i].onRelease = function () {
};
_global.myRoot.monster["eye" + i].useHandCursor = true;
i++;
}
onEnterFrame = function () {
game();
if (((((monster.eye0._currentframe == 1) and (monster.eye1._currentframe == 1)) and (monster.eye2._currentframe == 1)) and (monster.eye3._currentframe == 1)) and (monster.eye4._currentframe == 1)) {
allEyesOpen = true;
arrowButton._visible = true;
i = 0;
while (i < 5) {
_global.myRoot.monster["eye" + i].useHandCursor = false;
i++;
}
if (monster._y > -200) {
monster._y = monster._y - 5;
}
}
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
i = 0;
while (i < 6) {
if (!allEyesOpen) {
if (_global.myRoot.monster["eye" + i].hitTest(_xmouse, _ymouse, true)) {
if (i == 0) {
fg.sounds.blip.play();
_global.myRoot.monster.eye1.play();
}
if (i == 1) {
fg.sounds.blip.play();
_global.myRoot.monster.eye3.play();
}
if (i == 2) {
fg.sounds.blip.play();
_global.myRoot.monster.eye4.play();
}
if (i == 3) {
fg.sounds.blip.play();
_global.myRoot.monster.eye2.play();
_global.myRoot.monster.eye4.play();
}
if (i == 4) {
_global.myRoot.monster.eye2.play();
_global.myRoot.monster.eye0.play();
}
}
}
i++;
}
if (arrowButton.hitTest(_xmouse, _ymouse, true) and arrowButton._visible) {
if (arrowButton._currentframe == 1) {
arrowButton.play();
levelPassed = true;
}
}
}
}
} else {
passedOrPaused();
}
};
Frame 26
stop();
setup();
arrowButton.onRelease = function () {
};
arrowButton.useHandCursor = true;
arrowButton._visible = false;
i = 0;
while (i < 4) {
_global.myRoot["piece" + i].onRelease = function () {
};
_global.myRoot["piece" + i].useHandCursor = true;
_global.myRoot["piece" + i]._visible = true;
i++;
}
connected = false;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
i = 0;
while (i < 4) {
if (!connected) {
if (_global.myRoot["piece" + i].hitTest(_xmouse, _ymouse, true)) {
if (_global.myRoot["piece" + i]._currentframe == 1) {
fg.sounds.blip.play();
_global.myRoot["piece" + i].play();
}
}
}
i++;
}
if (arrowButton._visible) {
if (arrowButton.hitTest(_xmouse, _ymouse, true)) {
if (arrowButton._currentframe == 1) {
arrowButton.play();
arrowButton.useHandCursor = false;
levelPassed = true;
}
}
}
}
}
if (((piece0.hitTest(middle) and piece1.hitTest(middle)) and piece2.hitTest(middle)) and piece3.hitTest(middle)) {
connected = true;
i = 0;
while (i < 4) {
_global.myRoot["piece" + i]._visible = false;
arrowButton._visible = true;
i++;
}
}
} else {
passedOrPaused();
}
};
Frame 27
stop();
setup();
cloud.onRelease = function () {
};
cloud.useHandCursor = true;
humpty.onRelease = function () {
};
humpty.useHandCursor = true;
arrowButtonAnim.onRelease = function () {
};
arrowButtonAnim.useHandCursor = true;
arrowButtonAnim._visible = false;
draggingCloud = false;
humptyCounter = 20;
humptyMovingR = false;
humptyMovingL = false;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (sun.hitTest(cloud._x, cloud._y, true)) {
if (humpty.sunnies._currentframe == 1) {
humpty.sunnies.gotoAndStop(2);
}
} else if (humpty.sunnies._currentframe == 2) {
humpty.sunnies.gotoAndStop(1);
}
if (pressed) {
if (pressCounter == 1) {
if (cloud.hitTest(_xmouse, _ymouse, true)) {
draggingCloud = true;
}
if (humpty.hitTest(_xmouse, _ymouse, true)) {
if (humpty._currentframe == 1) {
fg.sounds.jump.play();
humpty.play();
}
}
if (humpty.sunnies._currentframe == 2) {
if (humpty.eyeR.hitTest(_xmouse, _ymouse, true)) {
if (humpty._currentframe == 1) {
fg.sounds.jump.play();
humpty.play();
humpty.eyeR.play();
humptyMovingL = true;
}
}
if (humpty.eyeL.hitTest(_xmouse, _ymouse, true)) {
if (humpty._currentframe == 1) {
fg.sounds.jump.play();
humpty.play();
humpty.eyeL.play();
humptyMovingR = true;
}
}
}
if (arrowButtonAnim._visible) {
if (arrowButtonAnim.hitTest(_xmouse, _ymouse, true)) {
if (arrowButtonAnim.arrowButton._currentframe == 1) {
arrowButtonAnim.arrowButton.play();
levelPassed = true;
}
}
}
}
} else {
draggingCloud = false;
}
if (draggingCloud) {
cloud._x = _xmouse;
}
if ((cloud._x - (cloud._width / 2)) < 0) {
cloud._x = 0 + (cloud._width / 2);
}
if ((cloud._x + (cloud._width / 2)) > 640) {
cloud._x = 640 - (cloud._width / 2);
}
if (humptyMovingR) {
if (humptyCounter > 0) {
humptyCounter--;
humpty._x++;
} else {
humptyCounter = 20;
humptyMovingR = false;
}
if (humpty._x > 460) {
if (humpty._currentframe == 15) {
fg.sounds.shatter.play();
humpty.gotoAndPlay(23);
humpty.sunnies.gotoAndStop(3);
humpty.useHandCursor = false;
}
}
}
if (humptyMovingL) {
if (humptyCounter > 0) {
humptyCounter--;
humpty._x--;
} else {
humptyCounter = 20;
humptyMovingL = false;
}
if (humpty._x < 170) {
if (humpty._currentframe == 15) {
fg.sounds.shatter.play();
humpty.gotoAndPlay(23);
humpty.sunnies.gotoAndStop(3);
humpty.useHandCursor = false;
}
}
}
if (humpty._currentframe > 35) {
if (arrowButtonAnim._currentframe == 1) {
arrowButtonAnim._x = humpty._x;
arrowButtonAnim._visible = true;
arrowButtonAnim.useHandCursor = true;
arrowButtonAnim.play();
}
}
} else {
passedOrPaused();
}
};
Frame 28
stop();
setup();
i = 0;
while (i < 4) {
_global.myRoot["bottle" + i].onRelease = function () {
};
_global.myRoot["bottle" + i].useHandCursor = true;
_global.myRoot["bottle" + i]._visible = true;
i++;
}
arrowButtonAnim.onRelease = function () {
};
arrowButtonAnim.useHandCursor = true;
arrowButtonAnim._visible = false;
bottle0.gotoAndStop(4);
bottle1.gotoAndStop(3);
bottle2.gotoAndStop(2);
bottle3.gotoAndStop(1);
happy = false;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
i = 0;
while (i < 4) {
if (!happy) {
if (_global.myRoot["bottle" + i].hitTest(_xmouse, _ymouse, true)) {
fg.sounds.blip.play();
_global.myRoot["bottle" + i].play();
_global.myRoot["bottle" + i].bottle.play();
_global.myRoot[("bottle" + i) + "reflection"].play();
_global.myRoot[("bottle" + i) + "reflection"].bottle.play();
lastClicked = i;
}
}
if (arrowButtonAnim._visible) {
if (arrowButtonAnim.hitTest(_xmouse, _ymouse, true)) {
if (arrowButtonAnim.arrowButton._currentframe == 1) {
arrowButtonAnim.arrowButton.play();
levelPassed = true;
}
}
}
i++;
}
}
}
if (!happy) {
if ((((bottle0._currentframe == 1) and (bottle1._currentframe == 2)) and (bottle2._currentframe == 3)) and (bottle3._currentframe == 4)) {
happy = true;
_global.myRoot["bottle" + lastClicked].bottle.gotoAndPlay(16);
fg.sounds.pop.play();
arrowButtonAnim._x = _global.myRoot["bottle" + lastClicked]._x;
arrowButtonAnim._visible = true;
arrowButtonAnim.play();
i = 0;
while (i < 4) {
_global.myRoot["bottle" + i].useHandCursor = false;
i++;
}
}
}
} else {
passedOrPaused();
}
};
Frame 29
stop();
setup();
ball.onRelease = function () {
};
ball.useHandCursor = true;
arrowButtonAnim.onRelease = function () {
};
arrowButtonAnim.useHandCursor = true;
arrowButtonAnim._visible = false;
speed = 8;
jump = 25;
fall = 2;
boulders = 15;
penguinHit = false;
allJumped = false;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if ((!jumping) and (!allJumped)) {
fg.sounds.jump.play();
jumping = true;
}
if (arrowButtonAnim._visible) {
if (arrowButtonAnim.hitTest(_xmouse, _ymouse, true)) {
if (arrowButtonAnim.arrowButton._currentframe == 1) {
arrowButtonAnim.arrowButton.play();
levelPassed = true;
pressed = false;
}
}
}
}
}
if (ball.hitTest(boulder.boulderAnim.boulder)) {
if (!penguinHit) {
fg.sounds.buzzer.play();
penguinHit = true;
boulders = 15;
ball._alpha = 25;
shaking = true;
shakeCount = 10;
}
}
if (ball._alpha < 100) {
ball._alpha = ball._alpha + 5;
} else {
ball._alpha = 100;
}
if (boulders > 0) {
if (boulder.boulderAnim._currentframe == boulder.boulderAnim._totalframes) {
boulder.gotoAndStop(random(3));
if (!penguinHit) {
boulders = boulders - 1;
}
penguinHit = false;
}
} else {
boulders = 0;
}
bouldersText = boulders + "x";
endX = _global.myRoot._xmouse;
endY = _global.myRoot._ymouse;
ball._x = ball._x + ((endX - ball._x) / speed);
ball._rotation = ball._rotation + ((endX - ball._x) / speed);
ballShadow._x = ball._x;
if (jumping) {
ball._y = ball._y - jump;
jump = jump * 0.85;
}
if (jump < 1) {
ball._y = ball._y + fall;
fall = fall * 1.15;
}
if (ball._y > 370) {
ball._y = 370;
jump = 25;
fall = 2;
jumping = false;
}
if (boulders == 0) {
allJumped = true;
boulder.gotoAndStop(3);
if (arrowButtonAnim._currentframe == 1) {
arrowButtonAnim._visible = true;
arrowButtonAnim.play();
}
}
} else {
passedOrPaused();
}
};
Frame 30
stopAllSounds();
totalClicks = clicks;
clicksText = totalClicks + " clicks!";
if (totalClicks > 600) {
ranks.gotoAndStop(4);
}
if ((totalClicks > 400) and (totalClicks <= 600)) {
ranks.gotoAndStop(1);
}
if ((totalClicks > 200) and (totalClicks <= 400)) {
ranks.gotoAndStop(2);
}
if (totalClicks <= 200) {
ranks.gotoAndStop(3);
}
menu = false;
buttonMenu.onPress = function () {
menu = true;
submit = false;
fg.play();
};
buttonSubmit.onPress = function () {
menu = false;
submit = true;
fg.play();
};
buttonLink.onRelease = function () {
getURL ("http://www.armorgames.com", "_blank");
};
fg.speaker.onRelease = function () {
if (sound) {
sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
sound = true;
_global.myRoot.globalSound.setVolume(100);
}
};
fg.cog.onRelease = function () {
if (_quality == "HIGH") {
prev = "HIGH";
_quality = "MEDIUM";
} else if ((_quality == "MEDIUM") && (prev == "HIGH")) {
_quality = "LOW";
} else if ((_quality == "MEDIUM") && (prev == "LOW")) {
_quality = "HIGH";
} else if (_quality == "LOW") {
_quality = "MEDIUM";
prev = "LOW";
}
};
onEnterFrame = function () {
if (sound) {
fg.speaker.gotoAndStop("on");
} else {
fg.speaker.gotoAndStop("off");
}
if (fg._currentframe == fg._totalframes) {
if (menu) {
gotoAndPlay ("menu");
}
if (submit) {
gotoAndStop ("submit");
}
}
};
Frame 31
stop();
Frame 32
stop();
menu = false;
buttonMenu.onPress = function () {
menu = true;
fg.play();
};
buttonLink.onRelease = function () {
getURL ("http://www.ninjadoodle.com/", "_blank");
};
fg.speaker.onRelease = function () {
if (sound) {
sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
sound = true;
_global.myRoot.globalSound.setVolume(100);
}
};
fg.cog.onRelease = function () {
if (_quality == "HIGH") {
prev = "HIGH";
_quality = "MEDIUM";
} else if ((_quality == "MEDIUM") && (prev == "HIGH")) {
_quality = "LOW";
} else if ((_quality == "MEDIUM") && (prev == "LOW")) {
_quality = "HIGH";
} else if (_quality == "LOW") {
_quality = "MEDIUM";
prev = "LOW";
}
};
onEnterFrame = function () {
if (sound) {
fg.speaker.gotoAndStop("on");
} else {
fg.speaker.gotoAndStop("off");
}
if (fg._currentframe == fg._totalframes) {
if (menu) {
gotoAndPlay ("menu");
}
}
};
Frame 33
stop();
menu = false;
buttonMenu.onPress = function () {
menu = true;
fg.play();
};
buttonLink.onRelease = function () {
getURL ("http://www.ninjadoodle.com/", "_blank");
};
fg.speaker.onRelease = function () {
if (sound) {
sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
sound = true;
_global.myRoot.globalSound.setVolume(100);
}
};
fg.cog.onRelease = function () {
if (_quality == "HIGH") {
prev = "HIGH";
_quality = "MEDIUM";
} else if ((_quality == "MEDIUM") && (prev == "HIGH")) {
_quality = "LOW";
} else if ((_quality == "MEDIUM") && (prev == "LOW")) {
_quality = "HIGH";
} else if (_quality == "LOW") {
_quality = "MEDIUM";
prev = "LOW";
}
};
onEnterFrame = function () {
if (sound) {
fg.speaker.gotoAndStop("on");
} else {
fg.speaker.gotoAndStop("off");
}
if (fg._currentframe == fg._totalframes) {
if (menu) {
gotoAndPlay ("menu");
}
}
};
Symbol 4 MovieClip [explosion] Frame 51
stop();
this.removeMovieClip();
Symbol 28 Button
on (press) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 31 MovieClip Frame 1
_root.stop();
gotoAndPlay (2);
Symbol 31 MovieClip Frame 218
_global.myRoot.play();
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 2
stop();
Symbol 71 MovieClip Frame 3
stop();
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 2
stop();
Symbol 76 MovieClip Frame 3
stop();
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 2
stop();
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 2
stop();
Symbol 96 MovieClip Frame 3
stop();
Symbol 100 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 2
play();
Symbol 100 MovieClip Frame 11
gotoAndStop (1);
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 2
play();
Symbol 103 MovieClip Frame 11
gotoAndStop (1);
Symbol 106 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 2
play();
Symbol 106 MovieClip Frame 11
gotoAndStop (1);
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 2
play();
Symbol 109 MovieClip Frame 11
gotoAndStop (1);
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 2
play();
Symbol 112 MovieClip Frame 11
gotoAndStop (1);
Symbol 115 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 2
play();
Symbol 115 MovieClip Frame 11
gotoAndStop (1);
Symbol 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 2
play();
Symbol 118 MovieClip Frame 11
gotoAndStop (1);
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 2
play();
Symbol 121 MovieClip Frame 11
gotoAndStop (1);
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 2
play();
Symbol 124 MovieClip Frame 11
gotoAndStop (1);
Symbol 127 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 2
play();
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 2
play();
Symbol 133 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 2
play();
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 2
play();
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 2
play();
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 2
play();
Symbol 145 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 2
play();
Symbol 148 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 2
play();
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 2
play();
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 2
play();
Symbol 157 MovieClip Frame 1
stop();
Symbol 157 MovieClip Frame 2
play();
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 2
play();
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 2
play();
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 2
stop();
Symbol 169 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 2
play();
Symbol 172 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 2
play();
Symbol 178 MovieClip Frame 1
play();
Symbol 178 MovieClip Frame 11
stop();
Symbol 178 MovieClip Frame 12
play();
Symbol 204 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 2
play();
Symbol 204 MovieClip Frame 6
stop();
Symbol 212 MovieClip Frame 1
stop();
Instance of Symbol 210 MovieClip in Symbol 212 MovieClip Frame 1
on (press) {
}
Symbol 212 MovieClip Frame 2
stop();
Symbol 217 Button
on (press) {
_global.myRoot.gamePaused = false;
_global.myRoot.fg.pauseGame.play();
_global.myRoot.fg.pausedMenu.play();
}
Symbol 220 Button
on (press) {
_global.myRoot.quit = true;
}
Symbol 222 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 2
play();
Symbol 222 MovieClip Frame 10
stop();
Symbol 222 MovieClip Frame 11
play();
Symbol 223 MovieClip Frame 1
play();
Symbol 223 MovieClip Frame 11
stop();
Symbol 223 MovieClip Frame 12
play();
Symbol 248 MovieClip Frame 1
stop();
Instance of Symbol 229 MovieClip in Symbol 248 MovieClip Frame 1
on (press) {
}
Symbol 248 MovieClip Frame 2
play();
Symbol 248 MovieClip Frame 21
stop();
Symbol 248 MovieClip Frame 22
play();
Symbol 260 MovieClip Frame 1
stop();
Instance of Symbol 229 MovieClip in Symbol 260 MovieClip Frame 1
on (press) {
}
Symbol 260 MovieClip Frame 2
play();
Symbol 260 MovieClip Frame 21
stop();
Symbol 260 MovieClip Frame 22
play();
Symbol 261 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 2
stop();
Symbol 267 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 2
play();
Symbol 267 MovieClip Frame 40
stop();
Symbol 284 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 2
play();
Symbol 284 MovieClip Frame 4
stop();
Symbol 287 MovieClip Frame 1
stop();
Symbol 287 MovieClip Frame 2
play();
Symbol 287 MovieClip Frame 90
stop();
Symbol 289 MovieClip Frame 1
stop();
Symbol 289 MovieClip Frame 2
play();
Symbol 289 MovieClip Frame 90
stop();
Symbol 300 MovieClip Frame 40
stop();
Symbol 301 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 2
stop();
Symbol 301 MovieClip Frame 3
stop();
Symbol 306 MovieClip Frame 1
stop();
Instance of Symbol 305 MovieClip in Symbol 306 MovieClip Frame 1
on (press) {
}
Symbol 306 MovieClip Frame 2
play();
Symbol 306 MovieClip Frame 6
stop();
Symbol 333 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 2
stop();
Symbol 333 MovieClip Frame 3
stop();
Symbol 333 MovieClip Frame 4
stop();
Symbol 334 MovieClip Frame 1
stop();
Symbol 339 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 1
stop();
Symbol 345 MovieClip Frame 1
stop();
Symbol 346 MovieClip Frame 1
stop();
Symbol 346 MovieClip Frame 2
play();
Symbol 346 MovieClip Frame 14
stop();
Symbol 359 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 2
stop();
Symbol 359 MovieClip Frame 3
stop();
Symbol 359 MovieClip Frame 4
stop();
Symbol 359 MovieClip Frame 5
stop();
Symbol 363 MovieClip Frame 1
stop();
Symbol 363 MovieClip Frame 2
stop();
Symbol 363 MovieClip Frame 3
stop();
Symbol 363 MovieClip Frame 4
stop();
Symbol 363 MovieClip Frame 5
stop();
Symbol 363 MovieClip Frame 6
stop();
Symbol 363 MovieClip Frame 7
stop();
Symbol 363 MovieClip Frame 8
stop();
Symbol 383 MovieClip Frame 1
stop();
Symbol 383 MovieClip Frame 2
play();
Symbol 383 MovieClip Frame 10
stop();
Symbol 386 MovieClip Frame 1
stop();
Symbol 386 MovieClip Frame 2
play();
Symbol 386 MovieClip Frame 10
stop();
Symbol 390 MovieClip Frame 1
stop();
Symbol 390 MovieClip Frame 2
stop();
Symbol 391 MovieClip Frame 1
stop();
Symbol 391 MovieClip Frame 2
stop();
Symbol 392 MovieClip Frame 1
stop();
Symbol 392 MovieClip Frame 2
stop();
Symbol 394 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 2
stop();
Symbol 396 MovieClip Frame 1
stop();
Symbol 396 MovieClip Frame 2
stop();
Symbol 396 MovieClip Frame 3
play();
Symbol 396 MovieClip Frame 7
stop();
Symbol 402 MovieClip Frame 1
stop();
Symbol 402 MovieClip Frame 2
play();
Symbol 402 MovieClip Frame 30
stop();
Symbol 406 MovieClip Frame 1
stop();
Symbol 406 MovieClip Frame 91
play();
Symbol 406 MovieClip Frame 120
stop();
Symbol 430 MovieClip Frame 1
stop();
Symbol 430 MovieClip Frame 2
play();
Symbol 431 MovieClip Frame 1
stop();
Symbol 431 MovieClip Frame 2
play();
Symbol 431 MovieClip Frame 60
stop();
Symbol 472 MovieClip Frame 1
stop();
Symbol 472 MovieClip Frame 2
play();
Symbol 472 MovieClip Frame 10
stop();
Symbol 493 MovieClip Frame 1
stop();
Symbol 493 MovieClip Frame 2
play();
Symbol 493 MovieClip Frame 30
stop();
Symbol 509 MovieClip Frame 1
stop();
Symbol 509 MovieClip Frame 2
play();
Symbol 509 MovieClip Frame 435
stop();
Symbol 516 MovieClip Frame 1
stop();
Instance of Symbol 514 MovieClip "hitmap" in Symbol 516 MovieClip Frame 1
on (press) {
}
Symbol 516 MovieClip Frame 2
stop();
Symbol 518 MovieClip Frame 1
stop();
Instance of Symbol 514 MovieClip "hitmap" in Symbol 518 MovieClip Frame 1
on (press) {
}
Symbol 518 MovieClip Frame 2
stop();
Symbol 523 MovieClip Frame 1
stop();
Symbol 523 MovieClip Frame 2
stop();
Symbol 527 MovieClip Frame 1
stop();
Symbol 527 MovieClip Frame 2
play();
Instance of Symbol 203 MovieClip in Symbol 527 MovieClip Frame 2
on (press) {
}
Symbol 527 MovieClip Frame 10
stop();
Symbol 527 MovieClip Frame 11
play();
Symbol 527 MovieClip Frame 15
stop();
Symbol 544 MovieClip Frame 1
stop();
Symbol 544 MovieClip Frame 2
play();
Symbol 544 MovieClip Frame 6
stop();
Symbol 545 MovieClip Frame 1
stop();
Symbol 545 MovieClip Frame 2
play();
Symbol 545 MovieClip Frame 5
stop();
Symbol 561 MovieClip Frame 1
stop();
Symbol 561 MovieClip Frame 2
play();
Symbol 566 MovieClip Frame 1
play();
Symbol 566 MovieClip Frame 40
stop();
Symbol 574 MovieClip Frame 1
stop();
Symbol 574 MovieClip Frame 2
play();
Symbol 574 MovieClip Frame 18
stop();
Symbol 581 MovieClip Frame 1
stop();
Symbol 581 MovieClip Frame 2
stop();
Symbol 587 MovieClip Frame 1
stop();
Symbol 587 MovieClip Frame 2
stop();
Symbol 625 MovieClip Frame 1
stop();
Symbol 625 MovieClip Frame 2
play();
Symbol 625 MovieClip Frame 10
stop();
Symbol 625 MovieClip Frame 11
play();
Symbol 625 MovieClip Frame 20
stop();
Symbol 627 MovieClip Frame 1
stop();
Symbol 627 MovieClip Frame 2
play();
Symbol 627 MovieClip Frame 10
stop();
Symbol 627 MovieClip Frame 11
play();
Symbol 627 MovieClip Frame 19
stop();
Symbol 627 MovieClip Frame 20
play();
Symbol 627 MovieClip Frame 29
stop();
Symbol 629 MovieClip Frame 1
stop();
Symbol 629 MovieClip Frame 2
play();
Symbol 629 MovieClip Frame 11
stop();
Symbol 641 MovieClip Frame 1
stop();
Symbol 641 MovieClip Frame 2
stop();
Symbol 645 MovieClip Frame 1
stop();
Symbol 645 MovieClip Frame 2
stop();
Symbol 645 MovieClip Frame 3
stop();
Symbol 645 MovieClip Frame 4
stop();
Symbol 645 MovieClip Frame 5
stop();
Symbol 664 MovieClip Frame 1
stop();
Symbol 664 MovieClip Frame 2
play();
Symbol 672 MovieClip Frame 1
stop();
Symbol 672 MovieClip Frame 2
play();
Symbol 688 MovieClip Frame 1
stop();
Symbol 688 MovieClip Frame 2
play();
Symbol 688 MovieClip Frame 20
stop();
Symbol 700 MovieClip Frame 1
stop();
Symbol 700 MovieClip Frame 2
stop();
Symbol 707 MovieClip Frame 1
stop();
Symbol 707 MovieClip Frame 2
play();
Symbol 710 MovieClip Frame 1
stop();
Symbol 710 MovieClip Frame 2
play();
Symbol 713 MovieClip Frame 1
stop();
Symbol 713 MovieClip Frame 2
play();
Symbol 716 MovieClip Frame 1
stop();
Symbol 716 MovieClip Frame 2
play();
Symbol 735 MovieClip Frame 1
stop();
Symbol 735 MovieClip Frame 2
play();
Symbol 735 MovieClip Frame 20
stop();
Symbol 745 MovieClip Frame 1
stop();
Symbol 745 MovieClip Frame 2
play();
Symbol 748 MovieClip Frame 1
stop();
Symbol 748 MovieClip Frame 2
stop();
Symbol 748 MovieClip Frame 3
stop();
Symbol 755 MovieClip Frame 1
stop();
Symbol 755 MovieClip Frame 2
play();
Symbol 755 MovieClip Frame 22
gotoAndStop (1);
Symbol 755 MovieClip Frame 23
play();
Symbol 755 MovieClip Frame 55
stop();
Symbol 757 MovieClip Frame 1
stop();
Symbol 757 MovieClip Frame 2
play();
Symbol 757 MovieClip Frame 11
stop();
Symbol 767 MovieClip Frame 1
stop();
Symbol 767 MovieClip Frame 2
play();
Symbol 767 MovieClip Frame 15
gotoAndStop (1);
Symbol 767 MovieClip Frame 16
play();
Symbol 767 MovieClip Frame 30
stop();
Symbol 772 MovieClip Frame 1
stop();
Symbol 772 MovieClip Frame 2
stop();
Symbol 772 MovieClip Frame 3
stop();
Symbol 772 MovieClip Frame 4
stop();
Symbol 796 MovieClip Frame 1
stop();
Symbol 796 MovieClip Frame 2
stop();
Symbol 796 MovieClip Frame 3
stop();
Symbol 797 MovieClip Frame 1
stop();
Symbol 797 MovieClip Frame 2
play();
Symbol 797 MovieClip Frame 60
stop();
Symbol 817 MovieClip Frame 1
stop();
Symbol 817 MovieClip Frame 2
stop();
Symbol 817 MovieClip Frame 3
stop();
Symbol 817 MovieClip Frame 4
stop();