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 76 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;
back = 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);
_root.ctrl.gotoAndPlay("sound");
this.removeMovieClip();
}
}
}
i++;
}
}
}
onClipEvent (enterFrame) {
if (this._name != "bottle") {
if (this.hitTest(_root.snake.head)) {
if (_root.snake.open == true) {
if (Math.abs(this._y - _root.snake._y) < 20) {
_root.snake.head.gotoAndPlay("hit");
_root.ctrl.gotoAndPlay("sound");
_root.snake.gotoAndPlay("sna4");
this.removeMovieClip();
}
}
}
if (this.hitTest(_root.snake.window)) {
if (_root.snake.open == false) {
if (Math.abs(this._y - _root.snake._y) < 15) {
reverse = true;
_root.snake.window.gotoAndPlay("close");
}
}
}
if (this.hitTest(_root.lar)) {
if (Math.abs(this._y - _root.lar._y) < 30) {
reverse = true;
_root.lar.shield.gotoAndPlay("go");
}
}
if (reverse) {
if (!back) {
this.bot.gotoAndPlay("go");
back = true;
}
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 94 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 97 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++;
}
}
bomgone = false;
boss = false;
over = false;
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.score >= 25) {
if (boss == false) {
over = true;
_root.gotoAndPlay("boss");
}
}
_root.final = Number(_root.score);
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 104 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();
}
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 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 10
_root.ctrl.over = true;
numShroom = 4;
_root.ctrl.begin();
i = 1;
while (numShroom >= i) {
["shr" + i].removeMovieClip;
i++;
}
_root.ctrl.boss = true;
Frame 43
stop();
Instance of Symbol 146 MovieClip "snake" in Frame 43
onClipEvent (load) {
boms = 1;
bom2Counter = 1;
open = false;
move = true;
scale = 8;
up = true;
}
onClipEvent (enterFrame) {
if (190 >= this._y) {
up = false;
}
if (this._y >= 261) {
up = true;
}
if (move) {
if (up) {
this._xscale = this._xscale - scale;
this._yscale = this._yscale - scale;
this._y = this._y - (_root.speeder.movieSpeed / 2);
}
if (!up) {
this._xscale = this._xscale + scale;
this._yscale = this._yscale + scale;
this._y = this._y + (_root.speeder.movieSpeed / 2);
}
}
if (!open) {
if (_root.ctrl.bomgone == false) {
timer++;
bom2Counter++;
if (timer >= 25) {
boms++;
this.gotoAndPlay("sna2");
timer = 0;
_root.bom2.duplicateMovieClip("bom2" + bom2Counter, bom2Counter + 5000);
}
}
if (boms >= 5) {
this.gotoAndStop("sna3");
this.window.gotoAndPlay("open");
boms = 0;
}
}
}
Instance of Symbol 147 MovieClip "bom2" in Frame 43
onClipEvent (load) {
function bomGo() {
this._x = _root.snake._x;
this._y = _root.snake._y + 30;
this._yscale = _root.snake._yscale / 1.4;
this._xscale = _root.snake._xscale / 1.4;
this.visible = false;
}
bomGo();
}
onClipEvent (enterFrame) {
if (_root.ctrl.bomgone == true) {
this.removeMovieClip;
}
if (-20 >= this._x) {
this.removeMovieClip;
}
if (_root.snake.move == true) {
this._x = this._x - (_root.bg.bgSpeed * 3);
}
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;
}
}
}
}
Frame 44
stop();
stopAllSounds();
_root.ctrl.over = true;
numShroom = 4;
_root.ctrl.bomgone = true;
i = 1;
while (numShroom >= i) {
["shr" + i].removeMovieClip;
i++;
}
Instance of Symbol 151 MovieClip in Frame 44
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
i = 1;
while (30 >= i) {
["bom2" + i].removeMovieClip;
i++;
}
}
Instance of Symbol 159 MovieClip "rockets" in Frame 45
onClipEvent (load) {
if (this._name == "rockets") {
this._visible = false;
}
this._y = 264;
this._x = _root.speeder2._x;
}
Instance of Symbol 166 MovieClip "snowman" in Frame 45
onClipEvent (load) {
function reset() {
side = 3;
scale = 1;
height = 4;
this._xscale = scale;
this._yscale = scale;
this._y = 180;
abcNumber = random(3) + 1;
if (abcNumber == 1) {
this._x = 275;
} else if (abcNumber == 2) {
this._x = 150;
} else if (abcNumber == 3) {
this._x = 400;
}
}
reset();
}
onClipEvent (enterFrame) {
if (this._y >= 500) {
this.removeMovieClip;
}
if (abcNumber == 3) {
this._x = this._x + side;
}
if (abcNumber == 2) {
this._x = this._x - side;
}
if (this._y >= 275) {
height = height + 2;
scale++;
}
scale = scale + 5;
this._xscale = scale;
this._yscale = scale;
this._y = this._y + height;
}
Instance of Symbol 168 MovieClip "ctrl2" in Frame 45
onClipEvent (load) {
function rock() {
_root.rockets.duplicateMovieClip("rockets" + rocketCounter, rocketCounter++);
}
this._visible = false;
timer = 1;
snowmanCounter = 4000;
rocketCounter = 7000;
inc = 30;
}
onClipEvent (enterFrame) {
if (10 >= inc) {
inc = 10;
}
timer++;
if (timer >= inc) {
_root.snowman.duplicateMovieClip("snowman" + snowmanCounter, snowmanCounter--);
timer = 0;
inc--;
}
}
Instance of Symbol 181 MovieClip "speeder2" in Frame 45
onClipEvent (load) {
blowable = true;
go = true;
moveSpeed = 25;
this.swapDepths(5000);
}
onClipEvent (enterFrame) {
if (100 >= this._x) {
this._x = 100;
}
if (this._x >= 450) {
this._x = 450;
}
if (blowable) {
if (Key.isDown(Key.CONTROL)) {
if (go) {
this.guns.gotoAndPlay("shoot");
}
}
if (Key.isDown(Key.LEFT)) {
this.gotoAndStop("left");
this._x = this._x - moveSpeed;
} else if (Key.isDown(Key.RIGHT)) {
this.gotoAndStop("right");
this._x = this._x + moveSpeed;
} else {
this.gotoAndStop("med");
}
}
}
Instance of Symbol 184 MovieClip in Frame 45
onClipEvent (load) {
tarSpeed = 5;
right = true;
}
onClipEvent (enterFrame) {
if (this._x >= 440) {
right = false;
}
if (90 >= this._x) {
right = true;
}
if (!right) {
this._rotation = -30;
this._x = this._x - tarSpeed;
}
if (right) {
this._rotation = 30;
this._x = this._x + tarSpeed;
}
}
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 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 2
play();
Symbol 75 MovieClip Frame 3
gotoAndPlay (2);
Symbol 94 MovieClip Frame 1
_root.ready.gotoAndPlay("ready");
this.blowable = false;
Symbol 94 MovieClip Frame 12
this.blowable = true;
Symbol 94 MovieClip Frame 13
stop();
Symbol 94 MovieClip Frame 14
stop();
Symbol 94 MovieClip Frame 15
stop();
Symbol 94 MovieClip Frame 16
play();
this.blowable = false;
Symbol 94 MovieClip Frame 18
_root.ctrl.begin();
Symbol 94 MovieClip Frame 19
_root.lives = Number(_root.lives - 1);
_root.live.gotoAndPlay("go");
if (_root.lives == 0) {
_root.ctrl.over = true;
}
Symbol 94 MovieClip Frame 31
if (_root.ctrl.over == true) {
_root.gotoAndStop("gameOver");
}
Symbol 94 MovieClip Frame 33
restart();
Symbol 97 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 2
play();
Symbol 97 MovieClip Frame 4
gotoAndStop (1);
Symbol 104 MovieClip Frame 1
hitable = true;
Symbol 104 MovieClip Frame 15
gotoAndPlay (1);
Symbol 104 MovieClip Frame 16
this.hitable = false;
Symbol 104 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 132 MovieClip Frame 22
Symbol 132 MovieClip Frame 50
gotoAndPlay (1);
Symbol 132 MovieClip Frame 51
Symbol 132 MovieClip Frame 53
_root.life.nextFrame();
Symbol 132 MovieClip Frame 55
gotoAndPlay (1);
Symbol 134 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 9
gotoAndStop (1);
Symbol 134 MovieClip Frame 34
_root.snake.open = true;
Symbol 134 MovieClip Frame 92
_root.snake.gotoAndStop("sna1");
gotoAndStop (1);
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 2
stop();
Symbol 142 MovieClip Frame 3
stop();
Symbol 142 MovieClip Frame 4
stop();
Symbol 146 MovieClip Frame 1
stop();
open = false;
move = true;
Symbol 146 MovieClip Frame 2
move = false;
Symbol 146 MovieClip Frame 6
gotoAndStop (1);
Symbol 146 MovieClip Frame 7
stop();
open = true;
move = true;
Symbol 147 MovieClip Frame 1
bomhit = true;
Instance of Symbol 63 MovieClip "bom" in Symbol 147 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 147 MovieClip Frame 12
gotoAndPlay (1);
Instance of Symbol 107 MovieClip "bom" in Symbol 147 MovieClip Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.speeder)) {
if (_root.speeder.blowable == true) {
_root.speeder.gotoAndPlay("blow");
_root.ctrl.begin();
}
}
}
Symbol 147 MovieClip Frame 13
bomhit = false;
Symbol 147 MovieClip Frame 18
bomStart();
Symbol 149 Button
on (release) {
gotoAndStop (5);
_root.lives = Number(3);
_root.score = Number(0);
}
Symbol 159 MovieClip Frame 8
stop();
Symbol 166 MovieClip Frame 1
stop();
Instance of Symbol 161 MovieClip "sha2" in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.speeder2.sha1)) {
_root.lives = Number(_root.lives - 1);
_root.live.gotoAndPlay("go");
_parent.gotoAndPlay("blow");
_root.speeder2.blowable = false;
_root.speeder2.gotoAndPlay("blow");
}
}
Symbol 166 MovieClip Frame 10
stop();
Symbol 174 MovieClip Frame 1
stop();
_root.speeder2.go = true;
Symbol 174 MovieClip Frame 2
_root.speeder2.go = false;
Symbol 174 MovieClip Frame 4
_root.ctrl2.rock();
Symbol 174 MovieClip Frame 7
gotoAndStop (1);
Symbol 176 MovieClip Frame 1
stop();
_root.speeder2.go = true;
Symbol 176 MovieClip Frame 2
_root.speeder2.go = false;
Symbol 176 MovieClip Frame 4
_root.ctrl2.rock();
Symbol 176 MovieClip Frame 7
gotoAndStop (1);
Symbol 181 MovieClip Frame 1
stop();
blowable = true;
Symbol 181 MovieClip Frame 2
stop();
Symbol 181 MovieClip Frame 3
stop();
Symbol 181 MovieClip Frame 4
this.blowable = false;
Symbol 181 MovieClip Frame 10
gotoAndStop (1);