Instance of Symbol 296 MovieClip in Frame 1
//component parameters
onClipEvent (initialize) {
xin_motion_val = "None";
xin_alphatype_val = "Yes";
xout_motion_val = "None";
xout_alphatype_val = "Yes";
perc_req_val = 100;
show_perc_val = "Yes";
slow_factor_val = 1;
init_action_val = "_root.stop();";
play_action_val = "_root.play();";
}
Frame 2
stop();
Mouse.show();
_quality = "Medium";
Frame 3
stop();
Mouse.show();
Frame 4
Mouse.show();
stop();
Instance of Symbol 347 MovieClip in Frame 4
onClipEvent (load) {
swapDepths(9999);
}
Frame 10
Mouse.hide();
_root.level = 1;
_root.score = 0;
_root.time = 0;
_root.switch1 = 1750;
_root.switch2 = 3000;
_root.switch3 = 4500;
Instance of Symbol 470 MovieClip "lineshoot" in Frame 10
onClipEvent (enterFrame) {
_x = _root.seraph._x;
Xpos = _root.seraph._x;
_y = (_root.seraph._y - 25);
Ypos = _root.seraph._y - 25;
circleXpos = _root._xmouse;
circleYpos = _root._ymouse;
x = Xpos - circleXpos;
y = Ypos - circleYpos;
r = Math.sqrt((x * x) + (y * y));
sinTheta = y / r;
theta = Math.asin(sinTheta);
shoot._width = r;
if (Xpos < circleXpos) {
_rotation = (180 - (theta / 0.0175));
} else if (circleXpos < Xpos) {
_rotation = (theta / 0.0175);
}
}
Instance of Symbol 501 MovieClip "seraph" in Frame 10
onClipEvent (enterFrame) {
swapDepths(5000);
}
Instance of Symbol 503 MovieClip in Frame 10
on (release) {
_root.seraph.gotoandplay("hit");
}
Instance of Symbol 514 MovieClip "hud" in Frame 10
onClipEvent (load) {
swapDepths(9990);
}
Instance of Symbol 526 MovieClip "crosshair" in Frame 10
onClipEvent (load) {
_root.shoot = false;
swapDepths(4999);
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
if (_root.shoot) {
gotoAndStop (2711);
if (_root.doubleDamage <= 0) {
_root.damage = 10;
} else if (_root.doubleDamage > 0) {
_root.damage = 20;
}
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
_root.shoot = true;
}
onClipEvent (mouseUp) {
_root.shoot = false;
}
Instance of Symbol 534 MovieClip "ship" in Frame 10
onClipEvent (load) {
step = 0;
m_angle = 0;
}
onClipEvent (keyUp) {
if (Key.getCode(37)) {
k = 0;
}
if (Key.getCode(39)) {
kk = 0;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
m_angle = m_angle + 3;
k = 1;
}
if (Key.isDown(39)) {
m_angle = m_angle - 3;
kk = 1;
}
if (m_angle <= -12) {
m_angle = -12;
}
if (m_angle > 12) {
m_angle = 12;
}
sum = k + kk;
if (sum == 0) {
if (m_angle > 0) {
m_angle = m_angle - 2;
}
if (m_angle < 0) {
m_angle = m_angle + 2;
}
}
setProperty(_root.main, _rotation , m_angle);
setProperty(_root.seraph, _rotation , -m_angle);
setProperty(_root.seraph.cockpit.screen.horizon, _rotation , m_angle);
}
Frame 11
stop();
Instance of Symbol 551 MovieClip in Frame 12
onClipEvent (load) {
latency = 50;
i = 1;
counter = 0;
}
onClipEvent (enterFrame) {
if (_root.switch1 < _root.time) {
latency = 70;
}
outspit = Number(random(latency));
if (outspit == 2) {
if (i >= 20) {
i = 1;
}
if ((_root.switch1 >= _root.time) || (_root.switch2 < _root.time)) {
_root.attachMovie("enemy02", i, i);
}
i++;
}
}
Instance of Symbol 552 MovieClip in Frame 12
onClipEvent (load) {
latency = 40;
i = 21;
counter = 0;
}
onClipEvent (enterFrame) {
if (_root.switch2 < _root.time) {
latency = 70;
}
outspit = Number(random(latency));
if (outspit == 2) {
if (i >= 40) {
i = 21;
}
if (_root.switch1 < _root.time) {
_root.attachMovie("enemy04", i, i);
}
i++;
}
}
Instance of Symbol 553 MovieClip in Frame 12
onClipEvent (load) {
_root.doubleDamage = 0;
_root.spawnplace = 2000;
}
onClipEvent (enterFrame) {
if (_root.doubleDamage > 0) {
_rot.doubleDamage--;
}
_root.time++;
check = _root.time % 18;
if (check == 1) {
_root.score++;
}
if (_root.time >= _root.switch3) {
_root.play();
}
if (_root.health <= 0) {
_root.play();
}
}
Instance of Symbol 554 MovieClip in Frame 12
/* no clip actions */
Instance of Symbol 556 MovieClip "nuker" in Frame 12
onClipEvent (load) {
swapDepths(9998);
}
Frame 14
stop();
Frame 15
if (_root.health <= 0) {
removeMovieClip("seraph");
removeMovieClip("crosshair");
removeMovieClip("screenager");
removeMovieClip("hud");
removeMovieClip("nuker");
removeMovieClip("master");
i = 1;
while (i <= 100) {
removeMovieClip(i);
i++;
}
i = 201;
while (i <= 250) {
removeMovieClip(i);
i++;
}
_root.GotoAndplay(3);
}
if ((_root.time < _root.switch3) && (_root.health > 0)) {
gotoAndStop(_currentframe - 2 +3);
}
Frame 23
removeMovieClip("seraph");
removeMovieClip("crosshair");
removeMovieClip("screenager");
removeMovieClip("hud");
removeMovieClip("nuker");
removeMovieClip("master");
i = 1;
while (i <= 100) {
removeMovieClip(i);
i++;
}
i = 201;
while (i <= 250) {
removeMovieClip(i);
i++;
}
Frame 60
Mouse.hide();
_root.time = 0;
_root.level = 2;
_root.switch1 = 720;
_root.switch2 = 1440;
_root.switch3 = 2160;
_root.switch4 = 2880;
_root.switch5 = 3600;
Instance of Symbol 470 MovieClip "lineshoot" in Frame 60
onClipEvent (enterFrame) {
_x = _root.seraph._x;
Xpos = _root.seraph._x;
_y = (_root.seraph._y - 25);
Ypos = _root.seraph._y - 25;
circleXpos = _root._xmouse;
circleYpos = _root._ymouse;
x = Xpos - circleXpos;
y = Ypos - circleYpos;
r = Math.sqrt((x * x) + (y * y));
sinTheta = y / r;
theta = Math.asin(sinTheta);
shoot._width = r;
if (Xpos < circleXpos) {
_rotation = (180 - (theta / 0.0175));
} else if (circleXpos < Xpos) {
_rotation = (theta / 0.0175);
}
}
Instance of Symbol 501 MovieClip "seraph" in Frame 60
onClipEvent (enterFrame) {
swapDepths(5000);
}
Instance of Symbol 503 MovieClip in Frame 60
on (release) {
_root.seraph.gotoandplay("hit");
}
Instance of Symbol 514 MovieClip "hud" in Frame 60
onClipEvent (load) {
swapDepths(9990);
}
Instance of Symbol 526 MovieClip "crosshair" in Frame 60
onClipEvent (load) {
_root.shoot = false;
swapDepths(4999);
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
if (_root.shoot) {
gotoAndStop (2767);
if (_root.doubleDamage <= 0) {
_root.damage = 10;
} else if (_root.doubleDamage > 0) {
_root.damage = 20;
}
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
_root.shoot = true;
}
onClipEvent (mouseUp) {
_root.shoot = false;
}
Instance of Symbol 534 MovieClip "ship" in Frame 60
onClipEvent (load) {
step = 0;
m_angle = 0;
}
onClipEvent (keyUp) {
if (Key.getCode(37)) {
k = 0;
}
if (Key.getCode(39)) {
kk = 0;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
m_angle = m_angle + 3;
k = 1;
}
if (Key.isDown(39)) {
m_angle = m_angle - 3;
kk = 1;
}
if (m_angle <= -12) {
m_angle = -12;
}
if (m_angle > 12) {
m_angle = 12;
}
sum = k + kk;
if (sum == 0) {
if (m_angle > 0) {
m_angle = m_angle - 2;
}
if (m_angle < 0) {
m_angle = m_angle + 2;
}
}
setProperty(_root.main, _rotation , m_angle);
setProperty(_root.seraph, _rotation , -m_angle);
setProperty(_root.seraph.cockpit.screen.horizon, _rotation , m_angle);
}
Instance of Symbol 347 MovieClip in Frame 60
onClipEvent (load) {
swapDepths(9999);
}
Frame 61
stop();
Instance of Symbol 560 MovieClip in Frame 61
onClipEvent (load) {
_root.attachMovie("enemy10", "master", 1);
}
Instance of Symbol 561 MovieClip in Frame 61
onClipEvent (load) {
_root.spawnplace = 2000;
}
onClipEvent (enterFrame) {
_root.time++;
if (_root.health <= 0) {
_root.play();
}
}
Instance of Symbol 556 MovieClip "nuker" in Frame 62
onClipEvent (load) {
swapDepths(9998);
}
Frame 64
stop();
Frame 65
if (_root.health <= 0) {
removeMovieClip("seraph");
removeMovieClip("light");
removeMovieClip("crosshair");
removeMovieClip("screenager");
removeMovieClip("hud");
removeMovieClip("master");
i = 1;
while (i <= 100) {
removeMovieClip(i);
i++;
}
i = 201;
while (i <= 250) {
removeMovieClip(i);
i++;
}
_root.GotoAndplay(3);
} else if (_root.master.f16.health <= 0) {
removeMovieClip("seraph");
removeMovieClip("light");
removeMovieClip("crosshair");
removeMovieClip("screenager");
removeMovieClip("hud");
removeMovieClip("master");
i = 1;
while (i <= 100) {
removeMovieClip(i);
i++;
}
i = 201;
while (i <= 250) {
removeMovieClip(i);
i++;
}
_root.GotoAndplay(3);
}
if ((_root.master.health > 0) && (_root.health > 0)) {
gotoAndStop(_currentframe - 2 +59);
}
Frame 109
removeMovieClip("seraph");
removeMovieClip("crosshair");
removeMovieClip("screenager");
removeMovieClip("hud");
removeMovieClip("nuker");
removeMovieClip("master");
i = 1;
while (i <= 100) {
removeMovieClip(i);
i++;
}
i = 201;
while (i <= 250) {
removeMovieClip(i);
i++;
}
Instance of Symbol 9 MovieClip in Symbol 10 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.health > 0) {
this._x = _parent._parent.health;
}
}
Symbol 21 MovieClip Frame 64
_root.fireballSpawnX = _parent.x;
_root.fireballSpawnY = _parent.y;
if (_parent.i > 2) {
_parent.i = 1;
}
_root.attachMovie("enemy10-1", 2 + _parent.i, _parent.depth + _parent.i);
_parent.i++;
Symbol 21 MovieClip Frame 190
_parent.attack = false;
stop();
Symbol 27 MovieClip Frame 1
stop();
var i = 0;
while (i < 5) {
duplicateMovieClip ("shard", "shard" + i, i);
target = eval ("shard" + i);
target._x = target._x + (random(20) - 10);
target._y = target._y + (random(10) + 5);
i++;
}
Instance of Symbol 26 MovieClip "shard" in Symbol 27 MovieClip Frame 1
onClipEvent (load) {
xspeed = random(10) - 1;
yspeed = (-random(10)) - 1;
_xscale = (random(50) + 10);
_yscale = _xscale;
bv = _root.mou + 500;
}
onClipEvent (enterFrame) {
yspeed = yspeed + 0.2;
_rotation = ((Math.atan2(yspeed, xspeed) * 360) / Math.PI);
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_y > (bv + (_height / 4))) {
_y = (bv + (_height / 4));
yspeed = (-yspeed) * 0.3;
xspeed = xspeed * 0.3;
}
if ((_x > 180) or (_x < -180)) {
bv = 500;
}
}
Symbol 66 MovieClip Frame 36
stop();
Symbol 69 MovieClip Frame 1
i = 1;
Instance of Symbol 23 MovieClip "attack" in Symbol 69 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.seraph.hitarea) && (_parent._parent.z > -25)) && (_parent._parent.z < 25)) {
damage = 10;
_root.seraph.gotoandplay("hit");
shielddamage = Math.round(damage * 0.3);
healthdamage = Math.round(damage * 0.7);
if (_root.shield >= shielddamage) {
_root.shield = _root.shield - shielddamage;
_root.health = _root.health - healthdamage;
} else {
_root.health = _root.health - damage;
_root.shield = 0;
}
_root.hit.gotoAndPlay(3);
_parent.gotoAndPlay("boum");
}
}
Instance of Symbol 24 MovieClip "attack" in Symbol 69 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.crosshair.allguns.gun.hitarea)) {
if (_parent.health > 0) {
_parent.gotoAndPlay("hit");
} else {
_parent._parent.dead = true;
_parent.gotoAndPlay("boum");
}
}
}
Symbol 69 MovieClip Frame 2
health = _parent.health;
stop();
Symbol 69 MovieClip Frame 5
health = _parent.health;
Symbol 69 MovieClip Frame 10
_parent.health = health - _root.damage;
Symbol 69 MovieClip Frame 11
gotoAndStop (5);
Symbol 69 MovieClip Frame 20
_root.score = _root.score + 50;
_parent._parent.dead = true;
_parent._parent.xstep = 0;
_parent._parent.zstep = 0;
_parent._parent.ystep = 0;
Symbol 69 MovieClip Frame 54
stop();
Symbol 69 MovieClip Frame 55
x = random(9);
if (x > 5) {
gotoAndPlay (56);
}
if (x <= 5) {
gotoAndPlay (101);
}
Instance of Symbol 23 MovieClip "attack" in Symbol 69 MovieClip Frame 56
onClipEvent (enterFrame) {
if ((this.hitTest(_root.seraph.hitarea) && (_parent._parent.z > -25)) && (_parent._parent.z < 25)) {
damage = 10;
_root.seraph.gotoandplay("hit");
shielddamage = Math.round(damage * 0.3);
healthdamage = Math.round(damage * 0.7);
if (_root.shield >= shielddamage) {
_root.shield = _root.shield - shielddamage;
_root.health = _root.health - healthdamage;
} else {
_root.health = _root.health - damage;
_root.shield = 0;
}
_root.hit.gotoAndPlay(3);
_parent.gotoAndPlay("boum");
}
}
Instance of Symbol 24 MovieClip "attack" in Symbol 69 MovieClip Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.crosshair.allguns.gun.hitarea)) {
if (_parent.health > 0) {
_parent.gotoAndPlay("hit");
} else {
_parent._parent.dead = true;
_parent.gotoAndPlay("boum");
}
}
}
Symbol 69 MovieClip Frame 72
stop();
Instance of Symbol 23 MovieClip "attack" in Symbol 69 MovieClip Frame 101
onClipEvent (enterFrame) {
if ((this.hitTest(_root.seraph.hitarea) && (_parent._parent.z > -25)) && (_parent._parent.z < 25)) {
damage = 10;
_root.seraph.gotoandplay("hit");
shielddamage = Math.round(damage * 0.3);
healthdamage = Math.round(damage * 0.7);
if (_root.shield >= shielddamage) {
_root.shield = _root.shield - shielddamage;
_root.health = _root.health - healthdamage;
} else {
_root.health = _root.health - damage;
_root.shield = 0;
}
_root.hit.gotoAndPlay(3);
_parent.gotoAndPlay("boum");
}
}
Instance of Symbol 24 MovieClip "attack" in Symbol 69 MovieClip Frame 101
onClipEvent (enterFrame) {
if (this.hitTest(_root.crosshair.allguns.gun.hitarea)) {
if (_parent.health > 0) {
_parent.gotoAndPlay("hit");
} else {
_parent._parent.dead = true;
_parent.gotoAndPlay("boum");
}
}
}
Symbol 69 MovieClip Frame 119
stop();
Symbol 70 MovieClip Frame 1
health = 50;
Symbol 73 MovieClip [enemy04] Frame 1
stop();
stop();
Instance of Symbol 72 MovieClip in Symbol 73 MovieClip [enemy04] Frame 1
onClipEvent (load) {
_parent.i = 1;
_parent.health = 50;
_parent.dead = false;
_parent.attack = false;
_parent.attack2 = false;
_parent.xposition = Number(random(500) - 250);
_parent.yposition = Number(random(500) - 250);
_parent.z = _root.spawnplace;
_parent.zstep = -8;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
}
onClipEvent (enterFrame) {
if (!_parent.dead) {
if ((_root.seraph_x + 20) < _parent.xposition) {
_parent.xstep = -2;
} else if (_parent.xposition < (_root.seraph_x - 20)) {
_parent.xstep = 2;
} else {
_parent.xstep = 0;
}
if ((_root.seraph_y + 40) < _parent.yposition) {
_parent.ystep = -2;
} else if (_parent.yposition < (_root.seraph_y - 40)) {
_parent.ystep = 2;
} else {
_parent.ystep = 0;
}
}
_parent.xposition = _parent.xposition + _parent.xstep;
_parent.yposition = _parent.yposition + _parent.ystep;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.depth = (-_parent.z) + 5000;
if ((_parent.depth == 4999) || (_parent.depth == 5000)) {
_parent.depth = _parent.depth + 2;
}
_parent.swapDepths(_parent.depth);
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
_parent.z = _parent.z + (_parent.zstep - _root.speed);
if (_parent.z < -150) {
_parent.removeMovieClip("");
}
if (!_parent.dead) {
if ((_parent.z < 100) && (!_parent.attack)) {
_parent.attack = true;
_parent.f16.f16.gotoAndplay("evade");
}
}
if (_parent.dead) {
_parent.attack = false;
_parent.xstep = _parent.xstep * 1.1;
}
if (_root.nukeAll) {
parent.attack = false;
_parent.f16.f16.gotoAndPlay("boum");
}
}
Symbol 73 MovieClip [enemy04] Frame 2
stop();
Instance of Symbol 23 MovieClip "attack" in Symbol 74 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.seraph.hitarea) && (_parent._parent.z > -25)) && (_parent._parent.z < 25)) {
damage = 10;
_root.seraph.gotoandplay("hit");
shielddamage = Math.round(damage * 0.3);
healthdamage = Math.round(damage * 0.7);
if (_root.shield >= shielddamage) {
_root.shield = _root.shield - shielddamage;
_root.health = _root.health - healthdamage;
} else {
_root.health = _root.health - damage;
_root.shield = 0;
}
_root.hit.gotoAndPlay(3);
}
}
Instance of Symbol 24 MovieClip "attack" in Symbol 74 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.crosshair.allguns.gun.hitarea)) {
if (_parent.health > 0) {
_parent.gotoAndPlay("hit");
} else {
_parent._parent.dead = true;
_parent.gotoAndPlay("boum");
}
}
}
Symbol 74 MovieClip Frame 2
health = _parent.health;
stop();
Symbol 74 MovieClip Frame 10
_parent.health = health - _root.damage;
Symbol 74 MovieClip Frame 11
gotoAndPlay (2);
Symbol 74 MovieClip Frame 20
_root.score = _root.score + 500;
_parent._parent.dead = true;
_parent._parent.xstep = 0;
_parent._parent.zstep = 0;
_parent._parent.ystep = 0;
Symbol 74 MovieClip Frame 41
_root.GotoAndplay(1);
removeMovieClip("_root.seraph");
removeMovieClip("_root.light");
removeMovieClip("_root.crosshair");
removeMovieClip("_root.screenager");
removeMovieClip("_root.hud");
removeMovieClip("_root.master");
Symbol 74 MovieClip Frame 54
_parent._parent.removeMovieClip("");
Symbol 74 MovieClip Frame 55
x = random(9);
if (x > 5) {
gotoAndPlay (56);
}
if (x <= 5) {
gotoAndPlay (101);
}
Instance of Symbol 23 MovieClip "attack" in Symbol 74 MovieClip Frame 56
onClipEvent (enterFrame) {
if ((this.hitTest(_root.seraph.hitarea) && (_parent._parent.z > -25)) && (_parent._parent.z < 25)) {
damage = 10;
_root.seraph.gotoandplay("hit");
shielddamage = Math.round(damage * 0.3);
healthdamage = Math.round(damage * 0.7);
if (_root.shield >= shielddamage) {
_root.shield = _root.shield - shielddamage;
_root.health = _root.health - healthdamage;
} else {
_root.health = _root.health - damage;
_root.shield = 0;
}
_root.hit.gotoAndPlay(3);
_parent.gotoAndPlay("boum");
}
}
Instance of Symbol 24 MovieClip "attack" in Symbol 74 MovieClip Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.crosshair.allguns.gun.hitarea)) {
if (_parent.health > 0) {
_parent.gotoAndPlay("hit");
} else {
_parent._parent.dead = true;
_parent.gotoAndPlay("boum");
}
}
}
Symbol 74 MovieClip Frame 72
stop();
Instance of Symbol 23 MovieClip "attack" in Symbol 74 MovieClip Frame 101
onClipEvent (enterFrame) {
if ((this.hitTest(_root.seraph.hitarea) && (_parent._parent.z > -25)) && (_parent._parent.z < 25)) {
damage = 10;
_root.seraph.gotoandplay("hit");
shielddamage = Math.round(damage * 0.3);
healthdamage = Math.round(damage * 0.7);
if (_root.shield >= shielddamage) {
_root.shield = _root.shield - shielddamage;
_root.health = _root.health - healthdamage;
} else {
_root.health = _root.health - damage;
_root.shield = 0;
}
_root.hit.gotoAndPlay(3);
_parent.gotoAndPlay("boum");
}
}
Instance of Symbol 24 MovieClip "attack" in Symbol 74 MovieClip Frame 101
onClipEvent (enterFrame) {
if (this.hitTest(_root.crosshair.allguns.gun.hitarea)) {
if (_parent.health > 0) {
_parent.gotoAndPlay("hit");
} else {
_parent._parent.dead = true;
_parent.gotoAndPlay("boum");
}
}
}
Symbol 74 MovieClip Frame 119
stop();
Symbol 75 MovieClip Frame 1
health = 1000;
Symbol 76 MovieClip [enemy10] Frame 1
stop();
Instance of Symbol 72 MovieClip in Symbol 76 MovieClip [enemy10] Frame 1
onClipEvent (load) {
_parent.i = 1;
_parent.health = 700;
_parent.dead = false;
_parent.attack = false;
_parent.attack2 = false;
_parent.xposition = Number(random(500) - 250);
_parent.yposition = Number(random(500) - 250);
_parent.z = _root.spawnplace;
_parent.zstep = -6;
rot = 0;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
}
onClipEvent (enterFrame) {
if (_parent.z <= 300) {
_parent.zstep = 12;
} else {
_parent.zstep = -6;
}
if (!_parent.dead) {
if ((_root.seraph_x + 20) < _parent.xposition) {
_parent.xstep = -2;
} else if (_parent.xposition < (_root.seraph_x - 20)) {
_parent.xstep = 2;
} else {
_parent.xstep = 0;
}
if ((_root.seraph_y + 40) < _parent.yposition) {
_parent.ystep = -2;
} else if (_parent.yposition < (_root.seraph_y - 40)) {
_parent.ystep = 2;
} else {
_parent.ystep = 0;
}
}
_parent.xposition = _parent.xposition + _parent.xstep;
_parent.yposition = _parent.yposition + _parent.ystep;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
rot = rot + 0.12;
_parent.y = _parent.y + (150 * Math.sin(rot));
rot2 = rot * 0.25;
_parent.x = _parent.x + (400 * Math.cos(rot2));
_parent.depth = (-_parent.z) + 5000;
if ((_parent.depth == 4999) || (_parent.depth == 5000)) {
_parent.depth = _parent.depth + 2;
}
_parent.swapDepths(_parent.depth);
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
_parent.z = _parent.z + (_parent.zstep - _root.speed);
if (_parent.z < -150) {
_parent.removeMovieClip("");
}
if (!_parent.dead) {
if ((_parent.z < 50) && (!_parent.attack)) {
_parent.attack = true;
_parent.gotoAndPlay(6);
}
}
if (_parent.dead) {
_parent.xstep = _parent.xstep * 1.1;
}
}
Symbol 77 MovieClip Frame 1
health = 50;
Symbol 78 MovieClip [enemy02] Frame 1
stop();
stop();
Instance of Symbol 72 MovieClip in Symbol 78 MovieClip [enemy02] Frame 1
onClipEvent (load) {
_parent.i = 1;
_parent.health = 50;
_parent.dead = false;
_parent.attack = false;
_parent.attack2 = false;
_parent.xposition = Number(random(500) - 250);
_parent.yposition = Number(random(500) - 250);
_parent.z = _root.spawnplace;
_parent.zstep = -8;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
}
onClipEvent (enterFrame) {
if (!_parent.dead) {
if ((_root.seraph_x + 20) < _parent.xposition) {
_parent.xstep = -2;
} else if (_parent.xposition < (_root.seraph_x - 20)) {
_parent.xstep = 2;
} else {
_parent.xstep = 0;
}
if ((_root.seraph_y + 40) < _parent.yposition) {
_parent.ystep = -2;
} else if (_parent.yposition < (_root.seraph_y - 40)) {
_parent.ystep = 2;
} else {
_parent.ystep = 0;
}
}
_parent.xposition = _parent.xposition + _parent.xstep;
_parent.yposition = _parent.yposition + _parent.ystep;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.depth = (-_parent.z) + 5000;
if ((_parent.depth == 4999) || (_parent.depth == 5000)) {
_parent.depth = _parent.depth + 2;
}
_parent.swapDepths(_parent.depth);
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
_parent.z = _parent.z + (_parent.zstep - _root.speed);
if (_parent.z < -150) {
_parent.removeMovieClip("");
}
if (!_parent.dead) {
if ((_parent.z < 100) && (!_parent.attack)) {
_parent.attack = true;
_parent.f16.f16.gotoAndplay("evade");
}
}
if (_parent.dead) {
_parent.attack = false;
_parent.xstep = _parent.xstep * 1.1;
}
if (_root.nukeAll) {
parent.attack = false;
_parent.f16.f16.gotoAndPlay("boum");
}
}
Symbol 78 MovieClip [enemy02] Frame 2
stop();
Symbol 108 MovieClip [explosionMC] Frame 15
stop();
Symbol 116 MovieClip [wave] Frame 1
_x = _root._xmouse;
_y = _root._ymouse;
Symbol 116 MovieClip [wave] Frame 15
removeMovieClip("");
Symbol 129 MovieClip Frame 10
stop();
_parent.removeMovieClip("");
Instance of Symbol 119 MovieClip "attack" in Symbol 130 MovieClip [healthpack] Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.seraph.hitarea) && (_parent.z > -20)) && (_parent.z < 20)) {
if (_root.shield <= 25) {
_root.shield = _root.shield + 25;
} else if (_root.shield <= 50) {
_root.shield = 50;
}
_parent.gotoAndPlay(3);
}
}
Instance of Symbol 120 MovieClip in Symbol 130 MovieClip [healthpack] Frame 1
onClipEvent (load) {
_parent.xposition = Number(random(500) - 250);
_parent.yposition = Number(random(400) - 200);
_parent.z = _root.spawnplace;
_parent.zstep = 0;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
}
onClipEvent (enterFrame) {
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.depth = (-_parent.z) + 5000;
if ((_parent.depth == 4999) || (_parent.depth == 5000)) {
_parent.depth = _parent.depth + 2;
}
_parent.swapDepths(_parent.depth);
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
_parent.z = _parent.z + (_parent.zstep - _root.speed);
if (_parent.z < -150) {
_parent.removeMovieClip("");
}
}
Symbol 130 MovieClip [healthpack] Frame 2
stop();
Symbol 130 MovieClip [healthpack] Frame 4
stop();
Symbol 139 MovieClip Frame 9
_parent.removeMovieClip("");
Symbol 139 MovieClip Frame 10
stop();
_parent.removeMovieClip("");
Instance of Symbol 133 MovieClip "attack" in Symbol 140 MovieClip [nuke] Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.seraph.hitarea) && (_parent.z > -20)) && (_parent.z < 20)) {
_root.nuker.gotoAndPlay(3);
}
}
Instance of Symbol 120 MovieClip in Symbol 140 MovieClip [nuke] Frame 1
onClipEvent (load) {
_parent.xposition = Number(random(500) - 250);
_parent.yposition = Number(random(400) - 200);
_parent.z = _root.spawnplace;
_parent.zstep = 0;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
}
onClipEvent (enterFrame) {
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.depth = (-_parent.z) + 5000;
if ((_parent.depth == 4999) || (_parent.depth == 5000)) {
_parent.depth = _parent.depth + 2;
}
_parent.swapDepths(_parent.depth);
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
_parent.z = _parent.z + (_parent.zstep - _root.speed);
if (_parent.z < -150) {
_parent.removeMovieClip("");
}
}
Symbol 140 MovieClip [nuke] Frame 2
stop();
Symbol 140 MovieClip [nuke] Frame 4
stop();
Instance of Symbol 143 MovieClip in Symbol 145 MovieClip [hills1] Frame 1
onClipEvent (load) {
frame = Number(random(4) + 1);
gotoAndStop(frame);
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip [hills1] Frame 1
onClipEvent (load) {
_parent.xposition = Number(random(4000) - 2000);
_parent.yposition = -1500;
_parent.z = 2000;
_parent.zstep = 0;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
}
onClipEvent (enterFrame) {
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
_parent.z = _parent.z + (_parent.zstep - _root.speed);
if (_parent.z < -20) {
_parent.removeMovieClip("");
}
}
Symbol 147 MovieClip Frame 45
stop();
Symbol 155 MovieClip Frame 9
stop();
Instance of Symbol 148 MovieClip in Symbol 156 MovieClip [enemy10-3] Frame 1
onClipEvent (load) {
_parent.health = 20;
_parent.dead = false;
_parent.attack = false;
_parent.xposition = -_root.master.x;
_parent.yposition = -_root.master.y;
_parent.z = _root.master.z;
_parent.zstep = -8;
rot = 0;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
}
onClipEvent (enterFrame) {
if (!_parent.dead) {
if ((_root.seraph_x + 20) < _parent.xposition) {
_parent.xstep = -8;
} else if (_parent.xposition < (_root.seraph_x - 20)) {
_parent.xstep = 8;
} else {
_parent.xstep = 0;
}
if ((_root.seraph_y + 40) < _parent.yposition) {
_parent.ystep = -8;
} else if (_parent.yposition < (_root.seraph_y - 40)) {
_parent.ystep = 8;
} else {
_parent.ystep = 0;
}
}
_parent.xposition = _parent.xposition + _parent.xstep;
_parent.yposition = _parent.yposition + _parent.ystep;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
rot = rot + 0.3;
_parent.y = _parent.y + (20 * Math.sin(rot));
_parent.x = _parent.x + (20 * Math.cos(rot));
_parent.depth = (-_parent.z) + 5000;
if ((_parent.depth == 4999) || (_parent.depth == 5000)) {
_parent.depth = _parent.depth + 2;
}
_parent.swapDepths(_parent.depth);
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
_parent.z = _parent.z + (_parent.zstep - _root.speed);
if (_parent.z < -150) {
_parent.removeMovieClip("");
}
if (!_parent.dead) {
if ((_parent.z < 150) && (!_parent.attack)) {
_parent.attack = true;
_parent.gotoAndPlay(6);
}
}
if (_parent.dead) {
_parent.xstep = _parent.xstep * 1.1;
}
}
Symbol 156 MovieClip [enemy10-3] Frame 5
stop();
Instance of Symbol 149 MovieClip "attack" in Symbol 156 MovieClip [enemy10-3] Frame 6
onClipEvent (enterFrame) {
if ((this.hitTest(_root.seraph.hitarea) && (_parent.z > -25)) && (_parent.z < 25)) {
damage = 10;
shielddamage = Math.round(damage * 0.3);
healthdamage = Math.round(damage * 0.7);
if (_root.shield >= shielddamage) {
_root.shield = _root.shield - shielddamage;
_root.health = _root.health - healthdamage;
} else {
_root.health = _root.health - damage;
_root.shield = 0;
}
_root.seraph.gotoAndPlay(26);
_root.hit.gotoAndPlay(3);
_parent.gotoAndPlay(9);
}
}
Symbol 156 MovieClip [enemy10-3] Frame 8
stop();
Symbol 156 MovieClip [enemy10-3] Frame 10
stop();
Symbol 156 MovieClip [enemy10-3] Frame 12
z = z + 30;
health = health - _root.damage;
Symbol 156 MovieClip [enemy10-3] Frame 14
stop();
Symbol 156 MovieClip [enemy10-3] Frame 15
gotoAndPlay (1);
Symbol 156 MovieClip [enemy10-3] Frame 17
_root.score = _root.score + 90;
dead = true;
xstep = 0;
zstep = 0;
ystep = -15;
Symbol 156 MovieClip [enemy10-3] Frame 20
stop();
Instance of Symbol 157 MovieClip in Symbol 159 MovieClip [enemy10-2] Frame 1
onClipEvent (load) {
_parent.health = 20;
_parent.dead = false;
_parent.attack = false;
_parent.xposition = -_root.master.x;
_parent.yposition = -_root.master.y;
_parent.z = _root.master.z;
_parent.zstep = -13;
rot = 0;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
}
onClipEvent (enterFrame) {
if (!_parent.dead) {
if ((_root.seraph_x + 20) < _parent.xposition) {
_parent.xstep = -8;
} else if (_parent.xposition < (_root.seraph_x - 20)) {
_parent.xstep = 8;
} else {
_parent.xstep = 0;
}
if ((_root.seraph_y + 40) < _parent.yposition) {
_parent.ystep = -8;
} else if (_parent.yposition < (_root.seraph_y - 40)) {
_parent.ystep = 8;
} else {
_parent.ystep = 0;
}
}
_parent.xposition = _parent.xposition + _parent.xstep;
_parent.yposition = _parent.yposition + _parent.ystep;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
rot = rot - 0.2;
_parent.y = _parent.y + (40 * Math.sin(rot));
_parent.x = _parent.x + (40 * Math.cos(rot));
_parent.depth = (-_parent.z) + 5000;
if ((_parent.depth == 4999) || (_parent.depth == 5000)) {
_parent.depth = _parent.depth + 2;
}
_parent.swapDepths(_parent.depth);
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
_parent.z = _parent.z + (_parent.zstep - _root.speed);
if (_parent.z < -150) {
_parent.removeMovieClip("");
}
if (!_parent.dead) {
if ((_parent.z < 150) && (!_parent.attack)) {
_parent.attack = true;
_parent.gotoAndPlay(6);
}
}
if (_parent.dead) {
_parent.xstep = _parent.xstep * 1.1;
}
}
Symbol 159 MovieClip [enemy10-2] Frame 5
stop();
Instance of Symbol 149 MovieClip "attack" in Symbol 159 MovieClip [enemy10-2] Frame 6
onClipEvent (enterFrame) {
if ((this.hitTest(_root.seraph.hitarea) && (_parent.z > -25)) && (_parent.z < 25)) {
damage = 10;
shielddamage = Math.round(damage * 0.3);
healthdamage = Math.round(damage * 0.7);
if (_root.shield >= shielddamage) {
_root.shield = _root.shield - shielddamage;
_root.health = _root.health - healthdamage;
} else {
_root.health = _root.health - damage;
_root.shield = 0;
}
_root.seraph.gotoAndPlay(26);
_root.hit.gotoAndPlay(3);
_parent.gotoAndPlay(9);
}
}
Symbol 159 MovieClip [enemy10-2] Frame 8
stop();
Symbol 159 MovieClip [enemy10-2] Frame 10
stop();
Symbol 159 MovieClip [enemy10-2] Frame 12
z = z + 30;
health = health - _root.damage;
Symbol 159 MovieClip [enemy10-2] Frame 14
stop();
Symbol 159 MovieClip [enemy10-2] Frame 15
gotoAndPlay (1);
Symbol 159 MovieClip [enemy10-2] Frame 17
_root.score = _root.score + 90;
dead = true;
xstep = 0;
zstep = 0;
ystep = -15;
Symbol 159 MovieClip [enemy10-2] Frame 20
stop();
Instance of Symbol 149 MovieClip "attack" in Symbol 161 MovieClip [enemy10-1] Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.seraph.hitarea) && (_parent.z > -25)) && (_parent.z < 25)) {
damage = 10;
shielddamage = Math.round(damage * 0.3);
healthdamage = Math.round(damage * 0.7);
if (_root.shield >= shielddamage) {
_root.shield = _root.shield - shielddamage;
_root.health = _root.health - healthdamage;
} else {
_root.health = _root.health - damage;
_root.shield = 0;
}
_root.seraph.gotoAndPlay(26);
_root.hit.gotoAndPlay(3);
_parent.gotoAndPlay(9);
}
}
Instance of Symbol 160 MovieClip in Symbol 161 MovieClip [enemy10-1] Frame 1
onClipEvent (load) {
_parent.health = 20;
_parent.dead = false;
_parent.attack = false;
_parent.xposition = -_root.master.x;
_parent.yposition = -_root.master.y;
_parent.z = _root.master.z;
_parent.zstep = -13;
rot = 0;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
}
onClipEvent (enterFrame) {
if (!_parent.dead) {
if ((_root.seraph_x + 20) < _parent.xposition) {
_parent.xstep = -8;
} else if (_parent.xposition < (_root.seraph_x - 20)) {
_parent.xstep = 8;
} else {
_parent.xstep = 0;
}
if ((_root.seraph_y + 40) < _parent.yposition) {
_parent.ystep = -8;
} else if (_parent.yposition < (_root.seraph_y - 40)) {
_parent.ystep = 8;
} else {
_parent.ystep = 0;
}
}
_parent.xposition = _parent.xposition + _parent.xstep;
_parent.yposition = _parent.yposition + _parent.ystep;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
rot = rot + 0.2;
_parent.y = _parent.y + (60 * Math.sin(rot));
_parent.x = _parent.x + (60 * Math.cos(rot));
_parent.depth = (-_parent.z) + 5000;
if ((_parent.depth == 4999) || (_parent.depth == 5000)) {
_parent.depth = _parent.depth + 2;
}
_parent.swapDepths(_parent.depth);
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
_parent.z = _parent.z + (_parent.zstep - _root.speed);
if (_parent.z < -150) {
_parent.removeMovieClip("");
}
if (!_parent.dead) {
if ((_parent.z < 150) && (!_parent.attack)) {
_parent.attack = true;
_parent.gotoAndPlay(6);
}
}
if (_parent.dead) {
_parent.xstep = _parent.xstep * 1.1;
}
}
Symbol 161 MovieClip [enemy10-1] Frame 5
stop();
Symbol 161 MovieClip [enemy10-1] Frame 8
stop();
Symbol 161 MovieClip [enemy10-1] Frame 10
stop();
Symbol 161 MovieClip [enemy10-1] Frame 12
z = z + 30;
health = health - _root.damage;
Symbol 161 MovieClip [enemy10-1] Frame 14
stop();
Symbol 161 MovieClip [enemy10-1] Frame 15
gotoAndPlay (1);
Symbol 161 MovieClip [enemy10-1] Frame 17
_root.score = _root.score + 90;
dead = true;
xstep = 0;
zstep = 0;
ystep = -15;
Symbol 161 MovieClip [enemy10-1] Frame 20
stop();
Instance of Symbol 165 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Symbol 171 MovieClip Frame 4
_parent.play();
Symbol 171 MovieClip Frame 5
_parent.play();
stop();
Symbol 174 MovieClip Frame 9
stop();
Symbol 179 MovieClip Frame 21
_parent.removeMovieClip("");
stop();
Symbol 190 MovieClip Frame 16
stop();
Instance of Symbol 167 MovieClip in Symbol 192 MovieClip [enemy08] Frame 1
onClipEvent (load) {
_parent.health = 20;
_parent.dead = false;
_parent.attack = false;
_parent.xposition = Number(random(500) - 250);
_parent.yposition = Number(random(500) - 250);
_parent.z = _root.spawnplace;
_parent.zstep = -10;
rot = 0;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
}
onClipEvent (enterFrame) {
if (!_parent.dead) {
if ((_root.seraph_x + 20) < _parent.xposition) {
_parent.xstep = -6;
} else if (_parent.xposition < (_root.seraph_x - 20)) {
_parent.xstep = 6;
} else {
_parent.xstep = 0;
}
if ((_root.seraph_y + 40) < _parent.yposition) {
_parent.ystep = -6;
} else if (_parent.yposition < (_root.seraph_y - 40)) {
_parent.ystep = 6;
} else {
_parent.ystep = 0;
}
}
_parent.xposition = _parent.xposition + _parent.xstep;
_parent.yposition = _parent.yposition + _parent.ystep;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
rot = rot + 0.15;
_parent.y = _parent.y + (30 * Math.sin(rot));
_parent.x = _parent.x + (30 * Math.cos(rot));
_parent.depth = (-_parent.z) + 5000;
if ((_parent.depth == 4999) || (_parent.depth == 5000)) {
_parent.depth = _parent.depth + 2;
}
_parent.swapDepths(_parent.depth);
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
_parent.z = _parent.z + (_parent.zstep - _root.speed);
if (_parent.z < -150) {
_parent.removeMovieClip("");
}
if (!_parent.dead) {
if ((_parent.z < 150) && (!_parent.attack)) {
_parent.attack = true;
_parent.gotoAndPlay(6);
}
}
if (_parent.dead) {
_parent.xstep = _parent.xstep * 1.1;
}
if (_root.nukeAll) {
_parent.gotoAndPlay(16);
}
}
Instance of Symbol 168 MovieClip "attack" in Symbol 192 MovieClip [enemy08] Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.crosshair.allguns.gun.hitarea)) {
if (_parent.health > 0) {
_parent.gotoAndPlay(11);
} else {
_parent.dead = true;
_parent.gotoAndPlay(16);
}
}
}
Symbol 192 MovieClip [enemy08] Frame 5
stop();
Instance of Symbol 169 MovieClip "attack" in Symbol 192 MovieClip [enemy08] Frame 6
onClipEvent (enterFrame) {
if ((this.hitTest(_root.seraph.hitarea) && (_parent.z > -25)) && (_parent.z < 25)) {
damage = 20;
shielddamage = Math.round(damage * 0.3);
healthdamage = Math.round(damage * 0.7);
if (_root.shield >= shielddamage) {
_root.shield = _root.shield - shielddamage;
_root.health = _root.health - healthdamage;
} else {
_root.health = _root.health - damage;
_root.shield = 0;
}
_root.seraph.gotoAndPlay(26);
_root.hit.gotoAndPlay(3);
_parent.gotoAndPlay(9);
}
}
Symbol 192 MovieClip [enemy08] Frame 8
stop();
Symbol 192 MovieClip [enemy08] Frame 10
stop();
Instance of Symbol 168 MovieClip "attack" in Symbol 192 MovieClip [enemy08] Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.crosshair.allguns.gun.hitarea)) {
if (_parent.health > 0) {
_parent.gotoAndPlay(11);
} else {
_parent.dead = true;
_parent.gotoAndPlay(16);
}
}
}
Symbol 192 MovieClip [enemy08] Frame 12
z = z + 30;
health = health - _root.damage;
Instance of Symbol 174 MovieClip in Symbol 192 MovieClip [enemy08] Frame 13
onClipEvent (load) {
_x = Number(random(30) - 15);
_y = Number(random(140) - 70);
}
Symbol 192 MovieClip [enemy08] Frame 14
stop();
Symbol 192 MovieClip [enemy08] Frame 15
gotoAndPlay (1);
Symbol 192 MovieClip [enemy08] Frame 17
_root.score = _root.score + 90;
dead = true;
xstep = 0;
zstep = 0;
ystep = -15;
Symbol 192 MovieClip [enemy08] Frame 20
stop();
Symbol 210 MovieClip Frame 15
stop();
Symbol 212 MovieClip Frame 4
_parent.play();
Symbol 212 MovieClip Frame 5
_parent.play();
stop();
Symbol 213 MovieClip Frame 16
stop();
_parent.removeMovieClip("");
Instance of Symbol 200 MovieClip in Symbol 215 MovieClip [enemy07] Frame 1
onClipEvent (load) {
_parent.health = 30;
_parent.dead = false;
_parent.attack = false;
_parent.xposition = Number(random(500) - 250);
_parent.yposition = Number(random(500) - 250);
_parent.z = _root.spawnplace;
_parent.zstep = -7;
_parent.dodge = 0;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
}
onClipEvent (enterFrame) {
if (!_parent.dead) {
if ((_root.seraph_x + 20) < _parent.xposition) {
_parent.xstep = -5;
} else if (_parent.xposition < (_root.seraph_x - 20)) {
_parent.xstep = 5;
} else {
_parent.xstep = 0;
}
if ((_root.seraph_y + 40) < _parent.yposition) {
_parent.ystep = -5;
} else if (_parent.yposition < (_root.seraph_y - 40)) {
_parent.ystep = 5;
} else {
_parent.ystep = 0;
}
}
_parent.xposition = _parent.xposition + _parent.xstep;
_parent.yposition = _parent.yposition + _parent.ystep;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
if ((_parent.dodge > 1) || (_parent.dodge < -1)) {
_parent.yposition = _parent.yposition + _parent.dodge;
_parent.dodge = _parent.dodge * 0.8;
}
_parent.depth = (-_parent.z) + 5000;
if ((_parent.depth == 4999) || (_parent.depth == 5000)) {
_parent.depth = _parent.depth + 2;
}
_parent.swapDepths(_parent.depth);
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
_parent.z = _parent.z + (_parent.zstep - _root.speed);
if (_parent.z < -150) {
_parent.removeMovieClip("");
}
if (!_parent.dead) {
if ((_parent.z < 150) && (!_parent.attack)) {
_parent.attack = true;
_parent.gotoAndPlay(6);
}
}
if (_parent.dead) {
_parent.xstep = _parent.xstep * 1.1;
}
if (_root.nukeAll) {
_parent.gotoAndPlay(16);
}
}
Instance of Symbol 201 MovieClip "attack" in Symbol 215 MovieClip [enemy07] Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
if ((_parent.dodge < 5) && (_parent.dodge > -5)) {
r = Number(random(2));
if (r == 0) {
_parent.dodge = 15;
} else {
_parent.dodge = -15;
}
}
}
if (this.hitTest(_root.crosshair.allguns.gun.hitarea)) {
if (_parent.health > 0) {
_parent.gotoAndPlay(11);
} else {
_parent.dead = true;
_parent.gotoAndPlay(16);
}
}
}
Symbol 215 MovieClip [enemy07] Frame 5
stop();
Instance of Symbol 149 MovieClip "attack" in Symbol 215 MovieClip [enemy07] Frame 6
onClipEvent (enterFrame) {
if ((this.hitTest(_root.seraph.hitarea) && (_parent.z > -25)) && (_parent.z < 25)) {
damage = 10;
shielddamage = Math.round(damage * 0.3);
healthdamage = Math.round(damage * 0.7);
if (_root.shield >= shielddamage) {
_root.shield = _root.shield - shielddamage;
_root.health = _root.health - healthdamage;
} else {
_root.health = _root.health - damage;
_root.shield = 0;
}
_root.seraph.gotoAndPlay(26);
_root.hit.gotoAndPlay(3);
_parent.gotoAndPlay(9);
}
}
Symbol 215 MovieClip [enemy07] Frame 8
stop();
Symbol 215 MovieClip [enemy07] Frame 10
stop();
Instance of Symbol 201 MovieClip "attack" in Symbol 215 MovieClip [enemy07] Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
if ((_parent.dodge < 5) && (_parent.dodge > -5)) {
r = Number(random(2));
if (r == 0) {
_parent.dodge = 15;
} else {
_parent.dodge = -15;
}
}
}
if (this.hitTest(_root.crosshair.allguns.gun.hitarea)) {
if (_parent.health > 0) {
_parent.gotoAndPlay(11);
} else {
_parent.dead = true;
_parent.gotoAndPlay(16);
}
}
}
Symbol 215 MovieClip [enemy07] Frame 12
z = z + 30;
health = health - _root.damage;
Instance of Symbol 174 MovieClip in Symbol 215 MovieClip [enemy07] Frame 13
onClipEvent (load) {
_x = Number(random(30) - 15);
_y = Number(random(140) - 70);
}
Symbol 215 MovieClip [enemy07] Frame 14
stop();
Symbol 215 MovieClip [enemy07] Frame 15
gotoAndPlay (1);
Symbol 215 MovieClip [enemy07] Frame 17
dodge = 0;
_root.score = _root.score + 80;
dead = true;
xstep = 0;
zstep = 0;
ystep = -15;
Symbol 215 MovieClip [enemy07] Frame 20
stop();
Symbol 226 MovieClip Frame 15
stop();
Symbol 227 MovieClip Frame 4
_parent.play();
Symbol 227 MovieClip Frame 5
stop();
_parent.play();
Symbol 233 MovieClip Frame 11
stop();
Symbol 234 MovieClip Frame 21
stop();
_parent.removeMovieClip("");
Symbol 242 MovieClip Frame 15
stop();
Instance of Symbol 225 MovieClip in Symbol 243 MovieClip [enemy06] Frame 1
onClipEvent (load) {
_parent.health = 10;
_parent.dead = false;
_parent.attack = false;
_parent.xposition = Number(random(500) - 250);
_parent.yposition = Number(random(500) - 250);
_parent.z = _root.spawnplace;
_parent.zstep = -7;
rot = 0;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
}
onClipEvent (enterFrame) {
if (!_parent.dead) {
if ((_root.seraph_x + 20) < _parent.xposition) {
_parent.xstep = -5;
} else if (_parent.xposition < (_root.seraph_x - 20)) {
_parent.xstep = 5;
} else {
_parent.xstep = 0;
}
if ((_root.seraph_y + 40) < _parent.yposition) {
_parent.ystep = -5;
} else if (_parent.yposition < (_root.seraph_y - 40)) {
_parent.ystep = 5;
} else {
_parent.ystep = 0;
}
}
_parent.xposition = _parent.xposition + _parent.xstep;
_parent.yposition = _parent.yposition + _parent.ystep;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
rot = rot + 0.2;
_parent.y = _parent.y + (40 * Math.sin(rot));
_parent.x = _parent.x + (30 * Math.cos(rot));
_parent.depth = (-_parent.z) + 5000;
if ((_parent.depth == 4999) || (_parent.depth == 5000)) {
_parent.depth = _parent.depth + 2;
}
_parent.swapDepths(_parent.depth);
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
_parent.z = _parent.z + (_parent.zstep - _root.speed);
if (_parent.z < -150) {
_parent.removeMovieClip("");
}
if (!_parent.dead) {
if ((_parent.z < 150) && (!_parent.attack)) {
_parent.attack = true;
_parent.gotoAndPlay(6);
}
}
if (_parent.dead) {
_parent.xstep = _parent.xstep * 1.1;
}
if (_root.nukeAll) {
_parent.gotoAndPlay(16);
}
}
Instance of Symbol 168 MovieClip "attack" in Symbol 243 MovieClip [enemy06] Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.crosshair.allguns.gun.hitarea)) {
if (_parent.health > 0) {
_parent.gotoAndPlay(11);
} else {
_parent.dead = true;
_parent.gotoAndPlay(16);
}
}
}
Symbol 243 MovieClip [enemy06] Frame 5
stop();
Instance of Symbol 149 MovieClip "attack" in Symbol 243 MovieClip [enemy06] Frame 6
onClipEvent (enterFrame) {
if ((this.hitTest(_root.seraph.hitarea) && (_parent.z > -25)) && (_parent.z < 25)) {
damage = 10;
shielddamage = Math.round(damage * 0.3);
healthdamage = Math.round(damage * 0.7);
if (_root.shield >= shielddamage) {
_root.shield = _root.shield - shielddamage;
_root.health = _root.health - healthdamage;
} else {
_root.health = _root.health - damage;
_root.shield = 0;
}
_root.seraph.gotoAndPlay(26);
_root.hit.gotoAndPlay(3);
_parent.gotoAndPlay(9);
}
}
Symbol 243 MovieClip [enemy06] Frame 8
stop();
Symbol 243 MovieClip [enemy06] Frame 10
stop();
Instance of Symbol 168 MovieClip "attack" in Symbol 243 MovieClip [enemy06] Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.crosshair.allguns.gun.hitarea)) {
if (_parent.health > 0) {
_parent.gotoAndPlay(11);
} else {
_parent.dead = true;
_parent.gotoAndPlay(16);
}
}
}
Symbol 243 MovieClip [enemy06] Frame 12
z = z + 60;
health = health - _root.damage;
Instance of Symbol 233 MovieClip in Symbol 243 MovieClip [enemy06] Frame 13
onClipEvent (load) {
_x = Number(random(30) - 15);
_y = Number(random(140) - 70);
}
Symbol 243 MovieClip [enemy06] Frame 14
stop();
Symbol 243 MovieClip [enemy06] Frame 15
gotoAndPlay (1);
Symbol 243 MovieClip [enemy06] Frame 17
_root.score = _root.score + 70;
dead = true;
xstep = 0;
zstep = 0;
ystep = -15;
Symbol 243 MovieClip [enemy06] Frame 20
stop();
Symbol 254 MovieClip Frame 20
stop();
Symbol 257 MovieClip Frame 4
_parent.play();
Symbol 257 MovieClip Frame 5
stop();
_parent.play();
Symbol 258 MovieClip Frame 11
stop();
Symbol 259 MovieClip Frame 35
stop();
_parent.removeMovieClip("");
Instance of Symbol 253 MovieClip in Symbol 260 MovieClip [enemy05] Frame 1
onClipEvent (load) {
_parent.health = 50;
_parent.dead = false;
_parent.attack = false;
_parent.xposition = Number(random(500) - 250);
_parent.yposition = Number(random(500) - 250);
_parent.z = _root.spawnplace;
_parent.zstep = -6;
rot = 0;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
}
onClipEvent (enterFrame) {
if (!_parent.dead) {
if ((_root.seraph_x + 20) < _parent.xposition) {
_parent.xstep = -2;
} else if (_parent.xposition < (_root.seraph_x - 20)) {
_parent.xstep = 2;
} else {
_parent.xstep = 0;
}
if ((_root.seraph_y + 40) < _parent.yposition) {
_parent.ystep = -2;
} else if (_parent.yposition < (_root.seraph_y - 40)) {
_parent.ystep = 2;
} else {
_parent.ystep = 0;
}
}
_parent.xposition = _parent.xposition + _parent.xstep;
_parent.yposition = _parent.yposition + _parent.ystep;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
rot = rot + 0.1;
_parent.y = _parent.y + (20 * Math.sin(rot));
_parent.x = _parent.x + (5 * Math.cos(rot));
_parent.depth = (-_parent.z) + 5000;
if ((_parent.depth == 4999) || (_parent.depth == 5000)) {
_parent.depth = _parent.depth + 2;
}
_parent.swapDepths(_parent.depth);
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
_parent.z = _parent.z + (_parent.zstep - _root.speed);
if (_parent.z < -150) {
_parent.removeMovieClip("");
}
if (!_parent.dead) {
if ((_parent.z < 150) && (!_parent.attack)) {
_parent.attack = true;
_parent.gotoAndPlay(6);
}
}
if (_parent.dead) {
_parent.xstep = _parent.xstep * 1.1;
}
if (_root.nukeAll) {
_parent.gotoAndPlay(16);
}
}
Instance of Symbol 168 MovieClip "attack" in Symbol 260 MovieClip [enemy05] Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.crosshair.allguns.gun.hitarea)) {
if (_parent.health > 0) {
_parent.gotoAndPlay(11);
} else {
_parent.dead = true;
_parent.gotoAndPlay(16);
}
}
}
Symbol 260 MovieClip [enemy05] Frame 5
stop();
Instance of Symbol 255 MovieClip "attack" in Symbol 260 MovieClip [enemy05] Frame 6
onClipEvent (enterFrame) {
if ((this.hitTest(_root.seraph.hitarea) && (_parent.z > -25)) && (_parent.z < 25)) {
damage = 25;
shielddamage = Math.round(damage * 0.3);
healthdamage = Math.round(damage * 0.7);
if (_root.shield >= shielddamage) {
_root.shield = _root.shield - shielddamage;
_root.health = _root.health - healthdamage;
} else {
_root.health = _root.health - damage;
_root.shield = 0;
}
_root.seraph.gotoAndPlay(26);
_root.hit.gotoAndPlay(3);
_parent.gotoAndPlay(9);
}
}
Symbol 260 MovieClip [enemy05] Frame 8
stop();
Symbol 260 MovieClip [enemy05] Frame 10
stop();
Instance of Symbol 168 MovieClip "attack" in Symbol 260 MovieClip [enemy05] Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.crosshair.allguns.gun.hitarea)) {
if (_parent.health > 0) {
_parent.gotoAndPlay(11);
} else {
_parent.dead = true;
_parent.gotoAndPlay(16);
}
}
}
Symbol 260 MovieClip [enemy05] Frame 12
z = z + 10;
health = health - _root.damage;
Instance of Symbol 258 MovieClip in Symbol 260 MovieClip [enemy05] Frame 13
onClipEvent (load) {
_x = Number(random(30) - 15);
_y = Number(random(200) - 140);
}
Symbol 260 MovieClip [enemy05] Frame 14
stop();
Symbol 260 MovieClip [enemy05] Frame 15
gotoAndPlay (1);
Symbol 260 MovieClip [enemy05] Frame 17
_root.score = _root.score + 90;
dead = true;
xstep = 0;
zstep = 0;
ystep = -15;
Symbol 260 MovieClip [enemy05] Frame 20
stop();
Symbol 273 MovieClip Frame 15
stop();
Symbol 275 MovieClip Frame 4
_parent.play();
Symbol 275 MovieClip Frame 5
stop();
_parent.play();
Symbol 276 MovieClip Frame 35
stop();
_parent.removeMovieClip("");
Instance of Symbol 270 MovieClip in Symbol 277 MovieClip [enemy01] Frame 1
onClipEvent (load) {
_parent.health = 30;
_parent.dead = false;
_parent.attack = false;
_parent.xposition = Number(random(500) - 250);
_parent.yposition = Number(random(500) - 250);
_parent.z = _root.spawnplace;
_parent.zstep = -7;
rot = 0;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
}
onClipEvent (enterFrame) {
if (!_parent.dead) {
if ((_root.seraph_x + 20) < _parent.xposition) {
_parent.xstep = -3;
} else if (_parent.xposition < (_root.seraph_x - 20)) {
_parent.xstep = 3;
} else {
_parent.xstep = 0;
}
if ((_root.seraph_y + 40) < _parent.yposition) {
_parent.ystep = -3;
} else if (_parent.yposition < (_root.seraph_y - 40)) {
_parent.ystep = 3;
} else {
_parent.ystep = 0;
}
}
_parent.xposition = _parent.xposition + _parent.xstep;
_parent.yposition = _parent.yposition + _parent.ystep;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
rot = rot + 0.15;
_parent.y = _parent.y + (30 * Math.sin(rot));
_parent.x = _parent.x + (10 * Math.cos(rot));
_parent.depth = (-_parent.z) + 5000;
if ((_parent.depth == 4999) || (_parent.depth == 5000)) {
_parent.depth = _parent.depth + 2;
}
_parent.swapDepths(_parent.depth);
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
_parent.z = _parent.z + (_parent.zstep - _root.speed);
if (_parent.z < -150) {
_parent.removeMovieClip("");
}
if (!_parent.dead) {
if ((_parent.z < 150) && (!_parent.attack)) {
_parent.attack = true;
_parent.gotoAndPlay(6);
}
}
if (_parent.dead) {
_parent.xstep = _parent.xstep * 1.1;
}
if (_root.nukeAll) {
_parent.gotoAndPlay(16);
}
}
Instance of Symbol 168 MovieClip "attack" in Symbol 277 MovieClip [enemy01] Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.crosshair.allguns.gun.hitarea)) {
if (_parent.health > 0) {
_parent.gotoAndPlay(11);
} else {
_parent.dead = true;
_parent.gotoAndPlay(16);
}
}
}
Symbol 277 MovieClip [enemy01] Frame 5
stop();
Instance of Symbol 274 MovieClip "attack" in Symbol 277 MovieClip [enemy01] Frame 6
onClipEvent (enterFrame) {
if ((this.hitTest(_root.seraph.hitarea) && (_parent.z > -25)) && (_parent.z < 25)) {
damage = 10;
shielddamage = Math.round(damage * 0.3);
healthdamage = Math.round(damage * 0.7);
if (_root.shield >= shielddamage) {
_root.shield = _root.shield - shielddamage;
_root.health = _root.health - healthdamage;
} else {
_root.health = _root.health - damage;
_root.shield = 0;
}
_root.seraph.gotoAndPlay(26);
_root.hit.gotoAndPlay(3);
_parent.gotoAndPlay(9);
}
}
Symbol 277 MovieClip [enemy01] Frame 8
stop();
Symbol 277 MovieClip [enemy01] Frame 10
stop();
Instance of Symbol 168 MovieClip "attack" in Symbol 277 MovieClip [enemy01] Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.crosshair.allguns.gun.hitarea)) {
if (_parent.health > 0) {
_parent.gotoAndPlay(11);
} else {
_parent.dead = true;
_parent.gotoAndPlay(16);
}
}
}
Symbol 277 MovieClip [enemy01] Frame 12
z = z + 30;
health = health - _root.damage;
Instance of Symbol 233 MovieClip in Symbol 277 MovieClip [enemy01] Frame 13
onClipEvent (load) {
_x = Number(random(30) - 15);
_y = Number(random(140) - 70);
}
Symbol 277 MovieClip [enemy01] Frame 14
stop();
Symbol 277 MovieClip [enemy01] Frame 15
gotoAndPlay (1);
Symbol 277 MovieClip [enemy01] Frame 17
_root.score = _root.score + 60;
dead = true;
xstep = 0;
zstep = 0;
ystep = -15;
Symbol 277 MovieClip [enemy01] Frame 20
stop();
Instance of Symbol 282 MovieClip in Symbol 284 MovieClip [cloud01] Frame 1
onClipEvent (load) {
frame = Number(random(4) + 1);
gotoAndStop(frame);
}
Instance of Symbol 283 MovieClip in Symbol 284 MovieClip [cloud01] Frame 1
onClipEvent (load) {
_parent.xposition = Number(random(5000) - 2500);
_parent.yposition = Number(random(1000) + 500);
_parent.z = 5000;
_parent.zstep = 0;
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
}
onClipEvent (enterFrame) {
_parent.x = -_parent.xposition;
_parent.y = -_parent.yposition;
_parent.scale = _root.fl / (_root.fl + _parent.z);
_parent._x = (_parent.x * _parent.scale) + _root.xcenter;
_parent._y = (_parent.y * _parent.scale) + _root.ycenter;
_parent._xscale = (_parent._yscale = _parent.scale * 25);
_parent.z = _parent.z + (_parent.zstep - _root.speed);
if (_parent.z < -20) {
_parent.removeMovieClip("");
}
}
Symbol 296 MovieClip Frame 1
stop();
Instance of Symbol 295 MovieClip "swfloader" in Symbol 296 MovieClip Frame 1
onClipEvent (load) {
function strip_spaces(str) {
var _str = new String("");
var j = 0;
while (j < str.length) {
if ((str.charAt(j) != " ") && (str.charAt(j) != ";")) {
_str = _str + str.charAt(j);
}
j++;
}
return(_str);
}
function simple_script(action, timeline) {
action = strip_spaces(action);
if ((action.length > 0) && ((action.indexOf(")") != -1) && (action.indexOf("(") != -1))) {
var sections = action.split(".");
var timeline_action = sections.pop();
var first_paren = timeline_action.indexOf("(");
var second_paren = timeline_action.indexOf(")");
var timeline_function = timeline_action.substr(0, first_paren);
var function_parameter = timeline_action.substr(first_paren + 1, second_paren - (first_paren + 1));
var timeline_reference = timeline;
var j = 0;
while (j < sections.length) {
timeline_reference = timeline_reference[sections[j]];
j++;
}
if (function_parameter.indexOf("\"") != -1) {
function_parameter = function_parameter.substr(1, function_parameter.length - 2);
}
timeline_reference[timeline_function](function_parameter);
}
}
function execute_action() {
unloaded = true;
_parent._visible = false;
simple_script(_parent.play_action_val, _parent);
}
_parent.anim.gotoAndStop(1);
simple_script(_parent.init_action_val, _parent);
var done = false;
var unloaded = false;
var orig_x = _parent._x;
var orig_y = _parent._y;
var dist_x = (_parent._x + ((_parent._width * 2) / 3));
var dist_y = (_parent._y + ((_parent._height * 2) / 3));
var orig_a = _parent._alpha;
var accel_jump = 0.75;
var slow_factor = _parent.slow_factor_val;
var speed_factor = (1 + (slow_factor / (1 - slow_factor)));
var ready = false;
var perc_fadeout = 0;
_parent.perc._x = _parent.anim._x - (_parent.perc._width / 2);
_parent.perc._y = _parent.anim._y - (_parent.perc._height / 2);
if (slow_factor < 1) {
switch (_parent.xin_motion_val) {
case "Up" :
_parent._y = orig_y + (dist_y * 2);
break;
case "Down" :
_parent._y = orig_y - (dist_y * 2);
break;
case "Left" :
_parent._x = orig_x + (dist_x * 2);
break;
case "Right" :
_parent._x = orig_x - (dist_x * 2);
break;
case "Toward" :
_parent._xscale = (_parent._yscale = 1);
break;
case "None" :
_parent._alpha = 0;
}
} else {
ready = true;
}
}
onClipEvent (enterFrame) {
if (unloaded) {
return(undefined);
}
if (!ready) {
switch (_parent.xin_motion_val) {
case "Toward" :
_parent._xscale = _parent._xscale + ((100 - _parent._xscale) * slow_factor);
_parent._yscale = _parent._xscale;
if (_parent.xin_alphatype_val == "Yes") {
_parent._alpha = Math.round((orig_a / 100) * Math.max(0, Math.min(_parent._xscale, 100)));
}
if (Math.abs(100 - _parent._xscale) < 0.5) {
_parent._xscale = (_parent._yscale = 100);
_parent._alpha = orig_a;
ready = true;
}
break;
default :
_parent._x = _parent._x + ((orig_x - _parent._x) * slow_factor);
_parent._y = _parent._y + ((orig_y - _parent._y) * slow_factor);
if (_parent.xin_alphatype_val == "Yes") {
if (_parent.xin_motion_val == "None") {
_parent._alpha = _parent._alpha + ((orig_a - _parent._alpha) * slow_factor);
} else if (Math.abs(orig_x - _parent._x) > Math.abs(orig_y - _parent._y)) {
_parent._alpha = 100 - Math.round(((orig_a / 100) * (Math.min(dist_x, Math.abs(_parent._x - orig_x)) / dist_x)) * 100);
} else {
_parent._alpha = 100 - Math.round(((orig_a / 100) * (Math.min(dist_y, Math.abs(_parent._y - orig_y)) / dist_y)) * 100);
}
}
if (!(((_parent.xin_motion_val == "None") && (Math.abs(_parent._alpha - orig_a) <= 1)) || (((_parent.xin_motion_val != "None") && (Math.abs(_parent._y - orig_y) < 0.5)) && (Math.abs(_parent._x - orig_x) < 0.5)))) {
break;
}
_parent._x = orig_x;
_parent._y = orig_y;
_parent._alpha = orig_a;
ready = true;
}
} else if (!done) {
var rl = _root.getBytesLoaded();
var rt = (_root.getBytesTotal() * (_parent.perc_req_val / 100));
if ((rl > 10) && (rt > 10)) {
rl = Math.min(rl, rt);
var new_frame = (_parent.anim._currentframe + Math.ceil(((_parent.anim._totalframes * (rl / rt)) - _parent.anim._currentframe) / 4));
new_frame = Math.max(1, new_frame);
if (_parent.show_perc_val == "Yes") {
_parent.perc.text = Math.round(((new_frame - 1) / (_parent.anim._totalframes - 1)) * 100) + " %";
}
if (new_frame != _parent.anim._currentframe) {
_parent.anim.gotoAndStop(new_frame);
}
if ((_parent.anim._totalframes == _parent.anim._currentframe) && (rl >= rt)) {
done = true;
}
}
} else if (slow_factor < 1) {
switch (_parent.xout_motion_val) {
case "Down" :
if (_parent._y <= orig_y) {
_parent._y = orig_y + accel_jump;
}
_parent._y = orig_y + (Math.abs(_parent._y - orig_y) * speed_factor);
perc_fadeout = Math.round((Math.min(dist_y, Math.abs(_parent._y - orig_y)) / dist_y) * 100);
if (_parent._y > (orig_y + (dist_y * 2))) {
execute_action();
}
break;
case "Up" :
if (_parent._y >= orig_y) {
_parent._y = orig_y - accel_jump;
}
_parent._y = orig_y - (Math.abs(_parent._y - orig_y) * speed_factor);
perc_fadeout = Math.round((Math.min(dist_y, Math.abs(_parent._y - orig_y)) / dist_y) * 100);
if (_parent._y < (orig_y - (dist_y * 2))) {
execute_action();
}
break;
case "Right" :
if (_parent._x <= orig_x) {
_parent._x = orig_x + accel_jump;
}
_parent._x = orig_x + (Math.abs(_parent._x - orig_x) * speed_factor);
perc_fadeout = Math.round((Math.min(dist_x, Math.abs(_parent._x - orig_x)) / dist_x) * 100);
if (_parent._x > (orig_x + (dist_x * 2))) {
execute_action();
}
break;
case "Left" :
if (_parent._x >= orig_x) {
_parent._x = orig_x - accel_jump;
}
_parent._x = orig_x - (Math.abs(_parent._x - orig_x) * speed_factor);
perc_fadeout = Math.round((Math.min(dist_x, Math.abs(_parent._x - orig_x)) / dist_x) * 100);
if (_parent._x < (orig_x - (dist_x * 2))) {
execute_action();
}
break;
case "Away" :
if ((_parent._xscale >= 100) || (_parent._yscale >= 100)) {
_parent._xscale = (_parent._yscale = 100 - accel_jump);
}
_parent._xscale = (_parent._yscale = Math.max(0.5, 100 - ((100 - _parent._yscale) * speed_factor)));
perc_fadeout = 100 - Math.round(Math.max(0, Math.min(_parent._xscale, 100)));
if (_parent._xscale < 1) {
execute_action();
}
break;
default :
perc_fadeout = perc_fadeout + ((100 - perc_fadeout) * slow_factor);
if (Math.abs(perc_fadeout - 100) > 1) {
break;
}
execute_action();
}
if (!(_parent.xout_alphatype_val === "Yes")) {
} else {
_parent._alpha = (orig_a / 100) * (100 - perc_fadeout);
}
} else {
execute_action();
}
}
Symbol 297 MovieClip Frame 25
stop();
Symbol 302 MovieClip Frame 22
stop();
Symbol 306 Button
on (release) {
gotoAndPlay (2);
}
Symbol 309 Button
on (release) {
_root.gotoAndPlay(4);
}
Symbol 310 Button
on (release) {
getURL ("http://nowe.reginald.free.fr", "_blank");
}
Symbol 317 MovieClip Frame 10
stop();
stop();
Symbol 322 MovieClip Frame 45
stop();
Symbol 325 Button
on (release) {
getURL ("http://nowe.reginald.free.fr", "_blank");
}
Symbol 327 Button
on (release) {
_root.gotoAndPlay(2);
}
Symbol 333 MovieClip Frame 51
stop();
Symbol 333 MovieClip Frame 80
_root.gotoandplay(1);
Symbol 335 MovieClip Frame 19
stop();
Symbol 341 MovieClip Frame 1
stop();
Instance of Symbol 23 MovieClip "attack" in Symbol 341 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.seraph.hitarea) && (_parent._parent.z > -25)) && (_parent._parent.z < 25)) {
damage = 10;
_root.seraph.gotoandplay("hit");
shielddamage = Math.round(damage * 0.3);
healthdamage = Math.round(damage * 0.7);
if (_root.shield >= shielddamage) {
_root.shield = _root.shield - shielddamage;
_root.health = _root.health - healthdamage;
} else {
_root.health = _root.health - damage;
_root.shield = 0;
}
_root.hit.gotoAndPlay(3);
_parent.gotoAndPlay("boum");
}
}
Instance of Symbol 24 MovieClip "attack" in Symbol 341 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.crosshair.allguns.gun.hitarea)) {
if (_parent.health > 0) {
_parent.gotoAndPlay("hit");
} else {
_parent._parent.dead = true;
_parent.gotoAndPlay("boum");
}
}
}
Symbol 341 MovieClip Frame 18
this.removeMovieClip();
Symbol 344 MovieClip Frame 10
stop();
Symbol 345 Button
on (release) {
gotoAndPlay (10);
}
Symbol 459 MovieClip Frame 1
Set("../:heroy", getProperty("../hero", _y));
Set("../:herox", getProperty("../hero", _x));
Set("../:herodify", /:heroy - getProperty("../", _ymouse));
Set("../:herodifx", /:herox - getProperty("../", _xmouse));
setProperty("../hero", _y , (../:heroy - (0.08 * ../:herodify)) + ../:gravity);
setProperty("../hero", _x , (../:herox - (0.08 * ../:herodifx)) + (../:gravity / 4));
setProperty("../hero", _xscale , 10 + (0.25 * (../:heroy + 100)));
setProperty("../hero", _yscale , 10 + (0.25 * (../:heroy + 100)));
Symbol 459 MovieClip Frame 2
call("control");
Instance of Symbol 461 MovieClip in Symbol 462 MovieClip Frame 1
/* no clip actions */
Symbol 470 MovieClip Frame 2
stop();
Symbol 470 MovieClip Frame 6
gotoAndPlay (1);
Symbol 470 MovieClip Frame 9
if (!_root.shoot) {
gotoAndPlay (1);
} else {
gotoAndPlay(_currentframe - 2);
}
Symbol 473 MovieClip Frame 3
_parent.play();
Symbol 473 MovieClip Frame 4
stop();
_parent.play();
Symbol 478 MovieClip Frame 16
if (!_root.shoot) {
_parent.play();
} else {
gotoAndPlay(_currentframe - 2);
}
Symbol 479 MovieClip Frame 2
stop();
Symbol 479 MovieClip Frame 4
stop();
Symbol 479 MovieClip Frame 5
gotoAndPlay (1);
Symbol 479 MovieClip Frame 7
stop();
Symbol 479 MovieClip Frame 8
gotoAndPlay (1);
Symbol 501 MovieClip Frame 1
stop();
Instance of Symbol 472 MovieClip in Symbol 501 MovieClip Frame 1
onClipEvent (load) {
_root.xcenter = 275;
_root.ycenter = 200;
_root.fl = 170;
_root.gun = 1;
_root.seraph_xlimit1 = 50;
_root.seraph_xlimit2 = 500;
_root.seraph_ylimit1 = 300;
_root.seraph_ylimit2 = 330;
_root.seraph_x = 0;
_root.seraph_y = -30;
_root.seraph_z = 0;
_root.health = 100;
_root.shield = 0;
_root.xstep = 0;
_root.ystep = 0;
_root.dir_left = false;
_root.dir_right = false;
_root.dir_up = false;
_root.dir_down = false;
_root.speed = 8;
_root.key_left = 37;
_root.key_up = 38;
_root.key_right = 39;
_root.key_down = 40;
_root.key_left2 = 65;
_root.key_up2 = 87;
_root.key_right2 = 68;
_root.key_down2 = 83;
_root.accspeed = 2;
_root.decspeed = 1.5;
_root.speed_mod = 1;
_root.movelimit = 6;
}
onClipEvent (keyDown) {
if ((Key.getCode() == _root.key_left) || (Key.getCode() == _root.key_left2)) {
_root.dir_left = true;
}
if ((Key.getCode() == _root.key_right) || (Key.getCode() == _root.key_right2)) {
_root.dir_right = true;
}
if ((Key.getCode() == _root.key_up) || (Key.getCode() == _root.key_up2)) {
_root.dir_up = true;
_parent.seraph.cockpit.screen.altimetre.mouvement_y = 10;
}
if ((Key.getCode() == _root.key_down) || (Key.getCode() == _root.key_down2)) {
_root.dir_down = true;
}
}
onClipEvent (keyUp) {
if ((Key.getCode() == _root.key_left) || (Key.getCode() == _root.key_left2)) {
_root.dir_left = false;
if (!_root.dir_right) {
}
}
if ((Key.getCode() == _root.key_right) || (Key.getCode() == _root.key_right2)) {
_root.dir_right = false;
if (!_root.dir_left) {
}
}
if ((Key.getCode() == _root.key_up) || (Key.getCode() == _root.key_up2)) {
_root.dir_up = false;
if (!_root.dir_down) {
}
}
if ((Key.getCode() == _root.key_down) || (Key.getCode() == _root.key_down2)) {
_root.dir_down = false;
if (!_root.dir_up) {
}
}
}
onClipEvent (enterFrame) {
if (_root.dir_right) {
if (_root.xstep < _root.movelimit) {
_root.xstep = _root.xstep + _root.accspeed;
}
}
if (_root.dir_left) {
if (_root.xstep > (-_root.movelimit)) {
_root.xstep = _root.xstep - _root.accspeed;
}
}
if ((!_root.dir_left) && (!_root.dir_right)) {
_root.xstep = _root.xstep / _root.decspeed;
if ((_root.xstep < 0.1) && (_root.xstep > -0.1)) {
_root.xstep = 0;
}
}
if (_root.dir_down) {
if (_root.ystep < _root.movelimit) {
_root.ystep = _root.ystep + _root.accspeed;
}
}
if (_root.dir_up) {
if (_root.ystep > (-_root.movelimit)) {
_root.ystep = _root.ystep - _root.accspeed;
}
}
if ((!_root.dir_up) && (!_root.dir_down)) {
_root.ystep = _root.ystep / _root.decspeed;
if ((_root.ystep < 0.1) && (_root.ystep > -0.1)) {
_root.ystep = 0;
}
}
if (((_root.seraph_xlimit1 < _parent._x) && (_root.xstep <= 0)) || ((_parent._x < _root.seraph_xlimit2) && (_root.xstep >= 0))) {
_parent._x = _parent._x + _root.xstep;
}
if (((_root.seraph_ylimit1 < _parent._y) && (_root.ystep <= 0)) || ((_parent._y < _root.seraph_ylimit2) && (_root.ystep >= 0))) {
_parent._y = _parent._y + _root.ystep;
}
yvar = _parent._y - 200;
xvar = _parent._x - 275;
_root.seraph_x = -xvar;
_root.seraph_y = -yvar;
_root.seraph_z = 0;
}
Instance of Symbol 509 MovieClip in Symbol 514 MovieClip Frame 1
on (release) {
getURL ("http://nowe.reginald.free.fr", "_blank");
}
Symbol 518 MovieClip Frame 2
stop();
Symbol 518 MovieClip Frame 5
gotoAndPlay (1);
Symbol 518 MovieClip Frame 7
gotoAndPlay (1);
Symbol 523 MovieClip Frame 1
_root.seraph.shoot.gotoAndPlay(3);
_root.lineshoot.gotoAndPlay(3);
Symbol 524 MovieClip Frame 1
_root.seraph.shoot.gotoAndPlay(7);
_root.lineshoot.gotoAndPlay(7);
Symbol 524 MovieClip Frame 5
stop();
Symbol 526 MovieClip Frame 2
stop();
Instance of Symbol 525 MovieClip "allguns" in Symbol 526 MovieClip Frame 3
onClipEvent (load) {
if (_root.gun == 1) {
stop();
} else if (_root.gun == 2) {
gotoAndStop (2);
}
}
Symbol 526 MovieClip Frame 4
stop();
Symbol 528 Button
on (release) {
if (_root._quality == "HIGH") {
_root._quality = "MEDIUM";
} else if (_root._quality == "MEDIUM") {
_root._quality = "LOW";
} else if (_root._quality == "LOW") {
_root._quality = "HIGH";
}
}
Symbol 532 MovieClip Frame 127
_parent.play();
Symbol 545 MovieClip Frame 1
function placeObject(object, expand) {
object._x = (radius * expand) * Math.cos(angle);
object._y = (radius * expand) * Math.sin(angle);
}
var x;
var y;
var angle;
var radius;
var big_alpha = 0;
Symbol 545 MovieClip Frame 2
radius = Math.sqrt((_x * _x) + (_y * _y));
angle = Math.atan(_y / _x);
if (_x < 0) {
angle = Math.PI + angle;
}
burst1._x = x;
burst2._y = y;
placeObject(burst2, 1);
placeObject(burst3, 0.5);
placeObject(burst4, 1.8);
placeObject(burst5, 0.6);
placeObject(burst6, 1.5);
placeObject(burst7, -0.4);
placeObject(burst8, 1.6);
placeObject(burst9, -0.2);
big_alpha = 100 - radius;
if (big_alpha < 0) {
big_alpha = 0;
}
bigburst._alpha = big_alpha;
Symbol 545 MovieClip Frame 3
prevFrame();
play();
Symbol 546 MovieClip Frame 2
flare._x = _root.seraph_x;
flare._y = _root.seraph_y + 200;
Symbol 546 MovieClip Frame 3
prevFrame();
play();
Symbol 549 MovieClip Frame 26
stop();
Symbol 556 MovieClip Frame 1
_root.nukeAll = false;
Symbol 556 MovieClip Frame 2
stop();
Symbol 556 MovieClip Frame 3
_root.nukeAll = true;
Symbol 556 MovieClip Frame 16
_root.nukeAll = false;
Symbol 556 MovieClip Frame 20
gotoAndPlay (1);