Frame 1
ifFrameLoaded (3) {
gotoAndStop (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
stop();
numShroom = 4;
i = 1;
while (numShroom >= i) {
shr.duplicateMovieClip("shr" + i, i + 1000);
i++;
}
Frame 4
stop();
Instance of Symbol 63 MovieClip "bom" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.speeder)) {
if (Math.abs(_root.bom._y - _root.speeder._y) < 20) {
contact = true;
}
if (contact) {
if (_root.speeder.blowable == true) {
_root.speeder.gotoAndPlay("blow");
_root.speeder.blowable = false;
_root.ctrl.begin();
}
}
}
}
Frame 6
stop();
numShroom = 4;
i = 1;
while (numShroom >= i) {
shr.duplicateMovieClip("shr" + i, i + 1000);
i++;
}
Instance of Symbol 71 MovieClip "bg" in Frame 6
onClipEvent (load) {
bgSpeed = 10;
}
onClipEvent (enterFrame) {
_root.bg._x = _root.bg._x - bgSpeed;
if (-550 >= _root.bg._x) {
_root.bg._x = 550;
}
}
Instance of Symbol 72 MovieClip "bg2" in Frame 6
onClipEvent (load) {
bgSpeed = 10;
}
onClipEvent (enterFrame) {
_root.bg2._x = _root.bg2._x - bgSpeed;
if (-550 >= _root.bg2._x) {
_root.bg2._x = 550;
}
}
Instance of Symbol 75 MovieClip "bottle" in Frame 6
onClipEvent (load) {
bottleMoveSpeed = 27;
this._xscale = _root.speeder._xscale / 2;
this._yscale = _root.speeder._yscale / 2;
this._y = _root.speeder._y;
this._x = _root.speeder._x + 20;
reverse = false;
}
onClipEvent (enterFrame) {
if (this._name != "bottle") {
if (reverse == false) {
this._x = this._x + bottleMoveSpeed;
}
if (600 < this._x) {
this.removeMovieClip();
}
i = 1;
while (_root.numShroom >= i) {
if (this.hitTest(_root["shr" + i])) {
if (Math.abs(this._y - _root["shr" + i]._y) < 20) {
hit = true;
}
if (hit) {
if (_root["shr" + i].hitable == true) {
_root["shr" + i].gotoAndPlay("explode");
_root.score = Number(_root.score + 20);
this.removeMovieClip();
}
}
}
i++;
}
}
}
onClipEvent (enterFrame) {
if (this._name != "bottle") {
if (this.hitTest(_root.lar)) {
if (Math.abs(this._y - _root.lar._y) < 30) {
reverse = true;
_root.lar.shield.gotoAndPlay("go");
}
}
if (reverse) {
this._x = this._x - 30;
if (this.hitTest(_root.speeder)) {
if (Math.abs(this._y - _root.speeder._y) < 10) {
contact = true;
}
if (contact) {
if (_root.speeder.blowable == true) {
_root.speeder.gotoAndPlay("blow");
_root.speeder.blowable = false;
_root.ctrl.begin();
}
}
}
}
}
}
Instance of Symbol 93 MovieClip "speeder" in Frame 6
onClipEvent (load) {
function restart() {
this._y = 310;
this._x = 33;
movieSpeed = 17;
_root.bottle._visible = false;
bottleCounter = 1;
scale = 10;
this.gotoAndPlay("start");
armed = true;
contact = false;
this._xscale = 66;
this._yscale = 66;
}
restart();
}
onClipEvent (enterFrame) {
if (90 >= this._x) {
this._x = 90;
}
if (this._x >= 250) {
this._x = 250;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
this._x = this._x - movieSpeed;
} else if (Key.isDown(Key.RIGHT)) {
this._x = this._x + movieSpeed;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
this._xscale = this._xscale - scale;
this._yscale = this._yscale - scale;
this._y = this._y - movieSpeed;
} else if (Key.isDown(Key.DOWN)) {
this._xscale = this._xscale + scale;
this._yscale = this._yscale + scale;
this._y = this._y + movieSpeed;
}
}
onClipEvent (enterFrame) {
if (armed) {
if (Key.isDown(Key.CONTROL)) {
this.hood.gotoAndPlay("throw");
_root.bottle.duplicateMovieClip("bottle" + bottleCounter, bottleCounter + 10);
_root["bottle" + bottleCounter]._visible = true;
bottleCounter++;
armed = false;
}
}
if (200 >= this._y) {
this._y = 200;
}
if (this._y >= 310) {
this._y = 310;
}
if (16 >= this._xscale) {
this._xscale = 16;
}
if (16 >= this._yscale) {
this._yscale = 16;
}
if (this._xscale >= 66) {
this._xscale = 66;
}
if (this._yscale >= 66) {
this._yscale = 66;
}
}
onClipEvent (enterFrame) {
n = 1;
while (_root.numShroom >= n) {
if (this.hitTest(_root["shr" + n])) {
if (Math.abs(this._y - _root["shr" + n]._y) < 15) {
contact = true;
}
if (contact) {
if (_root["shr" + n].hitable == true) {
this.gotoAndPlay("blow");
_root["shr" + n].hitable = false;
}
}
}
n++;
}
}
Instance of Symbol 95 MovieClip "ctrl" in Frame 6
onClipEvent (load) {
function begin() {
enemyCounter = 0;
l = 1;
while (_root.numShroom >= l) {
_root["shr" + l].gotoAndPlay("explode");
_root.lar.gotoAndPlay("larFade");
_root.dol.gotoAndPlay("dolReset");
_root.bom.gotoAndPlay("bomBlow");
l++;
}
}
over = false;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.final = Number(_root.score);
enemyCounter++;
if (enemyCounter == 10) {
_root.numShroom++;
enemyCounter = 0;
}
if (_root.speeder.blowable == true) {
if (Key.isDown(Key.UP)) {
_root.speeder.gotoAndStop("up");
} else if (Key.isDown(Key.DOWN)) {
_root.speeder.gotoAndStop("down");
} else {
_root.speeder.gotoAndStop("med");
}
}
}
Instance of Symbol 103 MovieClip "shr" in Frame 6
onClipEvent (load) {
function reset() {
if (_root.ctrl.over == false) {
hitable = true;
this._x = random(200) + 800;
this.gotoAndPlay(1);
abcNumber = random(3) + 1;
if (abcNumber == 3) {
this._y = 195;
this._xscale = 20;
this._yscale = 20;
} else if (abcNumber == 2) {
this._y = 240;
this._xscale = 46;
this._yscale = 46;
} else if (abcNumber == 1) {
this._y = 300;
this._xscale = 76;
this._yscale = 76;
} else {
this.removeMovieClip;
}
}
}
n = 1;
timer = 1;
if (this._name == "shr") {
this._visible = false;
}
reset();
}
onClipEvent (enterFrame) {
timer++;
if (timer == 75) {
n++;
timer = 0;
}
if (this._name != "shr") {
if (-90 >= this._x) {
reset();
}
if (this._y == 300) {
this._x = this._x - (12 + n);
}
if (this._y == 240) {
this._x = this._x - (10 + n);
}
if (this._y == 195) {
this._x = this._x - (8 + n);
}
}
}
Instance of Symbol 108 MovieClip "bom" in Frame 6
onClipEvent (load) {
function bomStart() {
this._x = 650;
this._yscale = 70;
this._xscale = 70;
abcNumber = random(3) + 1;
if (abcNumber == 3) {
this._y = 195;
this._xscale = 20;
this._yscale = 20;
} else if (abcNumber == 2) {
this._y = 240;
this._xscale = 36;
this._yscale = 36;
} else if (abcNumber == 1) {
this._y = 300;
this._xscale = 70;
this._yscale = 70;
}
bomhit = false;
timer = 0;
scroll = false;
}
bomStart();
}
onClipEvent (enterFrame) {
timer++;
if (timer >= 70) {
scroll = true;
if (scroll) {
this._x = this._x - (_root.bg.bgSpeed * 3);
if (-20 >= this._x) {
bomStart();
}
}
}
}
Instance of Symbol 109 MovieClip "lar" in Frame 6
onClipEvent (load) {
function larStart() {
this._x = 650;
this._yscale = 75;
this._xscale = 75;
abcNumber = random(3) + 1;
if (abcNumber == 3) {
this._y = 200;
this._xscale = 20;
this._yscale = 20;
} else if (abcNumber == 2) {
this._y = 255;
this._xscale = 42;
this._yscale = 42;
} else if (abcNumber == 1) {
this._y = 315;
this._xscale = 76;
this._yscale = 76;
}
timer = 0;
scroll = false;
}
larstart();
}
onClipEvent (enterFrame) {
timer++;
if (timer >= 25) {
scroll = true;
if (scroll) {
this._x = this._x - _root.bg.bgSpeed;
if (-20 >= this._x) {
larstart();
}
}
if (this.hitTest(_root.speeder)) {
if (Math.abs(this._y - _root.speeder._y) < 5) {
contact = true;
}
if (contact) {
if (_root.speeder.blowable == true) {
_root.speeder.gotoAndPlay("blow");
_root.speeder.blowable = false;
}
}
}
}
}
Instance of Symbol 119 MovieClip "dol" in Frame 6
onClipEvent (load) {
function dolStart() {
this._x = 650;
this._yscale = 90;
this._xscale = 90;
abcNumber = random(3) + 1;
if (abcNumber == 3) {
this._y = 195;
this._xscale = 20;
this._yscale = 20;
} else if (abcNumber == 2) {
this._y = 240;
this._xscale = 46;
this._yscale = 46;
} else if (abcNumber == 1) {
this._y = 300;
this._xscale = 90;
this._yscale = 90;
}
timer = 0;
scroll = false;
}
dolStart();
}
onClipEvent (enterFrame) {
timer++;
if (timer >= 50) {
scroll = true;
if (scroll) {
this._x = this._x - (_root.bg.bgSpeed * 2);
if (-20 >= this._x) {
dolStart();
}
}
if (this.hitTest(_root.speeder)) {
if (Math.abs(this._y - _root.speeder._y) < 10) {
contact = true;
}
if (contact) {
if (dolhit == true) {
this.gotoAndPlay("dolEnd");
_root.score = Number(_root.score + 50);
}
}
}
}
}
Frame 12
stop();
stopAllSounds();
_root.ctrl.over = true;
numShroom = 4;
i = 1;
while (numShroom >= i) {
["shr" + i].removeMovieClip;
i++;
}
Symbol 14 MovieClip Frame 1
stop();
Symbol 14 MovieClip Frame 7
_root.speeder.armed = true;
Symbol 17 Button
on (release) {
gotoAndStop (4);
}
Symbol 40 Button
on (release) {
gotoAndStop (5);
}
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 2
play();
Symbol 52 MovieClip Frame 85
gotoAndPlay (1);
Symbol 52 MovieClip Frame 91
this.larStart();
Symbol 69 Button
on (release) {
gotoAndStop (6);
}
Symbol 93 MovieClip Frame 1
_root.ready.gotoAndPlay("ready");
this.blowable = false;
Symbol 93 MovieClip Frame 12
this.blowable = true;
Symbol 93 MovieClip Frame 13
stop();
Symbol 93 MovieClip Frame 14
stop();
Symbol 93 MovieClip Frame 15
stop();
Symbol 93 MovieClip Frame 16
play();
this.blowable = false;
Symbol 93 MovieClip Frame 18
_root.ctrl.begin();
Symbol 93 MovieClip Frame 19
_root.lives = Number(_root.lives - 1);
_root.live.gotoAndPlay("go");
if (_root.lives == 0) {
_root.ctrl.over = true;
}
Symbol 93 MovieClip Frame 31
if (_root.ctrl.over == true) {
_root.gotoAndStop("gameOver");
}
Symbol 93 MovieClip Frame 33
restart();
Symbol 103 MovieClip Frame 1
hitable = true;
Symbol 103 MovieClip Frame 15
gotoAndPlay (1);
Symbol 103 MovieClip Frame 16
this.hitable = false;
Symbol 103 MovieClip Frame 19
stop();
if (_root.ctrl.over == false) {
reset();
}
Symbol 108 MovieClip Frame 1
bomhit = true;
Instance of Symbol 63 MovieClip "bom" in Symbol 108 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.speeder)) {
if (Math.abs(_root.bom._y - _root.speeder._y) < 20) {
contact = true;
}
if (contact) {
if (_root.speeder.blowable == true) {
_root.speeder.gotoAndPlay("blow");
_root.speeder.blowable = false;
_root.ctrl.begin();
}
}
}
}
Symbol 108 MovieClip Frame 12
gotoAndPlay (1);
Instance of Symbol 107 MovieClip "bom" in Symbol 108 MovieClip Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.speeder)) {
if (_root.speeder.blowable == true) {
_root.speeder.gotoAndPlay("blow");
_root.ctrl.begin();
}
}
}
Symbol 108 MovieClip Frame 13
bomhit = false;
Symbol 108 MovieClip Frame 18
bomStart();
Symbol 109 MovieClip Frame 85
gotoAndPlay (1);
Symbol 109 MovieClip Frame 91
this.larStart();
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 9
gotoAndStop (1);
Symbol 119 MovieClip Frame 1
play();
dolHit = true;
Symbol 119 MovieClip Frame 11
gotoAndPlay (1);
Symbol 119 MovieClip Frame 12
dolHit = false;
Symbol 119 MovieClip Frame 28
dolStart();
gotoAndPlay (1);
Symbol 119 MovieClip Frame 29
Symbol 119 MovieClip Frame 33
dolStart();
gotoAndPlay (1);
Symbol 121 MovieClip Frame 1
play();
Symbol 121 MovieClip Frame 11
stop();
Symbol 124 Button
on (release) {
gotoAndStop (5);
_root.lives = Number(3);
_root.score = Number(0);
}