Frame 1
_global.myRoot = this;
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;
}
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 3
buttonLogo.onRelease = function () {
getURL ("http://www.ninjadoodle.com/", "_blank");
};
Frame 93
stop();
stopAllSounds();
globalSound = new Sound();
sound = true;
rumble = false;
scores = false;
time = 0;
countdown = 60;
minigameCount = 42;
lives = 7;
onEnterFrame = function () {
if (rumble) {
if (fades._currentframe == fades._totalframes) {
play();
}
}
if (scores) {
if (fades._currentframe == fades._totalframes) {
gotoAndStop ("scores");
}
}
};
buttonPlay.onPress = function () {
rumble = true;
scores = false;
fades.play();
};
buttonScores.onPress = function () {
scores = true;
rumble = false;
fades.play();
};
buttonLink.onRelease = function () {
getURL ("http://www.ninjadoodle.com/", "_blank");
};
explode = function () {
shakeCount = 7;
shaking = true;
i = 0;
while (i < 40) {
p = attachMovie("particle", "particle" + (i++), _global.myRoot.getNextHighestDepth());
p._x = itemX;
p._y = itemY - 20;
p._xscale = (p._yscale = (Math.random() * 100) + 80);
p._rotation = random(360);
i++;
}
};
shake = function () {
if (shaking) {
_global.myRoot._x = random(10) - 2;
_global.myRoot._y = random(10) - 2;
shakeCount--;
if (shakeCount == 0) {
shaking = false;
_global.myRoot._x = 0;
_global.myRoot._y = 0;
}
}
};
setup = function () {
timeText = time;
livesText = lives;
if (countdown > 0) {
countdown--;
} else {
time++;
countdown = 60;
}
if (sound) {
soundSwitch.gotoAndStop("on");
} else {
soundSwitch.gotoAndStop("off");
}
};
failed = function () {
minigameOver = true;
timer.stop();
fail.play();
time = time + 20;
lives = lives - 1;
minigameCount = minigameCount - 1;
};
succeeded = function () {
minigameWon = true;
timer.stop();
pass.play();
minigameCount = minigameCount - 1;
};
rockOn = function () {
if (minigameOver) {
if (fail._currentframe == fail._totalframes) {
fades.play();
}
}
if (minigameWon) {
if (pass._currentframe == pass._totalframes) {
fades.play();
}
}
if (exit) {
if (fades._currentframe == 15) {
fades.gotoAndPlay("fadeOut");
}
}
if (fades._currentframe == fades._totalframes) {
if (exit) {
_global.myRoot.gotoAndPlay("menu");
} else if (lives > 0) {
_global.myRoot.play();
} else {
_global.myRoot.gotoAndStop("gameOver");
}
}
};
Frame 364
stop();
minigameWon = false;
minigameOver = false;
exit = false;
bottlesBlown = 0;
bottleCount = 6;
dx = 0;
dy = 0;
power = 0.5;
friction = 0.95;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(38)) {
dy = dy - power;
}
if (Key.isDown(40)) {
dy = dy + power;
}
if (Key.isDown(32)) {
if (laser0._currentframe == 1) {
laser0.gotoAndPlay(2);
laser1.gotoAndPlay(2);
}
} else {
laser0.gotoAndStop(1);
}
dx = dx * friction;
dy = dy * friction;
if (gun0a._x < 50) {
dx = 0;
gun0a._x = 50;
} else if (gun0a._x > 450) {
dx = 0;
gun0a._x = 450;
}
if (gun1a._y < 150) {
dy = 0;
gun1a._y = 150;
} else if (gun1a._y > 350) {
dy = 0;
gun1a._y = 350;
}
gun0a._x = gun0a._x + dx;
gun0b._x = gun0a._x;
laser0._x = gun0a._x;
gun1a._y = gun1a._y + dy;
gun1b._y = gun1a._y;
laser1._y = gun1a._y;
i = 0;
while (i < bottleCount) {
if (laser0.hitTest(_global.myRoot["item" + i]) and laser1.hitTest(_global.myRoot["item" + i])) {
if (_global.myRoot["item" + i]._currentframe == 1) {
_global.myRoot["item" + i].gotoAndStop(2);
_global.myRoot[("item" + i) + "reflection"].gotoAndStop(2);
itemX = _global.myRoot["item" + i]._x;
itemY = _global.myRoot["item" + i]._y;
bottlesBlown++;
explode();
}
}
i++;
}
if (bottlesBlown == bottleCount) {
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 364
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 365
stop();
minigameWon = false;
minigameOver = false;
exit = false;
watered = 0;
flowerCount = 4;
power = 0.5;
dy = 0;
dx = 0;
friction = 0.95;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(38)) {
dy = dy - power;
}
if (Key.isDown(40)) {
dy = dy + power;
}
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(32)) {
if (rain._currentframe == 1) {
rain.play();
}
} else if (rain._currentframe == 20) {
rain.gotoAndStop(1);
}
if (rain._currentframe == 19) {
i = 0;
while (i < flowerCount) {
if (_global.myRoot["flower" + i].hitTest(rain)) {
if (_global.myRoot["flower" + i]._currentframe == 1) {
_global.myRoot["flower" + i].play();
_global.myRoot[("flower" + i) + "reflection"].play();
watered++;
}
}
i++;
}
}
dx = dx * friction;
dy = dy * friction;
player._x = player._x + dx;
player._y = player._y + dy;
if (player._x < 0) {
player._x = 500;
}
if (player._x > 500) {
player._x = 0;
}
if (player._y < 100) {
player._y = 400;
}
if (player._y > 400) {
player._y = 100;
}
if (rain._currentframe == 1) {
rain._x = player._x;
rain._y = player._y;
}
if (watered == flowerCount) {
player.play();
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 365
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 366
stop();
minigameWon = false;
minigameOver = false;
exit = false;
starCount = 12;
collected = 0;
power = 0.25;
dy = 0;
dx = 0;
friction = 0.95;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(38)) {
dy = dy - power;
}
if (Key.isDown(40)) {
dy = dy + power;
}
dx = dx * friction;
dy = dy * friction;
player._y = player._y + dy;
player._x = player._x + dx;
if (player._x < 0) {
player._x = 500;
}
if (player._x > 500) {
player._x = 0;
}
if (player._y < 100) {
player._y = 400;
}
if (player._y > 400) {
player._y = 100;
}
i = 0;
while (i < starCount) {
if (player.hitTest(_global.myRoot["item" + i])) {
if (_global.myRoot["item" + i]._currentframe == 1) {
_global.myRoot["item" + i].play();
collected = collected + 1;
}
}
i++;
}
if (collected == starCount) {
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 366
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 367
stop();
minigameWon = false;
minigameOver = false;
exit = false;
alienCount = 2;
aliensShot = 0;
dx = 0;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(37)) {
dx = dx - 0.3;
} else {
dx = dx * 0.95;
}
if (Key.isDown(39)) {
dx = dx + 0.3;
} else {
dx = dx * 0.95;
}
if (Key.isDown(32)) {
if (bullet._currentframe == 1) {
bullet.play();
}
}
if (bullet._currentframe == 1) {
bullet._x = player._x;
bullet._y = 330;
}
player._x = player._x + dx;
playerReflection._x = player._x;
if (player._x < 0) {
player._x = 500;
}
if (player._x > 500) {
player._x = 0;
}
i = 0;
while (i < alienCount) {
if (bullet.hitTest(_global.myRoot["alien" + i])) {
bullet.gotoAndStop("loaded");
_global.myRoot["alien" + i].gotoAndStop("dead");
itemX = _global.myRoot["alien" + i]._x;
itemY = _global.myRoot["alien" + i]._y;
explode();
aliensShot++;
}
i++;
}
if (aliensShot == alienCount) {
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 367
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 368
stop();
minigameWon = false;
minigameOver = false;
exit = false;
upCounter = 0;
rightCounter = 0;
downCounter = 0;
leftCounter = 0;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(38)) {
upCounter++;
if (upCounter == 1) {
if (!hitmap.hitTest(ghostie0._x, ghostie0._y - 40, true)) {
ghostie0._y = ghostie0._y - 60;
}
if (!hitmap.hitTest(ghostie1._x, ghostie1._y - 40, true)) {
ghostie1._y = ghostie1._y - 60;
}
exit0.play();
}
} else {
upCounter = 0;
}
if (Key.isDown(39)) {
rightCounter++;
if (rightCounter == 1) {
if (!hitmap.hitTest(ghostie0._x + 40, ghostie0._y, true)) {
ghostie0._x = ghostie0._x + 60;
}
if (!hitmap.hitTest(ghostie1._x + 40, ghostie1._y, true)) {
ghostie1._x = ghostie1._x + 60;
}
exit0.play();
}
} else {
rightCounter = 0;
}
if (Key.isDown(40)) {
downCounter++;
if (downCounter == 1) {
if (!hitmap.hitTest(ghostie0._x, ghostie0._y + 40, true)) {
ghostie0._y = ghostie0._y + 60;
}
if (!hitmap.hitTest(ghostie1._x, ghostie1._y + 40, true)) {
ghostie1._y = ghostie1._y + 60;
}
exit0.play();
}
} else {
downCounter = 0;
}
if (Key.isDown(37)) {
leftCounter++;
if (leftCounter == 1) {
if (!hitmap.hitTest(ghostie0._x - 40, ghostie0._y, true)) {
ghostie0._x = ghostie0._x - 60;
}
if (!hitmap.hitTest(ghostie1._x - 40, ghostie1._y, true)) {
ghostie1._x = ghostie1._x - 60;
}
exit0.play();
}
} else {
leftCounter = 0;
}
if (exit0.hitTest(ghostie0._x, ghostie0._y, true) and exit1.hitTest(ghostie1._x, ghostie1._y, true)) {
ghostie0.gotoAndPlay("happy");
ghostie1.gotoAndPlay("happy");
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 368
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 369
stop();
minigameWon = false;
minigameOver = false;
exit = false;
counter = 0;
keyCounter = 0;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (counter == 0) {
if (Key.isDown(39)) {
keyCounter++;
if (item0._currentframe == 1) {
if (keyCounter == 1) {
item0.gotoAndPlay("off");
counter = 1;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 1) {
if (Key.isDown(39)) {
keyCounter++;
if (item1._currentframe == 1) {
if (keyCounter == 1) {
item1.gotoAndPlay("off");
counter = 2;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 2) {
if (Key.isDown(38)) {
keyCounter++;
if (item2._currentframe == 1) {
if (keyCounter == 1) {
item2.gotoAndPlay("off");
counter = 3;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 3) {
if (Key.isDown(38)) {
keyCounter++;
if (item3._currentframe == 1) {
if (keyCounter == 1) {
item3.gotoAndPlay("off");
counter = 4;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 4) {
if (Key.isDown(39)) {
keyCounter++;
if (item4._currentframe == 1) {
if (keyCounter == 1) {
item4.gotoAndPlay("off");
counter = 5;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 5) {
if (Key.isDown(39)) {
keyCounter++;
if (item5._currentframe == 1) {
if (keyCounter == 1) {
item5.gotoAndPlay("off");
counter = 6;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 6) {
if (Key.isDown(32)) {
keyCounter++;
if (item6._currentframe == 1) {
item6.gotoAndStop("off");
itemX = item6._x;
itemY = item6._y;
explode();
succeeded();
}
} else {
keyCounter = 0;
}
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 369
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 370
stop();
minigameWon = false;
minigameOver = false;
exit = false;
jump = 7;
fall = 1;
jumping = false;
falling = false;
power = 0.5;
dy = 0;
dx = 0;
friction = 0.95;
rockCount = 2;
onEnterFrame = function () {
setup();
shake();
dx = dx * friction;
player._x = player._x + dx;
if (player._x < 35) {
player._x = 35;
}
if (player._x > 465) {
player._x = 465;
}
if (jumping and (!falling)) {
player._y = player._y - jump;
jump = jump * 0.9;
if (jump < 1) {
falling = true;
if (player._currentframe == 10) {
player.play();
}
}
}
if (falling) {
player._y = player._y + fall;
fall = fall * 1.25;
}
if (player._y > 340) {
player._y = 340;
jumping = false;
falling = false;
jump = 7;
fall = 1;
}
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
succeeded();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(32) and (!jumping)) {
jumping = true;
if (player._currentframe == 1) {
player.play();
}
}
i = 0;
while (i < rockCount) {
_global.myRoot["item" + i]._x = _global.myRoot["item" + i]._x - 2;
if (_global.myRoot["item" + i].hitTest(player)) {
player.gotoAndStop("dead");
itemX = player._x;
itemY = player._y;
explode();
failed();
}
i++;
}
mountains._x = mountains._x - 0.5;
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 370
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 371
stop();
minigameWon = false;
minigameOver = false;
exit = false;
bombsBlown = 0;
gravity = 0.03;
power = 0.2;
dy = 0;
dx = 0;
friction = 0.95;
thrust = 0.05;
hitPoints = new Array();
hitPoints.push({x:0, y:-10});
hitPoints.push({x:10, y:0});
hitPoints.push({x:0, y:10});
hitPoints.push({x:-10, y:0});
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(38)) {
dy = dy - power;
}
if (Key.isDown(40)) {
dy = dy + ((power * thrust) / 2);
}
dx = dx * friction;
dy = dy + gravity;
player._y = player._y + dy;
player._x = player._x + dx;
i = 0;
while (i < hitPoints.length) {
if (hitmap.hitTest(player._x + hitPoints[i].x, player._y + hitPoints[i].y, true)) {
if (player._currentframe == 1) {
player.gotoAndStop("dead");
}
itemX = player._x;
itemY = player._y;
explode();
failed();
}
i++;
}
if (pad.hitTest(player.footA) and pad.hitTest(player.footB)) {
if (dy < 1) {
dx = 0;
dy = 0;
player._y = pad._y - 20;
succeeded();
} else {
if (player._currentframe == 1) {
player.gotoAndStop("dead");
}
itemX = player._x;
itemY = player._y;
explode();
failed();
}
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 371
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 372
stop();
minigameWon = false;
minigameOver = false;
exit = false;
bombsBlown = 0;
bombCount = 2;
dx = 0;
dy = 0;
power = 0.5;
friction = 0.95;
blown = new Array();
i = 0;
while (i < 4) {
blown[i] = false;
i++;
}
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(38)) {
dy = dy - power;
}
if (Key.isDown(40)) {
dy = dy + power;
}
if (Key.isDown(32)) {
if (laser0._currentframe == 1) {
laser0.gotoAndPlay(2);
laser1.gotoAndPlay(2);
}
} else {
laser0.gotoAndStop(1);
}
dx = dx * friction;
dy = dy * friction;
if (gun0a._x < 50) {
dx = 0;
gun0a._x = 50;
} else if (gun0a._x > 450) {
dx = 0;
gun0a._x = 450;
}
if (gun1a._y < 150) {
dy = 0;
gun1a._y = 150;
} else if (gun1a._y > 350) {
dy = 0;
gun1a._y = 350;
}
gun0a._x = gun0a._x + dx;
gun0b._x = gun0a._x;
laser0._x = gun0a._x;
gun1a._y = gun1a._y + dy;
gun1b._y = gun1a._y;
laser1._y = gun1a._y;
i = 0;
while (i < 4) {
if (laser0.hitTest(_global.myRoot["bomb" + i]) and laser1.hitTest(_global.myRoot["bomb" + i])) {
if (_global.myRoot["bomb" + i]._currentframe == 1) {
if (blown[i - 1] or (i == 0)) {
blown[i] = true;
_global.myRoot["bomb" + i].gotoAndStop(2);
itemX = _global.myRoot["bomb" + i]._x;
itemY = _global.myRoot["bomb" + i]._y;
bombsBlown++;
explode();
}
}
}
i++;
}
if (bombsBlown == bombCount) {
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 372
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 373
stop();
minigameWon = false;
minigameOver = false;
exit = false;
windowsOn = 0;
upCounter = 0;
rightCounter = 0;
downCounter = 0;
leftCounter = 0;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(38)) {
upCounter++;
if (upCounter == 1) {
outline._y = outline._y - 80;
outline.play();
i = 0;
while (i < 9) {
if (outline.hitTest(_global.myRoot["window" + i])) {
_global.myRoot["window" + i].play();
}
i++;
}
}
} else {
upCounter = 0;
}
if (outline._y < 170) {
outline._y = 170;
}
if (Key.isDown(40)) {
downCounter++;
if (downCounter == 1) {
outline._y = outline._y + 80;
outline.play();
i = 0;
while (i < 9) {
if (outline.hitTest(_global.myRoot["window" + i])) {
_global.myRoot["window" + i].play();
}
i++;
}
}
} else {
downCounter = 0;
}
if (outline._y > 330) {
outline._y = 330;
}
if (Key.isDown(37)) {
leftCounter++;
if (leftCounter == 1) {
outline._x = outline._x - 80;
outline.play();
i = 0;
while (i < 9) {
if (outline.hitTest(_global.myRoot["window" + i])) {
_global.myRoot["window" + i].play();
}
i++;
}
}
} else {
leftCounter = 0;
}
if (outline._x < 170) {
outline._x = 170;
}
if (Key.isDown(39)) {
rightCounter++;
if (rightCounter == 1) {
outline._x = outline._x + 80;
outline.play();
i = 0;
while (i < 9) {
if (outline.hitTest(_global.myRoot["window" + i])) {
_global.myRoot["window" + i].play();
}
i++;
}
}
} else {
rightCounter = 0;
}
if (outline._x > 330) {
outline._x = 330;
}
if (((((((((window0._currentframe == 2) and (window1._currentframe == 2)) and (window2._currentframe == 2)) and (window3._currentframe == 2)) and (window4._currentframe == 2)) and (window5._currentframe == 2)) and (window6._currentframe == 2)) and (window7._currentframe == 2)) and (window8._currentframe == 2)) {
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 373
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 374
stop();
minigameWon = false;
minigameOver = false;
exit = false;
bottleCount = 4;
spaceCounter = 0;
colours.gotoAndStop(random(4) + 1);
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
i = 0;
while (i < bottleCount) {
if (target.hitpoint.hitTest(_global.myRoot["item" + i])) {
if (Key.isDown(32)) {
spaceCounter++;
if (spaceCounter == 1) {
if (i == (colours._currentframe - 1)) {
if (_global.myRoot["item" + i]._currentframe == 1) {
_global.myRoot["item" + i].play();
_global.myRoot[("item" + i) + "reflection"].play();
target.crosshair.play();
itemX = _global.myRoot["item" + i]._x;
itemY = _global.myRoot["item" + i]._y;
explode();
succeeded();
}
} else {
failed();
}
} else {
spaceCounter = 0;
}
}
}
i++;
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 374
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 375
stop();
minigameWon = false;
minigameOver = false;
exit = false;
keyCounter = 0;
gravity = 0.07;
power = 0.7;
dy = 0;
onEnterFrame = function () {
setup();
shake();
player._y = player._y + dy;
playerReflection._y = 360 + ((360 - player._y) * 0.6);
if (player._y > 360) {
player._y = 360;
} else {
dy = dy + gravity;
}
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(32)) {
keyCounter++;
if (keyCounter == 1) {
dy = dy - power;
}
} else {
keyCounter = 0;
}
if ((player._y - (player._height / 2)) < goal._y) {
minigameWon = true;
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 375
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 376
stop();
minigameWon = false;
minigameOver = false;
exit = false;
power = 0.5;
dy = 0;
dx = 0;
friction = 0.95;
onEnterFrame = function () {
setup();
shake();
dx = dx * friction;
dy = dy * friction;
player._y = player._y + dy;
player._x = player._x + dx;
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(38)) {
dy = dy - power;
}
if (Key.isDown(40)) {
dy = dy + power;
}
if (!hitmap.hitTest(player._x, player._y, true)) {
if (player._currentframe == 1) {
player.gotoAndPlay("dead");
}
failed();
}
if (goal.hitTest(player._x, player._y, true)) {
player.gotoAndPlay("bounce");
dx = dx * 0;
dy = dy * 0;
player._x = goal._x;
player._y = goal._y;
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 376
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 377
stop();
minigameWon = false;
minigameOver = false;
exit = false;
starCount = 5;
played = new Array();
i = 0;
while (i < starCount) {
played[i] = false;
i++;
}
power = 1;
dy = 0;
dx = 0;
friction = 0.95;
itemXpos = new Array();
itemXpos[0] = 70;
itemXpos[1] = 160;
itemXpos[2] = 250;
itemXpos[3] = 340;
itemXpos[4] = 430;
i = 0;
while (i < starCount) {
j = Math.floor(Math.random() * itemXpos.length);
_global.myRoot["item" + i]._x = itemXpos[j];
itemXpos.splice(j, 1);
i++;
}
onEnterFrame = function () {
setup();
shake();
dx = dx * friction;
player._x = player._x + dx;
playerReflection._x = player._x;
if (player._x < 0) {
player._x = 500;
}
if (player._x > 500) {
player._x = 0;
}
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
succeeded();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (item4._currentframe > 80) {
if (!played[0]) {
played[0] = true;
played[4] = false;
item0.play();
}
} else if (!played[4]) {
if (!played[0]) {
played[0] = true;
played[4] = false;
item0.play();
}
}
if (item0._currentframe > 80) {
if (!played[1]) {
played[1] = true;
item1.play();
}
}
if (item1._currentframe > 80) {
if (!played[2]) {
played[1] = false;
played[2] = true;
item2.play();
}
}
if (item2._currentframe > 80) {
if (!played[3]) {
played[2] = false;
played[3] = true;
item3.play();
}
}
if (item3._currentframe > 80) {
if (!played[4]) {
played[3] = false;
played[4] = true;
played[0] = false;
item4.play();
}
}
i = 0;
while (i < starCount) {
if (_global.myRoot["item" + i].hitTest(player)) {
if (_global.myRoot["item" + i]._currentframe < 91) {
_global.myRoot["item" + i].stop();
_global.myRoot["item" + i].gotoAndStop("start");
player.play();
stars++;
}
}
if (_global.myRoot["item" + i]._currentframe == _global.myRoot["item" + i]._totalframes) {
itemX = _global.myRoot["item" + i]._x;
itemY = _global.myRoot["item" + i]._y + 290;
explode();
failed();
}
i++;
}
}
} else {
i = 0;
while (i < starCount) {
if (_global.myRoot["item" + i]._alpha > 0) {
_global.myRoot["item" + i]._alpha = _global.myRoot["item" + i]._alpha - 10;
} else {
_global.myRoot["item" + i]._alpha = 0;
}
i++;
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 377
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 452
stop();
minigameWon = false;
minigameOver = false;
exit = false;
bottlesBlown = 0;
bottleCount = 7;
dx = 0;
dy = 0;
power = 0.5;
friction = 0.95;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(38)) {
dy = dy - power;
}
if (Key.isDown(40)) {
dy = dy + power;
}
if (Key.isDown(32)) {
if (laser0._currentframe == 1) {
laser0.gotoAndPlay(2);
laser1.gotoAndPlay(2);
}
} else {
laser0.gotoAndStop(1);
}
dx = dx * friction;
dy = dy * friction;
if (gun0a._x < 50) {
dx = 0;
gun0a._x = 50;
} else if (gun0a._x > 450) {
dx = 0;
gun0a._x = 450;
}
if (gun1a._y < 150) {
dy = 0;
gun1a._y = 150;
} else if (gun1a._y > 350) {
dy = 0;
gun1a._y = 350;
}
gun0a._x = gun0a._x + dx;
gun0b._x = gun0a._x;
laser0._x = gun0a._x;
gun1a._y = gun1a._y + dy;
gun1b._y = gun1a._y;
laser1._y = gun1a._y;
i = 0;
while (i < bottleCount) {
if (laser0.hitTest(_global.myRoot["item" + i]) and laser1.hitTest(_global.myRoot["item" + i])) {
if (_global.myRoot["item" + i]._currentframe == 1) {
_global.myRoot["item" + i].gotoAndStop(2);
_global.myRoot[("item" + i) + "reflection"].gotoAndStop(2);
itemX = _global.myRoot["item" + i]._x;
itemY = _global.myRoot["item" + i]._y;
bottlesBlown++;
explode();
}
}
i++;
}
if (bottlesBlown == bottleCount) {
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 452
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 453
stop();
minigameWon = false;
minigameOver = false;
exit = false;
watered = 0;
flowerCount = 6;
power = 0.5;
dy = 0;
dx = 0;
friction = 0.95;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(38)) {
dy = dy - power;
}
if (Key.isDown(40)) {
dy = dy + power;
}
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(32)) {
if (rain._currentframe == 1) {
rain.play();
}
} else if (rain._currentframe == 20) {
rain.gotoAndStop(1);
}
if (rain._currentframe == 19) {
i = 0;
while (i < flowerCount) {
if (_global.myRoot["flower" + i].hitTest(rain)) {
if (_global.myRoot["flower" + i]._currentframe == 1) {
_global.myRoot["flower" + i].play();
_global.myRoot[("flower" + i) + "reflection"].play();
watered++;
}
}
i++;
}
}
dx = dx * friction;
dy = dy * friction;
player._x = player._x + dx;
player._y = player._y + dy;
if (player._x < 0) {
player._x = 500;
}
if (player._x > 500) {
player._x = 0;
}
if (player._y < 100) {
player._y = 400;
}
if (player._y > 400) {
player._y = 100;
}
if (rain._currentframe == 1) {
rain._x = player._x;
rain._y = player._y;
}
if (watered == flowerCount) {
player.play();
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 453
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 454
stop();
minigameWon = false;
minigameOver = false;
exit = false;
starCount = 12;
collected = 0;
power = 0.25;
dy = 0;
dx = 0;
friction = 0.95;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(38)) {
dy = dy - power;
}
if (Key.isDown(40)) {
dy = dy + power;
}
dx = dx * friction;
dy = dy * friction;
player._y = player._y + dy;
player._x = player._x + dx;
if (player._x < 0) {
player._x = 500;
}
if (player._x > 500) {
player._x = 0;
}
if (player._y < 100) {
player._y = 400;
}
if (player._y > 400) {
player._y = 100;
}
i = 0;
while (i < starCount) {
if (player.hitTest(_global.myRoot["item" + i])) {
if (_global.myRoot["item" + i]._currentframe == 1) {
_global.myRoot["item" + i].play();
collected = collected + 1;
}
}
i++;
}
if (collected == starCount) {
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 454
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 455
stop();
minigameWon = false;
minigameOver = false;
exit = false;
alienCount = 4;
aliensShot = 0;
dx = 0;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(37)) {
dx = dx - 0.3;
} else {
dx = dx * 0.95;
}
if (Key.isDown(39)) {
dx = dx + 0.3;
} else {
dx = dx * 0.95;
}
if (Key.isDown(32)) {
if (bullet._currentframe == 1) {
bullet.play();
}
}
if (bullet._currentframe == 1) {
bullet._x = player._x;
bullet._y = 330;
}
player._x = player._x + dx;
playerReflection._x = player._x;
if (player._x < 0) {
player._x = 500;
}
if (player._x > 500) {
player._x = 0;
}
i = 0;
while (i < alienCount) {
if (bullet.hitTest(_global.myRoot["alien" + i])) {
bullet.gotoAndStop("loaded");
_global.myRoot["alien" + i].gotoAndStop("dead");
itemX = _global.myRoot["alien" + i]._x;
itemY = _global.myRoot["alien" + i]._y;
explode();
aliensShot++;
}
i++;
}
if (aliensShot == alienCount) {
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 455
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 456
stop();
minigameWon = false;
minigameOver = false;
exit = false;
upCounter = 0;
rightCounter = 0;
downCounter = 0;
leftCounter = 0;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(38)) {
upCounter++;
if (upCounter == 1) {
if (!hitmap.hitTest(ghostie0._x, ghostie0._y - 40, true)) {
ghostie0._y = ghostie0._y - 60;
}
if (!hitmap.hitTest(ghostie1._x, ghostie1._y - 40, true)) {
ghostie1._y = ghostie1._y - 60;
}
exit0.play();
}
} else {
upCounter = 0;
}
if (Key.isDown(39)) {
rightCounter++;
if (rightCounter == 1) {
if (!hitmap.hitTest(ghostie0._x + 40, ghostie0._y, true)) {
ghostie0._x = ghostie0._x + 60;
}
if (!hitmap.hitTest(ghostie1._x + 40, ghostie1._y, true)) {
ghostie1._x = ghostie1._x + 60;
}
exit0.play();
}
} else {
rightCounter = 0;
}
if (Key.isDown(40)) {
downCounter++;
if (downCounter == 1) {
if (!hitmap.hitTest(ghostie0._x, ghostie0._y + 40, true)) {
ghostie0._y = ghostie0._y + 60;
}
if (!hitmap.hitTest(ghostie1._x, ghostie1._y + 40, true)) {
ghostie1._y = ghostie1._y + 60;
}
exit0.play();
}
} else {
downCounter = 0;
}
if (Key.isDown(37)) {
leftCounter++;
if (leftCounter == 1) {
if (!hitmap.hitTest(ghostie0._x - 40, ghostie0._y, true)) {
ghostie0._x = ghostie0._x - 60;
}
if (!hitmap.hitTest(ghostie1._x - 40, ghostie1._y, true)) {
ghostie1._x = ghostie1._x - 60;
}
exit0.play();
}
} else {
leftCounter = 0;
}
if (exit0.hitTest(ghostie0._x, ghostie0._y, true) and exit1.hitTest(ghostie1._x, ghostie1._y, true)) {
ghostie0.gotoAndPlay("happy");
ghostie1.gotoAndPlay("happy");
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 456
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 457
stop();
minigameWon = false;
minigameOver = false;
exit = false;
counter = 0;
keyCounter = 0;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (counter == 0) {
if (Key.isDown(38)) {
keyCounter++;
if (item0._currentframe == 1) {
if (keyCounter == 1) {
item0.gotoAndStop(2);
counter = 1;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 1) {
if (Key.isDown(38)) {
keyCounter++;
if (item1._currentframe == 1) {
if (keyCounter == 1) {
item1.gotoAndStop(2);
counter = 2;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 2) {
if (Key.isDown(39)) {
keyCounter++;
if (item2._currentframe == 1) {
if (keyCounter == 1) {
item2.gotoAndStop(2);
counter = 3;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 3) {
if (Key.isDown(39)) {
keyCounter++;
if (item3._currentframe == 1) {
if (keyCounter == 1) {
item3.gotoAndStop(2);
counter = 4;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 4) {
if (Key.isDown(40)) {
keyCounter++;
if (item4._currentframe == 1) {
if (keyCounter == 1) {
item4.gotoAndStop(2);
counter = 5;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 5) {
if (Key.isDown(40)) {
keyCounter++;
if (item5._currentframe == 1) {
if (keyCounter == 1) {
item5.gotoAndStop(2);
counter = 6;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 6) {
if (Key.isDown(39)) {
keyCounter++;
if (item6._currentframe == 1) {
if (keyCounter == 1) {
item6.gotoAndStop(2);
counter = 7;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 7) {
if (Key.isDown(39)) {
keyCounter++;
if (item7._currentframe == 1) {
if (keyCounter == 1) {
item7.gotoAndStop(2);
counter = 8;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 8) {
if (Key.isDown(38)) {
keyCounter++;
if (item8._currentframe == 1) {
if (keyCounter == 1) {
item8.gotoAndStop(2);
counter = 9;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 9) {
if (Key.isDown(38)) {
keyCounter++;
if (item9._currentframe == 1) {
if (keyCounter == 1) {
item9.gotoAndStop(2);
counter = 10;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 10) {
if (Key.isDown(32)) {
keyCounter++;
if (item10._currentframe == 1) {
item10.gotoAndStop(2);
itemX = item10._x;
itemY = item10._y;
explode();
succeeded();
}
} else {
keyCounter = 0;
}
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 457
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 458
stop();
minigameWon = false;
minigameOver = false;
exit = false;
bombsBlown = 0;
bombCount = 3;
dx = 0;
dy = 0;
power = 0.5;
friction = 0.95;
blown = new Array();
i = 0;
while (i < 4) {
blown[i] = false;
i++;
}
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(38)) {
dy = dy - power;
}
if (Key.isDown(40)) {
dy = dy + power;
}
if (Key.isDown(32)) {
if (laser0._currentframe == 1) {
laser0.gotoAndPlay(2);
laser1.gotoAndPlay(2);
}
} else {
laser0.gotoAndStop(1);
}
dx = dx * friction;
dy = dy * friction;
if (gun0a._x < 50) {
dx = 0;
gun0a._x = 50;
} else if (gun0a._x > 450) {
dx = 0;
gun0a._x = 450;
}
if (gun1a._y < 150) {
dy = 0;
gun1a._y = 150;
} else if (gun1a._y > 350) {
dy = 0;
gun1a._y = 350;
}
gun0a._x = gun0a._x + dx;
gun0b._x = gun0a._x;
laser0._x = gun0a._x;
gun1a._y = gun1a._y + dy;
gun1b._y = gun1a._y;
laser1._y = gun1a._y;
i = 0;
while (i < 4) {
if (laser0.hitTest(_global.myRoot["bomb" + i]) and laser1.hitTest(_global.myRoot["bomb" + i])) {
if (_global.myRoot["bomb" + i]._currentframe == 1) {
if (blown[i - 1] or (i == 0)) {
blown[i] = true;
_global.myRoot["bomb" + i].gotoAndStop(2);
itemX = _global.myRoot["bomb" + i]._x;
itemY = _global.myRoot["bomb" + i]._y;
bombsBlown++;
explode();
}
}
}
i++;
}
if (bombsBlown == bombCount) {
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 458
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 459
stop();
minigameWon = false;
minigameOver = false;
exit = false;
jump = 7;
fall = 1;
jumping = false;
falling = false;
power = 0.5;
dy = 0;
dx = 0;
friction = 0.95;
rockCount = 3;
onEnterFrame = function () {
setup();
shake();
dx = dx * friction;
player._x = player._x + dx;
if (player._x < 35) {
player._x = 35;
}
if (player._x > 465) {
player._x = 465;
}
if (jumping and (!falling)) {
player._y = player._y - jump;
jump = jump * 0.9;
if (jump < 1) {
falling = true;
if (player._currentframe == 10) {
player.play();
}
}
}
if (falling) {
player._y = player._y + fall;
fall = fall * 1.25;
}
if (player._y > 340) {
player._y = 340;
jumping = false;
falling = false;
jump = 7;
fall = 1;
}
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
succeeded();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(32) and (!jumping)) {
jumping = true;
if (player._currentframe == 1) {
player.play();
}
}
i = 0;
while (i < rockCount) {
_global.myRoot["item" + i]._x = _global.myRoot["item" + i]._x - 3;
if (_global.myRoot["item" + i].hitTest(player)) {
player.gotoAndStop("dead");
itemX = player._x;
itemY = player._y;
explode();
failed();
}
i++;
}
mountains._x = mountains._x - 0.5;
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 459
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 460
stop();
minigameWon = false;
minigameOver = false;
exit = false;
bombsBlown = 0;
gravity = 0.03;
power = 0.2;
dy = 0;
dx = 0;
friction = 0.95;
thrust = 0.05;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(38)) {
dy = dy - power;
}
if (Key.isDown(40)) {
dy = dy + ((power * thrust) / 2);
}
dx = dx * friction;
dy = dy + gravity;
player._y = player._y + dy;
player._x = player._x + dx;
i = 0;
while (i < hitPoints.length) {
if (hitmap.hitTest(player._x + hitPoints[i].x, player._y + hitPoints[i].y, true)) {
if (player._currentframe == 1) {
player.gotoAndStop("dead");
}
itemX = player._x;
itemY = player._y;
explode();
failed();
}
i++;
}
if (pad.hitTest(player.footA) and pad.hitTest(player.footB)) {
if (dy < 1) {
dx = 0;
dy = 0;
player._y = pad._y - 20;
succeeded();
} else {
if (player._currentframe == 1) {
player.gotoAndStop("dead");
}
itemX = player._x;
itemY = player._y;
explode();
failed();
}
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 460
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 461
stop();
minigameWon = false;
minigameOver = false;
exit = false;
windowsOn = 0;
upCounter = 0;
rightCounter = 0;
downCounter = 0;
leftCounter = 0;
window1.gotoAndStop("on");
window7.gotoAndStop("on");
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(38)) {
upCounter++;
if (upCounter == 1) {
outline._y = outline._y - 80;
outline.play();
i = 0;
while (i < 9) {
if (outline.hitTest(_global.myRoot["window" + i])) {
_global.myRoot["window" + i].play();
}
i++;
}
}
} else {
upCounter = 0;
}
if (outline._y < 170) {
outline._y = 170;
}
if (Key.isDown(40)) {
downCounter++;
if (downCounter == 1) {
outline._y = outline._y + 80;
outline.play();
i = 0;
while (i < 9) {
if (outline.hitTest(_global.myRoot["window" + i])) {
_global.myRoot["window" + i].play();
}
i++;
}
}
} else {
downCounter = 0;
}
if (outline._y > 330) {
outline._y = 330;
}
if (Key.isDown(37)) {
leftCounter++;
if (leftCounter == 1) {
outline._x = outline._x - 80;
outline.play();
i = 0;
while (i < 9) {
if (outline.hitTest(_global.myRoot["window" + i])) {
_global.myRoot["window" + i].play();
}
i++;
}
}
} else {
leftCounter = 0;
}
if (outline._x < 170) {
outline._x = 170;
}
if (Key.isDown(39)) {
rightCounter++;
if (rightCounter == 1) {
outline._x = outline._x + 80;
outline.play();
i = 0;
while (i < 9) {
if (outline.hitTest(_global.myRoot["window" + i])) {
_global.myRoot["window" + i].play();
}
i++;
}
}
} else {
rightCounter = 0;
}
if (outline._x > 330) {
outline._x = 330;
}
if (((((((((window0._currentframe == 2) and (window1._currentframe == 2)) and (window2._currentframe == 2)) and (window3._currentframe == 2)) and (window4._currentframe == 2)) and (window5._currentframe == 2)) and (window6._currentframe == 2)) and (window7._currentframe == 2)) and (window8._currentframe == 2)) {
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 461
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 462
stop();
minigameWon = false;
minigameOver = false;
exit = false;
bottleCount = 8;
bottlesShot = 0;
spaceCounter = 0;
colours.gotoAndStop(random(4) + 1);
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
i = 0;
while (i < bottleCount) {
if (target.hitpoint.hitTest(_global.myRoot["item" + i])) {
if (Key.isDown(32)) {
spaceCounter++;
if (spaceCounter == 1) {
target.crosshair.play();
if ((colours._currentframe == 1) and ((i == 0) or (i == 7))) {
if (_global.myRoot["item" + i]._currentframe == 1) {
_global.myRoot["item" + i].play();
_global.myRoot[("item" + i) + "reflection"].play();
itemX = _global.myRoot["item" + i]._x;
itemY = _global.myRoot["item" + i]._y;
explode();
bottlesShot = bottlesShot + 1;
}
} else if ((colours._currentframe == 2) and ((i == 1) or (i == 6))) {
if (_global.myRoot["item" + i]._currentframe == 1) {
_global.myRoot["item" + i].play();
_global.myRoot[("item" + i) + "reflection"].play();
itemX = _global.myRoot["item" + i]._x;
itemY = _global.myRoot["item" + i]._y;
explode();
bottlesShot = bottlesShot + 1;
}
} else if ((colours._currentframe == 3) and ((i == 2) or (i == 5))) {
if (_global.myRoot["item" + i]._currentframe == 1) {
_global.myRoot["item" + i].play();
_global.myRoot[("item" + i) + "reflection"].play();
itemX = _global.myRoot["item" + i]._x;
itemY = _global.myRoot["item" + i]._y;
explode();
bottlesShot = bottlesShot + 1;
}
} else if ((colours._currentframe == 4) and ((i == 3) or (i == 4))) {
if (_global.myRoot["item" + i]._currentframe == 1) {
_global.myRoot["item" + i].play();
_global.myRoot[("item" + i) + "reflection"].play();
itemX = _global.myRoot["item" + i]._x;
itemY = _global.myRoot["item" + i]._y;
explode();
bottlesShot = bottlesShot + 1;
}
} else {
failed();
}
}
} else {
spaceCounter = 0;
}
}
i++;
}
if (bottlesShot == 2) {
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 462
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 463
stop();
minigameWon = false;
minigameOver = false;
exit = false;
keyCounter = 0;
gravity = 0.07;
power = 0.65;
dy = 0;
onEnterFrame = function () {
setup();
shake();
player._y = player._y + dy;
playerReflection._y = 360 + ((360 - player._y) * 0.6);
if (player._y > 360) {
player._y = 360;
} else {
dy = dy + gravity;
}
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(32)) {
keyCounter++;
if (keyCounter == 1) {
dy = dy - power;
}
} else {
keyCounter = 0;
}
if ((player._y - (player._height / 2)) < goal._y) {
minigameWon = true;
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 463
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 464
stop();
minigameWon = false;
minigameOver = false;
exit = false;
power = 0.5;
dy = 0;
dx = 0;
friction = 0.95;
onEnterFrame = function () {
setup();
shake();
dx = dx * friction;
dy = dy * friction;
player._y = player._y + dy;
player._x = player._x + dx;
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(38)) {
dy = dy - power;
}
if (Key.isDown(40)) {
dy = dy + power;
}
if (!hitmap.hitTest(player._x, player._y, true)) {
if (player._currentframe == 1) {
player.gotoAndPlay("dead");
}
failed();
}
if (goal.hitTest(player._x, player._y, true)) {
player.gotoAndPlay("bounce");
dx = dx * 0;
dy = dy * 0;
player._x = goal._x;
player._y = goal._y;
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 464
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 465
stop();
minigameWon = false;
minigameOver = false;
exit = false;
starCount = 5;
played = new Array();
i = 0;
while (i < starCount) {
played[i] = false;
i++;
}
power = 1;
dy = 0;
dx = 0;
friction = 0.95;
itemXpos = new Array();
itemXpos[0] = 70;
itemXpos[1] = 160;
itemXpos[2] = 250;
itemXpos[3] = 340;
itemXpos[4] = 430;
i = 0;
while (i < starCount) {
j = Math.floor(Math.random() * itemXpos.length);
_global.myRoot["item" + i]._x = itemXpos[j];
itemXpos.splice(j, 1);
i++;
}
onEnterFrame = function () {
setup();
shake();
dx = dx * friction;
player._x = player._x + dx;
playerReflection._x = player._x;
if (player._x < 0) {
player._x = 500;
}
if (player._x > 500) {
player._x = 0;
}
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
succeeded();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (item4._currentframe > 60) {
if (!played[0]) {
played[0] = true;
played[4] = false;
item0.play();
}
} else if (!played[4]) {
if (!played[0]) {
played[0] = true;
played[4] = false;
item0.play();
}
}
if (item0._currentframe > 60) {
if (!played[1]) {
played[1] = true;
item1.play();
}
}
if (item1._currentframe > 60) {
if (!played[2]) {
played[1] = false;
played[2] = true;
item2.play();
}
}
if (item2._currentframe > 60) {
if (!played[3]) {
played[2] = false;
played[3] = true;
item3.play();
}
}
if (item3._currentframe > 60) {
if (!played[4]) {
played[3] = false;
played[4] = true;
played[0] = false;
item4.play();
}
}
i = 0;
while (i < starCount) {
if (_global.myRoot["item" + i].hitTest(player)) {
if (_global.myRoot["item" + i]._currentframe < 91) {
_global.myRoot["item" + i].stop();
_global.myRoot["item" + i].gotoAndStop("start");
player.play();
stars++;
}
}
if (_global.myRoot["item" + i]._currentframe == _global.myRoot["item" + i]._totalframes) {
itemX = _global.myRoot["item" + i]._x;
itemY = _global.myRoot["item" + i]._y + 290;
explode();
failed();
}
i++;
}
}
} else {
i = 0;
while (i < starCount) {
if (_global.myRoot["item" + i]._alpha > 0) {
_global.myRoot["item" + i]._alpha = _global.myRoot["item" + i]._alpha - 10;
} else {
_global.myRoot["item" + i]._alpha = 0;
}
i++;
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 465
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 540
stop();
minigameWon = false;
minigameOver = false;
exit = false;
bottlesBlown = 0;
bottleCount = 12;
dx = 0;
dy = 0;
power = 0.5;
friction = 0.95;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(38)) {
dy = dy - power;
}
if (Key.isDown(40)) {
dy = dy + power;
}
if (Key.isDown(32)) {
if (laser0._currentframe == 1) {
laser0.gotoAndPlay(2);
laser1.gotoAndPlay(2);
}
} else {
laser0.gotoAndStop(1);
}
dx = dx * friction;
dy = dy * friction;
if (gun0a._x < 50) {
dx = 0;
gun0a._x = 50;
} else if (gun0a._x > 450) {
dx = 0;
gun0a._x = 450;
}
if (gun1a._y < 150) {
dy = 0;
gun1a._y = 150;
} else if (gun1a._y > 350) {
dy = 0;
gun1a._y = 350;
}
gun0a._x = gun0a._x + dx;
gun0b._x = gun0a._x;
laser0._x = gun0a._x;
gun1a._y = gun1a._y + dy;
gun1b._y = gun1a._y;
laser1._y = gun1a._y;
i = 0;
while (i < bottleCount) {
if (laser0.hitTest(_global.myRoot["item" + i]) and laser1.hitTest(_global.myRoot["item" + i])) {
if (_global.myRoot["item" + i]._currentframe == 1) {
_global.myRoot["item" + i].gotoAndStop(2);
_global.myRoot[("item" + i) + "reflection"].gotoAndStop(2);
itemX = _global.myRoot["item" + i]._x;
itemY = _global.myRoot["item" + i]._y;
bottlesBlown++;
explode();
}
}
i++;
}
if (bottlesBlown == bottleCount) {
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 540
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 541
stop();
minigameWon = false;
minigameOver = false;
exit = false;
watered = 0;
flowerCount = 10;
power = 0.5;
dy = 0;
dx = 0;
friction = 0.95;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(38)) {
dy = dy - power;
}
if (Key.isDown(40)) {
dy = dy + power;
}
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(32)) {
if (rain._currentframe == 1) {
rain.play();
}
} else if (rain._currentframe == 20) {
rain.gotoAndStop(1);
}
if (rain._currentframe == 19) {
i = 0;
while (i < flowerCount) {
if (_global.myRoot["flower" + i].hitTest(rain)) {
if (_global.myRoot["flower" + i]._currentframe == 1) {
_global.myRoot["flower" + i].play();
_global.myRoot[("flower" + i) + "reflection"].play();
watered++;
}
}
i++;
}
}
dx = dx * friction;
dy = dy * friction;
player._x = player._x + dx;
player._y = player._y + dy;
if (player._x < 0) {
player._x = 500;
}
if (player._x > 500) {
player._x = 0;
}
if (player._y < 100) {
player._y = 400;
}
if (player._y > 400) {
player._y = 100;
}
if (rain._currentframe == 1) {
rain._x = player._x;
rain._y = player._y;
}
if (watered == flowerCount) {
player.play();
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 541
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 542
stop();
minigameWon = false;
minigameOver = false;
exit = false;
starCount = 12;
collected = 0;
power = 0.25;
dy = 0;
dx = 0;
friction = 0.95;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(38)) {
dy = dy - power;
}
if (Key.isDown(40)) {
dy = dy + power;
}
dx = dx * friction;
dy = dy * friction;
player._y = player._y + dy;
player._x = player._x + dx;
if (player._x < 0) {
player._x = 500;
}
if (player._x > 500) {
player._x = 0;
}
if (player._y < 100) {
player._y = 400;
}
if (player._y > 400) {
player._y = 100;
}
i = 0;
while (i < starCount) {
if (player.hitTest(_global.myRoot["item" + i])) {
if (_global.myRoot["item" + i]._currentframe == 1) {
_global.myRoot["item" + i].play();
collected = collected + 1;
}
}
i++;
}
if (collected == starCount) {
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 542
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 543
stop();
minigameWon = false;
minigameOver = false;
exit = false;
alienCount = 6;
aliensShot = 0;
dx = 0;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(37)) {
dx = dx - 0.3;
} else {
dx = dx * 0.95;
}
if (Key.isDown(39)) {
dx = dx + 0.3;
} else {
dx = dx * 0.95;
}
if (Key.isDown(32)) {
if (bullet._currentframe == 1) {
bullet.play();
}
}
if (bullet._currentframe == 1) {
bullet._x = player._x;
bullet._y = 330;
}
player._x = player._x + dx;
playerReflection._x = player._x;
if (player._x < 0) {
player._x = 500;
}
if (player._x > 500) {
player._x = 0;
}
i = 0;
while (i < alienCount) {
if (bullet.hitTest(_global.myRoot["alien" + i])) {
bullet.gotoAndStop("loaded");
_global.myRoot["alien" + i].gotoAndStop("dead");
itemX = _global.myRoot["alien" + i]._x;
itemY = _global.myRoot["alien" + i]._y;
explode();
aliensShot++;
}
i++;
}
if (aliensShot == alienCount) {
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 543
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 544
stop();
minigameWon = false;
minigameOver = false;
exit = false;
upCounter = 0;
rightCounter = 0;
downCounter = 0;
leftCounter = 0;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(38)) {
upCounter++;
if (upCounter == 1) {
if (!hitmap.hitTest(ghostie0._x, ghostie0._y - 40, true)) {
ghostie0._y = ghostie0._y - 60;
}
if (!hitmap.hitTest(ghostie1._x, ghostie1._y - 40, true)) {
ghostie1._y = ghostie1._y - 60;
}
exit0.play();
}
} else {
upCounter = 0;
}
if (Key.isDown(39)) {
rightCounter++;
if (rightCounter == 1) {
if (!hitmap.hitTest(ghostie0._x + 40, ghostie0._y, true)) {
ghostie0._x = ghostie0._x + 60;
}
if (!hitmap.hitTest(ghostie1._x + 40, ghostie1._y, true)) {
ghostie1._x = ghostie1._x + 60;
}
exit0.play();
}
} else {
rightCounter = 0;
}
if (Key.isDown(40)) {
downCounter++;
if (downCounter == 1) {
if (!hitmap.hitTest(ghostie0._x, ghostie0._y + 40, true)) {
ghostie0._y = ghostie0._y + 60;
}
if (!hitmap.hitTest(ghostie1._x, ghostie1._y + 40, true)) {
ghostie1._y = ghostie1._y + 60;
}
exit0.play();
}
} else {
downCounter = 0;
}
if (Key.isDown(37)) {
leftCounter++;
if (leftCounter == 1) {
if (!hitmap.hitTest(ghostie0._x - 40, ghostie0._y, true)) {
ghostie0._x = ghostie0._x - 60;
}
if (!hitmap.hitTest(ghostie1._x - 40, ghostie1._y, true)) {
ghostie1._x = ghostie1._x - 60;
}
exit0.play();
}
} else {
leftCounter = 0;
}
if (exit0.hitTest(ghostie0._x, ghostie0._y, true) and exit1.hitTest(ghostie1._x, ghostie1._y, true)) {
ghostie0.gotoAndPlay("happy");
ghostie1.gotoAndPlay("happy");
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 544
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 545
stop();
minigameWon = false;
minigameOver = false;
exit = false;
counter = 0;
keyCounter = 0;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (counter == 0) {
if (Key.isDown(38)) {
keyCounter++;
if (item0._currentframe == 1) {
if (keyCounter == 1) {
item0.gotoAndStop(2);
counter = 1;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 1) {
if (Key.isDown(39)) {
keyCounter++;
if (item1._currentframe == 1) {
if (keyCounter == 1) {
item1.gotoAndStop(2);
counter = 2;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 2) {
if (Key.isDown(40)) {
keyCounter++;
if (item2._currentframe == 1) {
if (keyCounter == 1) {
item2.gotoAndStop(2);
counter = 3;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 3) {
if (Key.isDown(39)) {
keyCounter++;
if (item3._currentframe == 1) {
if (keyCounter == 1) {
item3.gotoAndStop(2);
counter = 4;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 4) {
if (Key.isDown(38)) {
keyCounter++;
if (item4._currentframe == 1) {
if (keyCounter == 1) {
item4.gotoAndStop(2);
counter = 5;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 5) {
if (Key.isDown(39)) {
keyCounter++;
if (item5._currentframe == 1) {
if (keyCounter == 1) {
item5.gotoAndStop(2);
counter = 6;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 6) {
if (Key.isDown(40)) {
keyCounter++;
if (item6._currentframe == 1) {
if (keyCounter == 1) {
item6.gotoAndStop(2);
counter = 7;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 7) {
if (Key.isDown(39)) {
keyCounter++;
if (item7._currentframe == 1) {
if (keyCounter == 1) {
item7.gotoAndStop(2);
counter = 8;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 8) {
if (Key.isDown(38)) {
keyCounter++;
if (item8._currentframe == 1) {
if (keyCounter == 1) {
item8.gotoAndStop(2);
counter = 9;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 9) {
if (Key.isDown(38)) {
keyCounter++;
if (item9._currentframe == 1) {
if (keyCounter == 1) {
item9.gotoAndStop(2);
counter = 10;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 10) {
if (Key.isDown(37)) {
keyCounter++;
if (item10._currentframe == 1) {
if (keyCounter == 1) {
item10.gotoAndStop(2);
counter = 11;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 11) {
if (Key.isDown(37)) {
keyCounter++;
if (item11._currentframe == 1) {
if (keyCounter == 1) {
item11.gotoAndStop(2);
counter = 12;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 12) {
if (Key.isDown(37)) {
keyCounter++;
if (item12._currentframe == 1) {
if (keyCounter == 1) {
item12.gotoAndStop(2);
counter = 13;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 13) {
if (Key.isDown(37)) {
keyCounter++;
if (item13._currentframe == 1) {
if (keyCounter == 1) {
item13.gotoAndStop(2);
counter = 14;
}
}
} else {
keyCounter = 0;
}
}
if (counter == 14) {
if (Key.isDown(32)) {
keyCounter++;
if (item14._currentframe == 1) {
item14.gotoAndStop(2);
itemX = item14._x;
itemY = item14._y;
explode();
succeeded();
}
} else {
keyCounter = 0;
}
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 545
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 546
stop();
minigameWon = false;
minigameOver = false;
exit = false;
bombsBlown = 0;
bombCount = 4;
dx = 0;
dy = 0;
power = 0.5;
friction = 0.95;
blown = new Array();
i = 0;
while (i < 4) {
blown[i] = false;
i++;
}
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(38)) {
dy = dy - power;
}
if (Key.isDown(40)) {
dy = dy + power;
}
if (Key.isDown(32)) {
if (laser0._currentframe == 1) {
laser0.gotoAndPlay(2);
laser1.gotoAndPlay(2);
}
} else {
laser0.gotoAndStop(1);
}
dx = dx * friction;
dy = dy * friction;
if (gun0a._x < 50) {
dx = 0;
gun0a._x = 50;
} else if (gun0a._x > 450) {
dx = 0;
gun0a._x = 450;
}
if (gun1a._y < 150) {
dy = 0;
gun1a._y = 150;
} else if (gun1a._y > 350) {
dy = 0;
gun1a._y = 350;
}
gun0a._x = gun0a._x + dx;
gun0b._x = gun0a._x;
laser0._x = gun0a._x;
gun1a._y = gun1a._y + dy;
gun1b._y = gun1a._y;
laser1._y = gun1a._y;
i = 0;
while (i < 4) {
if (laser0.hitTest(_global.myRoot["bomb" + i]) and laser1.hitTest(_global.myRoot["bomb" + i])) {
if (_global.myRoot["bomb" + i]._currentframe == 1) {
if (blown[i - 1] or (i == 0)) {
blown[i] = true;
_global.myRoot["bomb" + i].gotoAndStop(2);
itemX = _global.myRoot["bomb" + i]._x;
itemY = _global.myRoot["bomb" + i]._y;
bombsBlown++;
explode();
}
}
}
i++;
}
if (bombsBlown == bombCount) {
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 546
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 547
stop();
minigameWon = false;
minigameOver = false;
exit = false;
jump = 7;
fall = 1;
jumping = false;
falling = false;
power = 0.5;
dy = 0;
dx = 0;
friction = 0.95;
rockCount = 4;
onEnterFrame = function () {
setup();
shake();
dx = dx * friction;
player._x = player._x + dx;
if (player._x < 35) {
player._x = 35;
}
if (player._x > 465) {
player._x = 465;
}
if (jumping and (!falling)) {
player._y = player._y - jump;
jump = jump * 0.9;
if (jump < 1) {
falling = true;
if (player._currentframe == 10) {
player.play();
}
}
}
if (falling) {
player._y = player._y + fall;
fall = fall * 1.25;
}
if (player._y > 340) {
player._y = 340;
jumping = false;
falling = false;
jump = 7;
fall = 1;
}
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
succeeded();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(32) and (!jumping)) {
jumping = true;
if (player._currentframe == 1) {
player.play();
}
}
i = 0;
while (i < rockCount) {
_global.myRoot["item" + i]._x = _global.myRoot["item" + i]._x - 4;
if (_global.myRoot["item" + i].hitTest(player)) {
player.gotoAndStop("dead");
itemX = player._x;
itemY = player._y;
explode();
failed();
}
i++;
}
mountains._x = mountains._x - 0.5;
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 547
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 548
stop();
minigameWon = false;
minigameOver = false;
exit = false;
bombsBlown = 0;
gravity = 0.03;
power = 0.2;
dy = 0;
dx = 0;
friction = 0.95;
thrust = 0.05;
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(38)) {
dy = dy - power;
}
if (Key.isDown(40)) {
dy = dy + ((power * thrust) / 2);
}
dx = dx * friction;
dy = dy + gravity;
player._y = player._y + dy;
player._x = player._x + dx;
i = 0;
while (i < hitPoints.length) {
if (hitmap.hitTest(player._x + hitPoints[i].x, player._y + hitPoints[i].y, true)) {
if (player._currentframe == 1) {
player.gotoAndStop("dead");
}
itemX = player._x;
itemY = player._y;
explode();
failed();
}
i++;
}
if (pad.hitTest(player.footA) and pad.hitTest(player.footB)) {
if (dy < 1) {
dx = 0;
dy = 0;
player._y = pad._y - 20;
succeeded();
} else {
if (player._currentframe == 1) {
player.gotoAndStop("dead");
}
itemX = player._x;
itemY = player._y;
explode();
failed();
}
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 548
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 549
stop();
minigameWon = false;
minigameOver = false;
exit = false;
windowsOn = 0;
upCounter = 0;
rightCounter = 0;
downCounter = 0;
leftCounter = 0;
window0.gotoAndStop("on");
window2.gotoAndStop("on");
window4.gotoAndStop("on");
window6.gotoAndStop("on");
window8.gotoAndStop("on");
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(38)) {
upCounter++;
if (upCounter == 1) {
outline._y = outline._y - 80;
outline.play();
i = 0;
while (i < 9) {
if (outline.hitTest(_global.myRoot["window" + i])) {
_global.myRoot["window" + i].play();
}
i++;
}
}
} else {
upCounter = 0;
}
if (outline._y < 170) {
outline._y = 170;
}
if (Key.isDown(40)) {
downCounter++;
if (downCounter == 1) {
outline._y = outline._y + 80;
outline.play();
i = 0;
while (i < 9) {
if (outline.hitTest(_global.myRoot["window" + i])) {
_global.myRoot["window" + i].play();
}
i++;
}
}
} else {
downCounter = 0;
}
if (outline._y > 330) {
outline._y = 330;
}
if (Key.isDown(37)) {
leftCounter++;
if (leftCounter == 1) {
outline._x = outline._x - 80;
outline.play();
i = 0;
while (i < 9) {
if (outline.hitTest(_global.myRoot["window" + i])) {
_global.myRoot["window" + i].play();
}
i++;
}
}
} else {
leftCounter = 0;
}
if (outline._x < 170) {
outline._x = 170;
}
if (Key.isDown(39)) {
rightCounter++;
if (rightCounter == 1) {
outline._x = outline._x + 80;
outline.play();
i = 0;
while (i < 9) {
if (outline.hitTest(_global.myRoot["window" + i])) {
_global.myRoot["window" + i].play();
}
i++;
}
}
} else {
rightCounter = 0;
}
if (outline._x > 330) {
outline._x = 330;
}
if (((((((((window0._currentframe == 2) and (window1._currentframe == 2)) and (window2._currentframe == 2)) and (window3._currentframe == 2)) and (window4._currentframe == 2)) and (window5._currentframe == 2)) and (window6._currentframe == 2)) and (window7._currentframe == 2)) and (window8._currentframe == 2)) {
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 549
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 550
stop();
minigameWon = false;
minigameOver = false;
exit = false;
bottleCount = 12;
bottlesShot = 0;
spaceCounter = 0;
colours.gotoAndStop(random(4) + 1);
onEnterFrame = function () {
setup();
shake();
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
i = 0;
while (i < bottleCount) {
if (target.hitpoint.hitTest(_global.myRoot["item" + i])) {
if (Key.isDown(32)) {
spaceCounter++;
if (spaceCounter == 1) {
target.crosshair.play();
if ((colours._currentframe == 1) and (((i == 0) or (i == 4)) or (i == 8))) {
if (_global.myRoot["item" + i]._currentframe == 1) {
_global.myRoot["item" + i].play();
_global.myRoot[("item" + i) + "reflection"].play();
itemX = _global.myRoot["item" + i]._x;
itemY = _global.myRoot["item" + i]._y;
explode();
bottlesShot = bottlesShot + 1;
}
} else if ((colours._currentframe == 2) and (((i == 1) or (i == 5)) or (i == 9))) {
if (_global.myRoot["item" + i]._currentframe == 1) {
_global.myRoot["item" + i].play();
_global.myRoot[("item" + i) + "reflection"].play();
itemX = _global.myRoot["item" + i]._x;
itemY = _global.myRoot["item" + i]._y;
explode();
bottlesShot = bottlesShot + 1;
}
} else if ((colours._currentframe == 3) and (((i == 2) or (i == 6)) or (i == 10))) {
if (_global.myRoot["item" + i]._currentframe == 1) {
_global.myRoot["item" + i].play();
_global.myRoot[("item" + i) + "reflection"].play();
itemX = _global.myRoot["item" + i]._x;
itemY = _global.myRoot["item" + i]._y;
explode();
bottlesShot = bottlesShot + 1;
}
} else if ((colours._currentframe == 4) and (((i == 3) or (i == 7)) or (i == 11))) {
if (_global.myRoot["item" + i]._currentframe == 1) {
_global.myRoot["item" + i].play();
_global.myRoot[("item" + i) + "reflection"].play();
itemX = _global.myRoot["item" + i]._x;
itemY = _global.myRoot["item" + i]._y;
explode();
bottlesShot = bottlesShot + 1;
}
} else {
failed();
}
}
} else {
spaceCounter = 0;
}
}
i++;
}
if (bottlesShot == 3) {
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 550
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 551
stop();
minigameWon = false;
minigameOver = false;
exit = false;
keyCounter = 0;
gravity = 0.07;
power = 0.65;
dy = 0;
onEnterFrame = function () {
setup();
shake();
player._y = player._y + dy;
playerReflection._y = 360 + ((360 - player._y) * 0.6);
if (player._y > 360) {
player._y = 360;
} else {
dy = dy + gravity;
}
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(32)) {
keyCounter++;
if (keyCounter == 1) {
dy = dy - power;
}
} else {
keyCounter = 0;
}
if ((player._y - (player._height / 2)) < goal._y) {
minigameWon = true;
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 551
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 552
stop();
minigameWon = false;
minigameOver = false;
exit = false;
power = 0.5;
dy = 0;
dx = 0;
friction = 0.95;
onEnterFrame = function () {
setup();
shake();
dx = dx * friction;
dy = dy * friction;
player._y = player._y + dy;
player._x = player._x + dx;
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
failed();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (Key.isDown(38)) {
dy = dy - power;
}
if (Key.isDown(40)) {
dy = dy + power;
}
if (!hitmap.hitTest(player._x, player._y, true)) {
if (player._currentframe == 1) {
player.gotoAndPlay("dead");
}
failed();
}
if (goal.hitTest(player._x, player._y, true)) {
player.gotoAndPlay("bounce");
dx = dx * 0;
dy = dy * 0;
player._x = goal._x;
player._y = goal._y;
succeeded();
}
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 552
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 553
stop();
minigameWon = false;
minigameOver = false;
exit = false;
starCount = 5;
played = new Array();
i = 0;
while (i < starCount) {
played[i] = false;
i++;
}
power = 1;
dy = 0;
dx = 0;
friction = 0.95;
itemXpos = new Array();
itemXpos[0] = 70;
itemXpos[1] = 160;
itemXpos[2] = 250;
itemXpos[3] = 340;
itemXpos[4] = 430;
i = 0;
while (i < starCount) {
j = Math.floor(Math.random() * itemXpos.length);
_global.myRoot["item" + i]._x = itemXpos[j];
itemXpos.splice(j, 1);
i++;
}
onEnterFrame = function () {
setup();
shake();
dx = dx * friction;
player._x = player._x + dx;
playerReflection._x = player._x;
if (player._x < 0) {
player._x = 500;
}
if (player._x > 500) {
player._x = 0;
}
if (((!minigameOver) and (!minigameWon)) and (!exit)) {
if (timer._currentframe == timer._totalframes) {
succeeded();
} else {
if (Key.isDown(37)) {
dx = dx - power;
}
if (Key.isDown(39)) {
dx = dx + power;
}
if (item4._currentframe > 40) {
if (!played[0]) {
played[0] = true;
played[4] = false;
item0.play();
}
} else if (!played[4]) {
if (!played[0]) {
played[0] = true;
played[4] = false;
item0.play();
}
}
if (item0._currentframe > 40) {
if (!played[1]) {
played[1] = true;
item1.play();
}
}
if (item1._currentframe > 40) {
if (!played[2]) {
played[1] = false;
played[2] = true;
item2.play();
}
}
if (item2._currentframe > 40) {
if (!played[3]) {
played[2] = false;
played[3] = true;
item3.play();
}
}
if (item3._currentframe > 40) {
if (!played[4]) {
played[3] = false;
played[4] = true;
played[0] = false;
item4.play();
}
}
i = 0;
while (i < starCount) {
if (_global.myRoot["item" + i].hitTest(player)) {
if (_global.myRoot["item" + i]._currentframe < 91) {
_global.myRoot["item" + i].stop();
_global.myRoot["item" + i].gotoAndStop("start");
player.play();
stars++;
}
}
if (_global.myRoot["item" + i]._currentframe == _global.myRoot["item" + i]._totalframes) {
itemX = _global.myRoot["item" + i]._x;
itemY = _global.myRoot["item" + i]._y + 290;
explode();
failed();
}
i++;
}
}
} else {
i = 0;
while (i < starCount) {
if (_global.myRoot["item" + i]._alpha > 0) {
_global.myRoot["item" + i]._alpha = _global.myRoot["item" + i]._alpha - 10;
} else {
_global.myRoot["item" + i]._alpha = 0;
}
i++;
}
}
rockOn();
};
Instance of Symbol 100 MovieClip in Frame 553
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 554
stop();
cursor.gotoAndStop(random(12) + 1);
submit = false;
replay = false;
time = time + (minigameCount * 20);
finalTimeText = ("final time: " + time) + " secs!";
buttonSubmit.onPress = function () {
submit = true;
replay = false;
fades.play();
};
buttonReplay.onPress = function () {
replay = true;
submit = false;
fades.play();
};
buttonLink.onRelease = function () {
getURL ("http://www.ninjadoodle.com/", "_blank");
};
onEnterFrame = function () {
if (sound) {
soundSwitch.gotoAndStop("on");
} else {
soundSwitch.gotoAndStop("off");
}
if (fades._currentframe == fades._totalframes) {
if (submit) {
gotoAndStop ("submit");
}
if (replay) {
gotoAndStop ("menu");
}
}
};
Instance of Symbol 100 MovieClip in Frame 554
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Frame 555
stop();
cursor.gotoAndStop(random(12) + 1);
submit = false;
replay = false;
time = time + (minigameCount * 20);
finalTimeText = ("final time: " + time) + " secs!";
buttonSubmit.onPress = function () {
submit = true;
replay = false;
fades.play();
};
buttonReplay.onPress = function () {
replay = true;
submit = false;
fades.play();
};
buttonLink.onRelease = function () {
getURL ("http://www.ninjadoodle.com/", "_blank");
};
onEnterFrame = function () {
if (sound) {
soundSwitch.gotoAndStop("on");
} else {
soundSwitch.gotoAndStop("off");
}
if (fades._currentframe == fades._totalframes) {
if (submit) {
gotoAndStop ("submit");
}
if (replay) {
gotoAndStop ("menu");
}
}
};
Instance of Symbol 100 MovieClip in Frame 555
on (keyPress "s") {
if (_global.myRoot.sound) {
_global.myRoot.sound = false;
_global.myRoot.globalSound.setVolume(0);
} else {
_global.myRoot.sound = true;
_global.myRoot.globalSound.setVolume(100);
}
}
on (keyPress "q") {
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";
}
}
on (keyPress "e") {
if (!_global.myRoot.exit) {
_global.myRoot.exit = true;
}
}
Symbol 4 MovieClip [particle] Frame 15
stop();
this.removeMovieClip();
Symbol 52 MovieClip Frame 1
play();
Symbol 52 MovieClip Frame 15
stop();
Symbol 52 MovieClip Frame 16
play();
Symbol 52 MovieClip Frame 29
stop();
Symbol 58 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 2
play();
Symbol 58 MovieClip Frame 15
stop();
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 2
stop();
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 2
play();
Symbol 76 MovieClip Frame 10
stop();
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 2
play();
Symbol 79 MovieClip Frame 10
stop();
Symbol 93 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 2
play();
Symbol 93 MovieClip Frame 50
stop();
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 2
play();
Symbol 96 MovieClip Frame 50
stop();
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 2
stop();
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 2
play();
Symbol 109 MovieClip Frame 30
stop();
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 2
play();
Symbol 111 MovieClip Frame 30
stop();
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 2
play();
Symbol 113 MovieClip Frame 30
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 2
play();
Symbol 115 MovieClip Frame 30
stop();
Symbol 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 2
play();
Symbol 118 MovieClip Frame 20
stop();
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 2
play();
Symbol 126 MovieClip Frame 10
stop();
Symbol 132 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 2
play();
Symbol 132 MovieClip Frame 10
stop();
Symbol 138 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 2
stop();
Symbol 145 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 2
play();
Symbol 150 MovieClip Frame 120
gotoAndPlay ("alive");
Symbol 150 MovieClip Frame 121
stop();
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 2
play();
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 2
play();
Symbol 171 MovieClip Frame 10
stop();
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 2
stop();
Symbol 193 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 2
play();
Symbol 193 MovieClip Frame 10
stop();
Symbol 193 MovieClip Frame 11
play();
Symbol 193 MovieClip Frame 21
gotoAndStop ("alive");
Symbol 193 MovieClip Frame 22
stop();
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 2
stop();
Symbol 211 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 2
stop();
Symbol 213 MovieClip Frame 1
stop();
Symbol 213 MovieClip Frame 2
stop();
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 2
stop();
Symbol 223 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 2
play();
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 2
stop();
Symbol 230 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 2
stop();
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 2
stop();
Symbol 234 MovieClip Frame 1
stop();
Symbol 234 MovieClip Frame 2
stop();
Symbol 237 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 2
play();
Symbol 247 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 2
stop();
Symbol 247 MovieClip Frame 3
stop();
Symbol 247 MovieClip Frame 4
stop();
Symbol 270 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 2
play();
Symbol 270 MovieClip Frame 11
stop();
Symbol 270 MovieClip Frame 12
play();
Symbol 270 MovieClip Frame 32
gotoAndPlay ("bounce");
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 303 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 2
stop();
Symbol 350 MovieClip Frame 1
stop();
Symbol 350 MovieClip Frame 2
stop();
Symbol 402 MovieClip Frame 1
stop();
Symbol 402 MovieClip Frame 2
stop();
Symbol 402 MovieClip Frame 3
stop();
Symbol 402 MovieClip Frame 4
stop();
Symbol 402 MovieClip Frame 5
stop();
Symbol 402 MovieClip Frame 6
stop();
Symbol 402 MovieClip Frame 7
stop();
Symbol 402 MovieClip Frame 8
stop();
Symbol 402 MovieClip Frame 9
stop();
Symbol 402 MovieClip Frame 10
stop();
Symbol 402 MovieClip Frame 11
stop();
Symbol 402 MovieClip Frame 12
stop();