Frame 1
stop();
Frame 3
stop();
Frame 4
MainLevel = 1;
MainScore = 0;
TotalPerfect = 1;
foofoo = 300;
Timmer = 0;
Replay = 1;
Diff = 0;
TotalFruit = 0;
stop();
_root.Sounds.gotoAndPlay(5);
Instance of Symbol 26 MovieClip in Frame 4
onClipEvent (load) {
this.swapDepths(601);
}
Frame 5
_root.BucketFruit = 0;
Score = 0;
MainCount = 0;
Finish = false;
Dave = true;
foofoo = 300;
Timmer = 0;
dir = 1;
Count = 0;
Launch = true;
Freeze = false;
Moving = false;
BrokenEgg = false;
if (MainLevel == 1) {
FruitType = 2;
BadFruit = 199;
BadFruit1 = 22;
BadFruit2 = 199;
DropSpeed = 5 + _root.Diff;
DropCount = 25 - _root.Diff;
BallSpeed = 5 + _root.Diff;
Speed = 5;
Level = 1;
Bonus = 50;
EggDrop = 20;
DirBird = 1;
_root.Background.gotoAndStop(5);
}
if (MainLevel == 2) {
FruitType = 2;
BadFruit = 199;
BadFruit1 = 40;
BadFruit2 = 15;
DropSpeed = 5 + _root.Diff;
DropCount = 25 - _root.Diff;
BallSpeed = 5 + _root.Diff;
Speed = 5;
Level = 2;
Bonus = 50;
EggDrop = 5;
DirBird = 2;
_root.Background.gotoAndStop(5);
}
if (MainLevel == 3) {
FruitType = 3;
BadFruit = 27;
BadFruit1 = 199;
BadFruit2 = 199;
DropSpeed = 8 + _root.Diff;
DropCount = 20 - _root.Diff;
BallSpeed = 8 + _root.Diff;
Speed = 6;
Level = 1;
Bonus = 50;
EggDrop = 30;
DirBird = 1;
_root.Background.gotoAndStop(5);
}
if (MainLevel == 4) {
FruitType = 3;
BadFruit = 8;
BadFruit1 = 35;
BadFruit2 = 5;
DropSpeed = 8 + _root.Diff;
DropCount = 20 - _root.Diff;
BallSpeed = 8 + _root.Diff;
Speed = 5;
Level = 2;
Bonus = 50;
EggDrop = 15;
DirBird = 2;
_root.Background.gotoAndStop(5);
}
if (MainLevel == 5) {
FruitType = 4;
BadFruit = 12;
BadFruit1 = 10;
BadFruit2 = 10;
DropSpeed = 12 + _root.Diff;
DropCount = 18 - _root.Diff;
BallSpeed = 12 + _root.Diff;
Speed = 7;
Level = 1;
Bonus = 50;
EggDrop = 30;
DirBird = 1;
_root.Background.gotoAndStop(10);
}
if (MainLevel == 6) {
FruitType = 4;
BadFruit = 40;
BadFruit1 = 199;
BadFruit2 = 199;
DropSpeed = 12 + _root.Diff;
DropCount = 18 - _root.Diff;
BallSpeed = 12 + _root.Diff;
Speed = 7;
Level = 2;
Bonus = 50;
EggDrop = 2;
DirBird = 2;
_root.Background.gotoAndStop(10);
}
if (MainLevel == 7) {
FruitType = 5;
BadFruit = 199;
BadFruit1 = 15;
BadFruit2 = 12;
DropSpeed = 8 + _root.Diff;
DropCount = 15 - _root.Diff;
BallSpeed = 8 + _root.Diff;
Speed = 4;
Level = 1;
Bonus = 50;
EggDrop = 10;
DirBird = 1;
_root.Background.gotoAndStop(10);
}
if (MainLevel == 8) {
FruitType = 5;
BadFruit = 199;
BadFruit1 = 199;
BadFruit2 = 199;
DropSpeed = 8 + _root.Diff;
DropCount = 15 - _root.Diff;
BallSpeed = 8 + _root.Diff;
Speed = 4;
Level = 2;
Bonus = 50;
EggDrop = 25;
DirBird = 2;
_root.Background.gotoAndStop(10);
}
if (MainLevel == 9) {
FruitType = 5;
BadFruit = 199;
BadFruit1 = 25;
BadFruit2 = 199;
DropSpeed = 10 + _root.Diff;
DropCount = 15 - _root.Diff;
BallSpeed = 10 + _root.Diff;
Speed = 4;
Level = 1;
Bonus = 50;
EggDrop = 8;
DirBird = 1;
_root.Background.gotoAndStop(10);
}
if (MainLevel == 10) {
FruitType = 2;
BadFruit = 5;
BadFruit1 = 25;
BadFruit2 = 75;
DropSpeed = 13 + _root.Diff;
DropCount = 15 - _root.Diff;
BallSpeed = 10 + _root.Diff;
Speed = 3;
Level = 1;
Bonus = 50;
_root.Background.gotoAndStop(20);
}
if (MainLevel == 11) {
FruitType = 2;
BadFruit = 15;
BadFruit1 = 25;
BadFruit2 = 35;
DropSpeed = 13 + _root.Diff;
DropCount = 15 - _root.Diff;
BallSpeed = 10 + _root.Diff;
Speed = 3;
Level = 2;
Bonus = 50;
_root.Background.gotoAndStop(20);
}
if (MainLevel > 11) {
FruitType = Math.round((Math.random() * 5) + 2);
BadFruit = Math.round((Math.random() * 75) + 2);
BadFruit1 = Math.round((Math.random() * 75) + 2);
BadFruit2 = Math.round((Math.random() * 75) + 2);
DropSpeed = 13 + _root.Diff;
DropCount = 15 - _root.Diff;
BallSpeed = 15 + _root.Diff;
Speed = 3;
Weaver = Math.round(Math.random() * 100);
if ((Weaver > 0) && (Weaver < 50)) {
Level = 1;
}
if ((Weaver > 50) && (Weaver < 100)) {
Level = 2;
}
trace(Level);
Bonus = 50;
_root.Background.gotoAndStop(20);
}
if (MainLevel == 99) {
FruitType = 6;
BadFruit = 199;
BadFruit1 = 199;
BadFruit2 = 199;
DropSpeed = 15 + _root.Diff;
DropCount = 10 - _root.Diff;
BallSpeed = 15 + _root.Diff;
Speed = 15;
Level = 2;
Bonus = 100;
_root.Background.gotoAndStop(15);
}
stop();
Instance of Symbol 87 MovieClip "Bucket" in Frame 5
onClipEvent (load) {
this.swapDepths(600);
foo = 0;
}
onClipEvent (enterFrame) {
if (_root.Freeze == true) {
foo = foo + 1;
if (foo == 100) {
_root.Freeze = false;
foo = 0;
this.gotoAndStop(1);
}
}
if (_root.Freeze == false) {
if (this._x > 30) {
this._x = _root._xmouse;
} else {
this._x = 31;
}
if (this._x < 470) {
this._x = _root._xmouse;
} else {
this._x = 469;
}
}
}
Instance of Symbol 26 MovieClip in Frame 5
onClipEvent (load) {
this.swapDepths(601);
}
Frame 6
Mouse.hide();
stop();
Instance of Symbol 114 MovieClip "Box" in Frame 6
onClipEvent (load) {
this._x = 53;
this._y = 70;
_root.ArryCount = 0;
PrintFruit = true;
foo = 1;
}
onClipEvent (enterFrame) {
if (_root.Finish == false) {
_root.Timmer = _root.Timmer + 1;
if (_root.Timmer == 200) {
_root.BoxMovie.gotoAndPlay(5);
}
if (_root.Level == 1) {
if (this._x > 480) {
this._x = 479;
_root.dir = 2;
}
if (this._x < 30) {
this._x = 31;
_root.dir = 1;
}
if (_root.dir == 1) {
this._x = this._x + _root.Speed;
}
if (_root.dir == 2) {
this._x = this._x - _root.Speed;
}
_root.Count = _root.Count + 1;
if (_root.Count == _root.DropCount) {
if (_root.ArryCount < _root.Bonus) {
duplicateMovieClip (_root.Banana, "_root.banana" + foo, foo);
setProperty("_root.banana", _x , _root.Box._x);
setProperty("_root.banana", _y , 54);
_root.Count = 0;
foo = foo + 1;
_root.ArryCount = _root.ArryCount + 1;
}
}
}
if (_root.Level == 2) {
_root.Count = _root.Count + 1;
if (_root.Count == _root.DropCount) {
if (_root.ArryCount < _root.Bonus) {
Rand = Math.round((Math.random() * 450) + 30);
duplicateMovieClip (_root.Banana, "_root.banana" + foo, foo);
_root.Box._x = Rand;
setProperty("_root.banana", _x , Rand);
setProperty("_root.banana", _y , 54);
_root.Count = 0;
foo = foo + 1;
_root.ArryCount = _root.ArryCount + 1;
}
}
}
if (_root.Level == Bonus) {
_root.Count = _root.Count + 1;
if (_root.Count == _root.DropCount) {
if (_root.ArryCount < _root.Bonus) {
Rand = Math.round((Math.random() * 450) + 30);
duplicateMovieClip (_root.Banana, "_root.banana" + foo, foo);
_root.Box._x = Rand;
setProperty("_root.banana", _x , Rand);
setProperty("_root.banana", _y , 54);
_root.Count = 0;
foo = foo + 1;
_root.ArryCount = _root.ArryCount + 1;
}
}
}
if ((_root.ArryCount == _root.BadFruit) && (_root.Launch == true)) {
_root.BadFruitImage._y = -29;
_root.BadFruitImage._x = Math.round((Math.random() * 450) + 30);
_root.Launch == false;
}
if ((_root.ArryCount == _root.BadFruit1) && (_root.Launch == true)) {
_root.BadFruitImage1._y = -29;
_root.BadFruitImage1._x = Math.round((Math.random() * 450) + 30);
_root.Launch == false;
}
if ((_root.ArryCount == _root.BadFruit2) && (_root.Launch == true)) {
_root.BadFruitImage2._y = -29;
_root.BadFruitImage2._x = Math.round((Math.random() * 450) + 30);
_root.Launch == false;
}
if (_root.MainCount == _root.EggDrop) {
_root.Moving = true;
}
if (_root.MainCount > (_root.Bonus - 1)) {
_root.Finish = true;
_root.Box.gotoAndPlay(5);
}
}
}
Instance of Symbol 124 MovieClip "Banana" in Frame 6
onClipEvent (load) {
this.gotoAndStop(_root.FruitType);
Collect = true;
}
onClipEvent (enterFrame) {
if (this._y > -10) {
if (Collect == true) {
this._y = this._y + _root.BallSpeed;
if ((((this._y > 530) && (this._y < 560)) && (this._x > (_root.Bucket._x - 30))) && (this._x < (_root.Bucket._x + 30))) {
if (_root.Freeze == false) {
_root.Bucket.gotoAndPlay(5);
Collect = false;
this._alpha = 0;
this.removeMovieClip();
}
}
}
}
if (this._y > 590) {
_root.MainCount = _root.MainCount + 1;
this.removeMovieClip();
}
}
Instance of Symbol 128 MovieClip "BadFruitImage" in Frame 6
onClipEvent (load) {
Collect = true;
this.swapDepths(500);
}
onClipEvent (enterFrame) {
if (this._y > -30) {
if (Collect == true) {
this._y = this._y + 3;
if ((((this._y > 530) && (this._y < 560)) && (this._x > (_root.Bucket._x - 30))) && (this._x < (_root.Bucket._x + 30))) {
_root.BonusMovie.gotoAndStop(5);
_root.Freeze = true;
Collect = false;
this._alpha = 0;
this.removeMovieClip();
}
}
}
if (this._y > 590) {
this.removeMovieClip();
}
}
Instance of Symbol 130 MovieClip "BadFruitImage1" in Frame 6
onClipEvent (load) {
Collect = true;
this.swapDepths(500);
}
onClipEvent (enterFrame) {
if (this._y > -30) {
if (Collect == true) {
this._y = this._y + 3;
if ((((this._y > 530) && (this._y < 560)) && (this._x > (_root.Bucket._x - 30))) && (this._x < (_root.Bucket._x + 30))) {
_root.BonusMovie.gotoAndStop(10);
_root.MainScore = _root.MainScore + 250;
Collect = false;
this._alpha = 0;
this.removeMovieClip();
}
}
}
if (this._y > 590) {
this.removeMovieClip();
}
}
Instance of Symbol 132 MovieClip "BadFruitImage2" in Frame 6
onClipEvent (load) {
Collect = true;
this.swapDepths(500);
}
onClipEvent (enterFrame) {
if (this._y > -30) {
if (Collect == true) {
this._y = this._y + 3;
if ((((this._y > 530) && (this._y < 560)) && (this._x > (_root.Bucket._x - 30))) && (this._x < (_root.Bucket._x + 30))) {
_root.BonusMovie.gotoAndStop(15);
_root.Bucket.gotoAndStop(5);
_root.DropSpeed = 5;
_root.DropCount = 25;
_root.BallSpeed = 5;
Collect = false;
this._alpha = 0;
this.removeMovieClip();
}
}
}
if (this._y > 590) {
this.removeMovieClip();
}
}
Frame 15
Mouse.show();
stopAllSounds();
if (((_root.Score > 80) && (_root.Score < 100)) && (_root.MainLevel != 99)) {
_root.MonkeyMovie.gotoAndStop(4);
_root.MainLevel = _root.MainLevel + 1;
}
if (((_root.Score > 75) && (_root.Score < 81)) && (_root.MainLevel != 99)) {
_root.MonkeyMovie.gotoAndStop(2);
_root.MainLevel = _root.MainLevel + 1;
}
if ((_root.Score < 75) && (_root.MainLevel != 99)) {
_root.MonkeyMovie.gotoAndStop(5);
}
if (_root.MainLevel == 99) {
_root.MonkeyMovie.gotoAndStop(4);
_root.MainLevel = _root.Replay;
}
if ((_root.Score == 100) && (_root.MainLevel != 99)) {
_root.MonkeyMovie.gotoAndStop(3);
_root.TotalPerfect = _root.TotalPerfect + 1;
_root.MainLevel = _root.MainLevel + 1;
if (_root.TotalPerfect == 7) {
_root.MonkeyBonus.gotoAndPlay(5);
_root.Replay = _root.MainLevel;
_root.MainLevel = 99;
_root.TotalPerfect = 1;
}
_root.MainScore = _root.MainScore + 500;
_root.Perfect.gotoAndStop(_root.TotalPerfect);
}
i = 0;
while (i < 500) {
removeMovieClip(_root["banana" + i]);
i++;
}
stop();
Instance of Symbol 183 MovieClip in Frame 15
onClipEvent (load) {
this._x = -30;
}
onClipEvent (enterFrame) {
if (_root.Score > 74) {
if (this._x < 530) {
this._x = this._x + 2;
}
}
}
Symbol 6 MovieClip Frame 1
stop();
Symbol 6 MovieClip Frame 100
stop();
Symbol 9 MovieClip Frame 1
doneLoading = 0;
stop();
Instance of Symbol 8 MovieClip "bkgd" in Symbol 9 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.doneLoading == 0) {
total = _parent._parent.getBytesTotal();
isloaded = _parent._parent.getBytesLoaded();
p = 100 * (isLoaded / total);
_root.LoaderMovie.gotoAndPlay(int(p));
_parent.bytes = ((int(isloaded / 1000) add " KB of ") add int(total / 1000)) add " KB";
_parent.percent = int(p) add "% LOADED";
if (Number(p) > Number(99)) {
_parent._parent.gotoAndPlay(Number(3));
_parent.gotoAndStop("off");
_parent.doneLoading = 1;
} else {
_parent._parent.gotoAndPlay(Number(1));
}
}
}
Symbol 12 MovieClip Frame 40
stop();
Symbol 21 MovieClip Frame 160
_root.gotoAndPlay(4);
stop();
Symbol 34 Button
on (release) {
_root.Diff = 5;
stopAllSounds();
_root.gotoAndPlay(5);
}
Symbol 35 MovieClip Frame 1
stop();
Symbol 39 Button
on (release) {
stopAllSounds();
_root.Sounds.gotoAndStop(1);
getURL ("http://www.flashninjaclan.com", "_blank");
}
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 5
stop();
Symbol 50 MovieClip Frame 10
stop();
Symbol 50 MovieClip Frame 15
stop();
Symbol 50 MovieClip Frame 20
stop();
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 75
gotoAndStop (1);
Symbol 79 MovieClip Frame 121
_root.gotoAndPlay(6);
Symbol 87 MovieClip Frame 1
if (_root.Freeze == true) {
gotoAndStop (20);
}
stop();
Symbol 87 MovieClip Frame 5
_root.MainCount = _root.MainCount + 1;
CountMeter = 2;
if (_root.MainLevel == 99) {
CountMeter = 1;
} else {
CounterMeter = 2;
}
_root.Mouse.show();
_root.BucketFruit = _root.BucketFruit + CountMeter;
_root.TotalFruit = _root.TotalFruit + 1;
_root.FruitMeter.gotoAndStop(_root.BucketFruit);
_root.MainScore = _root.MainScore + (_root.FruitType + _root.Diff);
_root.Score = _root.Score + 2;
Symbol 87 MovieClip Frame 15
gotoAndStop (1);
Symbol 87 MovieClip Frame 20
stop();
Symbol 106 MovieClip Frame 51
gotoAndPlay (1);
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 100
stop();
Symbol 110 MovieClip Frame 134
gotoAndStop (1);
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 5
_root.gotoAndStop(15);
stop();
Symbol 117 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 5
this.removeMovieClip();
Symbol 121 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 2
stop();
Symbol 124 MovieClip Frame 3
stop();
Symbol 124 MovieClip Frame 4
stop();
Symbol 124 MovieClip Frame 5
stop();
Symbol 124 MovieClip Frame 6
stop();
Symbol 134 MovieClip Frame 51
stop();
Symbol 138 MovieClip Frame 51
stop();
Symbol 140 MovieClip Frame 51
stop();
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 5
stop();
Symbol 141 MovieClip Frame 10
stop();
Symbol 141 MovieClip Frame 15
stop();
Symbol 141 MovieClip Frame 20
stop();
Symbol 145 Button
on (release) {
_root.FruitMeter.gotoAndPlay(101);
_root.gotoAndPlay(5);
stopAllSounds();
}
Symbol 155 MovieClip Frame 51
this.removeMovieClip();
stop();
Symbol 156 MovieClip Frame 1
i = 0;
while (i < 100) {
duplicateMovieClip ("t", "t" + i, i);
setProperty("t" + i, _rotation , Math.random() * 360);
setProperty("t" + i, _xscale , Math.random() * 60);
setProperty("t" + i, _yscale , Math.random() * 60);
i = i + 1;
}
stop();
Symbol 156 MovieClip Frame 2
gotoAndPlay (1);
Symbol 157 MovieClip Frame 104
Symbol 157 MovieClip Frame 185
stop();
Symbol 158 MovieClip Frame 139
stop();
Symbol 166 Button
on (release) {
_root.FruitMeter.gotoAndPlay(101);
_root.Bucket.removeMovieClip();
stopAllSounds();
_root.gotoAndPlay(1);
}
Symbol 178 Button
on (release) {
nukename = _root.scorename;
nukescore = _root.MainScore;
loadVariablesNum ("http://www.flashninjaclan.com/games/monkeyfruits/newscore.php", 0, "POST");
_root.gotoAndPlay(4);
}
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 2
stop();
Symbol 180 MovieClip Frame 3
stop();
Symbol 180 MovieClip Frame 4
stop();
Symbol 180 MovieClip Frame 55
stop();