Frame 1
stop();
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
_root.menu = myMenu;
Frame 2
var globalSpeed = 1;
var stageGoal = 750000;
var airDepletion = 0.5;
var level = 1;
var fog = false;
Frame 3
function pauseScreen() {
if ((Key.isDown(80) && (keyActive == false)) && (gamePaused == false)) {
keyActive = true;
gamePaused = true;
pauseRight = true;
trace("paused!");
shel = attachMovie("pauseStuff", "pStuff", _root.k++);
shel._x = camera._x;
shel._y = camera._y;
} else if (((Key.isDown(80) && (keyActive == false)) && (gamePaused == true)) && (pauseRight == true)) {
keyActive = true;
gamePaused = false;
pauseRight = false;
pStuff.removeMovieClip();
trace("resumed!");
}
if (!Key.isDown(80)) {
keyActive = false;
}
}
function bubbles() {
bubCounter++;
if (bubCounter == 8) {
bubCounter = 0;
loadBubble((((random(1000) - 500) + camera._x) + random(550)) - (camera._x / 2), camera._y + 400);
}
}
function loadBubble(stX, stY) {
switch (random(2)) {
case 0 :
shel = _root.attachMovie("bubble", "b" + k, k++);
break;
case 1 :
shel = _root.attachMovie("bubble2", "b" + k, k++);
}
shel._x = stX;
shel._y = stY;
shel._xscale = random(100) + 50;
shel._yscale = shel._xscale;
}
function quoteVitals() {
var1 = Math.floor(camera._x);
var2 = Math.floor(camera._y);
var3 = Math.floor(cameraLens._x);
var4 = Math.floor(cameraLens._y);
var5 = Math.floor(_x);
var6 = Math.floor(_y);
var7 = bmp1hold._x;
var8 = bmp1hold._y;
}
function flashDepth() {
darkCamera.swapDepths(k++);
follower.swapDepths(k++);
cameraLens.swapDepths(k++);
cursor.swapDepths(k++);
}
function followers() {
follower._x = camera._x;
follower._y = camera._y;
cameraLens._x = camera._x;
cameraLens._y = camera._y;
}
function alterChances(type) {
_root["arr" + type][4] = random(_root["arr" + type][3] * 2);
}
function surfaceMonitoring() {
if (depth == 0) {
gamePaused = true;
shel = attachMovie("surface", "surf" + k, k++);
shel._x = camera._x;
shel._y = camera._y;
cursor._visible = false;
Mouse.show();
depth = 200;
}
}
function fishMonitor() {
i = 0;
while (i < arrFishTypes.length) {
_root["arr" + arrFishTypes[i]][5]++;
if (_root["arr" + arrFishTypes[i]][5] == _root["arr" + arrFishTypes[i]][4]) {
_root["arr" + arrFishTypes[i]][5] = 0;
alterChances(arrFishTypes[i]);
loadFish(arrFishTypes[i]);
}
i++;
}
}
function loadFish(type) {
shel = attachMovie("load" + type, fishNumber(), k++);
shel._y = (_root["arr" + type][1] * 20) - random((_root["arr" + type][1] * 20) - (_root["arr" + type][0] * 20));
shel._xscale = random(250) + 50;
shel._yscale = shel._xscale;
shel.alive = true;
shel.score = _root["arr" + type][3];
shel.nombre = _root["arr" + type][6];
assignSwimStyle(shel);
}
function swim(mov, speed) {
mov._x = mov._x - speed;
}
function assignSwimStyle(mov) {
switch (random(2)) {
case 0 :
mov._x = 1100;
mov.xSpeed = (random(8) + 1) * globalSpeed;
mov.ySpeed = (3 - random(6)) * globalSpeed;
mov._rotation = 6 - random(3);
mov.onEnterFrame = function () {
if (!_root.gamePaused) {
mov._x = mov._x - mov.xSpeed;
mov._y = mov._y + mov.ySpeed;
if ((mov._x > 1200) || (mov._x < -1200)) {
mov.removeMovieClip();
}
}
};
break;
case 1 :
mov._x = -1100;
mov.xSpeed = (random(8) + 1) * globalSpeed;
mov.ySpeed = (3 - random(6)) * globalSpeed;
mov._rotation = 6 - random(3);
mov.onEnterFrame = function () {
if (!_root.gamePaused) {
mov._x = mov._x + mov.xSpeed;
mov._y = mov._y + mov.ySpeed;
if ((mov._x > 1200) || (mov._x < -1200)) {
mov.removeMovieClip();
}
}
};
mov._xscale = mov._xscale * -1;
}
}
function fishNumber() {
fishName++;
return("f" + fishName);
}
function airIntake() {
air = air - ((airDepletion * follower.depth.feet._rotation) / 75);
follower.pressure.air._rotation = (-(startingAir / air)) * 225;
if (follower.pressure.air._rotation <= 21) {
follower.pressure.redMark.play();
}
if (follower.pressure.air._rotation <= 0) {
gamePaused = true;
shel = _root.attachMovie("outOfAir", "outOfAir", k++);
shel._x = camera._x;
shel._y = camera._y;
cursor._visible = false;
Mouse.show();
}
}
function depthConversion() {
if (!activateCamera) {
depth = depth + ((((((_ymouse - camera._y) / 160) * cameraSpeed) * 100) / 0.3) / 250);
if (camera._y > 2700) {
camera._y = 2700;
}
if (camera._y < 0) {
camera._y = 0;
}
if (depth < 0) {
depth = 0;
depthSpeed = 0;
}
if (depth > 2700) {
depth = 2700;
depthSpeed = 300;
}
follower.depth.feet._rotation = depth / 20;
follower.depth.temp._rotation = (-depth) / 80;
}
}
function smartArrow() {
if (cursor._y < camera._y) {
if (cursor._x < (camera._x - 100)) {
cursor._rotation = 315;
} else if (cursor._x > (camera._x + 100)) {
cursor._rotation = 45;
} else {
cursor._rotation = 0;
}
} else if (cursor._y > camera._y) {
if (cursor._x < (camera._x - 100)) {
cursor._rotation = 220;
} else if (cursor._x > (camera._x + 100)) {
cursor._rotation = 135;
} else {
cursor._rotation = 180;
}
}
}
function cameraControl() {
if (!activateCamera) {
easing("y", camera, depth, 0.3);
camera._x = camera._x + (((_xmouse - camera._x) / 160) * cameraSpeed);
if (camera._x < -180) {
camera._x = -180;
}
if (camera._x > 700) {
camera._x = 700;
}
} else {
camera._y = camera._y + ((((_ymouse - camera._y) / 160) * cameraSpeed) * 4);
camera._x = camera._x + ((((_xmouse - camera._x) / 160) * cameraSpeed) * 4);
if (camera._x < setLeftX) {
camera._x = setLeftX;
}
if (camera._x > setRightX) {
camera._x = setRightX;
}
if (camera._y < setTopY) {
camera._y = setTopY;
}
if (camera._y > setBottomY) {
camera._y = setBottomY;
}
}
}
function zoom() {
if (Key.isDown(32) && (activateCamera == false)) {
activateCamera = true;
shel = _root.attachMovie("cameraLens", "cameraLens", k++);
shel._x = camera._x;
shel._y = camera._y;
follower._visible = false;
cursor._visible = false;
setPointX = camera._x;
setPointY = camera._y;
setLeftX = camera._x - 200;
setRightX = camera._x + 200;
setTopY = camera._y - 200;
setBottomY = camera._y + 200;
}
if ((!Key.isDown(32)) && (activateCamera == true)) {
activateCamera = false;
follower._visible = true;
camera._xscale = 100;
camera._yscale = 100;
cameraLens.removeMovieClip();
cursor._visible = true;
}
}
function viewFinder() {
if (activateCamera) {
cameraLens.filmCount = film;
}
}
function easing(pro, mov1, mov2, drift) {
switch (pro) {
case "x" :
mov1._x = mov1._x - (drift * ((mov1._x - mov2) / 2));
break;
case "y" :
mov1._y = mov1._y - (drift * ((mov1._y - mov2) / 2));
break;
case "xscale" :
mov1._xscale = mov1._xscale - (drift * ((mov1._xscale - mov2) / 2));
break;
case "yscale" :
mov1._yscale = mov1._yscale - (drift * ((mov1._yscale - mov2) / 2));
break;
case "width" :
mov1._width = mov1._width - (drift * ((mov1._width - mov2) / 2));
break;
case "height" :
mov1._height = mov1._height - (drift * ((mov1._height - mov2) / 2));
break;
case "alpha" :
mov1._alpha = mov1._alpha - (drift * ((mov1._alpha - mov2) / 2));
break;
case "rotation" :
mov1._rotation = mov1._rotation - (drift * ((mov1._rotation - mov2) / 2));
}
}
function dist(x1, y1, x2, y2) {
return(Math.sqrt(((x2 - x1) * (x2 - x1)) + ((y2 - y1) * (y2 - y1))));
}
function rot(circx, circy, prevx, prevy) {
if ((circx < prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / Math.PI;
return(degrees + 90);
}
if ((circx < prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / Math.PI;
return(90 - degrees);
}
if ((circx > prevx) && (circy < prevy)) {
angle = Math.atan(Math.abs(circx - prevx) / Math.abs(circy - prevy));
degrees = (angle * 180) / Math.PI;
return(-(180 - degrees));
}
if ((circx > prevx) && (circy > prevy)) {
angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
degrees = (angle * 180) / Math.PI;
return(-(90 - degrees));
}
}
function stageReset() {
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
_root[i].removeMovieClip();
}
}
}
function takePicture() {
if ((activateCamera && (gamePaused == false)) && (film > 0)) {
trace("click!");
gamePaused = true;
cameraLens.removeMovieClip();
var _local8 = new flash.geom.Matrix();
_local8.tx = _x;
_local8.ty = _y;
pictures[filmUp].draw(_root, _local8);
shel = attachMovie("faderClip", "fade", k++);
shel._x = camera._x;
shel._y = camera._y;
shel.createEmptyMovieClip("flip", k++);
shel.flip.attachBitmap(pictures[filmUp], 1001);
shel.flip._x = -275;
shel.flip._y = -200;
tap = shel.attachMovie("whiteFade", "fade2", k++);
totalScore = 0;
var _local4 = 0;
var _local5 = true;
var _local3 = " ";
var _local7 = true;
var _local6 = true;
outList = newline;
outList2 = newline;
outList3 = newline;
outList4 = newline;
i = 0;
while (i < (fishName + 1)) {
if (_root["f" + i].alive) {
temp = Math.floor(((340 - dist(_root["f" + i]._x, _root["f" + i]._y, camera._x, camera._y)) / 340) * 100);
if ((temp > 20) && (_root["f" + i].hitTest(camera))) {
temp2 = _root["f" + i].score * (_root["f" + i]._yscale / 10);
var _local2 = Number(temp) * Number(temp2);
score2(String(_local2));
score(("<b>" + _root["f" + i].nombre) + "</b> ");
score3(("Centering: " + temp) + "%");
score4("Size: " + temp2);
score(newline);
score2(newline);
score3(newline);
score4(newline);
totalScore = totalScore + _local2;
_local4++;
trace(_root["f" + i].nombre);
if (_local3 == " ") {
_local3 = _root["f" + i].nombre;
} else if ((_local3 != _root["f" + i].nombre) && (_local5 == true)) {
_local5 = false;
}
if (temp < 90) {
_local7 = false;
}
if (_root["f" + i]._yscale > 100) {
_local6 = false;
}
}
}
i++;
}
if ((_local4 > 0) && (_local7)) {
temp4 = _local4 * 10000;
totalScore = totalScore + temp4;
score("Good Framing \n");
score2(temp4 + " \n");
}
if (_local4 > 1) {
temp4 = (_local4 * 15000) - 15000;
totalScore = totalScore + temp4;
score("Multiple Fish \n");
score2(temp4 + " \n");
}
if ((_local4 > 1) && (_local5 == true)) {
temp4 = _local4 * 20000;
totalScore = totalScore + temp4;
score("Same Fish \n");
score2(temp4 + " \n");
}
if ((_local4 > 0) && (_local6 == true)) {
temp4 = _local4 * -20000;
totalScore = totalScore + temp4;
score("Small Fish");
score2(String(temp4));
}
if (totalScore > bestScore) {
bestPicture = filmUp;
}
scores[filmUp] = Number(totalScore);
film--;
filmUp++;
}
}
function score(addition) {
outList = outList + addition;
}
function score2(addition) {
outList2 = outList2 + addition;
}
function score3(addition) {
outList3 = outList3 + addition;
}
function score4(addition) {
outList4 = outList4 + addition;
}
function score5(addition) {
outList5 = outList5 + addition;
}
stopAllSounds();
var keyActive = false;
var gamePaused = true;
attachMovie("intro", "intro" + _root.k, _root.k++);
Mouse.hide();
var shots = new Array();
var newX;
var newY;
var oldX;
var oldY;
var bestScore = 0;
var bestPicture = 0;
var outList = newline;
var outList2 = newline;
var outList3 = newline;
var outList4 = newline;
var pauseRight = false;
var pictures = new Array();
var scores = new Array();
i = 0;
while (i < 50) {
pictures[i] = new flash.display.BitmapData(Stage.width, Stage.height);
scores[i] = 0;
i++;
}
var cameraSpeed = 4;
var pixelDepth = 0;
var depthSpeed = 0;
var actualDepth;
var depth = 400;
var k = 2;
var filmLeftDisp;
var film = 50;
var filmUp = 0;
var fishName = 0;
var startingAir = 3300;
var air = startingAir;
var activateCamera = false;
var setPointX;
var setPointY;
var setLeftX;
var setRightX;
var setTopY;
var setBottomY;
var bubCounter = 0;
var arrThreadfinButterfly = new Array(50, 110, 2, 200, 300, 0, "ThreadFin Butterfly");
var arrUnicornFish = new Array(40, 100, 3, 300, 400, 0, "Unicorn Fish");
var arrRaccoonFish = new Array(10, 70, 1, 100, 200, 0, "Raccoon Butterfly");
var arrYellowTang = new Array(20, 60, 1, 100, 200, 0, "Yellow Tang");
var arrMoorishIdol = new Array(10, 50, 5, 400, 600, 0, "Moorish Idol");
var arrTriggerFish = new Array(30, 100, 3, 300, 400, 0, "Triggerfish");
var arrTrumpetFish = new Array(20, 70, 6, 400, 700, 0, "Trumpet Fish");
var arrParrotFish = new Array(10, 120, 4, 400, 500, 0, "Parrotfish");
var arrTurtle = new Array(30, 70, 9, 500, 1000, 0, "Green Sea Turtle");
var arrShark = new Array(90, 110, 10, 500, 1100, 0, "White-Tip Shark");
var arrFishTypes = new Array("ThreadfinButterfly", "UnicornFish", "RaccoonFish", "YellowTang", "MoorishIdol", "TriggerFish", "TrumpetFish", "ParrotFish", "Turtle", "Shark");
onEnterFrame = function () {
followers();
pauseScreen();
if (!gamePaused) {
cameraControl();
depthConversion();
airIntake();
zoom();
fishMonitor();
flashDepth();
bubbles();
smartArrow();
surfaceMonitoring();
cursor._x = _xmouse;
cursor._y = _ymouse;
}
};
i = 0;
while (i < 100) {
loadBubble((((random(500) - 250) + random(550)) + camera._x) - 275, (random(800) + camera._y) - 200);
i++;
}
i = 0;
while (i < 10) {
loadFish(arrFishTypes[0]);
loadFish(arrFishTypes[2]);
loadFish(arrFishTypes[3]);
i++;
}
onMouseDown = function () {
takePicture();
};
stop();
Frame 4
stop();
Symbol 14 Button
on (release) {
getURL ("http://www.armorgames.com/", "_blank");
}
Symbol 33 MovieClip Frame 100
stop();
Symbol 37 Button
on (release) {
getURL ("http://www.armorgames.com/", "_blank");
}
Symbol 42 Button
on (release) {
panda.play();
}
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 10
_root.shock.nextFrame();
stop();
Symbol 45 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 126
_root.nextFrame();
Symbol 58 MovieClip Frame 1
stop();
Instance of Symbol 33 MovieClip in Symbol 58 MovieClip Frame 1
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
framesLoaded = Math.ceil((loaded / total) * 100);
gotoAndStop(framesLoaded);
status.text = framesLoaded + " % completed";
if (framesLoaded >= 100) {
_root.shock.playThing.nextFrame();
this.onEnterFrame = null;
}
}
Instance of Symbol 57 MovieClip in Symbol 58 MovieClip Frame 2
onClipEvent (enterFrame) {
this.onPress = function () {
getURL ("http://www.armorgames.com", "_blank");
};
}
Symbol 61 MovieClip Frame 10
stop();
Symbol 62 Button
on (release) {
nextFrame();
}
Symbol 74 Button
on (release) {
play();
}
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 40
stopAllSounds();
_root.nextFrame();
Symbol 82 MovieClip [bestPicture] Frame 8
stop();
Symbol 84 MovieClip [bubble] Frame 2
counter = 0;
onEnterFrame = function () {
if (!_root.gamePaused) {
counter++;
if (counter > 220) {
this.removeMovieClip();
}
this._y = this._y - (_xscale / 25);
this._x = this._x + (random(4) + 1);
}
};
stop();
Symbol 86 MovieClip [bubble2] Frame 2
counter = 0;
onEnterFrame = function () {
if (!_root.gamePaused) {
counter++;
if (counter > 220) {
this.removeMovieClip();
}
this._y = this._y - (_xscale / 25);
}
};
stop();
Symbol 106 MovieClip [cameraLens] Frame 3
stop();
Symbol 109 MovieClip [coverUp] Frame 1
onEnterFrame = function () {
this._x = _root.camera._x;
this._y = _root.camera._y;
};
Symbol 109 MovieClip [coverUp] Frame 6
this.removeMovieClip();
Symbol 113 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 1
var raf = (_root.totalScore / 20);
trace(raf);
var ers = 0;
onEnterFrame = function () {
ers = ers + Math.floor(raf);
if (_root.totalScore > 0) {
jolly.play();
}
if (ers > _root.totalScore) {
ers = _root.totalScore;
play();
this.onEnterFrame = null;
if (_root.totalScore > _root.bestScore) {
trace("best shot!");
_root.bestScore = _root.totalScore;
sshel = attachMovie("bestPicture", "bs", _parent.getNextHighestDepth());
sshel._x = 275;
sshel._y = 10;
}
}
};
stop();
Symbol 118 MovieClip Frame 2
onEnterFrame = null;
Symbol 118 MovieClip Frame 13
stop();
Symbol 119 MovieClip Frame 1
this.swapDepths(_parent.getNextHighestDepth());
Symbol 119 MovieClip Frame 20
stop();
Symbol 125 MovieClip Frame 1
this.swapDepths(_parent.getNextHighestDepth());
Symbol 125 MovieClip Frame 60
stop();
Symbol 126 MovieClip [faderClip] Frame 10
onEnterFrame = function () {
_root.easing("y", _root.camera, _root.depth, 0.3);
this._x = _root.camera._x;
this._y = _root.camera._y;
};
Symbol 126 MovieClip [faderClip] Frame 40
stop();
onMouseDown = function () {
for (i in this) {
if (typeof(this[i]) == "movieclip") {
trace(this[i]);
this[i].removeMovieClip();
}
}
_root.attachMovie("coverUp", "coverUp" + _root.k, _root.k++);
play();
};
Symbol 126 MovieClip [faderClip] Frame 45
_root.activateCamera = false;
_root.follower._visible = true;
_root.camera._xscale = 100;
_root.camera._yscale = 100;
_root.cameraLens.removeMovieClip();
_root.cursor._visible = true;
_root.gamePaused = false;
onEnterFrame = function () {
this._alpha = this._alpha - 20;
};
Symbol 126 MovieClip [faderClip] Frame 50
this.removeMovieClip();
Symbol 129 MovieClip [intro] Frame 1
onEnterFrame = function () {
this.swapDepths(_root.k++);
};
stopAllSounds();
Symbol 129 MovieClip [intro] Frame 60
_root.gamePaused = false;
Symbol 129 MovieClip [intro] Frame 92
this.removeMovieClip();
Symbol 136 MovieClip [outOfAir] Frame 1
this.swapDepths(_root.k++);
Symbol 136 MovieClip [outOfAir] Frame 125
stopAllSounds();
_root.gotoAndStop(1);
_root.stageReset();
Symbol 149 Button
on (release) {
if (!buttonPressed) {
blackFade.play();
buttonPressed = true;
}
}
Symbol 153 Button
on (release) {
if (!buttonPressed) {
_root.gamePaused = false;
_root.cursor._visible = true;
Mouse.hide();
buttonPressed = true;
this.removeMovieClip();
}
}
Symbol 156 MovieClip Frame 5
stop();
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 29
_root.nextFrame();
stopAllSounds();
_root.stageReset();
Symbol 159 MovieClip [surface] Frame 1
buttonPressed = false;
Symbol 166 MovieClip [whiteFade] Frame 39
stop();
Symbol 166 MovieClip [whiteFade] Frame 50
stop();
Symbol 248 MovieClip Frame 1
stop();
Symbol 258 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 294 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 1
onEnterFrame = function () {
if (_root.fog) {
this._visible = true;
this._x = _root.camera._x;
this._y = _root.camera._y;
} else {
this._visible = false;
}
};
Symbol 314 Button
on (release) {
if (picSpot >= 1) {
picSpot--;
shotter.branc.removeMovieClip();
shotter.createEmptyMovieClip("branc", shotter.getNextHighestDepth());
shotter.attachBitmap(_root.pictures[picSpot], 100);
picScore = _root.scores[picSpot];
}
}
Symbol 315 Button
on (release) {
if (picSpot < (_root.filmUp - 1)) {
picSpot++;
shotter.branc.removeMovieClip();
shotter.createEmptyMovieClip("branc", shotter.getNextHighestDepth());
shotter.attachBitmap(_root.pictures[picSpot], 100);
picScore = _root.scores[picSpot];
}
}
Symbol 319 MovieClip Frame 31
stop();
Symbol 327 Button
on (release) {
if (_root.stageGoal <= _root.bestScore) {
gotoAndStop(_root.level + 3);
} else {
gotoAndStop(_root.level + 2);
}
}
Symbol 329 Button
on (release) {
barnaby.play();
}
Symbol 331 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 30
stopAllSounds();
_root.gotoAndStop(3);
Symbol 346 Button
on (release) {
getURL ("http://www.armorgames.com/", "_blank");
}
Symbol 354 MovieClip Frame 1
holder.attachBitmap(_root.pictures[_root.bestPicture], 1001);
var picSpot = 0;
var picSpotDisp = 1;
var picScore = 0;
onEnterFrame = function () {
picSpotDisp = picSpot + 1;
};
shotter.branc.removeMovieClip();
shotter.createEmptyMovieClip("branc", shotter.getNextHighestDepth());
shotter.attachBitmap(_root.pictures[picSpot], 100);
picScore = _root.scores[picSpot];
stop();
Symbol 354 MovieClip Frame 2
if (_root.stageGoal <= _root.bestScore) {
outcome = "Pass!";
switch (random(3)) {
case 0 :
texty = "These photos turned out perfect. I'll move on to the next objective tomorrow.";
break;
case 1 :
texty = "The winning photo was beautiful. Keep it up!";
break;
case 2 :
texty = "These are great pictures. Keep up the good work.";
}
} else {
outcome = "Fail";
texty = "I am still getting used the this camera, and my pictures did not turn out as well as planned. I am going to try again tomorrow.";
}
Symbol 354 MovieClip Frame 3
_root.globalSpeed = 1;
_root.stageGoal = 700000 /* 0x0AAE60 */;
_root.airDepletion = 0.5;
_root.level = 1;
_root.fog = false;
Symbol 354 MovieClip Frame 4
_root.globalSpeed = 1;
_root.stageGoal = 850000 /* 0x0CF850 */;
_root.airDepletion = 0.5;
_root.level = 2;
_root.fog = false;
Symbol 354 MovieClip Frame 5
_root.globalSpeed = 1;
_root.stageGoal = 850000 /* 0x0CF850 */;
_root.airDepletion = 0.5;
_root.level = 3;
_root.fog = true;
Symbol 354 MovieClip Frame 6
_root.globalSpeed = 2;
_root.stageGoal = 900000 /* 0x0DBBA0 */;
_root.airDepletion = 0.5;
_root.level = 4;
_root.fog = false;
Symbol 354 MovieClip Frame 7
_root.globalSpeed = 1.5;
_root.stageGoal = 1000000 /* 0x0F4240 */;
_root.airDepletion = 1.2;
_root.level = 5;
_root.fog = false;
Symbol 354 MovieClip Frame 8
holder.attachBitmap(_root.pictures[_root.bestPicture], 1001);