Frame 1
function fire() {
var _local1 = glaiel.head._rotation;
((glaiel._xscale < 0) ? (_local1 = (_local1 + 180) * -1) : null);
_local1 = _local1 + 90;
duplicateMovieClip (bclip.ball, "b" + bnmbr, bnmbr);
bclip["b" + bnmbr]._x = glaiel._x + (35 * Math.sin(_local1 * (Math.PI/180)));
bclip["b" + bnmbr]._y = glaiel._y - (35 * Math.cos(_local1 * (Math.PI/180)));
bclip["b" + bnmbr].xspeed = force * Math.sin(_local1 * (Math.PI/180));
bclip["b" + bnmbr].yspeed = (-1 * force) * Math.cos(_local1 * (Math.PI/180));
bclip["b" + bnmbr].dmg = 10;
bnmbr++;
force = 1;
}
function fire2() {
var _local1 = tankid.rrr + tankid._rotation;
((tankid._xscale < 0) ? (_local1 = _local1 - (tankid._rotation * 2)) : null);
((tankid._xscale < 0) ? (_local1 = (_local1 + 180) * -1) : null);
_local1 = _local1 + 90;
duplicateMovieClip (bclip.ball2, "b2" + bnmbr, bnmbr);
bclip["b2" + bnmbr]._x = tankid._x + (80 * Math.sin(_local1 * (Math.PI/180)));
bclip["b2" + bnmbr]._y = tankid._y - (80 * Math.cos(_local1 * (Math.PI/180)));
bclip["b2" + bnmbr].xspeed = force * Math.sin(_local1 * (Math.PI/180));
bclip["b2" + bnmbr].yspeed = (-1 * force) * Math.cos(_local1 * (Math.PI/180));
bclip["b2" + bnmbr].dmg = 20;
bnmbr++;
force = 1;
}
function fire3() {
duplicateMovieClip (bclip.ball3, "b3" + bnmbr, bnmbr);
bclip["b3" + bnmbr]._x = tankid._x;
bclip["b3" + bnmbr]._y = tankid._y + 40;
bclip["b3" + bnmbr].xspeed = 0;
bclip["b3" + bnmbr].yspeed = 0;
bclip["b3" + bnmbr].dmg = 5;
bnmbr++;
force = 1;
}
exnmbr = 1000;
bnmbr = 1;
enmbr = 2;
force = 1;
tankid = "none";
heilid = "none";
score = 0;
lives = 8;
stop();
bclip.swapDepths(1);
eclip.swapDepths(9901);
function hit(tgt, life) {
if (life == false) {
for (var _local2 in eclip) {
if (tgt.box.hitTest(eclip[_local2]) && (eclip[_local2]._currentframe == 1)) {
intExpl(tgt._x, tgt._y, true);
removeMovieClip(tgt);
score = score + 15;
}
}
for (var _local2 in bclip) {
if (tgt.box.hitTest(bclip[_local2]) && (bclip[_local2].id == 1)) {
intExpl(tgt._x, tgt._y, true);
removeMovieClip(tgt);
score = score + 15;
bclip[_local2].bnmbr = -100;
}
}
} else {
for (var _local2 in eclip) {
if (tgt.box.hitTest(eclip[_local2]) && (eclip[_local2]._currentframe == 1)) {
tgt.life = tgt.life - 5;
}
}
for (var _local2 in bclip) {
if ((tgt.box.hitTest(bclip[_local2]) && (bclip[_local2].dmg != 5.1)) && (bclip[_local2].dmg != undefined)) {
tgt.life = tgt.life - bclip[_local2].dmg;
bclip[_local2].bnmbr = -100;
}
}
}
}
function hit2(tgt, life) {
if (life == false) {
for (var _local2 in eclip) {
if ((tgt.box.hitTest(eclip[_local2]) && (eclip[_local2]._currentframe == 1)) && (eclip[_local2].id == 1)) {
tgt.dead = true;
tgt._visible = false;
intExpl(tgt._x, tgt._y, false);
}
}
for (var _local2 in bclip) {
if (tgt.box.hitTest(bclip[_local2]) && (bclip[_local2].id == 0)) {
intExpl(tgt._x, tgt._y, false);
tgt.dead = true;
tgt._visible = false;
bclip[_local2].bnmbr = -100;
}
}
} else {
for (var _local2 in eclip) {
if ((tgt.box.hitTest(eclip[_local2]) && (eclip[_local2]._currentframe == 1)) && (eclip[_local2].id == 1)) {
tgt.life = tgt.life - 5;
}
}
for (var _local2 in bclip) {
if ((tgt.box.hitTest(bclip[_local2]) && (bclip[_local2].dmg != 5)) && (bclip[_local2].dmg != undefined)) {
tgt.life = tgt.life - bclip[_local2].dmg;
bclip[_local2].bnmbr = -100;
}
}
}
}
function intExpl(x, y, enem) {
if (enem) {
duplicateMovieClip (p2, "p" + pnmbr, pnmbr);
_root["p" + pnmbr]._x = x;
_root["p" + pnmbr]._y = y;
_root["p" + pnmbr].xspeed = (Math.random() * 20) - 10;
_root["p" + pnmbr].yspeed = Math.random() * -10;
pnmbr++;
duplicateMovieClip (p3, "p" + pnmbr, pnmbr);
_root["p" + pnmbr]._x = x;
_root["p" + pnmbr]._y = y;
_root["p" + pnmbr].xspeed = (Math.random() * 20) - 10;
_root["p" + pnmbr].yspeed = Math.random() * -10;
pnmbr++;
duplicateMovieClip (p4, "p" + pnmbr, pnmbr);
_root["p" + pnmbr]._x = x;
_root["p" + pnmbr]._y = y;
_root["p" + pnmbr].xspeed = (Math.random() * 20) - 10;
_root["p" + pnmbr].yspeed = Math.random() * -10;
pnmbr++;
} else {
duplicateMovieClip (p5, "p" + pnmbr, pnmbr);
_root["p" + pnmbr]._x = x;
_root["p" + pnmbr]._y = y;
_root["p" + pnmbr].xspeed = (Math.random() * 20) - 10;
_root["p" + pnmbr].yspeed = Math.random() * -10;
pnmbr++;
duplicateMovieClip (p6, "p" + pnmbr, pnmbr);
_root["p" + pnmbr]._x = x;
_root["p" + pnmbr]._y = y;
_root["p" + pnmbr].xspeed = (Math.random() * 20) - 10;
_root["p" + pnmbr].yspeed = Math.random() * -10;
pnmbr++;
}
duplicateMovieClip (p1, "p" + pnmbr, pnmbr);
_root["p" + pnmbr]._x = x;
_root["p" + pnmbr]._y = y;
_root["p" + pnmbr].xspeed = (Math.random() * 20) - 10;
_root["p" + pnmbr].yspeed = Math.random() * -10;
pnmbr++;
}
pnmbr = 9902;
Instance of Symbol 27 MovieClip "bd" in Frame 1
onClipEvent (load) {
grav = 1;
gspeed = 0;
_visible = false;
}
onClipEvent (enterFrame) {
_y = (_y + gspeed);
if (_root.land.hitTest(_x, _y, true)) {
while (_root.land.hitTest(_x, _y, true)) {
_y = (_y - (1 * Math.cos(_root.tank1._rotation * (Math.PI/180))));
_x = (_x + (1 * Math.sin(_root.tank1._rotation * (Math.PI/180))));
}
gspeed = 0;
_root.grounded = true;
}
gspeed = gspeed + grav;
}
Instance of Symbol 27 MovieClip "fd" in Frame 1
onClipEvent (load) {
grav = 1;
gspeed = 0;
_visible = false;
}
onClipEvent (enterFrame) {
_y = (_y + gspeed);
if (_root.land.hitTest(_x, _y, true)) {
while (_root.land.hitTest(_x, _y, true)) {
_y = (_y - (1 * Math.cos(_root.tank1._rotation * (Math.PI/180))));
_x = (_x + (1 * Math.sin(_root.tank1._rotation * (Math.PI/180))));
}
gspeed = 0;
_root.grounded = true;
}
gspeed = gspeed + grav;
}
Instance of Symbol 29 MovieClip "nb" in Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 46 MovieClip in Frame 1
onClipEvent (enterFrame) {
tot = _root.getBytesTotal();
lod = _root.getBytesLoaded();
perc = (lod / tot) * 100;
frame = Math.floor(perc / 6.66666666666667) + 1;
gotoAndStop(frame);
_root.ball.gotoAndStop(1);
if (perc < 100) {
} else {
(_root.ball.gotoAndStop(2));// not popped
}
}
Instance of Symbol 99 MovieClip "glaiel" in Frame 1
onClipEvent (load) {
speed = 5;
h = _height / 2;
w = _width / 3;
grounded = false;
yspeed = 0;
grav = 1;
jump = -30;
cx = _x;
cy = _y;
falling = true;
sdown = false;
dead = false;
dtime = 50;
flashing = 60;
bool = true;
dead = false;
savedrot = 0;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_root.tankid == "none") {
if (flashing >= 0) {
bool = !bool;
_visible = bool;
if (flashing == 0) {
_visible = true;
}
flashing--;
}
if (!grounded) {
yspeed = yspeed + grav;
((yspeed > 15) ? ((yspeed = 15)) : null);
_y = (_y + yspeed);
}
if (this._currentframe != 4) {
if (Key.isDown(37)) {
_xscale = -100;
_x = (_x - speed);
if (this._currentframe == 3) {
} else {
(this.gotoAndStop(2));// not popped
}
}
if (Key.isDown(39)) {
_xscale = 100;
_x = (_x + speed);
if (this._currentframe == 3) {
} else {
(this.gotoAndStop(2));// not popped
}
}
if ((Key.isDown(65) && (this._currentframe != 3)) && (grounded)) {
this.gotoAndStop(3);
}
}
if (((Key.isDown(65) && (this._currentframe == 3)) && (grounded)) && (this.jp._currentframe > 17)) {
this.jp.gotoAndPlay(2);
}
if (((Key.isDown(83) && (sdown == false)) && (_currentframe != 4)) && (!((_currentframe == 3) && (jp._currentframe < 8)))) {
this.gotoAndStop(4);
head._rotation = savedrot;
sdown = true;
}
if ((!Key.isDown(83)) && (sdown == true)) {
head.h.gotoAndPlay("fire");
savedrot = head._rotation;
sdown = false;
}
if (sdown) {
(Key.isDown(38) ? ((head._rotation = head._rotation - 5)) : null);
(Key.isDown(40) ? ((head._rotation = head._rotation + 5)) : null);
((head._rotation > 45) ? ((head._rotation = 45)) : null);
((head._rotation < -70) ? ((head._rotation = -70)) : null);
((_root.force < 20) ? ((_root.force = _root.force + 0.5)) : null);
head.h.feet._rotation = -1 * head._rotation;
}
while (_root.land.hitTest(_x, _y - h, true)) {
_y = (_y + 0.1);
}
while (_root.land.hitTest(_x + w, _y, true)) {
_x = (_x - 0.1);
}
while (_root.land.hitTest(_x - w, _y, true)) {
_x = (_x + 0.1);
}
((yspeed > 0) ? ((falling = true)) : null);
if (_root.land.hitTest(_x, _y + h, true) && (falling == true)) {
((this._currentframe == 3) ? (jp.play()) : null);
grounded = true;
yspeed = 0;
falling = false;
} else {
grounded = false;
}
while (_root.land.hitTest(_x, _y + h, true)) {
_y = (_y - 0.1);
}
if (!((((!Key.isDown(39)) && (!Key.isDown(37))) && (this._currentframe != 3)) && (this._currentframe != 4))) {
} else {
(this.gotoAndStop(1));// not popped
}
} else if (Key.isDown(65)) {
this.gotoAndStop(3);
jp.gotoAndPlay(3);
_x = _root.tankid._x;
_y = (_root.tankid._y - 29);
_root.tankid = "none";
_visible = true;
}
} else {
_root.tankid = "none";
_visible = false;
dtime = dtime - 1;
((dtime < 0) ? (_visible = truetrue(dead = false)(flashing = 60)(dtime = 50)(_root.lives = _root.lives - 1)) : null);
}
}
Instance of Symbol 193 MovieClip "copt" in Frame 1
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
w = _width / 3;
h = _height / 2;
grav = 1;
sdown = false;
maxlife = 15000;
life = 15000;
time = 0;
s = new Sound(this);
s.attachSound("heli");
s.setVolume(300);
}
onClipEvent (enterFrame) {
if ((_root.tankid == this) && (life >= 0)) {
this.gotoAndStop(1);
if (!((((xspeed < -1) && (Key.isDown(37))) && (_xscale > 0)) && (hc._currentframe == 1))) {
} else {
(hc.gotoAndStop(2));// not popped
}
if (!((((xspeed > 1) && (Key.isDown(39))) && (_xscale < 0)) && (hc._currentframe == 1))) {
} else {
(hc.gotoAndStop(2));// not popped
}
if (Key.isDown(37)) {
xspeed = xspeed - 1;
}
if (Key.isDown(39)) {
xspeed = xspeed + 1;
}
if (Key.isDown(38)) {
yspeed = yspeed - 1;
}
if (Key.isDown(40)) {
yspeed = yspeed + 1;
}
time--;
if ((Key.isDown(83) && (sdown == false)) && (time <= 0)) {
_root.fire3();
sdown = true;
time = 10;
}
((!Key.isDown(83)) ? ((sdown = false)) : null);
}
if (life >= 0) {
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
((xspeed > 10) ? ((xspeed = 10)) : null);
((xspeed < -10) ? ((xspeed = -10)) : null);
((yspeed > 10) ? ((yspeed = 10)) : null);
((yspeed < -10) ? ((yspeed = -10)) : null);
_x = (_x + xspeed);
_y = (_y + yspeed);
_rotation = ((xspeed + yspeed) * 2);
((_xscale < 0) ? (_rotation = ((xspeed - yspeed) * 2)(xspeed - yspeed) * 2) : null);
if (_root.land.hitTest(_x + w, _y - (h / 2), true) || (_root.land.hitTest(_x + w, _y + (h / 2), true))) {
xspeed = xspeed * -0.9;
}
if (_root.land.hitTest(_x - w, _y - (h / 2), true) || (_root.land.hitTest(_x - w, _y + (h / 2), true))) {
xspeed = xspeed * -0.9;
}
while (_root.land.hitTest(_x + w, _y - (h / 2), true) || (_root.land.hitTest(_x + w, _y + (h / 2), true))) {
_x = (_x - 0.1);
}
while (_root.land.hitTest(_x - w, _y - (h / 2), true) || (_root.land.hitTest(_x - w, _y + (h / 2), true))) {
_x = (_x + 0.1);
}
if (_root.land.hitTest(_x + (w / 2), _y + h, true) || (_root.land.hitTest(_x - (w / 2), _y + h, true))) {
yspeed = yspeed * -0.9;
}
if ((_root.land.hitTest(_x + (w / 2), _y - h, true) || (_root.land.hitTest(_x - (w / 2), _y - h, true))) || (_y < _root.nb._y)) {
yspeed = yspeed * -0.9;
}
while (_root.land.hitTest(_x + (w / 2), _y + h, true) || (_root.land.hitTest(_x - (w / 2), _y + h, true))) {
_y = (_y - 0.1);
}
while ((_root.land.hitTest(_x + (w / 2), _y - h, true) || (_root.land.hitTest(_x - (w / 2), _y - h, true))) || (_y < _root.nb._y)) {
_y = (_y + 0.1);
}
}
if (_root.tankid == this) {
_root.glaiel._x = _x;
_root.glaiel._y = _y;
} else {
s.stop();
if (life >= 0) {
if (this.hitTest(_root.glaiel) && (Key.isDown(68))) {
_root.tankid = this;
_root.glaiel._visible = false;
s.start(0, 999999);
}
yspeed = yspeed + grav;
this.gotoAndStop(2);
}
}
if (this._currentframe <= 2) {
_root.hit2(this, true);
if (life <= 0) {
this.gotoAndStop(3);
life = -100;
}
}
if (this._currentframe == 3) {
yspeed = yspeed + grav;
_x = (_x + xspeed);
_y = (_y + yspeed);
((xspeed > 10) ? ((xspeed = 10)) : null);
((xspeed < -10) ? ((xspeed = -10)) : null);
((yspeed > 10) ? ((yspeed = 10)) : null);
((yspeed < -10) ? ((yspeed = -10)) : null);
s.stop();
((_root.tankid == this) ? ((_root.tankid = "none")_root.glaiel.gotoAndStop(3)_root.glaiel.jp.gotoAndPlay(4)(_root.glaiel.flashing = 50)) : null);
if (_root.land.hitTest(_x + (w / 2), _y + h, true) || (_root.land.hitTest(_x - (w / 2), _y + h, true))) {
duplicateMovieClip (_root.eclip.expl0, "e" + _root.exnmbr, _root.exnmbr);
_root.eclip["e" + _root.exnmbr]._x = _x;
_root.eclip["e" + _root.exnmbr]._y = _y;
_root.exnmbr++;
this.swapDepths(103895);
removeMovieClip(this);
}
}
}
onClipEvent (unload) {
s.stop();
}
Instance of Symbol 227 MovieClip "tank1" in Frame 1
onClipEvent (load) {
speed = 5;
h = _height / 2;
w = _width / 5;
grounded = false;
yspeed = 0;
grav = 1;
jump = -30;
cx = _x;
cy = _y;
falling = true;
sdown = false;
wheels.stop();
rrr = 0;
maxlife = 50000;
life = 50000;
s = new Sound(this);
s.attachSound("tnx");
s.setVolume(75);
}
onClipEvent (enterFrame) {
_rotation = ((Math.atan2(_root.bd._y - _root.fd._y, _root.bd._x - _root.fd._x) / (Math.PI/180)) + 180);
_root.bd._x = (_x - (30 * Math.sin((_rotation + 90) * (Math.PI/180)))) + (29 * Math.sin((_rotation + 180) * (Math.PI/180)));
_root.bd._y = (_y + (30 * Math.cos((_rotation + 90) * (Math.PI/180)))) - (29 * Math.cos((_rotation + 180) * (Math.PI/180)));
_root.fd._x = (_x + (30 * Math.sin((_rotation + 90) * (Math.PI/180)))) + (29 * Math.sin((_rotation + 180) * (Math.PI/180)));
_root.fd._y = (_y - (30 * Math.cos((_rotation + 90) * (Math.PI/180)))) - (29 * Math.cos((_rotation + 180) * (Math.PI/180)));
if (!grounded) {
yspeed = yspeed + grav;
_y = (_y + yspeed);
}
wheels.stop();
if (_root.tankid == this) {
if (Key.isDown(37)) {
_xscale = -100;
_x = (_x - speed);
wheels.play();
}
if (Key.isDown(39)) {
_xscale = 100;
_x = (_x + speed);
wheels.play();
}
if ((Key.isDown(83) && (sdown == false)) && (head.tb.tur._currentframe == 1)) {
head.tb.tur.gotoAndStop(2);
sdown = true;
}
if ((!Key.isDown(83)) && (sdown == true)) {
head.tb.tur.gotoAndPlay("fire");
sdown = false;
}
(Key.isDown(38) ? ((rrr = rrr - 5)) : null);
(Key.isDown(40) ? ((rrr = rrr + 5)) : null);
((rrr > 50) ? ((rrr = 50)) : null);
((rrr < -50) ? ((rrr = -50)) : null);
if (sdown) {
((_root.force < 30) ? ((_root.force = _root.force + 1)) : null);
}
this.gotoAndStop(1);
}
while (_root.land.hitTest(_x + w, _y, true)) {
_x = (_x - 0.1);
}
while (_root.land.hitTest(_x - w, _y, true)) {
_x = (_x + 0.1);
}
((yspeed > 0) ? ((falling = true)) : null);
if (_root.land.hitTest(_x + (29 * Math.sin((_rotation + 180) * (Math.PI/180))), _y - (29 * Math.cos((_rotation + 180) * (Math.PI/180))), true) && (falling == true)) {
yspeed = 0;
falling = false;
} else {
grounded = false;
}
while (_root.land.hitTest(_x + (29 * Math.sin((_rotation + 180) * (Math.PI/180))), _y - (29 * Math.cos((_rotation + 180) * (Math.PI/180))), true)) {
_y = (_y - (0.1 * Math.cos(_rotation * (Math.PI/180))));
_x = (_x + (0.1 * Math.sin(_rotation * (Math.PI/180))));
}
if (_root.tankid == this) {
_root.glaiel._x = _x;
_root.glaiel._y = _y;
} else {
wheels.stop();
s.stop();
if (this.hitTest(_root.glaiel) && (Key.isDown(68))) {
_root.tankid = this;
_root.glaiel._visible = false;
s.start(0, 999999);
}
this.gotoAndStop(2);
}
_root.hit2(this, true);
if (life <= 0) {
s.stop();
duplicateMovieClip (_root.eclip.expl0, "e" + _root.exnmbr, _root.exnmbr);
_root.eclip["e" + _root.exnmbr]._x = _x;
_root.eclip["e" + _root.exnmbr]._y = _y;
_root.exnmbr++;
((_root.tankid == this) ? ((_root.tankid = "none")_root.glaiel.gotoAndStop(3)_root.glaiel.jp.gotoAndPlay(4)(_root.glaiel.flashing = 50)) : null);
_root.bd.swapDepths(103898);
removeMovieClip(_root.bd);
_root.fd.swapDepths(103897);
removeMovieClip(_root.fd);
this.swapDepths(103896);
removeMovieClip(this);
}
}
onClipEvent (unload) {
s.stop();
}
Instance of Symbol 231 MovieClip "eclip" in Frame 1
onClipEvent (load) {
_x = 0;
_y = 0;
}
Instance of Symbol 240 MovieClip "bclip" in Frame 1
onClipEvent (load) {
_x = 0;
_y = 0;
}
Frame 2
for (var i in _root) {
removeMovieClip(_root[i]);
}
delete onEnterFrame;
_root._xscale = 100;
_root._yscale = 100;
_root._x = 0;
_root._y = 0;
Frame 3
function fire() {
var _local1 = glaiel.head._rotation;
((glaiel._xscale < 0) ? (_local1 = (_local1 + 180) * -1) : null);
_local1 = _local1 + 90;
duplicateMovieClip (bclip.ball, "b" + bnmbr, bnmbr);
bclip["b" + bnmbr]._x = glaiel._x + (35 * Math.sin(_local1 * (Math.PI/180)));
bclip["b" + bnmbr]._y = glaiel._y - (35 * Math.cos(_local1 * (Math.PI/180)));
bclip["b" + bnmbr].xspeed = force * Math.sin(_local1 * (Math.PI/180));
bclip["b" + bnmbr].yspeed = (-1 * force) * Math.cos(_local1 * (Math.PI/180));
bclip["b" + bnmbr].dmg = 10;
bnmbr++;
force = 1;
}
function fire2() {
var _local1 = tankid.rrr + tankid._rotation;
((tankid._xscale < 0) ? (_local1 = _local1 - (tankid._rotation * 2)) : null);
((tankid._xscale < 0) ? (_local1 = (_local1 + 180) * -1) : null);
_local1 = _local1 + 90;
duplicateMovieClip (bclip.ball2, "b2" + bnmbr, bnmbr);
bclip["b2" + bnmbr]._x = tankid._x + (80 * Math.sin(_local1 * (Math.PI/180)));
bclip["b2" + bnmbr]._y = tankid._y - (80 * Math.cos(_local1 * (Math.PI/180)));
bclip["b2" + bnmbr].xspeed = force * Math.sin(_local1 * (Math.PI/180));
bclip["b2" + bnmbr].yspeed = (-1 * force) * Math.cos(_local1 * (Math.PI/180));
bclip["b2" + bnmbr].dmg = 20;
bnmbr++;
force = 1;
}
function fire3() {
duplicateMovieClip (bclip.ball3, "b3" + bnmbr, bnmbr);
bclip["b3" + bnmbr]._x = tankid._x;
bclip["b3" + bnmbr]._y = tankid._y + 40;
bclip["b3" + bnmbr].xspeed = 0;
bclip["b3" + bnmbr].yspeed = 0;
bclip["b3" + bnmbr].dmg = 5;
bnmbr++;
force = 1;
}
function efire2(tgt) {
duplicateMovieClip (bclip.eball3, "eb3" + bnmbr, bnmbr);
bclip["eb3" + bnmbr]._x = tgt._x;
bclip["eb3" + bnmbr]._y = tgt._y + 40;
bclip["eb3" + bnmbr].xspeed = 0;
bclip["eb3" + bnmbr].yspeed = 0;
bclip["eb3" + bnmbr].dmg = 5;
bnmbr++;
}
function efire(tgt, eforce) {
var _local1 = tgt.head._rotation;
((tgt._xscale < 0) ? (_local1 = (_local1 + 180) * -1) : null);
_local1 = _local1 + 90;
duplicateMovieClip (bclip.eball, "eb" + bnmbr, bnmbr);
bclip["eb" + bnmbr]._x = tgt._x + (35 * Math.sin(_local1 * (Math.PI/180)));
bclip["eb" + bnmbr]._y = tgt._y - (35 * Math.cos(_local1 * (Math.PI/180)));
bclip["eb" + bnmbr].xspeed = eforce * Math.sin(_local1 * (Math.PI/180));
bclip["eb" + bnmbr].yspeed = (-1 * eforce) * Math.cos(_local1 * (Math.PI/180));
bclip["b" + bnmbr].dmg = 10;
bnmbr++;
}
exnmbr = 1000;
bnmbr = 1;
enmbr = 2;
force = 1;
tankid = "none";
heilid = "none";
score = 0;
lives = 6;
stop();
bclip.swapDepths(1);
eclip.swapDepths(9901);
diff = 90;
nextlvl = 100;
up = 100;
onEnterFrame = function () {
eee = random(diff);
((eee == 0) ? (duplicateMovieClip (ene, "e" + enmbr, enmbr)undefinedenmbr++) : null);
eee = random(diff * 8);
((eee == 0) ? (duplicateMovieClip (ecopt, "e" + enmbr, enmbr)undefinedenmbr++) : null);
if (score > nextlvl) {
diff = diff - 1;
nextlvl = nextlvl + up;
up = up + 100;
}
((diff < 25) ? ((diff = 25)) : null);
((lives <= 0) ? (_root.play()) : null);
};
function hit(tgt, life) {
if (life == false) {
for (var _local2 in eclip) {
if (tgt.box.hitTest(eclip[_local2]) && (eclip[_local2]._currentframe <= 2)) {
intExpl(tgt._x, tgt._y, true);
removeMovieClip(tgt);
score = score + 15;
}
}
for (var _local2 in bclip) {
if (tgt.box.hitTest(bclip[_local2])) {
intExpl(tgt._x, tgt._y, true);
removeMovieClip(tgt);
score = score + 15;
bclip[_local2].bnmbr = -100;
}
}
} else {
for (var _local2 in eclip) {
if (tgt.box.hitTest(eclip[_local2]) && (eclip[_local2]._currentframe <= 2)) {
tgt.life = tgt.life - 5;
}
}
for (var _local2 in bclip) {
if ((tgt.box.hitTest(bclip[_local2]) && (bclip[_local2].dmg != 5.1)) && (bclip[_local2].dmg != undefined)) {
tgt.life = tgt.life - bclip[_local2].dmg;
bclip[_local2].bnmbr = -100;
}
}
}
}
function hit2(tgt, life) {
if (life == false) {
for (var _local2 in eclip) {
if ((tgt.box.hitTest(eclip[_local2]) && (eclip[_local2]._currentframe <= 2)) && (eclip[_local2].id == 1)) {
tgt.dead = true;
tgt._visible = false;
intExpl(tgt._x, tgt._y, false);
}
}
for (var _local2 in bclip) {
if (tgt.box.hitTest(bclip[_local2]) && (bclip[_local2].id == 0)) {
intExpl(tgt._x, tgt._y, false);
tgt.dead = true;
tgt._visible = false;
tgt.gotoAndStop(1);
bclip[_local2].bnmbr = -100;
}
}
} else {
for (var _local2 in eclip) {
if ((tgt.box.hitTest(eclip[_local2]) && (eclip[_local2]._currentframe <= 2)) && (eclip[_local2].id == 1)) {
tgt.life = tgt.life - 5;
}
}
for (var _local2 in bclip) {
if ((tgt.box.hitTest(bclip[_local2]) && (bclip[_local2].dmg != 5)) && (bclip[_local2].dmg != undefined)) {
tgt.life = tgt.life - bclip[_local2].dmg;
bclip[_local2].bnmbr = -100;
}
}
}
}
function intExpl(x, y, enem) {
if (enem) {
duplicateMovieClip (p2, "p" + pnmbr, pnmbr);
_root["p" + pnmbr]._x = x;
_root["p" + pnmbr]._y = y;
_root["p" + pnmbr].xspeed = (Math.random() * 20) - 10;
_root["p" + pnmbr].yspeed = Math.random() * -10;
pnmbr++;
duplicateMovieClip (p3, "p" + pnmbr, pnmbr);
_root["p" + pnmbr]._x = x;
_root["p" + pnmbr]._y = y;
_root["p" + pnmbr].xspeed = (Math.random() * 20) - 10;
_root["p" + pnmbr].yspeed = Math.random() * -10;
pnmbr++;
duplicateMovieClip (p4, "p" + pnmbr, pnmbr);
_root["p" + pnmbr]._x = x;
_root["p" + pnmbr]._y = y;
_root["p" + pnmbr].xspeed = (Math.random() * 20) - 10;
_root["p" + pnmbr].yspeed = Math.random() * -10;
pnmbr++;
} else {
duplicateMovieClip (p5, "p" + pnmbr, pnmbr);
_root["p" + pnmbr]._x = x;
_root["p" + pnmbr]._y = y;
_root["p" + pnmbr].xspeed = (Math.random() * 20) - 10;
_root["p" + pnmbr].yspeed = Math.random() * -10;
pnmbr++;
duplicateMovieClip (p6, "p" + pnmbr, pnmbr);
_root["p" + pnmbr]._x = x;
_root["p" + pnmbr]._y = y;
_root["p" + pnmbr].xspeed = (Math.random() * 20) - 10;
_root["p" + pnmbr].yspeed = Math.random() * -10;
pnmbr++;
}
bp = random(2);
if (bp == 1) {
duplicateMovieClip (p1, "p" + pnmbr, pnmbr);
_root["p" + pnmbr]._x = x;
_root["p" + pnmbr]._y = y;
_root["p" + pnmbr].xspeed = (Math.random() * 20) - 10;
_root["p" + pnmbr].yspeed = Math.random() * -10;
pnmbr++;
} else {
duplicateMovieClip (p7, "p" + pnmbr, pnmbr);
_root["p" + pnmbr]._x = x;
_root["p" + pnmbr]._y = y;
_root["p" + pnmbr].xspeed = (Math.random() * 20) - 10;
_root["p" + pnmbr].yspeed = Math.random() * -10;
pnmbr++;
duplicateMovieClip (p8, "p" + pnmbr, pnmbr);
_root["p" + pnmbr]._x = x;
_root["p" + pnmbr]._y = y;
_root["p" + pnmbr].xspeed = (Math.random() * 20) - 10;
_root["p" + pnmbr].yspeed = Math.random() * -10;
pnmbr++;
duplicateMovieClip (p9, "p" + pnmbr, pnmbr);
_root["p" + pnmbr]._x = x;
_root["p" + pnmbr]._y = y;
_root["p" + pnmbr].xspeed = (Math.random() * 20) - 10;
_root["p" + pnmbr].yspeed = Math.random() * -10;
pnmbr++;
duplicateMovieClip (p10, "p" + pnmbr, pnmbr);
_root["p" + pnmbr]._x = x;
_root["p" + pnmbr]._y = y;
_root["p" + pnmbr].xspeed = (Math.random() * 20) - 10;
_root["p" + pnmbr].yspeed = Math.random() * -10;
pnmbr++;
duplicateMovieClip (p11, "p" + pnmbr, pnmbr);
_root["p" + pnmbr]._x = x;
_root["p" + pnmbr]._y = y;
_root["p" + pnmbr].xspeed = (Math.random() * 20) - 10;
_root["p" + pnmbr].yspeed = Math.random() * -10;
pnmbr++;
duplicateMovieClip (p12, "p" + pnmbr, pnmbr);
_root["p" + pnmbr]._x = x;
_root["p" + pnmbr]._y = y;
_root["p" + pnmbr].xspeed = (Math.random() * 20) - 10;
_root["p" + pnmbr].yspeed = Math.random() * -10;
pnmbr++;
}
}
pnmbr = 9902;
function flag(tgt) {
tgt.gotoAndStop(tgt.side + 1);
if (tgt.hitTest(_root.glaiel)) {
if (dir == "right") {
if ((tgt._name == "flag2") || (tgt._name == "flag1")) {
tgt.side = 1;
}
if (tgt._name == "flag3") {
if (_root.flag2.side == 1) {
tgt.side = 1;
} else {
gui.la.play();
}
}
if (tgt._name == "flag4") {
if (_root.flag3.side == 1) {
tgt.side = 1;
} else {
gui.la.play();
}
}
if (tgt._name == "flag5") {
if (_root.flag4.side == 1) {
tgt.side = 1;
} else {
gui.la.play();
}
}
}
if (dir == "left") {
if ((tgt._name == "flag5") || (tgt._name == "flag4")) {
tgt.side = 1;
}
if (tgt._name == "flag3") {
if (_root.flag4.side == 1) {
tgt.side = 1;
} else {
gui.ra.play();
}
}
if (tgt._name == "flag2") {
if (_root.flag3.side == 1) {
tgt.side = 1;
} else {
gui.ra.play();
}
}
if (tgt._name == "flag1") {
if (_root.flag3.side == 1) {
tgt.side = 1;
} else {
gui.ra.play();
}
}
}
}
if (((((_root.flag1.side == 1) && (_root.flag2.side == 1)) && (_root.flag3.side == 1)) && (_root.flag4.side == 1)) && (_root.flag5.side == 1)) {
d = dir;
((d == "right") ? ((dir = "left")gui.la.play()) : ((dir = "right")gui.ra.play()));
_root.flag1.side = 0;
_root.flag2.side = 0;
_root.flag3.side = 0;
_root.flag4.side = 0;
_root.flag5.side = 0;
tgt.plus10000.play();
gui.gainp.play();
_root.score = _root.score + 10000;
}
}
dir = "right";
Instance of Symbol 272 MovieClip "p3" in Frame 3
onClipEvent (load) {
if (_name == "p3") {
stop();
_visible = flase;
} else {
_visible = true;
w = _width / 2;
h = _height / 2;
bnmbr = 3;
grav = 1;
hi = false;
nn = -100;
}
}
onClipEvent (enterFrame) {
if (_name != "p3") {
yspeed = yspeed + 1;
_x = (_x + xspeed);
_y = (_y + yspeed);
_rotation = (_rotation + xspeed);
hi = false;
b = nn;
ox = _x;
oy = _y;
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = (_y + 1);
}
}
b = nn;
if (_root.land.hitTest(_x, _y + h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x, _y + h, true) && (b < 101)) && (bnmbr >= 0)) {
_y = (_y - 1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = (_x - 1);
}
}
b = nn;
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = (_x + 1);
}
}
(hi ? ((bnmbr = bnmbr - 1)) : null);
if (bnmbr < 0) {
removeMovieClip(this);
}
}
}
Instance of Symbol 274 MovieClip "p4" in Frame 3
onClipEvent (load) {
if (_name == "p4") {
stop();
_visible = flase;
} else {
_visible = true;
w = _width / 2;
h = _height / 4;
bnmbr = 3;
grav = 1;
hi = false;
nn = -100;
}
}
onClipEvent (enterFrame) {
if (_name != "p4") {
yspeed = yspeed + 1;
_x = (_x + xspeed);
_y = (_y + yspeed);
_rotation = (_rotation + xspeed);
hi = false;
b = nn;
ox = _x;
oy = _y;
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = (_y + 1);
}
}
b = nn;
if (_root.land.hitTest(_x, _y + h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x, _y + h, true) && (b < 101)) && (bnmbr >= 0)) {
_y = (_y - 1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = (_x - 1);
}
}
b = nn;
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = (_x + 1);
}
}
(hi ? ((bnmbr = bnmbr - 1)) : null);
if (bnmbr < 0) {
removeMovieClip(this);
}
}
}
Instance of Symbol 315 MovieClip "ene" in Frame 3
onClipEvent (load) {
if (_name != "ene") {
speed = 4;
h = _height / 2;
w = _width / 3;
grounded = false;
yspeed = 0;
grav = 1;
jump = -30;
cx = _x;
cy = _y;
falling = true;
sdown = false;
keyl = false;
keyr = false;
keyu = false;
keyd = false;
keya = false;
keys = false;
forc = 1;
shooting = false;
ysp = 300;
((_root._xscale < 100) ? ((ysp = 600)) : null);
_y = _root.glaiel._y;
xa = [_root.glaiel._x - 450, _root.glaiel._x + 450];
pp = random(2);
((_root.tankid != "none") ? ((xa = [_root.glaiel._x - 900, _root.glaiel._x + 900])) : null);
if (pp == 0) {
_y = (_root.glaiel._y - ysp);
xa = [random(700) - 350, random(700) - 350];
}
_x = xa[random(2)];
((_x < _root.lb._x) ? (_x = _root.lb._x_root.lb._x_y = (_root.glaiel._y - ysp)_root.glaiel._y - ysp) : null);
((_x > _root.rb._x) ? (_x = _root.rb._x_root.rb._x_y = (_root.glaiel._y - ysp)_root.glaiel._y - ysp) : null);
while (_root.land.hitTest(_x, _y + h, true)) {
_y = (_y - 5);
}
}
}
onClipEvent (enterFrame) {
if (_name != "ene") {
((((_x < (_root.glaiel._x - 950)) || (_x > (_root.glaiel._x + 950))) || (_y > _root.sb._y)) ? (removeMovieClip(this)) : null);
_root.hit(this, false);
ox = cx;
oy = cy;
cx = _x;
cy = _y;
keya = false;
((((ox == cx) && (oy == cy)) && (keyl || (keyr))) ? ((keya = true)) : null);
gx = _root.glaiel._x;
gy = _root.glaiel._y;
keyr = false;
keyl = false;
((_x < (gx - 50)) ? ((keyr = true)) : null);
((_x > (gx + 50)) ? ((keyl = true)) : null);
if (!shooting) {
shoot = random(75);
if (shoot == 0) {
((_x < gx) ? (_xscale = 100100) : null);
((_x > gx) ? (_xscale = -100-100) : null);
shooting = true;
angle = ((Math.atan2(_y - gy, _x - gx) / (Math.PI/180)) + 180) - 23;
((_xscale < 0) ? ((angle = ((Math.atan2(_y - gy, -1 * (_x - gx)) / (Math.PI/180)) + 180) - 23)) : null);
_root.line._rotation = angle;
angle = angle + ((Math.random() * 20) - 10);
angle = _root.line._rotation;
dist = Math.sqrt(((_y - gy) * (_y - gy)) + ((_x - gx) * (_x - gx))) / 15;
((dist < 5) ? ((dist = 0)) : null);
dist = dist + ((Math.random() * 8) - 4);
((dist > 20) ? ((dist = 20)) : null);
keys = true;
}
} else {
keya = false;
keys = true;
keyu = false;
keyd = false;
((head._rotation > (angle + 5)) ? ((keyu = true)) : null);
((head._rotation < (angle - 5)) ? ((keyd = true)) : null);
((forc >= dist) ? ((keys = false)(shooting = false)) : null);
cx = cx + 500;
}
if (!grounded) {
yspeed = yspeed + grav;
((yspeed > 15) ? ((yspeed = 15)) : null);
_y = (_y + yspeed);
}
if (this._currentframe != 4) {
if (keyl) {
_xscale = -100;
_x = (_x - speed);
if (this._currentframe == 3) {
} else {
(this.gotoAndStop(2));// not popped
}
}
if (keyr) {
_xscale = 100;
_x = (_x + speed);
if (this._currentframe == 3) {
} else {
(this.gotoAndStop(2));// not popped
}
}
if ((keya && (this._currentframe != 3)) && (grounded)) {
this.gotoAndStop(3);
}
}
if (((keys && (sdown == false)) && (_currentframe != 4)) && (!((_currentframe == 3) && (jp._currentframe < 8)))) {
this.gotoAndStop(4);
sdown = true;
}
if ((!keys) && (sdown == true)) {
head.h.gotoAndPlay("fire");
sdown = false;
}
if (sdown) {
(keyu ? ((head._rotation = head._rotation - 5)) : null);
(keyd ? ((head._rotation = head._rotation + 5)) : null);
((head._rotation > 45) ? ((head._rotation = 45)) : null);
((head._rotation < -70) ? ((head._rotation = -70)) : null);
((forc < 20) ? ((forc = forc + 0.2)) : null);
head.h.feet._rotation = -1 * head._rotation;
}
while (_root.land.hitTest(_x, _y - h, true)) {
_y = (_y + 0.1);
}
while (_root.land.hitTest(_x + w, _y, true)) {
_x = (_x - 0.1);
}
while (_root.land.hitTest(_x - w, _y, true)) {
_x = (_x + 0.1);
}
((yspeed > 0) ? ((falling = true)) : null);
if (_root.land.hitTest(_x, _y + h, true) && (falling == true)) {
((this._currentframe == 3) ? (jp.play()) : null);
grounded = true;
yspeed = 0;
falling = false;
} else {
grounded = false;
}
while (_root.land.hitTest(_x, _y + h, true)) {
_y = (_y - 0.1);
}
if (!((((!keyr) && (!keyl)) && (this._currentframe != 3)) && (this._currentframe != 4))) {
} else {
(this.gotoAndStop(1));// not popped
}
}
}
Instance of Symbol 336 MovieClip "flag1" in Frame 3
onClipEvent (load) {
side = 1;
}
onClipEvent (enterFrame) {
_root.flag(this);
}
Instance of Symbol 336 MovieClip "flag3" in Frame 3
onClipEvent (load) {
side = 0;
}
onClipEvent (enterFrame) {
_root.flag(this);
}
Instance of Symbol 336 MovieClip "flag5" in Frame 3
onClipEvent (load) {
side = 0;
}
onClipEvent (enterFrame) {
_root.flag(this);
}
Instance of Symbol 336 MovieClip "flag2" in Frame 3
onClipEvent (load) {
side = 0;
}
onClipEvent (enterFrame) {
_root.flag(this);
}
Instance of Symbol 336 MovieClip "flag4" in Frame 3
onClipEvent (load) {
side = 0;
}
onClipEvent (enterFrame) {
_root.flag(this);
}
Instance of Symbol 227 MovieClip "tank1" in Frame 3
onClipEvent (load) {
speed = 5;
h = _height / 2;
w = _width / 5;
grounded = false;
yspeed = 0;
grav = 1;
jump = -30;
cx = _x;
cy = _y;
falling = true;
sdown = false;
wheels.stop();
rrr = 0;
maxlife = 500;
life = 500;
s = new Sound(this);
s.attachSound("tnx");
s.setVolume(75);
}
onClipEvent (enterFrame) {
_rotation = ((Math.atan2(_root.bd._y - _root.fd._y, _root.bd._x - _root.fd._x) / (Math.PI/180)) + 180);
_root.bd._x = (_x - (30 * Math.sin((_rotation + 90) * (Math.PI/180)))) + (29 * Math.sin((_rotation + 180) * (Math.PI/180)));
_root.bd._y = (_y + (30 * Math.cos((_rotation + 90) * (Math.PI/180)))) - (29 * Math.cos((_rotation + 180) * (Math.PI/180)));
_root.fd._x = (_x + (30 * Math.sin((_rotation + 90) * (Math.PI/180)))) + (29 * Math.sin((_rotation + 180) * (Math.PI/180)));
_root.fd._y = (_y - (30 * Math.cos((_rotation + 90) * (Math.PI/180)))) - (29 * Math.cos((_rotation + 180) * (Math.PI/180)));
if (!grounded) {
yspeed = yspeed + grav;
_y = (_y + yspeed);
}
wheels.stop();
if (_root.tankid == this) {
if (Key.isDown(37)) {
_xscale = -100;
_x = (_x - speed);
wheels.play();
}
if (Key.isDown(39)) {
_xscale = 100;
_x = (_x + speed);
wheels.play();
}
if ((Key.isDown(83) && (sdown == false)) && (head.tb.tur._currentframe == 1)) {
head.tb.tur.gotoAndStop(2);
sdown = true;
}
if ((!Key.isDown(83)) && (sdown == true)) {
head.tb.tur.gotoAndPlay("fire");
sdown = false;
}
(Key.isDown(38) ? ((rrr = rrr - 5)) : null);
(Key.isDown(40) ? ((rrr = rrr + 5)) : null);
((rrr > 50) ? ((rrr = 50)) : null);
((rrr < -50) ? ((rrr = -50)) : null);
if (sdown) {
((_root.force < 30) ? ((_root.force = _root.force + 1)) : null);
}
this.gotoAndStop(1);
}
while (_root.land.hitTest(_x + w, _y, true)) {
_x = (_x - 0.1);
}
while (_root.land.hitTest(_x - w, _y, true)) {
_x = (_x + 0.1);
}
((yspeed > 0) ? ((falling = true)) : null);
if (_root.land.hitTest(_x + (29 * Math.sin((_rotation + 180) * (Math.PI/180))), _y - (29 * Math.cos((_rotation + 180) * (Math.PI/180))), true) && (falling == true)) {
yspeed = 0;
falling = false;
} else {
grounded = false;
}
while (_root.land.hitTest(_x + (29 * Math.sin((_rotation + 180) * (Math.PI/180))), _y - (29 * Math.cos((_rotation + 180) * (Math.PI/180))), true)) {
_y = (_y - (0.1 * Math.cos(_rotation * (Math.PI/180))));
_x = (_x + (0.1 * Math.sin(_rotation * (Math.PI/180))));
}
if (_root.tankid == this) {
_root.glaiel._x = _x;
_root.glaiel._y = _y;
} else {
wheels.stop();
s.stop();
if (this.hitTest(_root.glaiel) && (Key.isDown(68))) {
_root.tankid = this;
_root.glaiel._visible = false;
s.start(0, 999999);
}
this.gotoAndStop(2);
}
_root.hit2(this, true);
if (life <= 0) {
s.stop();
duplicateMovieClip (_root.eclip.expl0, "e" + _root.exnmbr, _root.exnmbr);
_root.eclip["e" + _root.exnmbr]._x = _x;
_root.eclip["e" + _root.exnmbr]._y = _y;
_root.exnmbr++;
((_root.tankid == this) ? ((_root.tankid = "none")_root.glaiel.gotoAndStop(3)_root.glaiel.jp.gotoAndPlay(4)(_root.glaiel.flashing = 50)) : null);
_root.bd.swapDepths(103898);
removeMovieClip(_root.bd);
_root.fd.swapDepths(103897);
removeMovieClip(_root.fd);
this.swapDepths(103896);
removeMovieClip(this);
}
}
Instance of Symbol 193 MovieClip "ecopt" in Frame 3
onClipEvent (load) {
if (_name != "ecopt") {
xspeed = 0;
yspeed = 0;
w = _width / 3;
h = _height / 2;
grav = 1;
sdown = false;
maxlife = 40;
life = 40;
keyu = false;
keyr = false;
keyl = false;
keyd = false;
keys = false;
ysp = 300;
((_root._xscale < 100) ? ((ysp = 600)) : null);
_y = _root.glaiel._y;
xa = [_root.glaiel._x - 450, _root.glaiel._x + 450];
((_root.tankid != "none") ? ((xa = [_root.glaiel._x - 900, _root.glaiel._x + 900])) : null);
_x = xa[random(2)];
((_x < _root.lb._x) ? (_x = xa[1]xa[1]) : null);
((_x > _root.rb._x) ? (_x = xa[0]xa[0]) : null);
while (_root.land.hitTest(_x + (w / 2), _y + h, true) || (_root.land.hitTest(_x - (w / 2), _y + h, true))) {
_y = (_y - 5);
}
s2 = new Sound(this);
s2.attachSound("heli");
s2.setVolume(0);
s2.setPan(0);
s2.start(0, 999999);
}
}
onClipEvent (enterFrame) {
if (_name != "ecopt") {
xdist = _root.glaiel.cx - _x;
ydist = _root.glaiel.cy - _y;
dist = Math.sqrt((xdist * xdist) + (ydist * ydist));
invd = 200 - (dist / 3);
((invd < 0) ? ((invd = 0)) : null);
((invd > 150) ? ((invd = 150)) : null);
s2.setVolume(invd * 2);
s2.setPan(xdist / -5);
pp = random(2);
if (pp == 0) {
keyu = false;
keyr = false;
keyl = false;
keyd = false;
keys = false;
((_x < (_root.glaiel._x + 30)) ? ((keyr = true)) : null);
((_x > (_root.glaiel._x - 30)) ? ((keyl = true)) : null);
if (_root.tankid != _level0.copt) {
((_y < (_root.glaiel._y - 180)) ? ((keyd = true)) : null);
((_y > (_root.glaiel._y - 180)) ? ((keyu = true)) : null);
} else {
((_y < (_root.glaiel._y - 100)) ? ((keyd = true)) : null);
((_y > (_root.glaiel._y - 100)) ? ((keyu = true)) : null);
}
}
pp = random(60);
(((((pp == 0) && (_x < (_root.glaiel._x + 100))) && (_x > (_root.glaiel._x - 100))) && (_y < _root.glaiel._y)) ? ((keys = true)) : null);
((((_x < (_root.glaiel._x - 950)) || (_x > (_root.glaiel._x + 950))) || (_y > _root.sb._y)) ? (removeMovieClip(this)) : null);
if (life >= 0) {
if (!((((xspeed < -1) && (keyl)) && (_xscale > 0)) && (hc._currentframe == 1))) {
} else {
(hc.gotoAndStop(2));// not popped
}
if (!((((xspeed > 1) && (keyr)) && (_xscale < 0)) && (hc._currentframe == 1))) {
} else {
(hc.gotoAndStop(2));// not popped
}
this.gotoAndStop(1);
if (keyl) {
xspeed = xspeed - 1;
}
if (keyr) {
xspeed = xspeed + 1;
}
if (keyu) {
yspeed = yspeed - 1;
}
if (keyd) {
yspeed = yspeed + 1;
}
if (keys && (sdown == false)) {
_root.efire2(this);
sdown = true;
}
((!keys) ? ((sdown = false)) : null);
}
if (life >= 0) {
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
((xspeed > 6) ? ((xspeed = 6)) : null);
((xspeed < -6) ? ((xspeed = -6)) : null);
((yspeed > 6) ? ((yspeed = 6)) : null);
((yspeed < -6) ? ((yspeed = -6)) : null);
_x = (_x + xspeed);
_y = (_y + yspeed);
_rotation = ((xspeed + yspeed) * 2);
((_xscale < 0) ? (_rotation = ((xspeed - yspeed) * 2)(xspeed - yspeed) * 2) : null);
if (_root.land.hitTest(_x + w, _y - (h / 2), true) || (_root.land.hitTest(_x + w, _y + (h / 2), true))) {
xspeed = xspeed * -0.9;
}
if (_root.land.hitTest(_x - w, _y - (h / 2), true) || (_root.land.hitTest(_x - w, _y + (h / 2), true))) {
xspeed = xspeed * -0.9;
}
while (_root.land.hitTest(_x + w, _y - (h / 2), true) || (_root.land.hitTest(_x + w, _y + (h / 2), true))) {
_x = (_x - 0.1);
}
while (_root.land.hitTest(_x - w, _y - (h / 2), true) || (_root.land.hitTest(_x - w, _y + (h / 2), true))) {
_x = (_x + 0.1);
}
if (_root.land.hitTest(_x + (w / 2), _y + h, true) || (_root.land.hitTest(_x - (w / 2), _y + h, true))) {
yspeed = yspeed * -0.9;
}
if ((_root.land.hitTest(_x + (w / 2), _y - h, true) || (_root.land.hitTest(_x - (w / 2), _y - h, true))) || (_y < _root.nb._y)) {
yspeed = yspeed * -0.9;
}
while (_root.land.hitTest(_x + (w / 2), _y + h, true) || (_root.land.hitTest(_x - (w / 2), _y + h, true))) {
_y = (_y - 0.1);
}
while ((_root.land.hitTest(_x + (w / 2), _y - h, true) || (_root.land.hitTest(_x - (w / 2), _y - h, true))) || (_y < _root.nb._y)) {
_y = (_y + 0.1);
}
}
if (this._currentframe <= 2) {
_root.hit(this, true);
if (life <= 0) {
this.gotoAndStop(3);
life = -100;
}
}
if (this._currentframe == 3) {
yspeed = yspeed + grav;
_x = (_x + xspeed);
_y = (_y + yspeed);
((xspeed > 10) ? ((xspeed = 10)) : null);
((xspeed < -10) ? ((xspeed = -10)) : null);
((yspeed > 10) ? ((yspeed = 10)) : null);
((yspeed < -10) ? ((yspeed = -10)) : null);
s2.stop();
if (_root.land.hitTest(_x + (w / 2), _y + h, true) || (_root.land.hitTest(_x - (w / 2), _y + h, true))) {
duplicateMovieClip (_root.eclip.expl0, "e" + _root.exnmbr, _root.exnmbr);
_root.eclip["e" + _root.exnmbr]._x = _x;
_root.eclip["e" + _root.exnmbr]._y = _y;
_root.exnmbr++;
_root.score = _root.score + 100;
this.swapDepths(103895);
removeMovieClip(this);
}
}
}
}
onClipEvent (unload) {
s2.stop();
}
Instance of Symbol 29 MovieClip "nb" in Frame 3
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 29 MovieClip "sb" in Frame 3
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 29 MovieClip "lb" in Frame 3
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 29 MovieClip "rb" in Frame 3
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 193 MovieClip "copt" in Frame 3
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
w = _width / 3;
h = _height / 2;
grav = 1;
sdown = false;
maxlife = 150;
life = 150;
time = 0;
s = new Sound(this);
s.attachSound("heli");
s.setVolume(300);
}
onClipEvent (enterFrame) {
if ((_root.tankid == this) && (life >= 0)) {
this.gotoAndStop(1);
if (!((((xspeed < -1) && (Key.isDown(37))) && (_xscale > 0)) && (hc._currentframe == 1))) {
} else {
(hc.gotoAndStop(2));// not popped
}
if (!((((xspeed > 1) && (Key.isDown(39))) && (_xscale < 0)) && (hc._currentframe == 1))) {
} else {
(hc.gotoAndStop(2));// not popped
}
if (Key.isDown(37)) {
xspeed = xspeed - 1;
}
if (Key.isDown(39)) {
xspeed = xspeed + 1;
}
if (Key.isDown(38)) {
yspeed = yspeed - 1;
}
if (Key.isDown(40)) {
yspeed = yspeed + 1;
}
time--;
if ((Key.isDown(83) && (sdown == false)) && (time <= 0)) {
_root.fire3();
sdown = true;
time = 10;
}
((!Key.isDown(83)) ? ((sdown = false)) : null);
}
if (life >= 0) {
xspeed = xspeed * 0.95;
yspeed = yspeed * 0.95;
((xspeed > 10) ? ((xspeed = 10)) : null);
((xspeed < -10) ? ((xspeed = -10)) : null);
((yspeed > 10) ? ((yspeed = 10)) : null);
((yspeed < -10) ? ((yspeed = -10)) : null);
_x = (_x + xspeed);
_y = (_y + yspeed);
_rotation = ((xspeed + yspeed) * 2);
((_xscale < 0) ? (_rotation = ((xspeed - yspeed) * 2)(xspeed - yspeed) * 2) : null);
if (_root.land.hitTest(_x + w, _y - (h / 2), true) || (_root.land.hitTest(_x + w, _y + (h / 2), true))) {
xspeed = xspeed * -0.9;
}
if (_root.land.hitTest(_x - w, _y - (h / 2), true) || (_root.land.hitTest(_x - w, _y + (h / 2), true))) {
xspeed = xspeed * -0.9;
}
while (_root.land.hitTest(_x + w, _y - (h / 2), true) || (_root.land.hitTest(_x + w, _y + (h / 2), true))) {
_x = (_x - 0.1);
}
while (_root.land.hitTest(_x - w, _y - (h / 2), true) || (_root.land.hitTest(_x - w, _y + (h / 2), true))) {
_x = (_x + 0.1);
}
if (_root.land.hitTest(_x + (w / 2), _y + h, true) || (_root.land.hitTest(_x - (w / 2), _y + h, true))) {
yspeed = yspeed * -0.9;
}
if ((_root.land.hitTest(_x + (w / 2), _y - h, true) || (_root.land.hitTest(_x - (w / 2), _y - h, true))) || (_y < _root.nb._y)) {
yspeed = yspeed * -0.9;
}
while (_root.land.hitTest(_x + (w / 2), _y + h, true) || (_root.land.hitTest(_x - (w / 2), _y + h, true))) {
_y = (_y - 0.1);
}
while ((_root.land.hitTest(_x + (w / 2), _y - h, true) || (_root.land.hitTest(_x - (w / 2), _y - h, true))) || (_y < _root.nb._y)) {
_y = (_y + 0.1);
}
}
if (_root.tankid == this) {
_root.glaiel._x = _x;
_root.glaiel._y = _y;
} else {
s.stop();
if (life >= 0) {
if (this.hitTest(_root.glaiel) && (Key.isDown(68))) {
_root.tankid = this;
_root.glaiel._visible = false;
s.start(0, 999999);
}
yspeed = yspeed + grav;
this.gotoAndStop(2);
}
}
if (this._currentframe <= 2) {
_root.hit2(this, true);
if (life <= 0) {
this.gotoAndStop(3);
life = -100;
}
}
if (this._currentframe == 3) {
yspeed = yspeed + grav;
_x = (_x + xspeed);
_y = (_y + yspeed);
((xspeed > 10) ? ((xspeed = 10)) : null);
((xspeed < -10) ? ((xspeed = -10)) : null);
((yspeed > 10) ? ((yspeed = 10)) : null);
((yspeed < -10) ? ((yspeed = -10)) : null);
s.stop();
((_root.tankid == this) ? ((_root.tankid = "none")_root.glaiel.gotoAndStop(3)_root.glaiel.jp.gotoAndPlay(4)(_root.glaiel.flashing = 50)) : null);
if (_root.land.hitTest(_x + (w / 2), _y + h, true) || (_root.land.hitTest(_x - (w / 2), _y + h, true))) {
duplicateMovieClip (_root.eclip.expl0, "e" + _root.exnmbr, _root.exnmbr);
_root.eclip["e" + _root.exnmbr]._x = _x;
_root.eclip["e" + _root.exnmbr]._y = _y;
_root.exnmbr++;
this.swapDepths(103895);
removeMovieClip(this);
}
}
}
Instance of Symbol 392 MovieClip "eeee" in Frame 3
onClipEvent (load) {
if (_name == "eeee") {
stop();
}
}
Instance of Symbol 27 MovieClip "bd" in Frame 3
onClipEvent (load) {
grav = 1;
gspeed = 0;
_visible = false;
}
onClipEvent (enterFrame) {
_y = (_y + gspeed);
if (_root.land.hitTest(_x, _y, true)) {
while (_root.land.hitTest(_x, _y, true)) {
_y = (_y - (1 * Math.cos(_root.tank1._rotation * (Math.PI/180))));
_x = (_x + (1 * Math.sin(_root.tank1._rotation * (Math.PI/180))));
}
gspeed = 0;
_root.grounded = true;
}
gspeed = gspeed + grav;
}
Instance of Symbol 27 MovieClip "fd" in Frame 3
onClipEvent (load) {
grav = 1;
gspeed = 0;
_visible = false;
}
onClipEvent (enterFrame) {
_y = (_y + gspeed);
if (_root.land.hitTest(_x, _y, true)) {
while (_root.land.hitTest(_x, _y, true)) {
_y = (_y - (1 * Math.cos(_root.tank1._rotation * (Math.PI/180))));
_x = (_x + (1 * Math.sin(_root.tank1._rotation * (Math.PI/180))));
}
gspeed = 0;
_root.grounded = true;
}
gspeed = gspeed + grav;
}
Instance of Symbol 99 MovieClip "glaiel" in Frame 3
onClipEvent (load) {
speed = 5;
h = _height / 2;
w = _width / 3;
grounded = false;
yspeed = 0;
grav = 1;
jump = -30;
cx = _x;
cy = _y;
falling = true;
sdown = false;
dead = false;
dtime = 50;
flashing = 60;
bool = true;
dead = false;
savedrot = 0;
}
onClipEvent (enterFrame) {
if (!dead) {
if (_root.tankid == "none") {
if (flashing >= 0) {
bool = !bool;
_visible = bool;
if (flashing == 0) {
_visible = true;
}
flashing--;
} else {
_root.hit2(this, false);
}
if (!grounded) {
yspeed = yspeed + grav;
((yspeed > 15) ? ((yspeed = 15)) : null);
_y = (_y + yspeed);
}
if (this._currentframe != 4) {
if (Key.isDown(37)) {
_xscale = -100;
_x = (_x - speed);
if (this._currentframe == 3) {
} else {
(this.gotoAndStop(2));// not popped
}
}
if (Key.isDown(39)) {
_xscale = 100;
_x = (_x + speed);
if (this._currentframe == 3) {
} else {
(this.gotoAndStop(2));// not popped
}
}
if ((Key.isDown(65) && (this._currentframe != 3)) && (grounded)) {
this.gotoAndStop(3);
}
}
if (((Key.isDown(65) && (this._currentframe == 3)) && (grounded)) && (this.jp._currentframe > 17)) {
this.jp.gotoAndPlay(2);
}
if (((Key.isDown(83) && (sdown == false)) && (_currentframe != 4)) && (!((_currentframe == 3) && (jp._currentframe < 8)))) {
this.gotoAndStop(4);
head._rotation = savedrot;
sdown = true;
}
if ((!Key.isDown(83)) && (sdown == true)) {
head.h.gotoAndPlay("fire");
savedrot = head._rotation;
sdown = false;
}
if (sdown) {
(Key.isDown(38) ? ((head._rotation = head._rotation - 5)) : null);
(Key.isDown(40) ? ((head._rotation = head._rotation + 5)) : null);
((head._rotation > 45) ? ((head._rotation = 45)) : null);
((head._rotation < -70) ? ((head._rotation = -70)) : null);
((_root.force < 20) ? ((_root.force = _root.force + 0.5)) : null);
head.h.feet._rotation = -1 * head._rotation;
}
while (_root.land.hitTest(_x, _y - h, true)) {
_y = (_y + 0.1);
}
while (_root.land.hitTest(_x + w, _y, true)) {
_x = (_x - 0.1);
}
while (_root.land.hitTest(_x - w, _y, true)) {
_x = (_x + 0.1);
}
((yspeed > 0) ? ((falling = true)) : null);
if (_root.land.hitTest(_x, _y + h, true) && (falling == true)) {
((this._currentframe == 3) ? (jp.play()) : null);
grounded = true;
yspeed = 0;
falling = false;
} else {
grounded = false;
}
while (_root.land.hitTest(_x, _y + h, true)) {
_y = (_y - 0.1);
}
if (!((((!Key.isDown(39)) && (!Key.isDown(37))) && (this._currentframe != 3)) && (this._currentframe != 4))) {
} else {
(this.gotoAndStop(1));// not popped
}
} else if (Key.isDown(65)) {
this.gotoAndStop(3);
jp.gotoAndPlay(3);
_x = _root.tankid._x;
_y = (_root.tankid._y - 29);
_root.tankid = "none";
_visible = true;
}
xx = _x;
yy = _y;
cx = cx + ((xx - cx) / 8);
cy = cy + ((yy - cy) / 8);
if (_root.tankid != "none") {
xs = 60;
ys = 60;
} else {
xs = 100;
ys = 100;
}
_root._xscale = _root._xscale - ((_root._xscale - xs) / 8);
_root._yscale = _root._yscale - ((_root._yscale - ys) / 8);
_root._x = ((Stage.width / (2 * (_root._xscale / 100))) - cx) * (_root._xscale / 100);
_root._y = ((Stage.height / (2 * (_root._yscale / 100))) - cy) * (_root._yscale / 100);
_root.gui._x = cx;
_root.gui._y = cy;
_root.gui._xscale = 10000 / _root._xscale;
_root.gui._yscale = 10000 / _root._yscale;
} else {
_root.tankid = "none";
_visible = false;
dtime = dtime - 1;
((dtime < 0) ? (_visible = truetrue(dead = false)(flashing = 60)(dtime = 50)(_root.lives = _root.lives - 1)) : null);
}
}
Instance of Symbol 394 MovieClip "p2" in Frame 3
onClipEvent (load) {
if (_name == "p2") {
stop();
_visible = flase;
} else {
_visible = true;
w = _width / 2;
h = _height / 2;
bnmbr = 3;
grav = 1;
hi = false;
nn = -100;
}
}
onClipEvent (enterFrame) {
if (_name != "p2") {
yspeed = yspeed + 1;
_x = (_x + xspeed);
_y = (_y + yspeed);
_rotation = (_rotation + xspeed);
hi = false;
b = nn;
ox = _x;
oy = _y;
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = (_y + 1);
}
}
b = nn;
if (_root.land.hitTest(_x, _y + h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x, _y + h, true) && (b < 101)) && (bnmbr >= 0)) {
_y = (_y - 1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = (_x - 1);
}
}
b = nn;
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = (_x + 1);
}
}
(hi ? ((bnmbr = bnmbr - 1)) : null);
if (bnmbr < 0) {
removeMovieClip(this);
}
}
}
Instance of Symbol 397 MovieClip "p1" in Frame 3
onClipEvent (load) {
if (_name == "p1") {
stop();
_visible = flase;
} else {
_visible = true;
w = _width / 2;
h = _height / 2;
bnmbr = 3;
grav = 1;
hi = false;
nn = -100;
}
}
onClipEvent (enterFrame) {
if (_name != "p1") {
yspeed = yspeed + 1;
_x = (_x + xspeed);
_y = (_y + yspeed);
_rotation = (_rotation + xspeed);
hi = false;
b = nn;
ox = _x;
oy = _y;
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = (_y + 1);
}
}
b = nn;
if (_root.land.hitTest(_x, _y + h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x, _y + h, true) && (b < 101)) && (bnmbr >= 0)) {
_y = (_y - 1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = (_x - 1);
}
}
b = nn;
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = (_x + 1);
}
}
(hi ? ((bnmbr = bnmbr - 1)gotoAndStop (2)) : null);
if (bnmbr < 0) {
removeMovieClip(this);
}
}
}
Instance of Symbol 399 MovieClip "p5" in Frame 3
onClipEvent (load) {
if (_name == "p5") {
stop();
_visible = flase;
} else {
_visible = true;
w = _width / 2;
h = _height / 2;
bnmbr = 3;
grav = 1;
hi = false;
nn = -100;
}
}
onClipEvent (enterFrame) {
if (_name != "p5") {
yspeed = yspeed + 1;
_x = (_x + xspeed);
_y = (_y + yspeed);
_rotation = (_rotation + xspeed);
hi = false;
b = nn;
ox = _x;
oy = _y;
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = (_y + 1);
}
}
b = nn;
if (_root.land.hitTest(_x, _y + h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x, _y + h, true) && (b < 101)) && (bnmbr >= 0)) {
_y = (_y - 1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = (_x - 1);
}
}
b = nn;
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = (_x + 1);
}
}
(hi ? ((bnmbr = bnmbr - 1)) : null);
if (bnmbr < 0) {
removeMovieClip(this);
}
}
}
Instance of Symbol 401 MovieClip "p6" in Frame 3
onClipEvent (load) {
if (_name == "p6") {
stop();
_visible = flase;
} else {
_visible = true;
w = _width / 2;
h = _height / 2;
bnmbr = 3;
grav = 1;
hi = false;
nn = -100;
}
}
onClipEvent (enterFrame) {
if (_name != "p6") {
yspeed = yspeed + 1;
_x = (_x + xspeed);
_y = (_y + yspeed);
_rotation = (_rotation + xspeed);
hi = false;
b = nn;
ox = _x;
oy = _y;
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = (_y + 1);
}
}
b = nn;
if (_root.land.hitTest(_x, _y + h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x, _y + h, true) && (b < 101)) && (bnmbr >= 0)) {
_y = (_y - 1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = (_x - 1);
}
}
b = nn;
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = (_x + 1);
}
}
(hi ? ((bnmbr = bnmbr - 1)) : null);
if (bnmbr < 0) {
removeMovieClip(this);
}
}
}
Instance of Symbol 415 MovieClip in Frame 3
onClipEvent (load) {
swapDepths(9900);
}
Instance of Symbol 231 MovieClip "eclip" in Frame 3
onClipEvent (load) {
_x = 0;
_y = 0;
}
Instance of Symbol 240 MovieClip "bclip" in Frame 3
onClipEvent (load) {
_x = 0;
_y = 0;
}
Instance of Symbol 454 MovieClip "gui" in Frame 3
onClipEvent (load) {
swapDepths(999999);
}
Instance of Symbol 456 MovieClip "p9" in Frame 3
onClipEvent (load) {
if (_name == "p6") {
stop();
_visible = flase;
} else {
_visible = true;
w = _width / 2;
h = _height / 2;
bnmbr = 3;
grav = 1;
hi = false;
nn = -100;
}
}
onClipEvent (enterFrame) {
if (_name != "p6") {
yspeed = yspeed + 1;
_x = (_x + xspeed);
_y = (_y + yspeed);
_rotation = (_rotation + xspeed);
hi = false;
b = nn;
ox = _x;
oy = _y;
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = (_y + 1);
}
}
b = nn;
if (_root.land.hitTest(_x, _y + h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x, _y + h, true) && (b < 101)) && (bnmbr >= 0)) {
_y = (_y - 1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = (_x - 1);
}
}
b = nn;
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = (_x + 1);
}
}
(hi ? ((bnmbr = bnmbr - 1)) : null);
if (bnmbr < 0) {
removeMovieClip(this);
}
}
}
Instance of Symbol 458 MovieClip "p12" in Frame 3
onClipEvent (load) {
if (_name == "p6") {
stop();
_visible = flase;
} else {
_visible = true;
w = _width / 2;
h = _height / 2;
bnmbr = 3;
grav = 1;
hi = false;
nn = -100;
}
}
onClipEvent (enterFrame) {
if (_name != "p6") {
yspeed = yspeed + 1;
_x = (_x + xspeed);
_y = (_y + yspeed);
_rotation = (_rotation + xspeed);
hi = false;
b = nn;
ox = _x;
oy = _y;
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = (_y + 1);
}
}
b = nn;
if (_root.land.hitTest(_x, _y + h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x, _y + h, true) && (b < 101)) && (bnmbr >= 0)) {
_y = (_y - 1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = (_x - 1);
}
}
b = nn;
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = (_x + 1);
}
}
(hi ? ((bnmbr = bnmbr - 1)) : null);
if (bnmbr < 0) {
removeMovieClip(this);
}
}
}
Instance of Symbol 460 MovieClip "p7" in Frame 3
onClipEvent (load) {
if (_name == "p6") {
stop();
_visible = flase;
} else {
_visible = true;
w = _width / 2;
h = _height / 2;
bnmbr = 3;
grav = 1;
hi = false;
nn = -100;
}
}
onClipEvent (enterFrame) {
if (_name != "p6") {
yspeed = yspeed + 1;
_x = (_x + xspeed);
_y = (_y + yspeed);
_rotation = (_rotation + xspeed);
hi = false;
b = nn;
ox = _x;
oy = _y;
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = (_y + 1);
}
}
b = nn;
if (_root.land.hitTest(_x, _y + h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x, _y + h, true) && (b < 101)) && (bnmbr >= 0)) {
_y = (_y - 1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = (_x - 1);
}
}
b = nn;
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = (_x + 1);
}
}
(hi ? ((bnmbr = bnmbr - 1)) : null);
if (bnmbr < 0) {
removeMovieClip(this);
}
}
}
Instance of Symbol 462 MovieClip "p11" in Frame 3
onClipEvent (load) {
if (_name == "p6") {
stop();
_visible = flase;
} else {
_visible = true;
w = _width / 2;
h = _height / 2;
bnmbr = 3;
grav = 1;
hi = false;
nn = -100;
}
}
onClipEvent (enterFrame) {
if (_name != "p6") {
yspeed = yspeed + 1;
_x = (_x + xspeed);
_y = (_y + yspeed);
_rotation = (_rotation + xspeed);
hi = false;
b = nn;
ox = _x;
oy = _y;
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = (_y + 1);
}
}
b = nn;
if (_root.land.hitTest(_x, _y + h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x, _y + h, true) && (b < 101)) && (bnmbr >= 0)) {
_y = (_y - 1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = (_x - 1);
}
}
b = nn;
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = (_x + 1);
}
}
(hi ? ((bnmbr = bnmbr - 1)) : null);
if (bnmbr < 0) {
removeMovieClip(this);
}
}
}
Instance of Symbol 464 MovieClip "p10" in Frame 3
onClipEvent (load) {
if (_name == "p6") {
stop();
_visible = flase;
} else {
_visible = true;
w = _width / 2;
h = _height / 2;
bnmbr = 3;
grav = 1;
hi = false;
nn = -100;
}
}
onClipEvent (enterFrame) {
if (_name != "p6") {
yspeed = yspeed + 1;
_x = (_x + xspeed);
_y = (_y + yspeed);
_rotation = (_rotation + xspeed);
hi = false;
b = nn;
ox = _x;
oy = _y;
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = (_y + 1);
}
}
b = nn;
if (_root.land.hitTest(_x, _y + h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x, _y + h, true) && (b < 101)) && (bnmbr >= 0)) {
_y = (_y - 1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = (_x - 1);
}
}
b = nn;
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = (_x + 1);
}
}
(hi ? ((bnmbr = bnmbr - 1)) : null);
if (bnmbr < 0) {
removeMovieClip(this);
}
}
}
Instance of Symbol 466 MovieClip "p8" in Frame 3
onClipEvent (load) {
if (_name == "p6") {
stop();
_visible = flase;
} else {
_visible = true;
w = _width / 2;
h = _height / 2;
bnmbr = 3;
grav = 1;
hi = false;
nn = -100;
}
}
onClipEvent (enterFrame) {
if (_name != "p6") {
yspeed = yspeed + 1;
_x = (_x + xspeed);
_y = (_y + yspeed);
_rotation = (_rotation + xspeed);
hi = false;
b = nn;
ox = _x;
oy = _y;
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = (_y + 1);
}
}
b = nn;
if (_root.land.hitTest(_x, _y + h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x, _y + h, true) && (b < 101)) && (bnmbr >= 0)) {
_y = (_y - 1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = (_x - 1);
}
}
b = nn;
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = (_x + 1);
}
}
(hi ? ((bnmbr = bnmbr - 1)) : null);
if (bnmbr < 0) {
removeMovieClip(this);
}
}
}
Frame 4
for (var i in _root) {
removeMovieClip(_root[i]);
}
delete onEnterFrame;
_root._xscale = 100;
_root._yscale = 100;
_root._x = 0;
_root._y = 0;
Frame 5
stop();
Symbol 20 Button
on (release) {
getURL ("http://www.synj.net", "_blank");
}
Symbol 25 Button
on (release) {
getURL ("http://www.glaielgames.com", "_blank");
}
Instance of Symbol 64 MovieClip in Symbol 65 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
}
Symbol 83 MovieClip Frame 16
stop();
Symbol 84 MovieClip Frame 3
_parent.yspeed = _parent.jump;
_parent.jumping = true;
Symbol 84 MovieClip Frame 5
_parent.yspeed = _parent.yspeed / 3.5;
Symbol 84 MovieClip Frame 15
stop();
Symbol 84 MovieClip Frame 20
_parent.gotoAndStop(1);
Instance of Symbol 92 MovieClip in Symbol 93 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.force * 2);
}
Instance of Symbol 86 MovieClip "feet" in Symbol 97 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_parent._parent._rotation * -1);
}
Symbol 97 MovieClip Frame 4
stop();
Symbol 97 MovieClip Frame 7
_root.fire();
Symbol 97 MovieClip Frame 11
_parent._parent.gotoAndStop(1);
Symbol 99 MovieClip Frame 1
stop();
Instance of Symbol 62 MovieClip "box" in Symbol 99 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 99 MovieClip Frame 2
stop();
Symbol 99 MovieClip Frame 3
stop();
Symbol 99 MovieClip Frame 4
stop();
Symbol 114 MovieClip Frame 10
_parent._parent._xscale = _parent._parent._xscale * -1;
_parent.gotoAndStop(1);
Symbol 115 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 2
stop();
Symbol 130 MovieClip Frame 4
duplicateMovieClip (_root.eeee, "e" + _root.exnmbr, _root.exnmbr);
_root["e" + _root.exnmbr]._x = _parent._x + _x;
_root["e" + _root.exnmbr]._y = _parent._y + _y;
_root.exnmbr++;
Symbol 192 MovieClip Frame 32
removeMovieClip(this);
Symbol 193 MovieClip Frame 1
stop();
Instance of Symbol 62 MovieClip "box" in Symbol 193 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 193 MovieClip Frame 2
stop();
Symbol 193 MovieClip Frame 3
stop();
Symbol 193 MovieClip Frame 4
stop();
Instance of Symbol 221 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.force);
}
Symbol 223 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 2
stop();
Symbol 223 MovieClip Frame 3
_root.fire2();
Instance of Symbol 223 MovieClip "tur" in Symbol 224 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (-1 * _parent._parent._parent.rrr);
}
onClipEvent (load) {
_rotation = (-1 * _parent._parent._parent.rrr);
}
Symbol 227 MovieClip Frame 1
stop();
Instance of Symbol 62 MovieClip "box" in Symbol 227 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 227 MovieClip Frame 2
stop();
Symbol 228 MovieClip Frame 31
removeMovieClip(this);
Symbol 229 MovieClip Frame 31
removeMovieClip(this);
Symbol 230 MovieClip Frame 25
removeMovieClip(this);
Instance of Symbol 228 MovieClip "expl" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
id = 0;
if (_name == "expl") {
stop();
_visible = flase;
} else {
_visible = true;
}
}
Instance of Symbol 229 MovieClip "expl2" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
id = 1;
if (_name == "expl2") {
stop();
_visible = flase;
} else {
_visible = true;
}
}
Instance of Symbol 230 MovieClip "expl3" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
id = 1;
if (_name == "expl3") {
stop();
_visible = flase;
} else {
_visible = true;
}
}
Instance of Symbol 192 MovieClip "expl0" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
id = 0;
if (_name == "expl0") {
stop();
_visible = flase;
} else {
_visible = true;
}
}
Instance of Symbol 228 MovieClip "eexpl" in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
id = 1;
if (_name == "eexpl") {
stop();
_visible = flase;
} else {
_visible = true;
}
}
Instance of Symbol 233 MovieClip "ball" in Symbol 240 MovieClip Frame 1
onClipEvent (load) {
if (_name == "ball") {
stop();
_visible = flase;
} else {
_visible = true;
w = _width / 2;
h = _height / 2;
bnmbr = 2;
grav = 1;
hi = false;
nn = -100;
id = 1;
dmg = 10;
}
}
onClipEvent (enterFrame) {
if (_name != "ball") {
yspeed = yspeed + 1;
_x = (_x + xspeed);
_y = (_y + yspeed);
hi = false;
b = nn;
ox = _x;
oy = _y;
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x, _y - h, true) && (b < 101)) && (bnmbr >= 0)) {
_y = (_y + 0.1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x, _y + h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x, _y + h, true) && (b < 101)) && (bnmbr >= 0)) {
_y = (_y - 0.1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x + w, _y, true) && (b < 101)) && (bnmbr >= 0)) {
_x = (_x - 0.1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x - w, _y, true) && (b < 101)) && (bnmbr >= 0)) {
_x = (_x + 0.1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
(hi ? ((bnmbr = bnmbr - 1)) : null);
if (bnmbr < 0) {
duplicateMovieClip (_root.eclip.expl, "e" + _root.exnmbr, _root.exnmbr);
_root.eclip["e" + _root.exnmbr]._x = ox;
_root.eclip["e" + _root.exnmbr]._y = oy;
_root.exnmbr++;
removeMovieClip(this);
}
}
}
Instance of Symbol 233 MovieClip "ball2" in Symbol 240 MovieClip Frame 1
onClipEvent (load) {
if (_name == "ball2") {
stop();
_visible = flase;
} else {
_visible = true;
w = _width / 2;
h = _height / 2;
bnmbr = 1;
grav = 1;
hi = false;
nn = -100;
id = 1;
dmg = 20;
}
}
onClipEvent (enterFrame) {
if (_name != "ball2") {
yspeed = yspeed + 1;
_x = (_x + xspeed);
_y = (_y + yspeed);
hi = false;
b = nn;
ox = _x;
oy = _y;
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x, _y - h, true) && (b < 101)) && (bnmbr >= 0)) {
_y = (_y + 0.1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x, _y + h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x, _y + h, true) && (b < 101)) && (bnmbr >= 0)) {
_y = (_y - 0.1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x + w, _y, true) && (b < 101)) && (bnmbr >= 0)) {
_x = (_x - 0.1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x - w, _y, true) && (b < 101)) && (bnmbr >= 0)) {
_x = (_x + 0.1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
(hi ? ((bnmbr = bnmbr - 1)) : null);
if (bnmbr < 0) {
duplicateMovieClip (_root.eclip.expl2, "e" + _root.exnmbr, _root.exnmbr);
_root.eclip["e" + _root.exnmbr]._x = ox;
_root.eclip["e" + _root.exnmbr]._y = oy;
_root.exnmbr++;
removeMovieClip(this);
}
}
}
Instance of Symbol 235 MovieClip "ball3" in Symbol 240 MovieClip Frame 1
onClipEvent (load) {
if (_name == "ball3") {
stop();
_visible = false;
} else {
_visible = true;
w = _width / 2;
h = _height / 2;
bnmbr = 0;
grav = 0.5;
hi = false;
nn = -100;
id = 1;
dmg = 5;
}
}
onClipEvent (enterFrame) {
if (_name != "ball3") {
yspeed = yspeed + 1;
_rotation = (yspeed * -2);
((yspeed > 20) ? ((yspeed = 20)) : null);
_x = (_x + xspeed);
_y = (_y + yspeed);
hi = false;
b = nn;
ox = _x;
oy = _y;
if (_root.land.hitTest(_x, _y, true)) {
bnmbr = bnmbr - 1;
}
if (bnmbr < 0) {
duplicateMovieClip (_root.eclip.expl3, "e" + _root.exnmbr, _root.exnmbr);
_root.eclip["e" + _root.exnmbr]._x = ox;
_root.eclip["e" + _root.exnmbr]._y = oy;
_root.exnmbr++;
removeMovieClip(this);
}
}
}
Instance of Symbol 237 MovieClip "eball" in Symbol 240 MovieClip Frame 1
onClipEvent (load) {
if (_name == "eball") {
stop();
_visible = flase;
} else {
_visible = true;
w = _width / 2;
h = _height / 2;
bnmbr = 2;
grav = 1;
hi = false;
nn = -100;
id = 0;
dmg = 10;
}
}
onClipEvent (enterFrame) {
if (_name != "eball") {
yspeed = yspeed + 1;
_x = (_x + xspeed);
_y = (_y + yspeed);
hi = false;
b = nn;
ox = _x;
oy = _y;
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x, _y - h, true) && (b < 101)) && (bnmbr >= 0)) {
_y = (_y + 0.1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x, _y + h, true)) {
yspeed = yspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x, _y + h, true) && (b < 101)) && (bnmbr >= 0)) {
_y = (_y - 0.1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x + w, _y, true) && (b < 101)) && (bnmbr >= 0)) {
_x = (_x - 0.1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
b = nn;
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = xspeed * -0.9;
hi = true;
while ((_root.land.hitTest(_x - w, _y, true) && (b < 101)) && (bnmbr >= 0)) {
_x = (_x + 0.1);
b++;
if (b >= 100) {
bnmbr = bnmbr - 5;
}
}
}
(hi ? ((bnmbr = bnmbr - 1)) : null);
if (bnmbr < 0) {
duplicateMovieClip (_root.eclip.eexpl, "e" + _root.exnmbr, _root.exnmbr);
_root.eclip["e" + _root.exnmbr]._x = ox;
_root.eclip["e" + _root.exnmbr]._y = oy;
_root.exnmbr++;
removeMovieClip(this);
}
}
}
Instance of Symbol 239 MovieClip "eball3" in Symbol 240 MovieClip Frame 1
onClipEvent (load) {
if (_name == "eball3") {
stop();
_visible = flase;
} else {
_visible = true;
w = _width / 2;
h = _height / 2;
bnmbr = 0;
grav = 0.5;
hi = false;
nn = -100;
id = 0;
dmg = 5.1;
}
}
onClipEvent (enterFrame) {
if (_name != "eball3") {
yspeed = yspeed + 1;
_rotation = (yspeed * -2);
((yspeed > 20) ? ((yspeed = 20)) : null);
_x = (_x + xspeed);
_y = (_y + yspeed);
hi = false;
b = nn;
ox = _x;
oy = _y;
if (_root.land.hitTest(_x, _y, true)) {
bnmbr = bnmbr - 1;
}
if (bnmbr < 0) {
duplicateMovieClip (_root.eclip.expl3, "e" + _root.exnmbr, _root.exnmbr);
_root.eclip["e" + _root.exnmbr]._x = ox;
_root.eclip["e" + _root.exnmbr]._y = oy;
_root.exnmbr++;
removeMovieClip(this);
}
}
}
Symbol 246 Button
on (release) {
_root.play();
}
Instance of Symbol 260 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.flag2._currentframe);
}
Instance of Symbol 260 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.flag2._currentframe);
}
Instance of Symbol 277 MovieClip in Symbol 278 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
}
Symbol 283 MovieClip Frame 1
stop();
Instance of Symbol 282 MovieClip in Symbol 283 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 294 MovieClip Frame 16
stop();
Symbol 295 MovieClip Frame 4
_parent.yspeed = _parent.jump;
_parent.jumping = true;
Symbol 295 MovieClip Frame 6
_parent.yspeed = _parent.yspeed / 3.5;
Symbol 295 MovieClip Frame 16
stop();
Symbol 295 MovieClip Frame 21
_parent.gotoAndStop(1);
Instance of Symbol 311 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent._parent._parent.forc * 2);
}
Instance of Symbol 297 MovieClip "feet" in Symbol 313 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_parent._parent._rotation * -1);
}
Symbol 313 MovieClip Frame 4
stop();
Symbol 313 MovieClip Frame 7
_root.efire(_parent._parent, _parent._parent.forc);
_parent._parent.forc = 1;
Symbol 313 MovieClip Frame 11
_parent._parent.gotoAndStop(1);
Symbol 315 MovieClip Frame 1
stop();
Instance of Symbol 62 MovieClip "box" in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 315 MovieClip Frame 2
stop();
Symbol 315 MovieClip Frame 3
stop();
Symbol 315 MovieClip Frame 4
stop();
Symbol 330 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 2
stop();
Symbol 346 MovieClip Frame 1
stop();
Symbol 350 MovieClip Frame 1
stop();
Symbol 353 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 1
stop();
Symbol 376 MovieClip Frame 1
stop();
Symbol 384 MovieClip Frame 1
stop();
Instance of Symbol 339 MovieClip in Symbol 384 MovieClip Frame 1
onClipEvent (load) {
_width = (_parent._width + 200);
}
Instance of Symbol 343 MovieClip in Symbol 384 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.flag3._currentframe);
}
Instance of Symbol 350 MovieClip in Symbol 384 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.flag2._currentframe);
}
Instance of Symbol 343 MovieClip in Symbol 384 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.flag2._currentframe);
}
Instance of Symbol 353 MovieClip in Symbol 384 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.flag2._currentframe);
}
Instance of Symbol 353 MovieClip in Symbol 384 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.flag2._currentframe);
}
Instance of Symbol 343 MovieClip in Symbol 384 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.flag2._currentframe);
}
Instance of Symbol 359 MovieClip in Symbol 384 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.flag2._currentframe);
}
Instance of Symbol 376 MovieClip in Symbol 384 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.flag2._currentframe);
}
Instance of Symbol 350 MovieClip in Symbol 384 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.flag2._currentframe);
}
Instance of Symbol 382 MovieClip in Symbol 384 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 392 MovieClip Frame 31
removeMovieClip(this);
Symbol 394 MovieClip Frame 1
stop();
Symbol 397 MovieClip Frame 1
stop();
Symbol 397 MovieClip Frame 2
stop();
Instance of Symbol 435 MovieClip in Symbol 436 MovieClip Frame 1
onClipEvent (load) {
digit = 10000000 /* 0x989680 */;
}
onClipEvent (enterFrame) {
this.gotoAndStop((((Math.floor(_root.score / digit) * digit) - (Math.floor(_root.score / (digit * 10)) * (digit * 10))) / digit) + 1);
}
Instance of Symbol 435 MovieClip in Symbol 436 MovieClip Frame 1
onClipEvent (load) {
digit = 1000000 /* 0x0F4240 */;
}
onClipEvent (enterFrame) {
this.gotoAndStop((((Math.floor(_root.score / digit) * digit) - (Math.floor(_root.score / (digit * 10)) * (digit * 10))) / digit) + 1);
}
Instance of Symbol 435 MovieClip in Symbol 436 MovieClip Frame 1
onClipEvent (load) {
digit = 100000 /* 0x0186A0 */;
}
onClipEvent (enterFrame) {
this.gotoAndStop((((Math.floor(_root.score / digit) * digit) - (Math.floor(_root.score / (digit * 10)) * (digit * 10))) / digit) + 1);
}
Instance of Symbol 435 MovieClip in Symbol 436 MovieClip Frame 1
onClipEvent (load) {
digit = 10000;
}
onClipEvent (enterFrame) {
this.gotoAndStop((((Math.floor(_root.score / digit) * digit) - (Math.floor(_root.score / (digit * 10)) * (digit * 10))) / digit) + 1);
}
Instance of Symbol 435 MovieClip in Symbol 436 MovieClip Frame 1
onClipEvent (load) {
digit = 1000;
}
onClipEvent (enterFrame) {
this.gotoAndStop((((Math.floor(_root.score / digit) * digit) - (Math.floor(_root.score / (digit * 10)) * (digit * 10))) / digit) + 1);
}
Instance of Symbol 435 MovieClip in Symbol 436 MovieClip Frame 1
onClipEvent (load) {
digit = 100;
}
onClipEvent (enterFrame) {
this.gotoAndStop((((Math.floor(_root.score / digit) * digit) - (Math.floor(_root.score / (digit * 10)) * (digit * 10))) / digit) + 1);
}
Instance of Symbol 435 MovieClip in Symbol 436 MovieClip Frame 1
onClipEvent (load) {
digit = 10;
}
onClipEvent (enterFrame) {
this.gotoAndStop((((Math.floor(_root.score / digit) * digit) - (Math.floor(_root.score / (digit * 10)) * (digit * 10))) / digit) + 1);
}
Instance of Symbol 435 MovieClip in Symbol 436 MovieClip Frame 1
onClipEvent (load) {
digit = 1;
}
onClipEvent (enterFrame) {
this.gotoAndStop((((Math.floor(_root.score / digit) * digit) - (Math.floor(_root.score / (digit * 10)) * (digit * 10))) / digit) + 1);
}
Instance of Symbol 435 MovieClip in Symbol 436 MovieClip Frame 1
onClipEvent (load) {
digit = 100000000 /* 0x5F5E100 */;
}
onClipEvent (enterFrame) {
this.gotoAndStop((((Math.floor(_root.score / digit) * digit) - (Math.floor(_root.score / (digit * 10)) * (digit * 10))) / digit) + 1);
}
Instance of Symbol 442 MovieClip in Symbol 444 MovieClip Frame 1
onClipEvent (load) {
_parent._parent._parent._visible = false;
}
onClipEvent (enterFrame) {
if (_root.tankid == "none") {
_parent._parent._parent._visible = false;
} else {
_parent._parent._parent._visible = true;
perc = (_root.tankid.life / _root.tankid.maxlife) * 100;
_xscale = perc;
}
}
Symbol 449 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 32
Instance of Symbol 417 MovieClip in Symbol 454 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.lives > 7) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 417 MovieClip in Symbol 454 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.lives > 6) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 417 MovieClip in Symbol 454 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.lives > 5) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 417 MovieClip in Symbol 454 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.lives > 4) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 417 MovieClip in Symbol 454 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.lives > 3) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 417 MovieClip in Symbol 454 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.lives > 2) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 417 MovieClip in Symbol 454 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.lives > 1) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 472 Button
on (release) {
play();
}