Frame 1
if (false) {
}
Instance of Symbol 29 MovieClip "rotator" in Frame 4
onClipEvent (enterFrame) {
nowBytes = _root.getBytesLoaded();
allBytes = _root.getBytesTotal();
percent = nowBytes / allBytes;
counter = Math.round(percent * 100);
_root.percentage = counter + "%";
this._rotation = percent * 360;
rotate = this._rotation;
if (rotate < 1) {
rotate = 360 + rotate;
}
if (rotate >= 90) {
_root.quad2._visible = false;
}
if (rotate >= 180) {
_root.quad3._visible = false;
}
if (rotate >= 270) {
_root.quad4._visible = false;
_root.quad1._visible = true;
}
if (counter >= 0) {
_root.countdown = 10;
}
if (counter >= 10) {
_root.countdown = 9;
}
if (counter >= 20) {
_root.countdown = 8;
}
if (counter >= 30) {
_root.countdown = 7;
}
if (counter >= 40) {
_root.countdown = 6;
}
if (counter >= 50) {
_root.countdown = 5;
}
if (counter >= 60) {
_root.countdown = 4;
}
if (counter >= 70) {
_root.countdown = 3;
}
if (counter >= 80) {
_root.countdown = 2;
}
if (counter >= 90) {
_root.countdown = 1;
}
if (counter >= 100) {
_root.countdown = 0;
}
kbyteCounter = (allBytes - nowBytes) / 1024;
roundedCounter = Math.round(kbyteCounter * 1000);
_root.byteCount = (roundedCounter / 1000) + " Kbytes";
timeLoad = getTimer() / 1000;
loadRate = (nowBytes / 1024) / timeLoad;
timeCounter = kbyteCounter / loadRate;
minutes = Math.floor(timeCounter / 60);
seconds = Math.round(((timeCounter / 60) - minutes) * 60);
_root.timeCount = ((minutes + " min ") + seconds) + " sec";
if (percent == 1) {
_root.gotoAndPlay("pop");
}
}
Frame 4
if (false) {
}
Frame 5
stop();
_root.quad1._visible = false;
Frame 7
play();
Frame 13
_root.gotoAndStop("home");
Frame 14
mov = false;
score = 0;
vspeed = 5;
hspeed = 2;
gwidth = 700;
gheight = 500;
balloonlevel = 20;
stop();
Instance of Symbol 74 MovieClip "character" in Frame 14
onClipEvent (load) {
if (((String(_name) != "character") && (_root.pause == false)) && (_root.gameover == false)) {
timer = 0;
this._x = 9;
this._y = 450;
lastX = newX;
lastY = newY;
speed = 8;
shotCount = 300;
jumpheight = 15;
speedvert = 0;
gravity = 1;
}
}
onClipEvent (enterFrame) {
function jump() {
_root.jump = true;
speedvert = speedvert - jumpheight;
}
if (((String(_name) != "character") && (_root.pause == false)) && (_root.gameover == false)) {
if (_root.green == _root.clear) {
_root.green = 0;
_root.gotoAndPlay("levelclear");
}
if (this._x > (_root.gwidth - 20)) {
this._x = -10;
}
if (this._x < -10) {
this._x = _root.gwidth - 20;
}
if (((Key.isDown(39) && (_root.dead == false)) && (_root.duck == false)) && (_root.firing == false)) {
_root.mov = true;
_root.duck = false;
this.fred.gotoAndStop(1);
if (_root.jump == false) {
this.fred.fred.play();
}
this._x = this._x + speed;
} else if (((Key.isDown(37) && (_root.dead == false)) && (_root.duck == false)) && (_root.firing == false)) {
_root.mov = true;
_root.duck = false;
this.fred.gotoAndStop(2);
if (_root.jump == false) {
this.fred.fred.play();
}
this._x = this._x - speed;
}
if (((Key.isDown(40) && (_root.duck == false)) && (_root.dead == false)) && (_root.jump == false)) {
this.fred.gotoAndStop(1);
this.fred.fred.gotoAndPlay("duck");
_root.duck = true;
_root.mov = false;
}
if ((Key.isDown(39) && (_root.dead == false)) && (_root.duck == true)) {
this.fred.gotoAndStop(1);
this.fred.fred.play("rotate");
this._x = this._x + (speed * 2);
} else if ((Key.isDown(37) && (_root.dead == false)) && (_root.duck == true)) {
this.fred.gotoAndStop(2);
this.fred.fred.play("rotate");
this._x = this._x - (speed * 2);
}
if ((((Key.isDown(32) && (_root.shoot == false)) && (_root.dead == false)) && (_root.duck == false)) && (_root.jump == false)) {
this.fred.gotoAndStop(3);
shotCount++;
duplicateMovieClip (_root.shot, "shot" + shotCount, 1);
_root.shoot = true;
}
if (((Key.isDown(38) && (_root.duck == false)) && (_root.dead == false)) && (_root.jump == false)) {
this.fred.fred.gotoAndPlay("jump");
jump();
}
newY = this._y + speedvert;
this._y = newY;
if (newY >= 450) {
newY = 450;
speedvert = 0;
_root.jump = false;
} else {
speedvert = speedvert + gravity;
}
}
}
onClipEvent (keyUp) {
if (String(_name) != "character") {
if (Key.getCode() == 39) {
_root.mov = false;
}
if (Key.getCode() == 37) {
_root.mov = false;
}
if ((Key.getCode() == 40) && (_root.dead == false)) {
_root.duck = false;
this.fred.fred.gotoAndPlay("duckup");
}
}
}
Instance of Symbol 89 MovieClip "shot" in Frame 14
onClipEvent (load) {
if (String(_name) != "shot") {
x = _root.character1._x + 20;
y = _root.character1._y - 120;
_x = x;
_y = y;
if (_root.shoot == true) {
this.gotoAndPlay(2);
}
}
}
onClipEvent (enterFrame) {
if (String(_name) != "shot") {
point = new object();
point.x = this._x;
point.y = this._y;
_x = x;
_y = y;
j = 0;
while (j <= _root.large) {
if (this.shot.spiral.tail.hitTest(_root["ball" + j])) {
duplicateMovieClip (_root.powerup, "powerup" + _root.powercount, 700 + _root.powercount);
_root["powerup" + _root.powercount]._x = _root["ball" + j]._x + random(20);
_root["powerup" + _root.powercount]._y = _root["ball" + j]._y - random(20);
_root.powercount++;
duplicateMovieClip (_root.pop, "pop" + _root.popno, _root.popno);
_root["pop" + _root.popno]._x = _root["ball" + j]._x;
_root["pop" + _root.popno]._y = _root["ball" + j]._y;
_root.popno++;
_root.balloonlevel++;
_root.medno++;
_root.med++;
duplicateMovieClip (_root.medball, "medball" + _root.med, _root.balloonlevel);
_root["medball" + _root.med]._x = _root["ball" + j]._x + random(20);
_root["medball" + _root.med]._y = _root["ball" + j]._y - random(20);
_root.balloonlevel++;
_root.medno++;
_root.med++;
duplicateMovieClip (_root.medball, "medball" + _root.med, _root.balloonlevel);
_root["medball" + _root.med]._x = _root["ball" + j]._x + random(20);
_root["medball" + _root.med]._y = _root["ball" + j]._y - random(20);
_root.score = _root.score + _root.sclargeball;
_root.largeno--;
removeMovieClip(_root["ball" + j]);
removeMovieClip(this);
_root.shoot = false;
}
j++;
}
j = 0;
while (j <= _root.med) {
if (this.shot.spiral.tail.hitTest(_root["medball" + j])) {
duplicateMovieClip (_root.popmed, "popmed" + _root.popno, _root.popno);
_root["popmed" + _root.popno]._x = _root["medball" + j]._x;
_root["popmed" + _root.popno]._y = _root["medball" + j]._y;
_root.popno++;
_root.balloonlevel++;
_root.small++;
duplicateMovieClip (_root.smallball, "smallball" + _root.small, _root.balloonlevel);
_root["smallball" + _root.small]._x = _root["medball" + j]._x + random(20);
_root["smallball" + _root.small]._y = _root["medball" + j]._y - random(20);
_root.balloonlevel++;
_root.small++;
duplicateMovieClip (_root.smallball, "smallball" + _root.small, _root.balloonlevel);
_root["smallball" + _root.small]._x = _root["medball" + j]._x + random(20);
_root["smallball" + _root.small]._y = _root["medball" + j]._y - random(20);
_root.score = _root.score + _root.scmedball;
_root.medno--;
removeMovieClip(_root["medball" + j]);
removeMovieClip(this);
_root.shoot = false;
}
j++;
}
j = 0;
while (j <= _root.small) {
if (this.shot.spiral.tail.hitTest(_root["smallball" + j])) {
duplicateMovieClip (_root.popsmall, "popsmall" + _root.popno, _root.popno);
_root["popsmall" + _root.popno]._x = _root["smallball" + j]._x;
_root["popsmall" + _root.popno]._y = _root["smallball" + j]._y;
_root.popno++;
_root.green++;
_root.score = _root.score + _root.scsmallball;
removeMovieClip(_root["smallball" + j]);
removeMovieClip(this);
_root.shoot = false;
}
j++;
}
j = 0;
while (j <= 4) {
if (this.shot.spiral.tail.hitTest(_root["block" + j].bottom)) {
if (_root.weapon == "normal") {
_root.shoot = false;
_root["block" + j].nextFrame();
removeMovieClip(this);
} else if (_root.weapon == "claw") {
this.shot.stop();
}
}
j++;
}
}
}
Frame 15
stop();
Instance of Symbol 157 MovieClip "lif" in Frame 16
onClipEvent (load) {
if (String(_name) != "lif") {
_x = _root.lifex;
_y = 28;
_root.lifex = _root.lifex + 33;
}
}
Frame 16
if (false) {
}
Frame 18
gameover = false;
tens.gotoAndStop(7);
units.gotoAndStop(1);
weapon = "normal";
lives = 3;
lifeno = 800;
level = 1;
vspeed = 5;
hspeed = 2;
gwidth = 700;
gheight = 500;
shoot = false;
firing = false;
jump = false;
invincible = false;
restart = false;
pause = false;
mov = false;
duck = false;
powercount = 1;
timefreeze = false;
umberella = false;
trainers = false;
sclargeball = 20;
scmedball = 40;
scsmallball = 60;
duplicateMovieClip (character, "character1", 2000);
lifex = 545;
i = 1;
while (i <= lives) {
duplicateMovieClip (lif, "lif" + i, i + lifeno);
lifeno++;
i++;
}
Instance of Symbol 27 MovieClip "ball" in Frame 18
onClipEvent (load) {
gravity = 0.2;
speedvert = 1;
if ((String(_name) != "ball") && (_root.pause == false)) {
up = false;
x = 10 + random(500);
y = 30 + random(50);
dirx = (random(2)+1);
diry = 1;
_x = x;
_y = y;
}
}
onClipEvent (enterFrame) {
if (((String(_name) != "ball") && (_root.pause == false)) && (_root.timefreeze == false)) {
if (_root.character1.fred.fred.uhand.umb.hitTest(this._x, this._y + 32, true)) {
up = true;
ySpeed = (-ySpeed) + 2;
if (dirx == 1) {
dirx = 2;
this._x = this._x + 2;
}
if (dirx == 2) {
dirx = 1;
this._x = this._x - 2;
}
}
if (_root.invincible == false) {
if (this.hitTest(_root.character1.fred.fred.hit) && (_root.dead == false)) {
_root.dead = true;
_root.character1.gotoAndPlay("hit");
}
}
point = new object();
point.x = this._x;
point.y = this._y;
if (dirx == 1) {
this._x = this._x - _root.hspeed;
}
if (dirx == 2) {
this._x = this._x + _root.hspeed;
}
if ((this._x < 30) && (dirx == 1)) {
dirx = 2;
}
if ((this._x > (_root.gwidth - 30)) && (dirx == 2)) {
dirx = 1;
}
if (ySpeed <= -13) {
ySpeed = -13;
}
if (ySpeed >= 13) {
ySpeed = 13;
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 0.3;
if ((_y < 65) && (up == true)) {
ySpeed = -ySpeed;
up = false;
}
if (_y > 465) {
up = true;
ySpeed = -ySpeed;
}
j = 0;
while (j <= 4) {
if (this.hitTest(_root["block" + j].top)) {
up = true;
ySpeed = -ySpeed;
}
if (this.hitTest(_root["block" + j].bottom) && (up == true)) {
ySpeed = -ySpeed;
up = false;
}
if (this.hitTest(_root["block" + j].right)) {
dirx = 2;
}
if (this.hitTest(_root["block" + j].left)) {
dirx = 1;
}
j++;
}
}
}
Instance of Symbol 175 MovieClip "smallball" in Frame 18
onClipEvent (load) {
if ((String(_name) != "smallball") && (_root.pause == false)) {
dirx = (random(2)+1);
diry = 1;
_x = x;
_y = y;
boost = random(3);
}
}
onClipEvent (enterFrame) {
if (((String(_name) != "smallball") && (_root.pause == false)) && (_root.timefreeze == false)) {
if (_root.character1.fred.fred.uhand.umb.hitTest(this._x, this._y + 20, true)) {
up = true;
ySpeed = (-ySpeed) + 2;
if (dirx == 1) {
dirx = 2;
this._x = this._x + 2;
}
if (dirx == 2) {
dirx = 1;
this._x = this._x - 2;
}
}
if (_root.invincible == false) {
if (this.hitTest(_root.character1.fred.fred.hit) && (_root.dead == false)) {
_root.dead = true;
_root.character1.gotoAndPlay("hit");
}
}
point = new object();
point.x = this._x;
point.y = this._y;
if (dirx == 1) {
this._x = this._x - (_root.hspeed + boost);
}
if (dirx == 2) {
this._x = this._x + (_root.hspeed + boost);
}
if ((this._x < 10) && (dirx == 1)) {
dirx = 2;
}
if ((this._x > (_root.gwidth - 10)) && (dirx == 2)) {
dirx = 1;
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 0.5;
if (ySpeed <= -17) {
ySpeed = -17;
}
if (ySpeed >= 17) {
ySpeed = 17;
}
if ((_y < 45) && (up == true)) {
ySpeed = -ySpeed;
up = false;
}
if (_y > 490) {
up = true;
ySpeed = -ySpeed;
}
j = 0;
while (j <= 4) {
if (this.hitTest(_root["block" + j].top)) {
up = true;
ySpeed = -ySpeed;
}
if (this.hitTest(_root["block" + j].bottom) && (up == true)) {
ySpeed = -ySpeed;
up = false;
}
if (this.hitTest(_root["block" + j].right)) {
dirx = 2;
}
if (this.hitTest(_root["block" + j].left)) {
dirx = 1;
}
j++;
}
}
}
Instance of Symbol 179 MovieClip "medball" in Frame 18
onClipEvent (load) {
if ((String(_name) != "medball") && (_root.pause == false)) {
dirx = (random(2)+1);
diry = 1;
_x = x;
_y = y;
boost = random(2);
}
}
onClipEvent (enterFrame) {
if (((String(_name) != "medball") && (_root.pause == false)) && (_root.timefreeze == false)) {
if (_root.character1.fred.fred.uhand.umb.hitTest(this._x, this._y + 20, true)) {
up = true;
ySpeed = (-ySpeed) + 2;
if (dirx == 1) {
dirx = 2;
this._x = this._x + 2;
}
if (dirx == 2) {
dirx = 1;
this._x = this._x - 2;
}
}
if (_root.invincible == false) {
if (this.hitTest(_root.character1.fred.fred.hit) && (_root.dead == false)) {
_root.dead = true;
_root.character1.gotoAndPlay("hit");
}
}
point = new object();
point.x = this._x;
point.y = this._y;
if (dirx == 1) {
this._x = this._x - (_root.hspeed + boost);
}
if (dirx == 2) {
this._x = this._x + (_root.hspeed + boost);
}
if ((this._x < 20) && (dirx == 1)) {
dirx = 2;
}
if ((this._x > (_root.gwidth - 20)) && (dirx == 2)) {
dirx = 1;
}
if (ySpeed <= -15) {
ySpeed = -15;
}
if (ySpeed >= 15) {
ySpeed = 15;
}
_y = (_y - ySpeed);
ySpeed = ySpeed - 0.4;
if ((_y < 55) && (up == true)) {
ySpeed = -ySpeed;
up = false;
}
if (_y > 480) {
up = true;
ySpeed = -ySpeed;
}
j = 0;
while (j <= 4) {
if (this.hitTest(_root["block" + j].top)) {
up = true;
ySpeed = -ySpeed;
}
if (this.hitTest(_root["block" + j].bottom) && (up == true)) {
ySpeed = -ySpeed;
up = false;
}
if (this.hitTest(_root["block" + j].right)) {
dirx = 2;
}
if (this.hitTest(_root["block" + j].left)) {
dirx = 1;
}
j++;
}
}
}
Instance of Symbol 182 MovieClip "blast" in Frame 18
onClipEvent (load) {
if (String(_name) != "blast") {
_x = 0;
_y = 0;
this.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (String(_name) != "blast") {
j = 0;
while (j <= _root.large) {
if (this.hitTest(_root["ball" + j])) {
duplicateMovieClip (_root.powerup, "powerup" + _root.powercount, 700 + _root.powercount);
_root["powerup" + _root.powercount]._x = _root["ball" + j]._x + random(20);
_root["powerup" + _root.powercount]._y = _root["ball" + j]._y - random(20);
_root.powercount++;
duplicateMovieClip (_root.pop, "pop" + _root.popno, _root.popno);
_root["pop" + _root.popno]._x = _root["ball" + j]._x;
_root["pop" + _root.popno]._y = _root["ball" + j]._y;
_root.popno++;
_root.balloonlevel++;
_root.medno++;
_root.med++;
duplicateMovieClip (_root.medball, "medball" + _root.med, _root.balloonlevel);
_root["medball" + _root.med]._x = _root["ball" + j]._x + random(20);
_root["medball" + _root.med]._y = _root["ball" + j]._y - random(20);
_root.balloonlevel++;
_root.medno++;
_root.med++;
duplicateMovieClip (_root.medball, "medball" + _root.med, _root.balloonlevel);
_root["medball" + _root.med]._x = _root["ball" + j]._x + random(20);
_root["medball" + _root.med]._y = _root["ball" + j]._y - random(20);
_root.score = _root.score + _root.sclargeball;
removeMovieClip(_root["ball" + j]);
}
j++;
}
j = 0;
while (j <= _root.med) {
if (this.hitTest(_root["medball" + j])) {
duplicateMovieClip (_root.popmed, "popmed" + _root.popno, _root.popno);
_root["popmed" + _root.popno]._x = _root["medball" + j]._x;
_root["popmed" + _root.popno]._y = _root["medball" + j]._y;
_root.popno++;
_root.balloonlevel++;
_root.small++;
duplicateMovieClip (_root.smallball, "smallball" + _root.small, _root.balloonlevel);
_root["smallball" + _root.small]._x = _root["medball" + j]._x + random(20);
_root["smallball" + _root.small]._y = _root["medball" + j]._y - random(20);
_root.balloonlevel++;
_root.small++;
duplicateMovieClip (_root.smallball, "smallball" + _root.small, _root.balloonlevel);
_root["smallball" + _root.small]._x = _root["medball" + j]._x + random(20);
_root["smallball" + _root.small]._y = _root["medball" + j]._y - random(20);
removeMovieClip(_root["medball" + j]);
}
j++;
}
}
removeMovieClip(this);
}
Instance of Symbol 197 MovieClip "type" in Frame 18
onClipEvent (load) {
}
Instance of Symbol 232 MovieClip "powerup" in Frame 18
onClipEvent (load) {
if (String(_name) != "powerup") {
last = powerupobj;
powerupobj = (random(13)+1);
if (last == powerupobj) {
powerupobj = (random(13)+1);
last = powerupobj;
}
if ((_root.trainers == true) && (powerupobj == 1)) {
powerupobj = 2;
}
if ((_root.umberella == true) && (powerupobj == 6)) {
powerupobj = 8;
}
if ((_root.weapon == "claw") && (powerupobj == 4)) {
powerupobj = 9;
}
if ((_root.springjump == true) && (powerupobj == 3)) {
powerupobj = 8;
}
if ((_root.exploded == true) && (powerupobj == 12)) {
powerupobj = 9;
}
if ((_root.xballs == true) && (powerupobj == 13)) {
powerupobj = 10;
}
this.powerup.gotoAndStop(powerupobj);
fall = true;
blast = 1;
timer = 0;
}
}
onClipEvent (enterFrame) {
if (String(_name) != "powerup") {
timer++;
if (timer == 290) {
this.gotoAndPlay("out");
}
if (timer == 350) {
removeMovieClip(this);
}
if (this.hitTest(_root.character1.fred.fred.hit) && (_root.dead == false)) {
xx = this._x + random(20);
yy = this._y - random(20);
duplicateMovieClip (_root.type, "type" + _root.powercount, 750 + _root.powercount);
_root["type" + _root.powercount]._x = xx;
_root["type" + _root.powercount]._y = yy;
_root["type" + _root.powercount].ptext.gotoAndStop(powerupobj);
_root["type" + _root.powercount].gotoAndPlay(2);
if (powerupobj == 2) {
_root.invincible = true;
_root.character1.i = -30;
_root.character1.gotoAndPlay("invincible");
removeMovieClip(this);
}
if (powerupobj == 1) {
_root.trainers = true;
_root.character1.speed = 18;
removeMovieClip(this);
}
if (powerupobj == 3) {
_root.springjump = true;
_root.character1.jumpheight = 25;
removeMovieClip(this);
}
if (powerupobj == 4) {
_root.weapon = "claw";
removeMovieClip(this);
}
if (powerupobj == 5) {
_root.timefreeze = true;
_root.units.stop();
removeMovieClip(this);
}
if (powerupobj == 6) {
_root.umberella = true;
removeMovieClip(this);
}
if (powerupobj == 7) {
_root.time = _root.time + 20;
n = _root.tens._currentframe - 2;
_root.tens.gotoAndStop(n);
removeMovieClip(this);
}
if (powerupobj == 8) {
_root.score = _root.score + 150;
removeMovieClip(this);
}
if (powerupobj == 9) {
_root.score = _root.score + 300;
removeMovieClip(this);
}
if (powerupobj == 10) {
_root.score = _root.score + 450;
removeMovieClip(this);
}
if (powerupobj == 11) {
_root.lives++;
_root.lifeno++;
duplicateMovieClip (_root.lif, "lif" + _root.lives, _root.lifeno);
removeMovieClip(this);
}
if (powerupobj == 12) {
if (_root.exploded == false) {
j = 0;
while (j <= 4) {
_root["block" + j].gotoAndPlay("explode");
_root.exploded = true;
j++;
}
}
removeMovieClip(this);
}
if (powerupobj == 13) {
_root.xballs = true;
blast++;
duplicateMovieClip (_root.blast, "blast" + blast, 1000 + blast);
removeMovieClip(this);
}
}
if (fall == true) {
ySpeed = ySpeed - 0.3;
_y = (_y - ySpeed);
if (_y > 465) {
fall = false;
}
}
j = 0;
while (j <= 4) {
if (this.hitTest(_root["block" + j].top)) {
ySpeed = 0.3;
}
j++;
}
}
}
Frame 26
tens.gotoAndStop(7);
units.gotoAndPlay(1);
time = 40;
restart = false;
pause = false;
popno = 500;
green = 0;
dead = false;
clear = (_root.level * 2) * 2;
large = level;
med = 0;
small = 0;
balloonlevel = 20;
largeno = 0;
medno = 0;
platform = (random(10)+1);
timefreeze = false;
exploded = false;
xballs = false;
i = 1;
while (i <= _root.powercount) {
removeMovieClip(_root["powerup" + i]);
i++;
}
i = 1;
while (i <= _root.level) {
duplicateMovieClip (ball, "ball" + i, balloonlevel);
balloonlevel++;
largeno++;
i++;
}
if (platform == 1) {
b1x = 0;
b1y = 236;
b2x = 198;
b2y = 236;
b3x = 396;
b3y = 236;
b4x = 595;
b4y = 236;
}
if (platform == 2) {
b1x = 100;
b1y = 276;
b2x = 178;
b2y = 166;
b3x = 416;
b3y = 166;
b4x = 495;
b4y = 276;
}
if (platform == 3) {
b1x = 90;
b1y = 186;
b2x = 208;
b2y = 226;
b3x = 386;
b3y = 226;
b4x = 505;
b4y = 186;
}
if (platform == 4) {
b1x = 0;
b1y = 176;
b2x = 168;
b2y = 176;
b3x = 406;
b3y = 276;
b4x = 585;
b4y = 176;
}
if (platform == 5) {
b1x = 100;
b1y = 266;
b2x = 298;
b2y = 186;
b3x = 516;
b3y = 266;
b4x = -120;
b4y = -10;
}
if (platform == 6) {
b1x = 120;
b1y = 276;
b2x = 300;
b2y = 216;
b3x = 490;
b3y = 156;
b4x = -120;
b4y = -10;
}
if (platform == 7) {
b1x = 147;
b1y = 170;
b2x = 147;
b2y = 290;
b3x = 457;
b3y = 170;
b4x = 457;
b4y = 290;
}
if (platform == 8) {
b1x = 7;
b1y = 114;
b2x = 117;
b2y = 193;
b3x = 467;
b3y = 193;
b4x = 587;
b4y = 284;
}
if (platform == 9) {
b1x = 297;
b1y = 170;
b2x = 107;
b2y = 240;
b3x = 297;
b3y = 300;
b4x = 477;
b4y = 240;
}
if (platform == 10) {
b1x = 107;
b1y = 220;
b2x = 471;
b2y = 220;
b3x = -120;
b3y = -10;
b4x = -120;
b4y = -10;
}
block1.gotoAndStop(1);
block2.gotoAndStop(1);
block3.gotoAndStop(1);
block4.gotoAndStop(1);
block1._x = b1x;
block1._y = b1y;
block2._x = b2x;
block2._y = b2y;
block3._x = b3x;
block3._y = b3y;
block4._x = b4x;
block4._y = b4y;
stop();
Instance of Symbol 255 MovieClip in Frame 26
onClipEvent (load) {
pressed = false;
}
onClipEvent (enterFrame) {
if (_root.timefreeze == true) {
t++;
if (t >= 150) {
_root.timefreeze = false;
_root.units.play();
t = 0;
}
}
if (_root.trainers == true) {
_root.character1.fred.fred.lleg.gotoAndStop(2);
_root.character1.fred.fred.rleg.gotoAndStop(2);
}
if (_root.trainers == false) {
_root.character1.fred.fred.lleg.gotoAndStop(1);
_root.character1.fred.fred.rleg.gotoAndStop(1);
}
if (_root.umberella == true) {
_root.character1.fred.fred.uhand.gotoAndStop(2);
}
if (_root.score > _root.hiscore) {
_root.hiscore = _root.score;
}
if (_root.lives <= -1) {
_root.gameover = true;
_root.gotoAndPlay("gameover");
}
if ((Key.isDown(80) && (_root.pause == false)) && (pressed == false)) {
_root.paws.gotoAndPlay(1);
pressed = true;
}
if ((Key.isDown(80) && (_root.pause == true)) && (pressed == true)) {
_root.paws.gotoAndPlay("out");
pressed = false;
}
}
Frame 34
units.stop();
bonus = 0;
pause = true;
character1._visible = false;
Frame 88
if (false) {
}
Frame 105
if (false) {
}
Instance of Symbol 255 MovieClip in Frame 119
onClipEvent (enterFrame) {
i = 1;
while (i <= _root.time) {
_root.bonus = _root.bonus + 10;
_root.time--;
i++;
}
}
Frame 119
if (false) {
}
Frame 159
_root.score = _root.score + _root.bonus;
Frame 170
if (false) {
}
Frame 171
if (false) {
}
Frame 172
if (false) {
}
Frame 173
if (false) {
}
Frame 174
if (false) {
}
Frame 175
if (false) {
}
Frame 176
if (false) {
}
Frame 177
if (false) {
}
Frame 221
("shot" + character1.shotCount)._visible = true;
_root.level++;
_root.gotoAndStop("start");
character1._visible = true;
stop();
Frame 223
units.stop();
_root.dead = true;
_root.character1.gotoAndPlay("hit");
pause = eval (true)();
i = 1;
while (i <= _root.level) {
duplicateMovieClip (_root.pop, "pop" + _root.popno, _root.popno);
_root["pop" + _root.popno]._x = _root["ball" + i]._x;
_root["pop" + _root.popno]._y = _root["ball" + i]._y;
_root.popno++;
removeMovieClip(_root["ball" + i]);
i++;
}
i = 1;
while (i <= (_root.level * 2)) {
duplicateMovieClip (_root.popmed, "popmed" + _root.popno, _root.popno);
_root["popmed" + _root.popno]._x = _root["medball" + i]._x;
_root["popmed" + _root.popno]._y = _root["medball" + i]._y;
_root.popno++;
removeMovieClip(_root["medball" + i]);
i++;
}
i = 1;
while (i <= ((_root.level * 2) * 2)) {
duplicateMovieClip (_root.popsmall, "popsmall" + _root.popno, _root.popno);
_root["popsmall" + _root.popno]._x = _root["smallball" + i]._x;
_root["popsmall" + _root.popno]._y = _root["smallball" + i]._y;
_root.popno++;
removeMovieClip(_root["smallball" + i]);
i++;
}
stop();
Frame 253
removeMovieClip(character1);
removeMovieClip("shot" + shot.shotCount);
units.stop();
play();
Frame 257
if (false) {
}
Frame 391
i = 1;
while (i <= _root.level) {
duplicateMovieClip (_root.pop, "pop" + _root.popno, _root.popno);
_root["pop" + _root.popno]._x = _root["ball" + i]._x;
_root["pop" + _root.popno]._y = _root["ball" + i]._y;
_root.popno++;
removeMovieClip(_root["ball" + i]);
i++;
}
i = 1;
while (i <= (_root.level * 2)) {
duplicateMovieClip (_root.popmed, "popmed" + _root.popno, _root.popno);
_root["popmed" + _root.popno]._x = _root["medball" + i]._x;
_root["popmed" + _root.popno]._y = _root["medball" + i]._y;
_root.popno++;
removeMovieClip(_root["medball" + i]);
i++;
}
i = 1;
while (i <= ((_root.level * 2) * 2)) {
duplicateMovieClip (_root.popsmall, "popsmall" + _root.popno, _root.popno);
_root["popsmall" + _root.popno]._x = _root["smallball" + i]._x;
_root["popsmall" + _root.popno]._y = _root["smallball" + i]._y;
_root.popno++;
removeMovieClip(_root["smallball" + i]);
i++;
}
i = 1;
while (i <= _root.powercount) {
removeMovieClip(_root["powerup" + i]);
i++;
}
Frame 409
stop();
Symbol 25 Button
on (release) {
getURL ("mailto:david@dburows.co.uk");
}
Symbol 32 MovieClip Frame 7
stop();
Symbol 35 MovieClip Frame 5
stop();
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 2
_parent.gotoAndPlay("umbrella");
stop();
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 2
stop();
Symbol 57 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 2
play();
Symbol 57 MovieClip Frame 33
gotoAndStop (1);
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 32
gotoAndStop (1);
Symbol 64 MovieClip Frame 1
if (_root.mov == false) {
stop();
} else {
play();
}
Symbol 64 MovieClip Frame 2
if (_root.mov == false) {
stop();
} else {
play();
}
Symbol 64 MovieClip Frame 10
if (_root.mov == false) {
stop();
} else {
play();
}
Symbol 64 MovieClip Frame 11
if (_root.mov == false) {
stop();
} else {
play();
}
Symbol 64 MovieClip Frame 12
if (_root.mov == false) {
stop();
} else {
play();
}
Symbol 64 MovieClip Frame 17
if (_root.jump == true) {
stop();
}
Symbol 64 MovieClip Frame 21
if (_root.mov == false) {
stop();
} else {
play();
}
Symbol 64 MovieClip Frame 22
if ((_root.mov == false) or (_root.jump == true)) {
stop();
} else {
gotoAndStop (1);
}
Symbol 64 MovieClip Frame 23
gotoAndStop (1);
Symbol 64 MovieClip Frame 31
play();
Symbol 64 MovieClip Frame 34
stop();
Symbol 64 MovieClip Frame 35
play();
Symbol 64 MovieClip Frame 42
gotoAndStop (34);
Symbol 64 MovieClip Frame 45
gotoAndStop (1);
Symbol 64 MovieClip Frame 73
hand.gotoAndPlay(2);
if (_root.umberella == true) {
umbrella.gotoAndPlay(2);
}
stop();
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 2
stop();
Symbol 72 MovieClip Frame 1
_root.firing = true;
if (_root.umberella == true) {
gotoAndPlay (10);
}
Symbol 72 MovieClip Frame 3
_root.firing = false;
Symbol 72 MovieClip Frame 5
stop();
Symbol 72 MovieClip Frame 6
hand.gotoAndPlay(2);
if (_root.umberella == true) {
umbrella.gotoAndPlay(2);
}
stop();
Symbol 72 MovieClip Frame 15
_root.firing = false;
stop();
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 2
stop();
Symbol 73 MovieClip Frame 3
stop();
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 24
_root.duck = false;
_root.jump = false;
_root.mov = false;
_root.firing = false;
_root.shoot = false;
fred.fred.gotoAndStop("hit");
Symbol 74 MovieClip Frame 56
i = 0;
if (_root.lives > 0) {
lif = "lif" add _root.lives;
_root[lif]._visible = false;
}
_root.lives--;
_root.lifex = _root.lifex - 33;
_root.lifeno--;
if (_root.lives <= -1) {
stop();
}
_root.character1.jumpheight = 15;
_root.character1.speed = 8;
_root.weapon = "normal";
_root.timefreeze = false;
_root.umberella = false;
_root.trainers = false;
_root.springjump = false;
fred.gotoAndStop(1);
fred.fred.gotoAndStop(1);
Symbol 74 MovieClip Frame 94
i++;
_root.dead = false;
_root.invincible = true;
Symbol 74 MovieClip Frame 99
if (i >= 15) {
_root.invincible = false;
gotoAndStop (1);
} else {
gotoAndPlay (94);
}
Symbol 80 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 2
stop();
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 2
stop();
Symbol 88 MovieClip Frame 1
if (_root.weapon == "claw") {
head.gotoAndStop(2);
}
Symbol 88 MovieClip Frame 20
if (_root.weapon == "claw") {
head.gotoAndStop(2);
}
stop();
Symbol 89 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 2
play();
Symbol 89 MovieClip Frame 32
if (_root.weapon == "claw") {
gotoAndPlay (33);
} else {
_root.shoot = false;
removeMovieClip(this);
}
Symbol 89 MovieClip Frame 94
_root.shoot = false;
removeMovieClip(this);
stop();
Symbol 90 MovieClip Frame 62
stop();
Symbol 91 MovieClip Frame 62
stop();
Symbol 97 MovieClip Frame 16
stop();
Symbol 102 MovieClip Frame 20
gotoAndPlay (2);
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 35
stop();
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 41
stop();
Symbol 128 Button
on (rollOver) {
play.gotoAndPlay("bounce");
}
on (release) {
_root.gotoAndPlay("begin");
}
Symbol 129 Button
on (rollOver) {
controls.gotoAndPlay("bounce");
}
on (release) {
_root.gotoAndPlay("controls");
}
Symbol 130 MovieClip Frame 52
i = 1;
Symbol 130 MovieClip Frame 53
i++;
Symbol 130 MovieClip Frame 55
if (i == 10) {
gotoAndPlay (56);
} else {
gotoAndPlay (53);
}
Symbol 130 MovieClip Frame 85
stop();
Symbol 137 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 2
stop();
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 2
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 2
stop();
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 2
stop();
Symbol 149 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 2
stop();
stop();
Symbol 153 Button
on (release) {
_root.gotoAndStop("home");
}
Symbol 155 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 2
play();
Symbol 155 MovieClip Frame 6
_root.pause = true;
_root.units.stop();
stop();
Symbol 155 MovieClip Frame 11
_root.pause = false;
_root.units.play();
gotoAndStop (1);
Symbol 156 MovieClip Frame 8
stop();
Instance of Symbol 74 MovieClip "character" in Symbol 156 MovieClip Frame 8
onClipEvent (load) {
timer = 0;
this._x = 9;
this._y = 450;
lastX = newX;
lastY = newY;
speed = 8;
shotCount = 300;
jumpheight = 15;
speedvert = 0;
gravity = 1;
}
onClipEvent (enterFrame) {
function resetkeys() {
_parent.right.gotoAndStop(1);
_parent.left.gotoAndStop(1);
_parent.up.gotoAndStop(1);
_parent.down.gotoAndStop(1);
_parent.spacebar.gotoAndStop(1);
}
function right() {
_parent.keys = "RIGHT ARROW = RUN RIGHT";
_parent.right.gotoAndStop(2);
_root.mov = true;
_root.duck = false;
this.fred.gotoAndStop(1);
if (_root.jump == false) {
this.fred.fred.play();
}
this._x = this._x + speed;
}
function left() {
_parent.keys = "LEFT ARROW = RUN LEFT";
_parent.left.gotoAndStop(2);
_root.mov = true;
_root.duck = false;
this.fred.gotoAndStop(2);
if (_root.jump == false) {
this.fred.fred.play();
}
this._x = this._x - speed;
}
function duck() {
_parent.keys = "DOWN ARROW = DUCK";
_parent.down.gotoAndStop(2);
this.fred.fred.gotoAndPlay("duck");
_root.duck = true;
}
function duckup() {
this.fred.fred.gotoAndPlay("duckup");
_root.duck = true;
_root.mov = false;
}
function rollright() {
_parent.keys = "DOWN + RIGHT ARROW = ROLL RIGHT";
_parent.down.gotoAndStop(2);
_parent.right.gotoAndStop(2);
this.fred.gotoAndStop(1);
this.fred.fred.play("rotate");
this._x = this._x + (speed * 2);
}
function rollleft() {
_parent.keys = "DOWN + LEFT ARROW = ROLL LEFT";
_parent.down.gotoAndStop(2);
_parent.left.gotoAndStop(2);
this.fred.gotoAndStop(2);
this.fred.fred.play("rotate");
this._x = this._x - (speed * 2);
}
function fire() {
_parent.keys = "SPACE BAR = FIRE";
_parent.spacebar.gotoAndStop(2);
this.fred.gotoAndStop(3);
shotCount++;
duplicateMovieClip (_parent.shot, "shot" + shotCount, 1);
_root.shoot = true;
}
function jump() {
_parent.up.gotoAndStop(2);
_parent.keys = "UP ARROW = JUMP";
this.fred.fred.gotoAndPlay("jump");
_root.jump = true;
speedvert = speedvert - jumpheight;
}
function paws() {
_parent.keys = "PRESS 'P' TO PAUSE THE ACTION";
_parent.paws.gotoAndPlay(2);
}
timer++;
if ((timer > 20) && (timer < 100)) {
resetkeys();
right();
}
if ((timer > 100) && (timer < 160)) {
resetkeys();
left();
}
if (timer == 160) {
resetkeys();
jump();
}
if (timer == 190) {
resetkeys();
duck();
}
if ((timer > 240) && (timer < 340)) {
resetkeys();
rollright();
}
if ((timer > 340) && (timer < 440)) {
resetkeys();
rollleft();
}
if (timer == 440) {
resetkeys();
duckup();
}
if (timer == 450) {
resetkeys();
fire();
}
if (timer == 490) {
resetkeys();
}
if (timer == 500) {
paws();
}
if (timer >= 600) {
_parent.paws.gotoAndPlay("out");
timer = 0;
}
if (this._x > (_root.gwidth - 20)) {
this._x = -10;
}
if (this._x < -10) {
this._x = _root.gwidth - 20;
}
newY = this._y + speedvert;
this._y = newY;
if (newY >= 450) {
newY = 450;
speedvert = 0;
_root.jump = false;
} else {
speedvert = speedvert + gravity;
}
}
Instance of Symbol 89 MovieClip "shot" in Symbol 156 MovieClip Frame 8
onClipEvent (load) {
if (String(_name) != "shot") {
x = _parent.character._x + 20;
y = _parent.character._y - 120;
_x = x;
_y = y;
if (_root.shoot == true) {
this.gotoAndPlay(2);
}
}
}
Symbol 156 MovieClip Frame 16
stop();
Symbol 166 MovieClip Frame 4
removeMovieClip(this);
stop();
Symbol 173 MovieClip Frame 1
gone = false;
stop();
Symbol 173 MovieClip Frame 6
gone = true;
stop();
Symbol 173 MovieClip Frame 7
if (gone == true) {
stop();
}
Symbol 173 MovieClip Frame 61
_root.walls = false;
stop();
Symbol 176 MovieClip Frame 5
removeMovieClip(this);
stop();
Symbol 177 MovieClip Frame 4
removeMovieClip(this);
stop();
Symbol 182 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 5
stop();
Symbol 196 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 2
play();
Symbol 197 MovieClip Frame 34
stop();
Symbol 231 MovieClip Frame 1
!!!ERROR
Symbol 231 MovieClip Frame 2
!!!ERROR
Symbol 231 MovieClip Frame 3
!!!ERROR
Symbol 231 MovieClip Frame 4
!!!ERROR
Symbol 231 MovieClip Frame 5
!!!ERROR
Symbol 231 MovieClip Frame 6
!!!ERROR
Symbol 231 MovieClip Frame 7
!!!ERROR
Symbol 231 MovieClip Frame 8
!!!ERROR
Symbol 231 MovieClip Frame 9
!!!ERROR
Symbol 231 MovieClip Frame 10
!!!ERROR
Symbol 231 MovieClip Frame 11
!!!ERROR
Symbol 231 MovieClip Frame 12
!!!ERROR
Symbol 231 MovieClip Frame 13
!!!ERROR
Symbol 232 MovieClip Frame 1
!!!ERROR
Symbol 232 MovieClip Frame 33
!!!ERROR
Symbol 253 MovieClip Frame 1
!!!ERROR
Symbol 253 MovieClip Frame 2
!!!ERROR
Symbol 253 MovieClip Frame 3
!!!ERROR
Symbol 253 MovieClip Frame 4
!!!ERROR
Symbol 253 MovieClip Frame 5
!!!ERROR
Symbol 253 MovieClip Frame 6
!!!ERROR
Symbol 253 MovieClip Frame 7
!!!ERROR
Symbol 253 MovieClip Frame 8
!!!ERROR
Symbol 253 MovieClip Frame 9
!!!ERROR
Symbol 253 MovieClip Frame 10
!!!ERROR
Symbol 253 MovieClip Frame 11
_root.pause = true;
_root.gotoAndStop("timeout");
stop();
Symbol 254 MovieClip Frame 31
_root.time--;
Symbol 254 MovieClip Frame 61
_root.time--;
Symbol 254 MovieClip Frame 91
_root.time--;
Symbol 254 MovieClip Frame 121
_root.time--;
Symbol 254 MovieClip Frame 151
_root.time--;
Symbol 254 MovieClip Frame 181
_root.time--;
Symbol 254 MovieClip Frame 211
_root.time--;
Symbol 254 MovieClip Frame 241
_root.time--;
Symbol 254 MovieClip Frame 272
_root.time--;
Symbol 254 MovieClip Frame 301
_root.time--;
_root.tens.nextFrame();
if (_root.time > 0) {
gotoAndPlay (1);
} else {
stop();
}
Symbol 264 MovieClip Frame 51
!!!ERROR
Symbol 266 MovieClip Frame 9
!!!ERROR
Symbol 269 MovieClip Frame 51
!!!ERROR
Symbol 272 MovieClip Frame 51
!!!ERROR
Symbol 275 MovieClip Frame 51
!!!ERROR
Symbol 278 MovieClip Frame 51
!!!ERROR
Symbol 281 MovieClip Frame 51
!!!ERROR
Symbol 282 MovieClip Frame 171
!!!ERROR
Symbol 283 MovieClip Frame 1
!!!ERROR
Symbol 293 MovieClip Frame 33
!!!ERROR
Symbol 293 MovieClip Frame 39
!!!ERROR
Symbol 309 MovieClip Frame 101
i = 1;
while (i <= _root.level) {
removeMovieClip(_root["ball" + i]);
i++;
}
i = 1;
while (i <= (_root.level * 2)) {
removeMovieClip(_root["medball" + i]);
i++;
}
i = 1;
while (i <= ((_root.level * 2) * 2)) {
removeMovieClip(_root["smallball" + i]);
i++;
}
_root.gotoAndStop("start");
Symbol 312 MovieClip Frame 51
!!!ERROR
Symbol 315 MovieClip Frame 51
!!!ERROR
Symbol 318 MovieClip Frame 51
!!!ERROR
Symbol 321 MovieClip Frame 51
!!!ERROR
Symbol 324 MovieClip Frame 51
!!!ERROR
Symbol 327 MovieClip Frame 51
!!!ERROR
Symbol 330 MovieClip Frame 51
!!!ERROR
Symbol 331 MovieClip Frame 135
!!!ERROR
Symbol 334 MovieClip Frame 9
!!!ERROR
Symbol 335 MovieClip Frame 16
!!!ERROR
Symbol 338 Button
on (release) {
stopAllSounds();
ur = "index.php?act=Arcade&do=newscore";
xx = new LoadVars();
xx.gname = "wbaGC";
xx.gscore = _root.score;
xx.send(ur, "_self", "POST");
_root._visible = false;
_root.enabled = false;
stop();
}