Frame 1
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
_root.loadBar.gotoAndStop(Math.round(getPercent * 100));
_root.loadText = Math.round(getPercent * 100) + "%";
if (bytes_loaded == bytes_total) {
_root.gotoAndPlay(3);
}
Frame 2
gotoAndPlay (1);
Frame 3
Frame 194
ms = new Sound(music);
ms.attachSound("music1");
ms.start(0, 999);
Frame 220
Frame 269
stop();
Frame 609
stop();
Instance of Symbol 185 MovieClip "food1" in Frame 609
onClipEvent (load) {
movey = 1;
_root.food1.movey = 0;
_root.enemy1.movey = 0;
die = 1;
fiftyfifty = Math.round(Math.random() * 1) + 1;
this.gotoAndStop(fishtype);
}
onClipEvent (enterFrame) {
if (die == 1) {
if (this._x > 2100) {
removeMovieClip(this);
}
if (this._x < -1400) {
removeMovieClip(this);
}
this._xscale = mesize;
this._yscale = mesize;
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
if (this._y < _root.depth._y) {
air = air + 0.4;
if (this._rotation > 0) {
if (this._rotation < 90) {
this._rotation = this._rotation - 3;
}
}
if (this._rotation < 180) {
if (this._rotation > 90) {
this._rotation = this._rotation + 3;
}
}
} else if (air > 0.5) {
air = air - 0.5;
}
if (movey == 1) {
this._x = this._x + _global.xgo;
this._y = this._y + (_global.ygo + air);
}
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
if (scared < (300 - (mespeed * 10))) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (movey == 1) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
}
if (this.eat.hitTest(_root.player.eat)) {
die = 0;
eat = new Sound();
eat.attachSound("eatit1");
eat.start(0, 1);
this.gotoAndPlay("die");
scoreity = Math.round(scoreworth);
_root.instascore.text = "+" + scoreity;
_root.instascore._y = 430;
_global.scoreit = (_global.scoreit * 1) + scoreity;
}
}
Frame 610
_quality = "medium";
ms.stop("menumusic");
Frame 629
stop();
Frame 630
_root.sky.gotoAndPlay("night");
_root.player.skyit = 1001;
stop();
Instance of Symbol 221 MovieClip "sky" in Frame 630
onClipEvent (load) {
this._y = _root.depth._y;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 233 MovieClip "backstuff2" in Frame 630
onClipEvent (load) {
this._y = _root.depth._y;
}
onClipEvent (enterFrame) {
if (this._x < -500) {
this._x = 900;
this.gotoAndStop(this._currentframe + 1);
}
if (this._x > 1000) {
this._x = -400;
this.gotoAndStop(this._currentframe - 1);
}
this._x = this._x + (_global.xgo / 2);
}
Instance of Symbol 254 MovieClip "backstuff1" in Frame 630
onClipEvent (load) {
this._y = _root.depth._y;
}
onClipEvent (enterFrame) {
if (this._x < -500) {
this._x = 1200;
this.gotoAndStop(this._currentframe + 1);
}
if (this._x > 1300) {
this._x = -400;
this.gotoAndStop(this._currentframe - 1);
}
this._x = this._x + (_global.xgo / 1.5);
}
Instance of Symbol 75 MovieClip "player" in Frame 630
onClipEvent (load) {
countit5 = 30;
_global.goballs = 0;
_global.timeday = 0;
_global.fly = 0;
myLocalSO = sharedobject.getLocal("flashcookie");
if (myLocalSO.data.pp1n != null) {
_global.pp1n = myLocalSO.data.pp1n;
_global.pp1s = myLocalSO.data.pp1s;
} else {
_global.pp1n = "NONE";
_global.pp1s = 500;
}
if (myLocalSO.data.pp2n != null) {
_global.pp2n = myLocalSO.data.pp2n;
_global.pp2s = myLocalSO.data.pp2s;
} else {
_global.pp2n = "NONE";
_global.pp2s = 400;
}
if (myLocalSO.data.pp3n != null) {
_global.pp3n = myLocalSO.data.pp3n;
_global.pp3s = myLocalSO.data.pp3s;
} else {
_global.pp3n = "NONE";
_global.pp3s = 300;
}
timey = 0;
die = 1;
this._rotation = -90;
i = 0;
while (i < 4) {
duplicateMovieClip (_root.backdot1, "circle" + i, 4000 + i);
i++;
}
_global.rotspeed1 = 5;
speed = 0;
maxspeed = 14;
psize = 1;
air = 0;
bubgen = 0;
_global.sizemultiplayer = 0.6;
ms = new Sound(music);
ms.attachSound("music1");
ms.stop("music1");
ms.start(0, 999);
}
onClipEvent (enterFrame) {
_root.nightsky._rotation = _root.nightsky._rotation + (_global.boost / 4);
if (_global.timeday == 0) {
skyit++;
}
if (skyit == 1000) {
_root.sky.gotoAndPlay("night");
}
if (skyit == 5000) {
_root.sky.gotoAndPlay("day");
skyit = 0;
}
_root.sky._y = (_root.depth._y + 60) - ((_root.depth._y - this._y) / 10);
_root.backstuff1._y = _root.depth._y;
_root.backstuff2._y = _root.backstuff1._y;
_root.topdepth1._y = _root.depth._y;
_root.topdepth2._y = _root.depth._y;
_root.topdepth3._y = _root.depth._y;
if (die == 1) {
timey = timey + 1;
if (_global.fly == 1) {
if (this._rotation < 90) {
if (this._rotation > 0) {
if (this._currentframe != 3) {
this.gotoAndStop(3);
}
}
}
if (this._rotation > 90) {
if (this._rotation < 180) {
if (this._currentframe != 4) {
this.gotoAndStop(4);
}
}
}
if (this._rotation < 180) {
if (this._rotation < -90) {
if (this._currentframe != 4) {
this.gotoAndStop(4);
}
}
}
flyer++;
if (flyer == 400) {
fx1 = new Sound(zoop);
fx1.attachSound("clunk");
fx1.stop("clunk");
fx1.start(0, 1);
}
if (flyer == 450) {
fx1 = new Sound(zoop);
fx1.attachSound("clunk");
fx1.stop("clunk");
fx1.start(0, 1);
}
if (flyer == 500) {
fx1 = new Sound(zoop);
fx1.attachSound("clunk");
fx1.stop("clunk");
fx1.start(0, 1);
}
if (flyer > 550) {
fx1 = new Sound(zoop);
fx1.attachSound("barf");
fx1.stop("barf");
fx1.start(0, 1);
_global.fly = 0;
flyer = 0;
this.gotoAndStop(1);
_global.boost = 0;
_root.tools.bar1.gotoAndStop(1);
ms = new Sound(music);
ms.attachSound("music1");
ms.stop("music6");
ms.start(0, 999);
i = 1;
while (i <= 100) {
_root["fishy" + i].die = 0;
i++;
}
}
if (this._y > _root.topdepth2._y) {
ms = new Sound(music);
ms.attachSound("music1");
ms.stop("music6");
ms.start(0, 999);
fx1 = new Sound(zoop);
fx1.attachSound("barf");
fx1.stop("barf");
fx1.start(0, 1);
_global.fly = 0;
flyer = 0;
this.gotoAndStop(1);
_global.boost = 0;
}
} else if (_global.fly == 3) {
this.gotoAndStop(1);
_global.fly = 1;
}
_root.topdepth1.swapDepths(10001);
_root.topdepth2.swapDepths(10002);
_root.topdepth3.swapDepths(10003);
_root.tools.instblock._alpha = _root.tools.instblock._alpha + 3;
if (_root.tools.score.text < _global.scoreit) {
_root.tools.score.text++;
}
if (_root.tools.score.text < (_global.scoreit - 10)) {
_root.tools.score.text = (_root.tools.score.text * 1) + 10;
}
_root.topdepth1._x = _root.topdepth1._x + _global.xgo;
_root.topdepth2._x = _root.topdepth2._x + _global.xgo;
_root.topdepth3._x = _root.topdepth3._x + _global.xgo;
if (_root.topdepth3._x > 886.4) {
_root.topdepth3.gotoAndStop(_root.topdepth3._currentframe + 1);
_root.topdepth3._x = _root.topdepth1._x - 704.2;
}
if (_root.topdepth2._x > 886.4) {
_root.topdepth2.gotoAndStop(_root.topdepth2._currentframe + 1);
_root.topdepth2._x = _root.topdepth3._x - 704.2;
}
if (_root.topdepth1._x > 886.4) {
_root.topdepth1.gotoAndStop(_root.topdepth1._currentframe + 1);
_root.topdepth1._x = _root.topdepth2._x - 704.2;
}
if (_root.topdepth3._x < -1035.4) {
_root.topdepth3.gotoAndStop(_root.topdepth3._currentframe - 1);
_root.topdepth3._x = _root.topdepth2._x + 704.2;
}
if (_root.topdepth2._x < -1035.4) {
_root.topdepth2.gotoAndStop(_root.topdepth2._currentframe - 1);
_root.topdepth2._x = _root.topdepth1._x + 704.2;
}
if (_root.topdepth1._x < -1035.4) {
_root.topdepth1.gotoAndStop(_root.topdepth1._currentframe - 1);
_root.topdepth1._x = _root.topdepth3._x + 704.2;
}
if (_global.boost > 1) {
_global.boost = _global.boost - (_global.boost / 1000);
_root.tools.bar1.gotoAndStop(Math.round(_global.boost + 1));
}
countgo--;
buttoner++;
_root.player.swapDepths(10000);
_root.playersize.text = psize;
if (speed == 0) {
this.tail1.gotoAndStop(1);
} else {
this.tail1.play();
}
if (Key.isDown(37)) {
this._rotation = this._rotation - ((speed / 3) + _global.rotspeed1);
} else {
_global.goleft = 0;
}
if (Key.isDown(39)) {
this._rotation = this._rotation + ((speed / 3) + _global.rotspeed1);
} else {
_global.goright = 0;
}
countit5++;
if (Key.isDown(32)) {
if (countit5 > 40) {
if (_global.goballs > 0) {
countit5 = 0;
if (_global.goballs == 1) {
_root.player.ongoball1.gotoAndPlay(22);
}
if (_global.goballs == 2) {
_root.player.ongoball2.gotoAndPlay(22);
}
_global.goballs = _global.goballs - 1;
if (countgo < 0) {
countgo = 30;
_root.zoom.gotoAndPlay(1);
_root.zoom._x = this._x;
_root.zoom._y = this._y;
_root.zoom._rotation = this._rotation;
fx1 = new Sound(zoop);
fx1.attachSound("zoop");
fx1.stop("zoop");
fx1.start(0, 1);
if (this._y > (_root.depth._y - 20)) {
if (speed < ((maxspeed * 1) + 1)) {
speed = 22;
}
buttoner = 0;
}
}
}
}
}
if (Key.isDown(38)) {
if (_global.fly == 0) {
if (this._y > _root.depth._y) {
if (speed < maxspeed) {
speed = speed + 1;
}
}
} else if (speed < maxspeed) {
speed = speed + 1;
}
} else if (speed > 0) {
speed = speed - 1;
}
if (speed > 0) {
speed = speed - 0.3;
}
hey = 1;
if (_global.fly == 0) {
if (this._y < _root.depth._y) {
air = air + 0.4;
if (this._rotation > 0) {
if (this._rotation < 90) {
this._rotation = this._rotation - 3;
}
}
if (this._rotation < 180) {
if (this._rotation > 90) {
this._rotation = this._rotation + 3;
}
}
} else if (air > 0.5) {
air = air - 0.5;
}
} else {
air = 0;
}
if (this._y < (_root.depth._y + 15)) {
if (this._y > (_root.depth._y - 15)) {
if (air > 3) {
if (_root.splash._currentframe == 1) {
_root.splash._x = this._x;
}
_root.splash.play();
}
}
}
if (this._y < (_root.depth._y + 15)) {
if (this._y > (_root.depth._y - 15)) {
if (air < 1) {
if (_root.splashup._currentframe == 1) {
_root.splashup._x = this._x;
}
_root.splashup.play();
}
}
}
_global.xgo = Math.cos((Math.PI * this._rotation) / 180) * speed;
_global.ygo = (Math.sin((Math.PI * this._rotation) / 180) * speed) - air;
onefish1++;
if (onefish1 == 50) {
onefish1 = 0;
_global.fish++;
duplicateMovieClip (_root.food1, "fishy" + _global.fish, _global.fish + 8000);
if (_global.fish > 100) {
_global.fish = 1;
}
rotrandy = 90;
rotrand = Math.round(Math.random() * (rotrandy - (-rotrandy))) - rotrandy;
speedrand = Math.round(Math.random() * 8) + 3;
leftright = Math.round(Math.random() * 1) + 1;
firsttypecomp = 10;
type = Math.round(Math.random() * (firsttypecomp - 1)) + 1;
if (type < 5) {
type = 1;
} else {
type = type - 4;
}
if (leftright == 1) {
xposy = 1500;
} else {
xposy = -800;
}
_root["fishy" + _global.fish]._x = xposy;
_root["fishy" + _global.fish]._y = type * 200;
_root["fishy" + _global.fish]._rotation = _root["fishy" + _global.fish]._rotation - (90 - rotrand);
if (type == 1) {
typespeed = speedrand;
turnspeed = 5;
}
if (type == 2) {
typespeed = speedrand;
turnspeed = 5;
}
if (type == 3) {
typespeed = speedrand / 3;
turnspeed = 0.5;
}
if (type == 4) {
typespeed = speedrand / 2;
turnspeed = 3;
}
if (type == 5) {
typespeed = speedrand;
turnspeed = 3;
}
_root["fishy" + _global.fish].turnspeed = turnspeed;
_root["fishy" + _global.fish].mespeed = typespeed - 1;
mesizey = 30 + (speedrand * 5);
_root["fishy" + _global.fish].mesize = mesizey;
_root["fishy" + _global.fish].fishtype = type;
scoreworthy = ((mesizey / 2) / (type * 2)) * 10;
_root["fishy" + _global.fish].scoreworth = scoreworthy;
_root["fishy" + _global.fish].die = 1;
}
onefish2++;
if (onefish2 == 120) {
onefish2 = 0;
if (_global.fishe < 30) {
_global.fishe++;
duplicateMovieClip (_root.enemy1, "fishye" + _global.fishe, _global.fishe + 8200);
rotrand = Math.round(Math.random() * 179) + 1;
speedrand = Math.round(Math.random() * 3) + 7;
leftright = Math.round(Math.random() * 1) + 1;
firsttypecomp = 4;
type = Math.round(Math.random() * ((firsttypecomp + 4) - 1)) + 1;
if (type < 4) {
type = 1;
}
if (leftright == 1) {
xposy = 2000;
} else {
xposy = -1300;
}
_root["fishye" + _global.fishe]._x = xposy;
_root["fishye" + _global.fishe]._y = type * 200;
_root["fishye" + _global.fishe]._rotation = rotrand;
if (type == 1) {
typespeed = speedrand;
turnspeed = 7;
}
if (type == 2) {
typespeed = speedrand;
turnspeed = 5;
}
if (type == 3) {
typespeed = speedrand / 3;
turnspeed = 1;
}
if (type == 4) {
typespeed = speedrand / 2;
turnspeed = 3;
}
if (type == 5) {
typespeed = speedrand / 4;
turnspeed = 4;
}
_root["fishye" + _global.fishe].turnspeed = turnspeed;
_root["fishye" + _global.fishe].mespeed = typespeed;
_root["fishye" + _global.fishe].mesize = 160;
_root["fishye" + _global.fishe].fishtype = 1;
_root["fishye" + _global.fishe].die = 1;
}
}
} else {
restartcount++;
if (restartcount > 60) {
if (this._y > (_root.depth._y - 400)) {
_global.ygo = _global.ygo + 1;
} else {
_global.ygo = _global.ygo / 2;
}
}
if (restartcount > 130) {
if (restartcount == 140) {
fx1 = new Sound(zoop);
fx1.attachSound("Clunk");
fx1.stop("Clunk");
fx1.start(0, 1);
_root.finalscore.text = _global.scoreit;
}
boostor = 0;
if (restartcount == 160) {
if (_global.boost > 50) {
fx1 = new Sound(zoop);
fx1.attachSound("boingboing");
fx1.stop("boingboing");
fx1.start(0, 1);
booster = Math.round(_global.boost * 5);
_root.finalscore.text = _root.finalscore.text + ("\n\n + Fury Bonus " + booster);
} else {
fx1 = new Sound(zoop);
fx1.attachSound("Clunk");
fx1.stop("Clunk");
fx1.start(0, 1);
_root.finalscore.text = _root.finalscore.text + "\n\n ----- ";
}
}
if (restartcount == 180) {
if (timey > 100) {
fx1 = new Sound(zoop);
fx1.attachSound("boingboing");
fx1.stop("boingboing");
fx1.start(0, 1);
_root.finalscore.text = _root.finalscore.text + ("\n + Time Bonus " + Math.round(timey / 100));
} else {
fx1 = new Sound(zoop);
fx1.attachSound("Clunk");
fx1.stop("Clunk");
fx1.start(0, 1);
_root.finalscore.text = _root.finalscore.text + "\n ----- ";
}
}
if (restartcount == 200) {
bonos = 0;
yito = Math.floor(Math.random() * 20) + 1;
goyy = 0;
if (yito == 1) {
bono = "+ random jig bonus ";
bonos = 400;
goyy = 1;
}
if (yito == 2) {
bono = "+ super random bonus ";
bonos = 1;
goyy = 1;
}
if (yito == 3) {
bono = "+ suprise bonus ";
bonos = 200;
goyy = 1;
}
if (yito == 4) {
bono = "+ wooowee bonus ";
bonos = 99;
goyy = 1;
}
if (yito == 5) {
bono = "+ slugface bonus ";
bonos = 60;
goyy = 1;
}
if (yito == 6) {
bono = "+ extra bonus ";
bonos = 20;
goyy = 1;
}
if (yito == 7) {
bono = "+ wow bonus ";
bonos = 80;
goyy = 1;
}
if (yito == 8) {
bono = "+ slow bonus ";
bonos = 3;
goyy = 1;
}
if (yito == 9) {
bono = "+ helpy bonus ";
bonos = 6;
goyy = 1;
}
if (yito == 10) {
bono = "+ mental handicap ";
bonos = 12;
goyy = 1;
}
if (goyy == 1) {
fx1 = new Sound(zoop);
fx1.attachSound("boingboing");
fx1.stop("boingboing");
fx1.start(0, 1);
_root.finalscore.text = _root.finalscore.text + ((newline + bono) + bonos);
} else {
fx1 = new Sound(zoop);
fx1.attachSound("Clunk");
fx1.stop("Clunk");
fx1.start(0, 1);
_root.finalscore.text = _root.finalscore.text + "\n ----- ";
}
}
if (restartcount == 220) {
scoreyy = ((_global.scoreit + Math.round(timey / 100)) + Math.round(_global.boost * 5)) + bonos;
if (scoreyy < _global.pp3s) {
fx1 = new Sound();
fx1.attachSound("barf");
fx1.stop("barf");
fx1.start(0, 1);
_root.restartbox.resety.gotoAndPlay("barf");
} else {
ms = new Sound(music);
ms.attachSound("music3");
ms.stop("music2");
ms.start(0, 999);
fx1.start(0, 1);
_root.restartbox.resety.gotoAndPlay("goody");
}
_root.finalscore.text = _root.finalscore.text + ("\n\n" + scoreyy);
if (scoreyy > _global.pp3s) {
_root.slot1.text = "name";
_root.slot1.selectable = 1;
Selection.setFocus(_root.slot1);
}
_root.highlist.text = ((("1: " + _global.pp1n) + " : ") + _global.pp1s) + newline;
_root.highlist.text = _root.highlist.text + (((("2: " + _global.pp2n) + " : ") + _global.pp2s) + newline);
_root.highlist.text = _root.highlist.text + (((("3: " + _global.pp3n) + " : ") + _global.pp3s) + newline);
}
if (_root.restartbox._currentframe == 1) {
_root.restartbox.play();
ms = new Sound(music);
ms.attachSound("music2");
ms.stop("music1");
ms.start(0, 999);
}
if (scoreyy > _global.pp3s) {
if (Key.isDown(13)) {
if (scoreyy > _global.pp3s) {
if (scoreyy < (_global.pp2s + 1)) {
_global.pp3n = _root.slot1.text;
_global.pp3s = scoreyy;
}
}
if (scoreyy > _global.pp2s) {
if (scoreyy < (_global.pp1s + 1)) {
_global.pp3n = _global.pp2n;
_global.pp3s = _global.pp2s;
_global.pp2n = _root.slot1.text;
_global.pp2s = scoreyy;
}
}
if (scoreyy > _global.pp1s) {
_global.pp3n = _global.pp2n;
_global.pp3s = _global.pp2s;
_global.pp2n = _global.pp1n;
_global.pp2s = _global.pp1s;
_global.pp1n = _root.slot1.text;
_global.pp1s = scoreyy;
}
scoreyy = 0;
myLocalSO.data.pp1n = _global.pp1n;
myLocalSO.data.pp1s = _global.pp1s;
myLocalSO.data.pp2n = _global.pp2n;
myLocalSO.data.pp2s = _global.pp2s;
myLocalSO.data.pp3n = _global.pp3n;
myLocalSO.data.pp3s = _global.pp3s;
_root.highlist.text = ((("1: " + _global.pp1n) + " - ") + _global.pp1s) + newline;
_root.highlist.text = _root.highlist.text + (((("2: " + _global.pp2n) + " - ") + _global.pp2s) + newline);
_root.highlist.text = _root.highlist.text + (((("3: " + _global.pp3n) + " - ") + _global.pp3s) + newline);
fscommand ("save", "file.txt");
_root.slot1.text = "";
_root.slot1.selectable = 0;
}
}
if (Key.isDown(38)) {
_root.finalscore.text = "";
_root.highlist.text = "";
_root.slot1.text = "";
_root.restartbox.gotoAndPlay("endy");
die = 1;
_root.tools.powerup1.gotoAndStop(1);
_global.boost = 0;
_root.tools.bar1.gotoAndStop(1);
ms = new Sound(music);
ms.attachSound("music1");
ms.stop("music2");
ms.stop("music3");
ms.start(0, 999);
musicy = 2;
_global.goballs = 0;
_root.player.ongoball1._alpha = 0;
_root.player.ongoball2._alpha = 0;
this.gotoAndStop(1);
restartcount = 0;
_root.tools.score.text = 0;
_global.scoreit = 0;
timey = 0;
_global.fish = 0;
_global.fishe = 0;
i = 1;
while (i <= 30) {
_root["fishye" + i].die = 0;
i++;
}
i = 1;
while (i <= 100) {
_root["fishy" + i].die = 0;
i++;
}
}
}
}
}
Instance of Symbol 257 MovieClip "depth" in Frame 630
onClipEvent (load) {
}
onClipEvent (enterFrame) {
this._yscale = 300;
this._y = this._y + _global.ygo;
}
Instance of Symbol 262 MovieClip "bubble2" in Frame 630
onClipEvent (load) {
sppeder = sppeder + ((Math.round(Math.random() * 16) + 8) * 0.1);
this._alpha = sppeder * 80;
speedolian = 4;
}
onClipEvent (enterFrame) {
if (this._y < (_root.depth._y - 5)) {
this._alpha = 0;
}
if (this._y < (_root.depth._y - 5)) {
removeMovieClip(this);
}
this._y = this._y - 2;
if (speedolian > 1) {
speedolian = speedolian - 0.3;
}
this._x = this._x - (Math.cos((Math.PI * this._rotation) / 180) * speedolian);
this._y = this._y - (Math.sin((Math.PI * this._rotation) / 180) * speedolian);
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
}
Instance of Symbol 263 MovieClip "drop1" in Frame 630
onClipEvent (load) {
sppeder = sppeder + ((Math.round(Math.random() * 16) + 8) * 0.1);
this._alpha = sppeder * 80;
}
onClipEvent (enterFrame) {
if (this._y > (_root.depth._y + 5)) {
this._alpha = 0;
}
if (this._y > (_root.depth._y + 5)) {
removeMovieClip(this);
}
this._y = this._y + 6;
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
}
Instance of Symbol 272 MovieClip "splash" in Frame 630
onClipEvent (enterFrame) {
this._y = _root.depth._y + 10;
this._x = this._x + _global.xgo;
}
Instance of Symbol 272 MovieClip "splashup" in Frame 630
onClipEvent (enterFrame) {
this._y = _root.depth._y + 10;
this._x = this._x + _global.xgo;
}
Instance of Symbol 118 MovieClip "food1" in Frame 630
onClipEvent (load) {
movey = 1;
_root.food1.movey = 0;
_root.enemy1.movey = 0;
die = 1;
fiftyfifty = Math.round(Math.random() * 1) + 1;
this.gotoAndStop(fishtype);
}
onClipEvent (enterFrame) {
if (die == 0) {
if (this._currentframe < 10) {
this.gotoAndPlay("die");
}
}
if (die == 1) {
if (this._x > 2000) {
this._x = -900;
}
if (this._x < -1000) {
this._x = 1900;
}
if (this._y > 2000) {
this._y = 1900;
this._rotation = this._rotation + 180;
}
this._xscale = mesize;
this._yscale = mesize;
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
if (this._y < _root.depth._y) {
air = air + 0.4;
if (this._rotation > 0) {
if (this._rotation < 90) {
this._rotation = this._rotation - 3;
}
}
if (this._rotation < 180) {
if (this._rotation > 90) {
this._rotation = this._rotation + 3;
}
}
} else if (air > 0.5) {
air = air - 0.5;
}
if (movey == 1) {
this._x = this._x + _global.xgo;
this._y = this._y + (_global.ygo + air);
}
this._x = this._x + (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y + (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
if (scared < (300 - (mespeed * 10))) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
}
}
} else if (movey == 1) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
}
if (this.eat.hitTest(_root.player.eat)) {
die = 0;
this.gotoAndPlay("die");
multiplyer = 1;
if (_root.tools.powerup1._currentframe > 10) {
multiplyer = 2;
}
scoreity = Math.round(scoreworth * multiplyer);
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
_global.boost = _global.boost + (scoreity / 10);
}
}
Instance of Symbol 277 MovieClip "backdot1" in Frame 630
onClipEvent (load) {
sfield = 200;
this._x = Math.round((Math.random() * ((750 + sfield) - (-50 - sfield))) + (-50 - sfield));
this._y = _root.depth._y + Math.round((Math.random() * ((550 + sfield) - 0)) + 0);
this.gotoAndStop(Math.round(Math.random() * 9) + 1);
this.gotoAndStop(Math.round((Math.random() * 10) + 1));
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
if (this._x > 800) {
this._x = -50;
}
if (this._x < -100) {
this._x = 750;
}
}
Instance of Symbol 281 MovieClip "wavel" in Frame 630
onClipEvent (enterFrame) {
if (this._x > 1200) {
removeMovieClip(this);
}
if (this._x < -500) {
removeMovieClip(this);
}
this._y = _root.depth._y + 10;
this._y = this._y + _global.ygo;
this._x = this._x + _global.xgo;
this._x = this._x - 4;
}
Instance of Symbol 281 MovieClip "waver" in Frame 630
onClipEvent (enterFrame) {
if (this._x > 1200) {
removeMovieClip(this);
}
if (this._x < -500) {
removeMovieClip(this);
}
this._y = _root.depth._y + 10;
this._y = this._y + _global.ygo;
this._x = this._x + _global.xgo;
this._x = this._x + 4;
}
Instance of Symbol 291 MovieClip "enemy1" in Frame 630
onClipEvent (load) {
movey = 1;
_root.food1.movey = 0;
_root.enemy1.movey = 0;
this._rotation = this._rotation + 180;
die = 1;
fiftyfifty = Math.round(Math.random() * 1) + 1;
this.gotoAndStop(fishtype);
}
onClipEvent (enterFrame) {
if (die == 0) {
if (this._currentframe < 10) {
this.gotoAndPlay("die");
}
}
if (die == 1) {
if (this._x > 3500) {
this._x = -3000;
}
if (this._x < -3100) {
this._x = 3400;
}
if (this._y > 2000) {
this._y = 1900;
this._rotation = this._rotation + 90;
}
if (this._y < -500) {
this._y = 1900;
this._rotation = this._rotation + 90;
}
this._xscale = mesize;
this._yscale = mesize;
if (this._y < 500) {
if (this._x < 700) {
if (this._x > 0) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
toploc = (_root.depth._y - this._y) * -1;
}
}
}
if (this._y < (_root.depth._y + 100)) {
air = air + 0.4;
if (this._rotation > 0) {
if (this._rotation < 90) {
this._rotation = this._rotation - 3;
}
}
if (this._rotation < 180) {
if (this._rotation > 90) {
this._rotation = this._rotation + 3;
}
}
} else if (air > 0.5) {
air = air - 0.5;
}
if (movey == 1) {
this._x = this._x + _global.xgo;
this._y = this._y + (_global.ygo + air);
}
this._x = this._x - (Math.cos((Math.PI * this._rotation) / 180) * mespeed);
this._y = this._y - (Math.sin((Math.PI * this._rotation) / 180) * mespeed);
if (scared < (500 - (mespeed * 10))) {
if (toploc < 20) {
if (_root.player._x < this._x) {
this._rotation = this._rotation + 10;
} else {
this._rotation = this._rotation - 10;
}
} else {
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (_global.boom == 0) {
if (this._rotation > myDegrees) {
this._rotation = this._rotation - turnspeed;
}
if (this._rotation < myDegrees) {
this._rotation = this._rotation + turnspeed;
}
} else {
this._rotation = this._rotation - 5;
}
}
}
} else if (movey == 1) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
}
if (_global.boost < 176) {
if (this.eat.hitTest(_root.player.eat)) {
_root.player.die = 0;
eat = new Sound();
eat.attachSound("eatit1");
eat.start(0, 1);
_root.player.gotoAndPlay("die");
_global.xgo = 0;
_global.ygo = 0;
}
}
}
Instance of Symbol 311 MovieClip in Frame 630
onClipEvent (load) {
die = 1;
}
onClipEvent (enterFrame) {
yit = Math.floor(Math.random() * 371) + 30;
if (this._x < -500) {
this._x = 900;
this._y = _root.depth._y - yit;
die = 1;
this.gotoAndStop(1);
}
if (this._x > 1000) {
this._x = -400;
this._y = _root.depth._y - yit;
die = 1;
this.gotoAndStop(1);
}
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
if (die == 1) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
if (scared < 50) {
this._y = this._y - 1;
}
this._x = this._x - 4;
}
if (_root.player.eat.hitTest(this.eat)) {
die = 0;
this.gotoAndPlay("die");
scoreity = 200;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
_global.boost = _global.boost + (scoreity / 30);
_root.tools.bar1.gotoAndStop(_global.boost + 1);
}
}
Instance of Symbol 311 MovieClip in Frame 630
onClipEvent (load) {
die = 1;
}
onClipEvent (enterFrame) {
yit = Math.floor(Math.random() * 371) + 30;
if (this._x < -500) {
this._x = 900;
this._y = _root.depth._y - yit;
die = 1;
this.gotoAndStop(1);
}
if (this._x > 1000) {
this._x = -400;
this._y = _root.depth._y - yit;
die = 1;
this.gotoAndStop(1);
}
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
if (scared < 50) {
this._y = this._y - 1;
}
if (die == 1) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
this._x = this._x + 4;
}
if (_root.player.eat.hitTest(this.eat)) {
die = 0;
this.gotoAndPlay("die");
scoreity = 200;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
_global.boost = _global.boost + (scoreity / 30);
_root.tools.bar1.gotoAndStop(_global.boost + 1);
}
}
Instance of Symbol 316 MovieClip in Frame 630
onClipEvent (load) {
die = 1;
this._y = _root.depth._y + 2050;
_global.boom = 0;
}
onClipEvent (enterFrame) {
yit = Math.floor(Math.random() * 91) + 30;
if (this._x < -2500) {
this._x = 2900;
this._y = (_root.depth._y + 2020) + yit;
die = 1;
this.gotoAndPlay(1);
}
if (this._x > 3000) {
this._x = -2400;
this._y = (_root.depth._y + 2020) + yit;
die = 1;
this.gotoAndPlay(1);
}
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
if (die == 1) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
}
if (_root.player.eat.hitTest(this.eat)) {
die = 0;
this.gotoAndPlay("die");
_global.boom = 1;
scoreity = 50;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = _global.scoreit + 50;
_root.tools.bar1.gotoAndStop(_global.boost + 1);
}
}
Instance of Symbol 322 MovieClip "zoom" in Frame 630
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
}
Instance of Symbol 311 MovieClip in Frame 630
onClipEvent (load) {
die = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
if (this._y > (_root.player._y - 500)) {
yit = Math.floor(Math.random() * 371) + 30;
if (this._x < -200) {
this._x = 900;
this._y = (_root.depth._y - 600) - yit;
die = 1;
this.gotoAndStop(1);
}
if (this._x > 1000) {
this._x = -100;
this._y = (_root.depth._y - 600) - yit;
die = 1;
this.gotoAndStop(1);
}
if (die == 1) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
if (scared < 50) {
this._y = this._y - 1;
}
this._x = this._x - 4;
}
if (_root.player.eat.hitTest(this.eat)) {
die = 0;
this.gotoAndPlay("die");
scoreity = 200;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
_global.boost = _global.boost + (scoreity / 30);
_root.tools.bar1.gotoAndStop(_global.boost + 1);
}
}
}
Instance of Symbol 311 MovieClip in Frame 630
onClipEvent (load) {
die = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
if (this._y > (_root.player._y - 500)) {
yit = Math.floor(Math.random() * 371) + 30;
if (this._x < -500) {
this._x = 900;
this._y = _root.depth._y - yit;
die = 1;
this.gotoAndStop(1);
}
if (this._x > 1000) {
this._x = -400;
this._y = _root.depth._y - yit;
die = 1;
this.gotoAndStop(1);
}
if (scared < 50) {
this._y = this._y - 1;
}
if (die == 1) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
this._x = this._x + 4;
}
if (_root.player.eat.hitTest(this.eat)) {
die = 0;
this.gotoAndPlay("die");
scoreity = 200;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
_global.boost = _global.boost + (scoreity / 30);
_root.tools.bar1.gotoAndStop(_global.boost + 1);
}
}
}
Instance of Symbol 311 MovieClip in Frame 630
onClipEvent (load) {
die = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
if (this._y > (_root.player._y - 500)) {
yit = Math.floor(Math.random() * 371) + 30;
if (this._x < -200) {
this._x = 900;
this._y = (_root.depth._y - 600) - yit;
die = 1;
this.gotoAndStop(1);
}
if (this._x > 1000) {
this._x = -100;
this._y = (_root.depth._y - 600) - yit;
die = 1;
this.gotoAndStop(1);
}
if (die == 1) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
if (scared < 50) {
this._y = this._y - 1;
}
this._x = this._x - 4;
}
if (_root.player.eat.hitTest(this.eat)) {
die = 0;
this.gotoAndPlay("die");
scoreity = 200;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
_global.boost = _global.boost + (scoreity / 30);
_root.tools.bar1.gotoAndStop(_global.boost + 1);
}
}
}
Instance of Symbol 311 MovieClip in Frame 630
onClipEvent (load) {
die = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
if (this._y > (_root.player._y - 500)) {
yit = Math.floor(Math.random() * 371) + 30;
if (this._x < -500) {
this._x = 900;
this._y = _root.depth._y - yit;
die = 1;
this.gotoAndStop(1);
}
if (this._x > 1000) {
this._x = -400;
this._y = _root.depth._y - yit;
die = 1;
this.gotoAndStop(1);
}
if (scared < 50) {
this._y = this._y - 1;
}
if (die == 1) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
this._x = this._x + 4;
}
if (_root.player.eat.hitTest(this.eat)) {
die = 0;
this.gotoAndPlay("die");
scoreity = 200;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
_global.boost = _global.boost + (scoreity / 30);
_root.tools.bar1.gotoAndStop(_global.boost + 1);
}
}
}
Instance of Symbol 311 MovieClip in Frame 630
onClipEvent (load) {
die = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
if (this._y > (_root.player._y - 500)) {
yit = Math.floor(Math.random() * 371) + 30;
if (this._x < -200) {
this._x = 900;
this._y = (_root.depth._y - 600) - yit;
die = 1;
this.gotoAndStop(1);
}
if (this._x > 1000) {
this._x = -100;
this._y = (_root.depth._y - 600) - yit;
die = 1;
this.gotoAndStop(1);
}
if (die == 1) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
if (scared < 50) {
this._y = this._y - 1;
}
this._x = this._x - 4;
}
if (_root.player.eat.hitTest(this.eat)) {
die = 0;
this.gotoAndPlay("die");
scoreity = 200;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
_global.boost = _global.boost + (scoreity / 30);
_root.tools.bar1.gotoAndStop(_global.boost + 1);
}
}
}
Instance of Symbol 311 MovieClip in Frame 630
onClipEvent (load) {
die = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
if (this._y > (_root.player._y - 500)) {
yit = Math.floor(Math.random() * 371) + 30;
if (this._x < -500) {
this._x = 900;
this._y = _root.depth._y - yit;
die = 1;
this.gotoAndStop(1);
}
if (this._x > 1000) {
this._x = -400;
this._y = _root.depth._y - yit;
die = 1;
this.gotoAndStop(1);
}
if (scared < 50) {
this._y = this._y - 1;
}
if (die == 1) {
myRadians = Math.atan2(this._y - _root.player._y, this._x - _root.player._x);
xleg = this._x - _root.player._x;
yleg = this._y - _root.player._y;
scared = Math.sqrt((xleg * xleg) + (yleg * yleg));
this._x = this._x + 4;
}
if (_root.player.eat.hitTest(this.eat)) {
die = 0;
reat = new Sound();
reat.attachSound("eatit1");
reat.start(0, 1);
this.gotoAndPlay("die");
scoreity = 200;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
_global.boost = _global.boost + (scoreity / 30);
_root.tools.bar1.gotoAndStop(_global.boost + 1);
}
}
}
Instance of Symbol 326 MovieClip "goball" in Frame 630
onClipEvent (load) {
die = 1;
}
onClipEvent (enterFrame) {
yit = Math.floor(Math.random() * 471) + 30;
if (this._x < -1500) {
this._x = 900;
this._y = _root.depth._y + yit;
die = 1;
this.gotoAndPlay(1);
}
if (this._x > 1500) {
this._x = -400;
this._y = _root.depth._y + yit;
die = 1;
this.gotoAndPlay(1);
}
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
if (die == 1) {
if (_root.player.eat.hitTest(this.eat)) {
die = 0;
reat = new Sound();
reat.attachSound("magical bing");
reat.start(0, 1);
this.gotoAndPlay("die");
scoreworth = 50;
multiplyer = 1;
if (_root.tools.powerup1._currentframe > 10) {
multiplyer = 2;
}
scoreity = Math.round(scoreworth * multiplyer);
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
if (_global.goballs < 2) {
_global.goballs++;
}
if (_global.goballs == 1) {
_root.player.ongoball1._alpha = 255;
}
if (_global.goballs == 2) {
_root.player.ongoball2._alpha = 255;
}
}
}
}
Instance of Symbol 330 MovieClip "pill1" in Frame 630
onClipEvent (load) {
die = 1;
}
onClipEvent (enterFrame) {
yit = Math.floor(Math.random() * 471) + 30;
if (this._x < -600) {
this._x = 900;
this._y = _root.depth._y + yit;
die = 1;
this.gotoAndPlay(1);
}
if (this._x > 1000) {
this._x = -400;
this._y = _root.depth._y + yit;
die = 1;
this.gotoAndPlay(1);
}
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
if (die == 1) {
if (_root.player.eat.hitTest(this.eat)) {
die = 0;
reat = new Sound();
reat.attachSound("sfxreload");
reat.start(0, 1);
this.gotoAndPlay("die");
_root.tools.powerup1.gotoAndStop(_root.tools.powerup1._currentframe + 1);
scoreworth = 50;
multiplyer = 1;
if (_root.tools.powerup1._currentframe > 10) {
multiplyer = 2;
}
scoreity = Math.round(scoreworth * multiplyer);
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
_global.boost = _global.boost + (scoreity / 30);
_root.tools.bar1.gotoAndStop(_global.boost + 1);
}
}
}
Instance of Symbol 333 MovieClip in Frame 630
onClipEvent (load) {
die = 1;
this._x = -5000;
}
onClipEvent (enterFrame) {
yit = Math.floor(Math.random() * 51) + 20;
if (this._x < -6000) {
this._x = 5000;
this._y = _root.depth._y - yit;
die = 1;
this.gotoAndStop(1);
}
if (this._x > 6000) {
this._x = -5000;
this._y = _root.depth._y - yit;
die = 1;
this.gotoAndStop(1);
}
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
if (die == 1) {
if (_root.player.eat.hitTest(this.eat)) {
die = 0;
this.gotoAndPlay("die");
fx1 = new Sound(zoop);
fx1.attachSound("magical bing");
fx1.stop("magical bing");
fx1.start(0, 1);
_global.fly = 1;
_global.boost = 0;
_root.tools.bar1.gotoAndStop(1);
flyer = 0;
ms = new Sound(music);
ms.attachSound("music6");
ms.stop("music1");
ms.start(0, 999);
scoreity = 50;
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
_global.boost = _global.boost + (scoreity / 30);
_root.tools.bar1.gotoAndStop(_global.boost + 1);
}
}
}
Instance of Symbol 338 MovieClip "pill2" in Frame 630
onClipEvent (load) {
die = 1;
}
onClipEvent (enterFrame) {
yit = Math.floor(Math.random() * 471) + 30;
if (this._x < -3000) {
this._x = 2900;
this._y = _root.depth._y + yit;
die = 1;
this.gotoAndPlay(1);
}
if (this._x > 3000) {
this._x = -2900;
this._y = _root.depth._y + yit;
die = 1;
this.gotoAndPlay(1);
}
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
if (die == 1) {
if (_root.player.eat.hitTest(this.eat)) {
die = 0;
reat = new Sound();
reat.attachSound("lazer");
reat.start(0, 1);
this.gotoAndPlay("die");
scoreworth = 200;
multiplyer = 1;
if (_root.tools.powerup1._currentframe > 10) {
multiplyer = 2;
}
scoreity = Math.round(scoreworth * multiplyer);
_root.tools.instascore.text = "+" + scoreity;
_root.tools.instblock._alpha = 0;
_global.scoreit = (_global.scoreit * 1) + scoreity;
_global.boost = _global.boost + (scoreity / 30);
_root.tools.sidebar1.sidebarflash.gotoAndPlay("yellow");
_root.tools.sidebar2.sidebarflash.gotoAndPlay("yellow");
_root.tools.bar1.gotoAndStop(_global.boost + 1);
}
}
}
Instance of Symbol 392 MovieClip "tools" in Frame 630
onClipEvent (load) {
_root.tools.swapDepths(1000000);
_root.finalscore.swapDepths(1000001);
}
Frame 631
Frame 632
gotoAndPlay (220);
stop();
Symbol 33 MovieClip Frame 21
gotoAndPlay (1);
Symbol 33 MovieClip Frame 40
this._alpha = 0;
Symbol 40 MovieClip Frame 16
gotoAndPlay (1);
Symbol 62 MovieClip Frame 73
_root.player.gotoAndStop(1);
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 3
stop();
Symbol 75 MovieClip Frame 4
stop();
Symbol 75 MovieClip Frame 13
stop();
Symbol 75 MovieClip Frame 18
stop();
Symbol 75 MovieClip Frame 66
stop();
Instance of Symbol 74 MovieClip "cs1" in Symbol 75 MovieClip Frame 66
onClipEvent (enterFrame) {
this._alpha = 0;
}
Symbol 91 MovieClip Frame 16
gotoAndPlay (2);
Symbol 118 MovieClip Frame 1
stop();
Instance of Symbol 74 MovieClip "cs1" in Symbol 118 MovieClip Frame 1
onClipEvent (enterFrame) {
this._alpha = 0;
}
Symbol 118 MovieClip Frame 7
stop();
Symbol 118 MovieClip Frame 30
_root.tools.sidebar1.sidebarflash.gotoAndPlay(2);
_root.tools.sidebar2.sidebarflash.gotoAndPlay(2);
if (mesize < 55) {
fx6 = new Sound(zoop);
fx6.attachSound("w4");
fx6.stop("w4");
fx6.start(0, 1);
}
if (mesize > 54) {
if (mesize < 61) {
fx6 = new Sound(zoop);
fx6.attachSound("w1");
fx6.stop("w1");
fx6.start(0, 1);
}
}
if (mesize > 60) {
if (mesize < 71) {
fx6 = new Sound(zoop);
fx6.attachSound("w2");
fx6.stop("w2");
fx6.start(0, 1);
}
}
if (mesize > 70) {
fx6 = new Sound(zoop);
fx6.attachSound("w3");
fx6.stop("w3");
fx6.start(0, 1);
}
Symbol 118 MovieClip Frame 63
removeMovieClip(this);
Instance of Symbol 74 MovieClip "cs1" in Symbol 118 MovieClip Frame 63
onClipEvent (enterFrame) {
this._alpha = 0;
}
Symbol 154 MovieClip Frame 33
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 13
gotoAndStop (1);
Symbol 178 Button
on (press) {
gotoAndPlay (270);
fx1 = new Sound(zoop);
fx1.attachSound("pop");
fx1.stop("pop");
fx1.start(0, 1);
}
Symbol 179 Button
on (press) {
Stage.showMenu = false;
gotoAndPlay (610);
fx1 = new Sound(zoop);
fx1.attachSound("pop");
fx1.stop("pop");
fx1.start(0, 1);
}
Symbol 184 Button
on (press) {
gotoAndPlay (270);
}
Symbol 185 MovieClip Frame 1
stop();
Symbol 195 Button
on (press) {
getURL ("http://jjwallacedesign.googlepages.com/index.html");
}
Symbol 196 MovieClip Frame 10
stop();
Symbol 199 Button
on (press) {
gotoAndPlay (221);
fx1 = new Sound(zoop);
fx1.attachSound("pop");
fx1.stop("pop");
fx1.start(0, 1);
}
Symbol 201 Button
on (press) {
gotoAndPlay (630);
stopAllSounds();
}
Symbol 208 Button
on (press) {
fx12 = new Sound(zoop);
fx12.attachSound("sfxswitch1");
fx12.stop("sfxswitch1");
fx12.start(0, 1);
play();
}
Symbol 211 MovieClip Frame 1
_quality = "medium";
stop();
Symbol 211 MovieClip Frame 2
_quality = "high";
stop();
Symbol 211 MovieClip Frame 3
_quality = "low";
stop();
Symbol 213 Button
on (press) {
gotoAndPlay (630);
}
Symbol 221 MovieClip Frame 30
stop();
Symbol 221 MovieClip Frame 92
stop();
Symbol 233 MovieClip Frame 1
gotoAndPlay ("base");
Symbol 233 MovieClip Frame 11
stop();
Symbol 248 Button
on (press) {
_root.player.maxspeed = 20;
reat = new Sound();
reat.attachSound("magical bing");
reat.start(0, 1);
}
Symbol 254 MovieClip Frame 1
gotoAndPlay ("base");
Symbol 254 MovieClip Frame 11
stop();
Symbol 254 MovieClip Frame 23
gotoAndPlay ("base");
Symbol 257 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 1
gotoAndPlay (9);
Symbol 259 MovieClip Frame 5
stop();
Symbol 259 MovieClip Frame 10
gotoAndPlay (2);
Symbol 262 MovieClip Frame 1
stop();
Symbol 263 MovieClip Frame 1
stop();
Symbol 272 MovieClip Frame 1
Symbol 272 MovieClip Frame 33
removeMovieClip(this);
stop();
Symbol 281 MovieClip Frame 25
stop();
Symbol 291 MovieClip Frame 1
stop();
Instance of Symbol 74 MovieClip "cs1" in Symbol 291 MovieClip Frame 1
onClipEvent (enterFrame) {
this._alpha = 0;
}
Symbol 291 MovieClip Frame 63
removeMovieClip(this);
Instance of Symbol 74 MovieClip "cs1" in Symbol 291 MovieClip Frame 63
onClipEvent (enterFrame) {
this._alpha = 0;
}
Symbol 301 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 57
removeMovieClip(this);
Instance of Symbol 74 MovieClip "cs1" in Symbol 301 MovieClip Frame 57
onClipEvent (enterFrame) {
this._alpha = 0;
}
Symbol 311 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 111
stop();
Symbol 316 MovieClip Frame 59
gotoAndPlay (1);
Symbol 316 MovieClip Frame 96
_global.boom = 0;
stop();
Symbol 322 MovieClip Frame 27
stop();
Symbol 326 MovieClip Frame 14
gotoAndPlay (1);
Symbol 326 MovieClip Frame 33
stop();
Symbol 330 MovieClip Frame 32
gotoAndPlay (1);
Symbol 330 MovieClip Frame 51
stop();
Symbol 333 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 14
gotoAndPlay (1);
Symbol 333 MovieClip Frame 33
stop();
Symbol 338 MovieClip Frame 32
gotoAndPlay (1);
Symbol 338 MovieClip Frame 51
stop();
Symbol 344 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 61
stop();
Symbol 358 MovieClip Frame 1
stop();
Symbol 368 Button
on (press) {
fx12 = new Sound(zoop);
fx12.attachSound("sfxswitch1");
fx12.stop("sfxswitch1");
fx12.start(0, 1);
this.play();
}
Symbol 375 MovieClip Frame 1
_global.timeday = 0;
stop();
Symbol 375 MovieClip Frame 2
_global.timeday = 1;
if (_root.player.skyit > 3000) {
_root.sky.gotoAndPlay("day");
} else {
_root.sky.gotoAndPlay("daystart");
}
_root.player.skyit = 0;
stop();
Symbol 375 MovieClip Frame 3
_global.timeday = 2;
_root.sky.gotoAndPlay("night");
_root.player.skyit = 3001;
stop();
Symbol 378 Button
on (press) {
_root.helpbar.play();
}
Symbol 380 MovieClip Frame 1
stop();
Symbol 380 MovieClip Frame 12
stop();
Instance of Symbol 211 MovieClip in Symbol 380 MovieClip Frame 12
onClipEvent (load) {
if (_quality == "low") {
this.gotoAndStop(1);
}
if (_quality == "medium") {
this.gotoAndStop(2);
}
if (_quality == "high") {
this.gotoAndStop(3);
}
}
Symbol 380 MovieClip Frame 13
if (_root.helpbar._currentframe == 10) {
_root.helpbar.gotoAndPlay(11);
}
Symbol 384 MovieClip Frame 10
stop();
Symbol 391 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 10
stop();
Symbol 404 MovieClip Frame 24
stop();
Symbol 409 MovieClip Frame 1
stop();
Symbol 409 MovieClip Frame 2
_root.restartbox.resety.gotoAndStop(1);
Symbol 409 MovieClip Frame 82
stop();
Symbol 417 MovieClip Frame 1
stop();
Symbol 417 MovieClip Frame 10
stop();