Frame 1
total = _root.getBytesTotal();
loaded = _root.getBytesLoaded();
if ((_root.loader.box0.currentPlaying == false) && (((loaded / total) * 100) >= 10)) {
_root.loader.box0.gotoAndPlay(1);
}
if ((_root.loader.box1.currentPlaying == false) && (((loaded / total) * 100) >= 20)) {
_root.loader.box1.gotoAndPlay(1);
}
if ((_root.loader.box2.currentPlaying == false) && (((loaded / total) * 100) >= 30)) {
_root.loader.box2.gotoAndPlay(1);
}
if ((_root.loader.box3.currentPlaying == false) && (((loaded / total) * 100) >= 40)) {
_root.loader.box3.gotoAndPlay(1);
}
if ((_root.loader.box4.currentPlaying == false) && (((loaded / total) * 100) >= 50)) {
_root.loader.box4.gotoAndPlay(1);
}
if ((_root.loader.box5.currentPlaying == false) && (((loaded / total) * 100) >= 60)) {
_root.loader.box5.gotoAndPlay(1);
}
if ((_root.loader.box6.currentPlaying == false) && (((loaded / total) * 100) >= 70)) {
_root.loader.box6.gotoAndPlay(1);
}
if ((_root.loader.box7.currentPlaying == false) && (((loaded / total) * 100) >= 80)) {
_root.loader.box7.gotoAndPlay(1);
}
if ((_root.loader.box8.currentPlaying == false) && (((loaded / total) * 100) >= 90)) {
_root.loader.box8.gotoAndPlay(1);
}
if ((_root.loader.box9.currentPlaying == false) && (((loaded / total) * 100) >= 100)) {
_root.loader.box9.gotoAndPlay(1);
}
Frame 3
total = _root.getBytesTotal();
loaded = _root.getBytesLoaded();
if ((_root.loader.box0.currentPlaying == false) && (((loaded / total) * 100) >= 10)) {
_root.loader.box0.gotoAndPlay(1);
}
if ((_root.loader.box1.currentPlaying == false) && (((loaded / total) * 100) >= 20)) {
_root.loader.box1.gotoAndPlay(1);
}
if ((_root.loader.box2.currentPlaying == false) && (((loaded / total) * 100) >= 30)) {
_root.loader.box2.gotoAndPlay(1);
}
if ((_root.loader.box3.currentPlaying == false) && (((loaded / total) * 100) >= 40)) {
_root.loader.box3.gotoAndPlay(1);
}
if ((_root.loader.box4.currentPlaying == false) && (((loaded / total) * 100) >= 50)) {
_root.loader.box4.gotoAndPlay(1);
}
if ((_root.loader.box5.currentPlaying == false) && (((loaded / total) * 100) >= 60)) {
_root.loader.box5.gotoAndPlay(1);
}
if ((_root.loader.box6.currentPlaying == false) && (((loaded / total) * 100) >= 70)) {
_root.loader.box6.gotoAndPlay(1);
}
if ((_root.loader.box7.currentPlaying == false) && (((loaded / total) * 100) >= 80)) {
_root.loader.box7.gotoAndPlay(1);
}
if ((_root.loader.box8.currentPlaying == false) && (((loaded / total) * 100) >= 90)) {
_root.loader.box8.gotoAndPlay(1);
}
if ((_root.loader.box9.currentPlaying == false) && (((loaded / total) * 100) >= 100)) {
_root.loader.box9.gotoAndPlay(1);
}
Frame 5
total = _root.getBytesTotal();
loaded = _root.getBytesLoaded();
if ((_root.loader.box0.currentPlaying == false) && (((loaded / total) * 100) >= 10)) {
_root.loader.box0.gotoAndPlay(1);
}
if ((_root.loader.box1.currentPlaying == false) && (((loaded / total) * 100) >= 20)) {
_root.loader.box1.gotoAndPlay(1);
}
if ((_root.loader.box2.currentPlaying == false) && (((loaded / total) * 100) >= 30)) {
_root.loader.box2.gotoAndPlay(1);
}
if ((_root.loader.box3.currentPlaying == false) && (((loaded / total) * 100) >= 40)) {
_root.loader.box3.gotoAndPlay(1);
}
if ((_root.loader.box4.currentPlaying == false) && (((loaded / total) * 100) >= 50)) {
_root.loader.box4.gotoAndPlay(1);
}
if ((_root.loader.box5.currentPlaying == false) && (((loaded / total) * 100) >= 60)) {
_root.loader.box5.gotoAndPlay(1);
}
if ((_root.loader.box6.currentPlaying == false) && (((loaded / total) * 100) >= 70)) {
_root.loader.box6.gotoAndPlay(1);
}
if ((_root.loader.box7.currentPlaying == false) && (((loaded / total) * 100) >= 80)) {
_root.loader.box7.gotoAndPlay(1);
}
if ((_root.loader.box8.currentPlaying == false) && (((loaded / total) * 100) >= 90)) {
_root.loader.box8.gotoAndPlay(1);
}
if ((_root.loader.box9.currentPlaying == false) && (((loaded / total) * 100) >= 100)) {
_root.loader.box9.gotoAndPlay(1);
}
if (_root.loader.box9.done == true) {
_root.gotoAndPlay(6);
} else {
_root.gotoAndPlay(1);
}
Frame 10
_root.gotoAndPlay("begin_two");
Frame 314
_root.inst._visible = false;
stop();
Instance of Symbol 220 MovieClip in Frame 314
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
this.gotoAndPlay(12);
if (this._y > -75) {
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
}
}
Frame 315
stopAllSounds();
Frame 379
mult = 1;
_global.depth = 0;
_global.gum = false;
_global.life = 8;
_global.time = 400000 /* 0x061A80 */;
_global.score = 0;
_global.spot = 0;
_global.win = 0;
_global.attacks = 2;
gameover._visible = false;
win._visible = false;
x = 3;
while (x < 11) {
_root["plat" + x]._y = _root["plat" + x]._y - (100 * mult);
mult++;
x++;
}
gum1._x = 0;
gum1._y = 0;
gum1.fish._x = 0;
gum1.fish._y = 0;
stop();
Instance of Symbol 220 MovieClip "plat1" in Frame 379
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (0.5 * flop);
}
}
Instance of Symbol 220 MovieClip "plat2" in Frame 379
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (4 * flop);
}
}
Instance of Symbol 220 MovieClip "plat3" in Frame 379
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (1 * flop);
}
}
Instance of Symbol 220 MovieClip "plat4" in Frame 379
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (4 * flop);
}
}
Instance of Symbol 220 MovieClip "plat5" in Frame 379
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (6 * flop);
}
}
Instance of Symbol 220 MovieClip "plat6" in Frame 379
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (1 * flop);
}
}
Instance of Symbol 220 MovieClip "plat7" in Frame 379
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (2 * flop);
}
}
Instance of Symbol 220 MovieClip "plat8" in Frame 379
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (1 * flop);
}
}
Instance of Symbol 220 MovieClip "plat9" in Frame 379
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (5 * flop);
}
}
Instance of Symbol 220 MovieClip "plat10" in Frame 379
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (3 * flop);
}
}
Instance of Symbol 258 MovieClip in Frame 379
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_global.life = _global.life - 1;
_root.life.nextFrame();
if (_global.life == 0) {
_root.gameover._visible = true;
_root.gameover.gotoAndPlay(2);
}
x = 1;
while (x < 11) {
if (_global.spot == x) {
_global.gum = false;
_root.ball.vector_x = 0;
_root.ball.times = 0;
_root.ball.play_var = 0;
_root.ball.acceleration_y = 0;
_root.ball.gravity = 9.8;
_root["plat" + x].gotoAndStop(1);
_root.ball._y = _root["plat" + x]._y + 16;
_root.ball._x = _root["plat" + x]._x;
_root.ball.gotoAndStop(1);
}
x++;
}
}
}
Instance of Symbol 219 MovieClip "ball" in Frame 379
onClipEvent (load) {
function win() {
_global.score = _global.score + 75;
_root.win._visible = true;
_root.win.gotoAndPlay(2);
}
vector_x = this._x;
acceleration_y = 0;
vector_y = 0;
vector_x = 0;
times = 0;
locked = false;
gravity = 9.8;
play_var = 0;
}
onClipEvent (enterFrame) {
if ((this._x - (this._width / 2)) <= 0) {
vector_x = 6;
}
if ((this._x + (this._width / 2)) >= 400) {
vector_x = -6;
}
times = times + 0.06;
acceleration_y = times * gravity;
vector_y = acceleration_y + gravity;
x = 1;
while (x < 11) {
if ((this.hitTest(_root["plat" + x].target) && (vector_y > 0)) && (_global.gum == false)) {
if (_root["plat" + x] == _root.plat1) {
if (_root.plat1._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat1._y + 16;
this._x = _root.plat1._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 1) {
_global.spot = 1;
_global.score = _global.score + 0;
_root.plat1.gotoAndStop(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat2) {
if (_root.plat2._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat2._y + 16;
this._x = _root.plat2._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 2) {
_global.spot = 2;
_global.score = _global.score + 75;
_root.plat2.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat3) {
if (_root.plat3._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat3._y + 16;
this._x = _root.plat3._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 3) {
_global.spot = 3;
_global.score = _global.score + 75;
_root.plat3.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat4) {
if (_root.plat4._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat4._y + 16;
this._x = _root.plat4._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 4) {
_global.spot = 4;
_global.score = _global.score + 75;
_root.plat4.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat5) {
if (_root.plat5._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat5._y + 16;
this._x = _root.plat5._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 5) {
_global.spot = 5;
_global.score = _global.score + 75;
_root.plat5.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat6) {
if (_root.plat6._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat6._y + 16;
this._x = _root.plat6._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 6) {
_global.spot = 6;
_global.score = _global.score + 75;
_root.plat6.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat7) {
if (_root.plat7._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat7._y + 16;
this._x = _root.plat7._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 7) {
_global.spot = 7;
_global.score = _global.score + 75;
_root.plat7.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat8) {
if (_root.plat8._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat8._y + 16;
this._x = _root.plat8._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 8) {
_global.spot = 8;
_global.score = _global.score + 75;
_root.plat8.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat9) {
if (_root.plat9._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat9._y + 16;
this._x = _root.plat9._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 9) {
_global.spot = 9;
_global.score = _global.score + 75;
_root.plat9.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
locked = true;
}
if ((this.hitTest(_root.plat10.target) && (_global.win == false)) && (_global.gum == false)) {
locked = true;
win();
_global.win = true;
}
if (this.hitTest(_root["plat" + x].target) && (locked == true)) {
times = 0;
vector_x = 0;
this._y = _root["plat" + x]._y + 16;
this._x = _root["plat" + x]._x;
this._visible = false;
if (play_var == 0) {
_root["plat" + x].gotoAndPlay(12);
play_var = 1;
}
if (Key.isDown(32)) {
x = 1;
while (x < 11) {
if (this.hitTest(_root["plat" + x].target)) {
this._visible = true;
_root["plat" + x].gotoAndPlay(2);
}
x++;
}
times = -2.4;
acceleration_y = times * gravity;
vector_y = acceleration_y + gravity;
}
if (!this.hitTest(_root["plat" + _global.spot].target)) {
locked = false;
}
}
x++;
}
this._x = this._x + vector_x;
this._y = this._y + vector_y;
}
Instance of Symbol 262 MovieClip "sp1" in Frame 379
onClipEvent (load) {
number = random(600) + 800;
timer_1 = getTimer();
depth = 0;
}
onClipEvent (enterFrame) {
if (_global.win == false) {
if ((getTimer() - timer_1) > number) {
_global.depth++;
_root.attachMovie("floating controller", "float" + _global.depth, _global.depth);
_root["float" + _global.depth]._y = this._y;
_root["float" + _global.depth]._x = this._x;
timer_1 = getTimer();
number = random(3000) + 2500;
}
}
}
Instance of Symbol 262 MovieClip "sp2" in Frame 379
onClipEvent (load) {
number = random(600) + 800;
timer_1 = getTimer();
depth = 0;
}
onClipEvent (enterFrame) {
if (_global.win == false) {
if ((getTimer() - timer_1) > number) {
_global.depth++;
_root.attachMovie("floating controller _r", "float" + _global.depth, _global.depth);
_root["float" + _global.depth]._y = this._y;
_root["float" + _global.depth]._x = this._x;
timer_1 = getTimer();
number = random(3000) + 2500;
}
}
}
Instance of Symbol 277 MovieClip in Frame 379
onClipEvent (enterFrame) {
if (_global.wind != 1) {
if (_global.time > 0) {
_global.time = _global.time - 100;
_root.time.text = _global.time / 1000;
}
}
if (_global.time <= 0) {
_root.gameover._visible = true;
_root.gameover.gotoAndPlay(2);
}
}
Instance of Symbol 283 MovieClip in Frame 379
onClipEvent (enterFrame) {
if (_global.attacks == 2) {
this.gotoAndStop(1);
}
if (_global.attacks == 1) {
this.gotoAndStop(2);
}
if (_global.attacks == 0) {
this.gotoAndStop(3);
}
}
Frame 380
_global.win = 0;
Frame 444
mult = 1;
_global.depth = 0;
_global.gum = false;
_global.time = 350000 /* 0x055730 */;
_global.spot = 1;
_global.win = 0;
gameover._visible = false;
win._visible = false;
x = 3;
while (x < 11) {
_root["plat" + x]._y = _root["plat" + x]._y - (100 * mult);
mult++;
x++;
}
stop();
Instance of Symbol 220 MovieClip "plat1" in Frame 444
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (0.5 * flop);
}
}
Instance of Symbol 220 MovieClip "plat2" in Frame 444
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (4 * flop);
}
}
Instance of Symbol 220 MovieClip "plat3" in Frame 444
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (1 * flop);
}
}
Instance of Symbol 220 MovieClip "plat4" in Frame 444
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (4 * flop);
}
}
Instance of Symbol 220 MovieClip "plat5" in Frame 444
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (6 * flop);
}
}
Instance of Symbol 220 MovieClip "plat6" in Frame 444
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (1 * flop);
}
}
Instance of Symbol 220 MovieClip "plat7" in Frame 444
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (2 * flop);
}
}
Instance of Symbol 220 MovieClip "plat8" in Frame 444
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (1 * flop);
}
}
Instance of Symbol 220 MovieClip "plat9" in Frame 444
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (5 * flop);
}
}
Instance of Symbol 220 MovieClip "plat10" in Frame 444
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (3 * flop);
}
}
Instance of Symbol 219 MovieClip "ball" in Frame 444
onClipEvent (load) {
function win() {
_global.score = _global.score + 75;
_root.win._visible = true;
_root.win.gotoAndPlay(2);
}
vector_x = this._x;
acceleration_y = 0;
vector_y = 0;
vector_x = 0;
times = 0;
locked = false;
gravity = 9.8;
play_var = 0;
}
onClipEvent (enterFrame) {
if ((this._x - (this._width / 2)) <= 0) {
vector_x = 6;
}
if ((this._x + (this._width / 2)) >= 400) {
vector_x = -6;
}
times = times + 0.06;
acceleration_y = times * gravity;
vector_y = acceleration_y + gravity;
x = 1;
while (x < 11) {
if ((this.hitTest(_root["plat" + x].target) && (vector_y > 0)) && (_global.gum == false)) {
if (_root["plat" + x] == _root.plat1) {
if (_root.plat1._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat1._y + 16;
this._x = _root.plat1._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 1) {
_global.spot = 1;
_global.score = _global.score + 0;
_root.plat1.gotoAndStop(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat2) {
if (_root.plat2._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat2._y + 16;
this._x = _root.plat2._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 2) {
_global.spot = 2;
_global.score = _global.score + 75;
_root.plat2.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat3) {
if (_root.plat3._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat3._y + 16;
this._x = _root.plat3._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 3) {
_global.spot = 3;
_global.score = _global.score + 75;
_root.plat3.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat4) {
if (_root.plat4._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat4._y + 16;
this._x = _root.plat4._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 4) {
_global.spot = 4;
_global.score = _global.score + 75;
_root.plat4.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat5) {
if (_root.plat5._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat5._y + 16;
this._x = _root.plat5._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 5) {
_global.spot = 5;
_global.score = _global.score + 75;
_root.plat5.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat6) {
if (_root.plat6._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat6._y + 16;
this._x = _root.plat6._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 6) {
_global.spot = 6;
_global.score = _global.score + 75;
_root.plat6.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat7) {
if (_root.plat7._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat7._y + 16;
this._x = _root.plat7._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 7) {
_global.spot = 7;
_global.score = _global.score + 75;
_root.plat7.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat8) {
if (_root.plat8._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat8._y + 16;
this._x = _root.plat8._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 8) {
_global.spot = 8;
_global.score = _global.score + 75;
_root.plat8.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat9) {
if (_root.plat9._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat9._y + 16;
this._x = _root.plat9._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 9) {
_global.spot = 9;
_global.score = _global.score + 75;
_root.plat9.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
locked = true;
}
if ((this.hitTest(_root.plat10.target) && (_global.win == false)) && (_global.gum == false)) {
locked = true;
win();
_global.win = true;
}
if (this.hitTest(_root["plat" + x].target) && (locked == true)) {
times = 0;
vector_x = 0;
this._y = _root["plat" + x]._y + 16;
this._x = _root["plat" + x]._x;
this._visible = false;
if (play_var == 0) {
_root["plat" + x].gotoAndPlay(12);
play_var = 1;
}
if (Key.isDown(32)) {
x = 1;
while (x < 11) {
if (this.hitTest(_root["plat" + x].target)) {
this._visible = true;
_root["plat" + x].gotoAndPlay(2);
}
x++;
}
times = -2.4;
acceleration_y = times * gravity;
vector_y = acceleration_y + gravity;
}
if (!this.hitTest(_root["plat" + _global.spot].target)) {
locked = false;
}
}
x++;
}
this._x = this._x + vector_x;
this._y = this._y + vector_y;
}
Instance of Symbol 258 MovieClip in Frame 444
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_global.life = _global.life - 1;
_root.life.nextFrame();
if (_global.life == 0) {
_root.gameover._visible = true;
_root.gameover.gotoAndPlay(2);
}
x = 1;
while (x < 11) {
if (_global.spot == x) {
_global.gum = false;
_root.ball.vector_x = 0;
_root.ball.times = 0;
_root.ball.play_var = 0;
_root.ball.acceleration_y = 0;
_root.ball.gravity = 9.8;
_root["plat" + x].gotoAndStop(1);
_root.ball._y = _root["plat" + x]._y + 16;
_root.ball._x = _root["plat" + x]._x;
_root.ball.gotoAndStop(1);
}
x++;
}
}
}
Instance of Symbol 262 MovieClip "sp2" in Frame 444
onClipEvent (load) {
number = random(600) + 800;
timer_1 = getTimer();
depth = 0;
}
onClipEvent (enterFrame) {
if (_global.win == false) {
if ((getTimer() - timer_1) > number) {
_global.depth++;
_root.attachMovie("floating controller _r", "float" + _global.depth, _global.depth);
_root["float" + _global.depth]._y = this._y;
_root["float" + _global.depth]._x = this._x;
timer_1 = getTimer();
number = random(3000) + 2500;
}
}
}
Instance of Symbol 262 MovieClip "sp1" in Frame 444
onClipEvent (load) {
number = random(600) + 800;
timer_1 = getTimer();
depth = 0;
}
onClipEvent (enterFrame) {
if (_global.win == false) {
if ((getTimer() - timer_1) > number) {
_global.depth++;
_root.attachMovie("floating controller", "float" + _global.depth, _global.depth);
_root["float" + _global.depth]._y = this._y;
_root["float" + _global.depth]._x = this._x;
timer_1 = getTimer();
number = random(3000) + 2500;
}
}
}
Instance of Symbol 262 MovieClip "sp1" in Frame 444
onClipEvent (load) {
number = random(600) + 800;
timer_1 = getTimer();
depth = 0;
}
onClipEvent (enterFrame) {
if (_global.win == false) {
if ((getTimer() - timer_1) > number) {
_global.depth++;
_root.attachMovie("floating controller", "float" + _global.depth, _global.depth);
_root["float" + _global.depth]._y = this._y;
_root["float" + _global.depth]._x = this._x;
timer_1 = getTimer();
number = random(3000) + 2500;
}
}
}
Instance of Symbol 277 MovieClip in Frame 444
onClipEvent (enterFrame) {
if (_global.wind != 1) {
if (_global.time > 0) {
_global.time = _global.time - 100;
_root.time.text = _global.time / 1000;
}
}
if (_global.time <= 0) {
_root.gameover._visible = true;
_root.gameover.gotoAndPlay(2);
}
}
Instance of Symbol 283 MovieClip in Frame 444
onClipEvent (enterFrame) {
if (_global.attacks == 2) {
this.gotoAndStop(1);
}
if (_global.attacks == 1) {
this.gotoAndStop(2);
}
if (_global.attacks == 0) {
this.gotoAndStop(3);
}
}
Frame 445
_global.win = 0;
Frame 509
mult = 1;
_global.depth = 0;
_global.gum = false;
_global.time = 300000 /* 0x0493E0 */;
_global.spot = 1;
_global.win = 0;
gameover._visible = false;
win._visible = false;
x = 3;
while (x < 11) {
_root["plat" + x]._y = _root["plat" + x]._y - (100 * mult);
mult++;
x++;
}
_root.attachMovie("gumcontroller", "gum1", 10000);
_root.gum1._x = 0;
_root.gum1._y = 0;
_root.gum1.fish._x = 0;
_root.gum1.fish._y = 12;
_root.attachMovie("gumcontroller", "gum2", 10002);
_root.gum2._x = 0;
_root.gum2._y = 0;
_root.gum2.fish._x = 250;
_root.gum2.fish._y = 12;
stop();
Instance of Symbol 220 MovieClip "plat1" in Frame 509
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (0.5 * flop);
}
}
Instance of Symbol 220 MovieClip "plat2" in Frame 509
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (4 * flop);
}
}
Instance of Symbol 220 MovieClip "plat3" in Frame 509
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (1 * flop);
}
}
Instance of Symbol 220 MovieClip "plat4" in Frame 509
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (4 * flop);
}
}
Instance of Symbol 220 MovieClip "plat5" in Frame 509
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (6 * flop);
}
}
Instance of Symbol 220 MovieClip "plat6" in Frame 509
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (1 * flop);
}
}
Instance of Symbol 220 MovieClip "plat7" in Frame 509
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (2 * flop);
}
}
Instance of Symbol 220 MovieClip "plat8" in Frame 509
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (1 * flop);
}
}
Instance of Symbol 220 MovieClip "plat9" in Frame 509
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (5 * flop);
}
}
Instance of Symbol 220 MovieClip "plat10" in Frame 509
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (3 * flop);
}
}
Instance of Symbol 219 MovieClip "ball" in Frame 509
onClipEvent (load) {
function win() {
_global.score = _global.score + 75;
_root.win._visible = true;
_root.win.gotoAndPlay(2);
}
vector_x = this._x;
acceleration_y = 0;
vector_y = 0;
vector_x = 0;
times = 0;
locked = false;
gravity = 9.8;
play_var = 0;
}
onClipEvent (enterFrame) {
if ((this._x - (this._width / 2)) <= 0) {
vector_x = 6;
}
if ((this._x + (this._width / 2)) >= 400) {
vector_x = -6;
}
times = times + 0.06;
acceleration_y = times * gravity;
vector_y = acceleration_y + gravity;
x = 1;
while (x < 11) {
if ((this.hitTest(_root["plat" + x].target) && (vector_y > 0)) && (_global.gum == false)) {
if (_root["plat" + x] == _root.plat1) {
if (_root.plat1._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat1._y + 16;
this._x = _root.plat1._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 1) {
_global.spot = 1;
_global.score = _global.score + 0;
_root.plat1.gotoAndStop(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat2) {
if (_root.plat2._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat2._y + 16;
this._x = _root.plat2._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 2) {
_global.spot = 2;
_global.score = _global.score + 75;
_root.plat2.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat3) {
if (_root.plat3._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat3._y + 16;
this._x = _root.plat3._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 3) {
_global.spot = 3;
_global.score = _global.score + 75;
_root.plat3.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat4) {
if (_root.plat4._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat4._y + 16;
this._x = _root.plat4._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 4) {
_global.spot = 4;
_global.score = _global.score + 75;
_root.plat4.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat5) {
if (_root.plat5._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat5._y + 16;
this._x = _root.plat5._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 5) {
_global.spot = 5;
_global.score = _global.score + 75;
_root.plat5.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat6) {
if (_root.plat6._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat6._y + 16;
this._x = _root.plat6._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 6) {
_global.spot = 6;
_global.score = _global.score + 75;
_root.plat6.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat7) {
if (_root.plat7._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat7._y + 16;
this._x = _root.plat7._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 7) {
_global.spot = 7;
_global.score = _global.score + 75;
_root.plat7.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat8) {
if (_root.plat8._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat8._y + 16;
this._x = _root.plat8._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 8) {
_global.spot = 8;
_global.score = _global.score + 75;
_root.plat8.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat9) {
if (_root.plat9._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat9._y + 16;
this._x = _root.plat9._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 9) {
_global.spot = 9;
_global.score = _global.score + 75;
_root.plat9.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
locked = true;
}
if ((this.hitTest(_root.plat10.target) && (_global.win == false)) && (_global.gum == false)) {
locked = true;
win();
_global.win = true;
}
if (this.hitTest(_root["plat" + x].target) && (locked == true)) {
times = 0;
vector_x = 0;
this._y = _root["plat" + x]._y + 16;
this._x = _root["plat" + x]._x;
this._visible = false;
if (play_var == 0) {
_root["plat" + x].gotoAndPlay(12);
play_var = 1;
}
if (Key.isDown(32)) {
x = 1;
while (x < 11) {
if (this.hitTest(_root["plat" + x].target)) {
this._visible = true;
_root["plat" + x].gotoAndPlay(2);
}
x++;
}
times = -2.4;
acceleration_y = times * gravity;
vector_y = acceleration_y + gravity;
}
if (!this.hitTest(_root["plat" + _global.spot].target)) {
locked = false;
}
}
x++;
}
this._x = this._x + vector_x;
this._y = this._y + vector_y;
}
Instance of Symbol 258 MovieClip in Frame 509
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_global.life = _global.life - 1;
_root.life.nextFrame();
if (_global.life == 0) {
_root.gameover._visible = true;
_root.gameover.gotoAndPlay(2);
}
x = 1;
while (x < 11) {
if (_global.spot == x) {
_global.gum = false;
_root.ball.vector_x = 0;
_root.ball.times = 0;
_root.ball.play_var = 0;
_root.ball.acceleration_y = 0;
_root.ball.gravity = 9.8;
_root["plat" + x].gotoAndStop(1);
_root.ball._y = _root["plat" + x]._y + 16;
_root.ball._x = _root["plat" + x]._x;
_root.ball.gotoAndStop(1);
}
x++;
}
}
}
Instance of Symbol 262 MovieClip "sp2" in Frame 509
onClipEvent (load) {
number = random(600) + 800;
timer_1 = getTimer();
depth = 0;
}
onClipEvent (enterFrame) {
if (_global.win == false) {
if ((getTimer() - timer_1) > number) {
_global.depth++;
_root.attachMovie("floating controller _r", "float" + _global.depth, _global.depth);
_root["float" + _global.depth]._y = this._y;
_root["float" + _global.depth]._x = this._x;
timer_1 = getTimer();
number = random(3000) + 2500;
}
}
}
Instance of Symbol 262 MovieClip "sp2" in Frame 509
onClipEvent (load) {
number = random(600) + 800;
timer_1 = getTimer();
depth = 0;
}
onClipEvent (enterFrame) {
if (_global.win == false) {
if ((getTimer() - timer_1) > number) {
_global.depth++;
_root.attachMovie("floating controller _r", "float" + _global.depth, _global.depth);
_root["float" + _global.depth]._y = this._y;
_root["float" + _global.depth]._x = this._x;
timer_1 = getTimer();
number = random(3000) + 2500;
}
}
}
Instance of Symbol 262 MovieClip "sp1" in Frame 509
onClipEvent (load) {
number = random(600) + 800;
timer_1 = getTimer();
depth = 0;
}
onClipEvent (enterFrame) {
if (_global.win == false) {
if ((getTimer() - timer_1) > number) {
_global.depth++;
_root.attachMovie("floating controller", "float" + _global.depth, _global.depth);
_root["float" + _global.depth]._y = this._y;
_root["float" + _global.depth]._x = this._x;
timer_1 = getTimer();
number = random(3000) + 2500;
}
}
}
Instance of Symbol 277 MovieClip in Frame 509
onClipEvent (enterFrame) {
if (_global.wind != 1) {
if (_global.time > 0) {
_global.time = _global.time - 100;
_root.time.text = _global.time / 1000;
}
}
if (_global.time <= 0) {
_root.gameover._visible = true;
_root.gameover.gotoAndPlay(2);
}
}
Instance of Symbol 283 MovieClip in Frame 509
onClipEvent (enterFrame) {
if (_global.attacks == 2) {
this.gotoAndStop(1);
}
if (_global.attacks == 1) {
this.gotoAndStop(2);
}
if (_global.attacks == 0) {
this.gotoAndStop(3);
}
}
Frame 510
_global.win = 0;
Frame 574
mult = 1;
_global.depth = 0;
_global.gum = false;
_global.time = 250000 /* 0x03D090 */;
_global.spot = 1;
_global.win = 0;
gameover._visible = false;
win._visible = false;
x = 3;
while (x < 11) {
_root["plat" + x]._y = _root["plat" + x]._y - (100 * mult);
mult++;
x++;
}
_root.attachMovie("gumcontroller", "gum1", 10000);
_root.gum1._x = 0;
_root.gum1._y = 0;
_root.gum1.fish._x = 100;
_root.gum1.fish._y = 125;
_root.attachMovie("gumcontroller", "gum2", 10001);
_root.gum2._x = 0;
_root.gum2._y = 0;
_root.gum2.fish._x = 0;
_root.gum2.fish._y = 125;
_root.attachMovie("gumcontroller", "gum3", 10002);
_root.gum3._x = 0;
_root.gum3._y = 0;
_root.gum3.fish._x = 200;
_root.gum3.fish._y = 125;
stop();
Instance of Symbol 220 MovieClip "plat1" in Frame 574
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (0.5 * flop);
}
}
Instance of Symbol 220 MovieClip "plat2" in Frame 574
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (4 * flop);
}
}
Instance of Symbol 220 MovieClip "plat3" in Frame 574
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (1 * flop);
}
}
Instance of Symbol 220 MovieClip "plat4" in Frame 574
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (4 * flop);
}
}
Instance of Symbol 220 MovieClip "plat5" in Frame 574
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (6 * flop);
}
}
Instance of Symbol 220 MovieClip "plat6" in Frame 574
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (1 * flop);
}
}
Instance of Symbol 220 MovieClip "plat7" in Frame 574
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (2 * flop);
}
}
Instance of Symbol 220 MovieClip "plat8" in Frame 574
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (1 * flop);
}
}
Instance of Symbol 220 MovieClip "plat9" in Frame 574
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (5 * flop);
}
}
Instance of Symbol 220 MovieClip "plat10" in Frame 574
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (3 * flop);
}
}
Instance of Symbol 219 MovieClip "ball" in Frame 574
onClipEvent (load) {
function win() {
_global.score = _global.score + 75;
_root.win._visible = true;
_root.win.gotoAndPlay(2);
}
vector_x = this._x;
acceleration_y = 0;
vector_y = 0;
vector_x = 0;
times = 0;
locked = false;
gravity = 9.8;
play_var = 0;
}
onClipEvent (enterFrame) {
if ((this._x - (this._width / 2)) <= 0) {
vector_x = 6;
}
if ((this._x + (this._width / 2)) >= 400) {
vector_x = -6;
}
times = times + 0.06;
acceleration_y = times * gravity;
vector_y = acceleration_y + gravity;
x = 1;
while (x < 11) {
if ((this.hitTest(_root["plat" + x].target) && (vector_y > 0)) && (_global.gum == false)) {
if (_root["plat" + x] == _root.plat1) {
if (_root.plat1._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat1._y + 16;
this._x = _root.plat1._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 1) {
_global.spot = 1;
_global.score = _global.score + 0;
_root.plat1.gotoAndStop(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat2) {
if (_root.plat2._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat2._y + 16;
this._x = _root.plat2._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 2) {
_global.spot = 2;
_global.score = _global.score + 75;
_root.plat2.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat3) {
if (_root.plat3._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat3._y + 16;
this._x = _root.plat3._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 3) {
_global.spot = 3;
_global.score = _global.score + 75;
_root.plat3.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat4) {
if (_root.plat4._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat4._y + 16;
this._x = _root.plat4._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 4) {
_global.spot = 4;
_global.score = _global.score + 75;
_root.plat4.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat5) {
if (_root.plat5._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat5._y + 16;
this._x = _root.plat5._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 5) {
_global.spot = 5;
_global.score = _global.score + 75;
_root.plat5.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat6) {
if (_root.plat6._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat6._y + 16;
this._x = _root.plat6._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 6) {
_global.spot = 6;
_global.score = _global.score + 75;
_root.plat6.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat7) {
if (_root.plat7._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat7._y + 16;
this._x = _root.plat7._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 7) {
_global.spot = 7;
_global.score = _global.score + 75;
_root.plat7.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat8) {
if (_root.plat8._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat8._y + 16;
this._x = _root.plat8._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 8) {
_global.spot = 8;
_global.score = _global.score + 75;
_root.plat8.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat9) {
if (_root.plat9._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat9._y + 16;
this._x = _root.plat9._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 9) {
_global.spot = 9;
_global.score = _global.score + 75;
_root.plat9.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
locked = true;
}
if ((this.hitTest(_root.plat10.target) && (_global.win == false)) && (_global.gum == false)) {
locked = true;
win();
_global.win = true;
}
if (this.hitTest(_root["plat" + x].target) && (locked == true)) {
times = 0;
vector_x = 0;
this._y = _root["plat" + x]._y + 16;
this._x = _root["plat" + x]._x;
this._visible = false;
if (play_var == 0) {
_root["plat" + x].gotoAndPlay(12);
play_var = 1;
}
if (Key.isDown(32)) {
x = 1;
while (x < 11) {
if (this.hitTest(_root["plat" + x].target)) {
this._visible = true;
_root["plat" + x].gotoAndPlay(2);
}
x++;
}
times = -2.4;
acceleration_y = times * gravity;
vector_y = acceleration_y + gravity;
}
if (!this.hitTest(_root["plat" + _global.spot].target)) {
locked = false;
}
}
x++;
}
this._x = this._x + vector_x;
this._y = this._y + vector_y;
}
Instance of Symbol 258 MovieClip in Frame 574
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_global.life = _global.life - 1;
_root.life.nextFrame();
if (_global.life == 0) {
_root.gameover._visible = true;
_root.gameover.gotoAndPlay(2);
}
x = 1;
while (x < 11) {
if (_global.spot == x) {
_global.gum = false;
_root.ball.vector_x = 0;
_root.ball.times = 0;
_root.ball.play_var = 0;
_root.ball.acceleration_y = 0;
_root.ball.gravity = 9.8;
_root["plat" + x].gotoAndStop(1);
_root.ball._y = _root["plat" + x]._y + 16;
_root.ball._x = _root["plat" + x]._x;
_root.ball.gotoAndStop(1);
}
x++;
}
}
}
Instance of Symbol 262 MovieClip "sp2" in Frame 574
onClipEvent (load) {
number = random(600) + 800;
timer_1 = getTimer();
depth = 0;
}
onClipEvent (enterFrame) {
if (_global.win == false) {
if ((getTimer() - timer_1) > number) {
_global.depth++;
_root.attachMovie("floating controller _r", "float" + _global.depth, _global.depth);
_root["float" + _global.depth]._y = this._y;
_root["float" + _global.depth]._x = this._x;
timer_1 = getTimer();
number = random(3000) + 2500;
}
}
}
Instance of Symbol 262 MovieClip "sp2" in Frame 574
onClipEvent (load) {
number = random(600) + 800;
timer_1 = getTimer();
depth = 0;
}
onClipEvent (enterFrame) {
if (_global.win == false) {
if ((getTimer() - timer_1) > number) {
_global.depth++;
_root.attachMovie("floating controller _r", "float" + _global.depth, _global.depth);
_root["float" + _global.depth]._y = this._y;
_root["float" + _global.depth]._x = this._x;
timer_1 = getTimer();
number = random(3000) + 2500;
}
}
}
Instance of Symbol 262 MovieClip "sp1" in Frame 574
onClipEvent (load) {
number = random(600) + 800;
timer_1 = getTimer();
depth = 0;
}
onClipEvent (enterFrame) {
if (_global.win == false) {
if ((getTimer() - timer_1) > number) {
_global.depth++;
_root.attachMovie("floating controller", "float" + _global.depth, _global.depth);
_root["float" + _global.depth]._y = this._y;
_root["float" + _global.depth]._x = this._x;
timer_1 = getTimer();
number = random(3000) + 2500;
}
}
}
Instance of Symbol 262 MovieClip "sp1" in Frame 574
onClipEvent (load) {
number = random(600) + 800;
timer_1 = getTimer();
depth = 0;
}
onClipEvent (enterFrame) {
if (_global.win == false) {
if ((getTimer() - timer_1) > number) {
_global.depth++;
_root.attachMovie("floating controller", "float" + _global.depth, _global.depth);
_root["float" + _global.depth]._y = this._y;
_root["float" + _global.depth]._x = this._x;
timer_1 = getTimer();
number = random(3000) + 2500;
}
}
}
Instance of Symbol 277 MovieClip in Frame 574
onClipEvent (enterFrame) {
if (_global.wind != 1) {
if (_global.time > 0) {
_global.time = _global.time - 100;
_root.time.text = _global.time / 1000;
}
}
if (_global.time <= 0) {
_root.gameover._visible = true;
_root.gameover.gotoAndPlay(2);
}
}
Instance of Symbol 283 MovieClip in Frame 574
onClipEvent (enterFrame) {
if (_global.attacks == 2) {
this.gotoAndStop(1);
}
if (_global.attacks == 1) {
this.gotoAndStop(2);
}
if (_global.attacks == 0) {
this.gotoAndStop(3);
}
}
Frame 575
_global.win = 0;
Frame 639
mult = 1;
_global.depth = 0;
_global.gum = false;
_global.time = 100000 /* 0x0186A0 */;
_global.spot = 1;
_global.win = 0;
gameover._visible = false;
win._visible = false;
x = 3;
while (x < 11) {
_root["plat" + x]._y = _root["plat" + x]._y - (100 * mult);
mult++;
x++;
}
_root.attachMovie("gumcontroller2", "gum1", 10000);
_root.gum1._x = 0;
_root.gum1._y = 0;
_root.gum1.fish._x = 0;
_root.gum1.fish._y = 125;
_root.attachMovie("gumcontroller2", "gum2", 10001);
_root.gum2._x = 0;
_root.gum2._y = 0;
_root.gum2.gum._x = 50;
_root.gum2.gum._y = 275;
_root.attachMovie("gumcontroller2", "gum3", 10002);
_root.gum3._x = 0;
_root.gum3._y = 0;
_root.gum3.fish._x = 100;
_root.gum3.fish._y = 125;
_root.attachMovie("gumcontroller2", "gum4", 10003);
_root.gum4._x = 0;
_root.gum4._y = 0;
_root.gum4.fish._x = 150;
_root.gum4.fish._y = 275;
_root.attachMovie("gumcontroller2", "gum5", 10004);
_root.gum5._x = 0;
_root.gum5._y = 0;
_root.gum5.fish._x = 200;
_root.gum5.fish._y = 125;
_root.attachMovie("gumcontroller2", "gum6", 10005);
_root.gum6._x = 0;
_root.gum6._y = 0;
_root.gum6.fish._x = 250;
_root.gum6.fish._y = 275;
stop();
Instance of Symbol 220 MovieClip "plat1" in Frame 639
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (0.5 * flop);
}
}
Instance of Symbol 220 MovieClip "plat2" in Frame 639
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (4 * flop);
}
}
Instance of Symbol 220 MovieClip "plat3" in Frame 639
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (1 * flop);
}
}
Instance of Symbol 220 MovieClip "plat4" in Frame 639
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (4 * flop);
}
}
Instance of Symbol 220 MovieClip "plat5" in Frame 639
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (6 * flop);
}
}
Instance of Symbol 220 MovieClip "plat6" in Frame 639
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (1 * flop);
}
}
Instance of Symbol 220 MovieClip "plat7" in Frame 639
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (2 * flop);
}
}
Instance of Symbol 220 MovieClip "plat8" in Frame 639
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (1 * flop);
}
}
Instance of Symbol 220 MovieClip "plat9" in Frame 639
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (5 * flop);
}
}
Instance of Symbol 220 MovieClip "plat10" in Frame 639
onClipEvent (load) {
flop = 1;
bob = 0;
flip = 1;
}
onClipEvent (enterFrame) {
if (this._y > -75) {
if (((this._x - (this._width / 2)) <= 0) && (flop == -1)) {
flop = 1;
}
if (((this._x + (this._width / 2)) >= 400) && (flop == 1)) {
flop = -1;
}
if (bob == 4) {
flip = -1;
}
if (bob == -4) {
flip = 1;
}
bob = bob + (1 * flip);
this._y = this._y + bob;
this._x = this._x + (3 * flop);
}
}
Instance of Symbol 219 MovieClip "ball" in Frame 639
onClipEvent (load) {
function win() {
_global.score = _global.score + 75;
_root.win._visible = true;
_root.win.gotoAndPlay(2);
}
vector_x = this._x;
acceleration_y = 0;
vector_y = 0;
vector_x = 0;
times = 0;
locked = false;
gravity = 9.8;
play_var = 0;
}
onClipEvent (enterFrame) {
if ((this._x - (this._width / 2)) <= 0) {
vector_x = 6;
}
if ((this._x + (this._width / 2)) >= 400) {
vector_x = -6;
}
times = times + 0.06;
acceleration_y = times * gravity;
vector_y = acceleration_y + gravity;
x = 1;
while (x < 11) {
if ((this.hitTest(_root["plat" + x].target) && (vector_y > 0)) && (_global.gum == false)) {
if (_root["plat" + x] == _root.plat1) {
if (_root.plat1._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat1._y + 16;
this._x = _root.plat1._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 1) {
_global.spot = 1;
_global.score = _global.score + 0;
_root.plat1.gotoAndStop(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat2) {
if (_root.plat2._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat2._y + 16;
this._x = _root.plat2._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 2) {
_global.spot = 2;
_global.score = _global.score + 75;
_root.plat2.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat3) {
if (_root.plat3._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat3._y + 16;
this._x = _root.plat3._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 3) {
_global.spot = 3;
_global.score = _global.score + 75;
_root.plat3.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat4) {
if (_root.plat4._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat4._y + 16;
this._x = _root.plat4._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 4) {
_global.spot = 4;
_global.score = _global.score + 75;
_root.plat4.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat5) {
if (_root.plat5._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat5._y + 16;
this._x = _root.plat5._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 5) {
_global.spot = 5;
_global.score = _global.score + 75;
_root.plat5.gotoAndPlay(12);
_root.score.text = _global.score;
locked = true;
_global.win = true;
win();
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat6) {
if (_root.plat6._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat6._y + 16;
this._x = _root.plat6._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 6) {
_global.spot = 6;
_global.score = _global.score + 75;
_root.plat6.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat7) {
if (_root.plat7._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat7._y + 16;
this._x = _root.plat7._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 7) {
_global.spot = 7;
_global.score = _global.score + 75;
_root.plat7.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat8) {
if (_root.plat8._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat8._y + 16;
this._x = _root.plat8._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 8) {
_global.spot = 8;
_global.score = _global.score + 75;
_root.plat8.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
if (_root["plat" + x] == _root.plat9) {
if (_root.plat9._y <= 275) {
x = 1;
while (x < 11) {
locked = true;
this._y = _root.plat9._y + 16;
this._x = _root.plat9._x;
this._visible = false;
_root["plat" + x]._y = _root["plat" + x]._y + 5;
_root.background._y = _root.background._y + 0.5;
if (_global.spot != 9) {
_global.spot = 9;
_global.score = _global.score + 75;
_root.plat9.gotoAndPlay(12);
_root.score.text = _global.score;
}
x++;
}
}
}
locked = true;
}
if ((this.hitTest(_root.plat10.target) && (_global.win == false)) && (_global.gum == false)) {
locked = true;
win();
_global.win = true;
trace("WTF");
}
if (this.hitTest(_root["plat" + x].target) && (locked == true)) {
times = 0;
vector_x = 0;
this._y = _root["plat" + x]._y + 16;
this._x = _root["plat" + x]._x;
this._visible = false;
if (play_var == 0) {
_root["plat" + x].gotoAndPlay(12);
play_var = 1;
}
if (Key.isDown(32)) {
x = 1;
while (x < 11) {
if (this.hitTest(_root["plat" + x].target)) {
this._visible = true;
_root["plat" + x].gotoAndPlay(2);
}
x++;
}
times = -2.4;
acceleration_y = times * gravity;
vector_y = acceleration_y + gravity;
}
if (!this.hitTest(_root["plat" + _global.spot].target)) {
locked = false;
}
}
x++;
}
this._x = this._x + vector_x;
this._y = this._y + vector_y;
}
Instance of Symbol 258 MovieClip in Frame 639
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_global.life = _global.life - 1;
_root.life.nextFrame();
if (_global.life == 0) {
_root.gameover._visible = true;
_root.gameover.gotoAndPlay(2);
}
x = 1;
while (x < 11) {
if (_global.spot == x) {
_global.gum = false;
_root.ball.vector_x = 0;
_root.ball.times = 0;
_root.ball.play_var = 0;
_root.ball.acceleration_y = 0;
_root.ball.gravity = 9.8;
_root["plat" + x].gotoAndStop(1);
_root.ball._y = _root["plat" + x]._y + 16;
_root.ball._x = _root["plat" + x]._x;
_root.ball.gotoAndStop(1);
}
x++;
}
}
}
Instance of Symbol 262 MovieClip "sp2" in Frame 639
onClipEvent (load) {
number = random(600) + 800;
timer_1 = getTimer();
depth = 0;
}
onClipEvent (enterFrame) {
if ((_global.win == false) && (_global.spot < 3)) {
if ((getTimer() - timer_1) > number) {
_global.depth++;
_root.attachMovie("floating controller _r", "float" + _global.depth, _global.depth);
_root["float" + _global.depth]._y = this._y;
_root["float" + _global.depth]._x = this._x;
timer_1 = getTimer();
number = random(3000) + 2500;
}
}
}
Instance of Symbol 262 MovieClip "sp2" in Frame 639
onClipEvent (load) {
number = random(600) + 800;
timer_1 = getTimer();
depth = 0;
}
onClipEvent (enterFrame) {
if ((_global.win == false) && (_global.spot < 3)) {
if (((getTimer() - timer_1) > number) && (_global.spot < 3)) {
_global.depth++;
_root.attachMovie("floating controller _r", "float" + _global.depth, _global.depth);
_root["float" + _global.depth]._y = this._y;
_root["float" + _global.depth]._x = this._x;
timer_1 = getTimer();
number = random(3000) + 2500;
}
}
}
Instance of Symbol 262 MovieClip "sp1" in Frame 639
onClipEvent (load) {
number = random(600) + 800;
timer_1 = getTimer();
depth = 0;
}
onClipEvent (enterFrame) {
if ((_global.win == false) && (_global.spot < 3)) {
if ((getTimer() - timer_1) > number) {
_global.depth++;
_root.attachMovie("floating controller", "float" + _global.depth, _global.depth);
_root["float" + _global.depth]._y = this._y;
_root["float" + _global.depth]._x = this._x;
timer_1 = getTimer();
number = random(3000) + 2500;
}
}
}
Instance of Symbol 262 MovieClip "sp1" in Frame 639
onClipEvent (load) {
number = random(600) + 800;
timer_1 = getTimer();
depth = 0;
}
onClipEvent (enterFrame) {
if ((_global.win == false) && (_global.spot < 3)) {
if ((getTimer() - timer_1) > number) {
_global.depth++;
_root.attachMovie("floating controller", "float" + _global.depth, _global.depth);
_root["float" + _global.depth]._y = this._y;
_root["float" + _global.depth]._x = this._x;
timer_1 = getTimer();
number = random(3000) + 2500;
}
}
}
Instance of Symbol 277 MovieClip in Frame 639
onClipEvent (enterFrame) {
if (_global.wind != 1) {
if (_global.time > 0) {
_global.time = _global.time - 100;
_root.time.text = _global.time / 1000;
}
}
if (_global.time <= 0) {
_root.gameover._visible = true;
_root.gameover.gotoAndPlay(2);
}
}
Instance of Symbol 283 MovieClip in Frame 639
onClipEvent (enterFrame) {
if (_global.attacks == 2) {
this.gotoAndStop(1);
}
if (_global.attacks == 1) {
this.gotoAndStop(2);
}
if (_global.attacks == 0) {
this.gotoAndStop(3);
}
}
Frame 683
_global.final = 0;
Frame 684
_global.final = _global.final + 85;
score.text = _global.final;
Frame 686
_global.final = _global.final + 85;
score.text = _global.final;
Frame 688
_global.final = _global.final + 85;
score.text = _global.final;
Frame 690
_global.final = _global.final + 85;
score.text = _global.final;
Frame 692
_global.final = _global.final + 85;
score.text = _global.final;
Frame 694
_global.final = _global.final + 85;
score.text = _global.final;
Frame 696
_global.final = _global.final + 85;
score.text = _global.final;
Frame 698
_global.final = _global.final + 85;
score.text = _global.final;
Frame 700
_global.final = _global.final + 85;
score.text = _global.final;
Frame 702
_global.final = _global.final + 85;
score.text = _global.final;
Frame 704
_global.final = _global.final + 85;
score.text = _global.final;
Frame 706
_global.final = _global.final + 85;
score.text = _global.final;
Frame 708
_global.final = _global.final + 85;
score.text = _global.final;
Frame 710
_global.final = _global.final + 85;
score.text = _global.final;
Frame 712
_global.final = _global.final + 85;
score.text = _global.final;
Frame 714
_global.final = _global.final + 85;
score.text = _global.final;
Frame 716
_global.final = _global.final + 85;
score.text = _global.final;
Frame 718
_global.final = _global.final + 85;
score.text = _global.final;
Frame 720
_global.final = _global.final + 85;
score.text = _global.final;
Frame 722
_global.final = _global.final + 85;
score.text = _global.final;
Frame 724
_global.final = _global.final + 85;
score.text = _global.final;
Frame 726
_global.final = _global.final + 85;
score.text = _global.final;
Frame 728
_global.final = _global.final + 85;
score.text = _global.final;
Frame 730
_global.final = _global.final + 85;
score.text = _global.final;
Frame 732
_global.final = _global.final + 85;
score.text = _global.final;
Frame 734
_global.final = _global.final + 85;
score.text = _global.final;
Frame 736
_global.final = _global.final + 85;
score.text = _global.final;
Frame 738
_global.final = _global.final + 85;
score.text = _global.final;
Frame 740
_global.final = _global.final + 85;
score.text = _global.final;
Frame 742
_global.final = _global.final + 85;
score.text = _global.final;
Frame 744
_global.final = _global.final + 85;
score.text = _global.final;
Frame 746
_global.final = _global.final + 85;
score.text = _global.final;
Frame 748
_global.final = _global.final + 85;
score.text = _global.final;
Frame 750
_global.final = _global.final + 85;
score.text = _global.final;
Frame 752
_global.final = _global.final + 85;
score.text = _global.final;
Frame 754
score.text = 3000;
stop();
Symbol 6 MovieClip Frame 1
hit0._visible = false;
hit1._visible = false;
hit2._visible = false;
hit3._visible = false;
hit4._visible = false;
hit5._visible = false;
hit6._visible = false;
hit7._visible = false;
hit8._visible = false;
stop();
Symbol 6 MovieClip Frame 25
_parent.float.hit = false;
gotoAndPlay (1);
Symbol 6 MovieClip Frame 50
_parent.float.hit = false;
gotoAndPlay (1);
Instance of Symbol 6 MovieClip "float" in Symbol 7 MovieClip [floating controller _r] Frame 1
onClipEvent (load) {
vector_x = 4;
vector_y = 0.015;
}
onClipEvent (enterFrame) {
x = 0;
while (x < 4) {
if (this["hit" + x].hitTest(_root.ball.hit)) {
if (_root.ball.locked != true) {
_root.ball.acceleration_y = 4;
_root.ball.times = 0;
_root.ball.vector_x = -6;
_root.ball._x = _root.ball._x - 12;
_root.ball.vector_y = 2;
this.gotoAndPlay("hitleft");
vector_x = 5;
vector_y = 0.05;
}
}
x++;
}
x = 5;
while (x < 9) {
if (this["hit" + x].hitTest(_root.ball.hit)) {
if (_root.ball.locked != true) {
_root.ball.acceleration_y = 4;
_root.ball.times = 0;
_root.ball.vector_x = 6;
_root.ball._x = _root.ball._x + 12;
_root.ball.vector_y = 2;
this.gotoAndPlay("hitright");
vector_x = -5;
vector_y = 0.05;
}
}
x++;
}
if (this.hit4.hitTest(_root.ball.hit)) {
if (_root.ball.locked != true) {
_root.ball.acceleration_y = 4;
_root.ball.times = 0;
_root.ball._y = _root.ball._y + 12;
_root.ball.vector_y = 2;
this.gotoAndPlay("hitright");
vector_y = 0.05;
}
}
if (((this.hitTest(_root.blue1) || (this.hitTest(_root.blue2))) || (_global.win == true)) || (_root.gameover._visible == true)) {
_parent.unloadMovie();
}
this._y = this._y + vector_y;
this._x = this._x + vector_x;
}
Instance of Symbol 6 MovieClip "float" in Symbol 8 MovieClip [floating controller] Frame 1
onClipEvent (load) {
vector_x = -4;
vector_y = 0.015;
}
onClipEvent (enterFrame) {
x = 0;
while (x < 4) {
if (this["hit" + x].hitTest(_root.ball.hit)) {
if (_root.ball.locked != true) {
_root.ball.vector_x = -6;
_root.ball.acceleration_y = 4;
_root.ball.times = 0;
_root.ball._x = _root.ball._x - 12;
_root.ball.vector_y = 2;
this.gotoAndPlay("hitleft");
vector_x = 5;
vector_y = 0.05;
}
}
x++;
}
x = 5;
while (x < 9) {
if (this["hit" + x].hitTest(_root.ball.hit)) {
if (_root.ball.locked != true) {
_root.ball.vector_x = 6;
_root.ball.acceleration_y = 4;
_root.ball.times = 0;
_root.ball._x = _root.ball._x + 12;
_root.ball.vector_y = 2;
this.gotoAndPlay("hitright");
vector_x = -5;
vector_y = -2;
}
}
x++;
}
if (this.hit4.hitTest(_root.ball.hit)) {
if (_root.ball.locked != true) {
_root.ball._y = _root.ball._y + 12;
_root.ball.acceleration_y = 4;
_root.ball.times = 0;
_root.ball.vector_y = 2;
this.gotoAndPlay("hitright");
vector_y = 0.05;
}
}
if (((this.hitTest(_root.blue1) || (this.hitTest(_root.blue2))) || (_global.win == true)) || (_root.gameover._visible == true)) {
_parent.unloadMovie();
}
this._y = this._y + vector_y;
this._x = this._x + vector_x;
}
Symbol 42 MovieClip Frame 1
hit._visible = false;
hit._visible = false;
stop();
Symbol 42 MovieClip Frame 2
hit._visible = false;
Symbol 42 MovieClip Frame 46
hit._visible = false;
stop();
Symbol 42 MovieClip Frame 60
_parent.unloadMovie();
Instance of Symbol 42 MovieClip "fish" in Symbol 43 MovieClip [gumcontroller2] Frame 1
onClipEvent (load) {
v_x = 0;
v_y = 1;
timer_1 = getTimer();
}
onClipEvent (enterFrame) {
if (_global.spot >= 3) {
this._y = this._y + 2;
}
if ((this._y > 400) && (_global.spot < 3)) {
this._y = -120;
}
if (v_y != 1) {
v_y = v_y + 0.2;
if (v_y > 1) {
v_y = 1;
}
}
if (v_x > 0) {
v_x = v_x - 0.2;
if (v_x <= 0) {
v_x = 0;
}
}
if (v_x < 0) {
v_x = v_x + 0.2;
if (v_x >= 0) {
v_x = 0;
}
}
if ((_global.win == true) || (_root.gameover._visible == true)) {
_parent.unloadMovie();
}
if ((getTimer() - timer) >= 3000) {
if (this._x > (_root.ball._x + (_root.ball._width / 2))) {
this.gotoAndPlay(2);
v_y = v_y - 5;
v_x = v_x - 6;
timer = getTimer();
this._xscale = this._xscale * -1;
}
if (this._x < _root.ball._x) {
this.gotoAndPlay(2);
v_y = v_y - 5;
v_x = v_x + 6;
timer = getTimer();
this._xscale = this._xscale * -1;
}
}
if (_root.ball.locked == false) {
if (this.hit.hitTest(_root.ball.hit)) {
if ((_root.ball._x + 25) >= this._x) {
_global.gum = true;
_root.ball._y = _root.ball._y + 15;
_root.ball.vector_x = 6;
_root.ball.gotoAndPlay(3);
_parent.unloadMovie();
}
if ((_root.ball._x - this._x) < 0) {
_global.gum = true;
_root.ball._y = _root.ball._y + 15;
_root.ball.vector_x = -6;
_root.ball.gotoAndPlay(2);
_parent.unloadMovie();
}
}
}
this._x = this._x + v_x;
this._y = this._y + v_y;
}
Instance of Symbol 42 MovieClip "fish" in Symbol 44 MovieClip [gumcontroller] Frame 1
onClipEvent (load) {
v_x = 0;
v_y = 1;
timer_1 = getTimer();
}
onClipEvent (enterFrame) {
if (this._y > 400) {
this._y = -120;
}
if (v_y != 1) {
v_y = v_y + 0.2;
if (v_y > 1) {
v_y = 1;
}
}
if (v_x > 0) {
v_x = v_x - 0.2;
if (v_x <= 0) {
v_x = 0;
}
}
if (v_x < 0) {
v_x = v_x + 0.2;
if (v_x >= 0) {
v_x = 0;
}
}
if ((_global.win == true) || (_root.gameover._visible == true)) {
_parent.unloadMovie();
}
if ((getTimer() - timer) >= 3000) {
if (this._x > (_root.ball._x + (_root.ball._width / 2))) {
this.gotoAndPlay(2);
v_y = v_y - 5;
v_x = v_x - 6;
timer = getTimer();
this._xscale = this._xscale * -1;
}
if (this._x < _root.ball._x) {
this.gotoAndPlay(2);
v_y = v_y - 5;
v_x = v_x + 6;
timer = getTimer();
this._xscale = this._xscale * -1;
}
}
if (_root.ball.locked == false) {
if (this.hit.hitTest(_root.ball.hit)) {
if ((_root.ball._x + 25) >= this._x) {
_global.gum = true;
_root.ball._y = _root.ball._y + 15;
_root.ball.vector_x = 6;
_root.ball.gotoAndPlay(3);
_parent.unloadMovie();
}
if ((_root.ball._x - this._x) < 0) {
_global.gum = true;
_root.ball._y = _root.ball._y + 15;
_root.ball.vector_x = -6;
_root.ball.gotoAndPlay(2);
_parent.unloadMovie();
}
}
}
this._x = this._x + v_x;
this._y = this._y + v_y;
}
Symbol 49 MovieClip Frame 1
currentPlaying = false;
stop();
Symbol 49 MovieClip Frame 2
currentPlaying = true;
Symbol 49 MovieClip Frame 9
done = true;
stop();
Symbol 67 Button
on (release) {
getURL ("http://www.flashportal.com", "_blank");
}
Symbol 153 MovieClip Frame 1
cloud._visible = false;
chance = random(6);
if (chance == 4) {
cloud._visible = true;
}
Symbol 153 MovieClip Frame 60
gotoAndPlay (1);
Symbol 219 MovieClip Frame 1
stop();
hit._visible = false;
Symbol 219 MovieClip Frame 2
stop();
Symbol 219 MovieClip Frame 3
trace("wtf1");
stop();
Symbol 219 MovieClip Frame 4
play();
Symbol 219 MovieClip Frame 16
_global.attacks = _global.attacks - 1;
Symbol 219 MovieClip Frame 45
hit1._visible = false;
hit2._visible = false;
hit3._visible = false;
hit4._visible = false;
hit5._visible = false;
Instance of Symbol 197 MovieClip "hit1" in Symbol 219 MovieClip Frame 45
onClipEvent (load) {
this._visible = false;
hit_1 = false;
hit_2 = false;
hit_3 = false;
hit_4 = false;
hit_5 = false;
hit_6 = false;
}
onClipEvent (enterFrame) {
x = 1;
while (x < 7) {
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum1")) && (hit_1 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_1 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum2")) && (hit_2 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_2 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum3")) && (hit_3 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_3 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum4")) && (hit_4 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_4 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum5")) && (hit_5 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_5 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum6")) && (hit_6 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_6 = true;
}
x++;
}
}
Instance of Symbol 197 MovieClip "hit2" in Symbol 219 MovieClip Frame 45
onClipEvent (load) {
this._visible = false;
hit_1 = false;
hit_2 = false;
hit_3 = false;
hit_4 = false;
hit_5 = false;
hit_6 = false;
}
onClipEvent (enterFrame) {
x = 1;
while (x < 7) {
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum1")) && (hit_1 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_1 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum2")) && (hit_2 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_2 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum3")) && (hit_3 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_3 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum4")) && (hit_4 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_4 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum5")) && (hit_5 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_5 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum6")) && (hit_6 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_6 = true;
}
x++;
}
}
Instance of Symbol 197 MovieClip "hit3" in Symbol 219 MovieClip Frame 45
onClipEvent (load) {
this._visible = false;
hit_1 = false;
hit_2 = false;
hit_3 = false;
hit_4 = false;
hit_5 = false;
hit_6 = false;
}
onClipEvent (enterFrame) {
x = 1;
while (x < 7) {
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum1")) && (hit_1 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_1 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum2")) && (hit_2 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_2 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum3")) && (hit_3 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_3 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum4")) && (hit_4 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_4 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum5")) && (hit_5 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_5 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum6")) && (hit_6 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_6 = true;
}
x++;
}
}
Instance of Symbol 197 MovieClip "hit4" in Symbol 219 MovieClip Frame 45
onClipEvent (load) {
this._visible = false;
hit_1 = false;
hit_2 = false;
hit_3 = false;
hit_4 = false;
hit_5 = false;
hit_6 = false;
}
onClipEvent (enterFrame) {
x = 1;
while (x < 7) {
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum1")) && (hit_1 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_1 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum2")) && (hit_2 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_2 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum3")) && (hit_3 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_3 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum4")) && (hit_4 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_4 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum5")) && (hit_5 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_5 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum6")) && (hit_6 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_6 = true;
}
x++;
}
}
Instance of Symbol 197 MovieClip "hit5" in Symbol 219 MovieClip Frame 45
onClipEvent (load) {
this._visible = false;
hit_1 = false;
hit_2 = false;
hit_3 = false;
hit_4 = false;
hit_5 = false;
hit_6 = false;
}
onClipEvent (enterFrame) {
x = 1;
while (x < 7) {
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum1")) && (hit_1 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_1 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum2")) && (hit_2 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_2 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum3")) && (hit_3 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_3 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum4")) && (hit_4 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_4 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum5")) && (hit_5 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_5 = true;
}
if ((this.hitTest(_root["gum" + x]) && (("gum" + x) == "gum6")) && (hit_6 == false)) {
_root["gum" + x].fish.gotoAndPlay(47);
hit_6 = true;
}
x++;
}
}
Symbol 219 MovieClip Frame 98
_parent.gotoAndPlay(12);
gotoAndPlay (1);
Symbol 220 MovieClip Frame 1
stop();
target._visible = false;
Symbol 220 MovieClip Frame 2
play();
Symbol 220 MovieClip Frame 11
stop();
Symbol 220 MovieClip Frame 12
target._visible = false;
stop();
Instance of Symbol 219 MovieClip "bot" in Symbol 220 MovieClip Frame 12
onClipEvent (enterFrame) {
if (Key.isDown(38) && (_global.attacks != 0)) {
_parent.gotoAndStop(14);
}
}
Symbol 220 MovieClip Frame 13
stop();
Symbol 220 MovieClip Frame 14
stop();
Instance of Symbol 219 MovieClip "bot" in Symbol 220 MovieClip Frame 14
onClipEvent (load) {
hit1 = 0;
hit2 = 0;
hit3 = 0;
hit4 = 0;
hit5 = 0;
hit6 = 0;
this.gotoAndPlay(4);
}
Symbol 224 Button
on (press) {
_root.startGameButton.enabled = false;
_root.instructionsButton.enabled = false;
_root.darkrealmstudiosButton.enabled = false;
_root.flashportalButton.enabled = false;
_root.inst._visible = true;
}
Symbol 229 Button
on (press) {
gotoAndPlay (315);
}
Symbol 232 Button
on (release) {
getURL ("http://www.flashportal.com", "_blank");
}
Symbol 235 Button
on (release) {
getURL ("http://www.darkrealmstudios.com", "_blank");
}
Symbol 245 Button
on (press) {
_root.startGameButton.enabled = true;
_root.instructionsButton.enabled = true;
_root.darkrealmstudiosButton.enabled = true;
_root.flashportalButton.enabled = true;
_root.inst._visible = false;
}
Symbol 256 MovieClip Frame 1
cloud._visible = false;
chance = random(6);
if (chance == 4) {
cloud._visible = true;
}
Symbol 272 MovieClip Frame 1
if (_global.life == 7) {
gotoAndPlay (2);
}
if (_global.life == 6) {
gotoAndPlay (3);
}
if (_global.life == 5) {
gotoAndPlay (4);
}
if (_global.life == 4) {
gotoAndPlay (5);
}
if (_global.life == 3) {
gotoAndPlay (6);
}
if (_global.life == 2) {
gotoAndPlay (7);
}
if (_global.life == 1) {
gotoAndPlay (8);
}
stop();
Symbol 283 MovieClip Frame 1
stop();
Symbol 288 Button
on (press) {
_root.gotoAndPlay("begin");
}
Symbol 297 MovieClip Frame 1
stop();
Symbol 297 MovieClip Frame 2
final.text = _global.score;
stopAllSounds();
Symbol 297 MovieClip Frame 251
Symbol 303 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 2
score.text = _global.score;
stopAllSounds();
Symbol 303 MovieClip Frame 89
score.text = _global.score;
stopAllSounds();
Symbol 303 MovieClip Frame 90
_root.gotoAndPlay("part2");
Symbol 310 MovieClip Frame 1
cloud._visible = false;
chance = random(6);
if (chance == 4) {
cloud._visible = true;
}
Symbol 315 MovieClip Frame 1
stop();
Symbol 315 MovieClip Frame 2
score.text = _global.score;
stopAllSounds();
Symbol 315 MovieClip Frame 90
_root.gotoAndPlay("Part3");
Symbol 321 MovieClip Frame 1
cloud._visible = false;
chance = random(6);
if (chance == 4) {
cloud._visible = true;
}
Symbol 326 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 2
score.text = _global.score;
stopAllSounds();
Symbol 326 MovieClip Frame 90
_root.gotoAndPlay("Part4");
Symbol 332 MovieClip Frame 1
cloud._visible = false;
chance = random(6);
if (chance == 4) {
cloud._visible = true;
}
Symbol 337 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 2
score.text = _global.score;
stopAllSounds();
Symbol 337 MovieClip Frame 90
_root.gotoAndPlay("Part5");
Symbol 344 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 2
score.text = _global.score;
stopAllSounds();
Symbol 344 MovieClip Frame 90
_root.gotoAndPlay("end");
Symbol 353 Button
on (press) {
gotoAndPlay ("begin");
}