Frame 1
Frame 7
bytes_loaded = getBytesLoaded();
bytes_total = getBytesTotal();
if (bytes_loaded < bytes_total) {
gotoAndPlay ("loop");
}
Frame 14
_quality = "high";
fscommand ("trapallkeys", "true");
fscommand ("allowscale", "false");
Mouse.hide();
stop();
Instance of Symbol 701 MovieClip in Frame 14
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 15
stop();
Frame 16
stop();
Frame 22
stop();
energy = 100;
gravity = 8;
speed = 2;
difficulty = 1;
playerlevel = 1;
score = 0;
volume = 100;
totaldamage = 0;
damage = 0;
podonscreen = 0;
ground = -56;
scrollpoint1 = 150;
scrollpoint2 = 200;
currentshot = 100;
pl = 1000;
sl = 1000;
_quality = "low";
this.onEnterFrame = function () {
if (key.isdown(37)) {
left = 1;
} else {
left = 0;
}
if (key.isdown(39)) {
right = 1;
} else {
right = 0;
}
if (key.isdown(40)) {
down = 1;
} else {
down = 0;
}
if (key.isdown(38)) {
up = 1;
} else {
up = 0;
}
if (key.isdown(key.space)) {
jump = 1;
} else {
jump = 0;
}
if (key.isdown(88)) {
pod = 1;
} else {
pod = 0;
}
if (key.isdown(90)) {
autofire = 1;
} else {
autofire = 0;
}
};
function smoke(n, parente) {
i = 1;
while (i <= n) {
pl = _root.pl;
_root.scena.particelle.attachmovie("smoke", "sm" + pl, pl);
sm = eval ("_root.scena.particelle.sm" + pl);
sm._x = parente._x;
sm._y = parente._y;
_root.pl = _root.pl + 1;
i++;
}
}
function sparo(sparo, pos, scalo) {
l = _root.pl;
_root.scena.particelle.attachmovie(sparo, "ps" + l, l);
ps = eval ("_root.scena.particelle.ps" + l);
ps.scalo = scalo;
ps._x = pos.getbounds(_root.scena.sprites).xmax;
ps._y = pos.getbounds(_root.scena.sprites).ymax;
_root.pl = _root.pl + 1;
}
Instance of Symbol 767 MovieClip "parallasse" in Frame 22
onClipEvent (load) {
i = 0;
while (i <= 5) {
this.attachmovie("parallasse1", "para" + i, i);
para = eval ("this.para" + i);
para._x = -640 + (640 * i);
para._y = 150;
i++;
}
}
onClipEvent (enterFrame) {
_x = (_root.scena._x / 4);
_y = (_root.scena._y / 4);
}
Instance of Symbol 772 MovieClip "scena" in Frame 22
onClipEvent (load) {
_root.scena.sprites.attachmovie("mech", "mech", 99);
_root.scena.sprites.mech._y = -100;
_root.scena.sprites.mech._x = 100;
}
Instance of Symbol 786 MovieClip in Frame 22
onClipEvent (enterFrame) {
pippo = _root.totaldamage;
pippa = _root.damage;
_root.damagepercent = math.round((pippa / pippo) * 100);
if (_root.pl >= 10000) {
_root.pl = 1000;
}
}
Frame 23
stop();
_quality = "high";
_root.score = _root.score + (_root.damagepercent * 1000);
Instance of Symbol 796 MovieClip in Frame 23
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Symbol 10 MovieClip [ssec] Frame 1
pl = 0;
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 2
pippo2 = new Sound(this);
pippo2.attachSound("explosion2.wav");
pippo2.setvolume(_root.volume);
pippo2.start(0.05, 0);
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 4
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 5
pippo2.stop();
Symbol 10 MovieClip [ssec] Frame 6
pippo2 = new Sound(this);
pippo2.attachSound("explosion2.wav");
pippo2.setvolume(_root.volume);
pippo2.start(0.05, 0);
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 8
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 9
pippo2.stop();
Symbol 10 MovieClip [ssec] Frame 10
pippo2 = new Sound(this);
pippo2.attachSound("explosion2.wav");
pippo2.setvolume(_root.volume);
pippo2.start(0.05, 0);
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 12
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 13
pippo2.stop();
Symbol 10 MovieClip [ssec] Frame 14
pippo2 = new Sound(this);
pippo2.attachSound("explosion2.wav");
pippo2.setvolume(_root.volume);
pippo2.start(0.05, 0);
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 16
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 17
pippo2.stop();
Symbol 10 MovieClip [ssec] Frame 18
pippo2 = new Sound(this);
pippo2.attachSound("explosion2.wav");
pippo2.setvolume(_root.volume);
pippo2.start(0.05, 0);
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 20
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 21
pippo2.stop();
Symbol 10 MovieClip [ssec] Frame 22
pippo2 = new Sound(this);
pippo2.attachSound("explosion2.wav");
pippo2.setvolume(_root.volume);
pippo2.start(0.05, 0);
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 24
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 25
pippo2.stop();
Symbol 10 MovieClip [ssec] Frame 26
pippo2 = new Sound(this);
pippo2.attachSound("explosion2.wav");
pippo2.setvolume(_root.volume);
pippo2.start(0.05, 0);
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 28
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 29
pippo2.stop();
Symbol 10 MovieClip [ssec] Frame 30
pippo2 = new Sound(this);
pippo2.attachSound("explosion2.wav");
pippo2.setvolume(_root.volume);
pippo2.start(0.05, 0);
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 32
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 34
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 36
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 38
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 40
i = 1;
while (i <= 3) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 80) - 40;
sm._y = (math.random() * 100) - 50;
pl = pl + 1;
i++;
}
Symbol 10 MovieClip [ssec] Frame 80
removeMovieClip(this);
Instance of Symbol 19 MovieClip in Symbol 20 MovieClip Frame 1
onClipEvent (enterFrame) {
mech = _root.scena.sprites.mech;
alt = math.round(this.getbounds(_root.scena.sprites).ymin - 8);
if (this.hittest(mech.feet)) {
if (mech.jumpstatus == 2) {
mech.gotoandstop("landing");
mech.hness = alt + 8;
mech._y = alt;
mech.jumpstatus = 0;
} else if (mech.jumpstatus == 0) {
mech._y = alt;
mech.hness = alt + 8;
}
}
}
onClipEvent (enterFrame) {
pod = _root.scena.sprites.pod;
if (this.hittest(pod.feet)) {
alt = math.round(this.getbounds(_root.scena.sprites).ymin);
pod._y = alt;
}
}
Symbol 21 MovieClip [sky1] Frame 1
stop();
Instance of Symbol 14 MovieClip in Symbol 21 MovieClip [sky1] Frame 1
onClipEvent (load) {
_root.totaldamage = _root.totaldamage + 10;
energy = 30;
}
onClipEvent (enterFrame) {
sxx = _parent.getbounds(_root).xmax;
sxm = _parent.getbounds(_root).xmin;
if ((sxx > 0) && (sxm < 368)) {
_parent._visible = true;
i = 100;
while (i <= 103) {
shot = eval ("_root.scena.particelle.shot" + i);
if (this.hittest(shot) && (shot._currentframe == 1)) {
shot.gotoandstop(2);
energy = energy - (1 * _root.playerlevel);
if (energy <= 0) {
dcl = 0;
while (dcl <= 4) {
pl = _root.pl;
pippo = math.round(math.random() * 3);
switch (pippo) {
case 1 :
_root.scena.particelle.attachmovie("fix", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
break;
case 2 :
_root.scena.particelle.attachmovie("duracell", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
break;
case 3 :
_root.scena.particelle.attachmovie("macd", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
}
dc._x = this.getbounds(_root.scena.particelle).xmax - (_width / 2);
dc._y = this.getbounds(_root.scena.particelle).ymax - (_height / 2);
dcl++;
}
energy = 30 + (5 * _root.difficulty);
_parent.gotoandstop(_parent._currentframe + 1);
}
}
i++;
}
} else {
_parent._visible = false;
}
}
Symbol 21 MovieClip [sky1] Frame 2
stop();
Symbol 21 MovieClip [sky1] Frame 3
_parent.basefloor = _parent.basefloor - 1;
_root.damage = _root.damage + 10;
_root.score = _root.score + 100;
this.attachmovie("ssec", "ssec", 1);
ssec._y = -66;
Instance of Symbol 24 MovieClip in Symbol 25 MovieClip [smoke] Frame 1
onClipEvent (load) {
_alpha = 100;
xsm = (math.random() * 1) - 0.5;
ysm = (math.random() * 1) - 0.5;
rot = math.random() * 5;
}
onClipEvent (enterFrame) {
_alpha = (_alpha - 2);
this._x = this._x + xsm;
this._xscale = this._xscale + 2;
this._y = this._y + ysm;
this._yscale = this._yscale + 2;
this._rotation = this._rotation + rot;
if (_alpha <= 0) {
removeMovieClip(_parent);
}
}
Symbol 30 MovieClip Frame 1
this.onEnterFrame = function () {
_parent.armx = this._x;
_parent.army = this._y;
};
Symbol 34 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 3
pippo = new Sound(_root);
pippo.attachSound("rifle");
pippo.setvolume(_root.volume - 50);
pippo.start(0.02, 0);
_root.scena.particelle.attachmovie("shell", "shell" + _root.pl, _root.pl);
shell = eval ("_root.scena.particelle.shell" + _root.pl);
shell._x = this.getbounds(_root.scena.particelle).xmax;
shell._y = this.getbounds(_root.scena.particelle).ymin;
shell.dir = _root.scena.sprites.mech._xscale / 100;
_root.pl = _root.pl + 1;
switch (_parent.grad) {
case 0 :
_root.scena.particelle.attachmovie("shot", "shot" + _root.currentshot, _root.currentshot);
shot = eval ("_root.scena.particelle.shot" + _root.currentshot);
shot._x = this.getbounds(_root.scena.particelle).xmax;
shot._y = this.getbounds(_root.scena.particelle).ymin;
shot.direction = (-_root.scena.sprites.mech._xscale) / 100;
break;
case 45 :
_root.scena.particelle.attachmovie("shot45", "shot" + _root.currentshot, _root.currentshot);
shot = eval ("_root.scena.particelle.shot" + _root.currentshot);
shot._x = this.getbounds(_root.scena.particelle).xmax;
shot._y = this.getbounds(_root.scena.particelle).ymin;
shot.direction = (-_root.scena.sprites.mech._xscale) / 100;
break;
case 90 :
_root.scena.particelle.attachmovie("shot90", "shot" + _root.currentshot, _root.currentshot);
shot = eval ("_root.scena.particelle.shot" + _root.currentshot);
shot._x = this.getbounds(_root.scena.particelle).xmax;
shot._y = this.getbounds(_root.scena.particelle).ymin;
shot.direction = (-_root.scena.sprites.mech._xscale) / 100;
break;
case 180 :
_root.scena.particelle.attachmovie("shot180", "shot" + _root.currentshot, _root.currentshot);
shot = eval ("_root.scena.particelle.shot" + _root.currentshot);
shot._x = this.getbounds(_root.scena.particelle).xmax;
shot._y = this.getbounds(_root.scena.particelle).ymin;
shot.direction = (-_root.scena.sprites.mech._xscale) / 100;
break;
case 225 :
_root.scena.particelle.attachmovie("shot225", "shot" + _root.currentshot, _root.currentshot);
shot = eval ("_root.scena.particelle.shot" + _root.currentshot);
shot._x = this.getbounds(_root.scena.particelle).xmax;
shot._y = this.getbounds(_root.scena.particelle).ymin;
shot.direction = (-_root.scena.sprites.mech._xscale) / 100;
}
if (_root.currentshot < 103) {
_root.currentshot = _root.currentshot + 1;
} else {
_root.currentshot = 100;
}
Symbol 34 MovieClip Frame 5
gotoAndStop (1);
Symbol 43 MovieClip [arm] Frame 1
grad = 0;
this.onEnterFrame = function () {
this._x = _parent.armx;
this._y = _parent.army;
if ((_root.up == 0) && (_root.down == 0)) {
gotoAndStop (1);
}
if (_root.up == 1) {
if ((_root.left == 1) || (_root.right == 1)) {
gotoAndStop (2);
} else {
gotoAndStop (4);
}
} else if (_root.down == 1) {
if ((_root.left == 1) || (_root.right == 1)) {
gotoAndStop (3);
} else {
gotoAndStop (5);
}
}
};
stop();
Instance of Symbol 34 MovieClip in Symbol 43 MovieClip [arm] Frame 1
onClipEvent (enterFrame) {
if ((_root.autofire == 1) && (_currentframe == 1)) {
gotoAndPlay (2);
}
}
Symbol 43 MovieClip [arm] Frame 2
grad = 45;
Symbol 43 MovieClip [arm] Frame 3
grad = 225;
Symbol 43 MovieClip [arm] Frame 4
grad = 90;
Symbol 43 MovieClip [arm] Frame 5
grad = 180;
Symbol 62 MovieClip Frame 3
pippo2 = new Sound(this);
pippo2.attachSound("stomp");
pippo2.setvolume(_root.volume);
pippo2.start(0.1, 0);
Symbol 62 MovieClip Frame 16
pippo2 = new Sound(this);
pippo2.attachSound("stomp");
pippo2.setvolume(_root.volume);
pippo2.start(0.1, 0);
Instance of Symbol 43 MovieClip [arm] "arm" in Symbol 79 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _parent.armx;
this._y = _parent.army;
}
Symbol 79 MovieClip Frame 35
stop();
Instance of Symbol 43 MovieClip [arm] "arm" in Symbol 82 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _parent.armx;
this._y = _parent.army;
}
Symbol 82 MovieClip Frame 3
pippo2 = new Sound(this);
pippo2.attachSound("stomp");
pippo2.setvolume(_root.volume + 20);
pippo2.start(0.1, 0);
Symbol 82 MovieClip Frame 15
_parent.gotoandstop("walk");
Symbol 87 MovieClip Frame 1
reactor = reactor + 0.5;
Instance of Symbol 43 MovieClip [arm] "arm" in Symbol 87 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _parent.armx;
this._y = _parent.army;
}
Symbol 93 MovieClip Frame 10
_parent._xscale = -_parent._xscale;
_parent.gotoandstop("walk");
Symbol 94 MovieClip Frame 1
stop();
Instance of Symbol 43 MovieClip [arm] "arm" in Symbol 94 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _parent.armx;
this._y = _parent.army;
}
Symbol 95 MovieClip Frame 180
_root.gotoAndStop("gameover");
Symbol 96 MovieClip [mech] Frame 1
jumpstatus = 2;
Instance of Symbol 26 MovieClip "feet" in Symbol 96 MovieClip [mech] Frame 1
onClipEvent (enterFrame) {
_parent._y = _parent._y + _root.gravity;
_root.mx = this.getbounds(_root).xmax - (_width / 2);
_root.my = this.getbounds(_root).ymax;
if ((_parent._y > _parent.hness) && (_parent.jumpstatus == 0)) {
_parent.gotoandstop("jump2");
}
}
Symbol 96 MovieClip [mech] Frame 2
stop();
Instance of Symbol 62 MovieClip in Symbol 96 MovieClip [mech] Frame 2
onClipEvent (load) {
start = 0.2;
}
onClipEvent (enterFrame) {
scale = 100 - _parent._xscale;
switch (scale) {
case 0 :
if (_root.left == 1) {
_parent._x = _parent._x - start;
play();
}
if (_root.right == 1) {
_parent.gotoandstop("turn");
}
break;
case 200 :
if (_root.left == 1) {
_parent.gotoandstop("turn");
}
if (_root.right != 1) {
break;
}
_parent._x = _parent._x + start;
play();
}
if (start < _root.speed) {
start = start + 0.2;
}
if ((_root.left + _root.right) == 0) {
start = 0.2;
stop();
}
}
onClipEvent (enterFrame) {
if (_root.jump == 1) {
_parent.gotoandstop("jump");
}
if (_root.melee == 1) {
_parent.gotoandstop("melee");
}
}
Instance of Symbol 26 MovieClip "coll" in Symbol 96 MovieClip [mech] Frame 2
onClipEvent (enterFrame) {
if (_root.pod == 1) {
if (_root.podonscreen == 0) {
_root.scena.sprites.attachmovie("pod1", "pod", 100);
pod = _root.scena.sprites.pod;
pod._x = _parent._x;
pod._y = _parent._y - 30;
}
}
if (_root.energy <= 0) {
_parent.gotoandstop("death");
}
}
Instance of Symbol 79 MovieClip in Symbol 96 MovieClip [mech] Frame 3
onClipEvent (load) {
_root.smoke(3, _parent);
_parent.jumpstatus = 1;
up = 15;
}
onClipEvent (enterFrame) {
if ((_currentframe == 35) && (_root.jump == 1)) {
_parent.jumpstatus = 1;
_parent.gotoandstop("reactor");
}
if (_currentframe > 5) {
_parent._x = _parent._x - (_root.speed * _root.left);
_parent._x = _parent._x + (_root.speed * _root.right);
_parent._y = _parent._y - up;
if (up >= 8) {
up = up - 0.3;
} else {
up = up - 0.3;
_parent.jumpstatus = 2;
}
} else {
_parent._y = _parent._y - 8;
}
}
Instance of Symbol 82 MovieClip "landing" in Symbol 96 MovieClip [mech] Frame 4
onClipEvent (load) {
_root.smoke(3, _parent);
}
Instance of Symbol 87 MovieClip in Symbol 96 MovieClip [mech] Frame 5
onClipEvent (load) {
_parent.jumpstatus = 2;
up = 0;
}
onClipEvent (enterFrame) {
if (reactor > (8 + _root.playerlevel)) {
_parent.gotoandstop("jump2");
}
if (_root.jump == 1) {
if (up <= 10) {
up = up + 2;
}
_parent._x = _parent._x - (_root.speed * _root.left);
_parent._x = _parent._x + (_root.speed * _root.right);
_parent._y = _parent._y - up;
} else {
_parent.gotoandstop("jump2");
}
}
Instance of Symbol 79 MovieClip in Symbol 96 MovieClip [mech] Frame 7
onClipEvent (load) {
_root.smoke(3, _parent);
_parent.jumpstatus = 1;
up = 20;
}
onClipEvent (enterFrame) {
if (_currentframe > 5) {
_parent._x = _parent._x - (_root.speed * _root.left);
_parent._x = _parent._x + (_root.speed * _root.right);
_parent._y = _parent._y - up;
if (up >= 8) {
up = up - 0.3;
} else {
up = up - 0.3;
_parent.jumpstatus = 2;
}
} else {
_parent._y = _parent._y - 8;
}
}
Instance of Symbol 94 MovieClip in Symbol 96 MovieClip [mech] Frame 8
onClipEvent (load) {
_parent.jumpstatus = 2;
}
Symbol 96 MovieClip [mech] Frame 9
this.attachmovie("ssec", "ssec", 100);
Instance of Symbol 95 MovieClip in Symbol 96 MovieClip [mech] Frame 9
onClipEvent (load) {
_parent._xscale = 100;
}
Symbol 103 MovieClip Frame 20
_parent.gotoandstop(2);
Symbol 116 MovieClip Frame 1
dodge = new Sound(this);
dodge.attachSound("clang");
dodge.setvolume(50);
dodge.start(0, 0);
_root.smoke(1, _parent);
Symbol 116 MovieClip Frame 13
removeMovieClip(_parent);
Symbol 119 MovieClip Frame 1
_root.smoke(1, _parent);
Symbol 119 MovieClip Frame 13
stop();
Symbol 120 MovieClip [shot180] Frame 1
stop();
Instance of Symbol 103 MovieClip in Symbol 120 MovieClip [shot180] Frame 1
onClipEvent (load) {
_parent._xscale = -100 * _parent.direction;
}
onClipEvent (enterFrame) {
if (_parent._y >= -56) {
_parent._y = -56;
_parent.gotoandstop(3);
}
if (_currentframe >= 3) {
_parent._y = _parent._y + 20;
}
}
Symbol 121 MovieClip [shot90] Frame 1
stop();
Instance of Symbol 103 MovieClip in Symbol 121 MovieClip [shot90] Frame 1
onClipEvent (load) {
_parent._xscale = -100 * _parent.direction;
}
onClipEvent (enterFrame) {
if (_currentframe >= 3) {
_parent._y = _parent._y - 20;
}
}
Symbol 126 MovieClip Frame 2
stop();
Symbol 127 MovieClip [stoofashot] Frame 1
stop();
Instance of Symbol 126 MovieClip in Symbol 127 MovieClip [stoofashot] Frame 1
onClipEvent (load) {
_parent._xscale = -100 * _parent.direction;
}
onClipEvent (enterFrame) {
if (_currentframe >= 2) {
_parent._x = _parent._x + (20 * _parent.direction);
}
}
Symbol 128 MovieClip [shot] Frame 1
stop();
Instance of Symbol 103 MovieClip in Symbol 128 MovieClip [shot] Frame 1
onClipEvent (load) {
_parent._xscale = -100 * _parent.direction;
}
onClipEvent (enterFrame) {
if (_currentframe >= 3) {
_parent._x = _parent._x + (20 * _parent.direction);
}
}
Symbol 135 MovieClip Frame 20
_parent.gotoandstop(2);
Symbol 136 MovieClip [shot225] Frame 1
stop();
Instance of Symbol 135 MovieClip in Symbol 136 MovieClip [shot225] Frame 1
onClipEvent (load) {
_parent._xscale = -100 * _parent.direction;
}
onClipEvent (enterFrame) {
if (_parent._y >= -56) {
_parent._y = -56;
_parent.gotoandstop(3);
}
if (_currentframe >= 3) {
_parent._x = _parent._x + (15 * _parent.direction);
_parent._y = _parent._y + 15;
}
}
Symbol 137 MovieClip [shot45] Frame 1
stop();
Instance of Symbol 135 MovieClip in Symbol 137 MovieClip [shot45] Frame 1
onClipEvent (load) {
_parent._xscale = -100 * _parent.direction;
}
onClipEvent (enterFrame) {
if (_currentframe >= 3) {
_parent._x = _parent._x + (15 * _parent.direction);
_parent._y = _parent._y - 15;
}
}
Symbol 160 MovieClip [exp3] Frame 23
removeMovieClip(this);
Symbol 165 MovieClip Frame 16
ran = math.random() * 10;
if (ran > 9) {
_parent.gotoandstop("turn");
}
Symbol 180 MovieClip Frame 16
_parent._xscale = -_parent._xscale;
_parent.gotoandstop("walk");
Symbol 211 MovieClip Frame 2
clacson = new Sound(this);
clacson.attachSound("clacson");
clacson.setvolume(_root.volume);
clacson.start(0.3, 0);
pippo2 = new Sound(this);
pippo2.attachSound("explosion2.wav");
pippo2.setvolume(_root.volume);
pippo2.start(0.05, 0);
Symbol 211 MovieClip Frame 76
_root.npolicecars = _root.npolicecars - 1;
removeMovieClip(_parent);
Symbol 230 MovieClip Frame 87
sl = _root.sl;
_root.scena.sprites.attachmovie("policeman", "pm" + sl, sl);
pm = eval ("_root.scena.sprites.pm" + sl);
pm._y = -56;
pm._x = _parent._x;
_root.sl = _root.sl + 1;
_root.npolicecars = _root.npolicecars - 1;
removeMovieClip(_parent);
Symbol 231 MovieClip [policecar] Frame 1
diff = this._x - _root.scena.sprites.mech._x;
if (diff < 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
Symbol 231 MovieClip [policecar] Frame 2
stop();
Instance of Symbol 165 MovieClip in Symbol 231 MovieClip [policecar] Frame 2
onClipEvent (enterFrame) {
_parent._x = _parent._x - (2 * (_parent._xscale / 100));
if (this.hittest(_root.scena.sprites.mech.feet)) {
_parent.gotoandstop("turn");
}
}
onClipEvent (enterFrame) {
diff = math.abs(_parent._x - _root.scena.sprites.mech._x);
if (diff > 450) {
_root.npolicecars = _root.npolicecars - 1;
removeMovieClip(_parent);
}
}
Instance of Symbol 166 MovieClip in Symbol 231 MovieClip [policecar] Frame 2
onClipEvent (load) {
mech = _root.scena.sprites.mech;
energy = 1;
}
onClipEvent (enterFrame) {
if (this.hittest(mech.feet)) {
_parent.gotoandstop("flat");
}
}
onClipEvent (enterFrame) {
i = 100;
while (i <= 103) {
shot = eval ("_root.scena.particelle.shot" + i);
if (this.hittest(shot) && (shot._currentframe == 1)) {
shot._y = this.getbounds(_root.scena.particelle).ymax;
shot.gotoandstop(2);
energy = energy - (1 * _root.playerlevel);
if (energy <= 0) {
_parent.gotoandstop("death");
}
}
i++;
}
}
Instance of Symbol 180 MovieClip in Symbol 231 MovieClip [policecar] Frame 3
onClipEvent (enterFrame) {
_parent._x = _parent._x + (_parent._xscale / 100);
}
Instance of Symbol 211 MovieClip in Symbol 231 MovieClip [policecar] Frame 4
onClipEvent (load) {
_root.score = _root.score + 50;
}
Instance of Symbol 230 MovieClip in Symbol 231 MovieClip [policecar] Frame 5
onClipEvent (enterFrame) {
if (_currentframe <= 30) {
_parent._x = _parent._x + (2 * (_parent._xscale / 100));
}
}
onClipEvent (load) {
_root.score = _root.score + 100;
}
Symbol 236 MovieClip Frame 15
_parent.pos1 = (math.random() * 400) - 200;
fire = math.random() * 10;
if (fire >= 8) {
_parent._parent.gotoandstop("missile");
}
if (fire >= 6) {
_parent._parent.gotoandstop("fire");
}
Instance of Symbol 19 MovieClip in Symbol 240 MovieClip Frame 1
onClipEvent (enterFrame) {
mech = _root.scena.sprites.mech;
alt = math.round(this.getbounds(_root.scena.sprites).ymin - 8);
if (this.hittest(mech.feet2)) {
if (mech.jumpstatus == 2) {
_parent.attachmovie("boing", "boing", 0);
_root.score = _root.score + 50;
mech.gotoandstop("jumplikemario");
_parent.energy = _parent.energy - (5 * _root.playerlevel);
}
}
}
Symbol 241 MovieClip Frame 1
scalo = _parent._xscale;
_root.sparo("pshot", this, scalo);
Symbol 242 MovieClip Frame 4
rounds = rounds + 1;
if (rounds >= (10 * _root.difficulty)) {
if (_parent._xscale > 0) {
_parent.gotoandstop("recog");
} else {
_parent.gotoandstop("recog2");
}
}
Symbol 243 MovieClip Frame 20
scalo = _parent._parent._xscale;
_root.sparo("missile", this, scalo);
Symbol 244 MovieClip Frame 8
rounds = rounds + 1;
if (rounds >= 5) {
if (_parent._xscale > 0) {
_parent.gotoandstop("recog");
} else {
_parent.gotoandstop("recog2");
}
}
Symbol 253 MovieClip Frame 8
_parent._xscale = -_parent._xscale;
Symbol 253 MovieClip Frame 16
if (_parent._xscale > 0) {
_parent.gotoandstop("recog");
} else {
_parent.gotoandstop("recog2");
}
Symbol 256 MovieClip Frame 1
_root.score = _root.score + 1000;
pippo2 = new Sound(this);
pippo2.attachSound("explosion2.wav");
pippo2.setvolume(_root.volume);
pippo2.start(0.05, 0);
pl = 0;
i = 1;
while (i <= 10) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 40) + 20;
sm._y = (-math.random()) * 40;
pl = pl + 1;
i++;
}
Symbol 256 MovieClip Frame 4
pippo2.stop();
Symbol 256 MovieClip Frame 5
pippo2 = new Sound(this);
pippo2.attachSound("explosion2.wav");
pippo2.setvolume(_root.volume);
pippo2.start(0.05, 0);
i = 1;
while (i <= 10) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 40) + 20;
sm._y = (-math.random()) * 40;
pl = pl + 1;
i++;
}
Symbol 256 MovieClip Frame 8
pippo2.stop();
Symbol 256 MovieClip Frame 9
pippo2 = new Sound(this);
pippo2.attachSound("explosion2.wav");
pippo2.setvolume(_root.volume);
pippo2.start(0.05, 0);
Symbol 256 MovieClip Frame 10
i = 1;
while (i <= 10) {
this.attachmovie("exp3", "sm" + pl, pl);
sm = eval ("this.sm" + pl);
sm._x = (math.random() * 40) + 20;
sm._y = (-math.random()) * 40;
pl = pl + 1;
i++;
}
Symbol 256 MovieClip Frame 12
pippo2.stop();
Symbol 256 MovieClip Frame 13
pippo2 = new Sound(this);
pippo2.attachSound("explosion2.wav");
pippo2.setvolume(_root.volume);
pippo2.start(0.05, 0);
Symbol 256 MovieClip Frame 16
pippo2.stop();
Symbol 256 MovieClip Frame 17
pippo2 = new Sound(this);
pippo2.attachSound("explosion2.wav");
pippo2.setvolume(_root.volume);
pippo2.start(0.05, 0);
Symbol 256 MovieClip Frame 20
pippo2.stop();
Symbol 256 MovieClip Frame 21
pippo2 = new Sound(this);
pippo2.attachSound("explosion2.wav");
pippo2.setvolume(_root.volume);
pippo2.start(0.05, 0);
Symbol 256 MovieClip Frame 24
pippo2.stop();
Symbol 256 MovieClip Frame 25
pippo2 = new Sound(this);
pippo2.attachSound("explosion2.wav");
pippo2.setvolume(_root.volume);
pippo2.start(0.05, 0);
Symbol 256 MovieClip Frame 28
pippo2.stop();
Symbol 256 MovieClip Frame 29
pippo2 = new Sound(this);
pippo2.attachSound("explosion2.wav");
pippo2.setvolume(_root.volume);
pippo2.start(0.05, 0);
Symbol 256 MovieClip Frame 221
_root.nheli = _root.nheli - 1;
removeMovieClip(_parent);
Symbol 257 MovieClip [heli] Frame 2
stop();
Instance of Symbol 239 MovieClip in Symbol 257 MovieClip [heli] Frame 2
onClipEvent (enterFrame) {
mx = _root.scena.sprites.mech._x;
mx2 = _root.scena.sprites.mech._x + pos1;
my = _root.scena.sprites.mech._y - 100;
mpos = _parent._x - mx;
coeff3 = _parent._x - mx2;
coeff2 = _parent._y - my;
if (mpos < 0) {
_parent.gotoandstop("turn");
}
_parent._x = _parent._x - (coeff3 / 100);
_parent._y = _parent._y - (coeff2 / 100);
}
Instance of Symbol 240 MovieClip in Symbol 257 MovieClip [heli] Frame 2
onClipEvent (load) {
energy = 10 * _root.difficulty;
}
onClipEvent (enterFrame) {
melee = _root.scena.particelle.wr104;
if (this.hittest(melee) && (melee._currentframe == 1)) {
melee.gotoandstop(2);
energy = energy - (5 * _root.playerlevel);
if (energy <= 0) {
_parent.gotoandstop("death");
}
}
i = 100;
while (i <= 103) {
shot = eval ("_root.scena.particelle.shot" + i);
if (this.hittest(shot) && (shot._currentframe == 1)) {
shot._y = this.getbounds(_root.scena.particelle).ymax;
shot.gotoandstop(2);
energy = energy - (1 * _root.playerlevel);
if (energy <= 0) {
_parent.gotoandstop("death");
}
}
i++;
}
}
Instance of Symbol 239 MovieClip in Symbol 257 MovieClip [heli] Frame 3
onClipEvent (enterFrame) {
mx = _root.scena.sprites.mech._x;
mx2 = _root.scena.sprites.mech._x + pos1;
my = _root.scena.sprites.mech._y - 100;
mpos = _parent._x - mx;
coeff3 = _parent._x - mx2;
coeff2 = _parent._y - my;
if (mpos > 0) {
_parent.gotoandstop("turn");
}
_parent._x = _parent._x - (coeff3 / 100);
_parent._y = _parent._y - (coeff2 / 100);
}
Instance of Symbol 242 MovieClip in Symbol 257 MovieClip [heli] Frame 4
onClipEvent (enterFrame) {
mx = _root.scena.sprites.mech._x;
mpos = _parent._x - mx;
if (mpos > 0) {
_parent._xscale = 100;
mx2 = _root.scena.sprites.mech._x + 150;
} else {
_parent._xscale = -100;
mx2 = _root.scena.sprites.mech._x - 150;
}
my = _root.scena.sprites.mech._y - 50;
coeff3 = _parent._x - mx2;
coeff2 = _parent._y - my;
_parent._x = _parent._x - (coeff3 / 20);
_parent._y = _parent._y - (coeff2 / 20);
}
Instance of Symbol 244 MovieClip in Symbol 257 MovieClip [heli] Frame 5
onClipEvent (load) {
mx = _root.scena.sprites.mech._x;
mpos = _parent._x - mx;
if (mpos > 0) {
mx2 = _root.scena.sprites.mech._x + 150;
} else {
mx2 = _root.scena.sprites.mech._x - 150;
}
my = _root.scena.sprites.mech._y - 30;
}
onClipEvent (enterFrame) {
coeff3 = _parent._x - mx2;
coeff2 = _parent._y - my;
_parent._x = _parent._x - (coeff3 / 20);
_parent._y = _parent._y - (coeff2 / 20);
}
Symbol 257 MovieClip [heli] Frame 7
i = 1;
while (i <= 10) {
pl = _root.pl;
_root.scena.particelle.attachmovie("blocco2", "bl2" + pl, pl);
bl2 = eval ("_root.scena.particelle.bl2" + pl);
bl2._x = (_x + (math.random() * 10)) - 20;
bl2._y = _y - (math.random() * 20);
_root.pl = _root.pl + 1;
i++;
}
Instance of Symbol 256 MovieClip in Symbol 257 MovieClip [heli] Frame 7
onClipEvent (enterFrame) {
if (_parent._y < -56) {
_parent._y = _parent._y + fall;
fall = fall + 0.05;
}
}
Symbol 270 MovieClip Frame 22
cade = math.random() * 20;
if (cade > 18) {
_parent.gotoandstop("shot");
}
if (cade > 10) {
_parent._xscale = -_parent._xscale;
}
Symbol 279 MovieClip Frame 46
Symbol 279 MovieClip Frame 96
_parent.gotoandstop("walk");
Symbol 288 MovieClip Frame 50
_parent.gotoandstop("stand");
Symbol 295 MovieClip Frame 30
_parent.gotoandstop("stand");
Instance of Symbol 166 MovieClip in Symbol 296 MovieClip [policeman] Frame 1
onClipEvent (enterFrame) {
if ((this.getbounds(_root).xmax > 420) || (this.getbounds(_root).xmax < -100)) {
removeMovieClip(_parent);
}
mech = _root.scena.sprites.mech;
if (this.hittest(mech.feet)) {
_parent.gotoandstop("fall");
}
}
Symbol 296 MovieClip [policeman] Frame 2
stop();
Instance of Symbol 270 MovieClip in Symbol 296 MovieClip [policeman] Frame 2
onClipEvent (enterFrame) {
_parent._x = _parent._x - (_parent._xscale / 100);
}
Instance of Symbol 295 MovieClip in Symbol 296 MovieClip [policeman] Frame 5
onClipEvent (load) {
mech = _root.scena.sprites.mech;
if (_parent._x > mech._x) {
_parent._xscale = 100;
} else {
_parent._xscale = -100;
}
}
Symbol 305 MovieClip Frame 1
_root.smoke(1, _parent);
Symbol 306 MovieClip Frame 12
removeMovieClip(_parent);
Symbol 307 MovieClip [missile] Frame 1
stop();
Instance of Symbol 305 MovieClip in Symbol 307 MovieClip [missile] Frame 1
onClipEvent (load) {
vel = 0;
mech = _root.scena.sprites.mech;
_parent._xscale = _parent.scalo;
}
onClipEvent (enterFrame) {
vel = vel + 0.1;
_parent._x = _parent._x - (vel * (_parent._xscale / 100));
_parent._y = _parent._y + 0.5;
if (this.hittest(mech.coll) || (this.getbounds(_root.scena.back).ymax > -56)) {
_root.energy = _root.energy - (5 * _root.difficulty);
_parent.gotoandstop(2);
}
if (this.hittest(_root.scena.sprites.pod.coll)) {
_root.score = _root.score + 20;
_parent.gotoandstop(2);
}
}
Symbol 310 MovieClip Frame 90
_parent.gotoandstop(3);
Symbol 331 MovieClip Frame 11
removeMovieClip(_parent);
Symbol 340 MovieClip Frame 5
removeMovieClip(_parent);
Symbol 341 MovieClip [pcshot] Frame 1
stop();
Instance of Symbol 310 MovieClip in Symbol 341 MovieClip [pcshot] Frame 1
onClipEvent (load) {
vel = 2 + _root.difficulty;
mech = _root.scena.sprites.mech;
mx = mech._x;
my = mech._y - 20;
sx = _parent._x;
sy = _parent._y;
dx = sx - mx;
dy = sy - my;
d = math.sqrt((dx * dx) + (dy * dy));
tvel = vel / d;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
_parent._x = _parent._x - (tvel * dx);
_parent._y = _parent._y - (tvel * dy);
if (this.hittest(mech.coll)) {
_root.energy = _root.energy - (2 * _root.difficulty);
_parent.gotoandstop(2);
}
if (this.hittest(_root.scena.sprites.pod.coll)) {
_root.score = _root.score + 10;
_parent.gotoandstop(3);
}
}
Symbol 342 MovieClip [pshot] Frame 1
stop();
Instance of Symbol 310 MovieClip in Symbol 342 MovieClip [pshot] Frame 1
onClipEvent (load) {
vel = 2 + _root.difficulty;
mech = _root.scena.sprites.mech;
mx = mech._x;
my = mech._y - 20;
sx = _parent._x;
sy = _parent._y;
dx = sx - mx;
dy = sy - my;
d = math.sqrt((dx * dx) + (dy * dy));
tvel = vel / d;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
_parent._x = _parent._x - (tvel * dx);
_parent._y = _parent._y - (tvel * dy);
if (this.hittest(mech.coll)) {
_root.energy = _root.energy - (2 * _root.difficulty);
_parent.gotoandstop(2);
}
if (this.hittest(_root.scena.sprites.pod.coll)) {
_root.score = _root.score + 10;
_parent.gotoandstop(3);
}
}
Symbol 345 MovieClip Frame 28
ran = math.random() * 20;
if (ran > 18) {
_parent.gotoandstop("shot");
}
if (ran > 10) {
_parent.gotoandstop("rifle");
}
Symbol 345 MovieClip Frame 36
_parent.gotoandstop("walk");
Instance of Symbol 19 MovieClip in Symbol 346 MovieClip Frame 1
onClipEvent (enterFrame) {
mech = _root.scena.sprites.mech;
alt = math.round(this.getbounds(_root.scena.sprites).ymin - 8);
if (this.hittest(mech.feet)) {
mech._x = mech._x - _parent._parent.attrito;
if (mech.jumpstatus == 2) {
mech.gotoandstop("landing");
mech.hness = alt + 8;
mech._y = alt;
mech.jumpstatus = 0;
} else if (mech.jumpstatus == 0) {
mech._y = alt;
mech.hness = alt + 8;
}
}
}
onClipEvent (enterFrame) {
n = 1;
while (n <= 1) {
mech = eval ("_root.scena.sprites.mech" + n);
alt = math.round(this.getbounds(_root.scena.sprites).ymin - 8);
if (this.hittest(mech.feet)) {
if (mech.jumpstatus == 2) {
mech.gotoandstop("landing");
mech.hness = alt + 8;
mech._y = alt;
mech.jumpstatus = 0;
} else if (mech.jumpstatus == 0) {
mech._y = alt;
mech.hness = alt + 8;
}
}
n++;
}
}
Symbol 351 MovieClip Frame 10
_parent.gotoandstop("stand");
Symbol 358 MovieClip Frame 4
ran = math.random() * 20;
if (ran > 17) {
_parent.gotoandstop("stop");
}
Symbol 363 MovieClip Frame 1
scalo = _parent._parent._xscale;
_root.sparo("tankbullet", this, scalo);
Symbol 367 MovieClip Frame 50
_parent.gotoandstop("walk");
Symbol 378 MovieClip Frame 1
scalo = _parent._xscale;
_root.sparo("pshot", this, scalo);
Symbol 379 MovieClip Frame 78
_parent.gotoandstop("stand");
Symbol 400 MovieClip Frame 51
_root.ntank = _root.ntank - 1;
removeMovieClip(_parent);
Symbol 401 MovieClip [tank] Frame 2
stop();
Instance of Symbol 345 MovieClip in Symbol 401 MovieClip [tank] Frame 2
onClipEvent (load) {
_parent.attrito = 0;
}
Instance of Symbol 346 MovieClip in Symbol 401 MovieClip [tank] Frame 2
onClipEvent (load) {
energy = 20;
}
onClipEvent (enterFrame) {
i = 100;
while (i <= 103) {
shot = eval ("_root.scena.particelle.shot" + i);
if (this.hittest(shot) && (shot._currentframe == 1)) {
shot._y = this.getbounds(_root.scena.particelle).ymax;
shot.gotoandstop(2);
energy = energy - (1 * _root.playerlevel);
if (energy <= 0) {
_parent.gotoandstop("death");
}
}
i++;
}
}
Instance of Symbol 351 MovieClip in Symbol 401 MovieClip [tank] Frame 3
onClipEvent (load) {
_parent.attrito = 0;
}
Instance of Symbol 358 MovieClip in Symbol 401 MovieClip [tank] Frame 4
onClipEvent (load) {
mech = _root.scena.sprites.mech;
if (mech._x < _parent._x) {
_parent._xscale = 100;
} else {
_parent._xscale = -100;
}
}
onClipEvent (enterFrame) {
_parent._x = _parent._x - (2 * (_parent._xscale / 100));
_parent.attrito = 2 * (_parent._xscale / 100);
}
Instance of Symbol 367 MovieClip in Symbol 401 MovieClip [tank] Frame 5
onClipEvent (load) {
_parent.attrito = 0;
}
Instance of Symbol 379 MovieClip in Symbol 401 MovieClip [tank] Frame 6
onClipEvent (load) {
mech = _root.scena.sprites.mech;
if (mech._x < _parent._x) {
_parent._xscale = 100;
} else {
_parent._xscale = -100;
}
}
onClipEvent (load) {
_parent.attrito = 0;
}
Symbol 401 MovieClip [tank] Frame 7
_root.score = _root.score + 1000;
Instance of Symbol 400 MovieClip in Symbol 401 MovieClip [tank] Frame 7
onClipEvent (load) {
_parent.attrito = 0;
}
Symbol 404 MovieClip Frame 70
removeMovieClip(_parent);
Symbol 405 MovieClip Frame 34
removeMovieClip(_parent);
Symbol 406 MovieClip [tankbullet] Frame 1
stop();
Instance of Symbol 404 MovieClip in Symbol 406 MovieClip [tankbullet] Frame 1
onClipEvent (load) {
mech = _root.scena.sprites.mech;
_parent._xscale = _parent.scalo;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x - (10 * (_parent._xscale / 100));
if (this.hittest(mech.coll)) {
_root.energy = _root.energy - 10;
_parent.gotoandstop(2);
}
if (this.hittest(_root.scena.sprites.pod.coll)) {
_root.score = _root.score + 30;
_root.podonscreen = 0;
removeMovieClip(_root.scena.sprites.pod);
_parent.gotoandstop(2);
}
}
Symbol 409 MovieClip [blocco2] Frame 1
stop();
Instance of Symbol 408 MovieClip in Symbol 409 MovieClip [blocco2] Frame 1
onClipEvent (load) {
_parent.attachmovie("faller2", "faller", 0);
}
Symbol 409 MovieClip [blocco2] Frame 2
stop();
Symbol 410 MovieClip [faller2] Frame 1
vel = -2;
xvel = (math.random() * 40) - 20;
this.onEnterFrame = function () {
pl = _root.pl;
_root.scena.particelle.attachmovie("smoketrail", "ss" + pl, pl);
ss = eval ("_root.scena.particelle.ss" + pl);
ss._x = _parent._x;
ss._y = _parent._y;
_root.pl = _root.pl + 1;
if (_parent._currentframe == 1) {
_parent._y = _parent._y + vel;
_parent._x = _parent._x + (xvel * (_parent._xscale / 100));
vel = vel + 0.2;
xvel = xvel - 0.05;
if (vel >= 8) {
removeMovieClip(_parent);
}
}
};
Symbol 411 MovieClip [faller3] Frame 1
vel = -2;
xvel = (math.random() * 4) - 2;
Symbol 411 MovieClip [faller3] Frame 2
_parent._alpha = 100;
this.onEnterFrame = function () {
_parent._rotation = _parent._rotation + 15;
_parent._y = _parent._y + vel;
_parent._x = _parent._x + xvel;
vel = vel + 0.2;
if (vel >= 16) {
removeMovieClip(_parent);
gotoAndStop (5);
}
};
Symbol 411 MovieClip [faller3] Frame 3
_parent._alpha = 0;
Symbol 411 MovieClip [faller3] Frame 4
gotoAndPlay (2);
Symbol 411 MovieClip [faller3] Frame 5
_visible = false;
Symbol 412 MovieClip [bonusfaller] Frame 1
vel = -2;
xvel = (math.random() * 4) - 2;
this.onEnterFrame = function () {
_parent._y = _parent._y + vel;
_parent._x = _parent._x + xvel;
vel = vel + 0.1;
if (_parent.getbounds(_root.scena.particelle).ymax >= -56) {
_parent._y = -56;
removeMovieClip(this);
}
};
Symbol 413 MovieClip [shellfaller] Frame 1
vel = -5;
xvel = ((math.random() * 6) + 6) * _parent.dir;
nbounce = 0;
this.onEnterFrame = function () {
xvel = xvel - (0.1 * _parent.dir);
_parent._rotation = _parent._rotation + 15;
_parent._y = _parent._y + vel;
_parent._x = _parent._x + xvel;
vel = vel + 0.5;
if (_parent._y >= -56) {
vel = vel - 5;
}
};
Symbol 414 MovieClip [faller] Frame 1
vel = -2;
xvel = (math.random() * 4) - 2;
this.onEnterFrame = function () {
_parent._rotation = _parent._rotation + 5;
_parent._y = _parent._y + vel;
_parent._x = _parent._x + xvel;
vel = vel + 0.1;
if (vel >= 8) {
removeMovieClip(_parent);
}
};
Symbol 421 MovieClip [skytop] Frame 1
stop();
Instance of Symbol 14 MovieClip in Symbol 421 MovieClip [skytop] Frame 1
onClipEvent (load) {
_root.totaldamage = _root.totaldamage + 10;
energy = 30;
}
onClipEvent (enterFrame) {
sxx = _parent.getbounds(_root).xmax;
sxm = _parent.getbounds(_root).xmin;
if ((sxx > 0) && (sxm < 368)) {
_parent._visible = true;
i = 100;
while (i <= 103) {
shot = eval ("_root.scena.particelle.shot" + i);
if (this.hittest(shot) && (shot._currentframe == 1)) {
shot.gotoandstop(2);
energy = energy - (1 * _root.playerlevel);
if (energy <= 0) {
dcl = 0;
while (dcl <= 4) {
pl = _root.pl;
pippo = math.round(math.random() * 3);
switch (pippo) {
case 1 :
_root.scena.particelle.attachmovie("fix", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
break;
case 2 :
_root.scena.particelle.attachmovie("duracell", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
break;
case 3 :
_root.scena.particelle.attachmovie("macd", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
}
dc._x = this.getbounds(_root.scena.particelle).xmax - (_width / 2);
dc._y = this.getbounds(_root.scena.particelle).ymax - (_height / 2);
dcl++;
}
energy = 30 + (5 * _root.difficulty);
_parent.gotoandstop(_parent._currentframe + 1);
}
}
i++;
}
} else {
_parent._visible = false;
}
}
Symbol 421 MovieClip [skytop] Frame 3
_parent.basefloor = _parent.basefloor - 1;
_root.damage = _root.damage + 10;
_root.score = _root.score + 500;
this.attachmovie("ssec", "ssec", 1);
ssec._y = -66;
Symbol 459 MovieClip Frame 15
dir = _parent._xscale / 100;
_root.scena.particelle.attachmovie("wreckball", "wr104", 104);
wreck = _root.scena.particelle.wr104;
wreck.dir = dir;
wreck._x = _parent._x - (65 * dir);
wreck._y = _parent._y - 35;
Symbol 459 MovieClip Frame 45
_parent.gotoandstop("walk");
Symbol 464 MovieClip Frame 15
dir = _parent._xscale / 100;
_root.scena.particelle.attachmovie("wreckball2", "wr104", 104);
wreck = _root.scena.particelle.wr104;
wreck.dir = dir;
wreck._x = _parent._x - (65 * dir);
wreck._y = _parent._y - 20;
Symbol 464 MovieClip Frame 45
_parent.gotoandstop("walk");
Symbol 469 MovieClip Frame 17
dir = _parent._xscale / 100;
_root.scena.particelle.attachmovie("wreckball3", "wr104", 104);
wreck = _root.scena.particelle.wr104;
wreck.dir = dir;
wreck._x = _parent._x - (70 * dir);
wreck._y = _parent._y - 45;
Symbol 469 MovieClip Frame 45
_parent.gotoandstop("walk");
Symbol 480 MovieClip Frame 1
stop();
Symbol 480 MovieClip Frame 2
_root.scena.particelle.attachmovie("stoofashot", "shot" + _root.currentshot, _root.currentshot);
shot = eval ("_root.scena.particelle.shot" + _root.currentshot);
shot._x = this.getbounds(_root.scena.particelle).xmax;
shot._y = this.getbounds(_root.scena.particelle).ymin;
shot.direction = (-_root.scena.sprites.mech._xscale) / 100;
if (_root.currentshot < 103) {
_root.currentshot = _root.currentshot + 1;
} else {
_root.currentshot = 100;
}
Symbol 480 MovieClip Frame 5
gotoAndStop (1);
Instance of Symbol 480 MovieClip in Symbol 487 MovieClip Frame 19
onClipEvent (enterFrame) {
if ((_root.autofire == 1) && (_currentframe == 1)) {
gotoAndPlay (2);
}
}
Symbol 487 MovieClip Frame 47
stop();
Instance of Symbol 480 MovieClip in Symbol 488 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.autofire == 1) && (_currentframe == 1)) {
gotoAndPlay (2);
}
}
Symbol 488 MovieClip Frame 22
stop();
Symbol 489 MovieClip Frame 11
_parent.gotoandstop("walk");
Symbol 490 MovieClip [stoofa] Frame 1
jumpstatus = 2;
Instance of Symbol 26 MovieClip "feet" in Symbol 490 MovieClip [stoofa] Frame 1
onClipEvent (enterFrame) {
_parent._y = _parent._y + _root.gravity;
_root.mx = this.getbounds(_root).xmax - (_width / 2);
_root.my = this.getbounds(_root).ymax;
if ((_parent._y > _parent.hness) && (_parent.jumpstatus == 0)) {
_parent.gotoandstop("jump2");
}
}
Symbol 490 MovieClip [stoofa] Frame 2
stop();
Instance of Symbol 448 MovieClip in Symbol 490 MovieClip [stoofa] Frame 2
onClipEvent (load) {
start = 0.2;
}
onClipEvent (enterFrame) {
scale = 100 - _parent._xscale;
switch (scale) {
case 0 :
if (_root.left == 1) {
_parent._x = _parent._x - start;
play();
}
if (_root.right == 1) {
_parent._xscale = -100;
}
break;
case 200 :
if (_root.left == 1) {
_parent._xscale = 100;
}
if (_root.right != 1) {
break;
}
_parent._x = _parent._x + start;
play();
}
if (start < _root.speed) {
start = start + 0.2;
}
if ((_root.left + _root.right) == 0) {
start = 0.2;
stop();
}
}
onClipEvent (enterFrame) {
if (_root.jump == 1) {
_parent.gotoandstop("jump");
}
if (_root.fire == 1) {
if (_root.up == 1) {
_parent.gotoandstop("melee3");
}
if (_root.down == 1) {
_parent.gotoandstop("melee2");
}
_parent.gotoandstop("melee");
}
}
Instance of Symbol 487 MovieClip in Symbol 490 MovieClip [stoofa] Frame 6
onClipEvent (load) {
_root.smoke(3, _parent);
_parent.jumpstatus = 1;
up = 16;
}
onClipEvent (enterFrame) {
if (_currentframe > 16) {
_parent._x = _parent._x - (_root.speed * _root.left);
_parent._x = _parent._x + (_root.speed * _root.right);
_parent._y = _parent._y - up;
if (up >= 8) {
up = up - 0.3;
} else {
up = up - 0.3;
_parent.jumpstatus = 2;
}
} else {
_parent._y = _parent._y - 8;
}
}
Instance of Symbol 488 MovieClip in Symbol 490 MovieClip [stoofa] Frame 7
onClipEvent (load) {
_parent.jumpstatus = 2;
}
Symbol 496 MovieClip [wreckball2] Frame 1
stop();
Instance of Symbol 495 MovieClip in Symbol 496 MovieClip [wreckball2] Frame 1
onClipEvent (load) {
vel = 20;
stopvel = -vel;
dir = _parent.dir;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x - (vel * dir);
_parent._y = _parent._y + (vel / 3);
vel = vel - 2;
if (vel <= (stopvel - 2)) {
removeMovieClip(_parent);
}
}
Symbol 497 MovieClip [wreckball3] Frame 1
stop();
Instance of Symbol 495 MovieClip in Symbol 497 MovieClip [wreckball3] Frame 1
onClipEvent (load) {
vel = 20;
stopvel = -vel;
dir = _parent.dir;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x - (vel * dir);
_parent._y = _parent._y - (vel / 2);
vel = vel - 2;
if (vel <= (stopvel - 2)) {
removeMovieClip(_parent);
}
}
Symbol 498 MovieClip [wreckball] Frame 1
this.onEnterFrame = function () {
pl = _root.pl;
if (_currentframe == 1) {
_root.scena.particelle.attachmovie("satelliteshadow", "ss" + pl, pl);
ss = eval ("_root.scena.particelle.ss" + pl);
ss._x = this._x;
ss._y = this._y;
_root.pl = _root.pl + 1;
}
};
stop();
Instance of Symbol 495 MovieClip in Symbol 498 MovieClip [wreckball] Frame 1
onClipEvent (load) {
vel = 20;
stopvel = -vel;
dir = _parent.dir;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x - (vel * dir);
vel = vel - 2;
if (vel <= (stopvel - 2)) {
removeMovieClip(_parent);
}
}
Symbol 501 MovieClip Frame 32
xoffset = (math.random() * 100) - 50;
yoffset = (math.random() * 50) - 50;
Symbol 501 MovieClip Frame 111
yoffset = (math.random() * 100) - 50;
Symbol 501 MovieClip Frame 200
xoffset = 0;
ran = math.random() * 10;
if (ran < 5) {
_parent.gotoandstop("fire");
} else {
_parent.gotoandstop("rifle");
}
Symbol 510 MovieClip Frame 1
scalo = _parent._xscale;
_root.sparo("satelliteshot", this, scalo);
Symbol 513 MovieClip Frame 56
_parent.gotoandstop("walk");
Symbol 520 MovieClip Frame 5
_parent.gotoandstop("walk");
Symbol 527 MovieClip Frame 1
scalo = _parent._xscale;
_root.sparo("pcshot", this, scalo);
Symbol 542 MovieClip Frame 31
rounds = rounds + 1;
if (rounds >= 5) {
play();
} else {
gotoAndPlay (15);
}
Symbol 542 MovieClip Frame 35
_parent.gotoandstop("walk");
Symbol 543 MovieClip [satellite] Frame 2
this.onEnterFrame = function () {
pl = _root.pl;
if (_currentframe == 2) {
_root.scena.particelle.attachmovie("satelliteshadow", "ss" + pl, pl);
ss = eval ("_root.scena.particelle.ss" + pl);
ss._x = this._x;
ss._y = this._y + 15;
_root.pl = _root.pl + 1;
}
};
stop();
Instance of Symbol 501 MovieClip in Symbol 543 MovieClip [satellite] Frame 2
onClipEvent (enterFrame) {
mx2 = _root.scena.sprites.mech._x;
my = _root.scena.sprites.mech._y + yoffset;
coeff2 = _parent._y - (my - 100);
coeff3 = _parent._x - mx2;
_parent._x = _parent._x - (coeff3 / 20);
_parent._y = _parent._y - (coeff2 / 20);
}
Instance of Symbol 240 MovieClip in Symbol 543 MovieClip [satellite] Frame 2
onClipEvent (load) {
energy = 40;
}
onClipEvent (enterFrame) {
i = 100;
while (i <= 103) {
shot = eval ("_root.scena.particelle.shot" + i);
if (this.hittest(shot) && (shot._currentframe == 1)) {
shot.gotoandstop(2);
energy = energy - (1 * _root.playerlevel);
if (energy <= 0) {
_parent.gotoandstop("death");
} else {
_parent.gotoandstop("hit");
}
}
i++;
}
}
Instance of Symbol 513 MovieClip in Symbol 543 MovieClip [satellite] Frame 3
onClipEvent (enterFrame) {
mx2 = _root.scena.sprites.mech._x;
coeff3 = _parent._x - mx2;
_parent._x = _parent._x - (coeff3 / 20);
}
Instance of Symbol 542 MovieClip "rifle" in Symbol 543 MovieClip [satellite] Frame 5
onClipEvent (load) {
dist = (math.random() * 300) - 150;
mx2 = _root.scena.sprites.mech._x + dist;
my = _root.scena.sprites.mech._y - 100;
}
onClipEvent (enterFrame) {
coeff3 = _parent._x - mx2;
coeff4 = _parent._y - my;
_parent._x = _parent._x - (coeff3 / 10);
_parent._y = _parent._y - (coeff4 / 10);
}
Symbol 543 MovieClip [satellite] Frame 6
_root.score = _root.score + 3000;
i = 1;
while (i <= 10) {
pl = _root.pl;
_root.scena.particelle.attachmovie("blocco2", "bl2" + pl, pl);
bl2 = eval ("_root.scena.particelle.bl2" + pl);
bl2._x = (_x + (math.random() * 10)) - 20;
bl2._y = _y - (math.random() * 20);
_root.pl = _root.pl + 1;
i++;
}
pl = _root.pl;
_root.scena.particelle.attachmovie("ssec", "ssec" + pl, pl);
ss = eval ("_root.scena.particelle.ssec" + pl);
ss._x = _x;
ss._y = _y;
_root.nsatellite = _root.nsatellite - 1;
_root.pl = _root.pl + 1;
removeMovieClip(this);
Symbol 548 MovieClip Frame 2
stop();
Symbol 567 MovieClip Frame 19
removeMovieClip(_parent);
Symbol 568 MovieClip [satelliteshot] Frame 1
stop();
Instance of Symbol 548 MovieClip in Symbol 568 MovieClip [satelliteshot] Frame 1
onClipEvent (enterFrame) {
_parent._y = _parent._y + 20;
if (this.hittest(_root.scena.sprites.mech.coll)) {
_root.energy = _root.energy - 1;
_parent.gotoandstop(2);
}
if (this.getbounds(_root.scena.sprites).ymin > 0) {
removeMovieClip(_parent);
}
}
Instance of Symbol 567 MovieClip in Symbol 568 MovieClip [satelliteshot] Frame 2
onClipEvent (load) {
_root.smoke(1, _parent);
}
Symbol 570 MovieClip [smoketrail] Frame 33
removeMovieClip(this);
Symbol 571 MovieClip [satelliteshadow] Frame 34
removeMovieClip(this);
Symbol 583 MovieClip Frame 1
stop();
Instance of Symbol 14 MovieClip in Symbol 583 MovieClip Frame 1
onClipEvent (load) {
_root.totaldamage = _root.totaldamage + 10;
energy = 30;
}
onClipEvent (enterFrame) {
sxx = _parent.getbounds(_root).xmax;
sxm = _parent.getbounds(_root).xmin;
if ((sxx > 0) && (sxm < 368)) {
_parent._visible = true;
i = 100;
while (i <= 103) {
shot = eval ("_root.scena.particelle.shot" + i);
if (this.hittest(shot) && (shot._currentframe == 1)) {
shot.gotoandstop(2);
energy = energy - (1 * _root.playerlevel);
if (energy <= 0) {
dcl = 0;
while (dcl <= 4) {
pl = _root.pl;
pippo = math.round(math.random() * 3);
switch (pippo) {
case 1 :
_root.scena.particelle.attachmovie("fix", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
break;
case 2 :
_root.scena.particelle.attachmovie("duracell", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
break;
case 3 :
_root.scena.particelle.attachmovie("macd", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
}
dc._x = this.getbounds(_root.scena.particelle).xmax - (_width / 2);
dc._y = this.getbounds(_root.scena.particelle).ymax - (_height / 2);
dcl++;
}
energy = 30 + (5 * _root.difficulty);
_parent.gotoandstop(_parent._currentframe + 1);
}
}
i++;
}
} else {
_parent._visible = false;
}
}
Symbol 583 MovieClip Frame 3
_root.damage = _root.damage + 10;
_root.score = _root.score + 200;
this.attachmovie("ssec", "ssec", 1);
ssec._y = -66;
Symbol 588 MovieClip Frame 1
stop();
Instance of Symbol 14 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (load) {
_root.totaldamage = _root.totaldamage + 10;
energy = 30;
}
onClipEvent (enterFrame) {
sxx = _parent.getbounds(_root).xmax;
sxm = _parent.getbounds(_root).xmin;
if ((sxx > 0) && (sxm < 368)) {
_parent._visible = true;
i = 100;
while (i <= 103) {
shot = eval ("_root.scena.particelle.shot" + i);
if (this.hittest(shot) && (shot._currentframe == 1)) {
shot.gotoandstop(2);
energy = energy - (1 * _root.playerlevel);
if (energy <= 0) {
dcl = 0;
while (dcl <= 4) {
pl = _root.pl;
pippo = math.round(math.random() * 3);
switch (pippo) {
case 1 :
_root.scena.particelle.attachmovie("fix", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
break;
case 2 :
_root.scena.particelle.attachmovie("duracell", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
break;
case 3 :
_root.scena.particelle.attachmovie("macd", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
}
dc._x = this.getbounds(_root.scena.particelle).xmax - (_width / 2);
dc._y = this.getbounds(_root.scena.particelle).ymax - (_height / 2);
dcl++;
}
energy = 30 + (5 * _root.difficulty);
_parent.gotoandstop(_parent._currentframe + 1);
}
}
i++;
}
} else {
_parent._visible = false;
}
}
Symbol 588 MovieClip Frame 2
_root.damage = _root.damage + 10;
_root.score = _root.score + 200;
this.attachmovie("ssec", "ssec", 1);
ssec._y = -66;
Instance of Symbol 590 MovieClip in Symbol 591 MovieClip [floor4] Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.scena.sprites.mech.coll)) {
this._alpha = 100;
_root.scena.sprites.mech._x = _root.scena.sprites.mech._x - (_root.speed + 8);
} else {
this._alpha = 0;
}
}
Symbol 599 MovieClip Frame 1
stop();
Instance of Symbol 14 MovieClip in Symbol 599 MovieClip Frame 1
onClipEvent (load) {
_root.totaldamage = _root.totaldamage + 10;
energy = 30;
}
onClipEvent (enterFrame) {
sxx = _parent.getbounds(_root).xmax;
sxm = _parent.getbounds(_root).xmin;
if ((sxx > 0) && (sxm < 368)) {
_parent._visible = true;
i = 100;
while (i <= 103) {
shot = eval ("_root.scena.particelle.shot" + i);
if (this.hittest(shot) && (shot._currentframe == 1)) {
shot.gotoandstop(2);
energy = energy - (1 * _root.playerlevel);
if (energy <= 0) {
dcl = 0;
while (dcl <= 4) {
pl = _root.pl;
pippo = math.round(math.random() * 3);
switch (pippo) {
case 1 :
_root.scena.particelle.attachmovie("fix", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
break;
case 2 :
_root.scena.particelle.attachmovie("duracell", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
break;
case 3 :
_root.scena.particelle.attachmovie("macd", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
}
dc._x = this.getbounds(_root.scena.particelle).xmax - (_width / 2);
dc._y = this.getbounds(_root.scena.particelle).ymax - (_height / 2);
dcl++;
}
energy = 30 + (5 * _root.difficulty);
_parent.gotoandstop(_parent._currentframe + 1);
}
}
i++;
}
} else {
_parent._visible = false;
}
}
Symbol 599 MovieClip Frame 3
_parent.basefloor = _parent.basefloor - 1;
_root.damage = _root.damage + 10;
_root.score = _root.score + 50;
this.attachmovie("ssec", "ssec", 1);
ssec._y = -66;
Symbol 600 MovieClip Frame 1
stop();
Instance of Symbol 599 MovieClip in Symbol 600 MovieClip Frame 1
onClipEvent (load) {
p = 1;
lev = 0;
_parent.basefloor = p + 3;
n = 0;
while (n <= p) {
_parent.attachmovie("sky1", "sky" + n, n);
sk = eval ("_parent.sky" + n);
sk._x = 0;
sk._y = -189 - (133 * n);
n++;
}
stl = p + 1;
_parent.attachmovie("skytop", "sky" + stl, stl);
skt = eval ("_parent.sky" + stl);
skt._x = 0;
skt._y = -189 - (133 * stl);
}
onClipEvent (enterFrame) {
if (_parent.basefloor == 0) {
_root.filters.attachmovie("exp3", "ssec" + lev, lev);
ssec = eval ("_root.filters.ssec" + lev);
ssec._x = 184 - (math.random() * 368);
ssec._y = 104 - (math.random() * 207);
lev = lev + 1;
_root.filters.attachmovie("exp3", "ssec" + lev, lev);
ssec = eval ("_root.filters.ssec" + lev);
ssec._x = 368 - (math.random() * 368);
ssec._y = 207 - (math.random() * 207);
lev = lev + 1;
_root.filters.attachmovie("exp3", "ssec" + lev, lev);
ssec = eval ("_root.filters.ssec" + lev);
ssec._x = 368 - (math.random() * 368);
ssec._y = 207 - (math.random() * 207);
lev = lev + 1;
_parent._y = _parent._y + 9;
if (_parent.getbounds(_root.scena.back).ymin >= 50) {
n = 0;
while (n <= stl) {
sk = eval ("_parent.sky" + n);
removeMovieClip(sk);
n++;
}
_parent.gotoandstop(2);
}
}
}
Symbol 607 MovieClip Frame 1
stop();
Instance of Symbol 14 MovieClip in Symbol 607 MovieClip Frame 1
onClipEvent (load) {
_root.totaldamage = _root.totaldamage + 10;
energy = 30;
}
onClipEvent (enterFrame) {
sxx = _parent.getbounds(_root).xmax;
sxm = _parent.getbounds(_root).xmin;
if ((sxx > 0) && (sxm < 368)) {
_parent._visible = true;
i = 100;
while (i <= 103) {
shot = eval ("_root.scena.particelle.shot" + i);
if (this.hittest(shot) && (shot._currentframe == 1)) {
shot.gotoandstop(2);
energy = energy - (1 * _root.playerlevel);
if (energy <= 0) {
dcl = 0;
while (dcl <= 4) {
pl = _root.pl;
pippo = math.round(math.random() * 3);
switch (pippo) {
case 1 :
_root.scena.particelle.attachmovie("fix", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
break;
case 2 :
_root.scena.particelle.attachmovie("duracell", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
break;
case 3 :
_root.scena.particelle.attachmovie("macd", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
}
dc._x = this.getbounds(_root.scena.particelle).xmax - (_width / 2);
dc._y = this.getbounds(_root.scena.particelle).ymax - (_height / 2);
dcl++;
}
energy = 30 + (5 * _root.difficulty);
_parent.gotoandstop(_parent._currentframe + 1);
}
}
i++;
}
} else {
_parent._visible = false;
}
}
Symbol 607 MovieClip Frame 3
_parent.basefloor = _parent.basefloor - 1;
_root.damage = _root.damage + 10;
_root.score = _root.score + 50;
this.attachmovie("ssec", "ssec", 1);
ssec._y = -66;
Symbol 608 MovieClip Frame 1
stop();
Instance of Symbol 607 MovieClip in Symbol 608 MovieClip Frame 1
onClipEvent (load) {
p = 0;
lev = 0;
_parent.basefloor = p + 2;
n = 0;
while (n <= p) {
_parent.attachmovie("sky1", "sky" + n, n);
sk = eval ("_parent.sky" + n);
sk._x = 0;
sk._y = -189 - (133 * n);
n++;
}
stl = p + 1;
_parent.attachmovie("skytoppixel", "sky" + stl, stl);
skt = eval ("_parent.sky" + stl);
skt._x = 0;
skt._y = -189 - (133 * stl);
}
onClipEvent (enterFrame) {
if (_parent.basefloor == 0) {
_root.filters.attachmovie("exp3", "ssec" + lev, lev);
ssec = eval ("_root.filters.ssec" + lev);
ssec._x = 184 - (math.random() * 368);
ssec._y = 104 - (math.random() * 207);
lev = lev + 1;
_root.filters.attachmovie("exp3", "ssec" + lev, lev);
ssec = eval ("_root.filters.ssec" + lev);
ssec._x = 368 - (math.random() * 368);
ssec._y = 207 - (math.random() * 207);
lev = lev + 1;
_root.filters.attachmovie("exp3", "ssec" + lev, lev);
ssec = eval ("_root.filters.ssec" + lev);
ssec._x = 368 - (math.random() * 368);
ssec._y = 207 - (math.random() * 207);
lev = lev + 1;
_parent._y = _parent._y + 9;
if (_parent.getbounds(_root.scena.back).ymin >= 50) {
n = 0;
while (n <= stl) {
sk = eval ("_parent.sky" + n);
removeMovieClip(sk);
n++;
}
_parent.gotoandstop(2);
}
}
}
Symbol 615 MovieClip Frame 1
stop();
Instance of Symbol 612 MovieClip in Symbol 615 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.scena.sprites.mech.feet)) {
pippo2 = new Sound(this);
pippo2.attachSound("stlang");
pippo2.setvolume(_root.volume);
pippo2.start(0, 0);
_parent._xscale = -_root.scena.sprites.mech._xscale;
_parent.gotoandstop(2);
}
}
Symbol 615 MovieClip Frame 2
stop();
Symbol 624 MovieClip Frame 1
stop();
Instance of Symbol 14 MovieClip in Symbol 624 MovieClip Frame 1
onClipEvent (load) {
_root.totaldamage = _root.totaldamage + 10;
energy = 30;
}
onClipEvent (enterFrame) {
sxx = _parent.getbounds(_root).xmax;
sxm = _parent.getbounds(_root).xmin;
if ((sxx > 0) && (sxm < 368)) {
_parent._visible = true;
i = 100;
while (i <= 103) {
shot = eval ("_root.scena.particelle.shot" + i);
if (this.hittest(shot) && (shot._currentframe == 1)) {
shot.gotoandstop(2);
energy = energy - (1 * _root.playerlevel);
if (energy <= 0) {
dcl = 0;
while (dcl <= 4) {
pl = _root.pl;
pippo = math.round(math.random() * 3);
switch (pippo) {
case 1 :
_root.scena.particelle.attachmovie("fix", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
break;
case 2 :
_root.scena.particelle.attachmovie("duracell", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
break;
case 3 :
_root.scena.particelle.attachmovie("macd", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
}
dc._x = this.getbounds(_root.scena.particelle).xmax - (_width / 2);
dc._y = this.getbounds(_root.scena.particelle).ymax - (_height / 2);
dcl++;
}
energy = 30 + (5 * _root.difficulty);
_parent.gotoandstop(_parent._currentframe + 1);
}
}
i++;
}
} else {
_parent._visible = false;
}
}
Symbol 624 MovieClip Frame 2
_root.damage = _root.damage + 10;
_root.score = _root.score + 200;
this.attachmovie("ssec", "ssec", 1);
ssec._y = -120;
stop();
Symbol 628 MovieClip Frame 1
stop();
Instance of Symbol 607 MovieClip in Symbol 628 MovieClip Frame 1
onClipEvent (load) {
p = 0;
lev = 0;
_parent.basefloor = p + 2;
n = 0;
while (n <= p) {
_parent.attachmovie("sky1", "sky" + n, n);
sk = eval ("_parent.sky" + n);
sk._x = 0;
sk._y = -189 - (133 * n);
n++;
}
stl = p + 1;
_parent.attachmovie("skytopsk", "sky" + stl, stl);
skt = eval ("_parent.sky" + stl);
skt._x = 0;
skt._y = -189 - (133 * stl);
}
onClipEvent (enterFrame) {
if (_parent.basefloor == 0) {
_root.filters.attachmovie("exp3", "ssec" + lev, lev);
ssec = eval ("_root.filters.ssec" + lev);
ssec._x = 184 - (math.random() * 368);
ssec._y = 104 - (math.random() * 207);
lev = lev + 1;
_root.filters.attachmovie("exp3", "ssec" + lev, lev);
ssec = eval ("_root.filters.ssec" + lev);
ssec._x = 368 - (math.random() * 368);
ssec._y = 207 - (math.random() * 207);
lev = lev + 1;
_root.filters.attachmovie("exp3", "ssec" + lev, lev);
ssec = eval ("_root.filters.ssec" + lev);
ssec._x = 368 - (math.random() * 368);
ssec._y = 207 - (math.random() * 207);
lev = lev + 1;
_parent._y = _parent._y + 9;
if (_parent.getbounds(_root.scena.back).ymin >= 50) {
n = 0;
while (n <= stl) {
sk = eval ("_parent.sky" + n);
removeMovieClip(sk);
n++;
}
_parent.gotoandstop(2);
}
}
}
Instance of Symbol 590 MovieClip in Symbol 629 MovieClip [floor0] Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.scena.sprites.mech.coll)) {
this._alpha = 100;
_root.scena.sprites.mech._x = _root.scena.sprites.mech._x + (_root.speed + 8);
} else {
this._alpha = 0;
}
}
Symbol 639 MovieClip Frame 1
stop();
Instance of Symbol 14 MovieClip in Symbol 639 MovieClip Frame 1
onClipEvent (load) {
_root.totaldamage = _root.totaldamage + 10;
energy = 30;
}
onClipEvent (enterFrame) {
sxx = _parent.getbounds(_root).xmax;
sxm = _parent.getbounds(_root).xmin;
if ((sxx > 0) && (sxm < 368)) {
_parent._visible = true;
i = 100;
while (i <= 103) {
shot = eval ("_root.scena.particelle.shot" + i);
if (this.hittest(shot) && (shot._currentframe == 1)) {
shot.gotoandstop(2);
energy = energy - (1 * _root.playerlevel);
if (energy <= 0) {
dcl = 0;
while (dcl <= 4) {
pl = _root.pl;
pippo = math.round(math.random() * 3);
switch (pippo) {
case 1 :
_root.scena.particelle.attachmovie("fix", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
break;
case 2 :
_root.scena.particelle.attachmovie("duracell", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
break;
case 3 :
_root.scena.particelle.attachmovie("macd", "dc" + pl, pl);
dc = eval ("_root.scena.particelle.dc" + pl);
_root.pl = _root.pl + 1;
}
dc._x = this.getbounds(_root.scena.particelle).xmax - (_width / 2);
dc._y = this.getbounds(_root.scena.particelle).ymax - (_height / 2);
dcl++;
}
energy = 30 + (5 * _root.difficulty);
_parent.gotoandstop(_parent._currentframe + 1);
}
}
i++;
}
} else {
_parent._visible = false;
}
}
Symbol 639 MovieClip Frame 2
stop();
_root.damage = _root.damage + 10;
_root.score = _root.score + 200;
this.attachmovie("ssec", "ssec", 1);
ssec._y = -156;
Symbol 649 MovieClip [boing] Frame 9
removeMovieClip(this);
Symbol 655 MovieClip [fix] Frame 1
this.attachmovie("bonusfaller", "bf", 1);
this.onEnterFrame = function () {
if (this.hittest(_root.scena.sprites.mech)) {
_root.score = _root.score + 1000;
pippo2 = new Sound(this);
pippo2.attachSound("beep");
pippo2.setvolume(_root.volume);
pippo2.start(0, 0);
removeMovieClip(this);
}
};
Symbol 658 MovieClip [macd] Frame 1
this.attachmovie("bonusfaller", "bf", 1);
this.onEnterFrame = function () {
if (this.hittest(_root.scena.sprites.mech)) {
_root.score = _root.score + 2000;
pippo2 = new Sound(this);
pippo2.attachSound("beep");
pippo2.setvolume(_root.volume);
pippo2.start(0, 0);
removeMovieClip(this);
}
};
Symbol 661 MovieClip [duracell] Frame 1
this.attachmovie("bonusfaller", "bf", 1);
this.onEnterFrame = function () {
if (this.hittest(_root.scena.sprites.mech)) {
_root.energy = _root.energy + 10;
pippo2 = new Sound(this);
pippo2.attachSound("beep");
pippo2.setvolume(_root.volume);
pippo2.start(0, 0);
removeMovieClip(this);
}
};
Instance of Symbol 26 MovieClip "feet" in Symbol 686 MovieClip [pod1] Frame 1
onClipEvent (enterFrame) {
_parent._y = _parent._y + _root.gravity;
}
Instance of Symbol 665 MovieClip "coll" in Symbol 686 MovieClip [pod1] Frame 1
onClipEvent (load) {
_root.podonscreen = 1;
if (_root.energy > 2) {
_root.energy = _root.energy - 2;
}
}
onClipEvent (enterFrame) {
duration = duration + 1;
if (duration == 200) {
_root.podonscreen = 0;
removeMovieClip(_parent);
}
}
Symbol 686 MovieClip [pod1] Frame 13
stop();
Symbol 689 MovieClip [shell] Frame 1
this.attachmovie("shellfaller", "faller", 1);
Symbol 689 MovieClip [shell] Frame 30
removeMovieClip(this);
Symbol 698 MovieClip Frame 225
_parent.play();
Symbol 706 MovieClip Frame 225
_parent.play();
Symbol 721 MovieClip Frame 5
stop();
Symbol 725 Button
on (release) {
_parent.gotoandstop("instructions");
}
Symbol 726 Button
on (release) {
getURL ("http://www.officinepixel.com/online/");
}
Symbol 727 Button
on (release) {
_parent.gotoandstop("credits");
}
Symbol 728 MovieClip Frame 100
stop();
Instance of Symbol 717 MovieClip in Symbol 728 MovieClip Frame 100
onClipEvent (enterFrame) {
this.attachmovie("ash", "ash" + lev, lev);
ash = eval ("this.ash" + lev);
ash._x = (math.random() * 368) - 184;
ran = (math.random() * 2) + 0.5;
ash.rot = ran * 3;
ash.yvel = ran;
ash._xscale = (math.random() * 25) * ran;
ash._yscale = ash._xscale;
ash.alpha = ash._xscale;
lev = lev + 1;
}
Symbol 737 Button
on (release) {
getURL ("http://www.officinepixel.com/online/", "_blank");
}
Symbol 738 Button
on (release) {
getURL ("http://www.officinepixel.com/online/games/collateralDamages/", "_blank");
}
Symbol 741 Button
on (release) {
_root.gotoandstop(3);
}
Symbol 743 Button
on (release) {
_root.gotoandstop("menu");
}
Instance of Symbol 748 MovieClip in Symbol 755 MovieClip Frame 1
onClipEvent (enterFrame) {
this._alpha = 40;
_x = (_x - 0.2);
}
Symbol 765 Button
on (release) {
_root.play();
}
Instance of Symbol 768 MovieClip "back" in Symbol 772 MovieClip Frame 1
onClipEvent (enterFrame) {
gow = _parent.sprites.mech;
gowx = _parent.sprites.mech.feet.getbounds(_root).xmax;
gowy = _parent.sprites.mech.feet.getbounds(_root).ymax;
if (gow._xscale < 0) {
scrollpoint = _root.scrollpoint1;
} else {
scrollpoint = _root.scrollpoint2;
}
xscroll = 10 * ((scrollpoint - gowx) / gowx);
_parent._x = _parent._x + xscroll;
_parent._y = _parent._y + (20 * ((160 - gowy) / gowy));
}
onClipEvent (load) {
i = 0;
while (i <= 4) {
this.attachmovie("floor" + i, "floor" + i, i);
flo = eval ("this.floor" + i);
flo._x = 736 * i;
flo._y = 0;
i++;
}
}
Instance of Symbol 771 MovieClip "front" in Symbol 772 MovieClip Frame 1
onClipEvent (load) {
i = 0;
while (i <= 5) {
this.attachmovie("front", "floor" + i, i);
flo = eval ("this.floor" + i);
flo._x = 736 * i;
flo._y = -56;
i++;
}
}
Symbol 774 MovieClip Frame 1
if (_root.damagepercent >= 75) {
gotoAndPlay (29);
}
Symbol 774 MovieClip Frame 15
if (_root.npolicecars < (2 * _root.difficulty)) {
lr = math.random() * 10;
sl = _root.sl;
_root.scena.sprites.attachmovie("policecar", "policecar" + sl, sl);
pc = eval ("_root.scena.sprites.policecar" + sl);
pc._y = _root.ground;
if (lr < 5) {
pc._x = this.getbounds(_root.scena.sprites).xmin;
} else {
pc._x = this.getbounds(_root.scena.sprites).xmax + 450;
}
_root.sl = _root.sl + 1;
_root.npolicecars = _root.npolicecars + 1;
}
Symbol 774 MovieClip Frame 23
if (_root.damagepercent < 10) {
gotoAndPlay (1);
}
Symbol 774 MovieClip Frame 30
if (_root.nheli < 1) {
sl = _root.sl;
_root.scena.sprites.attachmovie("heli", "heli" + sl, sl);
_root.sl = _root.sl + 1;
_root.nheli = _root.nheli + 1;
}
Symbol 774 MovieClip Frame 38
if (_root.damagepercent < 25) {
gotoAndPlay (1);
}
Symbol 774 MovieClip Frame 45
if (_root.ntank < 2) {
sl = _root.sl;
_root.scena.sprites.attachmovie("tank", "tank" + sl, sl);
tank = eval ("_root.scena.sprites.tank" + sl);
tank._y = _root.ground;
tank._x = _root.scena.sprites.mech._x - (250 + (math.random() * 50));
_root.sl = _root.sl + 1;
_root.ntank = _root.ntank + 1;
}
Symbol 774 MovieClip Frame 52
if (_root.damagepercent < 50) {
gotoAndPlay (1);
}
Symbol 774 MovieClip Frame 60
if (_root.nheli < 2) {
sl = _root.sl;
_root.scena.sprites.attachmovie("heli", "heli" + sl, sl);
_root.sl = _root.sl + 1;
_root.nheli = _root.nheli + 1;
}
Symbol 774 MovieClip Frame 66
if (_root.damagepercent < 75) {
gotoAndPlay (1);
}
Symbol 774 MovieClip Frame 79
if (_root.nsatellite < 1) {
sl = _root.sl;
_root.scena.sprites.attachmovie("satellite", "satellite" + sl, sl);
_root.sl = _root.sl + 1;
_root.nsatellite = _root.nsatellite + 1;
}
Symbol 776 MovieClip Frame 31
stop();
Instance of Symbol 781 MovieClip in Symbol 786 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = _root.energy;
}
Symbol 790 Button
on (release) {
loadMovieNum ("cd_loader.swf", 0);
}
Symbol 795 Button
on (press) {
getURL ("http://www.officinepixel.com/online/games/collateralDamages");
}