Frame 1
Stage.scaleMode = "noScale";
_global.myRoot = this;
_quality = "HIGH";
stopAllSounds();
globalSound = new Sound();
sound = true;
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
stop();
headPick = random(9) + 2;
bodyPick = random(9) + 2;
legsPick = random(9) + 2;
dudeGuide.dudeHolder.head.gotoAndStop(headPick);
dudeGuide.dudeHolder.body.gotoAndStop(bodyPick);
dudeGuide.dudeHolder.legs.gotoAndStop(legsPick);
moveOn = false;
help = false;
scores = false;
credits = false;
buttonPlay.onPress = function () {
stopAllSounds();
moveOn = true;
help = false;
scores = false;
credits = false;
fg.play();
};
buttonHelp.onPress = function () {
moveOn = false;
help = true;
scores = false;
credits = false;
fg.play();
};
buttonScores.onPress = function () {
moveOn = false;
help = false;
scores = true;
credits = false;
fg.play();
};
buttonCredits.onPress = function () {
moveOn = 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 (moveOn) {
stopAllSounds();
play();
}
if (help) {
gotoAndStop ("help");
}
if (scores) {
gotoAndStop ("scores");
}
if (credits) {
gotoAndStop ("credits");
}
}
};
time = 0;
score = 0;
timerOn = true;
countdown = 60;
onMouseDown = function () {
pressed = true;
};
onMouseUp = function () {
pressed = false;
};
setup = function () {
Mouse.show();
player._visible = true;
fg.buttonContinue._visible = false;
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.gotoAndStop(1);
fg.pauseGame.onRelease = function () {
if (fg.pauseGame._currentframe == 1) {
fg.pauseGame.play();
fg.pausedMenu.play();
gamePaused = true;
timerOn = false;
}
};
fg.buttonContinue.onPress = function () {
levelPassed = true;
};
onMouseDown = function () {
pressed = true;
};
onMouseUp = function () {
pressed = false;
};
};
game = function () {
shake();
count();
fg.timeText = "Time: " + time;
if (timerOn) {
if (countdown > 0) {
countdown--;
} else {
time++;
countdown = 60;
}
}
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 (pressed) {
pressCounter++;
} else {
pressCounter = 0;
}
};
passed = function () {
if (!levelPassed) {
fg.sounds.pass.play();
levelPassed = true;
fg.timer.stop();
fg.pass.play();
}
};
rockOn = function () {
if (levelPassed) {
fg.pauseGame.gotoAndStop(2);
if (fg.pass._currentframe == fg.pass._totalframes) {
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 5
stop();
setup();
dragging = false;
dunked = false;
radius = donut._height / 2;
donut.onRelease = function () {
};
donut.useHandCursor = true;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed and (!dunked)) {
if (donut.hitTest(_xmouse, _ymouse, true)) {
dragging = true;
}
} else {
dragging = false;
}
if (!dunked) {
if (dragging) {
donut._y = _ymouse;
}
if ((donut._y - radius) < 0) {
donut._y = radius;
}
if (donut._y > 260) {
dunked = true;
donut._y = 260;
donut.play();
passed();
}
}
} else {
rockOn();
}
};
Frame 6
stop();
setup();
radius = player._height / 2;
xPosPlayer = 140;
yPosPlayer = ground._y - radius;
draggingPlayer = false;
xPosWall = 320;
yPosWall = 350;
draggingWall = false;
player.onRelease = function () {
};
player.useHandCursor = true;
wall.onRelease = function () {
};
wall.useHandCursor = true;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (player.hitTest(_xmouse, _ymouse, true)) {
if (!draggingWall) {
draggingPlayer = true;
}
}
if (wall.hitTest(_xmouse, _ymouse, true)) {
if (!draggingPlayer) {
draggingWall = true;
wallDragY = _ymouse - wall._y;
}
}
}
} else {
draggingPlayer = false;
draggingWall = false;
}
if (draggingPlayer) {
player._alpha = 25;
player._x = _xmouse;
player._y = _ymouse;
} else {
player._alpha = 100;
player._y = yPosPlayer;
}
if (player._y > (350 - radius)) {
player._y = yPosPlayer;
}
if (player._y < (0 + radius)) {
player._y = 0 + radius;
}
if (player._x > (640 - radius)) {
player._x = 640 - radius;
}
if (player._x < (0 + radius)) {
player._x = 0 + radius;
}
if ((((_xmouse < 0) or (_xmouse > 640)) or (_ymouse < 0)) or (_ymouse > 350)) {
draggingPlayer = false;
draggingWall = false;
}
if (draggingWall) {
wall._alpha = 25;
wall._y = _ymouse - wallDragY;
} else {
wall._alpha = 100;
}
if (wall._y > 350) {
wall._y = 350;
}
if (player.hitTest(wall) or ASnative(800, 2) /* [Key] isDown */(2)) {
if (player.hitTest(wall)) {
fg.sounds.fail.play();
}
draggingPlayer = false;
player._x = xPosPlayer;
player._y = yPosPlayer;
draggingWall = false;
wall._x = xPosWall;
wall._y = yPosWall;
}
if (player.hitTest(yang)) {
if (yang._currentframe == 1) {
yang.play();
player._visible = false;
player._x = xPosPlayer;
player._y = yPosPlayer;
passed();
}
}
} else {
rockOn();
}
};
Frame 7
stop();
setup();
headPick = random(9) + 2;
bodyPick = random(9) + 2;
legsPick = random(9) + 2;
dudeGuide.dudeHolder.head.gotoAndStop(headPick);
dudeGuide.dudeHolder.body.gotoAndStop(bodyPick);
dudeGuide.dudeHolder.legs.gotoAndStop(legsPick);
dude.onRelease = function () {
};
dude.useHandCursor = true;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
pressed = false;
if (dude.dudeHolder.head.hitTest(_xmouse, _ymouse, true)) {
dude.dudeHolder.head.play();
}
if ((dude.dudeHolder.body.hitTest(_xmouse, _ymouse, true) and (!dude.dudeHolder.head.hitTest(_xmouse, _ymouse, true))) and (!dude.dudeHolder.legs.hitTest(_xmouse, _ymouse, true))) {
dude.dudeHolder.body.play();
}
if (dude.dudeHolder.legs.hitTest(_xmouse, _ymouse, true)) {
dude.dudeHolder.legs.play();
}
}
}
if (((dude.dudeHolder.body._currentframe == bodyPick) and (dude.dudeHolder.head._currentframe == headPick)) and (dude.dudeHolder.legs._currentframe == legsPick)) {
passed();
}
} else {
rockOn();
}
};
Frame 8
stop();
setup();
i = 0;
while (i < 9) {
_global.myRoot["robot" + i].onRelease = function () {
};
_global.myRoot["robot" + i].useHandCursor = true;
i++;
}
robotFound = false;
chosenRobot = random(9);
_global.myRoot["robot" + chosenRobot].gotoAndStop(2);
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
i = 0;
while (i < 9) {
if (pressed) {
if (pressCounter == 1) {
if (_global.myRoot["robot" + i].hitTest(_xmouse, _ymouse, true)) {
if (i == chosenRobot) {
passed();
} else {
fg.sounds.fail.play();
time = time + 20;
}
}
}
}
if (_global.myRoot["robot" + i].hitTest(_xmouse, _ymouse, true)) {
if (_global.myRoot["robot" + i]._xscale < 110) {
_global.myRoot["robot" + i]._xscale = _global.myRoot["robot" + i]._xscale + 5;
_global.myRoot["robot" + i]._yscale = _global.myRoot["robot" + i]._yscale + 5;
} else {
_global.myRoot["robot" + i]._xscale = 110;
_global.myRoot["robot" + i]._yscale = 110;
}
_global.myRoot["robot" + i].robot.play();
} else if (_global.myRoot["robot" + i]._xscale > 100) {
_global.myRoot["robot" + i]._xscale = _global.myRoot["robot" + i]._xscale - 5;
_global.myRoot["robot" + i]._yscale = _global.myRoot["robot" + i]._yscale - 5;
} else {
_global.myRoot["robot" + i]._xscale = 100;
_global.myRoot["robot" + i]._yscale = 100;
}
i++;
}
} else {
rockOn();
}
};
Frame 9
stop();
setup();
alive = true;
bombs = 0;
stars = 14;
starsCollected = new Array();
i = 0;
while (i < stars) {
starsCollected[i] = false;
_global.myRoot["star" + i].gotoAndStop("start");
i++;
}
totalCollected = 0;
gravity = 0.4;
restitution = 0.7;
friction = 0.9;
xPos = 320;
yPos = 370;
vel = {x:0, y:0};
pos = {x:xPos, y:yPos};
old = {x:player._x, y:player._y};
radius = player._width / 2;
player._x = xPos;
player._y = yPos;
player._alpha = 100;
player.onRelease = function () {
};
player.useHandCursor = true;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
throwsText = throws + " throws";
if (pressed) {
if (pressCounter == 1) {
if (player.hitTest(_xmouse, _ymouse, true)) {
dragging = true;
player.play();
}
}
} else {
dragging = false;
}
if (alive) {
if (!dragging) {
if (player._currentframe == 6) {
player.play();
}
vel.y = vel.y + gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
if ((pos.y + radius) > 450) {
pos.y = 450 - radius;
vel.y = vel.y * (-restitution);
vel.x = vel.x * friction;
if (vel.y < -2) {
fg.sounds.jump.play();
}
}
if ((pos.y - radius) < 0) {
fg.sounds.jump.play();
pos.y = 0 + radius;
vel.y = vel.y * (-restitution);
vel.x = vel.x * friction;
}
if ((pos.x + radius) > 640) {
fg.sounds.jump.play();
pos.x = 640 - radius;
vel.x = vel.x * (-restitution);
}
if (pos.x < (0 + radius)) {
fg.sounds.jump.play();
pos.x = 0 + radius;
vel.x = vel.x * (-restitution);
}
player._x = pos.x;
player._y = pos.y;
} else {
playerEndX = _xmouse;
playerEndY = _ymouse;
player._x = player._x + ((playerEndX - player._x) / 3);
player._y = player._y + ((playerEndY - player._y) / 3);
old.x = pos.x;
old.y = pos.y;
pos.x = player._x;
pos.y = player._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 > 450)) {
dragging = false;
}
if ((player._y + radius) > 450) {
player._y = 450 - radius;
}
if (_ymouse > 450) {
dragging = false;
}
if ((player._y - radius) < 0) {
player._y = 0 + radius;
dragging = false;
}
if ((player._x + radius) > 640) {
player._x = 640 - radius;
dragging = false;
}
if (player._x < (0 + radius)) {
player._x = 0 + radius;
dragging = false;
}
i = 0;
while (i < stars) {
if (!dragging) {
if (_global.myRoot["star" + i].hitTest(player)) {
if (_global.myRoot["star" + i]._currentframe == 1) {
_global.myRoot["star" + i].play();
starsCollected[i] = true;
totalCollected++;
}
}
}
i++;
}
i = 0;
while (i < bombs) {
if (!dragging) {
if (_global.myRoot["bomb" + i].hitTest(player)) {
if (_global.myRoot["bomb" + i]._currentframe == 1) {
fg.sounds.explosionA.play();
_global.myRoot["bomb" + i].play();
player._visible = false;
bombTouched = i;
alive = false;
}
}
}
if (_global.myRoot["bomb" + i]._currentframe == _global.myRoot["bomb" + i]._totalframes) {
_global.myRoot["bomb" + i].gotoAndStop("start");
player._visible = true;
alive = true;
vel = {x:0, y:0};
pos = {x:xPos, y:yPos};
old = {x:player._x, y:player._y};
radius = player._width / 2;
player._x = xPos;
player._y = yPos;
i = 0;
while (i < stars) {
starsCollected[i] = false;
_global.myRoot["star" + i].gotoAndStop("start");
i++;
}
totalCollected = 0;
}
i++;
}
if (totalCollected == stars) {
if (player._alpha > 0) {
player._alpha = player._alpha - 5;
} else {
player._alpha = 0;
passed();
}
}
} else {
rockOn();
}
};
Frame 10
stop();
setup();
shuriken.onRelease = function () {
};
shuriken.useHandCursor = true;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (((shuriken.shurikenHolder.starOuter.hitTest(_xmouse, _ymouse, true) and (!shuriken.shurikenHolder.starInner.hitTest(_xmouse, _ymouse, true))) and (!shuriken.shurikenHolder.circleOuter.hitTest(_xmouse, _ymouse, true))) and (!shuriken.shurikenHolder.circleInner.hitTest(_xmouse, _ymouse, true))) {
shuriken.shurikenHolder.starOuter.play();
}
if (((shuriken.shurikenHolder.starInner.hitTest(_xmouse, _ymouse, true) and shuriken.shurikenHolder.starOuter.hitTest(_xmouse, _ymouse, true)) and (!shuriken.shurikenHolder.circleOuter.hitTest(_xmouse, _ymouse, true))) and (!shuriken.shurikenHolder.circleInner.hitTest(_xmouse, _ymouse, true))) {
shuriken.shurikenHolder.starInner.play();
}
if (((shuriken.shurikenHolder.circleOuter.hitTest(_xmouse, _ymouse, true) and (!shuriken.shurikenHolder.circleInner.hitTest(_xmouse, _ymouse, true))) and shuriken.shurikenHolder.starInner.hitTest(_xmouse, _ymouse, true)) and shuriken.shurikenHolder.starOuter.hitTest(_xmouse, _ymouse, true)) {
shuriken.shurikenHolder.circleOuter.play();
}
if (((shuriken.shurikenHolder.circleInner.hitTest(_xmouse, _ymouse, true) and shuriken.shurikenHolder.circleOuter.hitTest(_xmouse, _ymouse, true)) and shuriken.shurikenHolder.starInner.hitTest(_xmouse, _ymouse, true)) and shuriken.shurikenHolder.starOuter.hitTest(_xmouse, _ymouse, true)) {
shuriken.shurikenHolder.circleInner.play();
}
}
}
if ((((shuriken.shurikenHolder.starOuter._currentframe == 2) and (shuriken.shurikenHolder.starInner._currentframe == 3)) and (shuriken.shurikenHolder.circleOuter._currentframe == 4)) and (shuriken.shurikenHolder.circleInner._currentframe == 1)) {
passed();
}
} else {
rockOn();
}
};
Frame 11
stop();
setup();
radius = player._height / 2;
xPosPlayer = 140;
yPosPlayer = ground._y - radius;
draggingPlayer = false;
xPosWall = 320;
yPosWall = 350;
draggingWall = false;
player.onRelease = function () {
};
player.useHandCursor = true;
wall.onRelease = function () {
};
wall.useHandCursor = true;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (player.hitTest(_xmouse, _ymouse, true)) {
if (!draggingWall) {
draggingPlayer = true;
}
}
if (wall.hitTest(_xmouse, _ymouse, true)) {
if (!draggingPlayer) {
draggingWall = true;
wallDragY = _ymouse - wall._y;
}
}
}
} else {
draggingPlayer = false;
draggingWall = false;
}
if (draggingPlayer) {
player._alpha = 25;
player._x = _xmouse;
player._y = _ymouse;
} else {
player._alpha = 100;
player._y = yPosPlayer;
}
if (player._y > (350 - radius)) {
player._y = yPosPlayer;
}
if (player._y < (0 + radius)) {
player._y = 0 + radius;
}
if (player._x > (640 - radius)) {
player._x = 640 - radius;
}
if (player._x < (0 + radius)) {
player._x = 0 + radius;
}
if ((((_xmouse < 0) or (_xmouse > 640)) or (_ymouse < 0)) or (_ymouse > 350)) {
draggingPlayer = false;
draggingWall = false;
}
if (draggingWall) {
wall._alpha = 25;
wall._x = _xmouse;
wall._y = _ymouse - wallDragY;
} else {
wall._alpha = 100;
wall._y = 350;
}
if (wall._y > 350) {
wall._y = 350;
}
if (player.hitTest(wall) or ASnative(800, 2) /* [Key] isDown */(2)) {
if (player.hitTest(wall)) {
fg.sounds.fail.play();
}
draggingPlayer = false;
player._x = xPosPlayer;
player._y = yPosPlayer;
draggingWall = false;
wall._x = xPosWall;
wall._y = yPosWall;
}
if (player.hitTest(yang)) {
if (yang._currentframe == 1) {
yang.play();
player._visible = false;
player._x = xPosPlayer;
player._y = yPosPlayer;
passed();
}
}
} else {
rockOn();
}
};
Frame 12
stop();
setup();
i = 0;
while (i < 6) {
_global.myRoot["monster" + i].onRelease = function () {
};
_global.myRoot["monster" + i].useHandCursor = true;
i++;
}
chosen = false;
matched = 0;
monsterDone = new Array();
i = 0;
while (i < 6) {
monsterDone[i] = false;
i++;
}
pos = new Array();
pos[0] = 1;
pos[1] = 2;
pos[2] = 3;
pos[3] = 4;
pos[4] = 5;
pos[5] = 6;
i = 0;
while (i < 6) {
j = Math.floor(Math.random() * pos.length);
_global.myRoot["monster" + i].gotoAndStop(pos[j]);
pos.splice(j, 1);
i++;
}
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
i = 0;
while (i < 9) {
if (_global.myRoot["monster" + i].hitTest(_xmouse, _ymouse, true)) {
if (pressed) {
if (pressCounter == 1) {
if ((!chosen) and (_global.myRoot["monster" + i]._alpha == 100)) {
_global.myRoot["monster" + i]._alpha = 50;
chosen = true;
num = i;
} else {
if (_global.myRoot["monster" + num]._currentframe == 1) {
if (_global.myRoot["monster" + i]._currentframe == 2) {
if (!monsterDone[num]) {
monsterDone[num] = true;
}
if (!monsterDone[i]) {
monsterDone[i] = true;
_global.myRoot["monster" + i]._alpha = 50;
}
chosen = false;
} else {
_global.myRoot["monster" + num]._alpha = 100;
_global.myRoot["monster" + i]._alpha = 100;
chosen = false;
}
}
if (_global.myRoot["monster" + num]._currentframe == 2) {
if (_global.myRoot["monster" + i]._currentframe == 1) {
if (!monsterDone[num]) {
monsterDone[num] = true;
}
if (!monsterDone[i]) {
monsterDone[i] = true;
_global.myRoot["monster" + i]._alpha = 50;
}
chosen = false;
} else {
_global.myRoot["monster" + num]._alpha = 100;
_global.myRoot["monster" + i]._alpha = 100;
chosen = false;
}
}
if (_global.myRoot["monster" + num]._currentframe == 3) {
if (_global.myRoot["monster" + i]._currentframe == 4) {
if (!monsterDone[num]) {
monsterDone[num] = true;
}
if (!monsterDone[i]) {
monsterDone[i] = true;
_global.myRoot["monster" + i]._alpha = 50;
}
chosen = false;
} else {
_global.myRoot["monster" + num]._alpha = 100;
_global.myRoot["monster" + i]._alpha = 100;
chosen = false;
}
}
if (_global.myRoot["monster" + num]._currentframe == 4) {
if (_global.myRoot["monster" + i]._currentframe == 3) {
if (!monsterDone[num]) {
monsterDone[num] = true;
}
if (!monsterDone[i]) {
monsterDone[i] = true;
_global.myRoot["monster" + i]._alpha = 50;
}
chosen = false;
} else {
_global.myRoot["monster" + num]._alpha = 100;
_global.myRoot["monster" + i]._alpha = 100;
chosen = false;
}
}
if (_global.myRoot["monster" + num]._currentframe == 5) {
if (_global.myRoot["monster" + i]._currentframe == 6) {
if (!monsterDone[num]) {
monsterDone[num] = true;
}
if (!monsterDone[i]) {
monsterDone[i] = true;
_global.myRoot["monster" + i]._alpha = 50;
}
chosen = false;
} else {
_global.myRoot["monster" + num]._alpha = 100;
_global.myRoot["monster" + i]._alpha = 100;
chosen = false;
}
}
if (_global.myRoot["monster" + num]._currentframe == 6) {
if (_global.myRoot["monster" + i]._currentframe == 5) {
if (!monsterDone[num]) {
monsterDone[num] = true;
}
if (!monsterDone[i]) {
monsterDone[i] = true;
_global.myRoot["monster" + i]._alpha = 50;
}
chosen = false;
} else {
_global.myRoot["monster" + num]._alpha = 100;
_global.myRoot["monster" + i]._alpha = 100;
chosen = false;
}
}
}
}
}
if (_global.myRoot["monster" + i]._xscale < 110) {
_global.myRoot["monster" + i]._xscale = _global.myRoot["monster" + i]._xscale + 5;
_global.myRoot["monster" + i]._yscale = _global.myRoot["monster" + i]._yscale + 5;
} else {
_global.myRoot["monster" + i]._xscale = 110;
_global.myRoot["monster" + i]._yscale = 110;
}
if (_global.myRoot["monster" + i].monster._currentframe == 1) {
_global.myRoot["monster" + i].monster.play();
}
} else {
if (_global.myRoot["monster" + i]._xscale > 100) {
_global.myRoot["monster" + i]._xscale = _global.myRoot["monster" + i]._xscale - 5;
_global.myRoot["monster" + i]._yscale = _global.myRoot["monster" + i]._yscale - 5;
} else {
_global.myRoot["monster" + i]._xscale = 100;
_global.myRoot["monster" + i]._yscale = 100;
}
if (_global.myRoot["monster" + i].monster._currentframe > 1) {
_global.myRoot["monster" + i].monster.play();
}
}
i++;
}
i = 0;
while (i < 6) {
if (monsterDone[i]) {
if (_global.myRoot["monster" + i]._alpha > 0) {
_global.myRoot["monster" + i]._alpha = _global.myRoot["monster" + i]._alpha - 5;
_global.myRoot["monster" + i]._xscale = _global.myRoot["monster" + i]._xscale - 5;
_global.myRoot["monster" + i]._yscale = _global.myRoot["monster" + i]._yscale - 5;
_global.myRoot["monster" + i]._rotation = _global.myRoot["monster" + i]._rotation + 20;
} else {
_global.myRoot["monster" + i]._visible = false;
}
}
i++;
}
if ((((((monster0._visible == false) and (monster1._visible == false)) and (monster2._visible == false)) and (monster3._visible == false)) and (monster4._visible == false)) and (monster5._visible == false)) {
passed();
}
} else {
rockOn();
}
};
Frame 13
stop();
setup();
frame = random(2) + 1;
hint.gotoAndStop(frame);
onEnterFrame = function () {
game();
i = 0;
while (i < 9) {
if (_global.myRoot["tile" + i].hitTest(_xmouse, _ymouse, true)) {
if (_global.myRoot["tile" + i]._xscale < 120) {
_global.myRoot["tile" + i]._xscale = _global.myRoot["tile" + i]._xscale + 5;
_global.myRoot["tile" + i]._yscale = _global.myRoot["tile" + i]._yscale + 5;
} else {
_global.myRoot["tile" + i]._xscale = 120;
_global.myRoot["tile" + i]._yscale = 120;
}
} else if (_global.myRoot["tile" + i]._xscale > 100) {
_global.myRoot["tile" + i]._xscale = _global.myRoot["tile" + i]._xscale - 5;
_global.myRoot["tile" + i]._yscale = _global.myRoot["tile" + i]._yscale - 5;
} else {
_global.myRoot["tile" + i]._xscale = 100;
_global.myRoot["tile" + i]._yscale = 100;
}
i++;
}
if ((!levelPassed) and (!gamePaused)) {
i = 0;
while (i < 9) {
if (pressed) {
if (pressCounter == 1) {
if (_global.myRoot["tile" + i].hitTest(_xmouse, _ymouse, true)) {
_global.myRoot["tile" + i].play();
}
}
}
i++;
}
if (frame == 1) {
if (((tile0._currentframe == 2) and (tile1._currentframe == 3)) and (tile2._currentframe == 4)) {
passed();
}
}
if (frame == 2) {
if (((tile0._currentframe == 4) and (tile1._currentframe == 3)) and (tile2._currentframe == 2)) {
passed();
}
}
} else {
rockOn();
}
};
Frame 14
stop();
setup();
target0._visible = true;
target1._visible = false;
targetShot = new Array();
i = 0;
while (i < 2) {
targetShot[i] = false;
i++;
}
onEnterFrame = function () {
game();
crosshair._x = 320 - (_xmouse - 320);
crosshair._y = 240 - (_ymouse - 240);
if ((!levelPassed) and (!gamePaused)) {
i = 0;
while (i < 2) {
if (_global.myRoot["target" + i].hitTest(crosshair._x, crosshair._y, true)) {
if (targetShot[i] == false) {
if (pressed) {
if (pressCounter == 1) {
if (i == 1) {
if (targetShot[0]) {
fg.sounds.explosionB.play();
targetShot[i] = true;
}
} else {
fg.sounds.explosionB.play();
targetShot[i] = true;
}
_global.myRoot["target" + (i + 1)]._visible = true;
}
}
}
}
if (targetShot[i]) {
if (_global.myRoot["target" + i]._alpha > 0) {
_global.myRoot["target" + i]._alpha = _global.myRoot["target" + i]._alpha - 5;
_global.myRoot["target" + i]._xscale = _global.myRoot["target" + i]._xscale + 5;
_global.myRoot["target" + i]._yscale = _global.myRoot["target" + i]._yscale + 5;
_global.myRoot["target" + i]._rotation = _global.myRoot["target" + i]._rotation + 20;
} else {
_global.myRoot["target" + i]._visible = false;
}
}
i++;
}
if (hitmap.hitTest(crosshair._x, crosshair._y, true) or ASnative(800, 2) /* [Key] isDown */(2)) {
if (!targetShot[1]) {
if (targetShot[0]) {
fg.sounds.fail.play();
}
targetShot[0] = false;
targetShot[1] = false;
target0._alpha = 100;
target0._xscale = 100;
target0._yscale = 100;
target0._rotation = 0;
target1._alpha = 100;
target1._xscale = 100;
target1._yscale = 100;
target1._rotation = 0;
target0._visible = true;
target1._visible = false;
}
}
if (targetShot[0] and targetShot[1]) {
if (target1._visible == false) {
passed();
}
}
} else {
rockOn();
}
};
Frame 15
stop();
setup();
correct = false;
answerA.onPress = function () {
fg.sounds.fail.play();
time = time + 20;
};
answerB.onPress = function () {
correct = true;
};
answerC.onPress = function () {
fg.sounds.fail.play();
time = time + 20;
};
answerD.onPress = function () {
fg.sounds.fail.play();
time = time + 20;
};
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (correct) {
passed();
}
} else {
rockOn();
}
};
Frame 16
stop();
setup();
pooping = false;
bird.onRelease = function () {
};
bird.useHandCursor = true;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (bird.hitTest(_xmouse, _ymouse, true)) {
if ((bird._currentframe == 1) and (square._currentframe == 1)) {
bird.birdLoop.play();
bird.play();
}
if (bird._currentframe > 1) {
if (!pooping) {
poopX = _xmouse;
poopY = _ymouse;
poop._x = poopX;
poop._y = poopY;
pooping = true;
}
}
}
}
}
if (!pooping) {
poop._x = -20;
poop._y = -20;
} else {
poop._y = poop._y + 5;
}
if (poop.hitTest(square.hitmap)) {
if (pooping) {
pooping = false;
square.play();
}
}
if (bird._currentframe == bird._totalframes) {
bird.birdLoop.gotoAndStop(1);
pooping = false;
}
if (square._currentframe == square._totalframes) {
passed();
}
} else {
rockOn();
}
};
Frame 17
stop();
setup();
radius = player._height / 2;
xPosPlayer = 140;
yPosPlayer = ground._y - radius;
draggingPlayer = false;
xPosWall = 320;
yPosWall = 350;
draggingWall = false;
player.onRelease = function () {
};
player.useHandCursor = true;
wall.onRelease = function () {
};
wall.useHandCursor = true;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (player.hitTest(_xmouse, _ymouse, true)) {
if (!draggingWall) {
originalX = _xmouse;
draggingPlayer = true;
}
}
if (wall.hitTest(_xmouse, _ymouse, true)) {
if (!draggingPlayer) {
draggingWall = true;
}
}
}
} else {
draggingPlayer = false;
draggingWall = false;
}
if (draggingPlayer) {
player._alpha = 25;
player._x = _xmouse;
player._y = _ymouse;
} else {
player._alpha = 100;
player._y = yPosPlayer;
}
if ((player._y + radius) > ground._y) {
player._y = ground._y - radius;
}
if (player._y > (350 - radius)) {
player._y = yPosPlayer;
}
if (player._y < (0 + radius)) {
player._y = 0 + radius;
}
if (player._x > (640 - radius)) {
player._x = 640 - radius;
}
if (player._x < (0 + radius)) {
player._x = 0 + radius;
}
if ((((_xmouse < 0) or (_xmouse > 640)) or (_ymouse < 0)) or (_ymouse > 350)) {
draggingPlayer = false;
draggingWall = false;
}
if (draggingWall) {
wall._x = _xmouse;
} else {
wall._alpha = 100;
}
if (player.hitTest(wall)) {
player._x = wall._x - ((wall._width / 2) + radius);
}
if (originalX < wall._x) {
if (player._x > wall._x) {
player._x = wall._x - ((wall._width / 2) + radius);
}
}
if (yang.hitTest(wall) or ASnative(800, 2) /* [Key] isDown */(2)) {
if (yang.hitTest(wall)) {
fg.sounds.fail.play();
}
draggingPlayer = false;
player._x = xPosPlayer;
player._y = yPosPlayer;
draggingWall = false;
wall._x = xPosWall;
wall._y = yPosWall;
}
if ((player._x + radius) < 0) {
player._x = 640 - radius;
}
if (ASnative(800, 2) /* [Key] isDown */(2)) {
if (player.hitTest(wall)) {
fg.sounds.fail.play();
}
draggingPlayer = false;
player._x = xPosPlayer;
player._y = yPosPlayer;
draggingWall = false;
wall._x = xPosWall;
wall._y = yPosWall;
}
if (player.hitTest(yang)) {
if (yang._currentframe == 1) {
yang.play();
player._visible = false;
player._y = pos.x;
player._y = pos.y;
passed();
}
}
} else {
rockOn();
}
};
Frame 18
stop();
setup();
headPick = random(9) + 2;
bodyPick = random(9) + 2;
legsPick = random(9) + 2;
dudeGuide.dudeHolder.head.gotoAndStop(headPick);
dudeGuide.dudeHolder.body.gotoAndStop(bodyPick);
dudeGuide.dudeHolder.legs.gotoAndStop(legsPick);
dude.onRelease = function () {
};
dude.useHandCursor = true;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
pressed = false;
if (dude.dudeHolder.head.hitTest(_xmouse, _ymouse, true)) {
dude.dudeHolder.head.play();
}
if ((dude.dudeHolder.body.hitTest(_xmouse, _ymouse, true) and (!dude.dudeHolder.head.hitTest(_xmouse, _ymouse, true))) and (!dude.dudeHolder.legs.hitTest(_xmouse, _ymouse, true))) {
dude.dudeHolder.body.play();
}
if (dude.dudeHolder.legs.hitTest(_xmouse, _ymouse, true)) {
dude.dudeHolder.legs.play();
}
}
}
if (((dude.dudeHolder.body._currentframe == bodyPick) and (dude.dudeHolder.head._currentframe == headPick)) and (dude.dudeHolder.legs._currentframe == legsPick)) {
passed();
}
} else {
rockOn();
}
};
Frame 19
stop();
setup();
i = 0;
while (i < 9) {
_global.myRoot["robot" + i].onRelease = function () {
};
_global.myRoot["robot" + i].useHandCursor = true;
i++;
}
robotFound = false;
chosenRobot = random(9);
_global.myRoot["robot" + chosenRobot].gotoAndStop(2);
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
i = 0;
while (i < 9) {
if (pressed) {
if (pressCounter == 1) {
if (_global.myRoot["robot" + i].hitTest(_xmouse, _ymouse, true)) {
if (i == chosenRobot) {
passed();
} else {
fg.sounds.fail.play();
time = time + 20;
}
}
}
}
if (_global.myRoot["robot" + i].hitTest(_xmouse, _ymouse, true)) {
if (_global.myRoot["robot" + i]._xscale < 120) {
_global.myRoot["robot" + i]._xscale = _global.myRoot["robot" + i]._xscale + 5;
_global.myRoot["robot" + i]._yscale = _global.myRoot["robot" + i]._yscale + 5;
} else {
_global.myRoot["robot" + i]._xscale = 120;
_global.myRoot["robot" + i]._yscale = 120;
}
_global.myRoot["robot" + i].robot.robotMouth.play();
} else if (_global.myRoot["robot" + i]._xscale > 100) {
_global.myRoot["robot" + i]._xscale = _global.myRoot["robot" + i]._xscale - 5;
_global.myRoot["robot" + i]._yscale = _global.myRoot["robot" + i]._yscale - 5;
} else {
_global.myRoot["robot" + i]._xscale = 100;
_global.myRoot["robot" + i]._yscale = 100;
}
i++;
}
} else {
rockOn();
}
};
Frame 20
stop();
setup();
alive = true;
bombs = 2;
stars = 16;
starsCollected = new Array();
i = 0;
while (i < stars) {
starsCollected[i] = false;
_global.myRoot["star" + i].gotoAndStop("start");
i++;
}
totalCollected = 0;
gravity = 0.4;
restitution = 0.7;
friction = 0.9;
xPos = 320;
yPos = 370;
vel = {x:0, y:0};
pos = {x:xPos, y:yPos};
old = {x:player._x, y:player._y};
radius = player._width / 2;
player._x = xPos;
player._y = yPos;
player._alpha = 100;
player.onRelease = function () {
};
player.useHandCursor = true;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
throwsText = throws + " throws";
if (pressed) {
if (pressCounter == 1) {
if (player.hitTest(_xmouse, _ymouse, true)) {
dragging = true;
player.play();
}
}
} else {
dragging = false;
}
if (alive) {
if (!dragging) {
if (player._currentframe == 6) {
player.play();
}
vel.y = vel.y + gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
if ((pos.y + radius) > 450) {
pos.y = 450 - radius;
vel.y = vel.y * (-restitution);
vel.x = vel.x * friction;
if (vel.y < -2) {
fg.sounds.jump.play();
}
}
if ((pos.y - radius) < 0) {
fg.sounds.jump.play();
pos.y = 0 + radius;
vel.y = vel.y * (-restitution);
vel.x = vel.x * friction;
}
if ((pos.x + radius) > 640) {
fg.sounds.jump.play();
pos.x = 640 - radius;
vel.x = vel.x * (-restitution);
}
if (pos.x < (0 + radius)) {
fg.sounds.jump.play();
pos.x = 0 + radius;
vel.x = vel.x * (-restitution);
}
player._x = pos.x;
player._y = pos.y;
} else {
playerEndX = _xmouse;
playerEndY = _ymouse;
player._x = player._x + ((playerEndX - player._x) / 3);
player._y = player._y + ((playerEndY - player._y) / 3);
old.x = pos.x;
old.y = pos.y;
pos.x = player._x;
pos.y = player._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 > 450)) {
dragging = false;
}
if ((player._y + radius) > 450) {
player._y = 450 - radius;
}
if (_ymouse > 450) {
dragging = false;
}
if ((player._y - radius) < 0) {
player._y = 0 + radius;
dragging = false;
}
if ((player._x + radius) > 640) {
player._x = 640 - radius;
dragging = false;
}
if (player._x < (0 + radius)) {
player._x = 0 + radius;
dragging = false;
}
i = 0;
while (i < stars) {
if (!dragging) {
if (_global.myRoot["star" + i].hitTest(player)) {
if (_global.myRoot["star" + i]._currentframe == 1) {
_global.myRoot["star" + i].play();
starsCollected[i] = true;
totalCollected++;
}
}
}
i++;
}
i = 0;
while (i < bombs) {
if (!dragging) {
if (_global.myRoot["bomb" + i].hitTest(player)) {
if (_global.myRoot["bomb" + i]._currentframe == 1) {
fg.sounds.explosionA.play();
_global.myRoot["bomb" + i].play();
player._visible = false;
bombTouched = i;
alive = false;
}
}
}
if (_global.myRoot["bomb" + i]._currentframe == _global.myRoot["bomb" + i]._totalframes) {
_global.myRoot["bomb" + i].gotoAndStop("start");
player._visible = true;
alive = true;
vel = {x:0, y:0};
pos = {x:xPos, y:yPos};
old = {x:player._x, y:player._y};
radius = player._width / 2;
player._x = xPos;
player._y = yPos;
i = 0;
while (i < stars) {
starsCollected[i] = false;
_global.myRoot["star" + i].gotoAndStop("start");
i++;
}
totalCollected = 0;
}
i++;
}
if (totalCollected == stars) {
if (player._alpha > 0) {
player._alpha = player._alpha - 5;
} else {
player._alpha = 0;
passed();
}
}
} else {
rockOn();
}
};
Frame 21
stop();
setup();
shuriken.onRelease = function () {
};
shuriken.useHandCursor = true;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (((shuriken.shurikenHolder.starOuter.hitTest(_xmouse, _ymouse, true) and (!shuriken.shurikenHolder.starInner.hitTest(_xmouse, _ymouse, true))) and (!shuriken.shurikenHolder.circleOuter.hitTest(_xmouse, _ymouse, true))) and (!shuriken.shurikenHolder.circleInner.hitTest(_xmouse, _ymouse, true))) {
shuriken.shurikenHolder.starOuter.play();
}
if (((shuriken.shurikenHolder.starInner.hitTest(_xmouse, _ymouse, true) and shuriken.shurikenHolder.starOuter.hitTest(_xmouse, _ymouse, true)) and (!shuriken.shurikenHolder.circleOuter.hitTest(_xmouse, _ymouse, true))) and (!shuriken.shurikenHolder.circleInner.hitTest(_xmouse, _ymouse, true))) {
shuriken.shurikenHolder.starInner.play();
}
if (((shuriken.shurikenHolder.circleOuter.hitTest(_xmouse, _ymouse, true) and (!shuriken.shurikenHolder.circleInner.hitTest(_xmouse, _ymouse, true))) and shuriken.shurikenHolder.starInner.hitTest(_xmouse, _ymouse, true)) and shuriken.shurikenHolder.starOuter.hitTest(_xmouse, _ymouse, true)) {
shuriken.shurikenHolder.circleOuter.play();
}
if (((shuriken.shurikenHolder.circleInner.hitTest(_xmouse, _ymouse, true) and shuriken.shurikenHolder.circleOuter.hitTest(_xmouse, _ymouse, true)) and shuriken.shurikenHolder.starInner.hitTest(_xmouse, _ymouse, true)) and shuriken.shurikenHolder.starOuter.hitTest(_xmouse, _ymouse, true)) {
shuriken.shurikenHolder.circleInner.play();
}
}
}
if ((((shuriken.shurikenHolder.starOuter._currentframe == 2) and (shuriken.shurikenHolder.starInner._currentframe == 2)) and (shuriken.shurikenHolder.circleOuter._currentframe == 2)) and (shuriken.shurikenHolder.circleInner._currentframe == 2)) {
passed();
}
} else {
rockOn();
}
};
Frame 22
stop();
setup();
radius = player._height / 2;
xPosPlayer = 140;
yPosPlayer = ground._y - radius;
draggingPlayer = false;
xPosWall = 320;
yPosWall = 350;
draggingWall = false;
player.onRelease = function () {
};
player.useHandCursor = true;
wall.onRelease = function () {
};
wall.useHandCursor = true;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (player.hitTest(_xmouse, _ymouse, true)) {
if (!draggingWall) {
draggingPlayer = true;
}
}
if (wall.hitTest(_xmouse, _ymouse, true)) {
if (!draggingPlayer) {
gravity = 1;
draggingWall = true;
wallDragY = _ymouse - wall._y;
}
}
}
} else {
draggingPlayer = false;
draggingWall = false;
}
if (draggingPlayer) {
player._alpha = 25;
player._x = _xmouse;
player._y = _ymouse;
} else {
player._alpha = 100;
player._y = yPosPlayer;
}
if (player._y > (350 - radius)) {
player._y = yPosPlayer;
}
if (player._y < (0 + radius)) {
player._y = 0 + radius;
}
if (player._x > (640 - radius)) {
player._x = 640 - radius;
}
if (player._x < (0 + radius)) {
player._x = 0 + radius;
}
if ((((_xmouse < 0) or (_xmouse > 640)) or (_ymouse < 0)) or (_ymouse > 350)) {
draggingPlayer = false;
draggingWall = false;
}
if (draggingWall) {
wall._alpha = 25;
wall._y = _ymouse - wallDragY;
} else {
wall._alpha = 100;
if (wall._y < 350) {
wall._y = wall._y + gravity;
gravity = gravity * 1.1;
} else {
wall._y = 350;
gravity = 2;
}
}
if (wall._y > 350) {
wall._y = 350;
}
if (player.hitTest(wall) or ASnative(800, 2) /* [Key] isDown */(2)) {
if (player.hitTest(wall)) {
fg.sounds.fail.play();
}
draggingPlayer = false;
player._x = xPosPlayer;
player._y = yPosPlayer;
draggingWall = false;
wall._x = xPosWall;
wall._y = yPosWall;
}
if (player.hitTest(yang)) {
if (yang._currentframe == 1) {
yang.play();
player._visible = false;
player._x = xPosPlayer;
player._y = yPosPlayer;
passed();
}
}
} else {
rockOn();
}
};
Frame 23
stop();
setup();
i = 0;
while (i < 6) {
_global.myRoot["monster" + i].onRelease = function () {
};
_global.myRoot["monster" + i].useHandCursor = true;
i++;
}
chosen = false;
matched = 0;
monsterDone = new Array();
i = 0;
while (i < 6) {
monsterDone[i] = false;
i++;
}
pos = new Array();
pos[0] = 1;
pos[1] = 2;
pos[2] = 3;
pos[3] = 4;
pos[4] = 5;
pos[5] = 6;
i = 0;
while (i < 6) {
j = Math.floor(Math.random() * pos.length);
_global.myRoot["monster" + i].gotoAndStop(pos[j]);
pos.splice(j, 1);
i++;
}
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
i = 0;
while (i < 9) {
if (_global.myRoot["monster" + i].hitTest(_xmouse, _ymouse, true)) {
if (pressed) {
if (pressCounter == 1) {
if ((!chosen) and (_global.myRoot["monster" + i]._alpha == 100)) {
_global.myRoot["monster" + i]._alpha = 50;
chosen = true;
num = i;
} else {
if (_global.myRoot["monster" + num]._currentframe == 1) {
if (_global.myRoot["monster" + i]._currentframe == 2) {
if (!monsterDone[num]) {
monsterDone[num] = true;
}
if (!monsterDone[i]) {
monsterDone[i] = true;
_global.myRoot["monster" + i]._alpha = 50;
}
chosen = false;
} else {
_global.myRoot["monster" + num]._alpha = 100;
_global.myRoot["monster" + i]._alpha = 100;
chosen = false;
}
}
if (_global.myRoot["monster" + num]._currentframe == 2) {
if (_global.myRoot["monster" + i]._currentframe == 1) {
if (!monsterDone[num]) {
monsterDone[num] = true;
}
if (!monsterDone[i]) {
monsterDone[i] = true;
_global.myRoot["monster" + i]._alpha = 50;
}
chosen = false;
} else {
_global.myRoot["monster" + num]._alpha = 100;
_global.myRoot["monster" + i]._alpha = 100;
chosen = false;
}
}
if (_global.myRoot["monster" + num]._currentframe == 3) {
if (_global.myRoot["monster" + i]._currentframe == 4) {
if (!monsterDone[num]) {
monsterDone[num] = true;
}
if (!monsterDone[i]) {
monsterDone[i] = true;
_global.myRoot["monster" + i]._alpha = 50;
}
chosen = false;
} else {
_global.myRoot["monster" + num]._alpha = 100;
_global.myRoot["monster" + i]._alpha = 100;
chosen = false;
}
}
if (_global.myRoot["monster" + num]._currentframe == 4) {
if (_global.myRoot["monster" + i]._currentframe == 3) {
if (!monsterDone[num]) {
monsterDone[num] = true;
}
if (!monsterDone[i]) {
monsterDone[i] = true;
_global.myRoot["monster" + i]._alpha = 50;
}
chosen = false;
} else {
_global.myRoot["monster" + num]._alpha = 100;
_global.myRoot["monster" + i]._alpha = 100;
chosen = false;
}
}
if (_global.myRoot["monster" + num]._currentframe == 5) {
if (_global.myRoot["monster" + i]._currentframe == 6) {
if (!monsterDone[num]) {
monsterDone[num] = true;
}
if (!monsterDone[i]) {
monsterDone[i] = true;
_global.myRoot["monster" + i]._alpha = 50;
}
chosen = false;
} else {
_global.myRoot["monster" + num]._alpha = 100;
_global.myRoot["monster" + i]._alpha = 100;
chosen = false;
}
}
if (_global.myRoot["monster" + num]._currentframe == 6) {
if (_global.myRoot["monster" + i]._currentframe == 5) {
if (!monsterDone[num]) {
monsterDone[num] = true;
}
if (!monsterDone[i]) {
monsterDone[i] = true;
_global.myRoot["monster" + i]._alpha = 50;
}
chosen = false;
} else {
_global.myRoot["monster" + num]._alpha = 100;
_global.myRoot["monster" + i]._alpha = 100;
chosen = false;
}
}
}
}
}
if (_global.myRoot["monster" + i]._xscale < 110) {
_global.myRoot["monster" + i]._xscale = _global.myRoot["monster" + i]._xscale + 5;
_global.myRoot["monster" + i]._yscale = _global.myRoot["monster" + i]._yscale + 5;
} else {
_global.myRoot["monster" + i]._xscale = 110;
_global.myRoot["monster" + i]._yscale = 110;
}
if (_global.myRoot["monster" + i].monster._currentframe == 1) {
_global.myRoot["monster" + i].monster.play();
}
} else {
if (_global.myRoot["monster" + i]._xscale > 100) {
_global.myRoot["monster" + i]._xscale = _global.myRoot["monster" + i]._xscale - 5;
_global.myRoot["monster" + i]._yscale = _global.myRoot["monster" + i]._yscale - 5;
} else {
_global.myRoot["monster" + i]._xscale = 100;
_global.myRoot["monster" + i]._yscale = 100;
}
if (_global.myRoot["monster" + i].monster._currentframe > 1) {
_global.myRoot["monster" + i].monster.play();
}
}
i++;
}
i = 0;
while (i < 6) {
if (monsterDone[i]) {
if (_global.myRoot["monster" + i]._alpha > 0) {
_global.myRoot["monster" + i]._alpha = _global.myRoot["monster" + i]._alpha - 5;
_global.myRoot["monster" + i]._xscale = _global.myRoot["monster" + i]._xscale - 5;
_global.myRoot["monster" + i]._yscale = _global.myRoot["monster" + i]._yscale - 5;
_global.myRoot["monster" + i]._rotation = _global.myRoot["monster" + i]._rotation + 20;
} else {
_global.myRoot["monster" + i]._visible = false;
}
}
i++;
}
if ((((((monster0._visible == false) and (monster1._visible == false)) and (monster2._visible == false)) and (monster3._visible == false)) and (monster4._visible == false)) and (monster5._visible == false)) {
passed();
}
} else {
rockOn();
}
};
Frame 24
stop();
setup();
frame = random(2) + 1;
hint.gotoAndStop(frame);
onEnterFrame = function () {
game();
i = 0;
while (i < 9) {
if (_global.myRoot["tile" + i].hitTest(_xmouse, _ymouse, true)) {
if (_global.myRoot["tile" + i]._xscale < 120) {
_global.myRoot["tile" + i]._xscale = _global.myRoot["tile" + i]._xscale + 5;
_global.myRoot["tile" + i]._yscale = _global.myRoot["tile" + i]._yscale + 5;
} else {
_global.myRoot["tile" + i]._xscale = 120;
_global.myRoot["tile" + i]._yscale = 120;
}
} else if (_global.myRoot["tile" + i]._xscale > 100) {
_global.myRoot["tile" + i]._xscale = _global.myRoot["tile" + i]._xscale - 5;
_global.myRoot["tile" + i]._yscale = _global.myRoot["tile" + i]._yscale - 5;
} else {
_global.myRoot["tile" + i]._xscale = 100;
_global.myRoot["tile" + i]._yscale = 100;
}
i++;
}
if ((!levelPassed) and (!gamePaused)) {
i = 0;
while (i < 9) {
if (pressed) {
if (pressCounter == 1) {
if (_global.myRoot["tile" + i].hitTest(_xmouse, _ymouse, true)) {
_global.myRoot["tile" + i].play();
}
}
}
i++;
}
if (frame == 1) {
if ((((tile0._currentframe == 2) and (tile1._currentframe == 3)) and (tile2._currentframe == 3)) and (tile3._currentframe == 4)) {
passed();
}
}
if (frame == 2) {
if ((((tile0._currentframe == 2) and (tile1._currentframe == 3)) and (tile2._currentframe == 4)) and (tile3._currentframe == 3)) {
passed();
}
}
} else {
rockOn();
}
};
Frame 25
stop();
setup();
target0._visible = true;
target1._visible = false;
targetShot = new Array();
i = 0;
while (i < 2) {
targetShot[i] = false;
i++;
}
onEnterFrame = function () {
game();
crosshair._x = 320 - (_xmouse - 320);
crosshair._y = 240 - (_ymouse - 240);
if ((!levelPassed) and (!gamePaused)) {
i = 0;
while (i < 2) {
if (_global.myRoot["target" + i].hitTest(crosshair._x, crosshair._y, true)) {
if (targetShot[i] == false) {
if (pressed) {
if (pressCounter == 1) {
if (i == 1) {
if (targetShot[0]) {
fg.sounds.explosionB.play();
targetShot[i] = true;
}
} else {
fg.sounds.explosionB.play();
targetShot[i] = true;
}
_global.myRoot["target" + (i + 1)]._visible = true;
}
}
}
}
if (targetShot[i]) {
if (_global.myRoot["target" + i]._alpha > 0) {
_global.myRoot["target" + i]._alpha = _global.myRoot["target" + i]._alpha - 5;
_global.myRoot["target" + i]._xscale = _global.myRoot["target" + i]._xscale + 5;
_global.myRoot["target" + i]._yscale = _global.myRoot["target" + i]._yscale + 5;
_global.myRoot["target" + i]._rotation = _global.myRoot["target" + i]._rotation + 20;
} else {
_global.myRoot["target" + i]._visible = false;
}
}
i++;
}
if (hitmap.hitTest(crosshair._x, crosshair._y, true) or ASnative(800, 2) /* [Key] isDown */(2)) {
if (!targetShot[1]) {
if (targetShot[0]) {
fg.sounds.fail.play();
}
targetShot[0] = false;
targetShot[1] = false;
target0._alpha = 100;
target0._xscale = 100;
target0._yscale = 100;
target0._rotation = 0;
target1._alpha = 100;
target1._xscale = 100;
target1._yscale = 100;
target1._rotation = 0;
target0._visible = true;
target1._visible = false;
}
}
if (targetShot[0] and targetShot[1]) {
if (target1._visible == false) {
passed();
}
}
} else {
rockOn();
}
};
Frame 26
stop();
setup();
correct = false;
answerA.onPress = function () {
fg.sounds.fail.play();
time = time + 20;
};
answerB.onPress = function () {
fg.sounds.fail.play();
time = time + 20;
};
answerC.onPress = function () {
fg.sounds.fail.play();
time = time + 20;
};
answerD.onPress = function () {
correct = true;
};
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (correct) {
passed();
}
} else {
rockOn();
}
};
Frame 27
stop();
setup();
i = 0;
while (i < 11) {
_global.myRoot.cactus["prick" + i]._visible = true;
_global.myRoot.cactus["prick" + i].onRelease = function () {
};
_global.myRoot.cactus["prick" + i].useHandCursor = true;
i++;
}
depricked = 0;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed and (pressCounter == 1)) {
i = 0;
while (i < 11) {
if (_global.myRoot.cactus["prick" + i].hitTest(_xmouse, _ymouse, true)) {
_global.myRoot.cactus["prick" + i]._visible = false;
depricked++;
}
i++;
}
}
if (depricked == 11) {
if (balloonLoop.balloon._currentframe == 1) {
balloonLoop.balloon.play();
cactus.play();
heart.play();
}
}
if (heart._currentframe == heart._totalframes) {
passed();
}
} else {
rockOn();
}
};
Frame 28
stop();
setup();
radius = player._height / 2;
xPosPlayer = 140;
yPosPlayer = ground._y - radius;
draggingPlayer = false;
xPosWall = 320;
yPosWall = 350;
xPosGround = 320;
yPosGround = 350;
draggingGround = false;
gravity = 0.1;
player.onRelease = function () {
};
player.useHandCursor = true;
ground.onRelease = function () {
};
ground.useHandCursor = true;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (player.hitTest(_xmouse, _ymouse, true)) {
if (!draggingGround) {
draggingPlayer = true;
}
}
if (ground.hitTest(_xmouse, _ymouse, true)) {
if (!draggingPlayer) {
draggingGround = true;
groundDragY = _ymouse - ground._y;
}
}
}
} else {
draggingPlayer = false;
draggingGround = false;
}
yang._y = ground._y - (yang._height / 2);
if (draggingPlayer) {
player._alpha = 25;
player._x = _xmouse;
player._y = _ymouse;
} else {
player._alpha = 100;
player._y = ground._y - radius;
}
if ((player._y + radius) > ground._y) {
player._y = ground._y - radius;
}
if (player._y > (ground._y - radius)) {
player._y = yPosPlayer;
}
if (player._y < (0 + radius)) {
player._y = 0 + radius;
}
if (player._x > (640 - radius)) {
player._x = 640 - radius;
}
if (player._x < (0 + radius)) {
player._x = 0 + radius;
}
if ((((_xmouse < 0) or (_xmouse > 640)) or (_ymouse < 0)) or (_ymouse > ground._y)) {
draggingPlayer = false;
draggingWall = false;
}
if (draggingGround) {
ground._alpha = 25;
ground._y = _ymouse - groundDragY;
} else {
ground._alpha = 100;
}
if (ground._y < 350) {
ground._y = 350;
}
if (ground._y > 450) {
ground._y = 450;
}
if (wall._y < ground._y) {
wall._y = wall._y + gravity;
gravity = gravity * 1.1;
} else {
wall._y = ground._y;
gravity = 0.1;
}
if (player.hitTest(wall) or ASnative(800, 2) /* [Key] isDown */(2)) {
if (player.hitTest(wall)) {
fg.sounds.fail.play();
}
draggingPlayer = false;
player._x = xPosPlayer;
player._y = yPosPlayer;
draggingWall = false;
wall._x = xPosWall;
wall._y = yPosWall;
ground._x = xPosGround;
ground._y = yPosGround;
}
if (player.hitTest(yang)) {
if (yang._currentframe == 1) {
yang.play();
player._visible = false;
player._y = pos.x;
player._y = pos.y;
passed();
}
}
} else {
rockOn();
}
};
Frame 29
stop();
setup();
headPick = random(9) + 2;
bodyPick = random(9) + 2;
legsPick = random(9) + 2;
dudeGuide.dudeHolder.head.gotoAndStop(headPick);
dudeGuide.dudeHolder.body.gotoAndStop(bodyPick);
dudeGuide.dudeHolder.legs.gotoAndStop(legsPick);
dude.onRelease = function () {
};
dude.useHandCursor = true;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
pressed = false;
if (dude.dudeHolder.head.hitTest(_xmouse, _ymouse, true)) {
dude.dudeHolder.head.play();
}
if ((dude.dudeHolder.body.hitTest(_xmouse, _ymouse, true) and (!dude.dudeHolder.head.hitTest(_xmouse, _ymouse, true))) and (!dude.dudeHolder.legs.hitTest(_xmouse, _ymouse, true))) {
dude.dudeHolder.body.play();
}
if (dude.dudeHolder.legs.hitTest(_xmouse, _ymouse, true)) {
dude.dudeHolder.legs.play();
}
}
}
if (((dude.dudeHolder.body._currentframe == bodyPick) and (dude.dudeHolder.head._currentframe == headPick)) and (dude.dudeHolder.legs._currentframe == legsPick)) {
passed();
}
} else {
rockOn();
}
};
Frame 30
stop();
setup();
i = 0;
while (i < 9) {
_global.myRoot["robot" + i].onRelease = function () {
};
_global.myRoot["robot" + i].useHandCursor = true;
i++;
}
robotFound = false;
chosenRobot = random(9);
_global.myRoot["robot" + chosenRobot].gotoAndStop(2);
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
i = 0;
while (i < 9) {
if (pressed) {
if (pressCounter == 1) {
if (_global.myRoot["robot" + i].hitTest(_xmouse, _ymouse, true)) {
if (i == chosenRobot) {
passed();
} else {
fg.sounds.fail.play();
time = time + 20;
}
}
}
}
if (_global.myRoot["robot" + i].hitTest(_xmouse, _ymouse, true)) {
if (_global.myRoot["robot" + i]._xscale < 110) {
_global.myRoot["robot" + i]._xscale = _global.myRoot["robot" + i]._xscale + 5;
_global.myRoot["robot" + i]._yscale = _global.myRoot["robot" + i]._yscale + 5;
} else {
_global.myRoot["robot" + i]._xscale = 110;
_global.myRoot["robot" + i]._yscale = 110;
}
_global.myRoot["robot" + i].robot.eyeLeft.play();
_global.myRoot["robot" + i].robot.eyeRight.play();
} else if (_global.myRoot["robot" + i]._xscale > 100) {
_global.myRoot["robot" + i]._xscale = _global.myRoot["robot" + i]._xscale - 5;
_global.myRoot["robot" + i]._yscale = _global.myRoot["robot" + i]._yscale - 5;
} else {
_global.myRoot["robot" + i]._xscale = 100;
_global.myRoot["robot" + i]._yscale = 100;
}
i++;
}
} else {
rockOn();
}
};
Frame 31
stop();
setup();
alive = true;
bombs = 4;
stars = 22;
starsCollected = new Array();
i = 0;
while (i < stars) {
starsCollected[i] = false;
_global.myRoot["star" + i].gotoAndStop("start");
i++;
}
totalCollected = 0;
gravity = 0.4;
restitution = 0.7;
friction = 0.9;
xPos = 320;
yPos = 370;
vel = {x:0, y:0};
pos = {x:xPos, y:yPos};
old = {x:player._x, y:player._y};
radius = player._width / 2;
player._x = xPos;
player._y = yPos;
player._alpha = 100;
player.onRelease = function () {
};
player.useHandCursor = true;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
throwsText = throws + " throws";
if (pressed) {
if (pressCounter == 1) {
if (player.hitTest(_xmouse, _ymouse, true)) {
dragging = true;
player.play();
}
}
} else {
dragging = false;
}
if (alive) {
if (!dragging) {
if (player._currentframe == 6) {
player.play();
}
vel.y = vel.y + gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
if ((pos.y + radius) > 450) {
pos.y = 450 - radius;
vel.y = vel.y * (-restitution);
vel.x = vel.x * friction;
if (vel.y < -2) {
fg.sounds.jump.play();
}
}
if ((pos.y - radius) < 0) {
fg.sounds.jump.play();
pos.y = 0 + radius;
vel.y = vel.y * (-restitution);
vel.x = vel.x * friction;
}
if ((pos.x + radius) > 640) {
fg.sounds.jump.play();
pos.x = 640 - radius;
vel.x = vel.x * (-restitution);
}
if (pos.x < (0 + radius)) {
fg.sounds.jump.play();
pos.x = 0 + radius;
vel.x = vel.x * (-restitution);
}
player._x = pos.x;
player._y = pos.y;
} else {
playerEndX = _xmouse;
playerEndY = _ymouse;
player._x = player._x + ((playerEndX - player._x) / 3);
player._y = player._y + ((playerEndY - player._y) / 3);
old.x = pos.x;
old.y = pos.y;
pos.x = player._x;
pos.y = player._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 > 450)) {
dragging = false;
}
if ((player._y + radius) > 450) {
player._y = 450 - radius;
}
if (_ymouse > 450) {
dragging = false;
}
if ((player._y - radius) < 0) {
player._y = 0 + radius;
dragging = false;
}
if ((player._x + radius) > 640) {
player._x = 640 - radius;
dragging = false;
}
if (player._x < (0 + radius)) {
player._x = 0 + radius;
dragging = false;
}
i = 0;
while (i < stars) {
if (!dragging) {
if (_global.myRoot["star" + i].hitTest(player)) {
if (_global.myRoot["star" + i]._currentframe == 1) {
_global.myRoot["star" + i].play();
starsCollected[i] = true;
totalCollected++;
}
}
}
i++;
}
i = 0;
while (i < bombs) {
if (!dragging) {
if (_global.myRoot["bomb" + i].hitTest(player)) {
if (_global.myRoot["bomb" + i]._currentframe == 1) {
fg.sounds.explosionA.play();
_global.myRoot["bomb" + i].play();
player._visible = false;
bombTouched = i;
alive = false;
}
}
}
if (_global.myRoot["bomb" + i]._currentframe == _global.myRoot["bomb" + i]._totalframes) {
_global.myRoot["bomb" + i].gotoAndStop("start");
player._visible = true;
alive = true;
vel = {x:0, y:0};
pos = {x:xPos, y:yPos};
old = {x:player._x, y:player._y};
radius = player._width / 2;
player._x = xPos;
player._y = yPos;
i = 0;
while (i < stars) {
starsCollected[i] = false;
_global.myRoot["star" + i].gotoAndStop("start");
i++;
}
totalCollected = 0;
}
i++;
}
if (totalCollected == stars) {
if (player._alpha > 0) {
player._alpha = player._alpha - 5;
} else {
player._alpha = 0;
passed();
}
}
} else {
rockOn();
}
};
Frame 32
stop();
setup();
shuriken.onRelease = function () {
};
shuriken.useHandCursor = true;
buttonRotate.onPress = function () {
if ((!levelPassed) and (!gamePaused)) {
shuriken._rotation = shuriken._rotation + 45;
}
};
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (shuriken.shurikenHolder.starOuter.hitTest(_xmouse, _ymouse, true) and (!shuriken.shurikenHolder.circleInner.hitTest(_xmouse, _ymouse, true))) {
shuriken.shurikenHolder.starOuter.play();
}
if (shuriken.shurikenHolder.circleInner.hitTest(_xmouse, _ymouse, true) and shuriken.shurikenHolder.starOuter.hitTest(_xmouse, _ymouse, true)) {
shuriken.shurikenHolder.circleInner.play();
}
}
}
if ((((shuriken._rotation == 45) or (shuriken._rotation == 135)) and (shuriken.shurikenHolder.starOuter._currentframe == 2)) and (shuriken.shurikenHolder.circleInner._currentframe == 2)) {
passed();
}
} else {
rockOn();
}
};
Frame 33
stop();
setup();
radius = player._height / 2;
xPosPlayer = 140;
yPosPlayer = ground._y - radius;
draggingPlayer = false;
gravity = 0.4;
restitution = 0.7;
friction = 0.9;
vel = {x:0, y:0};
pos = {x:xPosPlayer, y:yPosPlayer};
old = {x:player._x, y:player._y};
radius = player._height / 2;
player._x = xPosPlayer;
player._y = yPosPlayer;
player.onRelease = function () {
};
player.useHandCursor = true;
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (pressCounter == 1) {
if (player.hitTest(_xmouse, _ymouse, true)) {
draggingPlayer = true;
}
}
} else {
draggingPlayer = false;
}
if (!draggingPlayer) {
if (player._currentframe == 6) {
player.play();
}
vel.y = vel.y + gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
if ((pos.y + radius) > 350) {
pos.y = 350 - radius;
vel.y = vel.y * (-restitution);
vel.x = vel.x * friction;
if (vel.y < -2) {
fg.sounds.jump.play();
}
}
if ((pos.x + radius) > 640) {
fg.sounds.jump.play();
pos.x = 640 - radius;
vel.x = vel.x * (-restitution);
}
if (pos.x < (0 + radius)) {
fg.sounds.jump.play();
pos.x = 0 + radius;
vel.x = vel.x * (-restitution);
}
player._x = pos.x;
player._y = pos.y;
} else {
playerEndX = _xmouse;
playerEndY = _ymouse;
player._x = player._x + ((playerEndX - player._x) / 3);
player._y = player._y + ((playerEndY - player._y) / 3);
old.x = pos.x;
old.y = pos.y;
pos.x = player._x;
pos.y = player._y;
vel.x = (pos.x - old.x) / 2;
vel.y = (pos.y - old.y) / 2;
}
if (player._y > (350 - radius)) {
player._y = yPosPlayer;
}
if (player._x > (640 - radius)) {
player._x = 640 - radius;
}
if (player._x < (0 + radius)) {
player._x = 0 + radius;
}
if ((((_xmouse < 0) or (_xmouse > 640)) or (_ymouse < 0)) or (_ymouse > 350)) {
draggingPlayer = false;
draggingWall = false;
}
if (player.hitTest(wall)) {
if (player.hitTest(wall)) {
fg.sounds.fail.play();
}
draggingPlayer = false;
player._x = xPosPlayer;
player._y = yPosPlayer;
draggingWall = false;
wall._x = xPosWall;
wall._y = yPosWall;
vel = {x:0, y:0};
pos = {x:xPosPlayer, y:yPosPlayer};
old = {x:player._x, y:player._y};
}
if (player.hitTest(yang)) {
if (yang._currentframe == 1) {
yang.play();
player._visible = false;
player._y = pos.x;
player._y = pos.y;
passed();
}
}
} else {
rockOn();
}
};
Frame 34
stop();
setup();
i = 0;
while (i < 6) {
_global.myRoot["monster" + i].onRelease = function () {
};
_global.myRoot["monster" + i].useHandCursor = true;
i++;
}
chosen = false;
matched = 0;
monsterDone = new Array();
i = 0;
while (i < 6) {
monsterDone[i] = false;
i++;
}
pos = new Array();
pos[0] = 1;
pos[1] = 2;
pos[2] = 3;
pos[3] = 4;
pos[4] = 5;
pos[5] = 6;
i = 0;
while (i < 6) {
j = Math.floor(Math.random() * pos.length);
_global.myRoot["monster" + i].gotoAndStop(pos[j]);
pos.splice(j, 1);
i++;
}
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
i = 0;
while (i < 9) {
if (_global.myRoot["monster" + i].hitTest(_xmouse, _ymouse, true)) {
if (pressed) {
if (pressCounter == 1) {
if ((!chosen) and (_global.myRoot["monster" + i]._alpha == 100)) {
_global.myRoot["monster" + i]._alpha = 50;
chosen = true;
num = i;
} else {
if (_global.myRoot["monster" + num]._currentframe == 1) {
if (_global.myRoot["monster" + i]._currentframe == 2) {
if (!monsterDone[num]) {
monsterDone[num] = true;
}
if (!monsterDone[i]) {
monsterDone[i] = true;
_global.myRoot["monster" + i]._alpha = 50;
}
chosen = false;
} else {
_global.myRoot["monster" + num]._alpha = 100;
_global.myRoot["monster" + i]._alpha = 100;
chosen = false;
}
}
if (_global.myRoot["monster" + num]._currentframe == 2) {
if (_global.myRoot["monster" + i]._currentframe == 1) {
if (!monsterDone[num]) {
monsterDone[num] = true;
}
if (!monsterDone[i]) {
monsterDone[i] = true;
_global.myRoot["monster" + i]._alpha = 50;
}
chosen = false;
} else {
_global.myRoot["monster" + num]._alpha = 100;
_global.myRoot["monster" + i]._alpha = 100;
chosen = false;
}
}
if (_global.myRoot["monster" + num]._currentframe == 3) {
if (_global.myRoot["monster" + i]._currentframe == 4) {
if (!monsterDone[num]) {
monsterDone[num] = true;
}
if (!monsterDone[i]) {
monsterDone[i] = true;
_global.myRoot["monster" + i]._alpha = 50;
}
chosen = false;
} else {
_global.myRoot["monster" + num]._alpha = 100;
_global.myRoot["monster" + i]._alpha = 100;
chosen = false;
}
}
if (_global.myRoot["monster" + num]._currentframe == 4) {
if (_global.myRoot["monster" + i]._currentframe == 3) {
if (!monsterDone[num]) {
monsterDone[num] = true;
}
if (!monsterDone[i]) {
monsterDone[i] = true;
_global.myRoot["monster" + i]._alpha = 50;
}
chosen = false;
} else {
_global.myRoot["monster" + num]._alpha = 100;
_global.myRoot["monster" + i]._alpha = 100;
chosen = false;
}
}
if (_global.myRoot["monster" + num]._currentframe == 5) {
if (_global.myRoot["monster" + i]._currentframe == 6) {
if (!monsterDone[num]) {
monsterDone[num] = true;
}
if (!monsterDone[i]) {
monsterDone[i] = true;
_global.myRoot["monster" + i]._alpha = 50;
}
chosen = false;
} else {
_global.myRoot["monster" + num]._alpha = 100;
_global.myRoot["monster" + i]._alpha = 100;
chosen = false;
}
}
if (_global.myRoot["monster" + num]._currentframe == 6) {
if (_global.myRoot["monster" + i]._currentframe == 5) {
if (!monsterDone[num]) {
monsterDone[num] = true;
}
if (!monsterDone[i]) {
monsterDone[i] = true;
_global.myRoot["monster" + i]._alpha = 50;
}
chosen = false;
} else {
_global.myRoot["monster" + num]._alpha = 100;
_global.myRoot["monster" + i]._alpha = 100;
chosen = false;
}
}
}
}
}
if (_global.myRoot["monster" + i]._xscale < 110) {
_global.myRoot["monster" + i]._xscale = _global.myRoot["monster" + i]._xscale + 5;
_global.myRoot["monster" + i]._yscale = _global.myRoot["monster" + i]._yscale + 5;
} else {
_global.myRoot["monster" + i]._xscale = 110;
_global.myRoot["monster" + i]._yscale = 110;
}
if (_global.myRoot["monster" + i].monster._currentframe == 1) {
_global.myRoot["monster" + i].monster.play();
}
} else {
if (_global.myRoot["monster" + i]._xscale > 100) {
_global.myRoot["monster" + i]._xscale = _global.myRoot["monster" + i]._xscale - 5;
_global.myRoot["monster" + i]._yscale = _global.myRoot["monster" + i]._yscale - 5;
} else {
_global.myRoot["monster" + i]._xscale = 100;
_global.myRoot["monster" + i]._yscale = 100;
}
if (_global.myRoot["monster" + i].monster._currentframe > 1) {
_global.myRoot["monster" + i].monster.play();
}
}
i++;
}
i = 0;
while (i < 6) {
if (monsterDone[i]) {
if (_global.myRoot["monster" + i]._alpha > 0) {
_global.myRoot["monster" + i]._alpha = _global.myRoot["monster" + i]._alpha - 5;
_global.myRoot["monster" + i]._xscale = _global.myRoot["monster" + i]._xscale - 5;
_global.myRoot["monster" + i]._yscale = _global.myRoot["monster" + i]._yscale - 5;
_global.myRoot["monster" + i]._rotation = _global.myRoot["monster" + i]._rotation + 20;
} else {
_global.myRoot["monster" + i]._visible = false;
}
}
i++;
}
if ((((((monster0._visible == false) and (monster1._visible == false)) and (monster2._visible == false)) and (monster3._visible == false)) and (monster4._visible == false)) and (monster5._visible == false)) {
passed();
}
} else {
rockOn();
}
};
Frame 35
stop();
setup();
frame = random(2) + 1;
hint.gotoAndStop(frame);
onEnterFrame = function () {
game();
i = 0;
while (i < 9) {
if (_global.myRoot["tile" + i].hitTest(_xmouse, _ymouse, true)) {
if (_global.myRoot["tile" + i]._xscale < 120) {
_global.myRoot["tile" + i]._xscale = _global.myRoot["tile" + i]._xscale + 5;
_global.myRoot["tile" + i]._yscale = _global.myRoot["tile" + i]._yscale + 5;
} else {
_global.myRoot["tile" + i]._xscale = 120;
_global.myRoot["tile" + i]._yscale = 120;
}
} else if (_global.myRoot["tile" + i]._xscale > 100) {
_global.myRoot["tile" + i]._xscale = _global.myRoot["tile" + i]._xscale - 5;
_global.myRoot["tile" + i]._yscale = _global.myRoot["tile" + i]._yscale - 5;
} else {
_global.myRoot["tile" + i]._xscale = 100;
_global.myRoot["tile" + i]._yscale = 100;
}
i++;
}
if ((!levelPassed) and (!gamePaused)) {
i = 0;
while (i < 9) {
if (pressed) {
if (pressCounter == 1) {
if (_global.myRoot["tile" + i].hitTest(_xmouse, _ymouse, true)) {
_global.myRoot["tile" + i].play();
}
}
}
i++;
}
if (frame == 1) {
if (((((tile0._currentframe == 2) and (tile1._currentframe == 3)) and (tile2._currentframe == 4)) and (tile3._currentframe == 5)) and (tile4._currentframe == 6)) {
passed();
}
}
if (frame == 2) {
if (((((tile0._currentframe == 5) and (tile1._currentframe == 4)) and (tile2._currentframe == 3)) and (tile3._currentframe == 6)) and (tile4._currentframe == 2)) {
passed();
}
}
if (frame == 2) {
if (((((tile0._currentframe == 3) and (tile1._currentframe == 4)) and (tile2._currentframe == 5)) and (tile3._currentframe == 6)) and (tile4._currentframe == 2)) {
passed();
}
}
} else {
rockOn();
}
};
Frame 36
stop();
setup();
target0._visible = true;
target1._visible = false;
targetShot = new Array();
i = 0;
while (i < 2) {
targetShot[i] = false;
i++;
}
onEnterFrame = function () {
game();
crosshair._x = 320 - (_xmouse - 320);
crosshair._y = 240 - (_ymouse - 240);
if ((!levelPassed) and (!gamePaused)) {
i = 0;
while (i < 2) {
if (_global.myRoot["target" + i].hitTest(crosshair._x, crosshair._y, true)) {
if (targetShot[i] == false) {
if (pressed) {
if (pressCounter == 1) {
if (i == 1) {
if (targetShot[0]) {
fg.sounds.explosionB.play();
targetShot[i] = true;
}
} else {
fg.sounds.explosionB.play();
targetShot[i] = true;
}
_global.myRoot["target" + (i + 1)]._visible = true;
}
}
}
}
if (targetShot[i]) {
if (_global.myRoot["target" + i]._alpha > 0) {
_global.myRoot["target" + i]._alpha = _global.myRoot["target" + i]._alpha - 5;
_global.myRoot["target" + i]._xscale = _global.myRoot["target" + i]._xscale + 5;
_global.myRoot["target" + i]._yscale = _global.myRoot["target" + i]._yscale + 5;
_global.myRoot["target" + i]._rotation = _global.myRoot["target" + i]._rotation + 20;
} else {
_global.myRoot["target" + i]._visible = false;
}
}
i++;
}
if (hitmap.hitTest(crosshair._x, crosshair._y, true) or ASnative(800, 2) /* [Key] isDown */(2)) {
if (!targetShot[1]) {
if (targetShot[0]) {
fg.sounds.fail.play();
}
targetShot[0] = false;
targetShot[1] = false;
target0._alpha = 100;
target0._xscale = 100;
target0._yscale = 100;
target0._rotation = 0;
target1._alpha = 100;
target1._xscale = 100;
target1._yscale = 100;
target1._rotation = 0;
target0._visible = true;
target1._visible = false;
}
}
if (targetShot[0] and targetShot[1]) {
if (target1._visible == false) {
passed();
}
}
} else {
rockOn();
}
};
Frame 37
stop();
setup();
correct = false;
answerA.onPress = function () {
fg.sounds.fail.play();
time = time + 20;
};
answerB.onPress = function () {
fg.sounds.fail.play();
time = time + 20;
};
answerC.onPress = function () {
correct = true;
};
answerD.onPress = function () {
fg.sounds.fail.play();
time = time + 20;
};
onEnterFrame = function () {
game();
if ((!levelPassed) and (!gamePaused)) {
if (correct) {
passed();
}
} else {
rockOn();
}
};
Frame 38
stop();
setup();
gravity = 2;
curtainGravity = 2;
power = 0;
curtainCall = false;
back = false;
submit = false;
curtain.buttonMenu.onPress = function () {
back = true;
submit = false;
fg.play();
};
curtain.buttonSubmit.onPress = function () {
back = false;
submit = true;
fg.play();
};
curtain.buttonReward.onRelease = function () {
getURL ("http://www.ninjadoodle.com/", "_blank");
};
ninja.onRelease = function () {
};
ninja.useHandCursor = true;
onEnterFrame = function () {
game();
if (fg._currentframe == fg._totalframes) {
if (back) {
gotoAndStop ("menu");
}
if (submit) {
gotoAndStop ("submit");
}
}
if ((!levelPassed) and (!gamePaused)) {
if (pressed) {
if (ninja.hitTest(_xmouse, _ymouse, true)) {
if (ninja._currentframe == 1) {
power = 0;
ninja.play();
}
if (ninja._y == 430) {
if (power < 30) {
trace(power);
power = power + 0.5;
} else {
power = 30;
}
}
}
} else if (ninja._currentframe == 15) {
ninja.play();
jumping = true;
}
if (jumping) {
if (power < 1) {
jumping = false;
}
ninja._y = ninja._y - power;
power = power * 0.9;
} else if (ninja._y < 430) {
ninja._y = ninja._y + gravity;
gravity = gravity * 1.1;
} else {
if (ninja._currentframe == 25) {
ninja.play();
gravity = 2;
}
ninja._y = 430;
}
if (ninja.hitTest(curtain)) {
if (!jumping) {
curtainCall = true;
timerOn = false;
finalTime = time;
curtain.finalTimeText = finalTime + " seconds";
}
}
if (curtainCall) {
if (curtain._currentframe == 1) {
stopAllSounds();
curtain.play();
}
if (curtain._y < 240) {
curtain._y = curtain._y + curtainGravity;
curtainGravity = curtainGravity * 1.1;
} else {
curtain._y = 240;
curtainGravity = 2;
}
}
}
};
Frame 39
stop();
back = false;
buttonMenu.onPress = function () {
back = 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 (back) {
gotoAndPlay ("menu");
}
}
};
Frame 40
stop();
back = false;
buttonMenu.onPress = function () {
back = 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 (back) {
gotoAndPlay ("menu");
}
}
};
Symbol 24 Button
on (press) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 27 MovieClip Frame 1
_root.stop();
gotoAndPlay (2);
Symbol 27 MovieClip Frame 218
_global.myRoot.play();
Symbol 41 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 2
play();
Symbol 41 MovieClip Frame 19
_global.myRoot.score = _global.myRoot.score + 40;
_global.myRoot.bombsBlown++;
Symbol 41 MovieClip Frame 20
stop();
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 2
play();
Symbol 56 MovieClip Frame 6
stop();
Symbol 56 MovieClip Frame 7
play();
Symbol 72 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 2
play();
Symbol 72 MovieClip Frame 3
stop();
Symbol 85 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 2
play();
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 2
play();
Symbol 89 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 2
stop();
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 2
play();
Symbol 101 MovieClip Frame 10
stop();
Symbol 101 MovieClip Frame 11
play();
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 2
play();
Symbol 103 MovieClip Frame 10
stop();
Symbol 103 MovieClip Frame 11
play();
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 2
play();
Symbol 107 MovieClip Frame 10
stop();
Symbol 107 MovieClip Frame 11
play();
Symbol 108 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 2
stop();
Symbol 108 MovieClip Frame 3
stop();
Symbol 108 MovieClip Frame 4
stop();
Symbol 108 MovieClip Frame 5
stop();
Symbol 108 MovieClip Frame 6
stop();
Symbol 122 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 2
stop();
Symbol 153 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 2
play();
Symbol 155 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 2
play();
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 2
stop();
Symbol 169 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 2
stop();
Symbol 169 MovieClip Frame 3
stop();
Symbol 169 MovieClip Frame 4
stop();
Symbol 169 MovieClip Frame 5
stop();
Symbol 169 MovieClip Frame 6
stop();
Symbol 169 MovieClip Frame 7
stop();
Symbol 169 MovieClip Frame 8
stop();
Symbol 169 MovieClip Frame 9
stop();
Symbol 169 MovieClip Frame 10
stop();
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 2
stop();
Symbol 180 MovieClip Frame 3
stop();
Symbol 180 MovieClip Frame 4
stop();
Symbol 180 MovieClip Frame 5
stop();
Symbol 180 MovieClip Frame 6
stop();
Symbol 180 MovieClip Frame 7
stop();
Symbol 180 MovieClip Frame 8
stop();
Symbol 180 MovieClip Frame 9
stop();
Symbol 180 MovieClip Frame 10
stop();
Instance of Symbol 191 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (enterFrame) {
rad = 7;
point = new Object();
point.x = _xmouse;
point.y = _ymouse;
updateAfterEvent();
var diffX = (point.x - this._x);
var diffY = (point.y - this._y);
var r = Math.sqrt((diffX * diffX) + (diffY * diffY));
if (r > rad) {
r = rad;
}
this.black._x = r * Math.cos(Math.atan2(diffY, diffX));
this.black._y = r * Math.sin(Math.atan2(diffY, diffX));
}
Symbol 209 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 2
stop();
Symbol 209 MovieClip Frame 3
stop();
Symbol 209 MovieClip Frame 4
stop();
Symbol 209 MovieClip Frame 5
stop();
Symbol 209 MovieClip Frame 6
stop();
Symbol 209 MovieClip Frame 7
stop();
Symbol 209 MovieClip Frame 8
stop();
Symbol 209 MovieClip Frame 9
stop();
Symbol 209 MovieClip Frame 10
stop();
Symbol 221 Button
on (press) {
_global.myRoot.gamePaused = false;
_global.myRoot.timerOn = true;
_global.myRoot.fg.pauseGame.play();
_global.myRoot.fg.pausedMenu.play();
}
Symbol 224 Button
on (press) {
_global.myRoot.quit = true;
}
Symbol 226 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 2
play();
Symbol 226 MovieClip Frame 10
stop();
Symbol 226 MovieClip Frame 11
play();
Symbol 229 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 2
play();
Symbol 229 MovieClip Frame 50
stop();
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 2
play();
Symbol 232 MovieClip Frame 50
stop();
Symbol 236 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 2
play();
Symbol 239 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 2
play();
Symbol 239 MovieClip Frame 11
gotoAndStop (1);
Symbol 242 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 2
play();
Symbol 242 MovieClip Frame 11
gotoAndStop (1);
Symbol 245 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 2
play();
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 2
play();
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 2
play();
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 2
play();
Symbol 257 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 2
play();
Symbol 260 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 2
play();
Symbol 263 MovieClip Frame 1
stop();
Symbol 263 MovieClip Frame 2
play();
Symbol 266 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 2
play();
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 2
play();
Symbol 272 MovieClip Frame 1
stop();
Symbol 272 MovieClip Frame 2
play();
Symbol 275 MovieClip Frame 1
stop();
Symbol 275 MovieClip Frame 2
play();
Symbol 278 MovieClip Frame 1
stop();
Symbol 278 MovieClip Frame 2
play();
Symbol 278 MovieClip Frame 11
gotoAndStop (1);
Symbol 281 MovieClip Frame 1
stop();
Symbol 281 MovieClip Frame 2
play();
Symbol 284 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 2
play();
Symbol 288 MovieClip Frame 1
stop();
Symbol 288 MovieClip Frame 2
stop();
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 2
stop();
Symbol 293 MovieClip Frame 3
stop();
Symbol 295 MovieClip Frame 1
play();
Symbol 295 MovieClip Frame 11
stop();
Symbol 295 MovieClip Frame 12
play();
Symbol 310 MovieClip Frame 1
stop();
Instance of Symbol 308 MovieClip in Symbol 310 MovieClip Frame 1
on (press) {
}
Symbol 310 MovieClip Frame 2
stop();
Symbol 311 MovieClip Frame 1
play();
Symbol 311 MovieClip Frame 11
stop();
Symbol 311 MovieClip Frame 12
play();
Symbol 331 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 2
play();
Symbol 331 MovieClip Frame 19
_global.myRoot.score = _global.myRoot.score + 10;
_global.myRoot.starsCollected++;
Symbol 331 MovieClip Frame 20
stop();
Symbol 354 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 2
stop();
Symbol 354 MovieClip Frame 3
stop();
Symbol 354 MovieClip Frame 4
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 364 MovieClip Frame 1
stop();
Symbol 364 MovieClip Frame 2
stop();
Symbol 364 MovieClip Frame 3
stop();
Symbol 364 MovieClip Frame 4
stop();
Symbol 369 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 2
stop();
Symbol 369 MovieClip Frame 3
stop();
Symbol 369 MovieClip Frame 4
stop();
Symbol 385 MovieClip Frame 1
stop();
Symbol 385 MovieClip Frame 2
stop();
Symbol 400 MovieClip Frame 1
stop();
Symbol 400 MovieClip Frame 2
stop();
Symbol 400 MovieClip Frame 3
stop();
Symbol 400 MovieClip Frame 4
stop();
Symbol 400 MovieClip Frame 5
gotoAndStop (2);
Symbol 461 MovieClip Frame 1
stop();
Symbol 461 MovieClip Frame 2
play();
Symbol 461 MovieClip Frame 31
stop();
Symbol 470 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 2
play();
Symbol 470 MovieClip Frame 9
gotoAndPlay (2);
Symbol 471 MovieClip Frame 1
stop();
Symbol 471 MovieClip Frame 2
play();
Symbol 492 MovieClip Frame 1
stop();
Symbol 492 MovieClip Frame 2
stop();
Symbol 492 MovieClip Frame 3
stop();
Symbol 496 MovieClip Frame 1
stop();
Symbol 496 MovieClip Frame 2
stop();
Symbol 496 MovieClip Frame 3
stop();
Symbol 500 MovieClip Frame 1
stop();
Symbol 500 MovieClip Frame 2
stop();
Symbol 500 MovieClip Frame 3
stop();
Symbol 504 MovieClip Frame 1
stop();
Symbol 504 MovieClip Frame 2
stop();
Symbol 504 MovieClip Frame 3
stop();
Symbol 520 MovieClip Frame 1
stop();
Symbol 520 MovieClip Frame 2
play();
Symbol 520 MovieClip Frame 10
stop();
Symbol 520 MovieClip Frame 11
play();
Symbol 521 MovieClip Frame 1
stop();
Symbol 521 MovieClip Frame 2
play();
Symbol 521 MovieClip Frame 10
stop();
Symbol 521 MovieClip Frame 11
play();
Symbol 523 MovieClip Frame 1
stop();
Symbol 523 MovieClip Frame 2
play();
Symbol 523 MovieClip Frame 10
stop();
Symbol 523 MovieClip Frame 11
play();
Symbol 524 MovieClip Frame 1
stop();
Symbol 524 MovieClip Frame 2
stop();
Symbol 524 MovieClip Frame 3
stop();
Symbol 524 MovieClip Frame 4
stop();
Symbol 524 MovieClip Frame 5
stop();
Symbol 524 MovieClip Frame 6
stop();
Symbol 531 MovieClip Frame 1
stop();
Symbol 531 MovieClip Frame 2
stop();
Symbol 538 MovieClip Frame 1
stop();
Symbol 538 MovieClip Frame 2
stop();
Symbol 538 MovieClip Frame 3
stop();
Symbol 538 MovieClip Frame 4
stop();
Symbol 538 MovieClip Frame 5
gotoAndStop (2);
Symbol 572 MovieClip Frame 1
stop();
Symbol 572 MovieClip Frame 2
play();
Symbol 572 MovieClip Frame 36
stop();
Symbol 594 MovieClip Frame 1
stop();
Symbol 594 MovieClip Frame 2
play();
Symbol 594 MovieClip Frame 15
stop();
Symbol 605 MovieClip Frame 1
stop();
Symbol 605 MovieClip Frame 2
play();
Symbol 605 MovieClip Frame 15
stop();
Symbol 621 MovieClip Frame 1
stop();
Symbol 621 MovieClip Frame 2
play();
Symbol 627 MovieClip Frame 1
stop();
Symbol 627 MovieClip Frame 2
play();
Symbol 629 MovieClip Frame 1
stop();
Symbol 629 MovieClip Frame 2
stop();
Symbol 644 MovieClip Frame 1
stop();
Symbol 644 MovieClip Frame 2
stop();
Symbol 647 MovieClip Frame 1
stop();
Symbol 647 MovieClip Frame 2
stop();
Symbol 669 MovieClip Frame 1
stop();
Symbol 669 MovieClip Frame 2
play();
Symbol 669 MovieClip Frame 10
stop();
Symbol 669 MovieClip Frame 11
play();
Symbol 671 MovieClip Frame 1
stop();
Symbol 671 MovieClip Frame 2
play();
Symbol 671 MovieClip Frame 10
stop();
Symbol 671 MovieClip Frame 11
play();
Symbol 673 MovieClip Frame 1
stop();
Symbol 673 MovieClip Frame 2
play();
Symbol 673 MovieClip Frame 10
stop();
Symbol 673 MovieClip Frame 11
play();
Symbol 674 MovieClip Frame 1
stop();
Symbol 674 MovieClip Frame 2
stop();
Symbol 674 MovieClip Frame 3
stop();
Symbol 674 MovieClip Frame 4
stop();
Symbol 674 MovieClip Frame 5
stop();
Symbol 674 MovieClip Frame 6
stop();
Symbol 683 MovieClip Frame 1
stop();
Symbol 683 MovieClip Frame 2
stop();
Symbol 693 MovieClip Frame 1
stop();
Symbol 693 MovieClip Frame 2
stop();
Symbol 693 MovieClip Frame 3
stop();
Symbol 693 MovieClip Frame 4
stop();
Symbol 693 MovieClip Frame 5
stop();
Symbol 693 MovieClip Frame 6
stop();
Symbol 693 MovieClip Frame 7
gotoAndStop (2);
Symbol 702 MovieClip Frame 1
stop();
Symbol 702 MovieClip Frame 2
play();
Symbol 702 MovieClip Frame 15
stop();
Symbol 702 MovieClip Frame 16
play();
Symbol 702 MovieClip Frame 25
stop();
Symbol 702 MovieClip Frame 26
play();
Symbol 712 MovieClip Frame 1
stop();
Symbol 712 MovieClip Frame 2
stop();