Frame 17
if (Number(_framesloaded) > Number(_totalframes)) {
gotoAndPlay (20);
} else if (Number(_framesloaded) < Number(_totalframes)) {
loadC = int((_framesloaded / _totalframes) * 100);
setProperty("/loader", _xscale , loadC);
loadCount = ("LOADING " add loadC) add " %";
} else if (Number(_framesloaded) == Number(_totalframes)) {
loadC = int((_framesloaded / _totalframes) * 100);
setProperty("/loader", _xscale , loadC);
loadCount = ("LOADING " add loadC) add " %";
gotoAndPlay (20);
}
Frame 19
gotoAndPlay (17);
Frame 72
stop();
Frame 99
stop();
Frame 100
life = 1;
score = 0;
Instance of Symbol 150 MovieClip "lake" in Frame 100
onClipEvent (load) {
function reset() {
this._x = random(400);
this._y = random(-400) - 400;
this._rotation = random(460) + 1;
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y > 600) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 154 MovieClip "forest1" in Frame 100
onClipEvent (load) {
function reset() {
this._x = random(400);
this._y = -100;
this._rotation = random(360);
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 155 MovieClip "forest2" in Frame 100
onClipEvent (load) {
function reset() {
this._x = random(400);
this._y = -100;
this._rotation = random(360);
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y > 450) {
removeMovieClip(this);
}
}
Instance of Symbol 162 MovieClip "forest3" in Frame 100
onClipEvent (load) {
function reset() {
this._x = random(400);
this._y = -100;
this._rotation = random(360);
}
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 157 MovieClip "mountain" in Frame 100
onClipEvent (load) {
function reset() {
this._x = random(400) + 1;
this._y = random(-300) + 0;
this._rotation = random(360);
}
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this.hitTest(_root.base1)) {
removeMovieClip(this);
reset();
}
if (this.hitTest(_root.base2)) {
removeMovieClip(this);
reset();
}
if (this.hitTest(_root.base3)) {
removeMovieClip(this);
reset();
}
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 169 MovieClip "rock" in Frame 100
onClipEvent (load) {
function reset() {
startx1 = random(300);
this._y = -100;
Speed = random(30) + 1;
radius = random(36) + 100;
perspective = 300;
anglespeed = 0.0436332312998582;
this.gotoAndStop(1);
_root.rock_mod = "live";
}
reset();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.rock_mod == "live")) {
_root.life = _root.life + 1;
with (_root.zanax) {
gotoAndPlay("die");
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
reset();
}
this.angle = this.angle + anglespeed;
a = Math.sin(this.angle) * radius;
b = Math.cos(this.angle) * radius;
scalar = perspective / (b + perspective);
this._x = (a * scalar) + startx1;
this._y = this._y + Speed;
this._rotation = this._rotation + (scalar * 10);
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 175 MovieClip "ufo" in Frame 100
onClipEvent (load) {
function reset() {
startx1 = random(300);
this._y = -100;
Speed = random(30) + 1;
radius = random(36) + 100;
perspective = 300;
anglespeed = 0.0436332312998582;
this.gotoAndStop(1);
_root.ufo_mod = "live";
}
reset();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.ufo_mod == "live")) {
_root.life = _root.life + 1;
with (_root.zanax) {
gotoAndPlay("die");
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
reset();
}
this.angle = this.angle + anglespeed;
a = Math.sin(this.angle) * radius;
b = Math.cos(this.angle) * radius;
scalar = perspective / (b + perspective);
this._x = (a * scalar) + startx1;
this._y = this._y + Speed;
this._rotation = this._rotation + (scalar * 10);
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 187 MovieClip "zanax" in Frame 100
onClipEvent (load) {
function fire1() {
i = i + 1;
duplicateMovieClip (_root.weapon1, "mc" + i, i);
setProperty(_root["mc" + i], _x , getProperty(_root.zanax, _x));
setProperty(_root["mc" + i], _y , getProperty(_root.zanax, _y));
with (_root["mc" + i]) {
gotoAndPlay(2);
}
if (i >= 100) {
i = 0;
}
}
function fire2() {
n = n + 1;
duplicateMovieClip (_root.laser, "mclaser" + n, n);
setProperty(_root["mclaser" + n], _x , getProperty(_root.zanax, _x));
setProperty(_root["mclaser" + n], _y , getProperty(_root.zanax, _y));
with (_root["mclaser" + n]) {
gotoAndPlay(2);
}
if (n >= 100) {
n = 0;
}
}
function fire3() {
m = m + 1;
duplicateMovieClip (_root.fire, "mcwave" + m, m);
setProperty(_root["mcwave" + m], _x , getProperty(_root.zanax, _x));
setProperty(_root["mcwave" + m], _y , getProperty(_root.zanax, _y));
with (_root["mcwave" + m]) {
gotoAndPlay(2);
}
if (m >= 100) {
m = 0;
}
}
function fire4() {
l = l + 1;
duplicateMovieClip (_root.gama, "mcgama" + l, l);
setProperty(_root["mcgama" + l], _x , getProperty(_root.zanax, _x));
setProperty(_root["mcgama" + l], _y , getProperty(_root.zanax, _y));
with (_root["mcgama" + l]) {
gotoAndPlay(2);
}
if (l >= 100) {
l = 0;
}
}
function fire5() {
e = e + 1;
duplicateMovieClip (_root.circle, "mccircle" + e, e);
setProperty(_root["mccircle" + e], _x , getProperty(_root.zanax, _x));
setProperty(_root["mccircle" + e], _y , getProperty(_root.zanax, _y));
with (_root["mccircle" + e]) {
gotoAndPlay(2);
}
if (e >= 100) {
e = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.life >= 4) {
stopAllSounds();
_root.gotoAndPlay("over");
}
if (_root.score >= 500) {
stopAllSounds();
_root.gotoAndPlay("level2");
}
if (Key.isDown(32) and (_root.weapon == 1)) {
_root.zanax.gotoAndStop("so");
fire1();
}
if (Key.isDown(32) and (_root.weapon == 2)) {
_root.zanax.gotoAndStop("so");
fire2();
}
if (Key.isDown(32) and (_root.weapon == 3)) {
_root.zanax.gotoAndStop("so");
fire3();
}
if (Key.isDown(32) and (_root.weapon == 4)) {
_root.zanax.gotoAndStop("so");
fire4();
}
if (Key.isDown(32) and (_root.weapon == 5)) {
_root.zanax.gotoAndStop("so");
fire5();
}
if (Key.isDown(39)) {
_root.zanax.gotoAndStop("walk");
this._x = this._x + 15;
if (this._x > 405) {
this._x = 405;
}
} else if (Key.isDown(37)) {
_root.zanax.gotoAndStop("walk");
this._x = this._x - 15;
if (this._x < 18) {
this._x = 18;
}
}
if (Key.isDown(40)) {
this._y = this._y + 15;
_root.zanax.gotoAndStop("walk");
if (this._y > 355) {
this._y = 355;
}
} else if (Key.isDown(38)) {
_root.zanax.gotoAndStop("walk");
this._y = this._y - 15;
if (this._y < 0) {
this._y = 0;
}
}
}
Frame 111
stop();
touch_life = false;
touch_liser = false;
touch_circle = false;
touch_fire = false;
touch_gama = false;
score = 0;
level = 1;
weapon = 1;
base1_mod = "live";
base2_mod = "live";
base3_mod = "live";
enemy1_mod = "live";
base1_mod = "live";
base2_mod = "live";
base3_mod = "live";
Instance of Symbol 241 MovieClip "base3" in Frame 111
onClipEvent (load) {
function reset() {
with (_root.base3) {
gotoAndStop(1);
}
this._x = random(363) + 31;
this._y = random(-400) + 0;
_root.base3_mod = "live";
removeMovieClip(_root.base3.md);
removeMovieClip(_root.base3.mh);
removeMovieClip(_root.base3.me);
removeMovieClip(_root.base3.mf);
removeMovieClip(_root.base3.mg);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.base3_mod == "live")) {
_root.base3_mod = "dead";
_root.life = _root.life + 1;
if (_root.life >= 5) {
_root.life = 5;
}
with (_root.zanax) {
gotoAndPlay("die");
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
tellTarget (_root.base3) {
gotoAndStop (2);
};
}
if (this.hitTest(_root.forest3)) {
reset();
}
this._y = this._y + 5;
if (this._y > 450) {
reset();
}
}
Instance of Symbol 253 MovieClip "base1" in Frame 111
onClipEvent (load) {
function reset() {
with (_root.base1) {
gotoAndStop(1);
}
this._x = random(380) + 25;
this._y = random(-400) + 0;
_root.base1_mod = "live";
removeMovieClip(_root.base1.md);
removeMovieClip(_root.base1.me);
removeMovieClip(_root.base1.mf);
removeMovieClip(_root.base1.mg);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.base1_mod == "live")) {
_root.base1_mod = "dead";
_root.life = _root.life + 1;
if (_root.life >= 5) {
_root.life = 5;
}
with (_root.zanax) {
gotoAndPlay("die");
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
tellTarget (_root.base1) {
gotoAndStop (2);
};
}
if (this.hitTest(_root.base2)) {
reset();
}
if (this.hitTest(_root.base3)) {
reset();
}
if (this.hitTest(_root.forest3)) {
reset();
}
if (this.hitTest(_root.mountain)) {
reset();
}
this._y = this._y + 5;
if (this._y > 470) {
reset();
}
}
Instance of Symbol 269 MovieClip "base2" in Frame 111
onClipEvent (load) {
function reset() {
with (_root.base2) {
gotoAndStop(1);
}
this._x = random(380) + 10;
this._y = random(-378.9) + 22;
_root.base2_mod = "live";
removeMovieClip(_root.base2.mf);
removeMovieClip(_root.base2.mh);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.base2_mod == "live")) {
_root.base2_mod = "dead";
_root.life = _root.life + 1;
if (_root.life >= 5) {
_root.life = 5;
}
with (_root.zanax) {
gotoAndPlay("die");
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
tellTarget (_root.base2) {
gotoAndStop (2);
};
}
if (this.hitTest(_root.base3)) {
reset();
}
if (this.hitTest(_root.forest3)) {
reset();
}
if (this.hitTest(_root.mountain)) {
reset();
}
if (this.hitTest(_root.zanax) and (_root.base2 == "live")) {
_root.life = _root.life + 1;
}
this._y = this._y + 5;
if (this._y > 420) {
reset();
}
}
Instance of Symbol 280 MovieClip "circle" in Frame 111
onClipEvent (enterFrame) {
if (this._name == _root.circle._name) {
removeMovieClip(this);
} else {
this._y = this._y - 15;
if (this._y <= 0) {
removeMovieClip(this);
}
if (this.hitTest(_root.base1) and (_root.base1_mod == "live")) {
removeMovieClip(this);
_root.base1_mod = "dead";
_root.score = _root.score + 10;
with (_root.base1) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.base2) and (_root.base2_mod == "live")) {
removeMovieClip(this);
_root.base2_mod = "dead";
_root.score = _root.score + 10;
with (_root.base2) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.base3) and (_root.base3_mod == "live")) {
removeMovieClip(this);
_root.base3_mod = "dead";
_root.score = _root.score + 10;
with (_root.base3) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.ufo) and (_root.ufo_mod == "live")) {
removeMovieClip(this);
_root.ufo_mod = "dead";
_root.score = _root.score + 5;
with (_root.ufo) {
gotoAndplay(2);
}
}
if (this.hitTest(_root.shark) and (_root.shark_mod == "live")) {
removeMovieClip(this);
_root.shark_mod = "dead";
_root.score = _root.score + 5;
with (_root.shark) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.rocket) and (_root.rocket_mod == "live")) {
removeMovieClip(this);
_root.rocket_mod = "dead";
_root.score = _root.score + 5;
with (_root.rocket) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.rock) and (_root.rock_mod == "live")) {
removeMovieClip(this);
_root.rock_mod = "dead";
_root.score = _root.score + 5;
with (_root.rock) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.eye1)) {
removeMovieClip(this);
_root.eye1:reset();
}
if (this.hitTest(_root.eye2)) {
removeMovieClip(this);
_root.eye2:reset();
}
if (this.hitTest(_root.eye3)) {
removeMovieClip(this);
_root.eye3:reset();
}
if (this.hitTest(_root.eye4)) {
removeMovieClip(this);
_root.eye4:reset();
}
if (this.hitTest(_root.eye5)) {
removeMovieClip(this);
_root.eye5:reset();
}
if (this.hitTest(_root.bigboss.b_eye1) and (_root.eye1_mod == "live")) {
removeMovieClip(this);
_root.b_eye1_life = _root.b_eye1_life - 300;
if (_root.b_eye1_life <= 0) {
_root.b_eye1_life = 0;
_root.eye1_mod = "dead";
with (_root.bigboss.b_eye1) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye2) and (_root.eye2_mod == "live")) {
removeMovieClip(this);
_root.b_eye2_life = _root.b_eye2_life - 300;
if (_root.b_eye2_life <= 0) {
_root.b_eye2_life = 0;
_root.eye2_mod = "dead";
with (_root.bigboss.b_eye2) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye3) and (_root.eye3_mod == "live")) {
removeMovieClip(this);
_root.b_eye3_life = _root.b_eye3_life - 300;
if (_root.b_eye3_life <= 0) {
_root.b_eye3_life = 0;
_root.eye3_mod = "dead";
with (_root.bigboss.b_eye3) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye4) and (_root.eye4_mod == "live")) {
removeMovieClip(this);
_root.b_eye4_life = _root.b_eye4_life - 300;
if (_root.b_eye4_life <= 0) {
_root.b_eye4_life = 0;
_root.eye4_mod = "dead";
with (_root.bigboss.b_eye4) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye5) and (_root.eye5_mod == "live")) {
removeMovieClip(this);
_root.b_eye5_life = _root.b_eye5_life - 300;
if (_root.b_eye5_life <= 0) {
_root.b_eye5_life = 0;
_root.eye5_mod = "dead";
with (_root.bigboss.b_eye5) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
test = (((_root.b_eye1_life + _root.b_eye2_life) + _root.b_eye3_life) + _root.b_eye4_life) + _root.b_eye5_life;
if ((test <= 0) and (_root.level == 3)) {
stopAllSounds();
_root.gotoAndPlay("win");
}
}
}
Instance of Symbol 287 MovieClip "fire" in Frame 111
onClipEvent (enterFrame) {
if (this._name == _root.fire._name) {
removeMovieClip(this);
} else {
this._y = this._y - 15;
if (this._y <= 0) {
removeMovieClip(this);
}
if (this.hitTest(_root.base1) and (_root.base1_mod == "live")) {
removeMovieClip(this);
_root.base1_mod = "dead";
_root.score = _root.score + 10;
with (_root.base1) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.base2) and (_root.base2_mod == "live")) {
removeMovieClip(this);
_root.base2_mod = "dead";
_root.score = _root.score + 10;
with (_root.base2) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.base3) and (_root.base3_mod == "live")) {
removeMovieClip(this);
_root.base3_mod = "dead";
_root.score = _root.score + 10;
with (_root.base3) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.ufo) and (_root.ufo_mod == "live")) {
removeMovieClip(this);
_root.ufo_mod = "dead";
_root.score = _root.score + 5;
with (_root.ufo) {
gotoAndplay(2);
}
}
if (this.hitTest(_root.shark) and (_root.shark_mod == "live")) {
removeMovieClip(this);
_root.shark_mod = "dead";
_root.score = _root.score + 5;
with (_root.shark) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.rocket) and (_root.rocket_mod == "live")) {
removeMovieClip(this);
_root.rocket_mod = "dead";
_root.score = _root.score + 5;
with (_root.rocket) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.rock) and (_root.rock_mod == "live")) {
removeMovieClip(this);
_root.rock_mod = "dead";
_root.score = _root.score + 5;
with (_root.rock) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.eye1)) {
removeMovieClip(this);
_root.eye1:reset();
}
if (this.hitTest(_root.eye2)) {
removeMovieClip(this);
_root.eye2:reset();
}
if (this.hitTest(_root.eye3)) {
removeMovieClip(this);
_root.eye3:reset();
}
if (this.hitTest(_root.eye4)) {
removeMovieClip(this);
_root.eye4:reset();
}
if (this.hitTest(_root.eye5)) {
removeMovieClip(this);
_root.eye5:reset();
}
if (this.hitTest(_root.bigboss.b_eye1) and (_root.eye1_mod == "live")) {
removeMovieClip(this);
_root.b_eye1_life = _root.b_eye1_life - 300;
if (_root.b_eye1_life <= 0) {
_root.b_eye1_life = 0;
_root.eye1_mod = "dead";
with (_root.bigboss.b_eye1) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye2) and (_root.eye2_mod == "live")) {
removeMovieClip(this);
_root.b_eye2_life = _root.b_eye2_life - 300;
if (_root.b_eye2_life <= 0) {
_root.b_eye2_life = 0;
_root.eye2_mod = "dead";
with (_root.bigboss.b_eye2) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye3) and (_root.eye3_mod == "live")) {
removeMovieClip(this);
_root.b_eye3_life = _root.b_eye3_life - 300;
if (_root.b_eye3_life <= 0) {
_root.b_eye3_life = 0;
_root.eye3_mod = "dead";
with (_root.bigboss.b_eye3) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye4) and (_root.eye4_mod == "live")) {
removeMovieClip(this);
_root.b_eye4_life = _root.b_eye4_life - 300;
if (_root.b_eye4_life <= 0) {
_root.b_eye4_life = 0;
_root.eye4_mod = "dead";
with (_root.bigboss.b_eye4) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye5) and (_root.eye5_mod == "live")) {
removeMovieClip(this);
_root.b_eye5_life = _root.b_eye5_life - 300;
if (_root.b_eye5_life <= 0) {
_root.b_eye5_life = 0;
_root.eye5_mod = "dead";
with (_root.bigboss.b_eye5) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
test = (((_root.b_eye1_life + _root.b_eye2_life) + _root.b_eye3_life) + _root.b_eye4_life) + _root.b_eye5_life;
if ((test <= 0) and (_root.level == 3)) {
stopAllSounds();
_root.gotoAndPlay("win");
}
}
}
Instance of Symbol 292 MovieClip "gama" in Frame 111
onClipEvent (enterFrame) {
if (this._name == _root.gama._name) {
removeMovieClip(this);
} else {
this._y = this._y - 20;
if (this._y <= 0) {
removeMovieClip(this);
}
if (this.hitTest(_root.base1) and (_root.base1_mod == "live")) {
removeMovieClip(this);
_root.base1_mod = "dead";
_root.score = _root.score + 10;
with (_root.base1) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.base2) and (_root.base2_mod == "live")) {
removeMovieClip(this);
_root.base2_mod = "dead";
_root.score = _root.score + 10;
with (_root.base2) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.base3) and (_root.base3_mod == "live")) {
removeMovieClip(this);
_root.base3_mod = "dead";
_root.score = _root.score + 10;
with (_root.base3) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.ufo) and (_root.ufo_mod == "live")) {
removeMovieClip(this);
_root.ufo_mod = "dead";
_root.score = _root.score + 5;
with (_root.ufo) {
gotoAndplay(2);
}
}
if (this.hitTest(_root.shark) and (_root.shark_mod == "live")) {
removeMovieClip(this);
_root.shark_mod = "dead";
_root.score = _root.score + 5;
with (_root.shark) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.rocket) and (_root.rocket_mod == "live")) {
removeMovieClip(this);
_root.rocket_mod = "dead";
_root.score = _root.score + 5;
with (_root.rocket) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.rock) and (_root.rock_mod == "live")) {
removeMovieClip(this);
_root.rock_mod = "dead";
_root.score = _root.score + 5;
with (_root.rock) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.eye1)) {
removeMovieClip(this);
_root.eye1:reset();
}
if (this.hitTest(_root.eye2)) {
removeMovieClip(this);
_root.eye2:reset();
}
if (this.hitTest(_root.eye3)) {
removeMovieClip(this);
_root.eye3:reset();
}
if (this.hitTest(_root.eye4)) {
removeMovieClip(this);
_root.eye4:reset();
}
if (this.hitTest(_root.eye5)) {
removeMovieClip(this);
_root.eye5:reset();
}
if (this.hitTest(_root.bigboss.b_eye1) and (_root.eye1_mod == "live")) {
removeMovieClip(this);
_root.b_eye1_life = _root.b_eye1_life - 300;
if (_root.b_eye1_life <= 0) {
_root.b_eye1_life = 0;
_root.eye1_mod = "dead";
with (_root.bigboss.b_eye1) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye2) and (_root.eye2_mod == "live")) {
removeMovieClip(this);
_root.b_eye2_life = _root.b_eye2_life - 300;
if (_root.b_eye2_life <= 0) {
_root.b_eye2_life = 0;
_root.eye2_mod = "dead";
with (_root.bigboss.b_eye2) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye3) and (_root.eye3_mod == "live")) {
removeMovieClip(this);
_root.b_eye3_life = _root.b_eye3_life - 300;
if (_root.b_eye3_life <= 0) {
_root.b_eye3_life = 0;
_root.eye3_mod = "dead";
with (_root.bigboss.b_eye3) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye4) and (_root.eye4_mod == "live")) {
removeMovieClip(this);
_root.b_eye4_life = _root.b_eye4_life - 300;
if (_root.b_eye4_life <= 0) {
_root.b_eye4_life = 0;
_root.eye4_mod = "dead";
with (_root.bigboss.b_eye4) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye5) and (_root.eye5_mod == "live")) {
removeMovieClip(this);
_root.b_eye5_life = _root.b_eye5_life - 300;
if (_root.b_eye5_life <= 0) {
_root.b_eye5_life = 0;
_root.eye5_mod = "dead";
with (_root.bigboss.b_eye5) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
test = (((_root.b_eye1_life + _root.b_eye2_life) + _root.b_eye3_life) + _root.b_eye4_life) + _root.b_eye5_life;
if ((test <= 0) and (_root.level == 3)) {
stopAllSounds();
_root.gotoAndPlay("win");
}
}
}
Instance of Symbol 297 MovieClip "weapon1" in Frame 111
onClipEvent (enterFrame) {
if (this._name == _root.weapon1._name) {
removeMovieClip(this);
} else {
this._y = this._y - 15;
if (this._y <= 0) {
removeMovieClip(this);
}
if (this.hitTest(_root.base1) and (_root.base1_mod == "live")) {
removeMovieClip(this);
_root.base1_mod = "dead";
_root.score = _root.score + 10;
with (_root.base1) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.base2) and (_root.base2_mod == "live")) {
removeMovieClip(this);
_root.base2_mod = "dead";
_root.score = _root.score + 10;
with (_root.base2) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.base3) and (_root.base3_mod == "live")) {
removeMovieClip(this);
_root.base3_mod = "dead";
_root.score = _root.score + 10;
with (_root.base3) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.ufo) and (_root.ufo_mod == "live")) {
removeMovieClip(this);
_root.ufo_mod = "dead";
_root.score = _root.score + 5;
with (_root.ufo) {
gotoAndplay(2);
}
}
if (this.hitTest(_root.shark) and (_root.shark_mod == "live")) {
removeMovieClip(this);
_root.shark_mod = "dead";
_root.score = _root.score + 5;
with (_root.shark) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.rocket) and (_root.rocket_mod == "live")) {
removeMovieClip(this);
_root.rocket_mod = "dead";
_root.score = _root.score + 5;
with (_root.rocket) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.rock) and (_root.rock_mod == "live")) {
removeMovieClip(this);
_root.rock_mod = "dead";
_root.score = _root.score + 5;
with (_root.rock) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.eye1)) {
removeMovieClip(this);
_root.eye1:reset();
}
if (this.hitTest(_root.eye2)) {
removeMovieClip(this);
_root.eye2:reset();
}
if (this.hitTest(_root.eye3)) {
removeMovieClip(this);
_root.eye3:reset();
}
if (this.hitTest(_root.eye4)) {
removeMovieClip(this);
_root.eye4:reset();
}
if (this.hitTest(_root.eye5)) {
removeMovieClip(this);
_root.eye5:reset();
}
if (this.hitTest(_root.bigboss.b_eye1) and (_root.eye1_mod == "live")) {
removeMovieClip(this);
_root.b_eye1_life = _root.b_eye1_life - 300;
if (_root.b_eye1_life <= 0) {
_root.b_eye1_life = 0;
_root.eye1_mod = "dead";
with (_root.bigboss.b_eye1) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye2) and (_root.eye2_mod == "live")) {
removeMovieClip(this);
_root.b_eye2_life = _root.b_eye2_life - 300;
if (_root.b_eye2_life <= 0) {
_root.b_eye2_life = 0;
_root.eye2_mod = "dead";
with (_root.bigboss.b_eye2) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye3) and (_root.eye3_mod == "live")) {
removeMovieClip(this);
_root.b_eye3_life = _root.b_eye3_life - 300;
if (_root.b_eye3_life <= 0) {
_root.b_eye3_life = 0;
_root.eye3_mod = "dead";
with (_root.bigboss.b_eye3) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye4) and (_root.eye4_mod == "live")) {
removeMovieClip(this);
_root.b_eye4_life = _root.b_eye4_life - 300;
if (_root.b_eye4_life <= 0) {
_root.b_eye4_life = 0;
_root.eye4_mod = "dead";
with (_root.bigboss.b_eye4) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye5) and (_root.eye5_mod == "live")) {
removeMovieClip(this);
_root.b_eye5_life = _root.b_eye5_life - 300;
if (_root.b_eye5_life <= 0) {
_root.b_eye5_life = 0;
_root.eye5_mod = "dead";
with (_root.bigboss.b_eye5) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
test = (((_root.b_eye1_life + _root.b_eye2_life) + _root.b_eye3_life) + _root.b_eye4_life) + _root.b_eye5_life;
if ((test <= 0) and (_root.level == 3)) {
stopAllSounds();
_root.gotoAndPlay("win");
}
}
}
Instance of Symbol 301 MovieClip "laser" in Frame 111
onClipEvent (enterFrame) {
if (this._name == _root.laser._name) {
removeMovieClip(this);
} else {
this._y = this._y - 20;
if (this._y <= 0) {
removeMovieClip(this);
}
if (this.hitTest(_root.base1) and (_root.base1_mod == "live")) {
removeMovieClip(this);
_root.base1_mod = "dead";
_root.score = _root.score + 10;
with (_root.base1) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.base2) and (_root.base2_mod == "live")) {
removeMovieClip(this);
_root.base2_mod = "dead";
_root.score = _root.score + 10;
with (_root.base2) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.base3) and (_root.base3_mod == "live")) {
removeMovieClip(this);
_root.base3_mod = "dead";
_root.score = _root.score + 10;
with (_root.base3) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.ufo) and (_root.ufo_mod == "live")) {
removeMovieClip(this);
_root.ufo_mod = "dead";
_root.score = _root.score + 5;
with (_root.ufo) {
gotoAndplay(2);
}
}
if (this.hitTest(_root.shark) and (_root.shark_mod == "live")) {
removeMovieClip(this);
_root.shark_mod = "dead";
_root.score = _root.score + 5;
with (_root.shark) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.rocket) and (_root.rocket_mod == "live")) {
removeMovieClip(this);
_root.rocket_mod = "dead";
_root.score = _root.score + 5;
with (_root.rocket) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.rock) and (_root.rock_mod == "live")) {
removeMovieClip(this);
_root.rock_mod = "dead";
_root.score = _root.score + 5;
with (_root.rock) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.eye1)) {
removeMovieClip(this);
_root.eye1:reset();
}
if (this.hitTest(_root.eye2)) {
removeMovieClip(this);
_root.eye2:reset();
}
if (this.hitTest(_root.eye3)) {
removeMovieClip(this);
_root.eye3:reset();
}
if (this.hitTest(_root.eye4)) {
removeMovieClip(this);
_root.eye4:reset();
}
if (this.hitTest(_root.eye5)) {
removeMovieClip(this);
_root.eye5:reset();
}
if (this.hitTest(_root.bigboss.b_eye1) and (_root.eye1_mod == "live")) {
removeMovieClip(this);
_root.b_eye1_life = _root.b_eye1_life - 300;
if (_root.b_eye1_life <= 0) {
_root.b_eye1_life = 0;
_root.eye1_mod = "dead";
with (_root.bigboss.b_eye1) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye2) and (_root.eye2_mod == "live")) {
removeMovieClip(this);
_root.b_eye2_life = _root.b_eye2_life - 300;
if (_root.b_eye2_life <= 0) {
_root.b_eye2_life = 0;
_root.eye2_mod = "dead";
with (_root.bigboss.b_eye2) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye3) and (_root.eye3_mod == "live")) {
removeMovieClip(this);
_root.b_eye3_life = _root.b_eye3_life - 300;
if (_root.b_eye3_life <= 0) {
_root.b_eye3_life = 0;
_root.eye3_mod = "dead";
with (_root.bigboss.b_eye3) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye4) and (_root.eye4_mod == "live")) {
removeMovieClip(this);
_root.b_eye4_life = _root.b_eye4_life - 300;
if (_root.b_eye4_life <= 0) {
_root.b_eye4_life = 0;
_root.eye4_mod = "dead";
with (_root.bigboss.b_eye4) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye5) and (_root.eye5_mod == "live")) {
removeMovieClip(this);
_root.b_eye5_life = _root.b_eye5_life - 300;
if (_root.b_eye5_life <= 0) {
_root.b_eye5_life = 0;
_root.eye5_mod = "dead";
with (_root.bigboss.b_eye5) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
test = (((_root.b_eye1_life + _root.b_eye2_life) + _root.b_eye3_life) + _root.b_eye4_life) + _root.b_eye5_life;
if ((test <= 0) and (_root.level == 3)) {
stopAllSounds();
_root.gotoAndPlay("win");
}
}
}
Instance of Symbol 304 MovieClip "lake" in Frame 112
onClipEvent (load) {
function reset() {
this._x = random(400);
this._y = random(-400) - 400;
this._rotation = random(460) + 1;
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y > 600) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 309 MovieClip "forest3" in Frame 112
onClipEvent (load) {
function reset() {
this._x = random(400);
this._y = -100;
this._rotation = random(360);
}
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 313 MovieClip "forest1" in Frame 112
onClipEvent (load) {
function reset() {
this._x = random(400);
this._y = -100;
this._rotation = random(360);
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 314 MovieClip "forest2" in Frame 112
onClipEvent (load) {
function reset() {
this._x = random(400);
this._y = -100;
this._rotation = random(360);
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y > 450) {
removeMovieClip(this);
}
}
Instance of Symbol 306 MovieClip "mountain" in Frame 112
onClipEvent (load) {
function reset() {
this._x = random(400) + 1;
this._y = random(-300) + 0;
this._rotation = random(360);
}
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this.hitTest(_root.base1)) {
removeMovieClip(this);
reset();
}
if (this.hitTest(_root.base2)) {
removeMovieClip(this);
reset();
}
if (this.hitTest(_root.base3)) {
removeMovieClip(this);
reset();
}
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 324 MovieClip "base1" in Frame 112
onClipEvent (load) {
function reset() {
with (_root.base1) {
gotoAndStop(1);
}
this._x = random(380) + 25;
this._y = random(-400) + 0;
_root.base1_mod = "live";
removeMovieClip(_root.base1.md);
removeMovieClip(_root.base1.me);
removeMovieClip(_root.base1.mf);
removeMovieClip(_root.base1.mg);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.base1_mod == "live")) {
_root.base1_mod = "dead";
_root.life = _root.life + 1;
if (_root.life >= 5) {
_root.life = 5;
}
with (_root.zanax) {
gotoAndPlay("die");
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
tellTarget (_root.base1) {
gotoAndStop (2);
};
}
if (this.hitTest(_root.base2)) {
reset();
}
if (this.hitTest(_root.base3)) {
reset();
}
if (this.hitTest(_root.forest3)) {
reset();
}
if (this.hitTest(_root.mountain)) {
reset();
}
this._y = this._y + 5;
if (this._y > 470) {
reset();
}
}
Instance of Symbol 329 MovieClip "shark" in Frame 112
onClipEvent (load) {
function reset() {
Speed = random(50) + 1;
this._x = random(350);
this._y = -100;
_root.shark_mod = "live";
}
reset();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.shark_mod == "live")) {
_root.life = _root.life + 1;
with (_root.zanax) {
gotoAndPlay("die");
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
reset();
}
this._y = this._y + Speed;
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 339 MovieClip "rocket" in Frame 112
onClipEvent (load) {
function reset() {
startx1 = random(400);
this._y = -100;
Speed = random(100) + 1;
radius = random(50) + 1;
perspective = 300;
anglespeed = 0.0436332312998582;
this.gotoAndStop(1);
_root.rocket_mod = "live";
}
reset();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.rocket_mod == "live")) {
_root.life = _root.life + 1;
with (_root.zanax) {
gotoAndPlay("die");
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
reset();
}
this.angle = this.angle + anglespeed;
a = Math.sin(this.angle) * radius;
b = Math.cos(this.angle) * radius;
scalar = perspective / (b + perspective);
this._x = (a * scalar) + startx1;
this._y = this._y + (Speed - b);
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 175 MovieClip "ufo" in Frame 112
onClipEvent (load) {
function reset() {
startx1 = random(300);
this._y = -100;
Speed = random(50) + 1;
radius = random(36) + 100;
perspective = 300;
anglespeed = 0.0436332312998582;
this.gotoAndStop(1);
_root.ufo_mod = "live";
}
reset();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.ufo_mod == "live")) {
_root.life = _root.life + 1;
with (_root.zanax) {
gotoAndPlay("die");
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
reset();
}
this.angle = this.angle + anglespeed;
a = Math.sin(this.angle) * radius;
b = Math.cos(this.angle) * radius;
scalar = perspective / (b + perspective);
this._x = (a * scalar) + startx1;
this._y = this._y + Speed;
this._rotation = this._rotation + (scalar * 10);
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 187 MovieClip "zanax" in Frame 112
onClipEvent (load) {
function fire1() {
i = i + 1;
duplicateMovieClip (_root.weapon1, "mc" + i, i);
setProperty(_root["mc" + i], _x , getProperty(_root.zanax, _x));
setProperty(_root["mc" + i], _y , getProperty(_root.zanax, _y));
with (_root["mc" + i]) {
gotoAndPlay(2);
}
if (i >= 100) {
i = 0;
}
}
function fire2() {
n = n + 1;
duplicateMovieClip (_root.laser, "mclaser" + n, n);
setProperty(_root["mclaser" + n], _x , getProperty(_root.zanax, _x));
setProperty(_root["mclaser" + n], _y , getProperty(_root.zanax, _y));
with (_root["mclaser" + n]) {
gotoAndPlay(2);
}
if (n >= 100) {
n = 0;
}
}
function fire3() {
m = m + 1;
duplicateMovieClip (_root.fire, "mcwave" + m, m);
setProperty(_root["mcwave" + m], _x , getProperty(_root.zanax, _x));
setProperty(_root["mcwave" + m], _y , getProperty(_root.zanax, _y));
with (_root["mcwave" + m]) {
gotoAndPlay(2);
}
if (m >= 100) {
m = 0;
}
}
function fire4() {
l = l + 1;
duplicateMovieClip (_root.gama, "mcgama" + l, l);
setProperty(_root["mcgama" + l], _x , getProperty(_root.zanax, _x));
setProperty(_root["mcgama" + l], _y , getProperty(_root.zanax, _y));
with (_root["mcgama" + l]) {
gotoAndPlay(2);
}
if (l >= 100) {
l = 0;
}
}
function fire5() {
e = e + 1;
duplicateMovieClip (_root.circle, "mccircle" + e, e);
setProperty(_root["mccircle" + e], _x , getProperty(_root.zanax, _x));
setProperty(_root["mccircle" + e], _y , getProperty(_root.zanax, _y));
with (_root["mccircle" + e]) {
gotoAndPlay(2);
}
if (e >= 100) {
e = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.life >= 4) {
stopAllSounds();
_root.gotoAndPlay("over");
}
if (_root.score >= 800) {
stopAllSounds();
_root.gotoAndPlay("level3");
}
if (Key.isDown(32) and (_root.weapon == 1)) {
_root.zanax.gotoAndStop("so");
fire1();
}
if (Key.isDown(32) and (_root.weapon == 2)) {
_root.zanax.gotoAndStop("so");
fire2();
}
if (Key.isDown(32) and (_root.weapon == 3)) {
_root.zanax.gotoAndStop("so");
fire3();
}
if (Key.isDown(32) and (_root.weapon == 4)) {
_root.zanax.gotoAndStop("so");
fire4();
}
if (Key.isDown(32) and (_root.weapon == 5)) {
_root.zanax.gotoAndStop("so");
fire5();
}
if (Key.isDown(39)) {
_root.zanax.gotoAndStop("walk");
this._x = this._x + 15;
if (this._x > 405) {
this._x = 405;
}
} else if (Key.isDown(37)) {
_root.zanax.gotoAndStop("walk");
this._x = this._x - 15;
if (this._x < 18) {
this._x = 18;
}
}
if (Key.isDown(40)) {
_root.zanax.gotoAndStop("walk");
this._y = this._y + 15;
if (this._y > 355) {
this._y = 355;
}
} else if (Key.isDown(38)) {
_root.zanax.gotoAndStop("walk");
this._y = this._y - 15;
if (this._y < 0) {
this._y = 0;
}
}
}
Frame 113
stop();
score = 0;
touch_life = false;
touch_liser = false;
touch_circle = false;
touch_fire = false;
touch_gama = false;
weapon = 1;
life = 1;
level = 2;
base1_mod = "live";
base2_mod = "live";
base3_mod = "live";
enemy1_mod = "live";
ufo_mod = "live";
shark_mod = "live";
rocket_mod = "live";
rock_mod = "live";
Instance of Symbol 187 MovieClip "zanax" in Frame 119
onClipEvent (load) {
function fire1() {
i = i + 1;
duplicateMovieClip (_root.weapon1, "mc" + i, i);
setProperty(_root["mc" + i], _x , getProperty(_root.zanax, _x));
setProperty(_root["mc" + i], _y , getProperty(_root.zanax, _y));
with (_root["mc" + i]) {
gotoAndPlay(2);
}
if (i >= 100) {
i = 0;
}
}
function fire2() {
n = n + 1;
duplicateMovieClip (_root.laser, "mclaser" + n, n);
setProperty(_root["mclaser" + n], _x , getProperty(_root.zanax, _x));
setProperty(_root["mclaser" + n], _y , getProperty(_root.zanax, _y));
with (_root["mclaser" + n]) {
gotoAndPlay(2);
}
if (n >= 100) {
n = 0;
}
}
function fire3() {
m = m + 1;
duplicateMovieClip (_root.fire, "mcwave" + m, m);
setProperty(_root["mcwave" + m], _x , getProperty(_root.zanax, _x));
setProperty(_root["mcwave" + m], _y , getProperty(_root.zanax, _y));
with (_root["mcwave" + m]) {
gotoAndPlay(2);
}
if (m >= 100) {
m = 0;
}
}
function fire4() {
l = l + 1;
duplicateMovieClip (_root.gama, "mcgama" + l, l);
setProperty(_root["mcgama" + l], _x , getProperty(_root.zanax, _x));
setProperty(_root["mcgama" + l], _y , getProperty(_root.zanax, _y));
with (_root["mcgama" + l]) {
gotoAndPlay(2);
}
if (l >= 100) {
l = 0;
}
}
function fire5() {
e = e + 1;
duplicateMovieClip (_root.circle, "mccircle" + e, e);
setProperty(_root["mccircle" + e], _x , getProperty(_root.zanax, _x));
setProperty(_root["mccircle" + e], _y , getProperty(_root.zanax, _y));
with (_root["mccircle" + e]) {
gotoAndPlay(2);
}
if (e >= 100) {
e = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.life >= 4) {
stopAllSounds();
_root.gotoAndPlay("over");
}
if (Key.isDown(32) and (_root.weapon == 1)) {
_root.zanax.gotoAndStop("so");
fire1();
}
if (Key.isDown(32) and (_root.weapon == 2)) {
_root.zanax.gotoAndStop("so");
fire2();
}
if (Key.isDown(32) and (_root.weapon == 3)) {
_root.zanax.gotoAndStop("so");
fire3();
}
if (Key.isDown(32) and (_root.weapon == 4)) {
_root.zanax.gotoAndStop("so");
fire4();
}
if (Key.isDown(32) and (_root.weapon == 5)) {
_root.zanax.gotoAndStop("so");
fire5();
}
if (Key.isDown(39)) {
_root.zanax.gotoAndStop("walk");
this._x = this._x + 15;
if (this._x > 405) {
this._x = 405;
}
} else if (Key.isDown(37)) {
_root.zanax.gotoAndStop("walk");
this._x = this._x - 15;
if (this._x < 18) {
this._x = 18;
}
}
if (Key.isDown(40)) {
_root.zanax.gotoAndStop("walk");
this._y = this._y + 15;
if (this._y > 355) {
this._y = 355;
}
} else if (Key.isDown(38)) {
_root.zanax.gotoAndStop("walk");
this._y = this._y - 15;
if (this._y < 0) {
this._y = 0;
}
}
}
Frame 150
stop();
level = 3;
score = 0;
touch_life = false;
touch_liser = false;
touch_circle = false;
touch_fire = false;
touch_gama = false;
base2_mod = "live";
base3_mod = "live";
enemy1_mod = "live";
ufo_mod = "live";
shark_mod = "live";
rocket_mod = "live";
rock_mod = "live";
b_eye1_life = 1200;
b_eye2_life = 1200;
b_eye5_life = 2400;
b_eye3_life = 1200;
b_eye4_life = 1200;
eye1_mod = "live";
eye2_mod = "live";
eye3_mod = "live";
eye4_mod = "live";
eye5_mod = "live";
Instance of Symbol 269 MovieClip "base2" in Frame 150
onClipEvent (load) {
function reset() {
with (_root.base2) {
gotoAndStop(1);
}
this._x = random(380) + 10;
this._y = random(-378.9) + 22;
_root.base2_mod = "live";
removeMovieClip(_root.base2.mf);
removeMovieClip(_root.base2.mh);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.base2_mod == "live")) {
_root.base2_mod = "dead";
_root.life = _root.life + 1;
if (_root.life >= 5) {
_root.life = 5;
}
with (_root.zanax) {
gotoAndPlay(2);
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
tellTarget (_root.base2) {
gotoAndStop (2);
};
}
if (this.hitTest(_root.base3)) {
reset();
}
if (this.hitTest(_root.forest3)) {
reset();
}
if (this.hitTest(_root.mountain)) {
reset();
}
if (this.hitTest(_root.zanax) and (_root.base2 == "live")) {
_root.life = _root.life + 1;
}
this._y = this._y + 5;
if (this._y > 420) {
reset();
}
}
Instance of Symbol 372 MovieClip "eye2" in Frame 150
onClipEvent (enterFrame) {
function reset() {
this._x = 182;
this._y = 35;
}
}
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (this._x < _root.zanax._x) {
this._x = this._x + 10;
}
if (this._x > _root.zanax._x) {
this._x = this._x - 10;
}
if (this.hitTest(_root.zanax)) {
_root.life = _root.life + 1;
reset();
_root.life = _root.life + 1;
if (_root.life >= 5) {
_root.life = 5;
}
with (_root.zanax) {
gotoAndPlay(2);
}
with (_root.mc_life) {
gotoAndStop(_root.life);
}
}
if (this._y > 400) {
reset();
}
if (_root.b_eye2_life <= 0) {
this._x = -10;
this._y = -10;
}
}
Instance of Symbol 372 MovieClip "eye1" in Frame 150
onClipEvent (enterFrame) {
function reset() {
this._x = 93;
this._y = 36;
}
}
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (this._x < _root.zanax._x) {
this._x = this._x + 10;
}
if (this._x > _root.zanax._x) {
this._x = this._x - 10;
}
if (this.hitTest(_root.zanax)) {
_root.life = _root.life + 1;
reset();
_root.life = _root.life + 1;
if (_root.life >= 5) {
_root.life = 5;
}
with (_root.zanax) {
gotoAndPlay(2);
}
with (_root.mc_life) {
gotoAndStop(_root.life);
}
}
if (this._y > 400) {
reset();
}
if (_root.b_eye1_life <= 0) {
this._x = -10;
this._y = -10;
}
}
Instance of Symbol 372 MovieClip "eye3" in Frame 150
onClipEvent (enterFrame) {
function reset() {
this._x = 93;
this._y = 130;
}
}
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (this._x < _root.zanax._x) {
this._x = this._x + 10;
}
if (this._x > _root.zanax._x) {
this._x = this._x - 10;
}
if (this.hitTest(_root.zanax)) {
_root.life = _root.life + 1;
reset();
_root.life = _root.life + 1;
if (_root.life >= 5) {
_root.life = 5;
}
with (_root.zanax) {
gotoAndPlay(2);
}
with (_root.mc_life) {
gotoAndStop(_root.life);
}
}
if (this._y > 400) {
reset();
}
if (_root.b_eye3_life <= 0) {
this._x = -10;
this._y = -10;
}
}
Instance of Symbol 372 MovieClip "eye4" in Frame 150
onClipEvent (enterFrame) {
function reset() {
this._x = 182;
this._y = 35;
}
}
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (this._x < _root.zanax._x) {
this._x = this._x + 10;
}
if (this._x > _root.zanax._x) {
this._x = this._x - 10;
}
if (this.hitTest(_root.zanax)) {
_root.life = _root.life + 1;
reset();
_root.life = _root.life + 1;
if (_root.life >= 5) {
_root.life = 5;
}
with (_root.zanax) {
gotoAndPlay(2);
}
with (_root.mc_life) {
gotoAndStop(_root.life);
}
}
if (this._y > 400) {
reset();
}
if (_root.b_eye4_life <= 0) {
this._x = -10;
this._y = -10;
}
}
Instance of Symbol 372 MovieClip "eye5" in Frame 150
onClipEvent (enterFrame) {
function reset() {
this._x = 182;
this._y = 35;
}
}
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (this._x < _root.zanax._x) {
this._x = this._x + 10;
}
if (this._x > _root.zanax._x) {
this._x = this._x - 10;
}
if (this.hitTest(_root.zanax)) {
_root.life = _root.life + 1;
reset();
_root.life = _root.life + 1;
if (_root.life >= 5) {
_root.life = 5;
}
with (_root.zanax) {
gotoAndPlay(2);
}
with (_root.mc_life) {
gotoAndStop(_root.life);
}
}
if (this._y > 400) {
reset();
}
if (_root.b_eye5_life <= 0) {
this._x = -10;
this._y = -10;
}
}
Instance of Symbol 329 MovieClip "shark" in Frame 150
onClipEvent (load) {
function reset() {
Speed = random(50) + 1;
this._x = random(280);
this._y = -100;
_root.shark_mod = "live";
}
reset();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.shark_mod == "live")) {
_root.life = _root.life + 1;
with (_root.zanax) {
gotoAndPlay(2);
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
reset();
}
this._y = this._y + Speed;
if (this._y > 350) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 339 MovieClip "rocket" in Frame 150
onClipEvent (load) {
function reset() {
startx1 = random(280);
this._y = -100;
Speed = random(100) + 1;
radius = random(50) + 1;
perspective = 300;
anglespeed = 0.0436332312998582;
this.gotoAndStop(1);
_root.rocket_mod = "live";
}
reset();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.rocket_mod == "live")) {
_root.life = _root.life + 1;
with (_root.zanax) {
gotoAndPlay(2);
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
reset();
}
this.angle = this.angle + anglespeed;
a = Math.sin(this.angle) * radius;
b = Math.cos(this.angle) * radius;
scalar = perspective / (b + perspective);
this._x = (a * scalar) + startx1;
this._y = this._y + (Speed - b);
if (this._y > 350) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 175 MovieClip "ufo" in Frame 150
onClipEvent (load) {
function reset() {
startx1 = random(280);
this._y = -100;
Speed = random(50) + 1;
radius = random(36) + 100;
perspective = 300;
anglespeed = 0.0436332312998582;
this.gotoAndStop(1);
_root.ufo_mod = "live";
}
reset();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.ufo_mod == "live")) {
_root.life = _root.life + 1;
with (_root.zanax) {
gotoAndPlay(2);
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
reset();
}
this.angle = this.angle + anglespeed;
a = Math.sin(this.angle) * radius;
b = Math.cos(this.angle) * radius;
scalar = perspective / (b + perspective);
this._x = (a * scalar) + startx1;
this._y = this._y + Speed;
this._rotation = this._rotation + (scalar * 10);
if (this._y > 350) {
removeMovieClip(this);
reset();
}
}
Frame 151
stopAllSounds();
Frame 152
stop();
Frame 189
loadVariables ("http://www.ibravo.com/Web/Game/Popup/UpdatePoint.aspx?corn=10", this, "POST");
stop();
stopAllSounds();
score = 0;
Frame 223
stop();
Frame 224
life = 1;
score = 0;
Instance of Symbol 150 MovieClip "lake" in Frame 224
onClipEvent (load) {
function reset() {
this._x = random(400);
this._y = random(-400) - 400;
this._rotation = random(460) + 1;
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y > 600) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 154 MovieClip "forest1" in Frame 224
onClipEvent (load) {
function reset() {
this._x = random(400);
this._y = -100;
this._rotation = random(360);
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 155 MovieClip "forest2" in Frame 224
onClipEvent (load) {
function reset() {
this._x = random(400);
this._y = -100;
this._rotation = random(360);
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y > 450) {
removeMovieClip(this);
}
}
Instance of Symbol 162 MovieClip "forest3" in Frame 224
onClipEvent (load) {
function reset() {
this._x = random(400);
this._y = -100;
this._rotation = random(360);
}
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 157 MovieClip "mountain" in Frame 224
onClipEvent (load) {
function reset() {
this._x = random(400) + 1;
this._y = random(-300) + 0;
this._rotation = random(360);
}
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this.hitTest(_root.base1)) {
removeMovieClip(this);
reset();
}
if (this.hitTest(_root.base2)) {
removeMovieClip(this);
reset();
}
if (this.hitTest(_root.base3)) {
removeMovieClip(this);
reset();
}
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 169 MovieClip "rock" in Frame 224
onClipEvent (load) {
function reset() {
startx1 = random(300);
this._y = -100;
Speed = random(30) + 1;
radius = random(36) + 100;
perspective = 300;
anglespeed = 0.0436332312998582;
this.gotoAndStop(1);
_root.rock_mod = "live";
}
reset();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.rock_mod == "live")) {
_root.life = _root.life + 1;
with (_root.zanax) {
gotoAndPlay("die");
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
reset();
}
this.angle = this.angle + anglespeed;
a = Math.sin(this.angle) * radius;
b = Math.cos(this.angle) * radius;
scalar = perspective / (b + perspective);
this._x = (a * scalar) + startx1;
this._y = this._y + Speed;
this._rotation = this._rotation + (scalar * 10);
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 175 MovieClip "ufo" in Frame 224
onClipEvent (load) {
function reset() {
startx1 = random(300);
this._y = -100;
Speed = random(30) + 1;
radius = random(36) + 100;
perspective = 300;
anglespeed = 0.0436332312998582;
this.gotoAndStop(1);
_root.ufo_mod = "live";
}
reset();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.ufo_mod == "live")) {
_root.life = _root.life + 1;
with (_root.zanax) {
gotoAndPlay("die");
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
reset();
}
this.angle = this.angle + anglespeed;
a = Math.sin(this.angle) * radius;
b = Math.cos(this.angle) * radius;
scalar = perspective / (b + perspective);
this._x = (a * scalar) + startx1;
this._y = this._y + Speed;
this._rotation = this._rotation + (scalar * 10);
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 408 MovieClip "zanax" in Frame 224
onClipEvent (load) {
function fire1() {
i = i + 1;
duplicateMovieClip (_root.weapon1, "mc" + i, i);
setProperty(_root["mc" + i], _x , getProperty(_root.zanax, _x));
setProperty(_root["mc" + i], _y , getProperty(_root.zanax, _y));
with (_root["mc" + i]) {
gotoAndPlay(2);
}
if (i >= 100) {
i = 0;
}
}
function fire2() {
n = n + 1;
duplicateMovieClip (_root.laser, "mclaser" + n, n);
setProperty(_root["mclaser" + n], _x , getProperty(_root.zanax, _x));
setProperty(_root["mclaser" + n], _y , getProperty(_root.zanax, _y));
with (_root["mclaser" + n]) {
gotoAndPlay(2);
}
if (n >= 100) {
n = 0;
}
}
function fire3() {
m = m + 1;
duplicateMovieClip (_root.fire, "mcwave" + m, m);
setProperty(_root["mcwave" + m], _x , getProperty(_root.zanax, _x));
setProperty(_root["mcwave" + m], _y , getProperty(_root.zanax, _y));
with (_root["mcwave" + m]) {
gotoAndPlay(2);
}
if (m >= 100) {
m = 0;
}
}
function fire4() {
l = l + 1;
duplicateMovieClip (_root.gama, "mcgama" + l, l);
setProperty(_root["mcgama" + l], _x , getProperty(_root.zanax, _x));
setProperty(_root["mcgama" + l], _y , getProperty(_root.zanax, _y));
with (_root["mcgama" + l]) {
gotoAndPlay(2);
}
if (l >= 100) {
l = 0;
}
}
function fire5() {
e = e + 1;
duplicateMovieClip (_root.circle, "mccircle" + e, e);
setProperty(_root["mccircle" + e], _x , getProperty(_root.zanax, _x));
setProperty(_root["mccircle" + e], _y , getProperty(_root.zanax, _y));
with (_root["mccircle" + e]) {
gotoAndPlay(2);
}
if (e >= 100) {
e = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.life >= 4) {
stopAllSounds();
_root.gotoAndPlay("over2");
}
if (_root.score >= 500) {
stopAllSounds();
_root.gotoAndPlay("level5");
}
if (Key.isDown(32) and (_root.weapon == 1)) {
_root.zanax.gotoAndStop("so");
fire1();
}
if (Key.isDown(32) and (_root.weapon == 2)) {
_root.zanax.gotoAndStop("so");
fire2();
}
if (Key.isDown(32) and (_root.weapon == 3)) {
_root.zanax.gotoAndStop("so");
fire3();
}
if (Key.isDown(32) and (_root.weapon == 4)) {
_root.zanax.gotoAndStop("so");
fire4();
}
if (Key.isDown(32) and (_root.weapon == 5)) {
_root.zanax.gotoAndStop("so");
fire5();
}
if (Key.isDown(39)) {
_root.zanax.gotoAndStop("walk");
this._x = this._x + 15;
if (this._x > 405) {
this._x = 405;
}
} else if (Key.isDown(37)) {
_root.zanax.gotoAndStop("walk");
this._x = this._x - 15;
if (this._x < 18) {
this._x = 18;
}
}
if (Key.isDown(40)) {
this._y = this._y + 15;
_root.zanax.gotoAndStop("walk");
if (this._y > 355) {
this._y = 355;
}
} else if (Key.isDown(38)) {
_root.zanax.gotoAndStop("walk");
this._y = this._y - 15;
if (this._y < 0) {
this._y = 0;
}
}
}
Frame 235
stop();
touch_life = false;
touch_liser = false;
touch_circle = false;
touch_fire = false;
touch_gama = false;
score = 0;
level = 1;
weapon = 1;
base1_mod = "live";
base2_mod = "live";
base3_mod = "live";
enemy1_mod = "live";
base1_mod = "live";
base2_mod = "live";
base3_mod = "live";
Instance of Symbol 241 MovieClip "base3" in Frame 235
onClipEvent (load) {
function reset() {
with (_root.base3) {
gotoAndStop(1);
}
this._x = random(363) + 31;
this._y = random(-400) + 0;
_root.base3_mod = "live";
removeMovieClip(_root.base3.md);
removeMovieClip(_root.base3.mh);
removeMovieClip(_root.base3.me);
removeMovieClip(_root.base3.mf);
removeMovieClip(_root.base3.mg);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.base3_mod == "live")) {
_root.base3_mod = "dead";
_root.life = _root.life + 1;
if (_root.life >= 5) {
_root.life = 5;
}
with (_root.zanax) {
gotoAndPlay("die");
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
tellTarget (_root.base3) {
gotoAndStop (2);
};
}
if (this.hitTest(_root.forest3)) {
reset();
}
this._y = this._y + 5;
if (this._y > 450) {
reset();
}
}
Instance of Symbol 253 MovieClip "base1" in Frame 235
onClipEvent (load) {
function reset() {
with (_root.base1) {
gotoAndStop(1);
}
this._x = random(380) + 25;
this._y = random(-400) + 0;
_root.base1_mod = "live";
removeMovieClip(_root.base1.md);
removeMovieClip(_root.base1.me);
removeMovieClip(_root.base1.mf);
removeMovieClip(_root.base1.mg);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.base1_mod == "live")) {
_root.base1_mod = "dead";
_root.life = _root.life + 1;
if (_root.life >= 5) {
_root.life = 5;
}
with (_root.zanax) {
gotoAndPlay("die");
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
tellTarget (_root.base1) {
gotoAndStop (2);
};
}
if (this.hitTest(_root.base2)) {
reset();
}
if (this.hitTest(_root.base3)) {
reset();
}
if (this.hitTest(_root.forest3)) {
reset();
}
if (this.hitTest(_root.mountain)) {
reset();
}
this._y = this._y + 5;
if (this._y > 470) {
reset();
}
}
Instance of Symbol 269 MovieClip "base2" in Frame 235
onClipEvent (load) {
function reset() {
with (_root.base2) {
gotoAndStop(1);
}
this._x = random(380) + 10;
this._y = random(-378.9) + 22;
_root.base2_mod = "live";
removeMovieClip(_root.base2.mf);
removeMovieClip(_root.base2.mh);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.base2_mod == "live")) {
_root.base2_mod = "dead";
_root.life = _root.life + 1;
if (_root.life >= 5) {
_root.life = 5;
}
with (_root.zanax) {
gotoAndPlay("die");
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
tellTarget (_root.base2) {
gotoAndStop (2);
};
}
if (this.hitTest(_root.base3)) {
reset();
}
if (this.hitTest(_root.forest3)) {
reset();
}
if (this.hitTest(_root.mountain)) {
reset();
}
if (this.hitTest(_root.zanax) and (_root.base2 == "live")) {
_root.life = _root.life + 1;
}
this._y = this._y + 5;
if (this._y > 420) {
reset();
}
}
Instance of Symbol 280 MovieClip "circle" in Frame 235
onClipEvent (enterFrame) {
if (this._name == _root.circle._name) {
removeMovieClip(this);
} else {
this._y = this._y - 15;
if (this._y <= 0) {
removeMovieClip(this);
}
if (this.hitTest(_root.base1) and (_root.base1_mod == "live")) {
removeMovieClip(this);
_root.base1_mod = "dead";
_root.score = _root.score + 10;
with (_root.base1) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.base2) and (_root.base2_mod == "live")) {
removeMovieClip(this);
_root.base2_mod = "dead";
_root.score = _root.score + 10;
with (_root.base2) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.base3) and (_root.base3_mod == "live")) {
removeMovieClip(this);
_root.base3_mod = "dead";
_root.score = _root.score + 10;
with (_root.base3) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.ufo) and (_root.ufo_mod == "live")) {
removeMovieClip(this);
_root.ufo_mod = "dead";
_root.score = _root.score + 5;
with (_root.ufo) {
gotoAndplay(2);
}
}
if (this.hitTest(_root.shark) and (_root.shark_mod == "live")) {
removeMovieClip(this);
_root.shark_mod = "dead";
_root.score = _root.score + 5;
with (_root.shark) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.rocket) and (_root.rocket_mod == "live")) {
removeMovieClip(this);
_root.rocket_mod = "dead";
_root.score = _root.score + 5;
with (_root.rocket) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.rock) and (_root.rock_mod == "live")) {
removeMovieClip(this);
_root.rock_mod = "dead";
_root.score = _root.score + 5;
with (_root.rock) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.eye1)) {
removeMovieClip(this);
_root.eye1:reset();
}
if (this.hitTest(_root.eye2)) {
removeMovieClip(this);
_root.eye2:reset();
}
if (this.hitTest(_root.eye3)) {
removeMovieClip(this);
_root.eye3:reset();
}
if (this.hitTest(_root.eye4)) {
removeMovieClip(this);
_root.eye4:reset();
}
if (this.hitTest(_root.eye5)) {
removeMovieClip(this);
_root.eye5:reset();
}
if (this.hitTest(_root.bigboss.b_eye1) and (_root.eye1_mod == "live")) {
removeMovieClip(this);
_root.b_eye1_life = _root.b_eye1_life - 300;
if (_root.b_eye1_life <= 0) {
_root.b_eye1_life = 0;
_root.eye1_mod = "dead";
with (_root.bigboss.b_eye1) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye2) and (_root.eye2_mod == "live")) {
removeMovieClip(this);
_root.b_eye2_life = _root.b_eye2_life - 300;
if (_root.b_eye2_life <= 0) {
_root.b_eye2_life = 0;
_root.eye2_mod = "dead";
with (_root.bigboss.b_eye2) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye3) and (_root.eye3_mod == "live")) {
removeMovieClip(this);
_root.b_eye3_life = _root.b_eye3_life - 300;
if (_root.b_eye3_life <= 0) {
_root.b_eye3_life = 0;
_root.eye3_mod = "dead";
with (_root.bigboss.b_eye3) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye4) and (_root.eye4_mod == "live")) {
removeMovieClip(this);
_root.b_eye4_life = _root.b_eye4_life - 300;
if (_root.b_eye4_life <= 0) {
_root.b_eye4_life = 0;
_root.eye4_mod = "dead";
with (_root.bigboss.b_eye4) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye5) and (_root.eye5_mod == "live")) {
removeMovieClip(this);
_root.b_eye5_life = _root.b_eye5_life - 300;
if (_root.b_eye5_life <= 0) {
_root.b_eye5_life = 0;
_root.eye5_mod = "dead";
with (_root.bigboss.b_eye5) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
test = (((_root.b_eye1_life + _root.b_eye2_life) + _root.b_eye3_life) + _root.b_eye4_life) + _root.b_eye5_life;
if ((test <= 0) and (_root.level == 3)) {
stopAllSounds();
_root.gotoAndPlay("win2");
}
}
}
Instance of Symbol 287 MovieClip "fire" in Frame 235
onClipEvent (enterFrame) {
if (this._name == _root.fire._name) {
removeMovieClip(this);
} else {
this._y = this._y - 15;
if (this._y <= 0) {
removeMovieClip(this);
}
if (this.hitTest(_root.base1) and (_root.base1_mod == "live")) {
removeMovieClip(this);
_root.base1_mod = "dead";
_root.score = _root.score + 10;
with (_root.base1) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.base2) and (_root.base2_mod == "live")) {
removeMovieClip(this);
_root.base2_mod = "dead";
_root.score = _root.score + 10;
with (_root.base2) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.base3) and (_root.base3_mod == "live")) {
removeMovieClip(this);
_root.base3_mod = "dead";
_root.score = _root.score + 10;
with (_root.base3) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.ufo) and (_root.ufo_mod == "live")) {
removeMovieClip(this);
_root.ufo_mod = "dead";
_root.score = _root.score + 5;
with (_root.ufo) {
gotoAndplay(2);
}
}
if (this.hitTest(_root.shark) and (_root.shark_mod == "live")) {
removeMovieClip(this);
_root.shark_mod = "dead";
_root.score = _root.score + 5;
with (_root.shark) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.rocket) and (_root.rocket_mod == "live")) {
removeMovieClip(this);
_root.rocket_mod = "dead";
_root.score = _root.score + 5;
with (_root.rocket) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.rock) and (_root.rock_mod == "live")) {
removeMovieClip(this);
_root.rock_mod = "dead";
_root.score = _root.score + 5;
with (_root.rock) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.eye1)) {
removeMovieClip(this);
_root.eye1:reset();
}
if (this.hitTest(_root.eye2)) {
removeMovieClip(this);
_root.eye2:reset();
}
if (this.hitTest(_root.eye3)) {
removeMovieClip(this);
_root.eye3:reset();
}
if (this.hitTest(_root.eye4)) {
removeMovieClip(this);
_root.eye4:reset();
}
if (this.hitTest(_root.eye5)) {
removeMovieClip(this);
_root.eye5:reset();
}
if (this.hitTest(_root.bigboss.b_eye1) and (_root.eye1_mod == "live")) {
removeMovieClip(this);
_root.b_eye1_life = _root.b_eye1_life - 300;
if (_root.b_eye1_life <= 0) {
_root.b_eye1_life = 0;
_root.eye1_mod = "dead";
with (_root.bigboss.b_eye1) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye2) and (_root.eye2_mod == "live")) {
removeMovieClip(this);
_root.b_eye2_life = _root.b_eye2_life - 300;
if (_root.b_eye2_life <= 0) {
_root.b_eye2_life = 0;
_root.eye2_mod = "dead";
with (_root.bigboss.b_eye2) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye3) and (_root.eye3_mod == "live")) {
removeMovieClip(this);
_root.b_eye3_life = _root.b_eye3_life - 300;
if (_root.b_eye3_life <= 0) {
_root.b_eye3_life = 0;
_root.eye3_mod = "dead";
with (_root.bigboss.b_eye3) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye4) and (_root.eye4_mod == "live")) {
removeMovieClip(this);
_root.b_eye4_life = _root.b_eye4_life - 300;
if (_root.b_eye4_life <= 0) {
_root.b_eye4_life = 0;
_root.eye4_mod = "dead";
with (_root.bigboss.b_eye4) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye5) and (_root.eye5_mod == "live")) {
removeMovieClip(this);
_root.b_eye5_life = _root.b_eye5_life - 300;
if (_root.b_eye5_life <= 0) {
_root.b_eye5_life = 0;
_root.eye5_mod = "dead";
with (_root.bigboss.b_eye5) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
test = (((_root.b_eye1_life + _root.b_eye2_life) + _root.b_eye3_life) + _root.b_eye4_life) + _root.b_eye5_life;
if ((test <= 0) and (_root.level == 3)) {
stopAllSounds();
_root.gotoAndPlay("win2");
}
}
}
Instance of Symbol 292 MovieClip "gama" in Frame 235
onClipEvent (enterFrame) {
if (this._name == _root.gama._name) {
removeMovieClip(this);
} else {
this._y = this._y - 20;
if (this._y <= 0) {
removeMovieClip(this);
}
if (this.hitTest(_root.base1) and (_root.base1_mod == "live")) {
removeMovieClip(this);
_root.base1_mod = "dead";
_root.score = _root.score + 10;
with (_root.base1) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.base2) and (_root.base2_mod == "live")) {
removeMovieClip(this);
_root.base2_mod = "dead";
_root.score = _root.score + 10;
with (_root.base2) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.base3) and (_root.base3_mod == "live")) {
removeMovieClip(this);
_root.base3_mod = "dead";
_root.score = _root.score + 10;
with (_root.base3) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.ufo) and (_root.ufo_mod == "live")) {
removeMovieClip(this);
_root.ufo_mod = "dead";
_root.score = _root.score + 5;
with (_root.ufo) {
gotoAndplay(2);
}
}
if (this.hitTest(_root.shark) and (_root.shark_mod == "live")) {
removeMovieClip(this);
_root.shark_mod = "dead";
_root.score = _root.score + 5;
with (_root.shark) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.rocket) and (_root.rocket_mod == "live")) {
removeMovieClip(this);
_root.rocket_mod = "dead";
_root.score = _root.score + 5;
with (_root.rocket) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.rock) and (_root.rock_mod == "live")) {
removeMovieClip(this);
_root.rock_mod = "dead";
_root.score = _root.score + 5;
with (_root.rock) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.eye1)) {
removeMovieClip(this);
_root.eye1:reset();
}
if (this.hitTest(_root.eye2)) {
removeMovieClip(this);
_root.eye2:reset();
}
if (this.hitTest(_root.eye3)) {
removeMovieClip(this);
_root.eye3:reset();
}
if (this.hitTest(_root.eye4)) {
removeMovieClip(this);
_root.eye4:reset();
}
if (this.hitTest(_root.eye5)) {
removeMovieClip(this);
_root.eye5:reset();
}
if (this.hitTest(_root.bigboss.b_eye1) and (_root.eye1_mod == "live")) {
removeMovieClip(this);
_root.b_eye1_life = _root.b_eye1_life - 300;
if (_root.b_eye1_life <= 0) {
_root.b_eye1_life = 0;
_root.eye1_mod = "dead";
with (_root.bigboss.b_eye1) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye2) and (_root.eye2_mod == "live")) {
removeMovieClip(this);
_root.b_eye2_life = _root.b_eye2_life - 300;
if (_root.b_eye2_life <= 0) {
_root.b_eye2_life = 0;
_root.eye2_mod = "dead";
with (_root.bigboss.b_eye2) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye3) and (_root.eye3_mod == "live")) {
removeMovieClip(this);
_root.b_eye3_life = _root.b_eye3_life - 300;
if (_root.b_eye3_life <= 0) {
_root.b_eye3_life = 0;
_root.eye3_mod = "dead";
with (_root.bigboss.b_eye3) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye4) and (_root.eye4_mod == "live")) {
removeMovieClip(this);
_root.b_eye4_life = _root.b_eye4_life - 300;
if (_root.b_eye4_life <= 0) {
_root.b_eye4_life = 0;
_root.eye4_mod = "dead";
with (_root.bigboss.b_eye4) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye5) and (_root.eye5_mod == "live")) {
removeMovieClip(this);
_root.b_eye5_life = _root.b_eye5_life - 300;
if (_root.b_eye5_life <= 0) {
_root.b_eye5_life = 0;
_root.eye5_mod = "dead";
with (_root.bigboss.b_eye5) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
test = (((_root.b_eye1_life + _root.b_eye2_life) + _root.b_eye3_life) + _root.b_eye4_life) + _root.b_eye5_life;
if ((test <= 0) and (_root.level == 3)) {
stopAllSounds();
_root.gotoAndPlay("win2");
}
}
}
Instance of Symbol 297 MovieClip "weapon1" in Frame 235
onClipEvent (enterFrame) {
if (this._name == _root.weapon1._name) {
removeMovieClip(this);
} else {
this._y = this._y - 15;
if (this._y <= 0) {
removeMovieClip(this);
}
if (this.hitTest(_root.base1) and (_root.base1_mod == "live")) {
removeMovieClip(this);
_root.base1_mod = "dead";
_root.score = _root.score + 10;
with (_root.base1) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.base2) and (_root.base2_mod == "live")) {
removeMovieClip(this);
_root.base2_mod = "dead";
_root.score = _root.score + 10;
with (_root.base2) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.base3) and (_root.base3_mod == "live")) {
removeMovieClip(this);
_root.base3_mod = "dead";
_root.score = _root.score + 10;
with (_root.base3) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.ufo) and (_root.ufo_mod == "live")) {
removeMovieClip(this);
_root.ufo_mod = "dead";
_root.score = _root.score + 5;
with (_root.ufo) {
gotoAndplay(2);
}
}
if (this.hitTest(_root.shark) and (_root.shark_mod == "live")) {
removeMovieClip(this);
_root.shark_mod = "dead";
_root.score = _root.score + 5;
with (_root.shark) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.rocket) and (_root.rocket_mod == "live")) {
removeMovieClip(this);
_root.rocket_mod = "dead";
_root.score = _root.score + 5;
with (_root.rocket) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.rock) and (_root.rock_mod == "live")) {
removeMovieClip(this);
_root.rock_mod = "dead";
_root.score = _root.score + 5;
with (_root.rock) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.eye1)) {
removeMovieClip(this);
_root.eye1:reset();
}
if (this.hitTest(_root.eye2)) {
removeMovieClip(this);
_root.eye2:reset();
}
if (this.hitTest(_root.eye3)) {
removeMovieClip(this);
_root.eye3:reset();
}
if (this.hitTest(_root.eye4)) {
removeMovieClip(this);
_root.eye4:reset();
}
if (this.hitTest(_root.eye5)) {
removeMovieClip(this);
_root.eye5:reset();
}
if (this.hitTest(_root.bigboss.b_eye1) and (_root.eye1_mod == "live")) {
removeMovieClip(this);
_root.b_eye1_life = _root.b_eye1_life - 300;
if (_root.b_eye1_life <= 0) {
_root.b_eye1_life = 0;
_root.eye1_mod = "dead";
with (_root.bigboss.b_eye1) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye2) and (_root.eye2_mod == "live")) {
removeMovieClip(this);
_root.b_eye2_life = _root.b_eye2_life - 300;
if (_root.b_eye2_life <= 0) {
_root.b_eye2_life = 0;
_root.eye2_mod = "dead";
with (_root.bigboss.b_eye2) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye3) and (_root.eye3_mod == "live")) {
removeMovieClip(this);
_root.b_eye3_life = _root.b_eye3_life - 300;
if (_root.b_eye3_life <= 0) {
_root.b_eye3_life = 0;
_root.eye3_mod = "dead";
with (_root.bigboss.b_eye3) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye4) and (_root.eye4_mod == "live")) {
removeMovieClip(this);
_root.b_eye4_life = _root.b_eye4_life - 300;
if (_root.b_eye4_life <= 0) {
_root.b_eye4_life = 0;
_root.eye4_mod = "dead";
with (_root.bigboss.b_eye4) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye5) and (_root.eye5_mod == "live")) {
removeMovieClip(this);
_root.b_eye5_life = _root.b_eye5_life - 300;
if (_root.b_eye5_life <= 0) {
_root.b_eye5_life = 0;
_root.eye5_mod = "dead";
with (_root.bigboss.b_eye5) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
test = (((_root.b_eye1_life + _root.b_eye2_life) + _root.b_eye3_life) + _root.b_eye4_life) + _root.b_eye5_life;
if ((test <= 0) and (_root.level == 3)) {
stopAllSounds();
_root.gotoAndPlay("win2");
}
}
}
Instance of Symbol 301 MovieClip "laser" in Frame 235
onClipEvent (enterFrame) {
if (this._name == _root.laser._name) {
removeMovieClip(this);
} else {
this._y = this._y - 20;
if (this._y <= 0) {
removeMovieClip(this);
}
if (this.hitTest(_root.base1) and (_root.base1_mod == "live")) {
removeMovieClip(this);
_root.base1_mod = "dead";
_root.score = _root.score + 10;
with (_root.base1) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.base2) and (_root.base2_mod == "live")) {
removeMovieClip(this);
_root.base2_mod = "dead";
_root.score = _root.score + 10;
with (_root.base2) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.base3) and (_root.base3_mod == "live")) {
removeMovieClip(this);
_root.base3_mod = "dead";
_root.score = _root.score + 10;
with (_root.base3) {
gotoAndStop(random(15) + 2);
}
}
if (this.hitTest(_root.ufo) and (_root.ufo_mod == "live")) {
removeMovieClip(this);
_root.ufo_mod = "dead";
_root.score = _root.score + 5;
with (_root.ufo) {
gotoAndplay(2);
}
}
if (this.hitTest(_root.shark) and (_root.shark_mod == "live")) {
removeMovieClip(this);
_root.shark_mod = "dead";
_root.score = _root.score + 5;
with (_root.shark) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.rocket) and (_root.rocket_mod == "live")) {
removeMovieClip(this);
_root.rocket_mod = "dead";
_root.score = _root.score + 5;
with (_root.rocket) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.rock) and (_root.rock_mod == "live")) {
removeMovieClip(this);
_root.rock_mod = "dead";
_root.score = _root.score + 5;
with (_root.rock) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.eye1)) {
removeMovieClip(this);
_root.eye1:reset();
}
if (this.hitTest(_root.eye2)) {
removeMovieClip(this);
_root.eye2:reset();
}
if (this.hitTest(_root.eye3)) {
removeMovieClip(this);
_root.eye3:reset();
}
if (this.hitTest(_root.eye4)) {
removeMovieClip(this);
_root.eye4:reset();
}
if (this.hitTest(_root.eye5)) {
removeMovieClip(this);
_root.eye5:reset();
}
if (this.hitTest(_root.bigboss.b_eye1) and (_root.eye1_mod == "live")) {
removeMovieClip(this);
_root.b_eye1_life = _root.b_eye1_life - 300;
if (_root.b_eye1_life <= 0) {
_root.b_eye1_life = 0;
_root.eye1_mod = "dead";
with (_root.bigboss.b_eye1) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye2) and (_root.eye2_mod == "live")) {
removeMovieClip(this);
_root.b_eye2_life = _root.b_eye2_life - 300;
if (_root.b_eye2_life <= 0) {
_root.b_eye2_life = 0;
_root.eye2_mod = "dead";
with (_root.bigboss.b_eye2) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye3) and (_root.eye3_mod == "live")) {
removeMovieClip(this);
_root.b_eye3_life = _root.b_eye3_life - 300;
if (_root.b_eye3_life <= 0) {
_root.b_eye3_life = 0;
_root.eye3_mod = "dead";
with (_root.bigboss.b_eye3) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye4) and (_root.eye4_mod == "live")) {
removeMovieClip(this);
_root.b_eye4_life = _root.b_eye4_life - 300;
if (_root.b_eye4_life <= 0) {
_root.b_eye4_life = 0;
_root.eye4_mod = "dead";
with (_root.bigboss.b_eye4) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
if (this.hitTest(_root.bigboss.b_eye5) and (_root.eye5_mod == "live")) {
removeMovieClip(this);
_root.b_eye5_life = _root.b_eye5_life - 300;
if (_root.b_eye5_life <= 0) {
_root.b_eye5_life = 0;
_root.eye5_mod = "dead";
with (_root.bigboss.b_eye5) {
gotoAndStop(2);
}
}
with (_root.bigboss) {
gotoAndPlay(2);
}
}
test = (((_root.b_eye1_life + _root.b_eye2_life) + _root.b_eye3_life) + _root.b_eye4_life) + _root.b_eye5_life;
if ((test <= 0) and (_root.level == 3)) {
stopAllSounds();
_root.gotoAndPlay("win2");
}
}
}
Instance of Symbol 304 MovieClip "lake" in Frame 236
onClipEvent (load) {
function reset() {
this._x = random(400);
this._y = random(-400) - 400;
this._rotation = random(460) + 1;
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y > 600) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 309 MovieClip "forest3" in Frame 236
onClipEvent (load) {
function reset() {
this._x = random(400);
this._y = -100;
this._rotation = random(360);
}
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 313 MovieClip "forest1" in Frame 236
onClipEvent (load) {
function reset() {
this._x = random(400);
this._y = -100;
this._rotation = random(360);
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 314 MovieClip "forest2" in Frame 236
onClipEvent (load) {
function reset() {
this._x = random(400);
this._y = -100;
this._rotation = random(360);
}
reset();
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y > 450) {
removeMovieClip(this);
}
}
Instance of Symbol 306 MovieClip "mountain" in Frame 236
onClipEvent (load) {
function reset() {
this._x = random(400) + 1;
this._y = random(-300) + 0;
this._rotation = random(360);
}
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this.hitTest(_root.base1)) {
removeMovieClip(this);
reset();
}
if (this.hitTest(_root.base2)) {
removeMovieClip(this);
reset();
}
if (this.hitTest(_root.base3)) {
removeMovieClip(this);
reset();
}
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 324 MovieClip "base1" in Frame 236
onClipEvent (load) {
function reset() {
with (_root.base1) {
gotoAndStop(1);
}
this._x = random(380) + 25;
this._y = random(-400) + 0;
_root.base1_mod = "live";
removeMovieClip(_root.base1.md);
removeMovieClip(_root.base1.me);
removeMovieClip(_root.base1.mf);
removeMovieClip(_root.base1.mg);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.base1_mod == "live")) {
_root.base1_mod = "dead";
_root.life = _root.life + 1;
if (_root.life >= 5) {
_root.life = 5;
}
with (_root.zanax) {
gotoAndPlay("die");
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
tellTarget (_root.base1) {
gotoAndStop (2);
};
}
if (this.hitTest(_root.base2)) {
reset();
}
if (this.hitTest(_root.base3)) {
reset();
}
if (this.hitTest(_root.forest3)) {
reset();
}
if (this.hitTest(_root.mountain)) {
reset();
}
this._y = this._y + 5;
if (this._y > 470) {
reset();
}
}
Instance of Symbol 329 MovieClip "shark" in Frame 236
onClipEvent (load) {
function reset() {
Speed = random(50) + 1;
this._x = random(350);
this._y = -100;
_root.shark_mod = "live";
}
reset();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.shark_mod == "live")) {
_root.life = _root.life + 1;
with (_root.zanax) {
gotoAndPlay("die");
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
reset();
}
this._y = this._y + Speed;
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 339 MovieClip "rocket" in Frame 236
onClipEvent (load) {
function reset() {
startx1 = random(400);
this._y = -100;
Speed = random(100) + 1;
radius = random(50) + 1;
perspective = 300;
anglespeed = 0.0436332312998582;
this.gotoAndStop(1);
_root.rocket_mod = "live";
}
reset();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.rocket_mod == "live")) {
_root.life = _root.life + 1;
with (_root.zanax) {
gotoAndPlay("die");
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
reset();
}
this.angle = this.angle + anglespeed;
a = Math.sin(this.angle) * radius;
b = Math.cos(this.angle) * radius;
scalar = perspective / (b + perspective);
this._x = (a * scalar) + startx1;
this._y = this._y + (Speed - b);
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 175 MovieClip "ufo" in Frame 236
onClipEvent (load) {
function reset() {
startx1 = random(300);
this._y = -100;
Speed = random(50) + 1;
radius = random(36) + 100;
perspective = 300;
anglespeed = 0.0436332312998582;
this.gotoAndStop(1);
_root.ufo_mod = "live";
}
reset();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.ufo_mod == "live")) {
_root.life = _root.life + 1;
with (_root.zanax) {
gotoAndPlay("die");
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
reset();
}
this.angle = this.angle + anglespeed;
a = Math.sin(this.angle) * radius;
b = Math.cos(this.angle) * radius;
scalar = perspective / (b + perspective);
this._x = (a * scalar) + startx1;
this._y = this._y + Speed;
this._rotation = this._rotation + (scalar * 10);
if (this._y > 450) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 408 MovieClip "zanax" in Frame 236
onClipEvent (load) {
function fire1() {
i = i + 1;
duplicateMovieClip (_root.weapon1, "mc" + i, i);
setProperty(_root["mc" + i], _x , getProperty(_root.zanax, _x));
setProperty(_root["mc" + i], _y , getProperty(_root.zanax, _y));
with (_root["mc" + i]) {
gotoAndPlay(2);
}
if (i >= 100) {
i = 0;
}
}
function fire2() {
n = n + 1;
duplicateMovieClip (_root.laser, "mclaser" + n, n);
setProperty(_root["mclaser" + n], _x , getProperty(_root.zanax, _x));
setProperty(_root["mclaser" + n], _y , getProperty(_root.zanax, _y));
with (_root["mclaser" + n]) {
gotoAndPlay(2);
}
if (n >= 100) {
n = 0;
}
}
function fire3() {
m = m + 1;
duplicateMovieClip (_root.fire, "mcwave" + m, m);
setProperty(_root["mcwave" + m], _x , getProperty(_root.zanax, _x));
setProperty(_root["mcwave" + m], _y , getProperty(_root.zanax, _y));
with (_root["mcwave" + m]) {
gotoAndPlay(2);
}
if (m >= 100) {
m = 0;
}
}
function fire4() {
l = l + 1;
duplicateMovieClip (_root.gama, "mcgama" + l, l);
setProperty(_root["mcgama" + l], _x , getProperty(_root.zanax, _x));
setProperty(_root["mcgama" + l], _y , getProperty(_root.zanax, _y));
with (_root["mcgama" + l]) {
gotoAndPlay(2);
}
if (l >= 100) {
l = 0;
}
}
function fire5() {
e = e + 1;
duplicateMovieClip (_root.circle, "mccircle" + e, e);
setProperty(_root["mccircle" + e], _x , getProperty(_root.zanax, _x));
setProperty(_root["mccircle" + e], _y , getProperty(_root.zanax, _y));
with (_root["mccircle" + e]) {
gotoAndPlay(2);
}
if (e >= 100) {
e = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.life >= 4) {
stopAllSounds();
_root.gotoAndPlay("over2");
}
if (_root.score >= 800) {
stopAllSounds();
_root.gotoAndPlay("level6");
}
if (Key.isDown(32) and (_root.weapon == 1)) {
_root.zanax.gotoAndStop("so");
fire1();
}
if (Key.isDown(32) and (_root.weapon == 2)) {
_root.zanax.gotoAndStop("so");
fire2();
}
if (Key.isDown(32) and (_root.weapon == 3)) {
_root.zanax.gotoAndStop("so");
fire3();
}
if (Key.isDown(32) and (_root.weapon == 4)) {
_root.zanax.gotoAndStop("so");
fire4();
}
if (Key.isDown(32) and (_root.weapon == 5)) {
_root.zanax.gotoAndStop("so");
fire5();
}
if (Key.isDown(39)) {
_root.zanax.gotoAndStop("walk");
this._x = this._x + 15;
if (this._x > 405) {
this._x = 405;
}
} else if (Key.isDown(37)) {
_root.zanax.gotoAndStop("walk");
this._x = this._x - 15;
if (this._x < 18) {
this._x = 18;
}
}
if (Key.isDown(40)) {
_root.zanax.gotoAndStop("walk");
this._y = this._y + 15;
if (this._y > 355) {
this._y = 355;
}
} else if (Key.isDown(38)) {
_root.zanax.gotoAndStop("walk");
this._y = this._y - 15;
if (this._y < 0) {
this._y = 0;
}
}
}
Frame 237
stop();
score = 0;
touch_life = false;
touch_liser = false;
touch_circle = false;
touch_fire = false;
touch_gama = false;
weapon = 1;
life = 1;
level = 2;
base1_mod = "live";
base2_mod = "live";
base3_mod = "live";
enemy1_mod = "live";
ufo_mod = "live";
shark_mod = "live";
rocket_mod = "live";
rock_mod = "live";
Instance of Symbol 408 MovieClip "zanax" in Frame 243
onClipEvent (load) {
function fire1() {
i = i + 1;
duplicateMovieClip (_root.weapon1, "mc" + i, i);
setProperty(_root["mc" + i], _x , getProperty(_root.zanax, _x));
setProperty(_root["mc" + i], _y , getProperty(_root.zanax, _y));
with (_root["mc" + i]) {
gotoAndPlay(2);
}
if (i >= 100) {
i = 0;
}
}
function fire2() {
n = n + 1;
duplicateMovieClip (_root.laser, "mclaser" + n, n);
setProperty(_root["mclaser" + n], _x , getProperty(_root.zanax, _x));
setProperty(_root["mclaser" + n], _y , getProperty(_root.zanax, _y));
with (_root["mclaser" + n]) {
gotoAndPlay(2);
}
if (n >= 100) {
n = 0;
}
}
function fire3() {
m = m + 1;
duplicateMovieClip (_root.fire, "mcwave" + m, m);
setProperty(_root["mcwave" + m], _x , getProperty(_root.zanax, _x));
setProperty(_root["mcwave" + m], _y , getProperty(_root.zanax, _y));
with (_root["mcwave" + m]) {
gotoAndPlay(2);
}
if (m >= 100) {
m = 0;
}
}
function fire4() {
l = l + 1;
duplicateMovieClip (_root.gama, "mcgama" + l, l);
setProperty(_root["mcgama" + l], _x , getProperty(_root.zanax, _x));
setProperty(_root["mcgama" + l], _y , getProperty(_root.zanax, _y));
with (_root["mcgama" + l]) {
gotoAndPlay(2);
}
if (l >= 100) {
l = 0;
}
}
function fire5() {
e = e + 1;
duplicateMovieClip (_root.circle, "mccircle" + e, e);
setProperty(_root["mccircle" + e], _x , getProperty(_root.zanax, _x));
setProperty(_root["mccircle" + e], _y , getProperty(_root.zanax, _y));
with (_root["mccircle" + e]) {
gotoAndPlay(2);
}
if (e >= 100) {
e = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.life >= 4) {
stopAllSounds();
_root.gotoAndPlay("over2");
}
if (Key.isDown(32) and (_root.weapon == 1)) {
_root.zanax.gotoAndStop("so");
fire1();
}
if (Key.isDown(32) and (_root.weapon == 2)) {
_root.zanax.gotoAndStop("so");
fire2();
}
if (Key.isDown(32) and (_root.weapon == 3)) {
_root.zanax.gotoAndStop("so");
fire3();
}
if (Key.isDown(32) and (_root.weapon == 4)) {
_root.zanax.gotoAndStop("so");
fire4();
}
if (Key.isDown(32) and (_root.weapon == 5)) {
_root.zanax.gotoAndStop("so");
fire5();
}
if (Key.isDown(39)) {
_root.zanax.gotoAndStop("walk");
this._x = this._x + 15;
if (this._x > 405) {
this._x = 405;
}
} else if (Key.isDown(37)) {
_root.zanax.gotoAndStop("walk");
this._x = this._x - 15;
if (this._x < 18) {
this._x = 18;
}
}
if (Key.isDown(40)) {
_root.zanax.gotoAndStop("walk");
this._y = this._y + 15;
if (this._y > 355) {
this._y = 355;
}
} else if (Key.isDown(38)) {
_root.zanax.gotoAndStop("walk");
this._y = this._y - 15;
if (this._y < 0) {
this._y = 0;
}
}
}
Frame 274
stop();
level = 3;
score = 0;
touch_life = false;
touch_liser = false;
touch_circle = false;
touch_fire = false;
touch_gama = false;
base2_mod = "live";
base3_mod = "live";
enemy1_mod = "live";
ufo_mod = "live";
shark_mod = "live";
rocket_mod = "live";
rock_mod = "live";
b_eye1_life = 1200;
b_eye2_life = 1200;
b_eye5_life = 2400;
b_eye3_life = 1200;
b_eye4_life = 1200;
eye1_mod = "live";
eye2_mod = "live";
eye3_mod = "live";
eye4_mod = "live";
eye5_mod = "live";
Instance of Symbol 269 MovieClip "base2" in Frame 274
onClipEvent (load) {
function reset() {
with (_root.base2) {
gotoAndStop(1);
}
this._x = random(380) + 10;
this._y = random(-378.9) + 22;
_root.base2_mod = "live";
removeMovieClip(_root.base2.mf);
removeMovieClip(_root.base2.mh);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.base2_mod == "live")) {
_root.base2_mod = "dead";
_root.life = _root.life + 1;
if (_root.life >= 5) {
_root.life = 5;
}
with (_root.zanax) {
gotoAndPlay(2);
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
tellTarget (_root.base2) {
gotoAndStop (2);
};
}
if (this.hitTest(_root.base3)) {
reset();
}
if (this.hitTest(_root.forest3)) {
reset();
}
if (this.hitTest(_root.mountain)) {
reset();
}
if (this.hitTest(_root.zanax) and (_root.base2 == "live")) {
_root.life = _root.life + 1;
}
this._y = this._y + 5;
if (this._y > 420) {
reset();
}
}
Instance of Symbol 372 MovieClip "eye2" in Frame 274
onClipEvent (enterFrame) {
function reset() {
this._x = 182;
this._y = 35;
}
}
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (this._x < _root.zanax._x) {
this._x = this._x + 10;
}
if (this._x > _root.zanax._x) {
this._x = this._x - 10;
}
if (this.hitTest(_root.zanax)) {
_root.life = _root.life + 1;
reset();
_root.life = _root.life + 1;
if (_root.life >= 5) {
_root.life = 5;
}
with (_root.zanax) {
gotoAndPlay(2);
}
with (_root.mc_life) {
gotoAndStop(_root.life);
}
}
if (this._y > 400) {
reset();
}
if (_root.b_eye2_life <= 0) {
this._x = -10;
this._y = -10;
}
}
Instance of Symbol 372 MovieClip "eye1" in Frame 274
onClipEvent (enterFrame) {
function reset() {
this._x = 93;
this._y = 36;
}
}
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (this._x < _root.zanax._x) {
this._x = this._x + 10;
}
if (this._x > _root.zanax._x) {
this._x = this._x - 10;
}
if (this.hitTest(_root.zanax)) {
_root.life = _root.life + 1;
reset();
_root.life = _root.life + 1;
if (_root.life >= 5) {
_root.life = 5;
}
with (_root.zanax) {
gotoAndPlay(2);
}
with (_root.mc_life) {
gotoAndStop(_root.life);
}
}
if (this._y > 400) {
reset();
}
if (_root.b_eye1_life <= 0) {
this._x = -10;
this._y = -10;
}
}
Instance of Symbol 372 MovieClip "eye3" in Frame 274
onClipEvent (enterFrame) {
function reset() {
this._x = 93;
this._y = 130;
}
}
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (this._x < _root.zanax._x) {
this._x = this._x + 10;
}
if (this._x > _root.zanax._x) {
this._x = this._x - 10;
}
if (this.hitTest(_root.zanax)) {
_root.life = _root.life + 1;
reset();
_root.life = _root.life + 1;
if (_root.life >= 5) {
_root.life = 5;
}
with (_root.zanax) {
gotoAndPlay(2);
}
with (_root.mc_life) {
gotoAndStop(_root.life);
}
}
if (this._y > 400) {
reset();
}
if (_root.b_eye3_life <= 0) {
this._x = -10;
this._y = -10;
}
}
Instance of Symbol 372 MovieClip "eye4" in Frame 274
onClipEvent (enterFrame) {
function reset() {
this._x = 182;
this._y = 35;
}
}
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (this._x < _root.zanax._x) {
this._x = this._x + 10;
}
if (this._x > _root.zanax._x) {
this._x = this._x - 10;
}
if (this.hitTest(_root.zanax)) {
_root.life = _root.life + 1;
reset();
_root.life = _root.life + 1;
if (_root.life >= 5) {
_root.life = 5;
}
with (_root.zanax) {
gotoAndPlay(2);
}
with (_root.mc_life) {
gotoAndStop(_root.life);
}
}
if (this._y > 400) {
reset();
}
if (_root.b_eye4_life <= 0) {
this._x = -10;
this._y = -10;
}
}
Instance of Symbol 372 MovieClip "eye5" in Frame 274
onClipEvent (enterFrame) {
function reset() {
this._x = 182;
this._y = 35;
}
}
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (this._x < _root.zanax._x) {
this._x = this._x + 10;
}
if (this._x > _root.zanax._x) {
this._x = this._x - 10;
}
if (this.hitTest(_root.zanax)) {
_root.life = _root.life + 1;
reset();
_root.life = _root.life + 1;
if (_root.life >= 5) {
_root.life = 5;
}
with (_root.zanax) {
gotoAndPlay(2);
}
with (_root.mc_life) {
gotoAndStop(_root.life);
}
}
if (this._y > 400) {
reset();
}
if (_root.b_eye5_life <= 0) {
this._x = -10;
this._y = -10;
}
}
Instance of Symbol 329 MovieClip "shark" in Frame 274
onClipEvent (load) {
function reset() {
Speed = random(50) + 1;
this._x = random(280);
this._y = -100;
_root.shark_mod = "live";
}
reset();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.shark_mod == "live")) {
_root.life = _root.life + 1;
with (_root.zanax) {
gotoAndPlay(2);
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
reset();
}
this._y = this._y + Speed;
if (this._y > 350) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 339 MovieClip "rocket" in Frame 274
onClipEvent (load) {
function reset() {
startx1 = random(280);
this._y = -100;
Speed = random(100) + 1;
radius = random(50) + 1;
perspective = 300;
anglespeed = 0.0436332312998582;
this.gotoAndStop(1);
_root.rocket_mod = "live";
}
reset();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.rocket_mod == "live")) {
_root.life = _root.life + 1;
with (_root.zanax) {
gotoAndPlay(2);
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
reset();
}
this.angle = this.angle + anglespeed;
a = Math.sin(this.angle) * radius;
b = Math.cos(this.angle) * radius;
scalar = perspective / (b + perspective);
this._x = (a * scalar) + startx1;
this._y = this._y + (Speed - b);
if (this._y > 350) {
removeMovieClip(this);
reset();
}
}
Instance of Symbol 175 MovieClip "ufo" in Frame 274
onClipEvent (load) {
function reset() {
startx1 = random(280);
this._y = -100;
Speed = random(50) + 1;
radius = random(36) + 100;
perspective = 300;
anglespeed = 0.0436332312998582;
this.gotoAndStop(1);
_root.ufo_mod = "live";
}
reset();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.zanax) and (_root.ufo_mod == "live")) {
_root.life = _root.life + 1;
with (_root.zanax) {
gotoAndPlay(2);
}
tellTarget (_root.mc_life) {
gotoAndStop(_root.life);
};
reset();
}
this.angle = this.angle + anglespeed;
a = Math.sin(this.angle) * radius;
b = Math.cos(this.angle) * radius;
scalar = perspective / (b + perspective);
this._x = (a * scalar) + startx1;
this._y = this._y + Speed;
this._rotation = this._rotation + (scalar * 10);
if (this._y > 350) {
removeMovieClip(this);
reset();
}
}
Frame 275
stopAllSounds();
Frame 276
stop();
Frame 313
loadVariables ("http://www.ibravo.com/Web/Game/Popup/UpdatePoint.aspx?corn=10", this, "POST");
stop();
stopAllSounds();
score = 0;
Frame 347
stop();
Symbol 114 Button
on (press) {
stopAllSounds();
gotoAndStop (73);
}
Symbol 136 Button
on (release) {
stopAllSounds();
gotoAndPlay (100);
}
Symbol 146 Button
on (release) {
stopAllSounds();
gotoAndPlay (224);
}
Symbol 169 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 9
stop();
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 4
stop();
Symbol 187 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 7
gotoAndPlay (1);
Symbol 187 MovieClip Frame 11
gotoAndPlay (1);
Symbol 194 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 4
stop();
Symbol 200 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 2
stop();
Symbol 200 MovieClip Frame 3
stop();
Symbol 200 MovieClip Frame 4
stop();
Symbol 200 MovieClip Frame 5
stop();
Symbol 200 MovieClip Frame 6
stop();
Symbol 209 Button
on (release) {
getURL ("http://www.ibravo.com");
}
Symbol 241 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 2
stop();
Symbol 241 MovieClip Frame 3
stop();
Instance of Symbol 240 MovieClip "collect_laser" in Symbol 241 MovieClip Frame 3
onClipEvent (enterFrame) {
_root.base3.collect_laser._visible = false;
duplicateMovieClip (_root.base3.collect_laser, "md", 1);
if (_root.base3.md.hitTest(_root.zanax)) {
_root.touch_liser = true;
}
if (_root.touch_liser == true) {
removeMovieClip(_root.base3.md);
_root.weapon = 2;
with (_root.weapons) {
gotoAndStop(2);
}
}
}
Symbol 241 MovieClip Frame 4
stop();
Symbol 241 MovieClip Frame 5
stop();
Symbol 241 MovieClip Frame 6
stop();
Instance of Symbol 240 MovieClip "collect_fire" in Symbol 241 MovieClip Frame 6
onClipEvent (enterFrame) {
_root.base3.collect_fire._visible = false;
duplicateMovieClip (_root.base3.collect_fire, "mf", 1);
if (_root.base3.mf.hitTest(_root.zanax)) {
_root.touch_fire = true;
}
if (_root.touch_fire == true) {
removeMovieClip(_root.base3.mf);
_root.weapon = 3;
with (_root.weapons) {
gotoAndStop(4);
}
}
}
Symbol 241 MovieClip Frame 7
stop();
Symbol 241 MovieClip Frame 8
stop();
Symbol 241 MovieClip Frame 9
stop();
Instance of Symbol 240 MovieClip "collect_circle" in Symbol 241 MovieClip Frame 9
onClipEvent (enterFrame) {
_root.base3.collect_circle._visible = false;
duplicateMovieClip (_root.base3.collect_circle, "me", 1);
if (_root.base3.me.hitTest(_root.zanax)) {
_root.touch_circle = true;
}
if (_root.touch_circle == true) {
removeMovieClip(_root.base3.me);
_root.weapon = 5;
with (_root.weapons) {
gotoAndStop(6);
}
}
}
Symbol 241 MovieClip Frame 10
stop();
Symbol 241 MovieClip Frame 11
stop();
Symbol 241 MovieClip Frame 12
stop();
Instance of Symbol 240 MovieClip "collect_fire" in Symbol 241 MovieClip Frame 12
onClipEvent (enterFrame) {
_root.base3.collect_fire._visible = false;
duplicateMovieClip (_root.base3.collect_fire, "mf", 1);
if (_root.base3.mf.hitTest(_root.zanax)) {
_root.touch_fire = true;
}
if (_root.touch_fire == true) {
removeMovieClip(_root.base3.mf);
_root.weapon = 3;
with (_root.weapons) {
gotoAndStop(4);
}
}
}
Symbol 241 MovieClip Frame 13
stop();
Symbol 241 MovieClip Frame 14
stop();
Symbol 241 MovieClip Frame 15
stop();
Instance of Symbol 240 MovieClip "collect_gama" in Symbol 241 MovieClip Frame 15
onClipEvent (enterFrame) {
_root.base3.collect_gama._visible = false;
duplicateMovieClip (_root.base3.collect_gama, "mg", 1);
if (_root.base3.mg.hitTest(_root.zanax)) {
_root.touch_gama = true;
}
if (_root.touch_gama == true) {
removeMovieClip(_root.base3.mg);
_root.weapon = 4;
with (_root.weapons) {
gotoAndStop(5);
}
}
}
Symbol 241 MovieClip Frame 16
stop();
Symbol 241 MovieClip Frame 17
stop();
Instance of Symbol 240 MovieClip "collect_laser" in Symbol 241 MovieClip Frame 17
onClipEvent (enterFrame) {
_root.base3.collect_laser._visible = false;
duplicateMovieClip (_root.base3.collect_laser, "md", 1);
if (_root.base3.md.hitTest(_root.zanax)) {
_root.touch_liser = true;
}
if (_root.touch_liser == true) {
removeMovieClip(_root.base3.md);
_root.weapon = 2;
with (_root.weapons) {
gotoAndStop(2);
}
}
}
Symbol 253 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 2
stop();
Symbol 253 MovieClip Frame 3
stop();
Instance of Symbol 252 MovieClip "collect_laser" in Symbol 253 MovieClip Frame 3
onClipEvent (enterFrame) {
_root.base1.collect_laser._visible = false;
duplicateMovieClip (_root.base1.collect_laser, "md", 1);
if (_root.base1.md.hitTest(_root.zanax)) {
_root.touch_liser = true;
}
if (_root.touch_liser == true) {
removeMovieClip(_root.base1.md);
_root.weapon = 2;
with (_root.weapons) {
gotoAndStop(2);
}
}
}
Symbol 253 MovieClip Frame 4
stop();
Symbol 253 MovieClip Frame 5
stop();
Symbol 253 MovieClip Frame 6
stop();
Symbol 253 MovieClip Frame 7
stop();
Symbol 253 MovieClip Frame 8
stop();
Instance of Symbol 252 MovieClip "collect_circle" in Symbol 253 MovieClip Frame 8
onClipEvent (enterFrame) {
_root.base1.collect_circle._visible = false;
duplicateMovieClip (_root.base1.collect_circle, "me", 1);
if (_root.base1.me.hitTest(_root.zanax)) {
_root.touch_circle = true;
}
if (_root.touch_circle == true) {
removeMovieClip(_root.base1.me);
_root.weapon = 5;
with (_root.weapons) {
gotoAndStop(6);
}
}
}
Symbol 253 MovieClip Frame 9
stop();
Symbol 253 MovieClip Frame 10
stop();
Symbol 253 MovieClip Frame 11
stop();
Symbol 253 MovieClip Frame 12
stop();
Symbol 253 MovieClip Frame 13
stop();
Instance of Symbol 252 MovieClip "collect_fire" in Symbol 253 MovieClip Frame 13
onClipEvent (enterFrame) {
_root.base1.collect_fire._visible = false;
duplicateMovieClip (_root.base1.collect_fire, "mf", 1);
if (_root.base1.mf.hitTest(_root.zanax)) {
_root.touch_fire = true;
}
if (_root.touch_fire == true) {
removeMovieClip(_root.base1.mf);
_root.weapon = 3;
with (_root.weapons) {
gotoAndStop(4);
}
}
}
Symbol 253 MovieClip Frame 14
stop();
Symbol 253 MovieClip Frame 15
stop();
Symbol 253 MovieClip Frame 16
stop();
Symbol 253 MovieClip Frame 17
stop();
Instance of Symbol 252 MovieClip "collect_gama" in Symbol 253 MovieClip Frame 17
onClipEvent (enterFrame) {
_root.base1.collect_gama._visible = false;
duplicateMovieClip (_root.base1.collect_gama, "mg", 1);
if (_root.base1.mg.hitTest(_root.zanax)) {
_root.touch_gama = true;
}
if (_root.touch_gama == true) {
removeMovieClip(_root.base1.mg);
_root.weapon = 4;
with (_root.weapons) {
gotoAndStop(5);
}
}
}
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 2
stop();
Symbol 269 MovieClip Frame 3
stop();
Instance of Symbol 268 MovieClip "collect_life" in Symbol 269 MovieClip Frame 3
onClipEvent (enterFrame) {
_root.base2.collect_life._visible = false;
duplicateMovieClip (_root.base2.collect_life, "mh", 1);
if (_root.base2.mh.hitTest(_root.zanax)) {
_root.touch_life = true;
}
if (_root.touch_life == true) {
removeMovieClip(_root.base2.mh);
_root.life = _root.life - 1;
if (_root.life <= 1) {
_root.life = 1;
}
with (_root.mc_life) {
gotoAndStop(_root.life);
}
}
}
Symbol 269 MovieClip Frame 4
stop();
Symbol 269 MovieClip Frame 5
stop();
Symbol 269 MovieClip Frame 6
stop();
Symbol 269 MovieClip Frame 7
stop();
Instance of Symbol 268 MovieClip "collect_life" in Symbol 269 MovieClip Frame 7
onClipEvent (enterFrame) {
_root.base2.collect_life._visible = false;
duplicateMovieClip (_root.base2.collect_life, "mh", 1);
if (_root.base2.mh.hitTest(_root.zanax)) {
_root.touch_life = true;
}
if (_root.touch_life == true) {
removeMovieClip(_root.base2.mh);
_root.life = _root.life - 1;
if (_root.life <= 1) {
_root.life = 1;
}
with (_root.mc_life) {
gotoAndStop(_root.life);
}
}
}
Symbol 269 MovieClip Frame 8
stop();
Symbol 269 MovieClip Frame 9
stop();
Symbol 269 MovieClip Frame 10
stop();
Instance of Symbol 268 MovieClip "collect_life" in Symbol 269 MovieClip Frame 10
onClipEvent (enterFrame) {
_root.base2.collect_life._visible = false;
duplicateMovieClip (_root.base2.collect_life, "mh", 1);
if (_root.base2.mh.hitTest(_root.zanax)) {
_root.touch_life = true;
}
if (_root.touch_life == true) {
removeMovieClip(_root.base2.mh);
_root.life = _root.life - 1;
if (_root.life <= 1) {
_root.life = 1;
}
with (_root.mc_life) {
gotoAndStop(_root.life);
}
}
}
Symbol 269 MovieClip Frame 11
stop();
Symbol 269 MovieClip Frame 12
stop();
Symbol 269 MovieClip Frame 13
stop();
Symbol 269 MovieClip Frame 14
stop();
Symbol 269 MovieClip Frame 15
stop();
Instance of Symbol 268 MovieClip "collect_life" in Symbol 269 MovieClip Frame 15
onClipEvent (enterFrame) {
_root.base2.collect_life._visible = false;
duplicateMovieClip (_root.base2.collect_life, "mh", 1);
if (_root.base2.mh.hitTest(_root.zanax)) {
_root.touch_life = true;
}
if (_root.touch_life == true) {
removeMovieClip(_root.base2.mh);
_root.life = _root.life - 1;
if (_root.life <= 1) {
_root.life = 1;
}
with (_root.mc_life) {
gotoAndStop(_root.life);
}
}
}
Symbol 269 MovieClip Frame 16
stop();
Symbol 269 MovieClip Frame 17
stop();
Symbol 269 MovieClip Frame 18
stop();
Instance of Symbol 268 MovieClip "collect_life" in Symbol 269 MovieClip Frame 18
onClipEvent (enterFrame) {
_root.base2.collect_life._visible = false;
duplicateMovieClip (_root.base2.collect_life, "mh", 1);
if (_root.base2.mh.hitTest(_root.zanax)) {
_root.touch_life = true;
}
if (_root.touch_life == true) {
removeMovieClip(_root.base2.mh);
_root.life = _root.life - 1;
if (_root.life <= 1) {
_root.life = 1;
}
with (_root.mc_life) {
gotoAndStop(_root.life);
}
}
}
Symbol 280 MovieClip Frame 20
stop();
Symbol 287 MovieClip Frame 1
stop();
Symbol 292 MovieClip Frame 1
stop();
Symbol 297 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 1
stop();
Instance of Symbol 252 MovieClip "collect_laser" in Symbol 324 MovieClip Frame 3
onClipEvent (enterFrame) {
_root.base1.collect_laser._visible = false;
duplicateMovieClip (_root.base1.collect_laser, "md", 1);
if (_root.base1.md.hitTest(_root.zanax)) {
_root.touch_liser = true;
}
if (_root.touch_liser == true) {
removeMovieClip(_root.base1.md);
_root.weapon = 2;
with (_root.weapons) {
gotoAndStop(2);
}
}
}
Instance of Symbol 252 MovieClip "collect_circle" in Symbol 324 MovieClip Frame 8
onClipEvent (enterFrame) {
_root.base1.collect_circle._visible = false;
duplicateMovieClip (_root.base1.collect_circle, "me", 1);
if (_root.base1.me.hitTest(_root.zanax)) {
_root.touch_circle = true;
}
if (_root.touch_circle == true) {
removeMovieClip(_root.base1.me);
_root.weapon = 5;
with (_root.weapons) {
gotoAndStop(6);
}
}
}
Instance of Symbol 252 MovieClip "collect_fire" in Symbol 324 MovieClip Frame 13
onClipEvent (enterFrame) {
_root.base1.collect_fire._visible = false;
duplicateMovieClip (_root.base1.collect_fire, "mf", 1);
if (_root.base1.mf.hitTest(_root.zanax)) {
_root.touch_fire = true;
}
if (_root.touch_fire == true) {
removeMovieClip(_root.base1.mf);
_root.weapon = 3;
with (_root.weapons) {
gotoAndStop(4);
}
}
}
Instance of Symbol 252 MovieClip "collect_gama" in Symbol 324 MovieClip Frame 17
onClipEvent (enterFrame) {
_root.base1.collect_gama._visible = false;
duplicateMovieClip (_root.base1.collect_gama, "mg", 1);
if (_root.base1.mg.hitTest(_root.zanax)) {
_root.touch_gama = true;
}
if (_root.touch_gama == true) {
removeMovieClip(_root.base1.mg);
_root.weapon = 4;
with (_root.weapons) {
gotoAndStop(5);
}
}
}
Symbol 329 MovieClip Frame 1
stop();
Symbol 329 MovieClip Frame 4
stop();
Symbol 339 MovieClip Frame 1
stop();
Symbol 339 MovieClip Frame 5
stop();
Symbol 366 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 3
gotoAndStop (1);
Symbol 382 Button
on (release) {
stopAllSounds();
_root.score = 0;
gotoAndPlay (73);
}
Symbol 408 MovieClip Frame 1
stop();
Symbol 408 MovieClip Frame 6
gotoAndPlay (1);
Symbol 408 MovieClip Frame 10
gotoAndPlay (1);
Symbol 413 MovieClip Frame 1
stop();
Symbol 413 MovieClip Frame 4
stop();