Frame 279
stop();
Instance of Symbol 313 MovieClip "ship" in Frame 279
onClipEvent (enterFrame) {
xDifference = Math.round(_root._xmouse - this._x);
x_Amount_to_Move_Ship = Math.round(xDifference / _root.speed);
this._x = x_Amount_to_Move_Ship + this._x;
yDifference = Math.round(_root._ymouse - this._y);
y_Amount_to_Move_Ship = Math.round(yDifference / _root.speed);
this._y = y_Amount_to_Move_Ship + this._y;
angle_in_radians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
angle_in_degrees = Math.round((angle_in_radians * 180) / 3.141593);
this._rotation = angle_in_degrees;
if ((this._rotation <= -90) && (this._rotation >= -180)) {
this._yscale = -130;
}
if (this._rotation >= 90) {
this._yscale = -130;
}
if ((this._rotation > -90) && (this._rotation < 90)) {
this._yscale = 130;
}
}
Instance of Symbol 364 MovieClip in Frame 279
onClipEvent (enterFrame) {
xDifference = Math.round(_root._xmouse - this._x);
x_Amount_to_Move_Ship = Math.round(xDifference / _root.speed);
this._x = x_Amount_to_Move_Ship + this._x;
yDifference = Math.round(_root._ymouse - this._y);
y_Amount_to_Move_Ship = Math.round(yDifference / _root.speed);
this._y = y_Amount_to_Move_Ship + this._y;
angle_in_radians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
angle_in_degrees = Math.round((angle_in_radians * 180) / 3.141593);
this._rotation = angle_in_degrees;
if ((this._rotation <= -90) && (this._rotation >= -180)) {
this._yscale = -130;
}
if (this._rotation >= 90) {
this._yscale = -130;
}
if ((this._rotation > -90) && (this._rotation < 90)) {
this._yscale = 130;
}
}
Instance of Symbol 401 MovieClip in Frame 279
onClipEvent (enterFrame) {
xDifference = Math.round(_root._xmouse - this._x);
x_Amount_to_Move_Ship = Math.round(xDifference / _root.speed);
this._x = x_Amount_to_Move_Ship + this._x;
yDifference = Math.round(_root._ymouse - this._y);
y_Amount_to_Move_Ship = Math.round(yDifference / _root.speed);
this._y = y_Amount_to_Move_Ship + this._y;
angle_in_radians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
angle_in_degrees = Math.round((angle_in_radians * 180) / 3.141593);
this._rotation = angle_in_degrees;
if ((this._rotation <= -90) && (this._rotation >= -180)) {
this._yscale = -130;
}
if (this._rotation >= 90) {
this._yscale = -130;
}
if ((this._rotation > -90) && (this._rotation < 90)) {
this._yscale = 130;
}
}
Instance of Symbol 440 MovieClip "ship" in Frame 279
onClipEvent (enterFrame) {
xDifference = Math.round(_root._xmouse - this._x);
x_Amount_to_Move_Ship = Math.round(xDifference / _root.speed);
this._x = x_Amount_to_Move_Ship + this._x;
yDifference = Math.round(_root._ymouse - this._y);
y_Amount_to_Move_Ship = Math.round(yDifference / _root.speed);
this._y = y_Amount_to_Move_Ship + this._y;
angle_in_radians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
angle_in_degrees = Math.round((angle_in_radians * 180) / 3.141593);
this._rotation = angle_in_degrees;
if ((this._rotation <= -90) && (this._rotation >= -180)) {
this._yscale = -130;
}
if (this._rotation >= 90) {
this._yscale = -130;
}
if ((this._rotation > -90) && (this._rotation < 90)) {
this._yscale = 130;
}
}
Frame 280
enemyFish._visible = false;
fishies = new Array();
fishMade = (d = (score = 0));
minimumFishOnScreen = 7;
maximumFishOnScreen = 15;
frame = _currentframe;
stop();
_root.onEnterFrame = function () {
if (_currentframe == frame) {
if (_root.fish._width < Stage.width) {
fishFound = 0;
i = 0;
while (i < fishies.length) {
if (fishies[i] == 1) {
fishFound++;
}
i++;
}
if (fishFound < minimumFishOnScreen) {
chanceOfNewFishComing = 0;
} else if (fishFound < maximumFishOnScreen) {
chanceOfNewFishComing = random(60);
}
if (chanceOfNewFishComing == 0) {
enemyFish.duplicateMovieClip("newEnemyFish" + d, d++, {left:random(2), speed:random(6) + 2, scale:random(_root.fish.scale + 40) + 10, _y:random(Stage.height), newFish:true});
fishies[fishMade] = 1;
fishMade++;
}
i = 0;
while (i < fishies.length) {
if (fishies[i] == 1) {
_root["newEnemyFish" + i]._x = _root["newEnemyFish" + i]._x + _root["newEnemyFish" + i].speed;
if (_root["newEnemyFish" + i].hitTest(_root.fish)) {
if (_root["newEnemyFish" + i].scale <= _root.fish.scale) {
fish.scale = fish.scale + 5;
score = score + _root["newEnemyFish" + i].scale;
removeMovieClip(_root["newEnemyFish" + i]);
fishies[i] = 0;
} else {
nextFrame();
clearScreen();
}
}
if (_root["newEnemyFish" + i].left == 1) {
if (_root["newEnemyFish" + i]._x < (-_root["newEnemyFish" + i]._width)) {
fishies[i] = 0;
removeMovieClip(_root["newEnemyFish" + i]);
}
} else if (_root["newEnemyFish" + i]._x > (Stage.width + _root["newEnemyFish" + i]._width)) {
fishies[i] = 0;
removeMovieClip(_root["newEnemyFish" + i]);
}
}
i++;
}
} else {
_root.gotoAndStop(_currentframe + 2);
}
}
};
clearScreen = function () {
i = 0;
while (i < fishies.length) {
removeMovieClip(_root["newEnemyFish" + i]);
i++;
}
fishies = new Array();
fishMade = 0;
};
Instance of Symbol 442 MovieClip "fish" in Frame 280
onClipEvent (load) {
xspeed = (yspeed = 0);
goingDown = (goingForward = false);
acceleration = 0.5;
maxSpeed = 5;
scale = 100;
facingRight = false;
}
onClipEvent (enterFrame) {
_x = (_x - xspeed);
_y = (_y - yspeed);
_yscale = scale;
xscale = scale;
if (!goingForward) {
_xscale = (-xscale);
} else {
_xscale = xscale;
}
if (Key.isDown(37)) {
goingForward = true;
if (xspeed < maxSpeed) {
xspeed = xspeed + acceleration;
}
} else if (Key.isDown(39)) {
goingForward = false;
if (xspeed > (-maxSpeed)) {
xspeed = xspeed - acceleration;
}
} else if (goingForward) {
if (xspeed > 0) {
xspeed = xspeed - acceleration;
} else if (xspeed < 0) {
xspeed = xspeed + acceleration;
}
} else if (xspeed < 0) {
xspeed = xspeed + acceleration;
} else if (xspeed > 0) {
xspeed = xspeed - acceleration;
}
if (Key.isDown(38)) {
goingDown = true;
if (yspeed < maxSpeed) {
yspeed = yspeed + acceleration;
}
} else if (Key.isDown(40)) {
goingDown = false;
if (yspeed > (-maxSpeed)) {
yspeed = yspeed - acceleration;
}
} else if (goingDown) {
if (yspeed > 0) {
yspeed = yspeed - acceleration;
} else if (yspeed < 0) {
yspeed = yspeed + acceleration;
}
} else if (yspeed < 0) {
yspeed = yspeed + acceleration;
} else if (yspeed > 0) {
yspeed = yspeed - acceleration;
}
if (_x > (Stage.width + (_width / 2))) {
_x = (-(_width / 2));
} else if (_x < (-(_width / 2))) {
_x = (Stage.width + (_width / 2));
}
if (_y > Stage.height) {
_y = Stage.height;
yspeed = 0;
} else if (_y < 0) {
_y = 0;
yspeed = 0;
}
}
Instance of Symbol 472 MovieClip "enemyFish" in Frame 280
onClipEvent (load) {
if (_name != "enemyFish") {
_yscale = ((xscale = scale));
if (left == 1) {
speed = speed * -1;
_xscale = xscale;
_x = (Stage.width + _width);
} else {
_xscale = (-xscale);
_x = (-_width);
}
}
}
Frame 281
results = "You have lost. Your final score was: " + score;
Frame 282
results = "You have won! Your final score was: " + score;
Frame 283
enemyFish._visible = false;
fishies = new Array();
fishMade = (d = (score = 0));
minimumFishOnScreen = 7;
maximumFishOnScreen = 15;
frame = _currentframe;
stop();
_root.onEnterFrame = function () {
if (_currentframe == frame) {
if (_root.fish._width < Stage.width) {
fishFound = 0;
i = 0;
while (i < fishies.length) {
if (fishies[i] == 1) {
fishFound++;
}
i++;
}
if (fishFound < minimumFishOnScreen) {
chanceOfNewFishComing = 0;
} else if (fishFound < maximumFishOnScreen) {
chanceOfNewFishComing = random(60);
}
if (chanceOfNewFishComing == 0) {
enemyFish.duplicateMovieClip("newEnemyFish" + d, d++, {left:random(2), speed:random(6) + 2, scale:random(_root.fish.scale + 40) + 10, _y:random(Stage.height), newFish:true});
fishies[fishMade] = 1;
fishMade++;
}
i = 0;
while (i < fishies.length) {
if (fishies[i] == 1) {
_root["newEnemyFish" + i]._x = _root["newEnemyFish" + i]._x + _root["newEnemyFish" + i].speed;
if (_root["newEnemyFish" + i].hitTest(_root.fish)) {
if (_root["newEnemyFish" + i].scale <= _root.fish.scale) {
fish.scale = fish.scale + 5;
score = score + _root["newEnemyFish" + i].scale;
removeMovieClip(_root["newEnemyFish" + i]);
fishies[i] = 0;
} else {
nextFrame();
clearScreen();
}
}
if (_root["newEnemyFish" + i].left == 1) {
if (_root["newEnemyFish" + i]._x < (-_root["newEnemyFish" + i]._width)) {
fishies[i] = 0;
removeMovieClip(_root["newEnemyFish" + i]);
}
} else if (_root["newEnemyFish" + i]._x > (Stage.width + _root["newEnemyFish" + i]._width)) {
fishies[i] = 0;
removeMovieClip(_root["newEnemyFish" + i]);
}
}
i++;
}
} else {
_root.gotoAndStop(_currentframe + 2);
}
}
};
clearScreen = function () {
i = 0;
while (i < fishies.length) {
removeMovieClip(_root["newEnemyFish" + i]);
i++;
}
fishies = new Array();
fishMade = 0;
};
Instance of Symbol 442 MovieClip "fish" in Frame 283
onClipEvent (load) {
xspeed = (yspeed = 0);
goingDown = (goingForward = false);
acceleration = 1;
maxSpeed = 12;
scale = 100;
facingRight = false;
}
onClipEvent (enterFrame) {
_x = (_x - xspeed);
_y = (_y - yspeed);
_yscale = scale;
xscale = scale;
if (!goingForward) {
_xscale = (-xscale);
} else {
_xscale = xscale;
}
if (Key.isDown(37)) {
goingForward = true;
if (xspeed < maxSpeed) {
xspeed = xspeed + acceleration;
}
} else if (Key.isDown(39)) {
goingForward = false;
if (xspeed > (-maxSpeed)) {
xspeed = xspeed - acceleration;
}
} else if (goingForward) {
if (xspeed > 0) {
xspeed = xspeed - acceleration;
} else if (xspeed < 0) {
xspeed = xspeed + acceleration;
}
} else if (xspeed < 0) {
xspeed = xspeed + acceleration;
} else if (xspeed > 0) {
xspeed = xspeed - acceleration;
}
if (Key.isDown(38)) {
goingDown = true;
if (yspeed < maxSpeed) {
yspeed = yspeed + acceleration;
}
} else if (Key.isDown(40)) {
goingDown = false;
if (yspeed > (-maxSpeed)) {
yspeed = yspeed - acceleration;
}
} else if (goingDown) {
if (yspeed > 0) {
yspeed = yspeed - acceleration;
} else if (yspeed < 0) {
yspeed = yspeed + acceleration;
}
} else if (yspeed < 0) {
yspeed = yspeed + acceleration;
} else if (yspeed > 0) {
yspeed = yspeed - acceleration;
}
if (_x > (Stage.width + (_width / 2))) {
_x = (-(_width / 2));
} else if (_x < (-(_width / 2))) {
_x = (Stage.width + (_width / 2));
}
if (_y > Stage.height) {
_y = Stage.height;
yspeed = 0;
} else if (_y < 0) {
_y = 0;
yspeed = 0;
}
}
Instance of Symbol 472 MovieClip "enemyFish" in Frame 283
onClipEvent (load) {
if (_name != "enemyFish") {
_yscale = ((xscale = scale));
if (left == 1) {
speed = speed * -1;
_xscale = xscale;
_x = (Stage.width + _width);
} else {
_xscale = (-xscale);
_x = (-_width);
}
}
}
Frame 284
results = "You have lost. Your final score was: " + score;
Frame 285
results = "You have won! Your final score was: " + score;
Frame 286
enemyFish._visible = false;
fishies = new Array();
fishMade = (d = (score = 0));
minimumFishOnScreen = 7;
maximumFishOnScreen = 15;
frame = _currentframe;
stop();
_root.onEnterFrame = function () {
if (_currentframe == frame) {
if (_root.fish._width < Stage.width) {
fishFound = 0;
i = 0;
while (i < fishies.length) {
if (fishies[i] == 1) {
fishFound++;
}
i++;
}
if (fishFound < minimumFishOnScreen) {
chanceOfNewFishComing = 0;
} else if (fishFound < maximumFishOnScreen) {
chanceOfNewFishComing = random(60);
}
if (chanceOfNewFishComing == 0) {
enemyFish.duplicateMovieClip("newEnemyFish" + d, d++, {left:random(2), speed:random(6) + 2, scale:random(_root.fish.scale + 40) + 10, _y:random(Stage.height), newFish:true});
fishies[fishMade] = 1;
fishMade++;
}
i = 0;
while (i < fishies.length) {
if (fishies[i] == 1) {
_root["newEnemyFish" + i]._x = _root["newEnemyFish" + i]._x + _root["newEnemyFish" + i].speed;
if (_root["newEnemyFish" + i].hitTest(_root.fish)) {
if (_root["newEnemyFish" + i].scale <= _root.fish.scale) {
fish.scale = fish.scale + 5;
score = score + _root["newEnemyFish" + i].scale;
removeMovieClip(_root["newEnemyFish" + i]);
fishies[i] = 0;
} else {
nextFrame();
clearScreen();
}
}
if (_root["newEnemyFish" + i].left == 1) {
if (_root["newEnemyFish" + i]._x < (-_root["newEnemyFish" + i]._width)) {
fishies[i] = 0;
removeMovieClip(_root["newEnemyFish" + i]);
}
} else if (_root["newEnemyFish" + i]._x > (Stage.width + _root["newEnemyFish" + i]._width)) {
fishies[i] = 0;
removeMovieClip(_root["newEnemyFish" + i]);
}
}
i++;
}
} else {
_root.gotoAndStop(_currentframe + 2);
}
}
};
clearScreen = function () {
i = 0;
while (i < fishies.length) {
removeMovieClip(_root["newEnemyFish" + i]);
i++;
}
fishies = new Array();
fishMade = 0;
};
Instance of Symbol 442 MovieClip "fish" in Frame 286
onClipEvent (load) {
xspeed = (yspeed = 0);
goingDown = (goingForward = false);
acceleration = 0.1;
maxSpeed = 12;
scale = 100;
facingRight = false;
}
onClipEvent (enterFrame) {
_x = (_x - xspeed);
_y = (_y - yspeed);
_yscale = scale;
xscale = scale;
if (!goingForward) {
_xscale = (-xscale);
} else {
_xscale = xscale;
}
if (Key.isDown(37)) {
goingForward = true;
if (xspeed < maxSpeed) {
xspeed = xspeed + acceleration;
}
} else if (Key.isDown(39)) {
goingForward = false;
if (xspeed > (-maxSpeed)) {
xspeed = xspeed - acceleration;
}
} else if (goingForward) {
if (xspeed > 0) {
xspeed = xspeed - acceleration;
} else if (xspeed < 0) {
xspeed = xspeed + acceleration;
}
} else if (xspeed < 0) {
xspeed = xspeed + acceleration;
} else if (xspeed > 0) {
xspeed = xspeed - acceleration;
}
if (Key.isDown(38)) {
goingDown = true;
if (yspeed < maxSpeed) {
yspeed = yspeed + acceleration;
}
} else if (Key.isDown(40)) {
goingDown = false;
if (yspeed > (-maxSpeed)) {
yspeed = yspeed - acceleration;
}
} else if (goingDown) {
if (yspeed > 0) {
yspeed = yspeed - acceleration;
} else if (yspeed < 0) {
yspeed = yspeed + acceleration;
}
} else if (yspeed < 0) {
yspeed = yspeed + acceleration;
} else if (yspeed > 0) {
yspeed = yspeed - acceleration;
}
if (_x > (Stage.width + (_width / 2))) {
_x = (-(_width / 2));
} else if (_x < (-(_width / 2))) {
_x = (Stage.width + (_width / 2));
}
if (_y > Stage.height) {
_y = Stage.height;
yspeed = 0;
} else if (_y < 0) {
_y = 0;
yspeed = 0;
}
}
Instance of Symbol 472 MovieClip "enemyFish" in Frame 286
onClipEvent (load) {
if (_name != "enemyFish") {
_yscale = ((xscale = scale));
if (left == 1) {
speed = speed * -1;
_xscale = xscale;
_x = (Stage.width + _width);
} else {
_xscale = (-xscale);
_x = (-_width);
}
}
}
Frame 287
results = "You have lost. Your final score was: " + score;
Frame 288
results = "You have won! Your final score was: " + score;
Frame 289
enemyFish._visible = false;
fishies = new Array();
fishMade = (d = (score = 0));
minimumFishOnScreen = 7;
maximumFishOnScreen = 15;
frame = _currentframe;
stop();
_root.onEnterFrame = function () {
if (_currentframe == frame) {
if (_root.fish._width < Stage.width) {
fishFound = 0;
i = 0;
while (i < fishies.length) {
if (fishies[i] == 1) {
fishFound++;
}
i++;
}
if (fishFound < minimumFishOnScreen) {
chanceOfNewFishComing = 0;
} else if (fishFound < maximumFishOnScreen) {
chanceOfNewFishComing = random(60);
}
if (chanceOfNewFishComing == 0) {
enemyFish.duplicateMovieClip("newEnemyFish" + d, d++, {left:random(2), speed:random(6) + 2, scale:random(_root.fish.scale + 40) + 10, _y:random(Stage.height), newFish:true});
fishies[fishMade] = 1;
fishMade++;
}
i = 0;
while (i < fishies.length) {
if (fishies[i] == 1) {
_root["newEnemyFish" + i]._x = _root["newEnemyFish" + i]._x + _root["newEnemyFish" + i].speed;
if (_root["newEnemyFish" + i].hitTest(_root.fish)) {
if (_root["newEnemyFish" + i].scale <= _root.fish.scale) {
fish.scale = fish.scale + 5;
score = score + _root["newEnemyFish" + i].scale;
removeMovieClip(_root["newEnemyFish" + i]);
fishies[i] = 0;
} else {
nextFrame();
clearScreen();
}
}
if (_root["newEnemyFish" + i].left == 1) {
if (_root["newEnemyFish" + i]._x < (-_root["newEnemyFish" + i]._width)) {
fishies[i] = 0;
removeMovieClip(_root["newEnemyFish" + i]);
}
} else if (_root["newEnemyFish" + i]._x > (Stage.width + _root["newEnemyFish" + i]._width)) {
fishies[i] = 0;
removeMovieClip(_root["newEnemyFish" + i]);
}
}
i++;
}
} else {
_root.gotoAndStop(_currentframe + 2);
}
}
};
clearScreen = function () {
i = 0;
while (i < fishies.length) {
removeMovieClip(_root["newEnemyFish" + i]);
i++;
}
fishies = new Array();
fishMade = 0;
};
Instance of Symbol 531 MovieClip "fish" in Frame 289
onClipEvent (load) {
xspeed = (yspeed = 0);
goingDown = (goingForward = false);
acceleration = 1;
maxSpeed = 5;
scale = 100;
facingRight = false;
}
onClipEvent (enterFrame) {
_x = (_x - xspeed);
_y = (_y - yspeed);
_yscale = scale;
xscale = scale;
if (!goingForward) {
_xscale = (-xscale);
} else {
_xscale = xscale;
}
if (Key.isDown(37)) {
goingForward = true;
if (xspeed < maxSpeed) {
xspeed = xspeed + acceleration;
}
} else if (Key.isDown(39)) {
goingForward = false;
if (xspeed > (-maxSpeed)) {
xspeed = xspeed - acceleration;
}
} else if (goingForward) {
if (xspeed > 0) {
xspeed = xspeed - acceleration;
} else if (xspeed < 0) {
xspeed = xspeed + acceleration;
}
} else if (xspeed < 0) {
xspeed = xspeed + acceleration;
} else if (xspeed > 0) {
xspeed = xspeed - acceleration;
}
if (Key.isDown(38)) {
goingDown = true;
if (yspeed < maxSpeed) {
yspeed = yspeed + acceleration;
}
} else if (Key.isDown(40)) {
goingDown = false;
if (yspeed > (-maxSpeed)) {
yspeed = yspeed - acceleration;
}
} else if (goingDown) {
if (yspeed > 0) {
yspeed = yspeed - acceleration;
} else if (yspeed < 0) {
yspeed = yspeed + acceleration;
}
} else if (yspeed < 0) {
yspeed = yspeed + acceleration;
} else if (yspeed > 0) {
yspeed = yspeed - acceleration;
}
if (_x > (Stage.width + (_width / 2))) {
_x = (-(_width / 2));
} else if (_x < (-(_width / 2))) {
_x = (Stage.width + (_width / 2));
}
if (_y > Stage.height) {
_y = Stage.height;
yspeed = 0;
} else if (_y < 0) {
_y = 0;
yspeed = 0;
}
}
Instance of Symbol 535 MovieClip "enemyFish" in Frame 289
onClipEvent (load) {
if (_name != "enemyFish") {
_yscale = ((xscale = scale));
if (left == 1) {
speed = speed * -1;
_xscale = xscale;
_x = (Stage.width + _width);
} else {
_xscale = (-xscale);
_x = (-_width);
}
}
}
Frame 290
results = "You have lost. Your final score was: " + score;
Frame 291
results = "You have won! Your final score was: " + score;
Frame 292
enemyFish._visible = false;
fishies = new Array();
fishMade = (d = (score = 0));
minimumFishOnScreen = 7;
maximumFishOnScreen = 15;
frame = _currentframe;
stop();
_root.onEnterFrame = function () {
if (_currentframe == frame) {
if (_root.fish._width < Stage.width) {
fishFound = 0;
i = 0;
while (i < fishies.length) {
if (fishies[i] == 1) {
fishFound++;
}
i++;
}
if (fishFound < minimumFishOnScreen) {
chanceOfNewFishComing = 0;
} else if (fishFound < maximumFishOnScreen) {
chanceOfNewFishComing = random(60);
}
if (chanceOfNewFishComing == 0) {
enemyFish.duplicateMovieClip("newEnemyFish" + d, d++, {left:random(2), speed:random(6) + 2, scale:random(_root.fish.scale + 40) + 10, _y:random(Stage.height), newFish:true});
fishies[fishMade] = 1;
fishMade++;
}
i = 0;
while (i < fishies.length) {
if (fishies[i] == 1) {
_root["newEnemyFish" + i]._x = _root["newEnemyFish" + i]._x + _root["newEnemyFish" + i].speed;
if (_root["newEnemyFish" + i].hitTest(_root.fish)) {
if (_root["newEnemyFish" + i].scale <= _root.fish.scale) {
fish.scale = fish.scale + 5;
score = score + _root["newEnemyFish" + i].scale;
removeMovieClip(_root["newEnemyFish" + i]);
fishies[i] = 0;
} else {
nextFrame();
clearScreen();
}
}
if (_root["newEnemyFish" + i].left == 1) {
if (_root["newEnemyFish" + i]._x < (-_root["newEnemyFish" + i]._width)) {
fishies[i] = 0;
removeMovieClip(_root["newEnemyFish" + i]);
}
} else if (_root["newEnemyFish" + i]._x > (Stage.width + _root["newEnemyFish" + i]._width)) {
fishies[i] = 0;
removeMovieClip(_root["newEnemyFish" + i]);
}
}
i++;
}
} else {
_root.gotoAndStop(_currentframe + 2);
}
}
};
clearScreen = function () {
i = 0;
while (i < fishies.length) {
removeMovieClip(_root["newEnemyFish" + i]);
i++;
}
fishies = new Array();
fishMade = 0;
};
Instance of Symbol 531 MovieClip "fish" in Frame 292
onClipEvent (load) {
xspeed = (yspeed = 0);
goingDown = (goingForward = false);
acceleration = 0.5;
maxSpeed = 5;
scale = 100;
facingRight = false;
}
onClipEvent (enterFrame) {
_x = (_x - xspeed);
_y = (_y - yspeed);
_yscale = scale;
xscale = scale;
if (!goingForward) {
_xscale = (-xscale);
} else {
_xscale = xscale;
}
if (Key.isDown(37)) {
goingForward = true;
if (xspeed < maxSpeed) {
xspeed = xspeed + acceleration;
}
} else if (Key.isDown(39)) {
goingForward = false;
if (xspeed > (-maxSpeed)) {
xspeed = xspeed - acceleration;
}
} else if (goingForward) {
if (xspeed > 0) {
xspeed = xspeed - acceleration;
} else if (xspeed < 0) {
xspeed = xspeed + acceleration;
}
} else if (xspeed < 0) {
xspeed = xspeed + acceleration;
} else if (xspeed > 0) {
xspeed = xspeed - acceleration;
}
if (Key.isDown(38)) {
goingDown = true;
if (yspeed < maxSpeed) {
yspeed = yspeed + acceleration;
}
} else if (Key.isDown(40)) {
goingDown = false;
if (yspeed > (-maxSpeed)) {
yspeed = yspeed - acceleration;
}
} else if (goingDown) {
if (yspeed > 0) {
yspeed = yspeed - acceleration;
} else if (yspeed < 0) {
yspeed = yspeed + acceleration;
}
} else if (yspeed < 0) {
yspeed = yspeed + acceleration;
} else if (yspeed > 0) {
yspeed = yspeed - acceleration;
}
if (_x > (Stage.width + (_width / 2))) {
_x = (-(_width / 2));
} else if (_x < (-(_width / 2))) {
_x = (Stage.width + (_width / 2));
}
if (_y > Stage.height) {
_y = Stage.height;
yspeed = 0;
} else if (_y < 0) {
_y = 0;
yspeed = 0;
}
}
Instance of Symbol 535 MovieClip "enemyFish" in Frame 292
onClipEvent (load) {
if (_name != "enemyFish") {
_yscale = ((xscale = scale));
if (left == 1) {
speed = speed * -1;
_xscale = xscale;
_x = (Stage.width + _width);
} else {
_xscale = (-xscale);
_x = (-_width);
}
}
}
Frame 293
results = "You have lost. Your final score was: " + score;
Frame 294
results = "You have won! Your final score was: " + score;
Frame 295
enemyFish._visible = false;
fishies = new Array();
fishMade = (d = (score = 0));
minimumFishOnScreen = 7;
maximumFishOnScreen = 15;
frame = _currentframe;
stop();
_root.onEnterFrame = function () {
if (_currentframe == frame) {
if (_root.fish._width < Stage.width) {
fishFound = 0;
i = 0;
while (i < fishies.length) {
if (fishies[i] == 1) {
fishFound++;
}
i++;
}
if (fishFound < minimumFishOnScreen) {
chanceOfNewFishComing = 0;
} else if (fishFound < maximumFishOnScreen) {
chanceOfNewFishComing = random(60);
}
if (chanceOfNewFishComing == 0) {
enemyFish.duplicateMovieClip("newEnemyFish" + d, d++, {left:random(2), speed:random(6) + 2, scale:random(_root.fish.scale + 40) + 10, _y:random(Stage.height), newFish:true});
fishies[fishMade] = 1;
fishMade++;
}
i = 0;
while (i < fishies.length) {
if (fishies[i] == 1) {
_root["newEnemyFish" + i]._x = _root["newEnemyFish" + i]._x + _root["newEnemyFish" + i].speed;
if (_root["newEnemyFish" + i].hitTest(_root.fish)) {
if (_root["newEnemyFish" + i].scale <= _root.fish.scale) {
fish.scale = fish.scale + 5;
score = score + _root["newEnemyFish" + i].scale;
removeMovieClip(_root["newEnemyFish" + i]);
fishies[i] = 0;
} else {
nextFrame();
clearScreen();
}
}
if (_root["newEnemyFish" + i].left == 1) {
if (_root["newEnemyFish" + i]._x < (-_root["newEnemyFish" + i]._width)) {
fishies[i] = 0;
removeMovieClip(_root["newEnemyFish" + i]);
}
} else if (_root["newEnemyFish" + i]._x > (Stage.width + _root["newEnemyFish" + i]._width)) {
fishies[i] = 0;
removeMovieClip(_root["newEnemyFish" + i]);
}
}
i++;
}
} else {
_root.gotoAndStop(_currentframe + 2);
}
}
};
clearScreen = function () {
i = 0;
while (i < fishies.length) {
removeMovieClip(_root["newEnemyFish" + i]);
i++;
}
fishies = new Array();
fishMade = 0;
};
Instance of Symbol 531 MovieClip "fish" in Frame 295
onClipEvent (load) {
xspeed = (yspeed = 0);
goingDown = (goingForward = false);
acceleration = 0.1;
maxSpeed = 5;
scale = 100;
facingRight = false;
}
onClipEvent (enterFrame) {
_x = (_x - xspeed);
_y = (_y - yspeed);
_yscale = scale;
xscale = scale;
if (!goingForward) {
_xscale = (-xscale);
} else {
_xscale = xscale;
}
if (Key.isDown(37)) {
goingForward = true;
if (xspeed < maxSpeed) {
xspeed = xspeed + acceleration;
}
} else if (Key.isDown(39)) {
goingForward = false;
if (xspeed > (-maxSpeed)) {
xspeed = xspeed - acceleration;
}
} else if (goingForward) {
if (xspeed > 0) {
xspeed = xspeed - acceleration;
} else if (xspeed < 0) {
xspeed = xspeed + acceleration;
}
} else if (xspeed < 0) {
xspeed = xspeed + acceleration;
} else if (xspeed > 0) {
xspeed = xspeed - acceleration;
}
if (Key.isDown(38)) {
goingDown = true;
if (yspeed < maxSpeed) {
yspeed = yspeed + acceleration;
}
} else if (Key.isDown(40)) {
goingDown = false;
if (yspeed > (-maxSpeed)) {
yspeed = yspeed - acceleration;
}
} else if (goingDown) {
if (yspeed > 0) {
yspeed = yspeed - acceleration;
} else if (yspeed < 0) {
yspeed = yspeed + acceleration;
}
} else if (yspeed < 0) {
yspeed = yspeed + acceleration;
} else if (yspeed > 0) {
yspeed = yspeed - acceleration;
}
if (_x > (Stage.width + (_width / 2))) {
_x = (-(_width / 2));
} else if (_x < (-(_width / 2))) {
_x = (Stage.width + (_width / 2));
}
if (_y > Stage.height) {
_y = Stage.height;
yspeed = 0;
} else if (_y < 0) {
_y = 0;
yspeed = 0;
}
}
Instance of Symbol 535 MovieClip "enemyFish" in Frame 295
onClipEvent (load) {
if (_name != "enemyFish") {
_yscale = ((xscale = scale));
if (left == 1) {
speed = speed * -1;
_xscale = xscale;
_x = (Stage.width + _width);
} else {
_xscale = (-xscale);
_x = (-_width);
}
}
}
Frame 296
results = "You have lost. Your final score was: " + score;
Frame 297
results = "You have won! Your final score was: " + score;
Frame 298
enemyFish._visible = false;
fishies = new Array();
fishMade = (d = (score = 0));
minimumFishOnScreen = 7;
maximumFishOnScreen = 15;
frame = _currentframe;
stop();
_root.onEnterFrame = function () {
if (_currentframe == frame) {
if (_root.fish._width < Stage.width) {
fishFound = 0;
i = 0;
while (i < fishies.length) {
if (fishies[i] == 1) {
fishFound++;
}
i++;
}
if (fishFound < minimumFishOnScreen) {
chanceOfNewFishComing = 0;
} else if (fishFound < maximumFishOnScreen) {
chanceOfNewFishComing = random(60);
}
if (chanceOfNewFishComing == 0) {
enemyFish.duplicateMovieClip("newEnemyFish" + d, d++, {left:random(2), speed:random(6) + 2, scale:random(_root.fish.scale + 40) + 10, _y:random(Stage.height), newFish:true});
fishies[fishMade] = 1;
fishMade++;
}
i = 0;
while (i < fishies.length) {
if (fishies[i] == 1) {
_root["newEnemyFish" + i]._x = _root["newEnemyFish" + i]._x + _root["newEnemyFish" + i].speed;
if (_root["newEnemyFish" + i].hitTest(_root.fish)) {
if (_root["newEnemyFish" + i].scale <= _root.fish.scale) {
fish.scale = fish.scale + 5;
score = score + _root["newEnemyFish" + i].scale;
removeMovieClip(_root["newEnemyFish" + i]);
fishies[i] = 0;
} else {
nextFrame();
clearScreen();
}
}
if (_root["newEnemyFish" + i].left == 1) {
if (_root["newEnemyFish" + i]._x < (-_root["newEnemyFish" + i]._width)) {
fishies[i] = 0;
removeMovieClip(_root["newEnemyFish" + i]);
}
} else if (_root["newEnemyFish" + i]._x > (Stage.width + _root["newEnemyFish" + i]._width)) {
fishies[i] = 0;
removeMovieClip(_root["newEnemyFish" + i]);
}
}
i++;
}
} else {
_root.gotoAndStop(_currentframe + 2);
}
}
};
clearScreen = function () {
i = 0;
while (i < fishies.length) {
removeMovieClip(_root["newEnemyFish" + i]);
i++;
}
fishies = new Array();
fishMade = 0;
};
Instance of Symbol 552 MovieClip in Frame 298
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
this._x = random(90) + 71;
}
}
Instance of Symbol 442 MovieClip "fish" in Frame 298
onClipEvent (load) {
xspeed = (yspeed = 0);
goingDown = (goingForward = false);
acceleration = 0.5;
maxSpeed = 5;
scale = 100;
facingRight = false;
}
onClipEvent (enterFrame) {
_x = (_x - xspeed);
_y = (_y - yspeed);
_yscale = scale;
xscale = scale;
if (!goingForward) {
_xscale = (-xscale);
} else {
_xscale = xscale;
}
if (Key.isDown(37)) {
goingForward = true;
if (xspeed < maxSpeed) {
xspeed = xspeed + acceleration;
}
} else if (Key.isDown(39)) {
goingForward = false;
if (xspeed > (-maxSpeed)) {
xspeed = xspeed - acceleration;
}
} else if (goingForward) {
if (xspeed > 0) {
xspeed = xspeed - acceleration;
} else if (xspeed < 0) {
xspeed = xspeed + acceleration;
}
} else if (xspeed < 0) {
xspeed = xspeed + acceleration;
} else if (xspeed > 0) {
xspeed = xspeed - acceleration;
}
if (Key.isDown(38)) {
goingDown = true;
if (yspeed < maxSpeed) {
yspeed = yspeed + acceleration;
}
} else if (Key.isDown(40)) {
goingDown = false;
if (yspeed > (-maxSpeed)) {
yspeed = yspeed - acceleration;
}
} else if (goingDown) {
if (yspeed > 0) {
yspeed = yspeed - acceleration;
} else if (yspeed < 0) {
yspeed = yspeed + acceleration;
}
} else if (yspeed < 0) {
yspeed = yspeed + acceleration;
} else if (yspeed > 0) {
yspeed = yspeed - acceleration;
}
if (_x > (Stage.width + (_width / 2))) {
_x = (-(_width / 2));
} else if (_x < (-(_width / 2))) {
_x = (Stage.width + (_width / 2));
}
if (_y > Stage.height) {
_y = Stage.height;
yspeed = 0;
} else if (_y < 0) {
_y = 0;
yspeed = 0;
}
}
Instance of Symbol 472 MovieClip "enemyFish" in Frame 298
onClipEvent (load) {
if (_name != "enemyFish") {
_yscale = ((xscale = scale));
if (left == 1) {
speed = speed * -1;
_xscale = xscale;
_x = (Stage.width + _width);
} else {
_xscale = (-xscale);
_x = (-_width);
}
}
}
Frame 299
enemyFish._visible = false;
fishies = new Array();
fishMade = (d = (score = 0));
minimumFishOnScreen = 7;
maximumFishOnScreen = 15;
frame = _currentframe;
stop();
_root.onEnterFrame = function () {
if (_currentframe == frame) {
if (_root.fish._width < Stage.width) {
fishFound = 0;
i = 0;
while (i < fishies.length) {
if (fishies[i] == 1) {
fishFound++;
}
i++;
}
if (fishFound < minimumFishOnScreen) {
chanceOfNewFishComing = 0;
} else if (fishFound < maximumFishOnScreen) {
chanceOfNewFishComing = random(60);
}
if (chanceOfNewFishComing == 0) {
enemyFish.duplicateMovieClip("newEnemyFish" + d, d++, {left:random(2), speed:random(6) + 2, scale:random(_root.fish.scale + 40) + 10, _y:random(Stage.height), newFish:true});
fishies[fishMade] = 1;
fishMade++;
}
i = 0;
while (i < fishies.length) {
if (fishies[i] == 1) {
_root["newEnemyFish" + i]._x = _root["newEnemyFish" + i]._x + _root["newEnemyFish" + i].speed;
if (_root["newEnemyFish" + i].hitTest(_root.fish)) {
if (_root["newEnemyFish" + i].scale <= _root.fish.scale) {
fish.scale = fish.scale + 5;
score = score + _root["newEnemyFish" + i].scale;
removeMovieClip(_root["newEnemyFish" + i]);
fishies[i] = 0;
} else {
nextFrame();
clearScreen();
}
}
if (_root["newEnemyFish" + i].left == 1) {
if (_root["newEnemyFish" + i]._x < (-_root["newEnemyFish" + i]._width)) {
fishies[i] = 0;
removeMovieClip(_root["newEnemyFish" + i]);
}
} else if (_root["newEnemyFish" + i]._x > (Stage.width + _root["newEnemyFish" + i]._width)) {
fishies[i] = 0;
removeMovieClip(_root["newEnemyFish" + i]);
}
}
i++;
}
} else {
_root.gotoAndStop(_currentframe + 2);
}
}
};
clearScreen = function () {
i = 0;
while (i < fishies.length) {
removeMovieClip(_root["newEnemyFish" + i]);
i++;
}
fishies = new Array();
fishMade = 0;
};
Instance of Symbol 442 MovieClip "fish" in Frame 299
onClipEvent (load) {
xspeed = (yspeed = 0);
goingDown = (goingForward = false);
acceleration = 0.5;
maxSpeed = 5;
scale = 100;
facingRight = false;
}
onClipEvent (enterFrame) {
_x = (_x - xspeed);
_y = (_y - yspeed);
_yscale = scale;
xscale = scale;
if (!goingForward) {
_xscale = (-xscale);
} else {
_xscale = xscale;
}
if (Key.isDown(37)) {
goingForward = true;
if (xspeed < maxSpeed) {
xspeed = xspeed + acceleration;
}
} else if (Key.isDown(39)) {
goingForward = false;
if (xspeed > (-maxSpeed)) {
xspeed = xspeed - acceleration;
}
} else if (goingForward) {
if (xspeed > 0) {
xspeed = xspeed - acceleration;
} else if (xspeed < 0) {
xspeed = xspeed + acceleration;
}
} else if (xspeed < 0) {
xspeed = xspeed + acceleration;
} else if (xspeed > 0) {
xspeed = xspeed - acceleration;
}
if (Key.isDown(38)) {
goingDown = true;
if (yspeed < maxSpeed) {
yspeed = yspeed + acceleration;
}
} else if (Key.isDown(40)) {
goingDown = false;
if (yspeed > (-maxSpeed)) {
yspeed = yspeed - acceleration;
}
} else if (goingDown) {
if (yspeed > 0) {
yspeed = yspeed - acceleration;
} else if (yspeed < 0) {
yspeed = yspeed + acceleration;
}
} else if (yspeed < 0) {
yspeed = yspeed + acceleration;
} else if (yspeed > 0) {
yspeed = yspeed - acceleration;
}
if (_x > (Stage.width + (_width / 2))) {
_x = (-(_width / 2));
} else if (_x < (-(_width / 2))) {
_x = (Stage.width + (_width / 2));
}
if (_y > Stage.height) {
_y = Stage.height;
yspeed = 0;
} else if (_y < 0) {
_y = 0;
yspeed = 0;
}
}
onClipEvent (load) {
startDrag ("", true);
}
Frame 300
results = "You have lost. Your final score was: " + score;
Frame 301
enemyFish._visible = false;
fishies = new Array();
fishMade = (d = (score = 0));
minimumFishOnScreen = 7;
maximumFishOnScreen = 15;
frame = _currentframe;
stop();
_root.onEnterFrame = function () {
if (_currentframe == frame) {
if (_root.fish._width < Stage.width) {
fishFound = 0;
i = 0;
while (i < fishies.length) {
if (fishies[i] == 1) {
fishFound++;
}
i++;
}
if (fishFound < minimumFishOnScreen) {
chanceOfNewFishComing = 0;
} else if (fishFound < maximumFishOnScreen) {
chanceOfNewFishComing = random(60);
}
if (chanceOfNewFishComing == 0) {
enemyFish.duplicateMovieClip("newEnemyFish" + d, d++, {left:random(2), speed:random(6) + 2, scale:random(_root.fish.scale + 40) + 10, _y:random(Stage.height), newFish:true});
fishies[fishMade] = 1;
fishMade++;
}
i = 0;
while (i < fishies.length) {
if (fishies[i] == 1) {
_root["newEnemyFish" + i]._x = _root["newEnemyFish" + i]._x + _root["newEnemyFish" + i].speed;
if (_root["newEnemyFish" + i].hitTest(_root.fish)) {
if (_root["newEnemyFish" + i].scale <= _root.fish.scale) {
fish.scale = fish.scale + 5;
score = score + _root["newEnemyFish" + i].scale;
removeMovieClip(_root["newEnemyFish" + i]);
fishies[i] = 0;
} else {
nextFrame();
clearScreen();
}
}
if (_root["newEnemyFish" + i].left == 1) {
if (_root["newEnemyFish" + i]._x < (-_root["newEnemyFish" + i]._width)) {
fishies[i] = 0;
removeMovieClip(_root["newEnemyFish" + i]);
}
} else if (_root["newEnemyFish" + i]._x > (Stage.width + _root["newEnemyFish" + i]._width)) {
fishies[i] = 0;
removeMovieClip(_root["newEnemyFish" + i]);
}
}
i++;
}
} else {
_root.gotoAndStop(_currentframe + 2);
}
}
};
clearScreen = function () {
i = 0;
while (i < fishies.length) {
removeMovieClip(_root["newEnemyFish" + i]);
i++;
}
fishies = new Array();
fishMade = 0;
};
Instance of Symbol 562 MovieClip "fish" in Frame 301
onClipEvent (load) {
xspeed = (yspeed = 0);
goingDown = (goingForward = false);
acceleration = 0.5;
maxSpeed = 12;
scale = 100;
facingRight = false;
}
onClipEvent (enterFrame) {
_x = (_x - xspeed);
_y = (_y - yspeed);
_yscale = scale;
xscale = scale;
if (!goingForward) {
_xscale = (-xscale);
} else {
_xscale = xscale;
}
if (Key.isDown(37)) {
goingForward = true;
if (xspeed < maxSpeed) {
xspeed = xspeed + acceleration;
}
} else if (Key.isDown(39)) {
goingForward = false;
if (xspeed > (-maxSpeed)) {
xspeed = xspeed - acceleration;
}
} else if (goingForward) {
if (xspeed > 0) {
xspeed = xspeed - acceleration;
} else if (xspeed < 0) {
xspeed = xspeed + acceleration;
}
} else if (xspeed < 0) {
xspeed = xspeed + acceleration;
} else if (xspeed > 0) {
xspeed = xspeed - acceleration;
}
if (Key.isDown(38)) {
goingDown = true;
if (yspeed < maxSpeed) {
yspeed = yspeed + acceleration;
}
} else if (Key.isDown(40)) {
goingDown = false;
if (yspeed > (-maxSpeed)) {
yspeed = yspeed - acceleration;
}
} else if (goingDown) {
if (yspeed > 0) {
yspeed = yspeed - acceleration;
} else if (yspeed < 0) {
yspeed = yspeed + acceleration;
}
} else if (yspeed < 0) {
yspeed = yspeed + acceleration;
} else if (yspeed > 0) {
yspeed = yspeed - acceleration;
}
if (_x > (Stage.width + (_width / 2))) {
_x = (-(_width / 2));
} else if (_x < (-(_width / 2))) {
_x = (Stage.width + (_width / 2));
}
if (_y > Stage.height) {
_y = Stage.height;
yspeed = 0;
} else if (_y < 0) {
_y = 0;
yspeed = 0;
}
}
Instance of Symbol 567 MovieClip "enemyFish" in Frame 301
onClipEvent (load) {
if (_name != "enemyFish") {
_yscale = ((xscale = scale));
if (left == 1) {
speed = speed * -1;
_xscale = xscale;
_x = (Stage.width + _width);
} else {
_xscale = (-xscale);
_x = (-_width);
}
}
}
Frame 302
results = "You have lost. Your final score was: " + score;
Frame 303
results = "You have won! Your final score was: " + score;
Frame 304
enemyFish._visible = false;
fishies = new Array();
fishMade = (d = (score = 0));
minimumFishOnScreen = 7;
maximumFishOnScreen = 15;
frame = _currentframe;
stop();
_root.onEnterFrame = function () {
if (_currentframe == frame) {
if (_root.fish._width < Stage.width) {
fishFound = 0;
i = 0;
while (i < fishies.length) {
if (fishies[i] == 1) {
fishFound++;
}
i++;
}
if (fishFound < minimumFishOnScreen) {
chanceOfNewFishComing = 0;
} else if (fishFound < maximumFishOnScreen) {
chanceOfNewFishComing = random(60);
}
if (chanceOfNewFishComing == 0) {
enemyFish.duplicateMovieClip("newEnemyFish" + d, d++, {left:random(2), speed:random(6) + 2, scale:random(_root.fish.scale + 40) + 10, _y:random(Stage.height), newFish:true});
fishies[fishMade] = 1;
fishMade++;
}
i = 0;
while (i < fishies.length) {
if (fishies[i] == 1) {
_root["newEnemyFish" + i]._x = _root["newEnemyFish" + i]._x + _root["newEnemyFish" + i].speed;
if (_root["newEnemyFish" + i].hitTest(_root.fish)) {
if (_root["newEnemyFish" + i].scale <= _root.fish.scale) {
fish.scale = fish.scale + 5;
score = score + _root["newEnemyFish" + i].scale;
removeMovieClip(_root["newEnemyFish" + i]);
fishies[i] = 0;
} else {
nextFrame();
clearScreen();
}
}
if (_root["newEnemyFish" + i].left == 1) {
if (_root["newEnemyFish" + i]._x < (-_root["newEnemyFish" + i]._width)) {
fishies[i] = 0;
removeMovieClip(_root["newEnemyFish" + i]);
}
} else if (_root["newEnemyFish" + i]._x > (Stage.width + _root["newEnemyFish" + i]._width)) {
fishies[i] = 0;
removeMovieClip(_root["newEnemyFish" + i]);
}
}
i++;
}
} else {
_root.gotoAndStop(_currentframe + 2);
}
}
};
clearScreen = function () {
i = 0;
while (i < fishies.length) {
removeMovieClip(_root["newEnemyFish" + i]);
i++;
}
fishies = new Array();
fishMade = 0;
};
Instance of Symbol 562 MovieClip "fish" in Frame 304
onClipEvent (load) {
xspeed = (yspeed = 0);
goingDown = (goingForward = false);
acceleration = 0.1;
maxSpeed = 12;
scale = 100;
facingRight = false;
}
onClipEvent (enterFrame) {
_x = (_x - xspeed);
_y = (_y - yspeed);
_yscale = scale;
xscale = scale;
if (!goingForward) {
_xscale = (-xscale);
} else {
_xscale = xscale;
}
if (Key.isDown(37)) {
goingForward = true;
if (xspeed < maxSpeed) {
xspeed = xspeed + acceleration;
}
} else if (Key.isDown(39)) {
goingForward = false;
if (xspeed > (-maxSpeed)) {
xspeed = xspeed - acceleration;
}
} else if (goingForward) {
if (xspeed > 0) {
xspeed = xspeed - acceleration;
} else if (xspeed < 0) {
xspeed = xspeed + acceleration;
}
} else if (xspeed < 0) {
xspeed = xspeed + acceleration;
} else if (xspeed > 0) {
xspeed = xspeed - acceleration;
}
if (Key.isDown(38)) {
goingDown = true;
if (yspeed < maxSpeed) {
yspeed = yspeed + acceleration;
}
} else if (Key.isDown(40)) {
goingDown = false;
if (yspeed > (-maxSpeed)) {
yspeed = yspeed - acceleration;
}
} else if (goingDown) {
if (yspeed > 0) {
yspeed = yspeed - acceleration;
} else if (yspeed < 0) {
yspeed = yspeed + acceleration;
}
} else if (yspeed < 0) {
yspeed = yspeed + acceleration;
} else if (yspeed > 0) {
yspeed = yspeed - acceleration;
}
if (_x > (Stage.width + (_width / 2))) {
_x = (-(_width / 2));
} else if (_x < (-(_width / 2))) {
_x = (Stage.width + (_width / 2));
}
if (_y > Stage.height) {
_y = Stage.height;
yspeed = 0;
} else if (_y < 0) {
_y = 0;
yspeed = 0;
}
}
Instance of Symbol 567 MovieClip "enemyFish" in Frame 304
onClipEvent (load) {
if (_name != "enemyFish") {
_yscale = ((xscale = scale));
if (left == 1) {
speed = speed * -1;
_xscale = xscale;
_x = (Stage.width + _width);
} else {
_xscale = (-xscale);
_x = (-_width);
}
}
}
Frame 305
results = "You have lost. Your final score was: " + score;
Frame 306
results = "You have won! Your final score was: " + score;
Symbol 117 MovieClip Frame 40
stop();
Symbol 131 Button
on (press) {
_root.play();
}
Symbol 132 MovieClip Frame 1
function onEnterFrame() {
if (!loaded) {
var _local3 = _root.getBytesLoaded() / _root.getBytesTotal();
if (_local3 >= 1) {
if (firstframe) {
gotoAndStop ("loaded");
} else {
play();
bar._x = initX;
}
loaded = true;
} else {
bar._x = initX + ((_local3 - 1) * bar._width);
}
}
var _local4 = getTimer() - time;
timeAccum = timeAccum + _local4;
while (timeAccum >= FRAME_TIME) {
var _local2 = 0;
while (_local2 < timeClips.length) {
if (timeClips[_local2]._currentframe < timeClips[_local2]._totalframes) {
timeClips[_local2].nextFrame();
} else {
timeClips[_local2].gotoAndStop(1);
}
_local2++;
}
if (loaded && (_currentframe < _totalframes)) {
nextFrame();
}
timeAccum = timeAccum - FRAME_TIME;
}
time = time + _local4;
firstframe = false;
}
stop();
_root.stop();
var initX = bar._x;
var time = getTimer();
var FRAME_TIME = 33.3333333333333;
var timeAccum = 0;
var firstframe = true;
var loaded = false;
timeClips = [bargfx, tank.mc0, tank.mc1, tank.mc2, tank.mc3, tank.mc4, tank.mc4.mc0, tank.mc4.mc1, tank.mc4.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc0.mc2, tank.mc4.mc0.mc0.mc0.mc3, tank.mc4.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc2, tank.mc5.mc0];
var i = 0;
while (i < timeClips.length) {
timeClips[i].stop();
i++;
}
Symbol 132 MovieClip Frame 53
Symbol 136 Button
on (release) {
getURL ("http://www.freeworldgroup.com/koalafiles.htm", "_blank");
}
Symbol 138 Button
on (release) {
getURL ("http://www.freeworldgroup.com/", "_blank");
}
Symbol 140 Button
on (release) {
getURL ("http://www.ifungames.com/", "_blank");
}
Symbol 143 Button
on (release) {
getURL ("http://www.freeworldgroup.com/", "_blank");
}
Symbol 152 MovieClip Frame 95
_root.play();
Symbol 216 MovieClip Frame 110
stop();
Symbol 223 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 230 MovieClip Frame 81
_root.play();
_root.play();
Symbol 245 Button
on (release) {
gotoAndStop (283);
}
Symbol 246 Button
on (release) {
nextFrame();
}
Symbol 247 Button
on (release) {
gotoAndStop (286);
}
Symbol 277 Button
on (release) {
gotoAndStop (289);
}
Symbol 284 Button
on (release) {
getURL ("http://ra-entertainment.com/", "_blank");
}
Symbol 289 Button
on (release) {
getURL ("http://www.freeworldgroup.com/", "_blank");
}
Symbol 471 MovieClip Frame 1
stop();
Instance of Symbol 470 MovieClip in Symbol 471 MovieClip Frame 1
onClipEvent (load) {
pic = random(4);
goto = Math.ceil(pic);
if (goto == 0) {
goto = 1;
}
gotoAndStop(goto);
}
Symbol 486 Button
on (release) {
gotoAndStop (279);
}