Frame 1
stop();
Frame 2
function setupplayers() {
players = new Array(maxplayers);
i = 0;
while (i < maxplayers) {
players[i] = new player();
i++;
}
pl.duplicateMovieClip("pl0", 200);
cpl.duplicateMovieClip("pl1", 201);
pl0.gotoAndStop(p1type);
pl1.gotoAndStop(p2type);
pl0.body._rotation = 90;
players[0].ballsready.push(0);
players[0].leftk = 90;
players[0].rightk = 88;
players[0].firek = 83;
pl1.body._rotation = 90;
players[1].ballsready.push(1);
players[1].mx = 294;
players[1].my = 522;
}
function player() {
this.height = 10;
this.speed = 14;
this.leftk = 37;
this.rightk = 39;
this.firek = 38;
this.state = 0;
this.scale = 1;
this.loadspeed = 10;
this.firespeed = 5;
this.ballload = 0;
this.mx = 35;
this.my = 262;
this.ballsready = new Array();
this.ballsloaded = new Array();
this.cpuangle = 0;
}
function ballob() {
this.speed = 18;
this.xstep = 0;
this.ystep = 0;
this.gravity = 0.6;
this.state = 0;
this.type = 1;
this.hitby = 0;
}
function setupballs() {
balls = new Array(maxballs);
i = 0;
while (i < maxballs) {
tbl = eval ("ball" + i);
tbl.removeMovieClip();
testball.duplicateMovieClip("ball" + i, 150 + i);
tbl = eval ("ball" + i);
tbl.gotoAndStop(1);
balls[i] = new ballob();
i++;
}
}
function dropcreature(cno) {
tg = eval ((("ground" + cno) + "") + (players[cno].height - 1));
tp = eval ("pl" + cno);
while ((tp._y + (20 * players[cno].scale)) < (tg._y + ((players[cno].scale - 0.8) * 5))) {
tp._y++;
}
}
function fireball(pno) {
}
function removeboard() {
i = 0;
while (i < maxplayers) {
j = 0;
while (j < players[i].height) {
temp2 = eval ((("ground" + i) + "") + j);
temp2.removeMovieClip();
j++;
}
i++;
}
}
function setupboard() {
i = 0;
while (i < maxplayers) {
temp = eval ("ground" + i);
temp._height = 160 / players[i].height;
j = 0;
while (j < players[i].height) {
temp2 = eval ((("ground" + i) + "") + j);
temp2.removeMovieClip();
temp.duplicateMovieClip((("ground" + i) + "") + j, (i * players[i].height) + j);
temp2 = eval ((("ground" + i) + "") + j);
temp2._x = 147 + (i * 267);
temp2._y = temp._y - (temp._height - 1);
temp2.gotoAndStop((j % 2) + 1);
temp = eval ((("ground" + i) + "") + j);
j++;
}
cliff.swapDepths(100);
temp = eval ("ground" + i);
temp._x = -300;
i++;
}
}
function setuptokens() {
i = 0;
while (i < maxtokensout) {
ttoken = eval ("token" + i);
ttoken.removeMovieClip();
token.duplicateMovieClip("token" + i, 99);
ttoken = eval ("token" + i);
ttoken._x = -100;
ttoken._y = -97;
ttoken.gotoAndStop(1);
i++;
}
}
function setballtype(bno, bt) {
btb = eval ("ball" + bno);
btb.gotoAndStop(bt);
balls[bno].type = bt;
if (bt == 1) {
balls[bno].gravity = 0.6;
balls[bno].speed = 18;
} else if (bt == 2) {
balls[bno].gravity = 0.1;
balls[bno].speed = 7;
} else if (bt == 3) {
balls[bno].gravity = 0.8;
balls[bno].speed = 22;
}
}
function placetoken() {
placing = 0;
if (tokensout < maxtokensout) {
tt = Math.floor(Math.random() * 550);
if (1 >= tt) {
if (ballsout < maxballs) {
placing = 1;
}
} else if (tt == 2) {
ib = 0;
while (ib < ballsout) {
if (balls[ib].type != 2) {
if (placing == 100) {
placing = tt;
} else {
placing = 100;
}
}
ib++;
}
} else if (tt == 3) {
ib = 0;
while (ib < ballsout) {
if (balls[ib].type != 1) {
placing = tt;
}
ib++;
}
} else if (tt == 4) {
ib = 0;
while (ib < ballsout) {
if (balls[ib].type != 3) {
placing = tt;
}
ib++;
}
} else if (tt == 5) {
ib = 0;
while (ib < maxplayers) {
if (1.4 >= players[ib].scale) {
placing = tt;
}
ib++;
}
} else if (tt == 6) {
ib = 0;
while (ib < maxplayers) {
if (players[ib].scale >= 1) {
placing = tt;
}
ib++;
}
}
}
if ((0 < placing) && (placing < 50)) {
ttoken = eval ("token" + tokensout);
tokensout++;
ttoken.gotoAndStop(placing + 1);
ttoken._x = 70 + (Math.random() * 425);
ttoken._y = 15 + (Math.random() * 66);
}
}
maxplayers = 2;
maxballs = 6;
humanplayers = 2;
cpulevel = 15;
ballsout = 2;
mheight = 10;
tokensout = 0;
maxtokensout = 1;
p1type = 1;
p2type = 6;
diflevel = 0;
fireBall = new Sound();
fireBall.attachSound("fireBall");
levelGo = new Sound();
levelGo.attachSound("levelGo");
tokenPop = new Sound();
tokenPop.attachSound("tokenPop");
names = new Array();
names[0] = "Joel";
names[1] = "Carey";
names[2] = "Tim";
names[3] = "Steve";
names[4] = "quiet phil";
names[5] = "mortalbug";
setupplayers();
Frame 10
removeboard();
diflevel = 0;
emenu2.removeMovieClip();
smenu.duplicateMovieClip("emenu2", 300);
seborder.swapDepths(400);
stop();
Frame 16
emenu2.removeMovieClip();
cmenu.duplicateMovieClip("emenu2", 300);
stop();
Frame 26
emenu2.removeMovieClip();
ballsout = 2;
tokensout = 0;
maxtokensout = 1;
setupplayers();
players[0].height = mheight;
players[1].height = mheight;
setupboard();
setupballs();
setuptokens();
dropcreature(0);
dropcreature(1);
Frame 30
function doai() {
if (players[1].state == 0) {
bn = nearestball();
if (bn >= 0) {
if (cpulevel < (math.random() * 50)) {
ctb = eval ("ball" + bn);
if (ctb._x < (pl1._x - players[1].speed)) {
if (pl1.legs._currentframe == 1) {
pl1.legs.gotoAndPlay("walk");
}
pl1._x = pl1._x - players[1].speed;
if (pl1._x < (players[1].mx + (pl1._width / 2))) {
pl1._x = players[1].mx + (pl1._width / 2);
}
} else if ((pl1._x + players[1].speed) < ctb._x) {
if (pl1.legs._currentframe == 1) {
pl1.legs.gotoAndPlay("walk");
}
pl1._x = pl1._x + players[1].speed;
if ((players[1].my - (pl1._width / 2)) < pl1._x) {
pl1._x = players[1].my - (pl1._width / 2);
}
}
}
} else if (0 < players[1].ballsready.length) {
if (pl1._x < 350) {
if (pl1.legs._currentframe == 1) {
pl1.legs.gotoAndPlay("walk");
}
pl1._x = pl1._x + players[1].speed;
if ((players[1].my - (pl1._width / 2)) < pl1._x) {
pl1._x = players[1].my - (pl1._width / 2);
}
} else {
players[1].ballsloaded.push(players[1].ballsready.pop());
players[1].ballload = players[1].loadspeed;
players[1].state = 1;
players[1].cpuangle = (90 - (Math.atan(pl1._y / (pl1._x - 300)) * 57.2957795130823)) + ((Math.random() * cpulevel) - (cpulevel / 2));
}
} else if (pl1._x < balllying()) {
if (pl1.legs._currentframe == 1) {
pl1.legs.gotoAndPlay("walk");
}
pl1._x = pl1._x + players[1].speed;
if ((players[1].my - (pl1._width / 2)) < pl1._x) {
pl1._x = players[1].my - (pl1._width / 2);
}
} else if (balllying() < pl1._x) {
if (pl1.legs._currentframe == 1) {
pl1.legs.gotoAndPlay("walk");
}
pl1._x = pl1._x - players[1].speed;
if (pl1._x < (players[1].mx + (pl1._width / 2))) {
pl1._x = players[1].mx + (pl1._width / 2);
}
}
} else if (players[1].state == 1) {
if ((0 < players[1].ballsready.length) && (1 < (Math.random() * 10))) {
players[1].ballload--;
if (players[1].ballload == 0) {
if (0 < players[1].ballsready.length) {
players[1].ballsloaded.push(players[1].ballsready.pop());
players[1].ballload = players[1].loadspeed;
}
}
} else {
players[1].state = 2;
}
} else if (players[1].state == 2) {
players[1].ballload = 0;
if ((pl1.body._rotation >= (players[1].cpuangle - 3)) && ((players[1].cpuangle + 3) >= pl1.body._rotation)) {
players[1].state = 3;
} else if (0 >= pl1.body._rotation) {
pl1.body._rotation = 0;
players[1].state = 3;
} else {
pl1.body._rotation = pl1.body._rotation - 5;
}
} else if (players[1].state == 3) {
if (players[1].ballload == 0) {
if (0 < players[1].ballsloaded.length) {
fireBall.start();
tb = players[1].ballsloaded.pop();
ty = players[1].scale * (0 + (52 * Math.sin((pl1.body._rotation - 88) * (Math.PI/180))));
tx = players[1].scale * (-(52 * Math.cos((pl1.body._rotation - 88) * (Math.PI/180))));
balls[tb].ystep = 0 + (balls[tb].speed * Math.sin((pl1.body._rotation - 90) * (Math.PI/180)));
balls[tb].xstep = -(balls[tb].speed * Math.cos((pl1.body._rotation - 90) * (Math.PI/180)));
tempb = eval ("ball" + tb);
tempb._x = pl1._x + tx;
tempb._y = pl1._y + ty;
if (275 >= tempb._x) {
tempb._x = 279;
balls[tb].xstep = balls[tb].xstep * -1;
}
balls[tb].state = 1;
balls[tb].hitby = ti;
pl1.body._rotation = pl1.body._rotation - 8;
players[1].ballload = players[1].firespeed;
} else {
players[1].ballload = 0;
players[1].state = 4;
}
} else {
players[1].ballload--;
}
} else if (players[1].state == 4) {
if (90 >= pl1.body._rotation) {
pl1.body._rotation = pl1.body._rotation + 10;
} else {
pl1.body._rotation = 90;
players[1].state = 0;
}
}
}
function nearestball() {
lowest = 0;
ballnum = -1;
ci = 0;
while (ci < ballsout) {
if (balls[ci].state == 1) {
cball = eval ("ball" + ci);
if ((270 < cball._x) && (lowest < cball._y)) {
ballnum = ci;
lowest = cball._y;
}
}
ci++;
}
return(ballnum);
}
function balllying() {
lowest = 3000;
ci = 0;
while (ci < ballsout) {
if (balls[ci].state == 20) {
cball = eval ("ball" + ci);
tx = cball._x - pl1._x;
if (Math.abs(tx) < Math.abs(lowest - pl1._x)) {
lowest = cball._x;
}
}
ci++;
}
if (lowest == 3000) {
return(pl1._x);
}
return(lowest);
}
ti = 0;
while (ti < maxballs) {
if (balls[ti].state == 1) {
tball = eval ("ball" + ti);
balls[ti].ystep = balls[ti].ystep + balls[ti].gravity;
if (90 < tball._y) {
if ((tball._x < 275) && ((tball._x + balls[ti].xstep) >= 275)) {
tball._x = 271;
balls[ti].xstep = balls[ti].xstep * -1;
} else if ((275 < tball._x) && (275 >= (tball._x + balls[ti].xstep))) {
tball._x = 279;
balls[ti].xstep = balls[ti].xstep * -1;
}
}
if ((tball._x + balls[ti].xstep) < 44) {
tball._x = 44;
balls[ti].xstep = balls[ti].xstep * -1;
}
if (510 < (tball._x + balls[ti].xstep)) {
tball._x = 510;
balls[ti].xstep = balls[ti].xstep * -1;
}
tball._x = tball._x + balls[ti].xstep;
tsy = tball._y;
tball._y = tball._y + balls[ti].ystep;
if (pl0.body.funnel.hit.hitTest(tball._x, tball._y, true)) {
players[0].ballsready.push(ti);
balls[ti].state = 0;
tball._x = -20;
} else if (pl1.body.funnel.hit.hitTest(tball._x, tball._y, true)) {
players[1].ballsready.push(ti);
balls[ti].state = 0;
tball._x = -20;
} else if (tball._x < 275) {
twall = eval ("ground0" + (players[0].height - 1));
if (twall._y < tball._y) {
balls[ti].state = 10;
tj = 0;
while (tj < maxballs) {
if (balls[tj].state == 10) {
tjball = eval ("ball" + tj);
tjball._y = (twall._y + twall._height) - 9;
}
tj++;
}
twall.removeMovieClip();
levelGo.start();
players[0].height = players[0].height - 1;
dropcreature(0);
if (players[0].height == 0) {
gotoAndPlay (36);
}
}
} else if (275 < tball._x) {
twall = eval ("ground1" + (players[1].height - 1));
if (twall._y < tball._y) {
balls[ti].state = 20;
tj = 0;
while (tj < maxballs) {
if (balls[tj].state == 20) {
tjball = eval ("ball" + tj);
tjball._y = (twall._y + twall._height) - 9;
}
tj++;
}
twall.removeMovieClip();
levelGo.start();
players[1].height = players[1].height - 1;
dropcreature(1);
if (players[1].height == 0) {
gotoAndPlay (33);
}
}
}
tk = 0;
while (tk < tokensout) {
ttok = eval ("token" + tk);
if (ttok.hitTest(tball._x, tball._y, true)) {
tokenPop.start();
tokensout--;
ttok._x = -100;
if (ttok._currentframe == 2) {
tbk = eval ("ball" + ballsout);
tbk._x = tball._x;
tbk._y = tball._y;
balls[ballsout].xstep = balls[ti].xstep * -1;
balls[ballsout].ystep = balls[ti].ystep;
balls[ballsout].state = 1;
setballtype(ballsout, balls[ti].type);
ballsout++;
} else if (ttok._currentframe == 3) {
if (balls[ti].type == 1) {
balls[ti].xstep = balls[ti].xstep * 0.4;
balls[ti].ystep = balls[ti].ystep * 0.4;
}
if (balls[ti].type == 3) {
balls[ti].xstep = balls[ti].xstep * 0.2;
balls[ti].ystep = balls[ti].ystep * 0.2;
}
setballtype(ti, 2);
} else if (ttok._currentframe == 4) {
if (balls[ti].type == 2) {
balls[ti].xstep = balls[ti].xstep * 2;
balls[ti].ystep = balls[ti].ystep * 2;
}
if (balls[ti].type == 3) {
balls[ti].xstep = balls[ti].xstep * 0.5;
balls[ti].ystep = balls[ti].ystep * 0.5;
}
setballtype(ti, 1);
} else if (ttok._currentframe == 5) {
if (balls[ti].type == 1) {
balls[ti].xstep = balls[ti].xstep * 1.5;
balls[ti].ystep = balls[ti].ystep * 1.5;
} else if (balls[ti].type == 2) {
balls[ti].xstep = balls[ti].xstep * 2.6;
balls[ti].ystep = balls[ti].ystep * 2.6;
}
setballtype(ti, 3);
} else if (ttok._currentframe == 6) {
if (1.4 >= players[balls[ti].hitby].scale) {
players[balls[ti].hitby].scale = players[balls[ti].hitby].scale + 0.2;
tpl = eval ("pl" + balls[ti].hitby);
tpl._xscale = players[balls[ti].hitby].scale * 8;
tpl._yscale = players[balls[ti].hitby].scale * 8;
tpl._y = tpl._y - 20;
dropcreature(balls[ti].hitby);
}
} else if (ttok._currentframe == 7) {
hb = (balls[ti].hitby + 1) % 2;
if (players[hb].scale >= 1) {
players[hb].scale = players[hb].scale - 0.2;
tpl = eval ("pl" + hb);
tpl._xscale = players[hb].scale * 8;
tpl._yscale = players[hb].scale * 8;
tpl._y = tpl._y - 20;
dropcreature(hb);
}
}
}
tk++;
}
if ((0 < tsy) && (tball._y < 0)) {
tarrow.duplicateMovieClip("arrow" + ti, 250 + ti);
tar = eval ("arrow" + ti);
tar.gotoAndStop(balls[ti].type);
} else if ((tsy < 0) && (0 < tball._y)) {
tar = eval ("arrow" + ti);
tar.removeMovieClip();
}
tar = eval ("arrow" + ti);
if (tar != undefined) {
tar._x = tball._x;
tar._y = 0;
}
} else if (balls[ti].state == 10) {
tball = eval ("ball" + ti);
if (tball._x < 48) {
tball._x = 48;
}
if (263 < tball._x) {
tball._x = 263;
}
if (pl0.hitTest(tball)) {
players[0].ballsready.push(ti);
balls[ti].state = 0;
tball._x = -20;
}
} else if (balls[ti].state == 20) {
tball = eval ("ball" + ti);
if (500 < tball._x) {
tball._x = 500;
}
if (tball._x < 298) {
tball._x = 298;
}
if (pl1.hitTest(tball)) {
players[1].ballsready.push(ti);
balls[ti].state = 0;
tball._x = -20;
}
}
ti++;
}
ti = 0;
while (ti < humanplayers) {
if (players[ti].state == 0) {
if (Key.isDown(players[ti].leftk)) {
tempp = eval ("pl" + ti);
if (tempp.legs._currentframe == 1) {
tempp.legs.gotoAndPlay("walk");
}
tempp._x = tempp._x - players[ti].speed;
if (tempp._x < (players[ti].mx + (tempp._width / 2))) {
tempp._x = players[ti].mx + (tempp._width / 2);
}
}
if (Key.isDown(players[ti].rightk)) {
tempp = eval ("pl" + ti);
if (tempp.legs._currentframe == 1) {
tempp.legs.gotoAndPlay("walk");
}
tempp._x = tempp._x + players[ti].speed;
if ((players[ti].my - (tempp._width / 2)) < tempp._x) {
tempp._x = players[ti].my - (tempp._width / 2);
}
}
if (Key.isDown(players[ti].firek)) {
if (0 < players[ti].ballsready.length) {
players[ti].ballsloaded.push(players[ti].ballsready.pop());
players[ti].ballload = players[ti].loadspeed;
players[ti].state = 1;
}
}
} else if (players[ti].state == 1) {
if (Key.isDown(players[ti].firek)) {
players[ti].ballload--;
if (players[ti].ballload == 0) {
if (0 < players[ti].ballsready.length) {
players[ti].ballsloaded.push(players[ti].ballsready.pop());
players[ti].ballload = players[ti].loadspeed;
}
}
} else {
players[ti].state = 2;
}
} else if (players[ti].state == 2) {
players[ti].ballload = 0;
tempp = eval ("pl" + ti);
if (Key.isDown(players[ti].firek)) {
players[ti].state = 3;
} else if (0 >= tempp.body._rotation) {
tempp.body._rotation = 0;
players[ti].state = 3;
} else {
tempp.body._rotation = tempp.body._rotation - 5;
}
} else if (players[ti].state == 3) {
if (players[ti].ballload == 0) {
if (0 < players[ti].ballsloaded.length) {
tb = players[ti].ballsloaded.pop();
fireBall.start();
tempp = eval ("pl" + ti);
if (ti == 0) {
ty = players[ti].scale * (0 + (52 * Math.sin((tempp.body._rotation - 88) * (Math.PI/180))));
tx = players[ti].scale * (0 + (52 * Math.cos((tempp.body._rotation - 88) * (Math.PI/180))));
balls[tb].ystep = 0 + (balls[tb].speed * Math.sin((tempp.body._rotation - 90) * (Math.PI/180)));
balls[tb].xstep = 0 + (balls[tb].speed * Math.cos((tempp.body._rotation - 90) * (Math.PI/180)));
tempb = eval ("ball" + tb);
tempb._x = tempp._x + tx;
tempb._y = tempp._y + ty;
if (tempb._x >= 275) {
tempb._x = 271;
balls[tb].xstep = balls[tb].xstep * -1;
}
} else {
ty = players[ti].scale * (0 + (52 * Math.sin((tempp.body._rotation - 88) * (Math.PI/180))));
tx = players[ti].scale * (-(52 * Math.cos((tempp.body._rotation - 88) * (Math.PI/180))));
balls[tb].ystep = 0 + (balls[tb].speed * Math.sin((tempp.body._rotation - 90) * (Math.PI/180)));
balls[tb].xstep = -(balls[tb].speed * Math.cos((tempp.body._rotation - 90) * (Math.PI/180)));
tempb = eval ("ball" + tb);
tempb._x = tempp._x + tx;
tempb._y = tempp._y + ty;
if (275 >= tempb._x) {
tempb._x = 279;
balls[tb].xstep = balls[tb].xstep * -1;
}
}
balls[tb].state = 1;
balls[tb].hitby = ti;
tempp.body._rotation = tempp.body._rotation - 8;
players[ti].ballload = players[ti].firespeed;
} else {
players[ti].ballload = 0;
players[ti].state = 4;
}
} else {
players[ti].ballload--;
}
} else if (players[ti].state == 4) {
tempp = eval ("pl" + ti);
if (90 >= tempp.body._rotation) {
tempp.body._rotation = tempp.body._rotation + 10;
} else {
tempp.body._rotation = 90;
players[ti].state = 0;
}
}
ti++;
}
if (humanplayers < 2) {
doai();
}
pl0.body.funnel.gotoAndStop(players[0].ballsready.length + 1);
tbll = eval ("pl0.body.funnel.ball" + (players[0].ballsready.length - 1));
tbll.gotoAndStop(balls[players[0].ballsready[players[0].ballsready.length - 1]].type);
pl1.body.funnel.gotoAndStop(players[1].ballsready.length + 1);
tbll = eval ("pl1.body.funnel.ball" + (players[1].ballsready.length - 1));
tbll.gotoAndStop(balls[players[1].ballsready[players[1].ballsready.length - 1]].type);
placetoken();
Frame 31
gotoAndPlay (30);
Frame 33
i = 0;
while (i < maxballs) {
tbl = eval ("ball" + i);
tbl.removeMovieClip();
i++;
}
front.swapDepths(250);
Frame 34
pl1._y = pl1._y + 8;
if (0 >= pl1.body._rotation) {
pl1.body._rotation = 0;
} else {
pl1.body._rotation = pl1.body._rotation - 5;
}
Frame 35
if (520 < pl1._y) {
gotoAndPlay (40);
} else {
gotoAndPlay(_currentframe - 1);
}
Frame 36
i = 0;
while (i < maxballs) {
tbl = eval ("ball" + i);
tbl.removeMovieClip();
i++;
}
front.swapDepths(250);
Frame 37
pl0._y = pl0._y + 8;
if (0 >= pl0.body._rotation) {
pl0.body._rotation = 0;
} else {
pl0.body._rotation = pl0.body._rotation - 5;
}
Frame 38
if (520 < pl0._y) {
gotoAndPlay (41);
} else {
gotoAndPlay(_currentframe - 1);
}
Frame 40
stop();
emenu2.removeMovieClip();
emenu.duplicateMovieClip("emenu2", 300);
emenu2.gotoAndStop(1);
emenu.gotoAndStop(1);
Frame 41
stop();
emenu2.removeMovieClip();
emenu.duplicateMovieClip("emenu2", 300);
emenu2.gotoAndStop(2);
emenu.gotoAndStop(2);
Symbol 8 MovieClip Frame 2
var byteload = _root.getBytesLoaded();
var bytetotal = _root.getBytesTotal();
var percentloaded = Math.round((byteload / bytetotal) * 100);
output = percentloaded + "% LOADED";
bar._xscale = percentloaded;
if (99 < percentloaded) {
_parent.play();
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 16 MovieClip Frame 1
stop();
Symbol 16 MovieClip Frame 2
stop();
Symbol 21 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 10
gotoAndPlay (1);
Symbol 21 MovieClip Frame 30
stop();
Symbol 21 MovieClip Frame 36
gotoAndPlay (31);
Symbol 30 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 1
stop();
Symbol 39 MovieClip Frame 1
stop();
Symbol 39 MovieClip Frame 2
stop();
Symbol 39 MovieClip Frame 3
stop();
Symbol 39 MovieClip Frame 4
stop();
Symbol 39 MovieClip Frame 5
stop();
Symbol 39 MovieClip Frame 6
stop();
Symbol 40 MovieClip Frame 1
body.gotoAndStop(1);
stop();
Symbol 40 MovieClip Frame 2
body.gotoAndStop(2);
stop();
Symbol 40 MovieClip Frame 3
body.gotoAndStop(3);
stop();
Symbol 40 MovieClip Frame 4
body.gotoAndStop(4);
stop();
Symbol 40 MovieClip Frame 5
body.gotoAndStop(5);
stop();
Symbol 40 MovieClip Frame 6
body.gotoAndStop(6);
stop();
Symbol 42 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 62 Button
on (release) {
_root.cpulevel = 18 - (_root.diflevel * 3);
_root.humanplayers = 1;
_root.gotoAndPlay("choose");
}
Symbol 64 Button
on (press) {
difbar.startDrag(true, -241.9, 21, -86.9, 21);
}
on (release) {
difbar.stopDrag();
difbar._x = _root.emenu2._xmouse;
_root.diflevel = Math.floor((_root.emenu2._xmouse + 241.9) / 22.1);
if (_root.diflevel < 0) {
_root.diflevel = 0;
}
if (6 < _root.diflevel) {
_root.diflevel = 6;
}
if (_root.diflevel == 0) {
dif = "touched";
} else if (_root.diflevel == 1) {
dif = "simple";
} else if (_root.diflevel == 2) {
dif = "easy";
} else if (_root.diflevel == 3) {
dif = "medium";
} else if (_root.diflevel == 4) {
dif = "tricky";
} else if (_root.diflevel == 5) {
dif = "hard";
} else if (_root.diflevel == 6) {
dif = "bastard";
}
}
Symbol 72 Button
on (release) {
_root.humanplayers = 2;
_root.gotoAndStop("choose");
}
Symbol 76 Button
on (release) {
gotoAndStop (10);
}
Symbol 88 Button
on (release) {
gotoAndStop (1);
}
Symbol 102 MovieClip Frame 1
dif = "difficulty...";
stop();
Instance of Symbol 66 MovieClip "difbar" in Symbol 102 MovieClip Frame 1
/* no clip actions */
Symbol 102 MovieClip Frame 10
stop();
Symbol 106 Button
on (release) {
_root.p1type++;
if (6 < _root.p1type) {
_root.p1type = 1;
}
p1.gotoAndStop(_root.p1type);
p1name = ("'" + _root.names[_root.p1type - 1]) + "'";
}
Symbol 107 Button
on (release) {
_root.p1type--;
if (_root.p1type < 1) {
_root.p1type = 6;
}
p1.gotoAndStop(_root.p1type);
p1name = ("'" + _root.names[_root.p1type - 1]) + "'";
}
Symbol 108 Button
on (release) {
_root.p2type++;
if (6 < _root.p2type) {
_root.p2type = 1;
}
p2.gotoAndStop(_root.p2type);
p2name = ("'" + _root.names[_root.p2type - 1]) + "'";
}
Symbol 109 Button
on (release) {
_root.p2type--;
if (_root.p2type < 1) {
_root.p2type = 6;
}
p2.gotoAndStop(_root.p2type);
p2name = ("'" + _root.names[_root.p2type - 1]) + "'";
}
Symbol 117 Button
on (release) {
_root.gotoAndPlay(26);
}
Symbol 119 Button
on (release) {
_root.mheight = _root.mheight - 5;
if (_root.mheight < 5) {
_root.mheight = 5;
}
nop = _root.mheight;
}
Symbol 120 Button
on (release) {
_root.mheight = _root.mheight + 5;
if (20 < _root.mheight) {
_root.mheight = 20;
}
nop = _root.mheight;
}
Symbol 122 MovieClip Frame 1
p1.body._rotation = 90;
p1.gotoAndStop(_root.p1type);
p2.body._rotation = 90;
p2.gotoAndStop(_root.p2type);
p1name = ("'" + _root.names[_root.p1type - 1]) + "'";
p2name = ("'" + _root.names[_root.p2type - 1]) + "'";
nop = _root.mheight;
stop();
Symbol 141 Button
on (release) {
_root.gotoAndPlay(26);
}
Symbol 145 Button
on (release) {
_root.gotoAndPlay(10);
}
Symbol 149 Button
on (release) {
gotoAndStop (3);
}
Symbol 158 Button
on (release) {
getURL ("http://www.mortalbug.com");
}
Symbol 163 Button
on (release) {
getURL ("mailto:phil.hoskins@eidosnet.co.uk");
}