Frame 1
var mouseCursor = new Object();
mouseCursor.onMouseMove = function () {
cursor._x = _xmouse;
cursor._y = _ymouse;
};
Mouse.hide();
Mouse.addListener(mouseCursor);
Frame 6
percent = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
loadbar.gotoAndStop(percent);
Frame 9
if (percent == 100) {
gotoAndPlay ("skip_load");
} else {
gotoAndPlay ("loop");
}
Frame 21
var mainsong_sound = new Sound();
mainsong_sound.attachSound("main_song");
mainsong_sound.start(0, 1000);
mainsong_sound.setVolume(75);
Frame 109
stop();
muted = false;
Frame 115
stop();
Frame 121
stop();
Frame 138
function sidewall_bounceback() {
_root.fish._x = _root.fish._x + (-(_root.fish.x_Amount_to_move_fish * 3));
_root.fish.x_Amount_to_move_fish = 5;
_root.fish._y = _root.fish._y + (-(_root.fish.y_Amount_to_move_fish * 3));
_root.fish.y_Amount_to_move_fish = 5;
}
level = 1;
lives = 3;
speed = 15;
var eggcollect_sound = new Sound();
eggcollect_sound.attachSound("egg_sound");
var reward_sound = new Sound();
reward_sound.attachSound("end_sound");
Frame 139
stop();
orbs_onstage = 0;
orbs_eaten = 0;
carry_orbs_offset = 1;
timer = 40;
Instance of Symbol 178 MovieClip "ship" in Frame 139
onClipEvent (mouseDown) {
_root.nextFrame();
}
Instance of Symbol 187 MovieClip "mask" in Frame 140
on (keyPress "<Left>") {
this._x = this._x - 15;
}
on (keyPress "<Right>") {
this._x = this._x + 15;
}
on (keyPress "<Up>") {
this._y = this._y - 15;
}
on (keyPress "<Down>") {
this._y = this._y + 15;
}
Instance of Symbol 194 MovieClip in Frame 140
onClipEvent (enterFrame) {
if (this.hitTest(_root.fish.hit_area) and (_root.orbs_eaten == _root.orbs_onstage)) {
_root.level = _root.level + 1;
_root.reward_sound.start();
_root.gotoAndStop("level" + _root.level);
}
}
Instance of Symbol 178 MovieClip "fish" in Frame 140
onClipEvent (mouseMove) {
if (Math.abs(yDifference) > 400) {
_root.speed = 15;
}
if (Math.abs(yDifference) <= 400) {
_root.speed = 15;
}
if (Math.abs(xDifference) > 400) {
_root.speed = 15;
}
if (Math.abs(xDifference) <= 400) {
_root.speed = 15;
}
}
onClipEvent (mouseDown) {
_root.speed = 15;
}
onClipEvent (mouseUp) {
_root.speed = 15;
}
onClipEvent (enterFrame) {
yDifference = Math.round(_root._ymouse - this._y);
y_Amount_to_move_fish = Math.round(yDifference / _root.speed);
this._y = y_Amount_to_move_fish + this._y;
xDifference = Math.round(_root._xmouse - this._x);
x_Amount_to_move_fish = Math.round(xDifference / _root.speed);
this._x = x_Amount_to_move_fish + this._x;
angle_in_radians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
angle_in_degrees = Math.round((angle_in_radians * 180) / Math.PI);
this._rotation = angle_in_degrees;
if ((this._rotation <= -90) and (this._rotation >= -180)) {
this._yscale = -75;
}
if (this._rotation >= 90) {
this._yscale = -75;
}
if ((this._rotation > -90) and (this._rotation < 90)) {
this._yscale = 75;
}
}
Frame 141
_root.gotoAndStop("level" + _root.level);
Frame 144
stop();
orbs_onstage = 0;
orbs_eaten = 0;
carry_orbs_offset = 1;
timer = 40;
Instance of Symbol 178 MovieClip "ship" in Frame 144
onClipEvent (mouseDown) {
_root.nextFrame();
}
Instance of Symbol 187 MovieClip "mask" in Frame 145
on (keyPress "<Left>") {
this._x = this._x - 15;
}
on (keyPress "<Right>") {
this._x = this._x + 15;
}
on (keyPress "<Up>") {
this._y = this._y - 15;
}
on (keyPress "<Down>") {
this._y = this._y + 15;
}
Instance of Symbol 194 MovieClip in Frame 145
onClipEvent (enterFrame) {
if (this.hitTest(_root.fish.hit_area) and (_root.orbs_eaten == _root.orbs_onstage)) {
_root.level = _root.level + 1;
_root.reward_sound.start();
_root.gotoAndStop("level" + _root.level);
}
}
Instance of Symbol 178 MovieClip "fish" in Frame 145
onClipEvent (mouseMove) {
if (Math.abs(yDifference) > 400) {
_root.speed = 15;
}
if (Math.abs(yDifference) <= 400) {
_root.speed = 15;
}
if (Math.abs(xDifference) > 400) {
_root.speed = 15;
}
if (Math.abs(xDifference) <= 400) {
_root.speed = 15;
}
}
onClipEvent (mouseDown) {
_root.speed = 15;
}
onClipEvent (mouseUp) {
_root.speed = 15;
}
onClipEvent (enterFrame) {
yDifference = Math.round(_root._ymouse - this._y);
y_Amount_to_move_fish = Math.round(yDifference / _root.speed);
this._y = y_Amount_to_move_fish + this._y;
xDifference = Math.round(_root._xmouse - this._x);
x_Amount_to_move_fish = Math.round(xDifference / _root.speed);
this._x = x_Amount_to_move_fish + this._x;
angle_in_radians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
angle_in_degrees = Math.round((angle_in_radians * 180) / Math.PI);
this._rotation = angle_in_degrees;
if ((this._rotation <= -90) and (this._rotation >= -180)) {
this._yscale = -75;
}
if (this._rotation >= 90) {
this._yscale = -75;
}
if ((this._rotation > -90) and (this._rotation < 90)) {
this._yscale = 75;
}
}
Frame 146
_root.gotoAndStop("level" + _root.level);
Frame 150
stop();
orbs_onstage = 0;
orbs_eaten = 0;
carry_orbs_offset = 1;
timer = 40;
Instance of Symbol 178 MovieClip "ship" in Frame 150
onClipEvent (mouseDown) {
_root.nextFrame();
}
Instance of Symbol 187 MovieClip "mask" in Frame 151
on (keyPress "<Left>") {
this._x = this._x - 15;
}
on (keyPress "<Right>") {
this._x = this._x + 15;
}
on (keyPress "<Up>") {
this._y = this._y - 15;
}
on (keyPress "<Down>") {
this._y = this._y + 15;
}
Instance of Symbol 194 MovieClip in Frame 151
onClipEvent (enterFrame) {
if (this.hitTest(_root.fish.hit_area) and (_root.orbs_eaten == _root.orbs_onstage)) {
_root.level = _root.level + 1;
_root.reward_sound.start();
_root.gotoAndStop("level" + _root.level);
}
}
Instance of Symbol 178 MovieClip "fish" in Frame 151
onClipEvent (mouseMove) {
if (Math.abs(yDifference) > 400) {
_root.speed = 15;
}
if (Math.abs(yDifference) <= 400) {
_root.speed = 15;
}
if (Math.abs(xDifference) > 400) {
_root.speed = 15;
}
if (Math.abs(xDifference) <= 400) {
_root.speed = 15;
}
}
onClipEvent (mouseDown) {
_root.speed = 15;
}
onClipEvent (mouseUp) {
_root.speed = 15;
}
onClipEvent (enterFrame) {
yDifference = Math.round(_root._ymouse - this._y);
y_Amount_to_move_fish = Math.round(yDifference / _root.speed);
this._y = y_Amount_to_move_fish + this._y;
xDifference = Math.round(_root._xmouse - this._x);
x_Amount_to_move_fish = Math.round(xDifference / _root.speed);
this._x = x_Amount_to_move_fish + this._x;
angle_in_radians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
angle_in_degrees = Math.round((angle_in_radians * 180) / Math.PI);
this._rotation = angle_in_degrees;
if ((this._rotation <= -90) and (this._rotation >= -180)) {
this._yscale = -75;
}
if (this._rotation >= 90) {
this._yscale = -75;
}
if ((this._rotation > -90) and (this._rotation < 90)) {
this._yscale = 75;
}
}
Frame 152
_root.gotoAndStop("level" + _root.level);
Frame 156
stop();
orbs_onstage = 0;
orbs_eaten = 0;
carry_orbs_offset = 1;
timer = 40;
Instance of Symbol 178 MovieClip "ship" in Frame 156
onClipEvent (mouseDown) {
_root.nextFrame();
}
Instance of Symbol 187 MovieClip "mask" in Frame 157
on (keyPress "<Left>") {
this._x = this._x - 15;
}
on (keyPress "<Right>") {
this._x = this._x + 15;
}
on (keyPress "<Up>") {
this._y = this._y - 15;
}
on (keyPress "<Down>") {
this._y = this._y + 15;
}
Instance of Symbol 194 MovieClip in Frame 157
onClipEvent (enterFrame) {
if (this.hitTest(_root.fish.hit_area) and (_root.orbs_eaten == _root.orbs_onstage)) {
_root.level = _root.level + 1;
_root.reward_sound.start();
_root.gotoAndStop("level" + _root.level);
}
}
Instance of Symbol 178 MovieClip "fish" in Frame 157
onClipEvent (mouseMove) {
if (Math.abs(yDifference) > 400) {
_root.speed = 15;
}
if (Math.abs(yDifference) <= 400) {
_root.speed = 15;
}
if (Math.abs(xDifference) > 400) {
_root.speed = 15;
}
if (Math.abs(xDifference) <= 400) {
_root.speed = 15;
}
}
onClipEvent (mouseDown) {
_root.speed = 15;
}
onClipEvent (mouseUp) {
_root.speed = 15;
}
onClipEvent (enterFrame) {
yDifference = Math.round(_root._ymouse - this._y);
y_Amount_to_move_fish = Math.round(yDifference / _root.speed);
this._y = y_Amount_to_move_fish + this._y;
xDifference = Math.round(_root._xmouse - this._x);
x_Amount_to_move_fish = Math.round(xDifference / _root.speed);
this._x = x_Amount_to_move_fish + this._x;
angle_in_radians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
angle_in_degrees = Math.round((angle_in_radians * 180) / Math.PI);
this._rotation = angle_in_degrees;
if ((this._rotation <= -90) and (this._rotation >= -180)) {
this._yscale = -75;
}
if (this._rotation >= 90) {
this._yscale = -75;
}
if ((this._rotation > -90) and (this._rotation < 90)) {
this._yscale = 75;
}
}
Frame 158
_root.gotoAndStop("level" + _root.level);
Frame 161
stop();
orbs_onstage = 0;
orbs_eaten = 0;
carry_orbs_offset = 1;
timer = 40;
Instance of Symbol 178 MovieClip "ship" in Frame 161
onClipEvent (mouseDown) {
_root.nextFrame();
}
Instance of Symbol 187 MovieClip "mask" in Frame 162
on (keyPress "<Left>") {
this._x = this._x - 15;
}
on (keyPress "<Right>") {
this._x = this._x + 15;
}
on (keyPress "<Up>") {
this._y = this._y - 15;
}
on (keyPress "<Down>") {
this._y = this._y + 15;
}
Instance of Symbol 194 MovieClip in Frame 162
onClipEvent (enterFrame) {
if (this.hitTest(_root.fish.hit_area) and (_root.orbs_eaten == _root.orbs_onstage)) {
_root.level = _root.level + 1;
_root.reward_sound.start();
_root.gotoAndStop("level" + _root.level);
}
}
Instance of Symbol 178 MovieClip "fish" in Frame 162
onClipEvent (mouseMove) {
if (Math.abs(yDifference) > 400) {
_root.speed = 15;
}
if (Math.abs(yDifference) <= 400) {
_root.speed = 15;
}
if (Math.abs(xDifference) > 400) {
_root.speed = 15;
}
if (Math.abs(xDifference) <= 400) {
_root.speed = 15;
}
}
onClipEvent (mouseDown) {
_root.speed = 15;
}
onClipEvent (mouseUp) {
_root.speed = 15;
}
onClipEvent (enterFrame) {
yDifference = Math.round(_root._ymouse - this._y);
y_Amount_to_move_fish = Math.round(yDifference / _root.speed);
this._y = y_Amount_to_move_fish + this._y;
xDifference = Math.round(_root._xmouse - this._x);
x_Amount_to_move_fish = Math.round(xDifference / _root.speed);
this._x = x_Amount_to_move_fish + this._x;
angle_in_radians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
angle_in_degrees = Math.round((angle_in_radians * 180) / Math.PI);
this._rotation = angle_in_degrees;
if ((this._rotation <= -90) and (this._rotation >= -180)) {
this._yscale = -75;
}
if (this._rotation >= 90) {
this._yscale = -75;
}
if ((this._rotation > -90) and (this._rotation < 90)) {
this._yscale = 75;
}
}
Frame 163
_root.gotoAndStop("level" + _root.level);
Frame 166
stop();
orbs_onstage = 0;
orbs_eaten = 0;
carry_orbs_offset = 1;
timer = 50;
Instance of Symbol 178 MovieClip "ship" in Frame 166
onClipEvent (mouseDown) {
_root.nextFrame();
}
Instance of Symbol 187 MovieClip "mask" in Frame 167
on (keyPress "<Left>") {
this._x = this._x - 15;
}
on (keyPress "<Right>") {
this._x = this._x + 15;
}
on (keyPress "<Up>") {
this._y = this._y - 15;
}
on (keyPress "<Down>") {
this._y = this._y + 15;
}
Instance of Symbol 194 MovieClip in Frame 167
onClipEvent (enterFrame) {
if (this.hitTest(_root.fish.hit_area) and (_root.orbs_eaten == _root.orbs_onstage)) {
_root.level = _root.level + 1;
_root.reward_sound.start();
_root.gotoAndStop("level" + _root.level);
}
}
Instance of Symbol 178 MovieClip "fish" in Frame 167
onClipEvent (mouseMove) {
if (Math.abs(yDifference) > 400) {
_root.speed = 15;
}
if (Math.abs(yDifference) <= 400) {
_root.speed = 15;
}
if (Math.abs(xDifference) > 400) {
_root.speed = 15;
}
if (Math.abs(xDifference) <= 400) {
_root.speed = 15;
}
}
onClipEvent (mouseDown) {
_root.speed = 15;
}
onClipEvent (mouseUp) {
_root.speed = 15;
}
onClipEvent (enterFrame) {
yDifference = Math.round(_root._ymouse - this._y);
y_Amount_to_move_fish = Math.round(yDifference / _root.speed);
this._y = y_Amount_to_move_fish + this._y;
xDifference = Math.round(_root._xmouse - this._x);
x_Amount_to_move_fish = Math.round(xDifference / _root.speed);
this._x = x_Amount_to_move_fish + this._x;
angle_in_radians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
angle_in_degrees = Math.round((angle_in_radians * 180) / Math.PI);
this._rotation = angle_in_degrees;
if ((this._rotation <= -90) and (this._rotation >= -180)) {
this._yscale = -75;
}
if (this._rotation >= 90) {
this._yscale = -75;
}
if ((this._rotation > -90) and (this._rotation < 90)) {
this._yscale = 75;
}
}
Frame 168
_root.gotoAndStop("level" + _root.level);
Frame 174
stop();
orbs_onstage = 0;
orbs_eaten = 0;
carry_orbs_offset = 1;
timer = 60;
Instance of Symbol 178 MovieClip "ship" in Frame 174
onClipEvent (mouseDown) {
_root.nextFrame();
}
Instance of Symbol 187 MovieClip "mask" in Frame 175
on (keyPress "<Left>") {
this._x = this._x - 15;
}
on (keyPress "<Right>") {
this._x = this._x + 15;
}
on (keyPress "<Up>") {
this._y = this._y - 15;
}
on (keyPress "<Down>") {
this._y = this._y + 15;
}
Instance of Symbol 194 MovieClip in Frame 175
onClipEvent (enterFrame) {
if (this.hitTest(_root.fish.hit_area) and (_root.orbs_eaten == _root.orbs_onstage)) {
_root.level = _root.level + 1;
_root.reward_sound.start();
_root.gotoAndStop("level" + _root.level);
}
}
Instance of Symbol 178 MovieClip "fish" in Frame 175
onClipEvent (mouseMove) {
if (Math.abs(yDifference) > 400) {
_root.speed = 15;
}
if (Math.abs(yDifference) <= 400) {
_root.speed = 15;
}
if (Math.abs(xDifference) > 400) {
_root.speed = 15;
}
if (Math.abs(xDifference) <= 400) {
_root.speed = 15;
}
}
onClipEvent (mouseDown) {
_root.speed = 15;
}
onClipEvent (mouseUp) {
_root.speed = 15;
}
onClipEvent (enterFrame) {
yDifference = Math.round(_root._ymouse - this._y);
y_Amount_to_move_fish = Math.round(yDifference / _root.speed);
this._y = y_Amount_to_move_fish + this._y;
xDifference = Math.round(_root._xmouse - this._x);
x_Amount_to_move_fish = Math.round(xDifference / _root.speed);
this._x = x_Amount_to_move_fish + this._x;
angle_in_radians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
angle_in_degrees = Math.round((angle_in_radians * 180) / Math.PI);
this._rotation = angle_in_degrees;
if ((this._rotation <= -90) and (this._rotation >= -180)) {
this._yscale = -75;
}
if (this._rotation >= 90) {
this._yscale = -75;
}
if ((this._rotation > -90) and (this._rotation < 90)) {
this._yscale = 75;
}
}
Frame 176
_root.gotoAndStop("level" + _root.level);
Frame 181
stop();
orbs_onstage = 0;
orbs_eaten = 0;
carry_orbs_offset = 1;
timer = 80;
Instance of Symbol 178 MovieClip "ship" in Frame 181
onClipEvent (mouseDown) {
_root.nextFrame();
}
Instance of Symbol 187 MovieClip "mask" in Frame 182
on (keyPress "<Left>") {
this._x = this._x - 15;
}
on (keyPress "<Right>") {
this._x = this._x + 15;
}
on (keyPress "<Up>") {
this._y = this._y - 15;
}
on (keyPress "<Down>") {
this._y = this._y + 15;
}
Instance of Symbol 194 MovieClip in Frame 182
onClipEvent (enterFrame) {
if (this.hitTest(_root.fish.hit_area) and (_root.orbs_eaten == _root.orbs_onstage)) {
_root.level = _root.level + 1;
_root.reward_sound.start();
_root.gotoAndStop("level" + _root.level);
}
}
Instance of Symbol 178 MovieClip "fish" in Frame 182
onClipEvent (mouseMove) {
if (Math.abs(yDifference) > 400) {
_root.speed = 15;
}
if (Math.abs(yDifference) <= 400) {
_root.speed = 15;
}
if (Math.abs(xDifference) > 400) {
_root.speed = 15;
}
if (Math.abs(xDifference) <= 400) {
_root.speed = 15;
}
}
onClipEvent (mouseDown) {
_root.speed = 15;
}
onClipEvent (mouseUp) {
_root.speed = 15;
}
onClipEvent (enterFrame) {
yDifference = Math.round(_root._ymouse - this._y);
y_Amount_to_move_fish = Math.round(yDifference / _root.speed);
this._y = y_Amount_to_move_fish + this._y;
xDifference = Math.round(_root._xmouse - this._x);
x_Amount_to_move_fish = Math.round(xDifference / _root.speed);
this._x = x_Amount_to_move_fish + this._x;
angle_in_radians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
angle_in_degrees = Math.round((angle_in_radians * 180) / Math.PI);
this._rotation = angle_in_degrees;
if ((this._rotation <= -90) and (this._rotation >= -180)) {
this._yscale = -75;
}
if (this._rotation >= 90) {
this._yscale = -75;
}
if ((this._rotation > -90) and (this._rotation < 90)) {
this._yscale = 75;
}
}
Frame 183
_root.gotoAndStop("level" + _root.level);
Frame 188
stop();
orbs_onstage = 0;
orbs_eaten = 0;
carry_orbs_offset = 1;
timer = 80;
Instance of Symbol 178 MovieClip "ship" in Frame 188
onClipEvent (mouseDown) {
_root.nextFrame();
}
Instance of Symbol 187 MovieClip "mask" in Frame 189
on (keyPress "<Left>") {
this._x = this._x - 15;
}
on (keyPress "<Right>") {
this._x = this._x + 15;
}
on (keyPress "<Up>") {
this._y = this._y - 15;
}
on (keyPress "<Down>") {
this._y = this._y + 15;
}
Instance of Symbol 194 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.fish.hit_area) and (_root.orbs_eaten == _root.orbs_onstage)) {
_root.level = _root.level + 1;
_root.reward_sound.start();
_root.gotoAndStop("level" + _root.level);
}
}
Instance of Symbol 178 MovieClip "fish" in Frame 189
onClipEvent (mouseMove) {
if (Math.abs(yDifference) > 400) {
_root.speed = 15;
}
if (Math.abs(yDifference) <= 400) {
_root.speed = 15;
}
if (Math.abs(xDifference) > 400) {
_root.speed = 15;
}
if (Math.abs(xDifference) <= 400) {
_root.speed = 15;
}
}
onClipEvent (mouseDown) {
_root.speed = 15;
}
onClipEvent (mouseUp) {
_root.speed = 15;
}
onClipEvent (enterFrame) {
yDifference = Math.round(_root._ymouse - this._y);
y_Amount_to_move_fish = Math.round(yDifference / _root.speed);
this._y = y_Amount_to_move_fish + this._y;
xDifference = Math.round(_root._xmouse - this._x);
x_Amount_to_move_fish = Math.round(xDifference / _root.speed);
this._x = x_Amount_to_move_fish + this._x;
angle_in_radians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
angle_in_degrees = Math.round((angle_in_radians * 180) / Math.PI);
this._rotation = angle_in_degrees;
if ((this._rotation <= -90) and (this._rotation >= -180)) {
this._yscale = -75;
}
if (this._rotation >= 90) {
this._yscale = -75;
}
if ((this._rotation > -90) and (this._rotation < 90)) {
this._yscale = 75;
}
}
Frame 190
_root.gotoAndStop("level" + _root.level);
Frame 195
stop();
orbs_onstage = 0;
orbs_eaten = 0;
carry_orbs_offset = 1;
timer = 120;
Instance of Symbol 178 MovieClip "ship" in Frame 195
onClipEvent (mouseDown) {
_root.nextFrame();
}
Instance of Symbol 187 MovieClip "mask" in Frame 196
on (keyPress "<Left>") {
this._x = this._x - 15;
}
on (keyPress "<Right>") {
this._x = this._x + 15;
}
on (keyPress "<Up>") {
this._y = this._y - 15;
}
on (keyPress "<Down>") {
this._y = this._y + 15;
}
Instance of Symbol 194 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.fish.hit_area) and (_root.orbs_eaten == _root.orbs_onstage)) {
_root.level = _root.level + 1;
_root.reward_sound.start();
_root.gotoAndStop("level" + _root.level);
}
}
Instance of Symbol 178 MovieClip "fish" in Frame 196
onClipEvent (mouseMove) {
if (Math.abs(yDifference) > 400) {
_root.speed = 15;
}
if (Math.abs(yDifference) <= 400) {
_root.speed = 15;
}
if (Math.abs(xDifference) > 400) {
_root.speed = 15;
}
if (Math.abs(xDifference) <= 400) {
_root.speed = 15;
}
}
onClipEvent (mouseDown) {
_root.speed = 15;
}
onClipEvent (mouseUp) {
_root.speed = 15;
}
onClipEvent (enterFrame) {
yDifference = Math.round(_root._ymouse - this._y);
y_Amount_to_move_fish = Math.round(yDifference / _root.speed);
this._y = y_Amount_to_move_fish + this._y;
xDifference = Math.round(_root._xmouse - this._x);
x_Amount_to_move_fish = Math.round(xDifference / _root.speed);
this._x = x_Amount_to_move_fish + this._x;
angle_in_radians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
angle_in_degrees = Math.round((angle_in_radians * 180) / Math.PI);
this._rotation = angle_in_degrees;
if ((this._rotation <= -90) and (this._rotation >= -180)) {
this._yscale = -75;
}
if (this._rotation >= 90) {
this._yscale = -75;
}
if ((this._rotation > -90) and (this._rotation < 90)) {
this._yscale = 75;
}
}
Frame 197
_root.gotoAndStop("level" + _root.level);
Frame 202
stop();
Frame 215
stop();
Symbol 14 MovieClip Frame 1
stop();
Symbol 31 Button
on (release) {
getURL ("http://www.flashrage.com", (window = "_blank"));
}
Symbol 92 Button
on (release) {
getURL ("http://www.adgamesonline.com", (window = "_blank"));
}
Symbol 97 Button
on (release) {
gotoAndPlay (129);
}
Symbol 101 Button
on (release) {
gotoAndStop ("instructions");
}
Symbol 105 Button
on (release) {
gotoAndStop ("credits");
}
Symbol 111 Button
on (press) {
if (muted == false) {
_root.mainsong_sound.setVolume(0);
muted = true;
} else {
_root.mainsong_sound.setVolume(75);
muted = false;
}
}
Symbol 116 Button
on (release) {
getURL ("http://www.flashrage.com", (window = "_blank"));
}
Symbol 138 Button
on (release) {
getURL ("http://www.adgamesonline.com", (window = "_blank"));
}
Symbol 142 Button
on (release) {
gotoAndPlay ("mainmenu");
}
Symbol 146 Button
on (release) {
getURL ("http://www.flashrage.com", (window = "_blank"));
}
Symbol 174 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 4
_root.gotoAndStop("gameover");
Symbol 185 MovieClip Frame 22
stop();
Symbol 193 MovieClip Frame 1
stop();
Instance of Symbol 192 MovieClip in Symbol 193 MovieClip Frame 1
onClipEvent (load) {
_root.orbs_onstage = _root.orbs_onstage + 1;
this.orb_touched = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fish.hit_area) and (this.orb_touched == 0)) {
_root.orbs_eaten = _root.orbs_eaten + 1;
_root.eggcollect_sound.start();
_parent.gotoAndPlay(2);
}
}
Symbol 193 MovieClip Frame 6
stop();
Instance of Symbol 196 MovieClip in Symbol 197 MovieClip Frame 1
onClipEvent (enterFrame) {
while (this.hitTest(_root.fish.hit_area)) {
_root.sidewall_bounceback();
}
}
Symbol 201 MovieClip Frame 1
stop();
Instance of Symbol 203 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
while (this.hitTest(_root.fish.hit_area)) {
_root.sidewall_bounceback();
}
}
Symbol 210 MovieClip Frame 15
_root.timer = _root.timer - 1;
if (_root.timer == 0) {
_root.lives = _root.lives - 1;
_root.life_meter.nextFrame();
if (_root.lives != 0) {
_root.nextFrame();
}
if (_root.lives == 0) {
_root.gotoAndStop("gameover");
}
}
Symbol 234 Button
on (release) {
gotoAndPlay ("mainmenu");
}
Symbol 240 Button
on (release) {
gotoAndPlay ("mainmenu");
}