Frame 1
function startAd(ngad_url) {
trace("opening " + ngad_url);
System.security.allowDomain("70.87.128.99");
System.security.allowInsecureDomain("70.87.128.99");
System.security.allowDomain("ads.shizmoo.com");
System.security.allowInsecureDomain("ads.shizmoo.com");
System.security.allowDomain("www.cpmstar.com");
System.security.allowInsecureDomain("www.cpmstar.com");
System.security.allowDomain("server.cpmstar.com");
System.security.allowInsecureDomain("server.cpmstar.com");
var ngads_redirect = new XML();
ngads_redirect.ignoreWhite = true;
ngads_redirect.onLoad = function (success) {
trace("[NEWGROUNDS FLASH ADS] :: You may get a 'Security Sandbox Violation' ... this is normal, do not freak out!");
if (success) {
ng_ad.loadMovie(ngads_redirect.toString(), "GET");
}
};
ngads_redirect.load(ngad_url);
}
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
Stage.showMenu = false;
NewgroundsAPI.connectMovie(881);
if (NewgroundsAPI.getAdURL()) {
startAd(NewgroundsAPI.getAdURL());
}
NewgroundsAPI.onAdsApproved = function (ad_url) {
startAd(ad_url);
};
_root.clean();
Stage.scaleMode = "exactfit";
stopAllSounds();
_root.sound = true;
Frame 2
stop();
Frame 3
Stage.showMenu = false;
Stage.scaleMode = "exactfit";
stopAllSounds();
Frame 183
Frame 184
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
stopAllSounds();
stop();
Instance of Symbol 661 MovieClip in Frame 184
on (release) {
mySharedObject = SharedObject.getLocal("6bit");
mySharedObject.data.p2f = false;
mySharedObject.data.p3f = false;
mySharedObject.data.p4f = false;
mySharedObject.data.p5f = false;
mySharedObject.data.st1pass = false;
mySharedObject.data.st2pass = false;
mySharedObject.data.st3pass = false;
_root.gotoAndStop("playersel");
}
Instance of Symbol 665 MovieClip in Frame 184
on (release) {
mySharedObject = SharedObject.getLocal("6bit");
if (mySharedObject.data.p2f) {
_root.p2f = true;
}
if (!mySharedObject.data.p2f) {
mySharedObject.data.p2f = false;
_root.p2f = false;
}
if (mySharedObject.data.p3f) {
_root.p3f = true;
}
if (!mySharedObject.data.p3f) {
mySharedObject.data.p3f = false;
_root.p3f = false;
}
if (mySharedObject.data.p4f) {
_root.p4f = true;
}
if (!mySharedObject.data.p4f) {
mySharedObject.data.p4f = false;
_root.p4f = false;
}
if (mySharedObject.data.p5f) {
_root.p5f = true;
}
if (!mySharedObject.data.p5f) {
mySharedObject.data.p5f = false;
_root.p5f = false;
}
if (mySharedObject.data.st1pass) {
_root.st1pass = true;
}
if (!mySharedObject.data.st1pass) {
mySharedObject.data.st1pass = false;
_root.st1pass = false;
}
if (mySharedObject.data.st2pass) {
_root.st2pass = true;
}
if (!mySharedObject.data.st2pass) {
mySharedObject.data.st2pass = false;
_root.st2pass = false;
}
if (mySharedObject.data.st3pass) {
_root.st3pass = true;
}
if (!mySharedObject.data.st3pass) {
mySharedObject.data.st3pass = false;
_root.st3pass = false;
}
_root.gotoAndStop("playersel");
}
Instance of Symbol 681 MovieClip in Frame 184
on (release) {
getURL ("http://costarrgames.com", 1);
}
Frame 185
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.mapremove = false;
_root.score = 0;
_root.lives = 3;
stopAllSounds();
stop();
Instance of Symbol 689 MovieClip in Frame 185
on (rollOver) {
gotoAndStop ("o");
_root.csel1.gotoAndStop("striker");
}
on (rollOut) {
gotoAndStop ("u");
}
on (release) {
_root.striker = true;
_root.geno = false;
_root.nife = false;
_root.katrin = false;
_root.phoenix = false;
_root.kazu = false;
_root.gotoAndStop("stagesel");
}
Instance of Symbol 691 MovieClip in Frame 185
on (rollOver) {
gotoAndStop ("o");
_root.csel1.gotoAndStop("nife");
}
on (rollOut) {
gotoAndStop ("u");
}
on (release) {
_root.striker = false;
_root.geno = false;
_root.nife = true;
_root.katrin = false;
_root.phoenix = false;
_root.kazu = false;
_root.gotoAndStop("stagesel");
}
Instance of Symbol 693 MovieClip in Frame 185
on (rollOver) {
gotoAndStop ("o");
_root.csel1.gotoAndStop("geno");
}
on (rollOut) {
gotoAndStop ("u");
}
on (release) {
_root.striker = false;
_root.geno = true;
_root.nife = false;
_root.katrin = false;
_root.phoenix = false;
_root.kazu = false;
_root.gotoAndStop("stagesel");
}
Instance of Symbol 695 MovieClip in Frame 185
on (rollOver) {
gotoAndStop ("o");
_root.csel1.gotoAndStop("katrin");
}
on (rollOut) {
gotoAndStop ("u");
}
on (release) {
_root.striker = false;
_root.geno = false;
_root.nife = false;
_root.katrin = true;
_root.phoenix = false;
_root.kazu = false;
_root.gotoAndStop("stagesel");
}
Instance of Symbol 697 MovieClip in Frame 185
on (rollOver) {
gotoAndStop ("o");
_root.csel1.gotoAndStop("kazu");
}
on (rollOut) {
gotoAndStop ("u");
}
on (release) {
_root.striker = false;
_root.geno = false;
_root.nife = false;
_root.katrin = false;
_root.phoenix = false;
_root.kazu = true;
_root.gotoAndStop("stagesel");
}
Instance of Symbol 699 MovieClip in Frame 185
on (rollOver) {
gotoAndStop ("o");
_root.csel1.gotoAndStop("phoenix");
}
on (rollOut) {
gotoAndStop ("u");
}
on (release) {
_root.striker = false;
_root.geno = false;
_root.nife = false;
_root.katrin = false;
_root.phoenix = true;
_root.kazu = false;
_root.gotoAndStop("stagesel");
}
Frame 186
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.itlayer = 600;
_root.p1 = true;
_root.p2 = false;
_root.p3 = false;
_root.p4 = false;
_root.p5 = false;
_root.sellev = "SELECT STAGE";
stop();
Instance of Symbol 711 MovieClip in Frame 186
on (rollOver) {
_root.sellev = "RANDOM STAGE";
gotoAndStop ("o");
}
on (rollOut) {
_root.sellev = "SELECT STAGE";
gotoAndStop ("u");
}
on (release) {
_root.life = 100;
_root.p2p = 100;
_root.p3p = 100;
_root.p4p = 100;
_root.p5p = 100;
_root.gamelevel = 1;
_root.gotoAndStop("rockst1a");
}
Instance of Symbol 714 MovieClip in Frame 186
on (rollOver) {
_root.sellev = "B.C. STAGE";
gotoAndStop ("o");
}
on (rollOut) {
_root.sellev = "SELECT STAGE";
gotoAndStop ("u");
}
on (release) {
_root.p2p = 100;
_root.p3p = 100;
_root.p4p = 100;
_root.p5p = 100;
_root.gamelevel = 3;
_root.life = 100;
_root.gotoAndStop("bc1a");
}
Instance of Symbol 717 MovieClip in Frame 186
on (rollOver) {
_root.sellev = "FUNKYTOWN";
gotoAndStop ("o");
}
on (rollOut) {
_root.sellev = "SELECT STAGE";
gotoAndStop ("u");
}
on (release) {
_root.p2p = 100;
_root.p3p = 100;
_root.p4p = 100;
_root.p5p = 100;
_root.gamelevel = 2;
_root.life = 100;
_root.gotoAndStop("ft1a");
}
Instance of Symbol 726 MovieClip in Frame 186
on (rollOver) {
if (_root.st1pass) {
if (_root.st2pass) {
if (_root.st3pass) {
_root.sellev = "FINAL STAGE";
}
}
}
}
on (rollOut) {
_root.sellev = "SELECT STAGE";
}
on (release) {
if (_root.st1pass) {
if (_root.st2pass) {
if (_root.st3pass) {
_root.gotoAndStop("shooter1a");
}
}
}
}
onClipEvent (load) {
if (_root.st1pass) {
if (_root.st2pass) {
if (_root.st3pass) {
gotoAndStop ("a2");
}
}
}
}
Frame 187
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
stopAllSounds();
if (_root.lives > 0) {
_root.lives = _root.lives - 1;
_root.life = 100;
_root.p1 = true;
_root.p2 = false;
_root.p3 = false;
_root.p4 = false;
_root.p5 = false;
_root.p2p = 100;
_root.p3p = 100;
_root.p4p = 100;
_root.p5p = 100;
if (_root.gamelevel == 1) {
if (_root.sub1) {
gotoAndStop ("rockst1a");
}
if (_root.sub2) {
gotoAndStop ("rockst3a");
}
if (_root.sub3) {
gotoAndStop ("boss2a");
}
}
if (_root.gamelevel == 2) {
if (_root.sub1) {
gotoAndStop ("ft1a");
}
if (_root.sub2) {
gotoAndStop ("ft3a");
}
if (_root.sub3) {
gotoAndStop ("boss1a");
}
}
if (_root.gamelevel == 3) {
if (_root.sub1) {
gotoAndStop ("bc1a");
}
if (_root.sub2) {
gotoAndStop ("bc3a");
}
if (_root.sub3) {
gotoAndStop ("bc4a");
}
}
}
if (_root.lives <= 0) {
gotoAndStop ("gameover");
}
Frame 188
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
stopAllSounds();
stop();
Instance of Symbol 735 MovieClip in Frame 188
on (release) {
_root.gotoAndStop("stagesel");
}
Frame 189
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.HPScoreService.postScore(_root.score, "");
stopAllSounds();
stop();
Instance of Symbol 735 MovieClip in Frame 189
on (release) {
_root.gotoAndStop("playersel");
}
Instance of Symbol 741 MovieClip in Frame 189
on (release) {
_root.gotoAndPlay("name");
}
Frame 190
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.sub1 = true;
_root.sub2 = false;
_root.sub3 = false;
if (_root.striker) {
_root.attachMovie("striker1a", "player1", 99);
}
if (_root.geno) {
_root.attachMovie("geno1a", "player1", 99);
}
if (_root.nife) {
_root.attachMovie("nife1a", "player1", 99);
}
if (_root.katrin) {
_root.attachMovie("katrin1a", "player1", 99);
}
if (_root.phoenix) {
_root.attachMovie("phoenix1a", "player1", 99);
}
if (_root.kazu) {
_root.attachMovie("kazu1a", "player1", 99);
}
_quality = "low";
_root.scrollhor = true;
_root.pbtimer = 0;
_root.bullets = 400;
_root.itlayer = 600;
_root.map.black._visible = false;
_root.lessb = 1300;
_root.moreb = -1000;
_root.ubounds = 800;
_root.dbounds = 100;
_root.levels = 1;
_root.player1.animate._x = 25;
_root.player1.animate._y = 230;
_root.scrollvert = false;
_root.p1 = true;
_root.p2 = false;
_root.p3 = false;
_root.p4 = false;
_root.p5 = false;
_root.pbtimer = 0;
stop();
Instance of Symbol 768 MovieClip "map" in Frame 190
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
_root.sec2 = _y;
_root.mapsx = _x + _width;
_root.mapsy = _y + _height;
if (_root.mapsy < 1730) {
if ((_root.mapsx < 4100) and (_root.mapsx >= 3200)) {
gotoAndStop ("st1a");
}
if ((_root.mapsx < 3200) and (_root.mapsx >= 2300)) {
gotoAndStop ("st1b");
}
if ((_root.mapsx < 2300) and (_root.mapsx >= 1100)) {
gotoAndStop ("st1c");
_root.lessb = -1100;
_root.moreb = -1000;
}
if (_root.mapsx < 1840) {
_root.scrollvert = true;
}
}
if (_root.mapsy >= 1730) {
_root.scrollvert = false;
_root.lessb = 1300;
_root.moreb = -1000;
if ((_root.mapsx < 4100) and (_root.mapsx >= 2600)) {
gotoAndStop ("st1f");
}
if ((_root.mapsx < 2600) and (_root.mapsx >= 1100)) {
gotoAndStop ("st1d");
}
if (_root.mapsx > 4130) {
if (_root.player1.animate._x < 20) {
_root.fade1.gotoAndStop("fo");
_root.player1.animate.anistop = true;
}
}
}
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y + _root.movespeed;
}
_y = (_y + _root.movespeed);
}
if (_root.moved) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y - _root.movespeed;
}
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 792 MovieClip in Frame 190
onClipEvent (load) {
if (_root.sound) {
gotoAndStop ("s");
}
if (!_root.sound) {
gotoAndStop ("ns");
}
}
onClipEvent (enterFrame) {
if (_root.sound) {
if (_root.levels == 1) {
gotoAndStop ("s1");
}
if (_root.levels == 2) {
gotoAndStop ("s2");
}
if (_root.levels == 3) {
gotoAndStop ("s3");
}
if (_root.levels == 4) {
gotoAndStop ("s4");
}
if (_root.levels == 4) {
gotoAndStop ("s5");
}
if (_root.levels == 6) {
gotoAndStop ("s6");
}
if (_root.levels == 7) {
gotoAndStop ("s7");
}
if (_root.levels == 8) {
gotoAndStop ("s8");
}
if (Key.isDown(77)) {
if (!m) {
_root.sound = false;
m = true;
}
} else {
m = false;
}
}
if (!_root.sound) {
gotoAndStop ("ns");
if (Key.isDown(77)) {
if (!m) {
_root.sound = true;
m = true;
}
} else {
m = false;
}
}
}
Instance of Symbol 814 MovieClip "ebar" in Frame 190
onClipEvent (load) {
if (_root.life > 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
} else {
_visible = true;
}
if (_root.life >= 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 815 MovieClip "wbar" in Frame 190
onClipEvent (load) {
if (_root.wpl > 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl > 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl > 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl > 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl > 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl > 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl > 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl > 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl > 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl > 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl > 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl > 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl > 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl > 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl > 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl > 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl > 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl > 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl > 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl > 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl > 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
}
if (!_root.pause) {
if (_root.p1) {
_visible = false;
} else {
_visible = true;
}
}
if (_root.p2) {
_root.wpl = _root.p2p;
}
if (_root.p3) {
_root.wpl = _root.p3p;
}
if (_root.p4) {
_root.wpl = _root.p4p;
}
if (_root.p5) {
_root.wpl = _root.p5p;
}
if (_root.wpl >= 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl >= 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl >= 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl >= 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl >= 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl >= 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl >= 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl >= 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl >= 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl >= 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl >= 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl >= 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl >= 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl >= 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl >= 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl >= 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl >= 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl >= 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl >= 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl >= 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl >= 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 820 MovieClip "fade1" in Frame 190
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 844 MovieClip "pb" in Frame 190
onClipEvent (load) {
this.swapDepths(1900);
}
onClipEvent (enterFrame) {
if (_root.bullets >= 451) {
_root.bullets = 400;
}
if (_root.itlayer >= 620) {
_root.itlayer = 600;
}
}
Frame 191
stop();
Frame 192
stop();
Frame 193
stop();
Frame 194
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.scrollhor = true;
if (_root.striker) {
_root.attachMovie("striker1a", "player1", 99);
}
if (_root.geno) {
_root.attachMovie("geno1a", "player1", 99);
}
if (_root.nife) {
_root.attachMovie("nife1a", "player1", 99);
}
if (_root.katrin) {
_root.attachMovie("katrin1a", "player1", 99);
}
if (_root.phoenix) {
_root.attachMovie("phoenix1a", "player1", 99);
}
if (_root.kazu) {
_root.attachMovie("kazu1a", "player1", 99);
}
_quality = "low";
_root.pbtimer = 0;
_root.bullets = 400;
_root.map.black._visible = false;
_root.lessb = 5370;
_root.moreb = 350;
_root.ubounds = 800;
_root.dbounds = 600;
_root.levels = 1;
_root.player1.animate._x = 350;
_root.player1.animate._y = 200;
_root.scrollvert = false;
_root.pbtimer = 0;
stop();
Instance of Symbol 856 MovieClip "map" in Frame 194
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
_root.sec2 = _y;
_root.mapsx = _x + _width;
_root.mapsy = _y + _height;
if ((_root.mapsx < 10960) and (_root.mapsx >= 9500)) {
gotoAndStop ("st1e");
_root.gotoAndStop("rockst2e");
}
if ((_root.mapsx < 9500) and (_root.mapsx > 8300)) {
gotoAndStop ("st1d");
_root.gotoAndStop("rockst2d");
}
if ((_root.mapsx < 8300) and (_root.mapsx > 7200)) {
gotoAndStop ("st1c");
_root.gotoAndStop("rockst2c");
}
if ((_root.mapsx < 7200) and (_root.mapsx > 5930)) {
gotoAndStop ("st1b");
_root.gotoAndStop("rockst2b");
}
if (_root.mapsx > 10955) {
if (_root.player1.animate._x < 30) {
_root.fade1.gotoAndStop("fo");
_root.player1.animate.anistop = true;
}
}
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y + _root.movespeed;
}
_y = (_y + _root.movespeed);
}
if (_root.moved) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y - _root.movespeed;
}
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 859 MovieClip "e1" in Frame 194
onClipEvent (load) {
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("nd");
if (_x < 400) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if (stime >= 100) {
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 50;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 50;
_root["eb" + _root.bullets]._y = _y;
}
stime = 0;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 859 MovieClip "e2" in Frame 194
onClipEvent (load) {
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("nd");
if (_x < 400) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if (stime >= 100) {
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 50;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 50;
_root["eb" + _root.bullets]._y = _y;
}
stime = 0;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 859 MovieClip "e3" in Frame 194
onClipEvent (load) {
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("nd");
if (_x < 400) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if (stime >= 100) {
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 50;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 50;
_root["eb" + _root.bullets]._y = _y;
}
stime = 0;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 859 MovieClip "e7" in Frame 194
onClipEvent (load) {
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("nd");
if (_x < 400) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if (stime >= 100) {
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 50;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 50;
_root["eb" + _root.bullets]._y = _y;
}
stime = 0;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 859 MovieClip "e4" in Frame 194
onClipEvent (load) {
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("nd");
if (_x < 400) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if (stime >= 100) {
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 50;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 50;
_root["eb" + _root.bullets]._y = _y;
}
stime = 0;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 859 MovieClip "e8" in Frame 194
onClipEvent (load) {
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("nd");
if (_x < 400) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if (stime >= 100) {
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 50;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 50;
_root["eb" + _root.bullets]._y = _y;
}
stime = 0;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 792 MovieClip in Frame 194
onClipEvent (load) {
if (_root.sound) {
gotoAndStop ("s");
}
if (!_root.sound) {
gotoAndStop ("ns");
}
}
onClipEvent (enterFrame) {
if (_root.sound) {
if (_root.levels == 1) {
gotoAndStop ("s1");
}
if (_root.levels == 2) {
gotoAndStop ("s2");
}
if (_root.levels == 3) {
gotoAndStop ("s3");
}
if (_root.levels == 4) {
gotoAndStop ("s4");
}
if (_root.levels == 4) {
gotoAndStop ("s5");
}
if (_root.levels == 6) {
gotoAndStop ("s6");
}
if (_root.levels == 7) {
gotoAndStop ("s7");
}
if (_root.levels == 8) {
gotoAndStop ("s8");
}
if (Key.isDown(77)) {
if (!m) {
_root.sound = false;
m = true;
}
} else {
m = false;
}
}
if (!_root.sound) {
gotoAndStop ("ns");
if (Key.isDown(77)) {
if (!m) {
_root.sound = true;
m = true;
}
} else {
m = false;
}
}
}
Instance of Symbol 814 MovieClip "ebar" in Frame 194
onClipEvent (load) {
if (_root.life > 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
} else {
_visible = true;
}
if (_root.life >= 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 815 MovieClip "wbar" in Frame 194
onClipEvent (load) {
if (_root.wpl > 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl > 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl > 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl > 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl > 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl > 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl > 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl > 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl > 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl > 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl > 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl > 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl > 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl > 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl > 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl > 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl > 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl > 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl > 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl > 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl > 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
}
if (!_root.pause) {
if (_root.p1) {
_visible = false;
} else {
_visible = true;
}
}
if (_root.p2) {
_root.wpl = _root.p2p;
}
if (_root.p3) {
_root.wpl = _root.p3p;
}
if (_root.p4) {
_root.wpl = _root.p4p;
}
if (_root.p5) {
_root.wpl = _root.p5p;
}
if (_root.wpl >= 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl >= 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl >= 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl >= 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl >= 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl >= 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl >= 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl >= 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl >= 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl >= 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl >= 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl >= 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl >= 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl >= 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl >= 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl >= 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl >= 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl >= 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl >= 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl >= 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl >= 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 615 MovieClip [enem] "enemybullet1" in Frame 194
onClipEvent (load) {
speed = 51;
dx = _root.player1.animate._x - _x;
dy = _root.player1.animate._y - _y;
counter = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemybullet1") {
if (!_root.pause) {
if (_root.bulletdie) {
removeMovieClip(this);
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
_rotation = (_rotation + 5);
_x = (_x + (dx / speed));
_y = (_y + (dy / speed));
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
removeMovieClip(this);
}
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
if (this.hitTest(_root.player.animate.special.poing)) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 844 MovieClip "pb" in Frame 194
onClipEvent (load) {
this.swapDepths(1900);
}
onClipEvent (enterFrame) {
if (_root.bullets >= 451) {
_root.bullets = 400;
}
if (_root.itlayer >= 620) {
_root.itlayer = 600;
}
}
Instance of Symbol 863 MovieClip "fade1" in Frame 194
onClipEvent (load) {
this.swapDepths(2000);
}
Frame 195
stop();
Frame 196
stop();
Frame 197
stop();
Frame 198
stop();
Frame 199
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.sub1 = false;
_root.sub2 = true;
_root.sub3 = false;
_root.scrollhor = true;
if (_root.striker) {
_root.attachMovie("striker1a", "player1", 99);
}
if (_root.geno) {
_root.attachMovie("geno1a", "player1", 99);
}
if (_root.nife) {
_root.attachMovie("nife1a", "player1", 99);
}
if (_root.katrin) {
_root.attachMovie("katrin1a", "player1", 99);
}
if (_root.phoenix) {
_root.attachMovie("phoenix1a", "player1", 99);
}
if (_root.kazu) {
_root.attachMovie("kazu1a", "player1", 99);
}
_root.levels = 1;
_quality = "low";
_root.pbtimer = 0;
_root.bullets = 400;
_root.map.black._visible = false;
_root.lessb = 300;
_root.moreb = -2300;
_root.ubounds = 800;
_root.dbounds = 600;
_root.player1.animate._x = 50;
_root.player1.animate._y = 320;
_root.scrollvert = false;
_root.pbtimer = 0;
stop();
Instance of Symbol 893 MovieClip "map" in Frame 199
onClipEvent (load) {
speed = 5;
speed2 = 5;
charanit = 0;
}
onClipEvent (enterFrame) {
_root.sec2 = _y;
_root.mapsx = _x + _width;
_root.mapsy = _y + _height;
if (!_root.pause) {
if (!charani) {
if ((_root.mapsx < 7500) and (_root.mapsx > 6500)) {
gotoAndStop ("st1a");
}
if ((_root.mapsx < 6500) and (_root.mapsx > 4000)) {
gotoAndStop ("st1b");
}
if ((_root.mapsx < 4000) and (_root.mapsx > 1100)) {
gotoAndStop ("st1c");
}
if (ani.hitTest(_root.player1.animate.limit)) {
if (!s) {
_root.player1.animate.anistop = true;
charani = true;
}
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y + _root.movespeed;
}
_y = (_y + _root.movespeed);
}
if (_root.moved) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y - _root.movespeed;
}
_y = (_y - _root.movespeed);
}
}
if (charani) {
charanit++;
if (_root.player1.animate._y < 360) {
_root.player1.animate._y = _root.player1.animate._y + 2;
_root.player1.animate._xscale = 100;
_root.player1.animate.gotoAndStop("jump");
}
if (_root.player1.animate._y >= 360) {
_root.player1.animate._x = _root.player1.animate._x + _root.movespeed;
_root.player1.animate._xscale = 100;
_root.player1.animate.gotoAndStop("run");
}
if (_root.player1.animate._x > 320) {
mflag.gotoAndStop("up");
_root.player1.animate._visible = false;
_root.fade1.gotoAndStop("fo");
}
if (charanit >= 300) {
_root.fade1.gotoAndStop("fo");
}
}
}
}
Instance of Symbol 814 MovieClip "ebar" in Frame 199
onClipEvent (load) {
if (_root.life > 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
} else {
_visible = true;
}
if (_root.life >= 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 815 MovieClip "wbar" in Frame 199
onClipEvent (load) {
if (_root.wpl > 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl > 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl > 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl > 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl > 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl > 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl > 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl > 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl > 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl > 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl > 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl > 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl > 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl > 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl > 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl > 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl > 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl > 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl > 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl > 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl > 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
}
if (!_root.pause) {
if (_root.p1) {
_visible = false;
} else {
_visible = true;
}
}
if (_root.p2) {
_root.wpl = _root.p2p;
}
if (_root.p3) {
_root.wpl = _root.p3p;
}
if (_root.p4) {
_root.wpl = _root.p4p;
}
if (_root.p5) {
_root.wpl = _root.p5p;
}
if (_root.wpl >= 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl >= 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl >= 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl >= 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl >= 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl >= 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl >= 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl >= 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl >= 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl >= 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl >= 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl >= 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl >= 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl >= 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl >= 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl >= 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl >= 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl >= 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl >= 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl >= 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl >= 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 901 MovieClip "e8" in Frame 199
onClipEvent (load) {
life = 5;
go = true;
toss = false;
tosst = 0;
speed = 2.5;
dead = false;
deadt = 0;
shoott = 0;
shoot = false;
xpoint = random(3);
got = 0;
goaway = false;
hit = false;
hitt = 0;
_x = 630;
_y = 48;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.fa = xpoint;
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (!dead) {
if (_x > 410) {
_x = (_x-1);
}
if (_x < 0) {
_x = (_x+1);
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (life <= 0) {
dead = true;
}
if (_root.mapsx <= 4000) {
goaway = true;
}
if (_root.mapsx > 4000) {
goaway = false;
}
if (!goaway) {
if (go) {
gotoAndStop ("nd");
got++;
if (_root.player1.animate._x < _x) {
_xscale = 100;
}
if (_root.player1.animate._x > _x) {
_xscale = -100;
}
if (_root.player1.animate._x > _x) {
_x = (_x + speed);
}
if (_root.player1.animate._x < _x) {
_x = (_x - speed);
}
if (got >= 150) {
got = 0;
shoot = true;
go = false;
}
}
if (!go) {
gr = false;
}
if (shoot) {
gotoAndStop ("throw");
shoott++;
if ((shoott > 20) and (shoott < 22)) {
if (!_root.e9.animate.attach) {
_root.attachMovie("spiny1a", "e9", 451);
_root.e9.animate._x = _x;
_root.e9.animate._y = _y;
shoott = 0;
go = true;
xpoint = random(3);
shoot = false;
}
}
if ((shoott > 40) and (shoott < 42)) {
if (!_root.e10.animate.attach) {
_root.attachMovie("spiny1a", "e10", 452);
_root.e10.animate._x = _x;
_root.e10.animate._y = _y;
shoott = 0;
go = true;
xpoint = random(3);
shoot = false;
}
}
if ((shoott > 60) and (shoott < 62)) {
if (!_root.e11.animate.attach) {
_root.attachMovie("spiny1a", "e11", 453);
_root.e11.animate._x = _x;
_root.e11.animate._y = _y;
shoott = 0;
go = true;
xpoint = random(3);
shoot = false;
}
}
if (shoott > 100) {
shoott = 0;
go = true;
xpoint = random(3);
shoot = false;
}
}
}
if (goaway) {
gotoAndStop ("throw");
_x = (_x - speed);
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
deadt++;
if (deadt < 100) {
_y = (_y + 4);
}
if (deadt >= 100) {
_x = 630;
_y = 48;
xpoint = random(3);
life = 5;
shoot = false;
shoott = 0;
go = true;
dead = false;
}
}
}
}
Instance of Symbol 911 MovieClip "e13" in Frame 199
onClipEvent (load) {
jump = false;
jumpt = 0;
pickt = 0;
dead = false;
deadt = 0;
life = 3;
speed = 0.5;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
dir = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (!dead) {
if (_x < 430) {
if (_x > -30) {
if (!jump) {
pickt++;
shoott++;
gotoAndStop ("go");
if (_root.player1.animate._x > _x) {
_xscale = -100;
dir = 0;
}
if (_root.player1.animate._x < _x) {
_xscale = 100;
dir = 1;
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y - speed);
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 50) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
golt++;
if (golt >= 50) {
golt = 0;
gor = true;
gol = false;
}
}
if (shoott >= 30) {
_root.hammer1.duplicateMovieClip("hammer1a" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["hammer1a" + _root.bullets].speed = 2;
}
if (dir == 1) {
_root["hammer1a" + _root.bullets].speed = -2;
}
_root["hammer1a" + _root.bullets]._x = _x;
_root["hammer1a" + _root.bullets]._y = _y;
shoott = 0;
}
if (pickt >= 200) {
jump = true;
}
}
if (jump) {
pickt = 0;
jumpt++;
_y = (_y - 8);
if (jumpt >= 40) {
jumpt = 0;
jump = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 914 MovieClip "hammer1" in Frame 199
onClipEvent (load) {
upt = 0;
up = true;
dn = false;
aspeed = 4;
}
onClipEvent (enterFrame) {
if (_name != "hammer1") {
if (!_root.pause) {
_rotation = (_rotation + 20);
_x = (_x + speed);
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
removeMovieClip(this);
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (up) {
upt++;
_y = (_y - aspeed);
if (upt >= 45) {
upt = 0;
dn = true;
up = false;
}
}
if (dn) {
_y = (_y + aspeed);
}
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
}
}
}
Instance of Symbol 911 MovieClip "e14" in Frame 199
onClipEvent (load) {
jump = false;
jumpt = 0;
pickt = 0;
dead = false;
deadt = 0;
life = 3;
speed = 0.5;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
dir = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (!dead) {
if (_x < 430) {
if (_x > -30) {
if (!jump) {
pickt++;
shoott++;
gotoAndStop ("go");
if (_root.player1.animate._x > _x) {
_xscale = -100;
dir = 0;
}
if (_root.player1.animate._x < _x) {
_xscale = 100;
dir = 1;
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y - speed);
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 50) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
golt++;
if (golt >= 50) {
golt = 0;
gor = true;
gol = false;
}
}
if (shoott >= 30) {
_root.hammer1.duplicateMovieClip("hammer1a" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["hammer1a" + _root.bullets].speed = 2;
}
if (dir == 1) {
_root["hammer1a" + _root.bullets].speed = -2;
}
_root["hammer1a" + _root.bullets]._x = _x;
_root["hammer1a" + _root.bullets]._y = _y;
shoott = 0;
}
if (pickt >= 200) {
jump = true;
}
}
if (jump) {
pickt = 0;
jumpt++;
_y = (_y - 8);
if (jumpt >= 40) {
jumpt = 0;
jump = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 911 MovieClip "e15" in Frame 199
onClipEvent (load) {
jump = false;
jumpt = 0;
pickt = 0;
dead = false;
deadt = 0;
life = 3;
speed = 0.5;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
dir = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (!dead) {
if (_x < 430) {
if (_x > -30) {
if (!jump) {
pickt++;
shoott++;
gotoAndStop ("go");
if (_root.player1.animate._x > _x) {
_xscale = -100;
dir = 0;
}
if (_root.player1.animate._x < _x) {
_xscale = 100;
dir = 1;
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y - speed);
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 50) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
golt++;
if (golt >= 50) {
golt = 0;
gor = true;
gol = false;
}
}
if (shoott >= 30) {
_root.hammer1.duplicateMovieClip("hammer1a" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["hammer1a" + _root.bullets].speed = 2;
}
if (dir == 1) {
_root["hammer1a" + _root.bullets].speed = -2;
}
_root["hammer1a" + _root.bullets]._x = _x;
_root["hammer1a" + _root.bullets]._y = _y;
shoott = 0;
}
if (pickt >= 200) {
jump = true;
}
}
if (jump) {
pickt = 0;
jumpt++;
_y = (_y - 8);
if (jumpt >= 40) {
jumpt = 0;
jump = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 911 MovieClip "e16" in Frame 199
onClipEvent (load) {
jump = false;
jumpt = 0;
pickt = 0;
dead = false;
deadt = 0;
life = 3;
speed = 0.5;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
dir = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (!dead) {
if (_x < 430) {
if (_x > -30) {
if (!jump) {
pickt++;
shoott++;
gotoAndStop ("go");
if (_root.player1.animate._x > _x) {
_xscale = -100;
dir = 0;
}
if (_root.player1.animate._x < _x) {
_xscale = 100;
dir = 1;
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y - speed);
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 50) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
golt++;
if (golt >= 50) {
golt = 0;
gor = true;
gol = false;
}
}
if (shoott >= 30) {
_root.hammer1.duplicateMovieClip("hammer1a" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["hammer1a" + _root.bullets].speed = 2;
}
if (dir == 1) {
_root["hammer1a" + _root.bullets].speed = -2;
}
_root["hammer1a" + _root.bullets]._x = _x;
_root["hammer1a" + _root.bullets]._y = _y;
shoott = 0;
}
if (pickt >= 200) {
jump = true;
}
}
if (jump) {
pickt = 0;
jumpt++;
_y = (_y - 8);
if (jumpt >= 40) {
jumpt = 0;
jump = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 911 MovieClip "e17" in Frame 199
onClipEvent (load) {
jump = false;
jumpt = 0;
pickt = 0;
dead = false;
deadt = 0;
life = 3;
speed = 0.5;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
dir = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (!dead) {
if (_x < 430) {
if (_x > -30) {
if (!jump) {
pickt++;
shoott++;
gotoAndStop ("go");
if (_root.player1.animate._x > _x) {
_xscale = -100;
dir = 0;
}
if (_root.player1.animate._x < _x) {
_xscale = 100;
dir = 1;
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y - speed);
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 50) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
golt++;
if (golt >= 50) {
golt = 0;
gor = true;
gol = false;
}
}
if (shoott >= 30) {
_root.hammer1.duplicateMovieClip("hammer1a" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["hammer1a" + _root.bullets].speed = 2;
}
if (dir == 1) {
_root["hammer1a" + _root.bullets].speed = -2;
}
_root["hammer1a" + _root.bullets]._x = _x;
_root["hammer1a" + _root.bullets]._y = _y;
shoott = 0;
}
if (pickt >= 200) {
jump = true;
}
}
if (jump) {
pickt = 0;
jumpt++;
_y = (_y - 8);
if (jumpt >= 40) {
jumpt = 0;
jump = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 911 MovieClip "e18" in Frame 199
onClipEvent (load) {
jump = false;
jumpt = 0;
pickt = 0;
dead = false;
deadt = 0;
life = 3;
speed = 0.5;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
dir = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (!dead) {
if (_x < 430) {
if (_x > -30) {
if (!jump) {
pickt++;
shoott++;
gotoAndStop ("go");
if (_root.player1.animate._x > _x) {
_xscale = -100;
dir = 0;
}
if (_root.player1.animate._x < _x) {
_xscale = 100;
dir = 1;
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y - speed);
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 50) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
golt++;
if (golt >= 50) {
golt = 0;
gor = true;
gol = false;
}
}
if (shoott >= 30) {
_root.hammer1.duplicateMovieClip("hammer1a" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["hammer1a" + _root.bullets].speed = 2;
}
if (dir == 1) {
_root["hammer1a" + _root.bullets].speed = -2;
}
_root["hammer1a" + _root.bullets]._x = _x;
_root["hammer1a" + _root.bullets]._y = _y;
shoott = 0;
}
if (pickt >= 200) {
jump = true;
}
}
if (jump) {
pickt = 0;
jumpt++;
_y = (_y - 8);
if (jumpt >= 40) {
jumpt = 0;
jump = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 911 MovieClip "e19" in Frame 199
onClipEvent (load) {
jump = false;
jumpt = 0;
pickt = 0;
dead = false;
deadt = 0;
life = 3;
speed = 0.5;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
dir = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (!dead) {
if (_x < 430) {
if (_x > -30) {
if (!jump) {
pickt++;
shoott++;
gotoAndStop ("go");
if (_root.player1.animate._x > _x) {
_xscale = -100;
dir = 0;
}
if (_root.player1.animate._x < _x) {
_xscale = 100;
dir = 1;
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y - speed);
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 50) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
golt++;
if (golt >= 50) {
golt = 0;
gor = true;
gol = false;
}
}
if (shoott >= 30) {
_root.hammer1.duplicateMovieClip("hammer1a" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["hammer1a" + _root.bullets].speed = 2;
}
if (dir == 1) {
_root["hammer1a" + _root.bullets].speed = -2;
}
_root["hammer1a" + _root.bullets]._x = _x;
_root["hammer1a" + _root.bullets]._y = _y;
shoott = 0;
}
if (pickt >= 200) {
jump = true;
}
}
if (jump) {
pickt = 0;
jumpt++;
_y = (_y - 8);
if (jumpt >= 40) {
jumpt = 0;
jump = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 911 MovieClip "e20" in Frame 199
onClipEvent (load) {
jump = false;
jumpt = 0;
pickt = 0;
dead = false;
deadt = 0;
life = 3;
speed = 0.5;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
dir = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (!dead) {
if (_x < 430) {
if (_x > -30) {
if (!jump) {
pickt++;
shoott++;
gotoAndStop ("go");
if (_root.player1.animate._x > _x) {
_xscale = -100;
dir = 0;
}
if (_root.player1.animate._x < _x) {
_xscale = 100;
dir = 1;
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y - speed);
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 50) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
golt++;
if (golt >= 50) {
golt = 0;
gor = true;
gol = false;
}
}
if (shoott >= 30) {
_root.hammer1.duplicateMovieClip("hammer1a" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["hammer1a" + _root.bullets].speed = 2;
}
if (dir == 1) {
_root["hammer1a" + _root.bullets].speed = -2;
}
_root["hammer1a" + _root.bullets]._x = _x;
_root["hammer1a" + _root.bullets]._y = _y;
shoott = 0;
}
if (pickt >= 200) {
jump = true;
}
}
if (jump) {
pickt = 0;
jumpt++;
_y = (_y - 8);
if (jumpt >= 40) {
jumpt = 0;
jump = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 792 MovieClip in Frame 199
onClipEvent (load) {
if (_root.sound) {
gotoAndStop ("s");
}
if (!_root.sound) {
gotoAndStop ("ns");
}
}
onClipEvent (enterFrame) {
if (_root.sound) {
if (_root.levels == 1) {
gotoAndStop ("s1");
}
if (_root.levels == 2) {
gotoAndStop ("s2");
}
if (_root.levels == 3) {
gotoAndStop ("s3");
}
if (_root.levels == 4) {
gotoAndStop ("s4");
}
if (_root.levels == 4) {
gotoAndStop ("s5");
}
if (_root.levels == 6) {
gotoAndStop ("s6");
}
if (_root.levels == 7) {
gotoAndStop ("s7");
}
if (_root.levels == 8) {
gotoAndStop ("s8");
}
if (Key.isDown(77)) {
if (!m) {
_root.sound = false;
m = true;
}
} else {
m = false;
}
}
if (!_root.sound) {
gotoAndStop ("ns");
if (Key.isDown(77)) {
if (!m) {
_root.sound = true;
m = true;
}
} else {
m = false;
}
}
}
Instance of Symbol 844 MovieClip "pb" in Frame 199
onClipEvent (load) {
this.swapDepths(1900);
}
onClipEvent (enterFrame) {
if (_root.bullets >= 451) {
_root.bullets = 400;
}
if (_root.itlayer >= 620) {
_root.itlayer = 600;
}
}
Instance of Symbol 916 MovieClip "fade1" in Frame 199
onClipEvent (load) {
this.swapDepths(2000);
}
Frame 200
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.scrollhor = false;
if (_root.striker) {
_root.attachMovie("striker1a", "player1", 99);
}
if (_root.geno) {
_root.attachMovie("geno1a", "player1", 99);
}
if (_root.nife) {
_root.attachMovie("nife1a", "player1", 99);
}
if (_root.katrin) {
_root.attachMovie("katrin1a", "player1", 99);
}
if (_root.phoenix) {
_root.attachMovie("phoenix1a", "player1", 99);
}
if (_root.kazu) {
_root.attachMovie("kazu1a", "player1", 99);
}
_quality = "low";
_root.pbtimer = 0;
_root.bullets = 400;
_root.map.black._visible = false;
_root.lessb = -15000;
_root.moreb = 50000;
_root.ubounds = 0;
_root.dbounds = 0;
_root.levels = 1;
_root.player1.animate._x = 180;
_root.player1.animate._y = 150;
_root.scrollvert = false;
_root.pbtimer = 0;
stop();
Instance of Symbol 940 MovieClip "map" in Frame 200
onClipEvent (load) {
speed = 1;
up = false;
upt = 0;
dn = true;
dnt = 0;
und = 0;
ani._visible = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.mapremove) {
removeMovieClip(this);
_parent.removeMovieClip();
}
_root.mapsx = _x;
if (!charani) {
if (_root.player1.animate._x < -10) {
_root.life = _root.life - 100;
}
if (dn) {
_y = (_y + (speed / 5));
dnt++;
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y + (speed / 5);
}
if (dnt >= 50) {
dnt = 0;
up = true;
dn = false;
}
}
if (up) {
_y = (_y - (speed / 5));
upt++;
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y - (speed / 5);
}
if (upt >= 50) {
upt = 0;
dn = true;
up = false;
}
}
if (_x > -2400) {
_x = (_x - speed);
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._x = _root.player1.animate._x - speed;
}
}
if (ani.hitTest(_root.player1.animate.limit)) {
if (_root.player1.animate.dn) {
_root.player1.animate.anistop = true;
charani = true;
}
}
}
if (charani) {
if (!apple) {
this.swapDepths(100);
into = true;
apple = true;
}
if (into) {
und++;
_root.player1.animate.gotoAndStop("stand");
_root.player1.animate._y++;
if (und > 60) {
into = false;
_root.fade1.gotoAndStop("fo");
removeMovieClip(this);
_root.player1.animate._visible = false;
_visible = false;
_parent.removeMovieClip();
}
if (und > 200) {
removeMovieClip(this);
_parent.removeMovieClip();
}
}
}
}
}
Instance of Symbol 792 MovieClip in Frame 200
onClipEvent (load) {
if (_root.sound) {
gotoAndStop ("s");
}
if (!_root.sound) {
gotoAndStop ("ns");
}
}
onClipEvent (enterFrame) {
if (_root.sound) {
if (_root.levels == 1) {
gotoAndStop ("s1");
}
if (_root.levels == 2) {
gotoAndStop ("s2");
}
if (_root.levels == 3) {
gotoAndStop ("s3");
}
if (_root.levels == 4) {
gotoAndStop ("s4");
}
if (_root.levels == 4) {
gotoAndStop ("s5");
}
if (_root.levels == 6) {
gotoAndStop ("s6");
}
if (_root.levels == 7) {
gotoAndStop ("s7");
}
if (_root.levels == 8) {
gotoAndStop ("s8");
}
if (Key.isDown(77)) {
if (!m) {
_root.sound = false;
m = true;
}
} else {
m = false;
}
}
if (!_root.sound) {
gotoAndStop ("ns");
if (Key.isDown(77)) {
if (!m) {
_root.sound = true;
m = true;
}
} else {
m = false;
}
}
}
Instance of Symbol 814 MovieClip "ebar" in Frame 200
onClipEvent (load) {
if (_root.life > 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
} else {
_visible = true;
}
if (_root.life >= 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 815 MovieClip "wbar" in Frame 200
onClipEvent (load) {
if (_root.wpl > 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl > 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl > 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl > 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl > 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl > 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl > 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl > 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl > 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl > 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl > 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl > 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl > 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl > 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl > 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl > 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl > 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl > 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl > 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl > 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl > 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
}
if (!_root.pause) {
if (_root.p1) {
_visible = false;
} else {
_visible = true;
}
}
if (_root.p2) {
_root.wpl = _root.p2p;
}
if (_root.p3) {
_root.wpl = _root.p3p;
}
if (_root.p4) {
_root.wpl = _root.p4p;
}
if (_root.p5) {
_root.wpl = _root.p5p;
}
if (_root.wpl >= 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl >= 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl >= 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl >= 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl >= 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl >= 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl >= 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl >= 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl >= 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl >= 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl >= 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl >= 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl >= 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl >= 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl >= 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl >= 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl >= 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl >= 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl >= 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl >= 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl >= 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 844 MovieClip "pb" in Frame 200
onClipEvent (load) {
this.swapDepths(1900);
}
onClipEvent (enterFrame) {
if (_root.bullets >= 451) {
_root.bullets = 400;
}
if (_root.itlayer >= 620) {
_root.itlayer = 600;
}
}
Instance of Symbol 944 MovieClip "fade1" in Frame 200
onClipEvent (load) {
this.swapDepths(2000);
}
Frame 201
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.scrollhor = true;
_root.sub1 = false;
_root.sub2 = false;
_root.sub3 = true;
if (_root.striker) {
_root.attachMovie("striker1a", "player1", 99);
}
if (_root.geno) {
_root.attachMovie("geno1a", "player1", 99);
}
if (_root.nife) {
_root.attachMovie("nife1a", "player1", 99);
}
if (_root.katrin) {
_root.attachMovie("katrin1a", "player1", 99);
}
if (_root.phoenix) {
_root.attachMovie("phoenix1a", "player1", 99);
}
if (_root.kazu) {
_root.attachMovie("kazu1a", "player1", 99);
}
_quality = "low";
_root.pbtimer = 0;
_root.levels = 10;
_root.map.removeMovieClip();
_root.bullets = 400;
_root.map.black._visible = false;
_root.lessb = 600;
_root.moreb = -300;
_root.player1.animate._x = 180;
_root.player1.animate._y = 20;
_root.scrollvert = false;
_root.pbtimer = 0;
stop();
Instance of Symbol 950 MovieClip "map" in Frame 201
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
}
}
Instance of Symbol 814 MovieClip "ebar" in Frame 201
onClipEvent (load) {
if (_root.life > 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
} else {
_visible = true;
}
if (_root.life >= 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 815 MovieClip "wbar" in Frame 201
onClipEvent (load) {
if (_root.wpl > 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl > 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl > 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl > 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl > 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl > 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl > 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl > 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl > 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl > 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl > 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl > 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl > 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl > 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl > 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl > 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl > 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl > 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl > 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl > 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl > 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
}
if (!_root.pause) {
if (_root.p1) {
_visible = false;
} else {
_visible = true;
}
}
if (_root.p2) {
_root.wpl = _root.p2p;
}
if (_root.p3) {
_root.wpl = _root.p3p;
}
if (_root.p4) {
_root.wpl = _root.p4p;
}
if (_root.p5) {
_root.wpl = _root.p5p;
}
if (_root.wpl >= 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl >= 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl >= 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl >= 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl >= 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl >= 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl >= 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl >= 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl >= 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl >= 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl >= 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl >= 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl >= 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl >= 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl >= 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl >= 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl >= 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl >= 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl >= 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl >= 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl >= 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 792 MovieClip in Frame 201
onClipEvent (load) {
if (_root.sound) {
gotoAndStop ("s");
}
if (!_root.sound) {
gotoAndStop ("ns");
}
}
onClipEvent (enterFrame) {
if (_root.bullets >= 351) {
_root.bullets = 300;
}
if (_root.enemylayer >= 270) {
_root.enemylayer = 250;
}
if (_root.sound) {
if (_root.levels == 1) {
gotoAndStop ("s1");
}
if (_root.levels == 2) {
gotoAndStop ("s2");
}
if (_root.levels == 3) {
gotoAndStop ("s3");
}
if (_root.levels == 4) {
gotoAndStop ("s4");
}
if (_root.levels == 4) {
gotoAndStop ("s5");
}
if (_root.levels == 6) {
gotoAndStop ("s6");
}
if (_root.levels == 7) {
gotoAndStop ("s7");
}
if (_root.levels == 8) {
gotoAndStop ("s8");
}
if (_root.levels == 9) {
gotoAndStop ("s9");
}
if (_root.levels == 10) {
gotoAndStop ("s10");
}
if (Key.isDown(77)) {
if (!m) {
_root.sound = false;
m = true;
}
} else {
m = false;
}
}
if (!_root.sound) {
gotoAndStop ("ns");
if (Key.isDown(77)) {
if (!m) {
_root.sound = true;
m = true;
}
} else {
m = false;
}
}
}
Instance of Symbol 970 MovieClip "boss2" in Frame 201
onClipEvent (load) {
shoota = 0;
speed = 3;
speed1 = 7;
speed2 = 3.5;
go = true;
got = 0;
fly = false;
flyt = 0;
life = 115;
shoot = false;
shoott = 0;
dead = false;
deadt = 0;
rt = true;
rtt = 0;
lft = false;
lftt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.sx = flyup;
_root.sy = _y;
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (!dead) {
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (!shoot) {
shoott++;
if (shoott >= 100) {
shoott = 0;
shoot = true;
}
}
if (shoot) {
shoota++;
if ((shoota >= 25) and (shoota < 31)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (go) {
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 30;
_root["eb" + _root.bullets]._y = _y - 50;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 30;
_root["eb" + _root.bullets]._y = _y - 50;
}
}
if (flyup) {
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 30;
_root["eb" + _root.bullets]._y = _y - 95;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 30;
_root["eb" + _root.bullets]._y = _y - 95;
}
}
if (fly) {
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 30;
_root["eb" + _root.bullets]._y = _y - 95;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 30;
_root["eb" + _root.bullets]._y = _y - 95;
}
}
}
if (shoota >= 35) {
shoota = 0;
shoot = false;
}
}
if (go) {
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
got++;
if (!shoot) {
gotoAndStop ("go");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed1);
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (rt) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_x = (_x + speed);
}
rtt++;
if (rtt >= 50) {
rtt = 0;
lft = true;
rt = false;
}
}
if (lft) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_x = (_x - speed);
}
lftt++;
if (lftt >= 50) {
lftt = 0;
rt = true;
lft = false;
}
}
}
if (got >= 300) {
got = 0;
lftt = 0;
rtt = 0;
flyup = true;
go = false;
}
}
if (flyup) {
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if (!shoot) {
gotoAndStop ("fly");
}
if (shoot) {
gotoAndStop ("flyshoot");
}
if (_y > 130) {
_y = (_y - speed2);
}
if (_y <= 130) {
fly = true;
flyup = false;
}
}
if (fly) {
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if (!shoot) {
gotoAndStop ("fly");
}
if (shoot) {
gotoAndStop ("flyshoot");
}
flyt++;
if (_x >= _root.player1.animate._x) {
_x = (_x - speed2);
}
if (_x <= _root.player1.animate._x) {
_x = (_x + speed2);
}
if (flyt >= 250) {
flyt = 0;
go = true;
fly = false;
}
}
}
if (dead) {
mySharedObject = SharedObject.getLocal("6bit");
mySharedObject.data.st1pass = true;
_root.st1pass = true;
hitcolor.setTransform(oldColor);
gotoAndStop ("dead");
deadt++;
if (deadt >= 350) {
_root.fade1.gotoAndStop("fadeout");
}
}
}
}
Instance of Symbol 975 MovieClip "enemybullet1" in Frame 201
onClipEvent (load) {
speed = 26;
dx = _root.player1.animate._x - _x;
dy = _root.player1.animate._y - _y;
counter = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemybullet1") {
if (!_root.pause) {
if (_root.bulletdie) {
removeMovieClip(this);
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
_rotation = (_rotation + 15);
_x = (_x + (dx / speed));
_y = (_y + (dy / speed));
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
removeMovieClip(this);
}
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (20 - _root.player1.animate.def);
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
if (this.hitTest(_root.player.animate.special.poing)) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 844 MovieClip "pb" in Frame 201
onClipEvent (load) {
this.swapDepths(1900);
}
onClipEvent (enterFrame) {
if (_root.bullets >= 451) {
_root.bullets = 400;
}
if (_root.itlayer >= 620) {
_root.itlayer = 600;
}
}
Instance of Symbol 979 MovieClip "fade1" in Frame 201
onClipEvent (load) {
this.swapDepths(2000);
}
Frame 202
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.sub1 = true;
_root.sub2 = false;
_root.sub3 = false;
_root.scrollhor = true;
if (_root.striker) {
_root.attachMovie("striker1a", "player1", 99);
}
if (_root.geno) {
_root.attachMovie("geno1a", "player1", 99);
}
if (_root.nife) {
_root.attachMovie("nife1a", "player1", 99);
}
if (_root.katrin) {
_root.attachMovie("katrin1a", "player1", 99);
}
if (_root.phoenix) {
_root.attachMovie("phoenix1a", "player1", 99);
}
if (_root.kazu) {
_root.attachMovie("kazu1a", "player1", 99);
}
_root.levels = 2;
_quality = "low";
_root.pbtimer = 0;
_root.bullets = 400;
_root.map.black._visible = false;
_root.lessb = 300;
_root.moreb = -2520;
_root.ubounds = 800;
_root.dbounds = 600;
_root.player1.animate._x = 180;
_root.player1.animate._y = 150;
_root.scrollvert = false;
_root.pbtimer = 0;
stop();
Instance of Symbol 984 MovieClip "map" in Frame 202
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
_root.sec2 = _y;
_root.mapsx = _x + _width;
_root.mapsy = _y + _height;
if (_root.mapsy < 1730) {
if ((_root.mapsx < 4100) and (_root.mapsx > 3200)) {
gotoAndStop ("st1a");
}
if ((_root.mapsx < 3200) and (_root.mapsx > 2300)) {
gotoAndStop ("st1b");
}
if ((_root.mapsx < 2300) and (_root.mapsx > 1100)) {
gotoAndStop ("st1c");
}
}
if (_root.mapsx < 981) {
if (_root.player1.animate._x > 395) {
_root.fade1.gotoAndStop("fo");
_root.player1.animate.anistop = true;
}
}
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y + _root.movespeed;
}
_y = (_y + _root.movespeed);
}
if (_root.moved) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y - _root.movespeed;
}
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 792 MovieClip in Frame 202
onClipEvent (load) {
if (_root.sound) {
gotoAndStop ("s");
}
if (!_root.sound) {
gotoAndStop ("ns");
}
}
onClipEvent (enterFrame) {
if (_root.sound) {
if (_root.levels == 1) {
gotoAndStop ("s1");
}
if (_root.levels == 2) {
gotoAndStop ("s2");
}
if (_root.levels == 3) {
gotoAndStop ("s3");
}
if (_root.levels == 4) {
gotoAndStop ("s4");
}
if (_root.levels == 4) {
gotoAndStop ("s5");
}
if (_root.levels == 6) {
gotoAndStop ("s6");
}
if (_root.levels == 7) {
gotoAndStop ("s7");
}
if (_root.levels == 8) {
gotoAndStop ("s8");
}
if (Key.isDown(77)) {
if (!m) {
_root.sound = false;
m = true;
}
} else {
m = false;
}
}
if (!_root.sound) {
gotoAndStop ("ns");
if (Key.isDown(77)) {
if (!m) {
_root.sound = true;
m = true;
}
} else {
m = false;
}
}
}
Instance of Symbol 992 MovieClip "e1" in Frame 202
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1000 MovieClip "e2" in Frame 202
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 10;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
_root.enemybullet1.duplicateMovieClip("eb1" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb1" + _root.bullets]._x = _x - 30;
_root["eb1" + _root.bullets]._y = _y + 20;
}
if (dir == 1) {
_root["eb1" + _root.bullets]._x = _x + 30;
_root["eb1" + _root.bullets]._y = _y + 20;
}
}
if ((stime > 100) and (stime < 102)) {
shoot = true;
_root.hammer1.duplicateMovieClip("eb2" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb2" + _root.bullets]._x = _x - 10;
_root["eb2" + _root.bullets]._y = _y - 70;
_root["eb2" + _root.bullets].speed = -2;
}
if (dir == 1) {
_root["eb2" + _root.bullets]._x = _x + 10;
_root["eb2" + _root.bullets]._y = _y - 70;
_root["eb2" + _root.bullets].speed = 2;
}
}
if (stime >= 110) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e3" in Frame 202
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e4" in Frame 202
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e5" in Frame 202
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e6" in Frame 202
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1000 MovieClip "e7" in Frame 202
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 10;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
_root.enemybullet1.duplicateMovieClip("eb1" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb1" + _root.bullets]._x = _x - 30;
_root["eb1" + _root.bullets]._y = _y + 20;
}
if (dir == 1) {
_root["eb1" + _root.bullets]._x = _x + 30;
_root["eb1" + _root.bullets]._y = _y + 20;
}
}
if ((stime > 100) and (stime < 102)) {
shoot = true;
_root.hammer1.duplicateMovieClip("eb2" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb2" + _root.bullets]._x = _x - 10;
_root["eb2" + _root.bullets]._y = _y - 70;
_root["eb2" + _root.bullets].speed = -2;
}
if (dir == 1) {
_root["eb2" + _root.bullets]._x = _x + 10;
_root["eb2" + _root.bullets]._y = _y - 70;
_root["eb2" + _root.bullets].speed = 2;
}
}
if (stime >= 110) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e8" in Frame 202
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1000 MovieClip "e9" in Frame 202
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 10;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
_root.enemybullet1.duplicateMovieClip("eb1" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb1" + _root.bullets]._x = _x - 30;
_root["eb1" + _root.bullets]._y = _y + 20;
}
if (dir == 1) {
_root["eb1" + _root.bullets]._x = _x + 30;
_root["eb1" + _root.bullets]._y = _y + 20;
}
}
if ((stime > 100) and (stime < 102)) {
shoot = true;
_root.hammer1.duplicateMovieClip("eb2" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb2" + _root.bullets]._x = _x - 10;
_root["eb2" + _root.bullets]._y = _y - 70;
_root["eb2" + _root.bullets].speed = -2;
}
if (dir == 1) {
_root["eb2" + _root.bullets]._x = _x + 10;
_root["eb2" + _root.bullets]._y = _y - 70;
_root["eb2" + _root.bullets].speed = 2;
}
}
if (stime >= 110) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e10" in Frame 202
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1000 MovieClip "e11" in Frame 202
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 10;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
_root.enemybullet1.duplicateMovieClip("eb1" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb1" + _root.bullets]._x = _x - 30;
_root["eb1" + _root.bullets]._y = _y + 20;
}
if (dir == 1) {
_root["eb1" + _root.bullets]._x = _x + 30;
_root["eb1" + _root.bullets]._y = _y + 20;
}
}
if ((stime > 100) and (stime < 102)) {
shoot = true;
_root.hammer1.duplicateMovieClip("eb2" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb2" + _root.bullets]._x = _x - 10;
_root["eb2" + _root.bullets]._y = _y - 70;
_root["eb2" + _root.bullets].speed = -2;
}
if (dir == 1) {
_root["eb2" + _root.bullets]._x = _x + 10;
_root["eb2" + _root.bullets]._y = _y - 70;
_root["eb2" + _root.bullets].speed = 2;
}
}
if (stime >= 110) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1006 MovieClip "hammer1" in Frame 202
onClipEvent (load) {
upt = 0;
up = true;
dn = false;
dnt = 0;
aspeed = 4;
explodet = 0;
explode = false;
}
onClipEvent (enterFrame) {
if (_name != "hammer1") {
if (!_root.pause) {
_rotation = (_rotation + 20);
_x = (_x + speed);
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
removeMovieClip(this);
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (up) {
upt++;
_y = (_y - aspeed);
if (upt >= 45) {
upt = 0;
dn = true;
up = false;
}
}
if (dn) {
_y = (_y + aspeed);
dnt++;
if (dnt >= 30) {
dn = false;
explode = true;
}
}
if (explode) {
explodet++;
gotoAndStop ("explode");
if (explodet >= 10) {
removeMovieClip(this);
}
}
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
}
}
}
Instance of Symbol 485 MovieClip "bbullet1a" in Frame 202
onClipEvent (load) {
speedx = random(5);
if (speedx == 0) {
speedx = -3;
}
if (speedx == 1) {
speedx = -4;
}
if (speedx == 2) {
speedx = -2;
}
speedy = random(4);
if (speedy == 0) {
speedy = -4;
}
if (speedy == 1) {
speedy = -3;
}
if (speedy == 2) {
speedy = -2;
}
rtime = 0;
}
onClipEvent (enterFrame) {
if (_name != "bbullet1a") {
if (!_root.pause) {
rtime++;
_y = (_y + speedy);
_x = (_x + speedx);
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 5;
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
_parent.removeMovieClip(this);
}
}
}
}
Instance of Symbol 615 MovieClip [enem] "enemybullet1" in Frame 202
onClipEvent (load) {
speed = 51;
dx = _root.player1.animate._x - _x;
dy = _root.player1.animate._y - _y;
counter = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemybullet1") {
if (!_root.pause) {
if (_root.bulletdie) {
removeMovieClip(this);
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
_rotation = (_rotation + 5);
_x = (_x + (dx / speed));
_y = (_y + (dy / speed));
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
removeMovieClip(this);
}
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
if (this.hitTest(_root.player.animate.special.poing)) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 814 MovieClip "ebar" in Frame 202
onClipEvent (load) {
if (_root.life > 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
} else {
_visible = true;
}
if (_root.life >= 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 815 MovieClip "wbar" in Frame 202
onClipEvent (load) {
if (_root.wpl > 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl > 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl > 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl > 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl > 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl > 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl > 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl > 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl > 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl > 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl > 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl > 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl > 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl > 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl > 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl > 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl > 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl > 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl > 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl > 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl > 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
}
if (!_root.pause) {
if (_root.p1) {
_visible = false;
} else {
_visible = true;
}
}
if (_root.p2) {
_root.wpl = _root.p2p;
}
if (_root.p3) {
_root.wpl = _root.p3p;
}
if (_root.p4) {
_root.wpl = _root.p4p;
}
if (_root.p5) {
_root.wpl = _root.p5p;
}
if (_root.wpl >= 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl >= 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl >= 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl >= 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl >= 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl >= 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl >= 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl >= 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl >= 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl >= 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl >= 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl >= 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl >= 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl >= 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl >= 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl >= 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl >= 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl >= 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl >= 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl >= 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl >= 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 844 MovieClip "pb" in Frame 202
onClipEvent (load) {
this.swapDepths(1900);
}
onClipEvent (enterFrame) {
if (_root.bullets >= 451) {
_root.bullets = 400;
}
if (_root.itlayer >= 620) {
_root.itlayer = 600;
}
}
Instance of Symbol 1010 MovieClip "fade1" in Frame 202
onClipEvent (load) {
this.swapDepths(2000);
}
Frame 203
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.scrollhor = true;
if (_root.striker) {
_root.attachMovie("striker1a", "player1", 99);
}
if (_root.geno) {
_root.attachMovie("geno1a", "player1", 99);
}
if (_root.nife) {
_root.attachMovie("nife1a", "player1", 99);
}
if (_root.katrin) {
_root.attachMovie("katrin1a", "player1", 99);
}
if (_root.phoenix) {
_root.attachMovie("phoenix1a", "player1", 99);
}
if (_root.kazu) {
_root.attachMovie("kazu1a", "player1", 99);
}
_quality = "low";
_root.pbtimer = 0;
_root.bullets = 400;
_root.map.black._visible = false;
_root.lessb = 1300;
_root.moreb = -2070;
_root.ubounds = 800;
_root.dbounds = 600;
_root.player1.animate._x = 180;
_root.player1.animate._y = 150;
_root.scrollvert = false;
_root.pbtimer = 0;
stop();
Instance of Symbol 1016 MovieClip "map" in Frame 203
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
_root.sec2 = _y;
_root.mapsx = _x + _width;
_root.mapsy = _y + _height;
if (_root.mapsy < 1730) {
if ((_root.mapsx < 4100) and (_root.mapsx > 3200)) {
gotoAndStop ("st1a");
}
if ((_root.mapsx < 3200) and (_root.mapsx > 2300)) {
gotoAndStop ("st1b");
}
if ((_root.mapsx < 2300) and (_root.mapsx > 1100)) {
gotoAndStop ("st1c");
}
}
if (_root.mapsx < 2930) {
if (_root.player1.animate._x > 390) {
_root.fade1.gotoAndStop("fo");
_root.player1.animate.anistop = true;
}
}
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y + _root.movespeed;
}
_y = (_y + _root.movespeed);
}
if (_root.moved) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y - _root.movespeed;
}
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 792 MovieClip in Frame 203
onClipEvent (load) {
if (_root.sound) {
gotoAndStop ("s");
}
if (!_root.sound) {
gotoAndStop ("ns");
}
}
onClipEvent (enterFrame) {
if (_root.sound) {
if (_root.levels == 1) {
gotoAndStop ("s1");
}
if (_root.levels == 2) {
gotoAndStop ("s2");
}
if (_root.levels == 3) {
gotoAndStop ("s3");
}
if (_root.levels == 4) {
gotoAndStop ("s4");
}
if (_root.levels == 4) {
gotoAndStop ("s5");
}
if (_root.levels == 6) {
gotoAndStop ("s6");
}
if (_root.levels == 7) {
gotoAndStop ("s7");
}
if (_root.levels == 8) {
gotoAndStop ("s8");
}
if (Key.isDown(77)) {
if (!m) {
_root.sound = false;
m = true;
}
} else {
m = false;
}
}
if (!_root.sound) {
gotoAndStop ("ns");
if (Key.isDown(77)) {
if (!m) {
_root.sound = true;
m = true;
}
} else {
m = false;
}
}
}
Instance of Symbol 814 MovieClip "ebar" in Frame 203
onClipEvent (load) {
if (_root.life > 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
} else {
_visible = true;
}
if (_root.life >= 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 815 MovieClip "wbar" in Frame 203
onClipEvent (load) {
if (_root.wpl > 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl > 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl > 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl > 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl > 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl > 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl > 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl > 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl > 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl > 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl > 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl > 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl > 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl > 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl > 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl > 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl > 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl > 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl > 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl > 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl > 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
}
if (!_root.pause) {
if (_root.p1) {
_visible = false;
} else {
_visible = true;
}
}
if (_root.p2) {
_root.wpl = _root.p2p;
}
if (_root.p3) {
_root.wpl = _root.p3p;
}
if (_root.p4) {
_root.wpl = _root.p4p;
}
if (_root.p5) {
_root.wpl = _root.p5p;
}
if (_root.wpl >= 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl >= 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl >= 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl >= 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl >= 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl >= 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl >= 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl >= 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl >= 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl >= 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl >= 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl >= 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl >= 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl >= 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl >= 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl >= 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl >= 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl >= 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl >= 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl >= 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl >= 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 1024 MovieClip "e1" in Frame 203
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 83) and (stime < 85)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 87) and (stime < 89)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 91) and (stime < 93)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 94) and (stime < 96)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime >= 110) and (stime < 113)) {
shoot = false;
}
if (stime >= 200) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1024 MovieClip "e3" in Frame 203
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 83) and (stime < 85)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 87) and (stime < 89)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 91) and (stime < 93)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 94) and (stime < 96)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime >= 110) and (stime < 113)) {
shoot = false;
}
if (stime >= 200) {
stime = 0;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
if (!itatt) {
attit = random(3);
if (attit == 1) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1024 MovieClip "e4" in Frame 203
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 83) and (stime < 85)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 87) and (stime < 89)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 91) and (stime < 93)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 94) and (stime < 96)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime >= 110) and (stime < 113)) {
shoot = false;
}
if (stime >= 200) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1024 MovieClip "e8" in Frame 203
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 83) and (stime < 85)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 87) and (stime < 89)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 91) and (stime < 93)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 94) and (stime < 96)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime >= 110) and (stime < 113)) {
shoot = false;
}
if (stime >= 200) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(6);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1024 MovieClip "e12" in Frame 203
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 83) and (stime < 85)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 87) and (stime < 89)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 91) and (stime < 93)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 94) and (stime < 96)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime >= 110) and (stime < 113)) {
shoot = false;
}
if (stime >= 200) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(4);
if (attit == 2) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1000 MovieClip "e14" in Frame 203
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 10;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
_root.enemybullet1.duplicateMovieClip("eb1" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb1" + _root.bullets]._x = _x - 30;
_root["eb1" + _root.bullets]._y = _y + 20;
}
if (dir == 1) {
_root["eb1" + _root.bullets]._x = _x + 30;
_root["eb1" + _root.bullets]._y = _y + 20;
}
}
if ((stime > 100) and (stime < 102)) {
shoot = true;
_root.hammer1.duplicateMovieClip("eb2" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb2" + _root.bullets]._x = _x - 10;
_root["eb2" + _root.bullets]._y = _y - 70;
_root["eb2" + _root.bullets].speed = -2;
}
if (dir == 1) {
_root["eb2" + _root.bullets]._x = _x + 10;
_root["eb2" + _root.bullets]._y = _y - 70;
_root["eb2" + _root.bullets].speed = 2;
}
}
if (stime >= 110) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e5" in Frame 203
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e10" in Frame 203
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e15" in Frame 203
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e16" in Frame 203
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e13" in Frame 203
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(5);
if (attit == 4) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1024 MovieClip "e17" in Frame 203
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 83) and (stime < 85)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 87) and (stime < 89)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 91) and (stime < 93)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 94) and (stime < 96)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime >= 110) and (stime < 113)) {
shoot = false;
}
if (stime >= 200) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e6" in Frame 203
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = 5;
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1024 MovieClip "e9" in Frame 203
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 83) and (stime < 85)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 87) and (stime < 89)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 91) and (stime < 93)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 94) and (stime < 96)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime >= 110) and (stime < 113)) {
shoot = false;
}
if (stime >= 200) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e2" in Frame 203
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e7" in Frame 203
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e11" in Frame 203
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 485 MovieClip "bbullet1a" in Frame 203
onClipEvent (load) {
speedx = random(5);
if (speedx == 0) {
speedx = -3;
}
if (speedx == 1) {
speedx = -4;
}
if (speedx == 2) {
speedx = -2;
}
speedy = random(4);
if (speedy == 0) {
speedy = -4;
}
if (speedy == 1) {
speedy = -3;
}
if (speedy == 2) {
speedy = -2;
}
rtime = 0;
}
onClipEvent (enterFrame) {
if (_name != "bbullet1a") {
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
rtime++;
_y = (_y + speedy);
_x = (_x + speedx);
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 5;
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
_parent.removeMovieClip(this);
}
}
}
}
Instance of Symbol 615 MovieClip [enem] "enemybullet1" in Frame 203
onClipEvent (load) {
speed = 51;
dx = _root.player1.animate._x - _x;
dy = _root.player1.animate._y - _y;
counter = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemybullet1") {
if (!_root.pause) {
if (_root.bulletdie) {
removeMovieClip(this);
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
_rotation = (_rotation + 5);
_x = (_x + (dx / speed));
_y = (_y + (dy / speed));
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
removeMovieClip(this);
}
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
if (this.hitTest(_root.player.animate.special.poing)) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 1006 MovieClip "hammer1" in Frame 203
onClipEvent (load) {
upt = 0;
up = true;
dn = false;
dnt = 0;
aspeed = 4;
explodet = 0;
explode = false;
}
onClipEvent (enterFrame) {
if (_name != "hammer1") {
if (!_root.pause) {
_rotation = (_rotation + 20);
_x = (_x + speed);
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
removeMovieClip(this);
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (up) {
upt++;
_y = (_y - aspeed);
if (upt >= 20) {
upt = 0;
dn = true;
up = false;
}
}
if (dn) {
_y = (_y + aspeed);
dnt++;
if (dnt >= 35) {
dn = false;
explode = true;
}
}
if (explode) {
explodet++;
gotoAndStop ("explode");
if (explodet >= 10) {
removeMovieClip(this);
}
}
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
}
}
}
Instance of Symbol 844 MovieClip "pb" in Frame 203
onClipEvent (load) {
this.swapDepths(1900);
}
onClipEvent (enterFrame) {
if (_root.bullets >= 451) {
_root.bullets = 400;
}
if (_root.itlayer >= 620) {
_root.itlayer = 600;
}
}
Instance of Symbol 1028 MovieClip "fade1" in Frame 203
onClipEvent (load) {
this.swapDepths(2000);
}
Frame 204
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.scrollhor = true;
_root.sub1 = false;
_root.sub2 = true;
_root.sub3 = false;
if (_root.striker) {
_root.attachMovie("striker1a", "player1", 99);
}
if (_root.geno) {
_root.attachMovie("geno1a", "player1", 99);
}
if (_root.nife) {
_root.attachMovie("nife1a", "player1", 99);
}
if (_root.katrin) {
_root.attachMovie("katrin1a", "player1", 99);
}
if (_root.phoenix) {
_root.attachMovie("phoenix1a", "player1", 99);
}
if (_root.kazu) {
_root.attachMovie("kazu1a", "player1", 99);
}
_quality = "low";
_root.pbtimer = 0;
_root.bullets = 400;
_root.map.black._visible = false;
_root.lessb = 1500;
_root.moreb = -2350;
_root.ubounds = 800;
_root.dbounds = 600;
_root.player1.animate._x = 180;
_root.player1.animate._y = 150;
_root.scrollvert = false;
_root.pbtimer = 0;
stop();
Instance of Symbol 1036 MovieClip "map" in Frame 204
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
_root.sec2 = _y;
_root.mapsx = _x + _width;
_root.mapsy = _y + _height;
if (_root.mapsy < 1730) {
if ((_root.mapsx < 6500) and (_root.mapsx > 5000)) {
gotoAndStop ("st1a");
}
if ((_root.mapsx < 5000) and (_root.mapsx > 4000)) {
gotoAndStop ("st1b");
}
if (_root.mapsx < 4000) {
gotoAndStop ("st1c");
}
}
if (_root.mapsx < 3200) {
if (_root.player1.animate._x > 395) {
_root.fade1.gotoAndStop(2);
_root.player1.animate.anistop = true;
}
}
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y + _root.movespeed;
}
_y = (_y + _root.movespeed);
}
if (_root.moved) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y - _root.movespeed;
}
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 792 MovieClip in Frame 204
onClipEvent (load) {
if (_root.sound) {
gotoAndStop ("s");
}
if (!_root.sound) {
gotoAndStop ("ns");
}
}
onClipEvent (enterFrame) {
if (_root.sound) {
if (_root.levels == 1) {
gotoAndStop ("s1");
}
if (_root.levels == 2) {
gotoAndStop ("s2");
}
if (_root.levels == 3) {
gotoAndStop ("s3");
}
if (_root.levels == 4) {
gotoAndStop ("s4");
}
if (_root.levels == 4) {
gotoAndStop ("s5");
}
if (_root.levels == 6) {
gotoAndStop ("s6");
}
if (_root.levels == 7) {
gotoAndStop ("s7");
}
if (_root.levels == 8) {
gotoAndStop ("s8");
}
if (Key.isDown(77)) {
if (!m) {
_root.sound = false;
m = true;
}
} else {
m = false;
}
}
if (!_root.sound) {
gotoAndStop ("ns");
if (Key.isDown(77)) {
if (!m) {
_root.sound = true;
m = true;
}
} else {
m = false;
}
}
}
Instance of Symbol 814 MovieClip "ebar" in Frame 204
onClipEvent (load) {
if (_root.life > 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
} else {
_visible = true;
}
if (_root.life >= 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 815 MovieClip "wbar" in Frame 204
onClipEvent (load) {
if (_root.wpl > 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl > 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl > 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl > 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl > 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl > 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl > 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl > 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl > 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl > 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl > 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl > 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl > 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl > 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl > 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl > 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl > 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl > 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl > 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl > 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl > 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
}
if (!_root.pause) {
if (_root.p1) {
_visible = false;
} else {
_visible = true;
}
}
if (_root.p2) {
_root.wpl = _root.p2p;
}
if (_root.p3) {
_root.wpl = _root.p3p;
}
if (_root.p4) {
_root.wpl = _root.p4p;
}
if (_root.p5) {
_root.wpl = _root.p5p;
}
if (_root.wpl >= 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl >= 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl >= 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl >= 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl >= 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl >= 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl >= 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl >= 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl >= 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl >= 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl >= 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl >= 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl >= 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl >= 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl >= 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl >= 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl >= 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl >= 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl >= 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl >= 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl >= 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 992 MovieClip "e1" in Frame 204
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e3" in Frame 204
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(4);
if (attit == 3) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e4" in Frame 204
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(3);
if (attit == 2) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e5" in Frame 204
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e7" in Frame 204
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(4);
if (attit == 3) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e8" in Frame 204
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e10" in Frame 204
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e9" in Frame 204
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1000 MovieClip "e11" in Frame 204
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 10;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
_root.enemybullet1.duplicateMovieClip("eb1" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb1" + _root.bullets]._x = _x - 30;
_root["eb1" + _root.bullets]._y = _y + 20;
}
if (dir == 1) {
_root["eb1" + _root.bullets]._x = _x + 30;
_root["eb1" + _root.bullets]._y = _y + 20;
}
}
if ((stime > 100) and (stime < 102)) {
shoot = true;
_root.hammer1.duplicateMovieClip("eb2" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb2" + _root.bullets]._x = _x - 10;
_root["eb2" + _root.bullets]._y = _y - 70;
_root["eb2" + _root.bullets].speed = -2;
}
if (dir == 1) {
_root["eb2" + _root.bullets]._x = _x + 10;
_root["eb2" + _root.bullets]._y = _y - 70;
_root["eb2" + _root.bullets].speed = 2;
}
}
if (stime >= 110) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1000 MovieClip "e12" in Frame 204
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 10;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
_root.enemybullet1.duplicateMovieClip("eb1" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb1" + _root.bullets]._x = _x - 30;
_root["eb1" + _root.bullets]._y = _y + 20;
}
if (dir == 1) {
_root["eb1" + _root.bullets]._x = _x + 30;
_root["eb1" + _root.bullets]._y = _y + 20;
}
}
if ((stime > 100) and (stime < 102)) {
shoot = true;
_root.hammer1.duplicateMovieClip("eb2" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb2" + _root.bullets]._x = _x - 10;
_root["eb2" + _root.bullets]._y = _y - 70;
_root["eb2" + _root.bullets].speed = -2;
}
if (dir == 1) {
_root["eb2" + _root.bullets]._x = _x + 10;
_root["eb2" + _root.bullets]._y = _y - 70;
_root["eb2" + _root.bullets].speed = 2;
}
}
if (stime >= 110) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1024 MovieClip "e2" in Frame 204
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 83) and (stime < 85)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 87) and (stime < 89)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 91) and (stime < 93)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 94) and (stime < 96)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime >= 110) and (stime < 113)) {
shoot = false;
}
if (stime >= 200) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1000 MovieClip "e6" in Frame 204
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 10;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
_root.enemybullet1.duplicateMovieClip("eb1" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb1" + _root.bullets]._x = _x - 30;
_root["eb1" + _root.bullets]._y = _y + 20;
}
if (dir == 1) {
_root["eb1" + _root.bullets]._x = _x + 30;
_root["eb1" + _root.bullets]._y = _y + 20;
}
}
if ((stime > 100) and (stime < 102)) {
shoot = true;
_root.hammer1.duplicateMovieClip("eb2" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb2" + _root.bullets]._x = _x - 10;
_root["eb2" + _root.bullets]._y = _y - 70;
_root["eb2" + _root.bullets].speed = -2;
}
if (dir == 1) {
_root["eb2" + _root.bullets]._x = _x + 10;
_root["eb2" + _root.bullets]._y = _y - 70;
_root["eb2" + _root.bullets].speed = 2;
}
}
if (stime >= 110) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 485 MovieClip "bbullet1a" in Frame 204
onClipEvent (load) {
speedx = random(5);
if (speedx == 0) {
speedx = -3;
}
if (speedx == 1) {
speedx = -4;
}
if (speedx == 2) {
speedx = -2;
}
speedy = random(4);
if (speedy == 0) {
speedy = -4;
}
if (speedy == 1) {
speedy = -3;
}
if (speedy == 2) {
speedy = -2;
}
rtime = 0;
}
onClipEvent (enterFrame) {
if (_name != "bbullet1a") {
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
rtime++;
_y = (_y + speedy);
_x = (_x + speedx);
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 5;
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
_parent.removeMovieClip(this);
}
}
}
}
Instance of Symbol 615 MovieClip [enem] "enemybullet1" in Frame 204
onClipEvent (load) {
speed = 51;
dx = _root.player1.animate._x - _x;
dy = _root.player1.animate._y - _y;
counter = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemybullet1") {
if (!_root.pause) {
if (_root.bulletdie) {
removeMovieClip(this);
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
_rotation = (_rotation + 5);
_x = (_x + (dx / speed));
_y = (_y + (dy / speed));
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
removeMovieClip(this);
}
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
if (this.hitTest(_root.player.animate.special.poing)) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 1006 MovieClip "hammer1" in Frame 204
onClipEvent (load) {
upt = 0;
up = true;
dn = false;
dnt = 0;
aspeed = 4;
explodet = 0;
explode = false;
}
onClipEvent (enterFrame) {
if (_name != "hammer1") {
if (!_root.pause) {
_rotation = (_rotation + 20);
_x = (_x + speed);
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
removeMovieClip(this);
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (up) {
upt++;
_y = (_y - aspeed);
if (upt >= 20) {
upt = 0;
dn = true;
up = false;
}
}
if (dn) {
_y = (_y + aspeed);
dnt++;
if (dnt >= 35) {
dn = false;
explode = true;
}
}
if (explode) {
explodet++;
gotoAndStop ("explode");
if (explodet >= 10) {
removeMovieClip(this);
}
}
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
}
}
}
Instance of Symbol 844 MovieClip "pb" in Frame 204
onClipEvent (load) {
this.swapDepths(1900);
}
onClipEvent (enterFrame) {
if (_root.bullets >= 451) {
_root.bullets = 400;
}
if (_root.itlayer >= 620) {
_root.itlayer = 600;
}
}
Instance of Symbol 1040 MovieClip "fade1" in Frame 204
onClipEvent (load) {
this.swapDepths(2000);
}
Frame 205
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.scrollhor = true;
if (_root.striker) {
_root.attachMovie("striker1a", "player1", 99);
}
if (_root.geno) {
_root.attachMovie("geno1a", "player1", 99);
}
if (_root.nife) {
_root.attachMovie("nife1a", "player1", 99);
}
if (_root.katrin) {
_root.attachMovie("katrin1a", "player1", 99);
}
if (_root.phoenix) {
_root.attachMovie("phoenix1a", "player1", 99);
}
if (_root.kazu) {
_root.attachMovie("kazu1a", "player1", 99);
}
_quality = "low";
_root.pbtimer = 0;
_root.levels = 2;
_root.bullets = 400;
_root.map.black._visible = false;
_root.lessb = 2500;
_root.moreb = -2200;
_root.ubounds = 800;
_root.dbounds = 600;
_root.player1.animate._x = 180;
_root.player1.animate._y = 150;
_root.scrollvert = false;
_root.pbtimer = 0;
stop();
Instance of Symbol 1048 MovieClip "map" in Frame 205
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
_root.sec2 = _y;
_root.mapsx = _x + _width;
_root.mapsy = _y + _height;
if (_root.mapsy < 1730) {
if ((_root.mapsx < 9000) and (_root.mapsx > 6500)) {
gotoAndStop ("st1a");
}
if ((_root.mapsx < 6500) and (_root.mapsx > 4000)) {
gotoAndStop ("st1b");
}
if ((_root.mapsx < 4000) and (_root.mapsx > 1100)) {
gotoAndStop ("st1c");
}
}
if (_root.mapsx < 3000) {
if (_root.player1.animate._x > 395) {
_root.fade1.gotoAndStop(2);
_root.player1.animate.anistop = true;
}
}
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y + _root.movespeed;
}
_y = (_y + _root.movespeed);
}
if (_root.moved) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y - _root.movespeed;
}
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e5" in Frame 205
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(6);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e6" in Frame 205
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 792 MovieClip in Frame 205
onClipEvent (load) {
if (_root.sound) {
gotoAndStop ("s");
}
if (!_root.sound) {
gotoAndStop ("ns");
}
}
onClipEvent (enterFrame) {
if (_root.sound) {
if (_root.levels == 1) {
gotoAndStop ("s1");
}
if (_root.levels == 2) {
gotoAndStop ("s2");
}
if (_root.levels == 3) {
gotoAndStop ("s3");
}
if (_root.levels == 4) {
gotoAndStop ("s4");
}
if (_root.levels == 4) {
gotoAndStop ("s5");
}
if (_root.levels == 6) {
gotoAndStop ("s6");
}
if (_root.levels == 7) {
gotoAndStop ("s7");
}
if (_root.levels == 8) {
gotoAndStop ("s8");
}
if (Key.isDown(77)) {
if (!m) {
_root.sound = false;
m = true;
}
} else {
m = false;
}
}
if (!_root.sound) {
gotoAndStop ("ns");
if (Key.isDown(77)) {
if (!m) {
_root.sound = true;
m = true;
}
} else {
m = false;
}
}
}
Instance of Symbol 814 MovieClip "ebar" in Frame 205
onClipEvent (load) {
if (_root.life > 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
} else {
_visible = true;
}
if (_root.life >= 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 815 MovieClip "wbar" in Frame 205
onClipEvent (load) {
if (_root.wpl > 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl > 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl > 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl > 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl > 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl > 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl > 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl > 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl > 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl > 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl > 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl > 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl > 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl > 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl > 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl > 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl > 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl > 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl > 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl > 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl > 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
}
if (!_root.pause) {
if (_root.p1) {
_visible = false;
} else {
_visible = true;
}
}
if (_root.p2) {
_root.wpl = _root.p2p;
}
if (_root.p3) {
_root.wpl = _root.p3p;
}
if (_root.p4) {
_root.wpl = _root.p4p;
}
if (_root.p5) {
_root.wpl = _root.p5p;
}
if (_root.wpl >= 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl >= 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl >= 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl >= 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl >= 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl >= 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl >= 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl >= 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl >= 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl >= 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl >= 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl >= 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl >= 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl >= 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl >= 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl >= 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl >= 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl >= 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl >= 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl >= 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl >= 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 992 MovieClip "e1" in Frame 205
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e2" in Frame 205
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e3" in Frame 205
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e4" in Frame 205
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(3);
if (attit == 2) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e7" in Frame 205
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e8" in Frame 205
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1024 MovieClip "e9" in Frame 205
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 83) and (stime < 85)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 87) and (stime < 89)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 91) and (stime < 93)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 94) and (stime < 96)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime >= 110) and (stime < 113)) {
shoot = false;
}
if (stime >= 200) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1024 MovieClip "e10" in Frame 205
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 83) and (stime < 85)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 87) and (stime < 89)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 91) and (stime < 93)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 94) and (stime < 96)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime >= 110) and (stime < 113)) {
shoot = false;
}
if (stime >= 200) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(3);
if (attit == 1) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1024 MovieClip "e11" in Frame 205
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 83) and (stime < 85)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 87) and (stime < 89)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 91) and (stime < 93)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime > 94) and (stime < 96)) {
shoot = true;
_root.bbullet1a.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if ((stime >= 110) and (stime < 113)) {
shoot = false;
}
if (stime >= 200) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 992 MovieClip "e12" in Frame 205
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 485 MovieClip "bbullet1a" in Frame 205
onClipEvent (load) {
speedx = random(5);
if (speedx == 0) {
speedx = -3;
}
if (speedx == 1) {
speedx = -4;
}
if (speedx == 2) {
speedx = -2;
}
speedy = random(4);
if (speedy == 0) {
speedy = -4;
}
if (speedy == 1) {
speedy = -3;
}
if (speedy == 2) {
speedy = -2;
}
rtime = 0;
}
onClipEvent (enterFrame) {
if (_name != "bbullet1a") {
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
rtime++;
_y = (_y + speedy);
_x = (_x + speedx);
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 5;
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
_parent.removeMovieClip(this);
}
}
}
}
Instance of Symbol 615 MovieClip [enem] "enemybullet1" in Frame 205
onClipEvent (load) {
speed = 51;
dx = _root.player1.animate._x - _x;
dy = _root.player1.animate._y - _y;
counter = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemybullet1") {
if (!_root.pause) {
if (_root.bulletdie) {
removeMovieClip(this);
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
_rotation = (_rotation + 5);
_x = (_x + (dx / speed));
_y = (_y + (dy / speed));
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
removeMovieClip(this);
}
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
if (this.hitTest(_root.player.animate.special.poing)) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 1006 MovieClip "hammer1" in Frame 205
onClipEvent (load) {
upt = 0;
up = true;
dn = false;
dnt = 0;
aspeed = 4;
explodet = 0;
explode = false;
}
onClipEvent (enterFrame) {
if (_name != "hammer1") {
if (!_root.pause) {
_rotation = (_rotation + 20);
_x = (_x + speed);
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
removeMovieClip(this);
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (up) {
upt++;
_y = (_y - aspeed);
if (upt >= 20) {
upt = 0;
dn = true;
up = false;
}
}
if (dn) {
_y = (_y + aspeed);
dnt++;
if (dnt >= 35) {
dn = false;
explode = true;
}
}
if (explode) {
explodet++;
gotoAndStop ("explode");
if (explodet >= 10) {
removeMovieClip(this);
}
}
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
}
}
}
Instance of Symbol 844 MovieClip "pb" in Frame 205
onClipEvent (load) {
this.swapDepths(1900);
}
onClipEvent (enterFrame) {
if (_root.bullets >= 451) {
_root.bullets = 400;
}
if (_root.itlayer >= 620) {
_root.itlayer = 600;
}
}
Instance of Symbol 1052 MovieClip "fade1" in Frame 205
onClipEvent (load) {
this.swapDepths(2000);
}
Frame 206
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.scrollhor = true;
_root.sub1 = false;
_root.sub2 = false;
_root.sub3 = true;
if (_root.striker) {
_root.attachMovie("striker1a", "player1", 99);
}
if (_root.geno) {
_root.attachMovie("geno1a", "player1", 99);
}
if (_root.nife) {
_root.attachMovie("nife1a", "player1", 99);
}
if (_root.katrin) {
_root.attachMovie("katrin1a", "player1", 99);
}
if (_root.phoenix) {
_root.attachMovie("phoenix1a", "player1", 99);
}
if (_root.kazu) {
_root.attachMovie("kazu1a", "player1", 99);
}
_quality = "low";
_root.pbtimer = 0;
_root.levels = 10;
_root.bullets = 400;
_root.map.black._visible = false;
_root.lessb = 600;
_root.moreb = -300;
_root.player1.animate._x = 180;
_root.player1.animate._y = 150;
_root.scrollvert = false;
_root.pbtimer = 0;
stop();
Instance of Symbol 1055 MovieClip "map" in Frame 206
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
}
}
Instance of Symbol 1060 MovieClip "boss1" in Frame 206
onClipEvent (load) {
speed = 1;
shoot = false;
stime = 0;
dead = false;
deadt = 0;
life = 70;
goafter = false;
goaftert = 0;
getaway = false;
getawayt = 0;
bandf = true;
bandft = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (!dead) {
gotoAndStop ("nd");
stime++;
if (goafter) {
if (_x >= _root.player1.animate._x) {
_x = (_x - (speed + 2));
}
if (_x <= _root.player1.animate._x) {
_x = (_x + (speed + 2));
}
if (_y >= _root.player1.animate._y) {
_y = (_y - (speed + 2));
}
if (_y <= _root.player1.animate._y) {
_y = (_y + (speed + 2));
}
goaftert++;
if (goaftert >= 100) {
goaftert = 0;
sa = random(2);
if (sa == 0) {
getaway = true;
bandf = false;
goafter = false;
}
if (sa == 1) {
getaway = false;
bandf = true;
goafter = false;
}
}
}
if (bandf) {
bandft++;
if (_x >= (_root.player1.animate._x + 50)) {
_x = (_x - speed);
}
if (_x <= (_root.player1.animate._x + 50)) {
_x = (_x + speed);
}
if (_y >= (_root.player1.animate._y - 100)) {
_y = (_y - speed);
}
if (_y <= (_root.player1.animate._y - 100)) {
_y = (_y + speed);
}
if (bandft >= 300) {
bandft = 0;
sa = random(2);
if (sa == 0) {
getaway = false;
goafter = true;
bandf = false;
}
if (sa == 1) {
getaway = true;
goafter = false;
bandf = false;
}
}
}
if (getaway) {
getawayt++;
if (_x >= (_root.player1.animate._x - 200)) {
_x = (_x - speed);
}
if (_x <= (_root.player1.animate._x - 200)) {
_x = (_x + speed);
}
if (_y >= (_root.player1.animate._y - 200)) {
_y = (_y - speed);
}
if (_y <= (_root.player1.animate._y - 200)) {
_y = (_y + speed);
}
if (getawayt >= 150) {
getawayt = 0;
sa = random(2);
if (sa == 0) {
goafter = true;
bandf = false;
getaway = false;
}
if (sa == 1) {
goafter = true;
bandf = false;
getaway = false;
}
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 65) and (stime < 67)) {
if (!_root.e9.animate.live) {
_root.attachMovie("scythe1a", "e9", 501);
}
}
if ((stime >= 80) and (stime < 82)) {
if (!_root.e10.animate.live) {
_root.attachMovie("scythe1a", "e10", 502);
}
}
if ((stime >= 100) and (stime < 102)) {
if (!_root.e11.animate.live) {
_root.attachMovie("scythe1a", "e11", 500);
}
}
if ((stime > 150) and (stime < 152)) {
if (!_root.e12.animate.live) {
_root.attachMovie("scythe1a", "e12", 503);
}
}
if ((stime > 200) and (stime < 202)) {
if (!_root.e13.animate.live) {
_root.attachMovie("scythe1a", "e13", 504);
}
}
if (stime >= 205) {
stime = 0;
}
}
if (dead) {
mySharedObject = SharedObject.getLocal("6bit");
mySharedObject.data.st2pass = true;
_root.st2pass = true;
deadt++;
_root.deatht = deadt;
hitcolor.setTransform(oldColor);
gotoAndStop ("dead");
if (deadt >= 350) {
_root.fade1.gotoAndStop("fadeout");
}
}
}
}
Instance of Symbol 615 MovieClip [enem] "enemybullet1" in Frame 206
onClipEvent (load) {
speed = 51;
dx = _root.player1.animate._x - _x;
dy = _root.player1.animate._y - _y;
counter = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemybullet1") {
if (!_root.pause) {
if (_root.bulletdie) {
removeMovieClip(this);
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
_rotation = (_rotation + 5);
_x = (_x + (dx / speed));
_y = (_y + (dy / speed));
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
removeMovieClip(this);
}
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
if (this.hitTest(_root.player.animate.special.poing)) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 814 MovieClip "ebar" in Frame 206
onClipEvent (load) {
if (_root.life > 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
} else {
_visible = true;
}
if (_root.life >= 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 815 MovieClip "wbar" in Frame 206
onClipEvent (load) {
if (_root.wpl > 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl > 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl > 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl > 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl > 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl > 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl > 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl > 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl > 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl > 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl > 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl > 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl > 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl > 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl > 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl > 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl > 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl > 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl > 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl > 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl > 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
}
if (!_root.pause) {
if (_root.p1) {
_visible = false;
} else {
_visible = true;
}
}
if (_root.p2) {
_root.wpl = _root.p2p;
}
if (_root.p3) {
_root.wpl = _root.p3p;
}
if (_root.p4) {
_root.wpl = _root.p4p;
}
if (_root.p5) {
_root.wpl = _root.p5p;
}
if (_root.wpl >= 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl >= 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl >= 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl >= 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl >= 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl >= 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl >= 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl >= 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl >= 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl >= 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl >= 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl >= 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl >= 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl >= 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl >= 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl >= 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl >= 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl >= 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl >= 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl >= 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl >= 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 792 MovieClip in Frame 206
onClipEvent (load) {
if (_root.sound) {
gotoAndStop ("s");
}
if (!_root.sound) {
gotoAndStop ("ns");
}
}
onClipEvent (enterFrame) {
if (_root.bullets >= 351) {
_root.bullets = 300;
}
if (_root.enemylayer >= 270) {
_root.enemylayer = 250;
}
if (_root.sound) {
if (_root.levels == 1) {
gotoAndStop ("s1");
}
if (_root.levels == 2) {
gotoAndStop ("s2");
}
if (_root.levels == 3) {
gotoAndStop ("s3");
}
if (_root.levels == 4) {
gotoAndStop ("s4");
}
if (_root.levels == 4) {
gotoAndStop ("s5");
}
if (_root.levels == 6) {
gotoAndStop ("s6");
}
if (_root.levels == 7) {
gotoAndStop ("s7");
}
if (_root.levels == 8) {
gotoAndStop ("s8");
}
if (_root.levels == 9) {
gotoAndStop ("s9");
}
if (_root.levels == 10) {
gotoAndStop ("s10");
}
if (Key.isDown(77)) {
if (!m) {
_root.sound = false;
m = true;
}
} else {
m = false;
}
}
if (!_root.sound) {
gotoAndStop ("ns");
if (Key.isDown(77)) {
if (!m) {
_root.sound = true;
m = true;
}
} else {
m = false;
}
}
}
Instance of Symbol 844 MovieClip "pb" in Frame 206
onClipEvent (load) {
this.swapDepths(1900);
}
onClipEvent (enterFrame) {
if (_root.bullets >= 451) {
_root.bullets = 400;
}
if (_root.itlayer >= 620) {
_root.itlayer = 600;
}
}
Instance of Symbol 1064 MovieClip "fade1" in Frame 206
onClipEvent (load) {
this.swapDepths(2000);
}
Frame 207
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.scrollhor = true;
_root.sub1 = true;
_root.sub2 = false;
_root.sub3 = false;
if (_root.striker) {
_root.attachMovie("striker1a", "player1", 99);
}
if (_root.geno) {
_root.attachMovie("geno1a", "player1", 99);
}
if (_root.nife) {
_root.attachMovie("nife1a", "player1", 99);
}
if (_root.katrin) {
_root.attachMovie("katrin1a", "player1", 99);
}
if (_root.phoenix) {
_root.attachMovie("phoenix1a", "player1", 99);
}
if (_root.kazu) {
_root.attachMovie("kazu1a", "player1", 99);
}
_quality = "low";
_root.levels = 3;
_root.pbtimer = 0;
_root.bullets = 400;
_root.map.black._visible = false;
_root.lessb = 1500;
_root.moreb = -1200;
_root.ubounds = 3800;
_root.dbounds = -1100;
_root.player1.animate._x = 180;
_root.player1.animate._y = 150;
_root.scrollvert = true;
_root.sound = true;
_root.pbtimer = 0;
stop();
Instance of Symbol 1074 MovieClip "map" in Frame 207
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
_root.sec2 = _y;
_root.mapsx = _x + _width;
_root.mapsy = _y + _height;
if ((_root.mapsx < 5100) and (_root.mapsx > 4000)) {
gotoAndStop ("st1a");
}
if ((_root.mapsx < 4000) and (_root.mapsx > 3100)) {
gotoAndStop ("st1b");
}
if ((_root.mapsx < 3100) and (_root.mapsx > 1100)) {
gotoAndStop ("st1c");
}
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y + _root.movespeed;
}
_y = (_y + _root.movespeed);
}
if (_root.moved) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y - _root.movespeed;
}
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 792 MovieClip in Frame 207
onClipEvent (load) {
if (_root.sound) {
gotoAndStop ("s");
}
if (!_root.sound) {
gotoAndStop ("ns");
}
}
onClipEvent (enterFrame) {
if (_root.sound) {
if (_root.levels == 1) {
gotoAndStop ("s1");
}
if (_root.levels == 2) {
gotoAndStop ("s2");
}
if (_root.levels == 3) {
gotoAndStop ("s3");
}
if (_root.levels == 4) {
gotoAndStop ("s4");
}
if (_root.levels == 4) {
gotoAndStop ("s5");
}
if (_root.levels == 6) {
gotoAndStop ("s6");
}
if (_root.levels == 7) {
gotoAndStop ("s7");
}
if (_root.levels == 8) {
gotoAndStop ("s8");
}
if (Key.isDown(77)) {
if (!m) {
_root.sound = false;
m = true;
}
} else {
m = false;
}
}
if (!_root.sound) {
gotoAndStop ("ns");
if (Key.isDown(77)) {
if (!m) {
_root.sound = true;
m = true;
}
} else {
m = false;
}
}
}
Instance of Symbol 814 MovieClip "ebar" in Frame 207
onClipEvent (load) {
if (_root.life > 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
} else {
_visible = true;
}
if (_root.life >= 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 815 MovieClip "wbar" in Frame 207
onClipEvent (load) {
if (_root.wpl > 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl > 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl > 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl > 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl > 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl > 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl > 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl > 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl > 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl > 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl > 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl > 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl > 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl > 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl > 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl > 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl > 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl > 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl > 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl > 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl > 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
}
if (!_root.pause) {
if (_root.p1) {
_visible = false;
} else {
_visible = true;
}
}
if (_root.p2) {
_root.wpl = _root.p2p;
}
if (_root.p3) {
_root.wpl = _root.p3p;
}
if (_root.p4) {
_root.wpl = _root.p4p;
}
if (_root.p5) {
_root.wpl = _root.p5p;
}
if (_root.wpl >= 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl >= 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl >= 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl >= 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl >= 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl >= 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl >= 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl >= 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl >= 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl >= 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl >= 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl >= 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl >= 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl >= 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl >= 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl >= 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl >= 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl >= 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl >= 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl >= 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl >= 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 1076 MovieClip in Frame 207
onClipEvent (load) {
shoott = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
shoott++;
if ((_root.mapsy > 2800) and (_root.mapsy < 4075)) {
if ((shoott > 20) and (shoott < 22)) {
if (!_root.e9.animate.attach) {
_root.attachMovie("soldier1a", "e9", 451);
_root.e9.animate._x = 150;
_root.e9.animate._y = -50;
shoott = 0;
go = true;
xpoint = random(3);
shoot = false;
}
}
if ((shoott > 40) and (shoott < 42)) {
if (!_root.e10.animate.attach) {
_root.attachMovie("soldier1a", "e10", 452);
_root.e10.animate._x = 200;
_root.e10.animate._y = -50;
shoott = 0;
go = true;
xpoint = random(3);
shoot = false;
}
}
if ((shoott > 60) and (shoott < 62)) {
if (!_root.e11.animate.attach) {
_root.attachMovie("soldier1a", "e11", 453);
_root.e11.animate._x = 100;
_root.e11.animate._y = -50;
shoott = 0;
go = true;
xpoint = random(3);
shoot = false;
}
}
if (shoott > 100) {
shoott = 0;
go = true;
xpoint = random(3);
shoot = false;
}
}
}
}
Instance of Symbol 615 MovieClip [enem] "enemybullet1" in Frame 207
onClipEvent (load) {
speed = 51;
dx = _root.player1.animate._x - _x;
dy = _root.player1.animate._y - _y;
counter = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemybullet1") {
if (!_root.pause) {
if (_root.bulletdie) {
removeMovieClip(this);
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
_rotation = (_rotation + 5);
_x = (_x + (dx / speed));
_y = (_y + (dy / speed));
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
removeMovieClip(this);
}
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
if (this.hitTest(_root.player.animate.special.poing)) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 844 MovieClip "pb" in Frame 207
onClipEvent (load) {
this.swapDepths(1900);
}
onClipEvent (enterFrame) {
if (_root.bullets >= 451) {
_root.bullets = 400;
}
if (_root.itlayer >= 620) {
_root.itlayer = 600;
}
}
Instance of Symbol 1080 MovieClip "fade1" in Frame 207
onClipEvent (load) {
this.swapDepths(2000);
}
Frame 208
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.scrollhor = true;
if (_root.striker) {
_root.attachMovie("striker1a", "player1", 99);
}
if (_root.geno) {
_root.attachMovie("geno1a", "player1", 99);
}
if (_root.nife) {
_root.attachMovie("nife1a", "player1", 99);
}
if (_root.katrin) {
_root.attachMovie("katrin1a", "player1", 99);
}
if (_root.phoenix) {
_root.attachMovie("phoenix1a", "player1", 99);
}
if (_root.kazu) {
_root.attachMovie("kazu1a", "player1", 99);
}
_quality = "low";
_root.levels = 3;
_root.pbtimer = 0;
_root.bullets = 400;
_root.map.black._visible = false;
_root.lessb = 3000;
_root.moreb = -2100;
_root.ubounds = 3200;
_root.dbounds = -2000;
_root.player1.animate._x = 180;
_root.player1.animate._y = 150;
_root.scrollvert = true;
_root.sound = true;
_root.pbtimer = 0;
stop();
Instance of Symbol 1091 MovieClip "map" in Frame 208
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
_root.sec2 = _y;
_root.mapsx = _x + _width;
_root.mapsy = _y + _height;
if (_root.mapsy < 1730) {
if ((_root.mapsx < 4100) and (_root.mapsx > 3200)) {
gotoAndStop ("st1a");
}
if ((_root.mapsx < 3200) and (_root.mapsx > 2300)) {
gotoAndStop ("st1b");
}
if ((_root.mapsx < 2300) and (_root.mapsx > 1100)) {
gotoAndStop ("st1c");
}
}
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y + _root.movespeed;
}
_y = (_y + _root.movespeed);
}
if (_root.moved) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y - _root.movespeed;
}
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1096 MovieClip "e1" in Frame 208
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1096 MovieClip "e2" in Frame 208
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1096 MovieClip "e3" in Frame 208
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1096 MovieClip "e4" in Frame 208
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1096 MovieClip "e5" in Frame 208
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
ittatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1096 MovieClip "e6" in Frame 208
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1096 MovieClip "e7" in Frame 208
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1096 MovieClip "e8" in Frame 208
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1096 MovieClip "e19" in Frame 208
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1096 MovieClip "e20" in Frame 208
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1096 MovieClip "e16" in Frame 208
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1096 MovieClip "e18" in Frame 208
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 792 MovieClip in Frame 208
onClipEvent (load) {
if (_root.sound) {
gotoAndStop ("s");
}
if (!_root.sound) {
gotoAndStop ("ns");
}
}
onClipEvent (enterFrame) {
if (_root.sound) {
if (_root.levels == 1) {
gotoAndStop ("s1");
}
if (_root.levels == 2) {
gotoAndStop ("s2");
}
if (_root.levels == 3) {
gotoAndStop ("s3");
}
if (_root.levels == 4) {
gotoAndStop ("s4");
}
if (_root.levels == 4) {
gotoAndStop ("s5");
}
if (_root.levels == 6) {
gotoAndStop ("s6");
}
if (_root.levels == 7) {
gotoAndStop ("s7");
}
if (_root.levels == 8) {
gotoAndStop ("s8");
}
if (Key.isDown(77)) {
if (!m) {
_root.sound = false;
m = true;
}
} else {
m = false;
}
}
if (!_root.sound) {
gotoAndStop ("ns");
if (Key.isDown(77)) {
if (!m) {
_root.sound = true;
m = true;
}
} else {
m = false;
}
}
}
Instance of Symbol 814 MovieClip "ebar" in Frame 208
onClipEvent (load) {
if (_root.life > 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
} else {
_visible = true;
}
if (_root.life >= 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 815 MovieClip "wbar" in Frame 208
onClipEvent (load) {
if (_root.wpl > 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl > 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl > 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl > 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl > 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl > 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl > 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl > 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl > 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl > 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl > 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl > 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl > 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl > 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl > 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl > 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl > 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl > 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl > 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl > 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl > 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
}
if (!_root.pause) {
if (_root.p1) {
_visible = false;
} else {
_visible = true;
}
}
if (_root.p2) {
_root.wpl = _root.p2p;
}
if (_root.p3) {
_root.wpl = _root.p3p;
}
if (_root.p4) {
_root.wpl = _root.p4p;
}
if (_root.p5) {
_root.wpl = _root.p5p;
}
if (_root.wpl >= 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl >= 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl >= 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl >= 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl >= 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl >= 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl >= 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl >= 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl >= 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl >= 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl >= 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl >= 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl >= 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl >= 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl >= 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl >= 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl >= 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl >= 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl >= 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl >= 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl >= 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 1076 MovieClip in Frame 208
onClipEvent (load) {
shoott = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
shoott++;
if ((_root.mapsy > 2800) and (_root.mapsy < 4075)) {
if ((shoott > 20) and (shoott < 22)) {
if (!_root.e9.animate.attach) {
_root.attachMovie("soldier1a", "e9", 451);
_root.e9.animate._x = 150;
_root.e9.animate._y = -50;
shoott = 0;
go = true;
xpoint = random(3);
shoot = false;
}
}
if ((shoott > 40) and (shoott < 42)) {
if (!_root.e10.animate.attach) {
_root.attachMovie("soldier1a", "e10", 452);
_root.e10.animate._x = 200;
_root.e10.animate._y = -50;
shoott = 0;
go = true;
xpoint = random(3);
shoot = false;
}
}
if ((shoott > 60) and (shoott < 62)) {
if (!_root.e11.animate.attach) {
_root.attachMovie("soldier1a", "e11", 453);
_root.e11.animate._x = 100;
_root.e11.animate._y = -50;
shoott = 0;
go = true;
xpoint = random(3);
shoot = false;
}
}
if (shoott > 100) {
shoott = 0;
go = true;
xpoint = random(3);
shoot = false;
}
}
}
}
Instance of Symbol 615 MovieClip [enem] "enemybullet1" in Frame 208
onClipEvent (load) {
speed = 51;
dx = _root.player1.animate._x - _x;
dy = _root.player1.animate._y - _y;
counter = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemybullet1") {
if (!_root.pause) {
if (_root.bulletdie) {
removeMovieClip(this);
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
_rotation = (_rotation + 5);
_x = (_x + (dx / speed));
_y = (_y + (dy / speed));
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
removeMovieClip(this);
}
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
if (this.hitTest(_root.player.animate.special.poing)) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 844 MovieClip "pb" in Frame 208
onClipEvent (load) {
this.swapDepths(1900);
}
onClipEvent (enterFrame) {
if (_root.bullets >= 451) {
_root.bullets = 400;
}
if (_root.itlayer >= 620) {
_root.itlayer = 600;
}
}
Instance of Symbol 1100 MovieClip "fade1" in Frame 208
onClipEvent (load) {
this.swapDepths(2000);
}
Frame 209
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.scrollhor = true;
_root.sub1 = false;
_root.sub2 = true;
_root.sub3 = false;
if (_root.striker) {
_root.attachMovie("striker1a", "player1", 99);
}
if (_root.geno) {
_root.attachMovie("geno1a", "player1", 99);
}
if (_root.nife) {
_root.attachMovie("nife1a", "player1", 99);
}
if (_root.katrin) {
_root.attachMovie("katrin1a", "player1", 99);
}
if (_root.phoenix) {
_root.attachMovie("phoenix1a", "player1", 99);
}
if (_root.kazu) {
_root.attachMovie("kazu1a", "player1", 99);
}
_quality = "low";
_root.levels = 3;
_root.pbtimer = 0;
_root.bullets = 400;
_root.itlayer = 600;
_root.map.black._visible = false;
_root.lessb = 2150;
_root.moreb = -1750;
_root.ubounds = 3800;
_root.dbounds = -1000;
_root.player1.animate._x = 180;
_root.player1.animate._y = 150;
_root.scrollvert = true;
_root.sound = true;
_root.pbtimer = 0;
stop();
Instance of Symbol 1110 MovieClip "map" in Frame 209
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
_root.sec2 = _y;
_root.mapsx = _x + _width;
_root.mapsy = _y + _height;
if (_root.mapsy < 1730) {
if ((_root.mapsx < 4100) and (_root.mapsx > 3200)) {
gotoAndStop ("st1a");
}
if ((_root.mapsx < 3200) and (_root.mapsx > 2300)) {
gotoAndStop ("st1b");
}
if ((_root.mapsx < 2300) and (_root.mapsx > 1100)) {
gotoAndStop ("st1c");
}
}
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y + _root.movespeed;
}
_y = (_y + _root.movespeed);
}
if (_root.moved) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y - _root.movespeed;
}
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1096 MovieClip "e2" in Frame 209
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1096 MovieClip "e3" in Frame 209
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1096 MovieClip "e5" in Frame 209
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1096 MovieClip "e6" in Frame 209
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1096 MovieClip "e8" in Frame 209
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1096 MovieClip "e13" in Frame 209
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1096 MovieClip "e16" in Frame 209
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1096 MovieClip "e17" in Frame 209
onClipEvent (load) {
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (!shoot) {
gotoAndStop ("nd");
}
if (shoot) {
gotoAndStop ("shoot");
}
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
if ((stime >= 0) and (stime < 80)) {
shoot = false;
}
if ((stime > 80) and (stime < 82)) {
shoot = true;
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 10;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 10;
_root["eb" + _root.bullets]._y = _y;
}
}
if (stime >= 100) {
stime = 0;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1116 MovieClip "e1" in Frame 209
onClipEvent (load) {
speed = 2.5;
go = true;
chill = false;
got = 0;
chillt = 0;
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("nd");
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
if (go) {
got++;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if (_x > _root.player1.animate._x) {
_x = (_x - speed);
}
}
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if (_x < _root.player1.animate._x) {
_x = (_x + speed);
}
}
if (got >= 100) {
got = 0;
chill = true;
go = false;
}
}
if (chill) {
chillt++;
if (chillt >= 30) {
chillt = 0;
go = true;
chill = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1116 MovieClip "e4" in Frame 209
onClipEvent (load) {
speed = 2.5;
go = true;
chill = false;
got = 0;
chillt = 0;
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("nd");
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
if (go) {
got++;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if (_x > _root.player1.animate._x) {
_x = (_x - speed);
}
}
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if (_x < _root.player1.animate._x) {
_x = (_x + speed);
}
}
if (got >= 100) {
got = 0;
chill = true;
go = false;
}
}
if (chill) {
chillt++;
if (chillt >= 30) {
chillt = 0;
go = true;
chill = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1116 MovieClip "e7" in Frame 209
onClipEvent (load) {
speed = 2.5;
go = true;
chill = false;
got = 0;
chillt = 0;
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("nd");
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
if (go) {
got++;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if (_x > _root.player1.animate._x) {
_x = (_x - speed);
}
}
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if (_x < _root.player1.animate._x) {
_x = (_x + speed);
}
}
if (got >= 100) {
got = 0;
chill = true;
go = false;
}
}
if (chill) {
chillt++;
if (chillt >= 30) {
chillt = 0;
go = true;
chill = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1116 MovieClip "e12" in Frame 209
onClipEvent (load) {
speed = 2.5;
go = true;
chill = false;
got = 0;
chillt = 0;
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("nd");
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
if (go) {
got++;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if (_x > _root.player1.animate._x) {
_x = (_x - speed);
}
}
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if (_x < _root.player1.animate._x) {
_x = (_x + speed);
}
}
if (got >= 100) {
got = 0;
chill = true;
go = false;
}
}
if (chill) {
chillt++;
if (chillt >= 30) {
chillt = 0;
go = true;
chill = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1116 MovieClip "e15" in Frame 209
onClipEvent (load) {
speed = 2.5;
go = true;
chill = false;
got = 0;
chillt = 0;
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("nd");
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
if (go) {
got++;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if (_x > _root.player1.animate._x) {
_x = (_x - speed);
}
}
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if (_x < _root.player1.animate._x) {
_x = (_x + speed);
}
}
if (got >= 100) {
got = 0;
chill = true;
go = false;
}
}
if (chill) {
chillt++;
if (chillt >= 30) {
chillt = 0;
go = true;
chill = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 1116 MovieClip "e14" in Frame 209
onClipEvent (load) {
speed = 2.5;
go = true;
chill = false;
got = 0;
chillt = 0;
shoot = false;
stime = 0;
dead = false;
life = 5;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("nd");
if (_x < 430) {
if (_x > -5) {
stime++;
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
if (go) {
got++;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if (_x > _root.player1.animate._x) {
_x = (_x - speed);
}
}
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if (_x < _root.player1.animate._x) {
_x = (_x + speed);
}
}
if (got >= 100) {
got = 0;
chill = true;
go = false;
}
}
if (chill) {
chillt++;
if (chillt >= 30) {
chillt = 0;
go = true;
chill = false;
}
}
if (_x > _root.player1.animate._x) {
_xscale = -100;
dir = 0;
}
if (_x < _root.player1.animate._x) {
_xscale = 100;
dir = 1;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 792 MovieClip in Frame 209
onClipEvent (load) {
if (_root.sound) {
gotoAndStop ("s");
}
if (!_root.sound) {
gotoAndStop ("ns");
}
}
onClipEvent (enterFrame) {
if (_root.sound) {
if (_root.levels == 1) {
gotoAndStop ("s1");
}
if (_root.levels == 2) {
gotoAndStop ("s2");
}
if (_root.levels == 3) {
gotoAndStop ("s3");
}
if (_root.levels == 4) {
gotoAndStop ("s4");
}
if (_root.levels == 4) {
gotoAndStop ("s5");
}
if (_root.levels == 6) {
gotoAndStop ("s6");
}
if (_root.levels == 7) {
gotoAndStop ("s7");
}
if (_root.levels == 8) {
gotoAndStop ("s8");
}
if (Key.isDown(77)) {
if (!m) {
_root.sound = false;
m = true;
}
} else {
m = false;
}
}
if (!_root.sound) {
gotoAndStop ("ns");
if (Key.isDown(77)) {
if (!m) {
_root.sound = true;
m = true;
}
} else {
m = false;
}
}
}
Instance of Symbol 814 MovieClip "ebar" in Frame 209
onClipEvent (load) {
if (_root.life > 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
} else {
_visible = true;
}
if (_root.life >= 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 815 MovieClip "wbar" in Frame 209
onClipEvent (load) {
if (_root.wpl > 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl > 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl > 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl > 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl > 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl > 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl > 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl > 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl > 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl > 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl > 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl > 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl > 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl > 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl > 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl > 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl > 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl > 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl > 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl > 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl > 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
}
if (!_root.pause) {
if (_root.p1) {
_visible = false;
} else {
_visible = true;
}
}
if (_root.p2) {
_root.wpl = _root.p2p;
}
if (_root.p3) {
_root.wpl = _root.p3p;
}
if (_root.p4) {
_root.wpl = _root.p4p;
}
if (_root.p5) {
_root.wpl = _root.p5p;
}
if (_root.wpl >= 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl >= 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl >= 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl >= 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl >= 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl >= 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl >= 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl >= 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl >= 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl >= 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl >= 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl >= 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl >= 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl >= 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl >= 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl >= 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl >= 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl >= 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl >= 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl >= 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl >= 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 1076 MovieClip in Frame 209
onClipEvent (load) {
shoott = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
shoott++;
if ((_root.mapsx > 3500) and (_root.mapsx < 6000)) {
if ((_root.mapsy > 2500) and (_root.mapsy < 3800)) {
if ((shoott > 20) and (shoott < 22)) {
if (!_root.e9.animate.attach) {
_root.attachMovie("soldier1a", "e9", 451);
_root.e9.animate._x = 150;
_root.e9.animate._y = -30;
shoott = 0;
go = true;
xpoint = random(3);
shoot = false;
}
}
if ((shoott > 40) and (shoott < 42)) {
if (!_root.e10.animate.attach) {
_root.attachMovie("soldier1a", "e10", 452);
_root.e10.animate._x = 200;
_root.e10.animate._y = -30;
shoott = 0;
go = true;
xpoint = random(3);
shoot = false;
}
}
if ((shoott > 60) and (shoott < 62)) {
if (!_root.e11.animate.attach) {
_root.attachMovie("soldier1a", "e11", 453);
_root.e11.animate._x = 100;
_root.e11.animate._y = -30;
shoott = 0;
go = true;
xpoint = random(3);
shoot = false;
}
}
if (shoott > 100) {
shoott = 0;
go = true;
xpoint = random(3);
shoot = false;
}
}
}
}
}
Instance of Symbol 615 MovieClip [enem] "enemybullet1" in Frame 209
onClipEvent (load) {
speed = 51;
dx = _root.player1.animate._x - _x;
dy = _root.player1.animate._y - _y;
counter = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemybullet1") {
if (!_root.pause) {
if (_root.bulletdie) {
removeMovieClip(this);
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
_rotation = (_rotation + 5);
_x = (_x + (dx / speed));
_y = (_y + (dy / speed));
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
removeMovieClip(this);
}
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
if (this.hitTest(_root.player.animate.special.poing)) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 844 MovieClip "pb" in Frame 209
onClipEvent (load) {
this.swapDepths(1900);
}
onClipEvent (enterFrame) {
if (_root.bullets >= 451) {
_root.bullets = 400;
}
if (_root.itlayer >= 620) {
_root.itlayer = 600;
}
}
Instance of Symbol 1120 MovieClip "fade1" in Frame 209
onClipEvent (load) {
this.swapDepths(2000);
}
Frame 210
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.clean();
_root.sub1 = false;
_root.sub2 = false;
_root.sub3 = true;
if (_root.striker) {
_root.attachMovie("striker1a", "player1", 99);
}
if (_root.geno) {
_root.attachMovie("geno1a", "player1", 99);
}
if (_root.nife) {
_root.attachMovie("nife1a", "player1", 99);
}
if (_root.katrin) {
_root.attachMovie("katrin1a", "player1", 99);
}
if (_root.phoenix) {
_root.attachMovie("phoenix1a", "player1", 99);
}
if (_root.kazu) {
_root.attachMovie("kazu1a", "player1", 99);
}
_quality = "low";
_root.levels = 3;
_root.pbtimer = 0;
_root.bullets = 400;
_root.map.black._visible = false;
_root.lessb = 500;
_root.moreb = -400;
_root.ubounds = 600;
_root.dbounds = -500;
_root.player1.animate._x = 180;
_root.player1.animate._y = 150;
_root.scrollvert = true;
_root.sound = true;
_root.pbtimer = 0;
stop();
Instance of Symbol 1127 MovieClip "map" in Frame 210
onClipEvent (load) {
speed = 5;
speed2 = 5;
}
onClipEvent (enterFrame) {
_root.sec2 = _y;
_root.mapsx = _x + _width;
_root.mapsy = _y + _height;
if (_root.mapsy < 1730) {
if ((_root.mapsx < 4100) and (_root.mapsx > 3200)) {
gotoAndStop ("st1a");
}
if ((_root.mapsx < 3200) and (_root.mapsx > 2300)) {
gotoAndStop ("st1b");
}
if ((_root.mapsx < 2300) and (_root.mapsx > 1100)) {
gotoAndStop ("st1c");
}
}
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y + _root.movespeed;
}
_y = (_y + _root.movespeed);
}
if (_root.moved) {
if (black.hitTest(_root.player1.animate)) {
_root.player1.animate._y = _root.player1.animate._y - _root.movespeed;
}
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 792 MovieClip in Frame 210
onClipEvent (load) {
if (_root.sound) {
gotoAndStop ("s");
}
if (!_root.sound) {
gotoAndStop ("ns");
}
}
onClipEvent (enterFrame) {
if (_root.sound) {
if (_root.levels == 1) {
gotoAndStop ("s1");
}
if (_root.levels == 2) {
gotoAndStop ("s2");
}
if (_root.levels == 3) {
gotoAndStop ("s3");
}
if (_root.levels == 4) {
gotoAndStop ("s4");
}
if (_root.levels == 4) {
gotoAndStop ("s5");
}
if (_root.levels == 6) {
gotoAndStop ("s6");
}
if (_root.levels == 7) {
gotoAndStop ("s7");
}
if (_root.levels == 8) {
gotoAndStop ("s8");
}
if (Key.isDown(77)) {
if (!m) {
_root.sound = false;
m = true;
}
} else {
m = false;
}
}
if (!_root.sound) {
gotoAndStop ("ns");
if (Key.isDown(77)) {
if (!m) {
_root.sound = true;
m = true;
}
} else {
m = false;
}
}
}
Instance of Symbol 814 MovieClip "ebar" in Frame 210
onClipEvent (load) {
if (_root.life > 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
} else {
_visible = true;
}
if (_root.life >= 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 815 MovieClip "wbar" in Frame 210
onClipEvent (load) {
if (_root.wpl > 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl > 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl > 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl > 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl > 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl > 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl > 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl > 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl > 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl > 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl > 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl > 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl > 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl > 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl > 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl > 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl > 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl > 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl > 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl > 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl > 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
}
if (!_root.pause) {
if (_root.p1) {
_visible = false;
} else {
_visible = true;
}
}
if (_root.p2) {
_root.wpl = _root.p2p;
}
if (_root.p3) {
_root.wpl = _root.p3p;
}
if (_root.p4) {
_root.wpl = _root.p4p;
}
if (_root.p5) {
_root.wpl = _root.p5p;
}
if (_root.wpl >= 100) {
gotoAndStop ("e1");
}
if ((_root.wpl < 100) and (_root.wpl >= 95)) {
gotoAndStop ("e2");
}
if ((_root.wpl < 95) and (_root.wpl >= 90)) {
gotoAndStop ("e3");
}
if ((_root.wpl < 90) and (_root.wpl >= 85)) {
gotoAndStop ("e4");
}
if ((_root.wpl < 85) and (_root.wpl >= 80)) {
gotoAndStop ("e5");
}
if ((_root.wpl < 80) and (_root.wpl >= 75)) {
gotoAndStop ("e6");
}
if ((_root.wpl < 75) and (_root.wpl >= 70)) {
gotoAndStop ("e7");
}
if ((_root.wpl < 70) and (_root.wpl >= 65)) {
gotoAndStop ("e8");
}
if ((_root.wpl < 65) and (_root.wpl >= 60)) {
gotoAndStop ("e9");
}
if ((_root.wpl < 60) and (_root.wpl >= 55)) {
gotoAndStop ("e10");
}
if ((_root.wpl < 55) and (_root.wpl >= 50)) {
gotoAndStop ("e11");
}
if ((_root.wpl < 50) and (_root.wpl >= 45)) {
gotoAndStop ("e12");
}
if ((_root.wpl < 45) and (_root.wpl >= 40)) {
gotoAndStop ("e13");
}
if ((_root.wpl < 40) and (_root.wpl >= 35)) {
gotoAndStop ("e14");
}
if ((_root.wpl < 35) and (_root.wpl >= 30)) {
gotoAndStop ("e15");
}
if ((_root.wpl < 30) and (_root.wpl >= 25)) {
gotoAndStop ("e16");
}
if ((_root.wpl < 25) and (_root.wpl >= 20)) {
gotoAndStop ("e17");
}
if ((_root.wpl < 20) and (_root.wpl >= 15)) {
gotoAndStop ("e18");
}
if ((_root.wpl < 15) and (_root.wpl >= 10)) {
gotoAndStop ("e19");
}
if ((_root.wpl < 10) and (_root.wpl >= 5)) {
gotoAndStop ("e20");
}
if ((_root.wpl < 5) and (_root.wpl >= 0)) {
gotoAndStop ("e21");
}
if (_root.wpl < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 1129 MovieClip "gunner" in Frame 210
onClipEvent (load) {
stime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.mapsy < 1200) {
if (!_root.map.window1.dead) {
stime++;
if (stime >= 7) {
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
_root["eb" + _root.bullets]._x = _x;
_root["eb" + _root.bullets]._y = _y;
stime = 0;
}
}
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
}
}
Instance of Symbol 844 MovieClip "pb" in Frame 210
onClipEvent (load) {
this.swapDepths(1900);
}
onClipEvent (enterFrame) {
if (_root.bullets >= 451) {
_root.bullets = 400;
}
if (_root.itlayer >= 620) {
_root.itlayer = 600;
}
}
Instance of Symbol 1145 MovieClip "fade1" in Frame 210
onClipEvent (enterFrame) {
this.swapDepths(2000);
}
Instance of Symbol 615 MovieClip [enem] "enemybullet1" in Frame 210
onClipEvent (load) {
speed = 21;
dx = _root.player1.animate._x - _x;
dy = _root.player1.animate._y - _y;
counter = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemybullet1") {
if (!_root.pause) {
if (_root.bulletdie) {
removeMovieClip(this);
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
_rotation = (_rotation + 5);
_x = (_x + (dx / speed));
_y = (_y + (dy / speed));
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
removeMovieClip(this);
}
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 100;
removeMovieClip(this);
}
}
}
if (this.hitTest(_root.player.animate.special.poing)) {
removeMovieClip(this);
}
}
}
}
Frame 211
Stage.scaleMode = "exactfit";
_root.sound = true;
_root.pupsel1 = 1;
_root.enemylayer = 250;
_root.levels = 9;
_root.pu1 = false;
_root.pu2 = false;
_root.pu3 = false;
_root.pu4 = false;
_root.pu5 = false;
_root.pu6 = false;
_root.pu7 = true;
_root.life = 100;
_root.movespeed = 1.5;
_root.lives = 2;
_root.bullets = 300;
if (_root.striker) {
_root.attachMovie("strikerride1a", "player1", 99);
}
if (_root.geno) {
_root.attachMovie("genoride1a", "player1", 99);
}
if (_root.nife) {
_root.attachMovie("niferide1a", "player1", 99);
}
if (_root.katrin) {
_root.attachMovie("katrinride1a", "player1", 99);
}
if (_root.phoenix) {
_root.attachMovie("phoenixride1a", "player1", 99);
}
if (_root.kazu) {
_root.attachMovie("kazuride1a", "player1", 99);
}
_root.player1.animate._x = -50;
_root.player1.animate._y = 125;
stop();
Instance of Symbol 814 MovieClip "ebar" in Frame 211
onClipEvent (load) {
if (_root.life > 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.pause) {
_visible = false;
} else {
_visible = true;
}
if (_root.life >= 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
if (_root.lives < 0) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 792 MovieClip in Frame 211
onClipEvent (load) {
if (_root.sound) {
gotoAndStop ("s");
}
if (!_root.sound) {
gotoAndStop ("ns");
}
}
onClipEvent (enterFrame) {
if (_root.bullets >= 351) {
_root.bullets = 300;
}
if (_root.enemylayer >= 270) {
_root.enemylayer = 250;
}
if (_root.sound) {
if (_root.levels == 1) {
gotoAndStop ("s1");
}
if (_root.levels == 2) {
gotoAndStop ("s2");
}
if (_root.levels == 3) {
gotoAndStop ("s3");
}
if (_root.levels == 4) {
gotoAndStop ("s4");
}
if (_root.levels == 4) {
gotoAndStop ("s5");
}
if (_root.levels == 6) {
gotoAndStop ("s6");
}
if (_root.levels == 7) {
gotoAndStop ("s7");
}
if (_root.levels == 8) {
gotoAndStop ("s8");
}
if (_root.levels == 9) {
gotoAndStop ("s9");
}
if (_root.levels == 10) {
gotoAndStop ("s10");
}
if (Key.isDown(77)) {
if (!m) {
_root.sound = false;
m = true;
}
} else {
m = false;
}
}
if (!_root.sound) {
gotoAndStop ("ns");
if (Key.isDown(77)) {
if (!m) {
_root.sound = true;
m = true;
}
} else {
m = false;
}
}
}
Instance of Symbol 1149 MovieClip in Frame 211
onClipEvent (load) {
st = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
st++;
if (st >= 500) {
_root.gotoAndStop("shooter1b");
}
if ((st > 100) and (st < 102)) {
_root.pucount1 = 0;
_root.attachMovie("twirler1a", "en1", _root.enemylayer++);
_root.en1.animate._x = 400;
_root.en1.animate._y = 150;
_root.attachMovie("twirler1a", "en2", _root.enemylayer++);
_root.en2.animate._x = 450;
_root.en2.animate._y = 150;
_root.attachMovie("twirler1a", "en3", _root.enemylayer++);
_root.en3.animate._x = 500;
_root.en3.animate._y = 150;
_root.attachMovie("twirler1a", "en4", _root.enemylayer++);
_root.en4.animate._x = 550;
_root.en4.animate._y = 150;
_root.attachMovie("twirler1a", "en5", _root.enemylayer++);
_root.en5.animate._x = 600;
_root.en5.animate._y = 150;
}
if ((st > 400) and (st < 402)) {
_root.pucount2 = 0;
_root.attachMovie("twirler2a", "en6", _root.enemylayer++);
_root.en6.animate._x = 400;
_root.en6.animate._y = 150;
_root.attachMovie("twirler2a", "en7", _root.enemylayer++);
_root.en7.animate._x = 450;
_root.en7.animate._y = 150;
_root.attachMovie("twirler2a", "en8", _root.enemylayer++);
_root.en8.animate._x = 500;
_root.en8.animate._y = 150;
_root.attachMovie("twirler2a", "en9", _root.enemylayer++);
_root.en9.animate._x = 550;
_root.en9.animate._y = 150;
_root.attachMovie("twirler2a", "en10", _root.enemylayer++);
_root.en10.animate._x = 600;
_root.en10.animate._y = 150;
}
}
}
Instance of Symbol 615 MovieClip [enem] "enemybullet1" in Frame 211
onClipEvent (load) {
speed = 75;
dx = _root.player1.animate._x - _x;
dy = _root.player1.animate._y - _y;
counter = 0;
}
onClipEvent (enterFrame) {
if (_name != "enemybullet1") {
if (!_root.pause) {
if (_root.bulletdie) {
removeMovieClip(this);
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
_rotation = (_rotation + 5);
_x = (_x + (dx / speed));
_y = (_y + (dy / speed));
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
removeMovieClip(this);
}
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 10;
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
if (this.hitTest(_root.player.animate.special.poing)) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 1151 MovieClip in Frame 211
onClipEvent (load) {
_root.plevel = 2;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.plevel == 1) {
_root.pu1 = true;
_root.pu2 = false;
_root.pu3 = false;
_root.pu4 = false;
_root.pu5 = false;
_root.pu6 = false;
_root.pu7 = false;
}
if (_root.plevel == 2) {
_root.pu1 = false;
_root.pu2 = true;
_root.pu3 = false;
_root.pu4 = false;
_root.pu5 = false;
_root.pu6 = false;
_root.pu7 = false;
}
if (_root.plevel == 3) {
_root.pu1 = false;
_root.pu2 = false;
_root.pu3 = true;
_root.pu4 = false;
_root.pu5 = false;
_root.pu6 = false;
_root.pu7 = false;
}
if (_root.plevel == 4) {
_root.pu1 = false;
_root.pu2 = false;
_root.pu3 = false;
_root.pu4 = true;
_root.pu5 = false;
_root.pu6 = false;
_root.pu7 = false;
}
if (_root.plevel == 5) {
_root.pu1 = false;
_root.pu2 = false;
_root.pu3 = false;
_root.pu4 = false;
_root.pu5 = true;
_root.pu6 = false;
_root.pu7 = false;
}
if (_root.plevel == 6) {
_root.pu1 = false;
_root.pu2 = false;
_root.pu3 = false;
_root.pu4 = false;
_root.pu5 = false;
_root.pu6 = true;
_root.pu7 = false;
}
if (_root.plevel >= 7) {
_root.pu1 = false;
_root.pu2 = false;
_root.pu3 = false;
_root.pu4 = false;
_root.pu5 = false;
_root.pu6 = false;
_root.pu7 = true;
}
}
}
Instance of Symbol 844 MovieClip "pb" in Frame 211
onClipEvent (load) {
this.swapDepths(1900);
}
onClipEvent (enterFrame) {
if (_root.bullets >= 451) {
_root.bullets = 400;
}
if (_root.itlayer >= 620) {
_root.itlayer = 600;
}
}
Frame 212
stop();
_root.map.black._visible = false;
Instance of Symbol 1165 MovieClip "map" in Frame 212
onClipEvent (load) {
speed = _root.movespeed;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
speed = _root.movespeed;
_root.mapsx = _x;
if (!charani) {
if (!_root.player1.animate.zoomin) {
if (_root.player1.animate._x < -30) {
_root.life = _root.life - 100;
}
}
if (_x > -2500) {
_x = (_x - speed);
}
if (_x <= -2500) {
_root.gotoAndStop("shooter1c");
}
}
}
}
Instance of Symbol 1149 MovieClip in Frame 212
onClipEvent (load) {
st = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if ((_root.mapsx > 2900) and (_root.mapsx < 2901)) {
_root.attachMovie("twirler3a", "en1", _root.enemylayer++);
_root.en1.animate._x = 400;
_root.en1.animate._y = 150;
_root.attachMovie("twirler3a", "en2", _root.enemylayer++);
_root.en2.animate._x = 450;
_root.en2.animate._y = 150;
_root.attachMovie("twirler3a", "en3", _root.enemylayer++);
_root.en3.animate._x = 500;
_root.en3.animate._y = 150;
_root.attachMovie("twirler3a", "en4", _root.enemylayer++);
_root.en4.animate._x = 550;
_root.en4.animate._y = 150;
_root.attachMovie("twirler3a", "en5", _root.enemylayer++);
_root.en5.animate._x = 600;
_root.en5.animate._y = 150;
}
if ((_root.mapsx > 2000) and (_root.mapsx < 2001)) {
_root.pucount3 = 0;
_root.attachMovie("spinner1a", "en6", _root.enemylayer++);
_root.en6.animate._x = 400;
_root.en6.animate._y = 150;
_root.attachMovie("spinner1a", "en7", _root.enemylayer++);
_root.en7.animate._x = 450;
_root.en7.animate._y = 150;
_root.attachMovie("spinner1a", "en8", _root.enemylayer++);
_root.en8.animate._x = 500;
_root.en8.animate._y = 150;
_root.attachMovie("spinner1a", "en9", _root.enemylayer++);
_root.en9.animate._x = 550;
_root.en9.animate._y = 150;
_root.attachMovie("spinner1a", "en10", _root.enemylayer++);
_root.en10.animate._x = 600;
_root.en10.animate._y = 150;
}
if ((_root.mapsx > 1000) and (_root.mapsx < 1002)) {
_root.pucount2 = 0;
_root.attachMovie("twirler2a", "en11", _root.enemylayer++);
_root.en11.animate._x = 400;
_root.en11.animate._y = 150;
_root.attachMovie("twirler2a", "en12", _root.enemylayer++);
_root.en12.animate._x = 450;
_root.en12.animate._y = 150;
_root.attachMovie("twirler2a", "en13", _root.enemylayer++);
_root.en13.animate._x = 500;
_root.en13.animate._y = 150;
_root.attachMovie("twirler2a", "en14", _root.enemylayer++);
_root.en14.animate._x = 550;
_root.en14.animate._y = 150;
_root.attachMovie("twirler2a", "en15", _root.enemylayer++);
_root.en15.animate._x = 600;
_root.en15.animate._y = 150;
}
if ((_root.mapsx > -1001) and (_root.mapsx < -1000)) {
_root.attachMovie("twirler3a", "en1", _root.enemylayer++);
_root.en1.animate._x = 400;
_root.en1.animate._y = 150;
_root.attachMovie("twirler3a", "en2", _root.enemylayer++);
_root.en2.animate._x = 450;
_root.en2.animate._y = 150;
_root.attachMovie("twirler3a", "en3", _root.enemylayer++);
_root.en3.animate._x = 500;
_root.en3.animate._y = 150;
_root.attachMovie("twirler3a", "en4", _root.enemylayer++);
_root.en4.animate._x = 550;
_root.en4.animate._y = 150;
_root.attachMovie("twirler3a", "en5", _root.enemylayer++);
_root.en5.animate._x = 600;
_root.en5.animate._y = 150;
}
if ((_root.mapsx > -1201) and (_root.mapsx < -1200)) {
_root.pucount1 = 0;
_root.attachMovie("twirler1a", "en6", _root.enemylayer++);
_root.en6.animate._x = 400;
_root.en6.animate._y = 150;
_root.attachMovie("twirler1a", "en7", _root.enemylayer++);
_root.en7.animate._x = 450;
_root.en7.animate._y = 150;
_root.attachMovie("twirler1a", "en8", _root.enemylayer++);
_root.en8.animate._x = 500;
_root.en8.animate._y = 150;
_root.attachMovie("twirler1a", "en9", _root.enemylayer++);
_root.en9.animate._x = 550;
_root.en9.animate._y = 150;
_root.attachMovie("twirler1a", "en10", _root.enemylayer++);
_root.en10.animate._x = 600;
_root.en10.animate._y = 150;
}
if ((_root.mapsx > -1401) and (_root.mapsx < -1400)) {
_root.pucount2 = 0;
_root.attachMovie("twirler2a", "en11", _root.enemylayer++);
_root.en11.animate._x = 400;
_root.en11.animate._y = 150;
_root.attachMovie("twirler2a", "en12", _root.enemylayer++);
_root.en12.animate._x = 450;
_root.en12.animate._y = 150;
_root.attachMovie("twirler2a", "en13", _root.enemylayer++);
_root.en13.animate._x = 500;
_root.en13.animate._y = 150;
_root.attachMovie("twirler2a", "en14", _root.enemylayer++);
_root.en14.animate._x = 550;
_root.en14.animate._y = 150;
_root.attachMovie("twirler2a", "en15", _root.enemylayer++);
_root.en15.animate._x = 600;
_root.en15.animate._y = 150;
}
if ((_root.mapsx > -1802) and (_root.mapsx < -1800)) {
_root.pucount3 = 0;
_root.attachMovie("spinner1a", "en16", _root.enemylayer++);
_root.en16.animate._x = 400;
_root.en16.animate._y = 150;
_root.attachMovie("spinner1a", "en17", _root.enemylayer++);
_root.en17.animate._x = 400;
_root.en17.animate._y = 150;
_root.attachMovie("spinner1a", "en18", _root.enemylayer++);
_root.en18.animate._x = 400;
_root.en18.animate._y = 150;
_root.attachMovie("spinner1a", "en19", _root.enemylayer++);
_root.en19.animate._x = 400;
_root.en19.animate._y = 150;
_root.attachMovie("spinner1a", "en20", _root.enemylayer++);
_root.en20.animate._x = 400;
_root.en20.animate._y = 150;
}
}
}
Instance of Symbol 1182 MovieClip "e1" in Frame 212
onClipEvent (load) {
speed = _root.movespeed;
shoot = false;
shoott = 0;
life = 15;
dead = false;
hit = false;
hitt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
shoott++;
gotoAndStop ("go");
_x = (_x - _root.movespeed);
if (_root.player1.animate._x > _x) {
_xscale = 100;
}
if (_root.player1.animate._x < _x) {
_xscale = -100;
}
if (_root.player1.animate._y > _y) {
gotoAndStop ("f");
}
if (_root.player1.animate._y < _y) {
gotoAndStop ("dup");
}
if (shoott >= 40) {
_root.enemybullet1.duplicateMovieClip("enbullet1" + _root.bullets, _root.bullets++);
_root["enbullet1" + _root.bullets]._x = _x;
_root["enbullet1" + _root.bullets]._y = _y;
shoott = 0;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if (life <= 0) {
dead = true;
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 1182 MovieClip "e3" in Frame 212
onClipEvent (load) {
speed = _root.movespeed;
shoot = false;
shoott = 0;
life = 15;
dead = false;
hit = false;
hitt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
shoott++;
gotoAndStop ("go");
_x = (_x - _root.movespeed);
if (_root.player1.animate._x > _x) {
_xscale = 100;
}
if (_root.player1.animate._x < _x) {
_xscale = -100;
}
if (_root.player1.animate._y > _y) {
gotoAndStop ("f");
}
if (_root.player1.animate._y < _y) {
gotoAndStop ("dup");
}
if (shoott >= 40) {
_root.enemybullet1.duplicateMovieClip("enbullet1" + _root.bullets, _root.bullets++);
_root["enbullet1" + _root.bullets]._x = _x;
_root["enbullet1" + _root.bullets]._y = _y;
shoott = 0;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if (life <= 0) {
dead = true;
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 1182 MovieClip "e2" in Frame 212
onClipEvent (load) {
speed = _root.movespeed;
shoot = false;
shoott = 0;
life = 15;
dead = false;
hit = false;
hitt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
shoott++;
gotoAndStop ("go");
_x = (_x - _root.movespeed);
if (_root.player1.animate._x > _x) {
_xscale = 100;
}
if (_root.player1.animate._x < _x) {
_xscale = -100;
}
if (_root.player1.animate._y > _y) {
gotoAndStop ("f");
}
if (_root.player1.animate._y < _y) {
gotoAndStop ("dup");
}
if (shoott >= 40) {
_root.enemybullet1.duplicateMovieClip("enbullet1" + _root.bullets, _root.bullets++);
_root["enbullet1" + _root.bullets]._x = _x;
_root["enbullet1" + _root.bullets]._y = _y;
shoott = 0;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if (life <= 0) {
dead = true;
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 1182 MovieClip "e5" in Frame 212
onClipEvent (load) {
speed = _root.movespeed;
shoot = false;
shoott = 0;
life = 15;
dead = false;
hit = false;
hitt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
shoott++;
gotoAndStop ("go");
_x = (_x - _root.movespeed);
if (_root.player1.animate._x > _x) {
_xscale = 100;
}
if (_root.player1.animate._x < _x) {
_xscale = -100;
}
if (_root.player1.animate._y < _y) {
gotoAndStop ("f");
}
if (_root.player1.animate._y > _y) {
gotoAndStop ("dup");
}
if (shoott >= 40) {
_root.enemybullet1.duplicateMovieClip("enbullet1" + _root.bullets, _root.bullets++);
_root["enbullet1" + _root.bullets]._x = _x;
_root["enbullet1" + _root.bullets]._y = _y;
shoott = 0;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if (life <= 0) {
dead = true;
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 1182 MovieClip "e6" in Frame 212
onClipEvent (load) {
speed = _root.movespeed;
shoot = false;
shoott = 0;
life = 15;
dead = false;
hit = false;
hitt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
shoott++;
gotoAndStop ("go");
_x = (_x - _root.movespeed);
if (_root.player1.animate._x > _x) {
_xscale = 100;
}
if (_root.player1.animate._x < _x) {
_xscale = -100;
}
if (_root.player1.animate._y > _y) {
gotoAndStop ("f");
}
if (_root.player1.animate._y < _y) {
gotoAndStop ("dup");
}
if (shoott >= 40) {
_root.enemybullet1.duplicateMovieClip("enbullet1" + _root.bullets, _root.bullets++);
_root["enbullet1" + _root.bullets]._x = _x;
_root["enbullet1" + _root.bullets]._y = _y;
shoott = 0;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if (life <= 0) {
dead = true;
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 1182 MovieClip "e7" in Frame 212
onClipEvent (load) {
speed = _root.movespeed;
shoot = false;
shoott = 0;
life = 15;
dead = false;
hit = false;
hitt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
shoott++;
gotoAndStop ("go");
_x = (_x - _root.movespeed);
if (_root.player1.animate._x > _x) {
_xscale = 100;
}
if (_root.player1.animate._x < _x) {
_xscale = -100;
}
if (_root.player1.animate._y < _y) {
gotoAndStop ("f");
}
if (_root.player1.animate._y > _y) {
gotoAndStop ("dup");
}
if (shoott >= 40) {
_root.enemybullet1.duplicateMovieClip("enbullet1" + _root.bullets, _root.bullets++);
_root["enbullet1" + _root.bullets]._x = _x;
_root["enbullet1" + _root.bullets]._y = _y;
shoott = 0;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if (life <= 0) {
dead = true;
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 1182 MovieClip "e4" in Frame 212
onClipEvent (load) {
speed = _root.movespeed;
shoot = false;
shoott = 0;
life = 15;
dead = false;
hit = false;
hitt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
shoott++;
gotoAndStop ("go");
_x = (_x - _root.movespeed);
if (_root.player1.animate._x > _x) {
_xscale = 100;
}
if (_root.player1.animate._x < _x) {
_xscale = -100;
}
if (_root.player1.animate._y < _y) {
gotoAndStop ("f");
}
if (_root.player1.animate._y > _y) {
gotoAndStop ("dup");
}
if (shoott >= 40) {
_root.enemybullet1.duplicateMovieClip("enbullet1" + _root.bullets, _root.bullets++);
_root["enbullet1" + _root.bullets]._x = _x;
_root["enbullet1" + _root.bullets]._y = _y;
shoott = 0;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if (life <= 0) {
dead = true;
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Frame 213
_root.levels = 8;
stop();
Instance of Symbol 1191 MovieClip "boss1" in Frame 213
onClipEvent (load) {
gu = false;
gd = true;
dead = false;
deadt = 0;
life = 150;
speed = 4;
shoott = 0;
shoot = false;
hit = false;
hitt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (life >= 150) {
gotoAndStop ("go1");
if (hit) {
hitt++;
block1.hitcolor.setTransform(newColor);
if (hitt >= 3) {
block1.hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if ((life < 150) and (life >= 100)) {
gotoAndStop ("go2");
if (hit) {
hitt++;
block2.hitcolor.setTransform(newColor);
if (hitt >= 3) {
block1.hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if ((life < 100) and (life >= 50)) {
gotoAndStop ("go3");
if (hit) {
hitt++;
block3.hitcolor.setTransform(newColor);
if (hitt >= 3) {
block3.hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if ((life < 50) and (life >= 0)) {
gotoAndStop ("go4");
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if (life < 0) {
dead = true;
}
shoott++;
if ((shoott > 49) and (shoott < 51)) {
_root.bossbullet1a.duplicateMovieClip("bossb1" + _root.bullets, _root.bullets++);
_root["bossb1" + _root.bullets]._x = _x;
_root["bossb1" + _root.bullets]._y = _y - 20;
_root.bossbullet1a.duplicateMovieClip("bossb2" + _root.bullets, _root.bullets++);
_root["bossb2" + _root.bullets]._x = _x;
_root["bossb2" + _root.bullets]._y = _y + 20;
}
if ((shoott > 51) and (shoott < 53)) {
_root.bossbullet1a.duplicateMovieClip("bossb3" + _root.bullets, _root.bullets++);
_root["bossb3" + _root.bullets]._x = _x;
_root["bossb3" + _root.bullets]._y = _y - 50;
_root.bossbullet1a.duplicateMovieClip("bossb4" + _root.bullets, _root.bullets++);
_root["bossb4" + _root.bullets]._x = _x;
_root["bossb4" + _root.bullets]._y = _y + 50;
shoott = 0;
}
if ((shoott > 99) and (shoott < 101)) {
_root.bossbullet1a.duplicateMovieClip("bossb1" + _root.bullets, _root.bullets++);
_root["bossb1" + _root.bullets]._x = _x;
_root["bossb1" + _root.bullets]._y = _y - 20;
_root.bossbullet1a.duplicateMovieClip("bossb2" + _root.bullets, _root.bullets++);
_root["bossb2" + _root.bullets]._x = _x;
_root["bossb2" + _root.bullets]._y = _y + 20;
}
if ((shoott > 101) and (shoott < 103)) {
_root.bossbullet1a.duplicateMovieClip("bossb3" + _root.bullets, _root.bullets++);
_root["bossb3" + _root.bullets]._x = _x;
_root["bossb3" + _root.bullets]._y = _y - 50;
_root.bossbullet1a.duplicateMovieClip("bossb4" + _root.bullets, _root.bullets++);
_root["bossb4" + _root.bullets]._x = _x;
_root["bossb4" + _root.bullets]._y = _y + 50;
shoott = 0;
}
if (gd) {
if (_y < 337) {
_y = (_y + speed);
}
if (_y >= 337) {
gu = true;
gd = false;
}
}
if (gu) {
if (_y > 80) {
_y = (_y - speed);
}
if (_y <= 80) {
gd = true;
gu = false;
}
}
}
if (dead) {
gotoAndStop ("dead");
deadt++;
if (deadt >= 175) {
_root.gotoAndStop("shooter1d");
}
}
}
}
Instance of Symbol 607 MovieClip [enemlaser1a] "bossbullet1a" in Frame 213
onClipEvent (load) {
speed = 7;
counter = 0;
}
onClipEvent (enterFrame) {
if (_name != "bossbullet1a") {
if (_root.bulletdie) {
removeMovieClip(this);
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (!_root.pause) {
_x = (_x - speed);
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
removeMovieClip(this);
}
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 15;
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
}
}
}
Frame 214
_root.levels = 9;
stop();
Instance of Symbol 1149 MovieClip in Frame 214
onClipEvent (load) {
st = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
st++;
if (st >= 730) {
_root.gotoAndStop("shooter1e");
}
if ((st > 100) and (st < 102)) {
_root.pucount1 = 0;
_root.attachMovie("twirler1a", "en1", _root.enemylayer++);
_root.en1.animate._x = 400;
_root.en1.animate._y = 150;
_root.attachMovie("twirler1a", "en2", _root.enemylayer++);
_root.en2.animate._x = 450;
_root.en2.animate._y = 150;
_root.attachMovie("twirler1a", "en3", _root.enemylayer++);
_root.en3.animate._x = 500;
_root.en3.animate._y = 150;
_root.attachMovie("twirler1a", "en4", _root.enemylayer++);
_root.en4.animate._x = 550;
_root.en4.animate._y = 150;
_root.attachMovie("twirler1a", "en5", _root.enemylayer++);
_root.en5.animate._x = 600;
_root.en5.animate._y = 150;
}
if ((st > 400) and (st < 402)) {
_root.pucount2 = 0;
_root.attachMovie("twirler2a", "en6", _root.enemylayer++);
_root.en6.animate._x = 400;
_root.en6.animate._y = 150;
_root.attachMovie("twirler2a", "en7", _root.enemylayer++);
_root.en7.animate._x = 450;
_root.en7.animate._y = 150;
_root.attachMovie("twirler2a", "en8", _root.enemylayer++);
_root.en8.animate._x = 500;
_root.en8.animate._y = 150;
_root.attachMovie("twirler2a", "en9", _root.enemylayer++);
_root.en9.animate._x = 550;
_root.en9.animate._y = 150;
_root.attachMovie("twirler2a", "en10", _root.enemylayer++);
_root.en10.animate._x = 600;
_root.en10.animate._y = 150;
}
}
}
Frame 215
_root.levels = 7;
stop();
Instance of Symbol 1287 MovieClip "boss1" in Frame 215
onClipEvent (load) {
shot2t = 0;
deadt = 0;
dead = false;
speed = 5;
speed1 = 3;
_x = -85;
_y = 177;
winkt = 0;
shoott = 0;
comein = true;
change1t = 0;
change2t = 0;
change3t = 0;
change1 = false;
change2 = true;
change3 = false;
fight1 = false;
fight2 = false;
fight3 = false;
fight4 = false;
giveup = false;
fight1t = 0;
fight2t = 0;
fight3t = 0;
up = false;
upt = 0;
dn = false;
dnt = 0;
rt = false;
rtt = 0;
lft = false;
lftt = 0;
hit = false;
hitt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.info1 = shoott;
_root.ass = life;
if (!dead) {
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if (comein) {
_root.bg1.gotoAndStop("none");
if (_x < 160) {
gotoAndStop ("comein");
_x = (_x + speed);
}
if (_x >= 160) {
gotoAndStop ("wink1");
winkt++;
if (winkt >= 150) {
change1 = true;
comein = false;
}
}
}
if (change1) {
if (_x < 320) {
_x = (_x + 10);
}
if (_y < 260) {
_y = (_y + 10);
}
if (_y >= 260) {
ypos = true;
}
if (_x >= 320) {
xpos = true;
}
if (xpos) {
if (ypos) {
gotoAndStop ("b1a");
change1t++;
if (change1t >= 50) {
change1t = 0;
life = 150;
up = true;
fight1 = true;
change1 = false;
}
}
}
}
if (fight1) {
_root.bg1.gotoAndStop("f1");
if ((life <= 150) and (life > 75)) {
gotoAndStop ("b1b");
}
if ((life <= 75) and (life > 0)) {
gotoAndStop ("b1c");
}
if (life <= 0) {
gotoAndStop ("b1dead");
deadt++;
if (_x < 250) {
_x = (_x + 10);
}
if (_y < 260) {
_y = (_y + 10);
}
if (_y >= 260) {
ypos = true;
}
if (_x >= 250) {
xpos = true;
}
if (xpos) {
if (ypos) {
if (deadt >= 250) {
deadt = 0;
shoott = 0;
life = 100;
up = true;
upt = 0;
dn = false;
dnt = 0;
rt = false;
rtt = 0;
lft = false;
lftt = 0;
fight2 = true;
ypos = false;
xpos = false;
fight1 = false;
}
}
}
}
if (life > 0) {
shoott++;
if (up) {
if (_y < 315) {
_y = (_y + speed);
}
if (_y >= 315) {
dn = true;
up = false;
}
}
if (dn) {
if (_y > 70) {
_y = (_y - speed);
}
if (_y <= 70) {
up = true;
dn = false;
}
}
if (shoott >= 20) {
_root.enemybullet1.duplicateMovieClip("enbullet1" + _root.bullets, _root.bullets++);
_root["enbullet1" + _root.bullets]._x = _x - 50;
_root["enbullet1" + _root.bullets]._y = _y;
shoott = 0;
}
}
}
if (fight2) {
_root.bg1.gotoAndStop("f2");
if ((life <= 100) and (life > 50)) {
gotoAndStop ("b2a");
}
if ((life <= 50) and (life > 0)) {
gotoAndStop ("b2b");
}
if (life <= 0) {
gotoAndStop ("b2dead");
deadt++;
_xscale = 100;
if (_x > 320) {
_x = (_x - 10);
}
if (_y < 200) {
_y = (_y + 10);
}
if (_y >= 200) {
ypos = true;
}
if (_x == 320) {
xpos = true;
}
if (_x < 320) {
_x = (_x + 10);
}
if (xpos) {
if (ypos) {
if (deadt >= 150) {
_root.attachMovie("turkey1a", "turk1", 402);
_root.turk1.animate._x = _x;
_root.turk1.animate._y = _y;
deadt = 0;
shoott = 0;
life = 150;
up = false;
upt = 0;
dn = false;
dnt = 0;
rt = false;
rtt = 0;
lft = false;
lftt = 0;
fight3 = true;
fight2 = false;
}
}
}
if (deadt >= 250) {
_root.attachMovie("turkey1a", "turk1", 402);
_root.turk1.animate._x = _x;
_root.turk1.animate._y = _y;
deadt = 0;
shoott = 0;
life = 150;
up = false;
upt = 0;
dn = false;
dnt = 0;
rt = false;
rtt = 0;
lft = false;
lftt = 0;
fight3 = true;
fight2 = false;
}
}
if (life > 0) {
shoott++;
if (_root.player1.animate._x > _x) {
_xscale = -100;
}
if (_root.player1.animate._x < _x) {
_xscale = 100;
}
if (up) {
if (_y > 50) {
_y = (_y - speed1);
}
if (_y <= 50) {
lft = true;
up = false;
}
}
if (lft) {
if (_x > 0) {
_x = (_x - speed1);
}
if (_x <= 0) {
dn = true;
lft = false;
}
}
if (dn) {
if (_y < 260) {
_y = (_y + speed1);
}
if (_y >= 260) {
rt = true;
dn = false;
}
}
if (rt) {
if (_x < 380) {
_x = (_x + speed1);
}
if (_x >= 380) {
up = true;
rt = false;
}
}
if ((shoott > 12) and (shoott <= 14)) {
_root.bbullet1a.duplicateMovieClip("ball3" + _root.bullets, _root.bullets++);
_root["ball3" + _root.bullets]._x = _x;
_root["ball3" + _root.bullets]._y = _y;
}
if ((shoott > 15) and (shoott < 17)) {
_root.enemybullet1.duplicateMovieClip("ball4" + _root.bullets, _root.bullets++);
_root["ball4" + _root.bullets]._x = _x;
_root["ball4" + _root.bullets]._y = _y;
}
if ((shoott > 20) and (shoott <= 22)) {
_root.bbullet1a.duplicateMovieClip("ball2" + _root.bullets, _root.bullets++);
_root["ball2" + _root.bullets]._x = _x;
_root["ball2" + _root.bullets]._y = _y;
}
if ((shoott > 25) and (shoott <= 27)) {
_root.bbullet1a.duplicateMovieClip("ball1" + _root.bullets, _root.bullets++);
_root["ball1" + _root.bullets]._x = _x;
_root["ball1" + _root.bullets]._y = _y;
shoott = 0;
}
}
}
if (fight3) {
_root.bg1.gotoAndStop("f3");
_xscale = 100;
if ((life <= 150) and (life > 75)) {
gotoAndStop ("b3a");
}
if ((life <= 75) and (life > 0)) {
gotoAndStop ("b3b");
}
if (life <= 0) {
gotoAndStop ("b3dead");
deadt++;
if (deadt >= 140) {
deadt = 0;
shoott = 0;
life = 85;
up = true;
upt = 0;
dn = false;
dnt = 0;
rt = false;
rtt = 0;
lft = false;
lftt = 0;
fight4 = true;
fight3 = false;
}
}
if (life > 0) {
shoott++;
shot2t++;
if (shoott >= 40) {
_root.enemybullet1.duplicateMovieClip("enbullet1" + _root.bullets, _root.bullets++);
_root["enbullet1" + _root.bullets]._x = _x;
_root["enbullet1" + _root.bullets]._y = _y;
shoott = 0;
}
if (shot2t >= 250) {
_root.attachMovie("blaser1a", "blaser1", 400);
_root.blaser1._x = _x;
_root.blaser1._y = _y;
shot2t = 0;
}
}
}
if (fight4) {
_root.bg1.gotoAndStop("f4");
gotoAndStop ("alien");
if (change2) {
if (_x < 250) {
_x = (_x + 10);
}
if (_y < 260) {
_y = (_y + 10);
}
if (_y >= 260) {
ypos = true;
}
if (_x >= 250) {
xpos = true;
}
if (xpos) {
if (ypos) {
life = 150;
change2t++;
if (change2t < 60) {
wily.gotoAndStop("fall");
_y = (_y - 3);
}
if ((change2t >= 60) and (change2t < 90)) {
wily.gotoAndStop("glide");
}
if (change2t >= 120) {
change2t = 0;
change2 = false;
}
}
}
}
if (!change2) {
gotoAndStop ("alien");
if (life > 0) {
shoott++;
if ((shoott >= 50) and (shoott < 52)) {
_root.enemybullet1.duplicateMovieClip("enbullet1" + _root.bullets, _root.bullets++);
_root["enbullet1" + _root.bullets]._x = _x;
_root["enbullet1" + _root.bullets]._y = _y;
}
if ((shoott >= 60) and (shoott < 62)) {
if (!_root.en1.animate.attach) {
_root.attachMovie("aliens1a", "en1", 500);
_root.en1.animate._x = _x;
_root.en1.animate._y = _y;
}
}
if ((shoott >= 80) and (shoott < 82)) {
if (!_root.en2.animate.attach) {
_root.attachMovie("aliens1a", "en2", 501);
_root.en2.animate._x = _x - 20;
_root.en2.animate._y = _y;
}
}
if ((shoott >= 90) and (shoott < 92)) {
if (!_root.en3.animate.attach) {
_root.attachMovie("aliens1a", "en3", 502);
_root.en3.animate._x = _x + 20;
_root.en3.animate._y = _y;
}
}
if (shoott >= 110) {
shoott = 0;
}
wily.gotoAndStop("switch");
if (_root.player1.animate._x > _x) {
_xscale = -100;
}
if (_root.player1.animate._x < _x) {
_xscale = 100;
}
if (up) {
if (_y > 50) {
_y = (_y - speed);
}
if (_y <= 50) {
lft = true;
up = false;
}
}
if (lft) {
if (_x > 0) {
_x = (_x - speed);
}
if (_x <= 0) {
dn = true;
lft = false;
}
}
if (dn) {
if (_y < 330) {
_y = (_y + speed);
}
if (_y >= 330) {
rt = true;
dn = false;
}
}
if (rt) {
if (_x < 380) {
_x = (_x + speed);
}
if (_x >= 380) {
up = true;
rt = false;
}
}
}
if (life <= 0) {
dead = true;
}
}
}
}
if (dead) {
_root.en2.animate.dead = true;
_root.en3.animate.dead = true;
_root.en1.animate.dead = true;
deadt++;
if ((deadt >= 0) and (deadt < 150)) {
_root.bg1.gotoAndStop("none");
gotoAndStop ("dead");
}
if ((deadt >= 150) and (deadt < 350)) {
_root.bg1.gotoAndStop("giveup");
}
if ((deadt >= 400) and (deadt < 401)) {
_root.attachMovie("finalfade1a", "fade1", 900);
_root.fade1.animate._x = 200;
_root.fade1.animate._y = 200;
}
}
}
}
Instance of Symbol 485 MovieClip "bbullet1a" in Frame 215
onClipEvent (load) {
speedx = random(5);
if (speedx == 0) {
speedx = -3;
}
if (speedx == 1) {
speedx = -4;
}
if (speedx == 2) {
speedx = -2;
}
speedy = random(4);
if (speedy == 0) {
speedy = -4;
}
if (speedy == 1) {
speedy = -3;
}
if (speedy == 2) {
speedy = -2;
}
rtime = 0;
}
onClipEvent (enterFrame) {
if (_name != "bbullet1a") {
if (!_root.pause) {
rtime++;
_y = (_y + speedy);
_x = (_x + speedx);
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 5;
_root.player1.animate.hit = true;
removeMovieClip(this);
}
}
}
if ((_x > 402) or (_x < -11)) {
removeMovieClip(this);
}
if ((_y > 402) or (_y < -10)) {
_parent.removeMovieClip(this);
}
}
}
}
Frame 216
function clean() {
for (i in _root) {
_root[i].removeMovieClip();
}
}
_root.HPScoreService.postScore(_root.score, "");
_root.clean();
stop();
Instance of Symbol 1310 MovieClip in Frame 216
onClipEvent (load) {
swt = 0;
framesel = 1;
}
onClipEvent (enterFrame) {
_root.bx = framesel;
swt++;
if (swt >= 500) {
framesel = framesel + 1;
swt = 0;
}
if (framesel >= 8) {
framesel = 1;
}
if (framesel == 1) {
gotoAndStop ("a");
}
if (framesel == 2) {
gotoAndStop ("b");
}
if (framesel == 3) {
gotoAndStop ("c");
}
if (framesel == 4) {
gotoAndStop ("d");
}
if (framesel == 5) {
gotoAndStop ("e");
}
if (framesel == 6) {
gotoAndStop ("f");
}
if (framesel == 7) {
gotoAndStop ("g");
}
}
Instance of Symbol 1311 MovieClip "p1" in Frame 216
onClipEvent (load) {
_x = -70;
_y = 90;
if (_root.striker) {
gotoAndStop ("striker");
}
if (_root.geno) {
gotoAndStop ("geno");
}
if (_root.nife) {
gotoAndStop ("nife");
}
if (_root.katrin) {
gotoAndStop ("katrin");
}
if (_root.phoenix) {
gotoAndStop ("phoenix");
}
if (_root.kazu) {
gotoAndStop ("kazu");
}
zoomin = true;
zoomout = false;
up = false;
dn = false;
upt = 0;
dnt = 0;
speed1 = 0.3;
speed = 3;
}
onClipEvent (enterFrame) {
if (zoomin) {
_x = (_x + speed);
if (_x >= 70) {
up = true;
zoomin = false;
}
}
if (zoomout) {
_x = (_x + speed);
}
if (up) {
_y = (_y - speed1);
upt++;
if (upt >= 50) {
upt = 0;
dn = true;
up = false;
}
}
if (dn) {
_y = (_y + speed1);
dnt++;
if (dnt >= 50) {
dnt = 0;
up = true;
dn = false;
}
}
}
Instance of Symbol 1320 MovieClip in Frame 216
onClipEvent (load) {
speed = 0.5;
}
onClipEvent (enterFrame) {
_root.xy = _y;
if (_y > -1700) {
_y = (_y - speed);
}
if (_y <= -1700) {
_root.p1.up = false;
_root.p1.dn = false;
_root.p1.zoomout = true;
}
}
Instance of Symbol 7 MovieClip in Symbol 8 MovieClip [spark1a] Frame 1
onClipEvent (load) {
speedx = random(6);
if (speedx == 0) {
speedx = -5;
}
if (speedx == 1) {
speedx = -8;
}
if (speedx == 2) {
speedx = -2;
}
speedy = random(6);
if (speedy == 0) {
speedy = -5;
}
if (speedy == 1) {
speedy = -8;
}
if (speedy == 2) {
speedy = -2;
}
rtime = 0;
_x = _root.player1.animate._x;
_y = _root.player1.animate._y;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speedx);
rtime++;
_y = (_y + speedy);
_x = (_x + speedx);
if (_x >= 400) {
_parent.removeMovieClip();
}
if (_x <= 0) {
_parent.removeMovieClip();
}
if (_y >= 420) {
_parent.removeMovieClip();
}
if (_y <= 0) {
_parent.removeMovieClip();
}
}
Symbol 21 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 2
stop();
Symbol 21 MovieClip Frame 3
stop();
Symbol 21 MovieClip Frame 4
stop();
Symbol 21 MovieClip Frame 5
stop();
Instance of Symbol 21 MovieClip in Symbol 22 MovieClip Frame 1
onClipEvent (load) {
if (_root.p1) {
gotoAndStop ("a");
}
if (_root.p2) {
gotoAndStop ("b");
}
if (_root.p3) {
gotoAndStop ("c");
}
if (_root.p4) {
gotoAndStop ("d");
}
if (_root.p5) {
gotoAndStop ("e");
}
}
Instance of Symbol 21 MovieClip in Symbol 48 MovieClip Frame 1
onClipEvent (load) {
if (_root.p1) {
gotoAndStop ("a");
}
if (_root.p2) {
gotoAndStop ("b");
}
if (_root.p3) {
gotoAndStop ("c");
}
if (_root.p4) {
gotoAndStop ("d");
}
if (_root.p5) {
gotoAndStop ("e");
}
}
Instance of Symbol 21 MovieClip in Symbol 56 MovieClip Frame 1
onClipEvent (load) {
if (_root.p1) {
gotoAndStop ("a");
}
if (_root.p2) {
gotoAndStop ("b");
}
if (_root.p3) {
gotoAndStop ("c");
}
if (_root.p4) {
gotoAndStop ("d");
}
if (_root.p5) {
gotoAndStop ("e");
}
}
Symbol 78 MovieClip Frame 10
stop();
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 2
stop();
Symbol 94 MovieClip Frame 3
stop();
Symbol 94 MovieClip Frame 4
stop();
Symbol 94 MovieClip Frame 5
stop();
Symbol 94 MovieClip Frame 6
stop();
Symbol 94 MovieClip Frame 7
stop();
Symbol 94 MovieClip Frame 8
stop();
Symbol 94 MovieClip Frame 9
stop();
Symbol 94 MovieClip Frame 10
stop();
Symbol 94 MovieClip Frame 11
stop();
Symbol 94 MovieClip Frame 12
stop();
Symbol 94 MovieClip Frame 13
stop();
Symbol 94 MovieClip Frame 14
stop();
Symbol 94 MovieClip Frame 15
stop();
Instance of Symbol 94 MovieClip "animate" in Symbol 95 MovieClip [striker1a] Frame 1
onClipEvent (load) {
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"200", rb:"200", ga:"200", gb:"200", ba:"200", bb:"200", aa:"200", ab:"0"};
inv = false;
invt = 0;
invt2 = 0;
_width = 40;
_height = 40;
_xscale = 100;
_yscale = 100;
jspeed = 5;
speed = 7.5;
def = 1;
shoot = false;
shoott = 0;
run = false;
jump = false;
jumpt = 0;
slide = false;
slidet = 0;
dir = 0;
life = 100;
dead = false;
deadt1 = 0;
deadt2 = 0;
Rbounds = 180;
Lbounds = 180;
hit = false;
hitt = 0;
nohit = false;
nohitt = 0;
}
onClipEvent (enterFrame) {
if (anistop) {
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
}
if (!anistop) {
if (!_root.pause) {
_root.px = dir;
_root.py = _y;
_root.movespeed = speed;
if (!beamin) {
if (Key.isDown(39)) {
rt = true;
} else {
rt = false;
}
if (Key.isDown(37)) {
lft = true;
} else {
lft = false;
}
if (Key.isDown(40)) {
dn = true;
} else {
dn = false;
}
if (Key.isDown(38)) {
up = true;
} else {
up = false;
}
if (Key.isDown(65)) {
if (!a) {
shoot = true;
a = true;
}
} else {
a = false;
}
}
if (Key.isDown(83)) {
if (!b) {
jumpb = true;
b = true;
}
} else {
b = false;
}
if (nohit) {
nohitt++;
if (!inv) {
_alpha = 50;
}
if (nohitt >= 25) {
_alpha = 100;
nohitt = 0;
nohit = false;
}
}
if (_root.scrollvert) {
if (_y < 280) {
if (_root.map._y < _root.ubounds) {
_root.moveu = true;
} else {
_root.moveu = false;
}
}
if (_y > 280) {
if (_root.map._y > _root.dbounds) {
_root.moved = true;
} else {
_root.moved = false;
}
}
}
if (_x < 20) {
_x = (_x + speed);
}
if (_x > 395) {
_x = (_x - speed);
}
if (_root.map.black.hitTest(_x + 15, _y, true)) {
_x = (_x - speed);
}
if (_root.map.black.hitTest(_x - 15, _y, true)) {
_x = (_x + speed);
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y - speed);
}
if (_y >= 410) {
dead = true;
}
if (_y < 0) {
_y = (_y + speed);
}
if (!dead) {
if (inv) {
nohit = true;
invt++;
invt2++;
if (invt2 < 5) {
hitcolor.setTransform(oldColor);
}
if ((invt2 > 5) and (invt2 < 7)) {
hitcolor.setTransform(newColor);
}
if (invt2 > 7) {
invt2 = 0;
}
if (invt >= 400) {
hitcolor.setTransform(oldColor);
idup = false;
idupt = 0;
idup2t = 0;
invt = 0;
invt2 = 0;
nohitt = 0;
nohit = true;
inv = false;
}
}
if (_root.life <= 0) {
dead = true;
}
if (!rape) {
if (!hit) {
if (!climb) {
if (!slide) {
if (!jump) {
if (!fall) {
_root.movespeed = speed;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
fall = true;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumpt = 0;
if (!dn) {
if (jumpb) {
jump = true;
}
}
if (dn) {
if (jumpb) {
slide = true;
}
}
if (rt) {
dir = 0;
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
if (!shoot) {
gotoAndStop ("run");
}
if (shoot) {
gotoAndStop ("runs");
}
_xscale = 100;
}
} else {
_root.mover = false;
}
if (lft) {
dir = 1;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
if (!shoot) {
gotoAndStop ("run");
}
if (shoot) {
gotoAndStop ("runs");
}
_xscale = -100;
}
} else {
_root.movel = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = false;
if (!shoot) {
gotoAndStop ("stand");
}
if (shoot) {
gotoAndStop ("stands");
}
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
if (!shoot) {
gotoAndStop ("stand");
}
if (shoot) {
gotoAndStop ("stands");
}
}
if ((!rt) and (!lft)) {
if (!shoot) {
gotoAndStop ("stand");
}
if (shoot) {
gotoAndStop ("stands");
}
}
}
}
if (fall) {
_y = (_y + jspeed);
if (_root.scrollvert) {
_root.movespeed = jspeed;
}
jumpb = false;
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
if (rt) {
dir = 0;
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = 100;
}
} else {
_root.mover = false;
}
if (lft) {
dir = 1;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = -100;
}
} else {
_root.movel = false;
}
if ((!rt) and (!lft)) {
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
}
} else {
_root.moved = false;
}
}
if (jump) {
jumpb = false;
if (_root.scrollvert) {
_root.movespeed = jspeed;
}
_y = (_y - jspeed);
jumpt++;
if (_root.map.black.hitTest(_x, _y - 20, true)) {
jump = false;
}
if (rt) {
dir = 0;
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = 100;
}
} else {
_root.mover = false;
}
if (lft) {
dir = 1;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = -100;
}
} else {
_root.movel = false;
}
if ((!rt) and (!lft)) {
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = false;
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (jumpt >= 25) {
jump = false;
}
} else {
_root.moveu = false;
}
if (shoot) {
shoott++;
if (_root.p1) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster1a", "buster1" + _root.bullets, _root.bullets++);
}
}
if (_root.p2) {
if (_root.p2p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p2p = _root.p2p - 3;
_root.attachMovie("buster2a", "buster2" + _root.bullets, _root.bullets++);
}
}
}
if (_root.p3) {
if (_root.p3p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p3p = _root.p3p - 5;
_root.attachMovie("buster3a", "buster3" + _root.bullets, _root.bullets++);
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster3a", "buster3" + _root.bullets, _root.bullets++);
}
}
}
if (_root.p4) {
if (_root.p4p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p4p = _root.p4p - 6;
_root.attachMovie("buster4a", "buster4" + _root.bullets, _root.bullets++);
}
}
}
if (_root.p5) {
if (_root.p5p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p5p = _root.p5p - 13;
_root.attachMovie("buster5a", "buster5" + _root.bullets, _root.bullets++);
}
}
}
if (shoott >= 15) {
shoott = 0;
shoot = false;
}
}
}
if (slide) {
slidet++;
jumpb = false;
gotoAndStop ("slide");
if (dir == 0) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
} else {
_root.mover = false;
}
if (dir == 1) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
} else {
_root.movel = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = false;
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (slidet >= 20) {
slidet = 0;
slide = false;
}
}
}
}
if (hit) {
gotoAndStop ("hit");
hitt++;
shoott = 0;
shoot = false;
slidet = 0;
slide = false;
jump = false;
if (hitt >= 10) {
hitt = 0;
nohit = true;
hit = false;
}
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
} else {
_root.mover = false;
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
} else {
_root.movel = false;
}
}
}
}
if (dead) {
_root.moveu = false;
_root.moved = false;
_root.mover = false;
_root.movel = false;
deadt1++;
deadt2++;
_visible = false;
if (deadt1 >= 3) {
_root.attachMovie("spark1a", "spark1" + _root.bullets, _root.bullets++);
deadt1 = 0;
}
if (deadt2 >= 150) {
_root.gotoAndPlay("reset");
_parent.removeMovieClip();
}
}
}
}
}
Symbol 106 MovieClip Frame 7
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 2
stop();
Instance of Symbol 107 MovieClip in Symbol 108 MovieClip [buster1b] Frame 1
onClipEvent (load) {
speed = 9;
rtime = 0;
dead = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_x >= 400) {
_parent.removeMovieClip();
removeMovieClip(this);
}
if (_x < -100) {
_parent.removeMovieClip();
removeMovieClip(this);
}
if (_y >= 400) {
_parent.removeMovieClip();
removeMovieClip(this);
}
if (_y < 0) {
_parent.removeMovieClip();
removeMovieClip(this);
}
if (!dead) {
gotoAndStop ("go");
_x = (_x + speed);
if (this.hitTest(_root.en1.animate.limit)) {
_root.en1.animate.life = _root.en1.animate.life - 1;
_root.en1.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en2.animate.limit)) {
_root.en2.animate.life = _root.en2.animate.life - 1;
_root.en2.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en3.animate.limit)) {
_root.en3.animate.life = _root.en3.animate.life - 1;
_root.en3.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en4.animate.limit)) {
_root.en4.animate.life = _root.en4.animate.life - 1;
_root.en4.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en5.animate.limit)) {
_root.en5.animate.life = _root.en5.animate.life - 1;
_root.en5.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en6.animate.limit)) {
_root.en6.animate.life = _root.en6.animate.life - 1;
_root.en6.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en7.animate.limit)) {
_root.en7.animate.life = _root.en7.animate.life - 1;
_root.en7.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en8.animate.limit)) {
_root.en8.animate.life = _root.en8.animate.life - 1;
_root.en8.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en9.animate.limit)) {
_root.en9.animate.life = _root.en9.animate.life - 1;
_root.en9.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en10.animate.limit)) {
_root.en10.animate.life = _root.en10.animate.life - 1;
_root.en10.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en11.animate.limit)) {
_root.en11.animate.life = _root.en11.animate.life - 1;
_root.en11.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en12.animate.limit)) {
_root.en12.animate.life = _root.en12.animate.life - 1;
_root.en12.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en13.animate.limit)) {
_root.en13.animate.life = _root.en13.animate.life - 1;
_root.en13.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en14.animate.limit)) {
_root.en14.animate.life = _root.en14.animate.life - 1;
_root.en14.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en15.animate.limit)) {
_root.en15.animate.life = _root.en15.animate.life - 1;
_root.en15.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en16.animate.limit)) {
_root.en16.animate.life = _root.en16.animate.life - 1;
_root.en16.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en17.animate.limit)) {
_root.en17.animate.life = _root.en17.animate.life - 1;
_root.en17.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en18.animate.limit)) {
_root.en18.animate.life = _root.en18.animate.life - 1;
_root.en18.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en19.animate.limit)) {
_root.en19.animate.life = _root.en19.animate.life - 1;
_root.en19.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en20.animate.limit)) {
_root.en20.animate.life = _root.en20.animate.life - 1;
_root.en20.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e1.limit)) {
_root.e1.life = _root.e1.life - 1;
_root.e1.hit = true;
dead = true;
}
if (this.hitTest(_root.e2.limit)) {
_root.e2.life = _root.e2.life - 1;
_root.e2.hit = true;
dead = true;
}
if (this.hitTest(_root.e3.limit)) {
_root.e3.life = _root.e3.life - 1;
_root.e3.hit = true;
dead = true;
}
if (this.hitTest(_root.e4.limit)) {
_root.e4.life = _root.e4.life - 1;
_root.e4.hit = true;
dead = true;
}
if (this.hitTest(_root.e5.limit)) {
_root.e5.life = _root.e5.life - 1;
_root.e5.hit = true;
dead = true;
}
if (this.hitTest(_root.e6.limit)) {
_root.e6.life = _root.e6.life - 1;
_root.e6.hit = true;
dead = true;
}
if (this.hitTest(_root.e7.limit)) {
_root.e7.life = _root.e7.life - 1;
_root.e7.hit = true;
dead = true;
}
if (this.hitTest(_root.boss1.limit)) {
_root.boss1.life = _root.boss1.life - 1;
_root.boss1.hit = true;
dead = true;
}
if (this.hitTest(_root.boss1.limita)) {
dead = true;
}
if (this.hitTest(_root.boss1.limitb)) {
dead = true;
}
if (this.hitTest(_root.boss1.limitc)) {
dead = true;
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 107 MovieClip in Symbol 109 MovieClip [buster1a] Frame 1
onClipEvent (load) {
if (_root.striker) {
if (_root.player1.animate.dir == 0) {
speed = 9;
_x = (_root.player1.animate._x + 50);
}
if (_root.player1.animate.dir == 1) {
speed = -9;
_x = (_root.player1.animate._x - 50);
}
_y = _root.player1.animate._y;
}
if (_root.geno) {
if (_root.player1.animate.dir == 0) {
speed = 9;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -9;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y - 5);
}
if (_root.nife) {
if (_root.player1.animate.dir == 0) {
speed = 9;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -9;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y - 5);
}
if (_root.katrin) {
if (_root.player1.animate.dir == 0) {
speed = 9;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -9;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y - 5);
}
if (_root.phoenix) {
if (_root.player1.animate.dir == 0) {
speed = 9;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -9;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y + 5);
}
if (_root.kazu) {
if (_root.player1.animate.dir == 0) {
speed = 9;
_x = (_root.player1.animate._x + 55);
}
if (_root.player1.animate.dir == 1) {
speed = -9;
_x = (_root.player1.animate._x - 55);
}
_y = (_root.player1.animate._y - 10);
}
rtime = 0;
dead = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_x >= 400) {
_parent.removeMovieClip();
removeMovieClip(this);
}
if (_x <= 0) {
_parent.removeMovieClip();
removeMovieClip(this);
}
if (_y >= 400) {
_parent.removeMovieClip();
removeMovieClip(this);
}
if (_y <= 0) {
_parent.removeMovieClip();
removeMovieClip(this);
}
if (!dead) {
gotoAndStop ("go");
_x = (_x + speed);
if (this.hitTest(_root.boss1.limit)) {
_root.boss1.life = _root.boss1.life - 1;
_root.boss1.hit = true;
dead = true;
}
if (this.hitTest(_root.boss2.limit)) {
_root.boss2.life = _root.boss2.life - 1;
_root.boss2.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e1.limit)) {
_root.map.e1.life = _root.map.e1.life - 1;
_root.map.e1.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e2.limit)) {
_root.map.e2.life = _root.map.e2.life - 1;
_root.map.e2.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e3.limit)) {
_root.map.e3.life = _root.map.e3.life - 1;
_root.map.e3.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e4.limit)) {
_root.map.e4.life = _root.map.e4.life - 1;
_root.map.e4.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e5.limit)) {
_root.map.e5.life = _root.map.e5.life - 1;
_root.map.e5.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e6.limit)) {
_root.map.e6.life = _root.map.e6.life - 1;
_root.map.e6.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e7.limit)) {
_root.map.e7.life = _root.map.e7.life - 1;
_root.map.e7.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e8.limit)) {
_root.map.e8.life = _root.map.e8.life - 1;
_root.map.e8.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e9.limit)) {
_root.map.e9.life = _root.map.e9.life - 1;
_root.map.e9.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e10.limit)) {
_root.map.e10.life = _root.map.e10.life - 1;
_root.map.e10.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e11.limit)) {
_root.map.e11.life = _root.map.e11.life - 1;
_root.map.e11.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e12.limit)) {
_root.map.e12.life = _root.map.e12.life - 1;
_root.map.e12.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e13.limit)) {
_root.map.e13.life = _root.map.e13.life - 1;
_root.map.e13.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e14.limit)) {
_root.map.e14.life = _root.map.e14.life - 1;
_root.map.e14.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e15.limit)) {
_root.map.e15.life = _root.map.e15.life - 1;
_root.map.e15.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e16.limit)) {
_root.map.e16.life = _root.map.e16.life - 1;
_root.map.e16.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e17.limit)) {
_root.map.e17.life = _root.map.e17.life - 1;
_root.map.e17.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e18.limit)) {
_root.map.e18.life = _root.map.e18.life - 1;
_root.map.e18.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e19.limit)) {
_root.map.e19.life = _root.map.e19.life - 1;
_root.map.e19.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e20.limit)) {
_root.map.e20.life = _root.map.e20.life - 1;
_root.map.e20.hit = true;
dead = true;
}
if (this.hitTest(_root.e1.limit)) {
_root.e1.life = _root.e1.life - 1;
_root.e1.hit = true;
dead = true;
}
if (this.hitTest(_root.e2.limit)) {
_root.e2.life = _root.e2.life - 1;
_root.e2.hit = true;
dead = true;
}
if (this.hitTest(_root.e3.limit)) {
_root.e3.life = _root.e3.life - 1;
_root.e3.hit = true;
dead = true;
}
if (this.hitTest(_root.e4.limit)) {
_root.e4.life = _root.e4.life - 1;
_root.e4.hit = true;
dead = true;
}
if (this.hitTest(_root.e5.limit)) {
_root.e5.life = _root.e5.life - 1;
_root.e5.hit = true;
dead = true;
}
if (this.hitTest(_root.e6.limit)) {
_root.e6.life = _root.e6.life - 1;
_root.e6.hit = true;
dead = true;
}
if (this.hitTest(_root.e7.limit)) {
_root.e7.life = _root.e7.life - 1;
_root.e7.hit = true;
dead = true;
}
if (this.hitTest(_root.e8.limit)) {
_root.e8.life = _root.e8.life - 1;
_root.e8.hit = true;
dead = true;
}
if (this.hitTest(_root.e9.limit)) {
_root.e9.life = _root.e9.life - 1;
_root.e9.hit = true;
dead = true;
}
if (this.hitTest(_root.e10.limit)) {
_root.e10.life = _root.e10.life - 1;
_root.e10.hit = true;
dead = true;
}
if (this.hitTest(_root.e11.limit)) {
_root.e11.life = _root.e11.life - 1;
_root.e11.hit = true;
dead = true;
}
if (this.hitTest(_root.e12.limit)) {
_root.e12.life = _root.e12.life - 1;
_root.e12.hit = true;
dead = true;
}
if (this.hitTest(_root.e13.limit)) {
_root.e13.life = _root.e13.life - 1;
_root.e13.hit = true;
dead = true;
}
if (this.hitTest(_root.e14.limit)) {
_root.e14.life = _root.e14.life - 1;
_root.e14.hit = true;
dead = true;
}
if (this.hitTest(_root.e15.limit)) {
_root.e15.life = _root.e15.life - 1;
_root.e15.hit = true;
dead = true;
}
if (this.hitTest(_root.e16.limit)) {
_root.e16.life = _root.e16.life - 1;
_root.e16.hit = true;
dead = true;
}
if (this.hitTest(_root.e17.limit)) {
_root.e17.life = _root.e17.life - 1;
_root.e17.hit = true;
dead = true;
}
if (this.hitTest(_root.e18.limit)) {
_root.e18.life = _root.e18.life - 1;
_root.e18.hit = true;
dead = true;
}
if (this.hitTest(_root.e19.limit)) {
_root.e19.life = _root.e19.life - 1;
_root.e19.hit = true;
dead = true;
}
if (this.hitTest(_root.e20.limit)) {
_root.e20.life = _root.e20.life - 1;
_root.e20.hit = true;
dead = true;
}
if (this.hitTest(_root.e9.animate.limit)) {
_root.e9.animate.life = _root.e9.animate.life - 1;
_root.e9.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e10.animate.limit)) {
_root.e10.animate.life = _root.e10.animate.life - 1;
_root.e10.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e11.animate.limit)) {
_root.e11.animate.life = _root.e11.animate.life - 1;
_root.e11.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e12.animate.limit)) {
_root.e12.animate.life = _root.e12.animate.life - 1;
_root.e12.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e13.animate.limit)) {
_root.e13.animate.life = _root.e13.animate.life - 1;
_root.e13.animate.hit = true;
dead = true;
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 2
stop();
Instance of Symbol 114 MovieClip in Symbol 115 MovieClip [buster2d] Frame 1
onClipEvent (load) {
speed = 11;
_xscale = 100;
rtime = 0;
dead = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_x > 400) {
_parent.removeMovieClip();
}
if (_x < 0) {
_parent.removeMovieClip();
}
if (_y > 400) {
_parent.removeMovieClip();
}
if (_y < -300) {
_parent.removeMovieClip();
}
if (!dead) {
gotoAndStop ("go");
_y = (_y - speed);
_x = (_x + speed);
if (this.hitTest(_root.en1.animate.limit)) {
_root.en1.animate.life = _root.en1.animate.life - 2;
_root.en1.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en2.animate.limit)) {
_root.en2.animate.life = _root.en2.animate.life - 2;
_root.en2.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en3.animate.limit)) {
_root.en3.animate.life = _root.en3.animate.life - 2;
_root.en3.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en4.animate.limit)) {
_root.en4.animate.life = _root.en4.animate.life - 2;
_root.en4.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en5.animate.limit)) {
_root.en5.animate.life = _root.en5.animate.life - 2;
_root.en5.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en6.animate.limit)) {
_root.en6.animate.life = _root.en6.animate.life - 2;
_root.en6.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en7.animate.limit)) {
_root.en7.animate.life = _root.en7.animate.life - 2;
_root.en7.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en8.animate.limit)) {
_root.en8.animate.life = _root.en8.animate.life - 2;
_root.en8.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en9.animate.limit)) {
_root.en9.animate.life = _root.en9.animate.life - 2;
_root.en9.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en10.animate.limit)) {
_root.en10.animate.life = _root.en10.animate.life - 2;
_root.en10.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en11.animate.limit)) {
_root.en11.animate.life = _root.en11.animate.life - 2;
_root.en11.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en12.animate.limit)) {
_root.en12.animate.life = _root.en12.animate.life - 2;
_root.en12.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en13.animate.limit)) {
_root.en13.animate.life = _root.en13.animate.life - 2;
_root.en13.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en14.animate.limit)) {
_root.en14.animate.life = _root.en14.animate.life - 2;
_root.en14.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en15.animate.limit)) {
_root.en15.animate.life = _root.en15.animate.life - 2;
_root.en15.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en16.animate.limit)) {
_root.en16.animate.life = _root.en16.animate.life - 2;
_root.en16.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en17.animate.limit)) {
_root.en17.animate.life = _root.en17.animate.life - 2;
_root.en17.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en18.animate.limit)) {
_root.en18.animate.life = _root.en18.animate.life - 2;
_root.en18.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en19.animate.limit)) {
_root.en19.animate.life = _root.en19.animate.life - 2;
_root.en19.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en20.animate.limit)) {
_root.en20.animate.life = _root.en20.animate.life - 2;
_root.en20.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e1.limit)) {
_root.e1.life = _root.e1.life - 2;
_root.e1.hit = true;
dead = true;
}
if (this.hitTest(_root.e2.limit)) {
_root.e2.life = _root.e2.life - 2;
_root.e2.hit = true;
dead = true;
}
if (this.hitTest(_root.e3.limit)) {
_root.e3.life = _root.e3.life - 2;
_root.e3.hit = true;
dead = true;
}
if (this.hitTest(_root.e4.limit)) {
_root.e4.life = _root.e4.life - 2;
_root.e4.hit = true;
dead = true;
}
if (this.hitTest(_root.e5.limit)) {
_root.e5.life = _root.e5.life - 2;
_root.e5.hit = true;
dead = true;
}
if (this.hitTest(_root.e6.limit)) {
_root.e6.life = _root.e6.life - 2;
_root.e6.hit = true;
dead = true;
}
if (this.hitTest(_root.e7.limit)) {
_root.e7.life = _root.e7.life - 2;
_root.e7.hit = true;
dead = true;
}
if (this.hitTest(_root.boss1.limit)) {
_root.boss1.life = _root.boss1.life - 1;
_root.boss1.hit = true;
dead = true;
}
if (this.hitTest(_root.boss1.limita)) {
dead = true;
}
if (this.hitTest(_root.boss1.limitb)) {
dead = true;
}
if (this.hitTest(_root.boss1.limitc)) {
dead = true;
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 114 MovieClip in Symbol 116 MovieClip [buster2c] Frame 1
onClipEvent (load) {
speed = 11;
_xscale = 100;
rtime = 0;
dead = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_x > 400) {
_parent.removeMovieClip();
}
if (_x < 0) {
_parent.removeMovieClip();
}
if (_y > 400) {
_parent.removeMovieClip();
}
if (_y < 0) {
_parent.removeMovieClip();
}
if (!dead) {
gotoAndStop ("go");
_y = (_y + speed);
_x = (_x + speed);
if (this.hitTest(_root.en1.animate.limit)) {
_root.en1.animate.life = _root.en1.animate.life - 2;
_root.en1.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en2.animate.limit)) {
_root.en2.animate.life = _root.en2.animate.life - 2;
_root.en2.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en3.animate.limit)) {
_root.en3.animate.life = _root.en3.animate.life - 2;
_root.en3.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en4.animate.limit)) {
_root.en4.animate.life = _root.en4.animate.life - 2;
_root.en4.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en5.animate.limit)) {
_root.en5.animate.life = _root.en5.animate.life - 2;
_root.en5.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en6.animate.limit)) {
_root.en6.animate.life = _root.en6.animate.life - 2;
_root.en6.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en7.animate.limit)) {
_root.en7.animate.life = _root.en7.animate.life - 2;
_root.en7.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en8.animate.limit)) {
_root.en8.animate.life = _root.en8.animate.life - 2;
_root.en8.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en9.animate.limit)) {
_root.en9.animate.life = _root.en9.animate.life - 2;
_root.en9.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en10.animate.limit)) {
_root.en10.animate.life = _root.en10.animate.life - 2;
_root.en10.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en11.animate.limit)) {
_root.en11.animate.life = _root.en11.animate.life - 2;
_root.en11.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en12.animate.limit)) {
_root.en12.animate.life = _root.en12.animate.life - 2;
_root.en12.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en13.animate.limit)) {
_root.en13.animate.life = _root.en13.animate.life - 2;
_root.en13.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en14.animate.limit)) {
_root.en14.animate.life = _root.en14.animate.life - 2;
_root.en14.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en15.animate.limit)) {
_root.en15.animate.life = _root.en15.animate.life - 2;
_root.en15.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en16.animate.limit)) {
_root.en16.animate.life = _root.en16.animate.life - 2;
_root.en16.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en17.animate.limit)) {
_root.en17.animate.life = _root.en17.animate.life - 2;
_root.en17.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en18.animate.limit)) {
_root.en18.animate.life = _root.en18.animate.life - 2;
_root.en18.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en19.animate.limit)) {
_root.en19.animate.life = _root.en19.animate.life - 2;
_root.en19.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en20.animate.limit)) {
_root.en20.animate.life = _root.en20.animate.life - 2;
_root.en20.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e1.limit)) {
_root.e1.life = _root.e1.life - 2;
_root.e1.hit = true;
dead = true;
}
if (this.hitTest(_root.e2.limit)) {
_root.e2.life = _root.e2.life - 2;
_root.e2.hit = true;
dead = true;
}
if (this.hitTest(_root.e3.limit)) {
_root.e3.life = _root.e3.life - 2;
_root.e3.hit = true;
dead = true;
}
if (this.hitTest(_root.e4.limit)) {
_root.e4.life = _root.e4.life - 2;
_root.e4.hit = true;
dead = true;
}
if (this.hitTest(_root.e5.limit)) {
_root.e5.life = _root.e5.life - 2;
_root.e5.hit = true;
dead = true;
}
if (this.hitTest(_root.e6.limit)) {
_root.e6.life = _root.e6.life - 2;
_root.e6.hit = true;
dead = true;
}
if (this.hitTest(_root.e7.limit)) {
_root.e7.life = _root.e7.life - 2;
_root.e7.hit = true;
dead = true;
}
if (this.hitTest(_root.boss1.limit)) {
_root.boss1.life = _root.boss1.life - 1;
_root.boss1.hit = true;
dead = true;
}
if (this.hitTest(_root.boss1.limita)) {
dead = true;
}
if (this.hitTest(_root.boss1.limitb)) {
dead = true;
}
if (this.hitTest(_root.boss1.limitc)) {
dead = true;
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 114 MovieClip in Symbol 117 MovieClip [buster2b] Frame 1
onClipEvent (load) {
speed = 11;
_xscale = 100;
rtime = 0;
dead = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_x > 400) {
_parent.removeMovieClip();
}
if (_x < 0) {
_parent.removeMovieClip();
}
if (_y > 400) {
_parent.removeMovieClip();
}
if (_y < 0) {
_parent.removeMovieClip();
}
if (!dead) {
gotoAndStop ("go");
_x = (_x + speed);
if (this.hitTest(_root.en1.animate.limit)) {
_root.en1.animate.life = _root.en1.animate.life - 2;
_root.en1.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en2.animate.limit)) {
_root.en2.animate.life = _root.en2.animate.life - 2;
_root.en2.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en3.animate.limit)) {
_root.en3.animate.life = _root.en3.animate.life - 2;
_root.en3.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en4.animate.limit)) {
_root.en4.animate.life = _root.en4.animate.life - 2;
_root.en4.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en5.animate.limit)) {
_root.en5.animate.life = _root.en5.animate.life - 2;
_root.en5.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en6.animate.limit)) {
_root.en6.animate.life = _root.en6.animate.life - 2;
_root.en6.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en7.animate.limit)) {
_root.en7.animate.life = _root.en7.animate.life - 2;
_root.en7.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en8.animate.limit)) {
_root.en8.animate.life = _root.en8.animate.life - 2;
_root.en8.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en9.animate.limit)) {
_root.en9.animate.life = _root.en9.animate.life - 2;
_root.en9.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en10.animate.limit)) {
_root.en10.animate.life = _root.en10.animate.life - 2;
_root.en10.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en11.animate.limit)) {
_root.en11.animate.life = _root.en11.animate.life - 2;
_root.en11.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en12.animate.limit)) {
_root.en12.animate.life = _root.en12.animate.life - 2;
_root.en12.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en13.animate.limit)) {
_root.en13.animate.life = _root.en13.animate.life - 2;
_root.en13.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en14.animate.limit)) {
_root.en14.animate.life = _root.en14.animate.life - 2;
_root.en14.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en15.animate.limit)) {
_root.en15.animate.life = _root.en15.animate.life - 2;
_root.en15.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en16.animate.limit)) {
_root.en16.animate.life = _root.en16.animate.life - 2;
_root.en16.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en17.animate.limit)) {
_root.en17.animate.life = _root.en17.animate.life - 2;
_root.en17.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en18.animate.limit)) {
_root.en18.animate.life = _root.en18.animate.life - 2;
_root.en18.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en19.animate.limit)) {
_root.en19.animate.life = _root.en19.animate.life - 2;
_root.en19.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en20.animate.limit)) {
_root.en20.animate.life = _root.en20.animate.life - 2;
_root.en20.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e1.limit)) {
_root.e1.life = _root.e1.life - 2;
_root.e1.hit = true;
dead = true;
}
if (this.hitTest(_root.e2.limit)) {
_root.e2.life = _root.e2.life - 2;
_root.e2.hit = true;
dead = true;
}
if (this.hitTest(_root.e3.limit)) {
_root.e3.life = _root.e3.life - 2;
_root.e3.hit = true;
dead = true;
}
if (this.hitTest(_root.e4.limit)) {
_root.e4.life = _root.e4.life - 2;
_root.e4.hit = true;
dead = true;
}
if (this.hitTest(_root.e5.limit)) {
_root.e5.life = _root.e5.life - 2;
_root.e5.hit = true;
dead = true;
}
if (this.hitTest(_root.e6.limit)) {
_root.e6.life = _root.e6.life - 2;
_root.e6.hit = true;
dead = true;
}
if (this.hitTest(_root.e7.limit)) {
_root.e7.life = _root.e7.life - 2;
_root.e7.hit = true;
dead = true;
}
if (this.hitTest(_root.boss1.limit)) {
_root.boss1.life = _root.boss1.life - 1;
_root.boss1.hit = true;
dead = true;
}
if (this.hitTest(_root.boss1.limita)) {
dead = true;
}
if (this.hitTest(_root.boss1.limitb)) {
dead = true;
}
if (this.hitTest(_root.boss1.limitc)) {
dead = true;
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 114 MovieClip in Symbol 118 MovieClip [buster2a] Frame 1
onClipEvent (load) {
if (_root.striker) {
if (_root.player1.animate.dir == 0) {
speed = 11;
_xscale = 100;
_x = (_root.player1.animate._x + 50);
}
if (_root.player1.animate.dir == 1) {
speed = -11;
_xscale = -100;
_x = (_root.player1.animate._x - 50);
}
_y = _root.player1.animate._y;
}
if (_root.geno) {
if (_root.player1.animate.dir == 0) {
speed = 11;
_xscale = 100;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -11;
_xscale = -100;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y - 5);
}
if (_root.nife) {
if (_root.player1.animate.dir == 0) {
speed = 11;
_xscale = 100;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -11;
_xscale = -100;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y - 5);
}
if (_root.katrin) {
if (_root.player1.animate.dir == 0) {
speed = 11;
_xscale = 100;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -11;
_xscale = -100;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y - 5);
}
if (_root.phoenix) {
if (_root.player1.animate.dir == 0) {
speed = 11;
_xscale = 100;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -11;
_xscale = -100;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y + 5);
}
if (_root.kazu) {
if (_root.player1.animate.dir == 0) {
speed = 11;
_xscale = 100;
_x = (_root.player1.animate._x + 55);
}
if (_root.player1.animate.dir == 1) {
speed = -11;
_xscale = -100;
_x = (_root.player1.animate._x - 55);
}
_y = (_root.player1.animate._y - 10);
}
rtime = 0;
dead = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_x > 400) {
_parent.removeMovieClip();
}
if (_x < 0) {
_parent.removeMovieClip();
}
if (_y > 400) {
_parent.removeMovieClip();
}
if (_y < 0) {
_parent.removeMovieClip();
}
if (!dead) {
gotoAndStop ("go");
_x = (_x + speed);
if (this.hitTest(_root.boss1.limit)) {
_root.boss1.life = _root.boss1.life - 1;
_root.boss1.hit = true;
dead = true;
}
if (this.hitTest(_root.boss2.limit)) {
_root.boss2.life = _root.boss2.life - 1.5;
_root.boss2.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e1.limit)) {
_root.map.e1.life = _root.map.e1.life - 2;
_root.map.e1.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e2.limit)) {
_root.map.e2.life = _root.map.e2.life - 2;
_root.map.e2.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e3.limit)) {
_root.map.e3.life = _root.map.e3.life - 2;
_root.map.e3.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e4.limit)) {
_root.map.e4.life = _root.map.e4.life - 2;
_root.map.e4.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e5.limit)) {
_root.map.e5.life = _root.map.e5.life - 2;
_root.map.e5.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e6.limit)) {
_root.map.e6.life = _root.map.e6.life - 2;
_root.map.e6.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e7.limit)) {
_root.map.e7.life = _root.map.e7.life - 2;
_root.map.e7.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e8.limit)) {
_root.map.e8.life = _root.map.e8.life - 2;
_root.map.e8.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e9.limit)) {
_root.map.e9.life = _root.map.e9.life - 2;
_root.map.e9.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e10.limit)) {
_root.map.e10.life = _root.map.e10.life - 2;
_root.map.e10.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e11.limit)) {
_root.map.e11.life = _root.map.e11.life - 2;
_root.map.e11.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e12.limit)) {
_root.map.e12.life = _root.map.e12.life - 2;
_root.map.e12.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e13.limit)) {
_root.map.e13.life = _root.map.e13.life - 2;
_root.map.e13.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e14.limit)) {
_root.map.e14.life = _root.map.e14.life - 2;
_root.map.e14.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e15.limit)) {
_root.map.e15.life = _root.map.e15.life - 2;
_root.map.e15.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e16.limit)) {
_root.map.e16.life = _root.map.e16.life - 2;
_root.map.e16.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e17.limit)) {
_root.map.e17.life = _root.map.e17.life - 2;
_root.map.e17.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e18.limit)) {
_root.map.e18.life = _root.map.e18.life - 2;
_root.map.e18.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e19.limit)) {
_root.map.e19.life = _root.map.e19.life - 2;
_root.map.e19.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e20.limit)) {
_root.map.e20.life = _root.map.e20.life - 2;
_root.map.e20.hit = true;
dead = true;
}
if (this.hitTest(_root.e1.limit)) {
_root.e1.life = _root.e1.life - 2;
_root.e1.hit = true;
dead = true;
}
if (this.hitTest(_root.e2.limit)) {
_root.e2.life = _root.e2.life - 2;
_root.e2.hit = true;
dead = true;
}
if (this.hitTest(_root.e3.limit)) {
_root.e3.life = _root.e3.life - 2;
_root.e3.hit = true;
dead = true;
}
if (this.hitTest(_root.e4.limit)) {
_root.e4.life = _root.e4.life - 2;
_root.e4.hit = true;
dead = true;
}
if (this.hitTest(_root.e5.limit)) {
_root.e5.life = _root.e5.life - 2;
_root.e5.hit = true;
dead = true;
}
if (this.hitTest(_root.e6.limit)) {
_root.e6.life = _root.e6.life - 2;
_root.e6.hit = true;
dead = true;
}
if (this.hitTest(_root.e7.limit)) {
_root.e7.life = _root.e7.life - 2;
_root.e7.hit = true;
dead = true;
}
if (this.hitTest(_root.e8.limit)) {
_root.e8.life = _root.e8.life - 2;
_root.e8.hit = true;
dead = true;
}
if (this.hitTest(_root.e9.limit)) {
_root.e9.life = _root.e9.life - 2;
_root.e9.hit = true;
dead = true;
}
if (this.hitTest(_root.e10.limit)) {
_root.e10.life = _root.e10.life - 2;
_root.e10.hit = true;
dead = true;
}
if (this.hitTest(_root.e11.limit)) {
_root.e11.life = _root.e11.life - 2;
_root.e11.hit = true;
dead = true;
}
if (this.hitTest(_root.e12.limit)) {
_root.e12.life = _root.e12.life - 2;
_root.e12.hit = true;
dead = true;
}
if (this.hitTest(_root.e13.limit)) {
_root.e13.life = _root.e13.life - 2;
_root.e13.hit = true;
dead = true;
}
if (this.hitTest(_root.e14.limit)) {
_root.e14.life = _root.e14.life - 2;
_root.e14.hit = true;
dead = true;
}
if (this.hitTest(_root.e15.limit)) {
_root.e15.life = _root.e15.life - 2;
_root.e15.hit = true;
dead = true;
}
if (this.hitTest(_root.e16.limit)) {
_root.e16.life = _root.e16.life - 2;
_root.e16.hit = true;
dead = true;
}
if (this.hitTest(_root.e17.limit)) {
_root.e17.life = _root.e17.life - 2;
_root.e17.hit = true;
dead = true;
}
if (this.hitTest(_root.e18.limit)) {
_root.e18.life = _root.e18.life - 2;
_root.e18.hit = true;
dead = true;
}
if (this.hitTest(_root.e19.limit)) {
_root.e19.life = _root.e19.life - 2;
_root.e19.hit = true;
dead = true;
}
if (this.hitTest(_root.e20.limit)) {
_root.e20.life = _root.e20.life - 2;
_root.e20.hit = true;
dead = true;
}
if (this.hitTest(_root.e9.animate.limit)) {
_root.e9.animate.life = _root.e9.animate.life - 2;
_root.e9.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e10.animate.limit)) {
_root.e10.animate.life = _root.e10.animate.life - 2;
_root.e10.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e11.animate.limit)) {
_root.e11.animate.life = _root.e11.animate.life - 2;
_root.e11.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e12.animate.limit)) {
_root.e12.animate.life = _root.e12.animate.life - 2;
_root.e12.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e13.animate.limit)) {
_root.e13.animate.life = _root.e13.animate.life - 2;
_root.e13.animate.hit = true;
dead = true;
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Symbol 121 MovieClip Frame 6
stop();
Symbol 130 MovieClip Frame 15
stop();
Symbol 131 MovieClip Frame 1
stop();
Instance of Symbol 121 MovieClip in Symbol 131 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 4);
}
Symbol 131 MovieClip Frame 2
stop();
Instance of Symbol 131 MovieClip in Symbol 132 MovieClip [buster3a] Frame 1
onClipEvent (load) {
if (_root.striker) {
if (_root.player1.animate.dir == 0) {
speed = 8;
_x = (_root.player1.animate._x + 50);
}
if (_root.player1.animate.dir == 1) {
speed = -8;
_x = (_root.player1.animate._x - 50);
}
_y = _root.player1.animate._y;
}
if (_root.geno) {
if (_root.player1.animate.dir == 0) {
speed = 8;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -8;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y - 5);
}
if (_root.nife) {
if (_root.player1.animate.dir == 0) {
speed = 8;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -8;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y - 5);
}
if (_root.katrin) {
if (_root.player1.animate.dir == 0) {
speed = 8;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -8;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y - 5);
}
if (_root.phoenix) {
if (_root.player1.animate.dir == 0) {
speed = 8;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -8;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y + 5);
}
if (_root.kazu) {
if (_root.player1.animate.dir == 0) {
speed = 8;
_x = (_root.player1.animate._x + 55);
}
if (_root.player1.animate.dir == 1) {
speed = -8;
_x = (_root.player1.animate._x - 55);
}
_y = (_root.player1.animate._y - 10);
}
uspeeds = random(4);
if (uspeeds == 0) {
uspeed = -1;
}
if (uspeeds == 1) {
uspeed = -2;
}
if (uspeeds == 2) {
uspeed = -3;
}
if (uspeeds == 3) {
uspeed = -4;
}
rtime = 0;
dead = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_x > 400) {
_parent.removeMovieClip();
}
if (_x < 0) {
_parent.removeMovieClip();
}
if (_y > 400) {
_parent.removeMovieClip();
}
if (_y < 0) {
_parent.removeMovieClip();
}
if (!dead) {
rtime++;
gotoAndStop ("go");
_y = (_y + uspeed);
_x = (_x + speed);
if (rtime >= 50) {
dead = true;
}
if (this.hitTest(_root.boss1.limit)) {
_root.boss1.life = _root.boss1.life - 0.5;
_root.boss1.hit = true;
dead = true;
}
if (this.hitTest(_root.boss2.limit)) {
_root.boss2.life = _root.boss2.life - 2;
_root.boss2.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e1.limit)) {
_root.map.e1.life = _root.map.e1.life - 2.5;
_root.map.e1.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e2.limit)) {
_root.map.e2.life = _root.map.e2.life - 2.5;
_root.map.e2.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e3.limit)) {
_root.map.e3.life = _root.map.e3.life - 2.5;
_root.map.e3.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e4.limit)) {
_root.map.e4.life = _root.map.e4.life - 2.5;
_root.map.e4.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e5.limit)) {
_root.map.e5.life = _root.map.e5.life - 2.5;
_root.map.e5.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e6.limit)) {
_root.map.e6.life = _root.map.e6.life - 2.5;
_root.map.e6.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e7.limit)) {
_root.map.e7.life = _root.map.e7.life - 2.5;
_root.map.e7.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e8.limit)) {
_root.map.e8.life = _root.map.e8.life - 2.5;
_root.map.e8.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e9.limit)) {
_root.map.e9.life = _root.map.e9.life - 2.5;
_root.map.e9.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e10.limit)) {
_root.map.e10.life = _root.map.e10.life - 2.5;
_root.map.e10.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e11.limit)) {
_root.map.e11.life = _root.map.e11.life - 2.5;
_root.map.e11.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e12.limit)) {
_root.map.e12.life = _root.map.e12.life - 2.5;
_root.map.e12.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e13.limit)) {
_root.map.e13.life = _root.map.e13.life - 2.5;
_root.map.e13.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e14.limit)) {
_root.map.e14.life = _root.map.e14.life - 2.5;
_root.map.e14.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e15.limit)) {
_root.map.e15.life = _root.map.e15.life - 2.5;
_root.map.e15.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e16.limit)) {
_root.map.e16.life = _root.map.e16.life - 2.5;
_root.map.e16.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e17.limit)) {
_root.map.e17.life = _root.map.e17.life - 2.5;
_root.map.e17.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e18.limit)) {
_root.map.e18.life = _root.map.e18.life - 2.5;
_root.map.e18.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e19.limit)) {
_root.map.e19.life = _root.map.e19.life - 2.5;
_root.map.e19.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e20.limit)) {
_root.map.e20.life = _root.map.e20.life - 2.5;
_root.map.e20.hit = true;
dead = true;
}
if (this.hitTest(_root.e1.limit)) {
_root.e1.life = _root.e1.life - 2.5;
_root.e1.hit = true;
dead = true;
}
if (this.hitTest(_root.e2.limit)) {
_root.e2.life = _root.e2.life - 2.5;
_root.e2.hit = true;
dead = true;
}
if (this.hitTest(_root.e3.limit)) {
_root.e3.life = _root.e3.life - 2.5;
_root.e3.hit = true;
dead = true;
}
if (this.hitTest(_root.e4.limit)) {
_root.e4.life = _root.e4.life - 2.5;
_root.e4.hit = true;
dead = true;
}
if (this.hitTest(_root.e5.limit)) {
_root.e5.life = _root.e5.life - 2.5;
_root.e5.hit = true;
dead = true;
}
if (this.hitTest(_root.e6.limit)) {
_root.e6.life = _root.e6.life - 2.5;
_root.e6.hit = true;
dead = true;
}
if (this.hitTest(_root.e7.limit)) {
_root.e7.life = _root.e7.life - 2.5;
_root.e7.hit = true;
dead = true;
}
if (this.hitTest(_root.e8.limit)) {
_root.e8.life = _root.e8.life - 2.5;
_root.e8.hit = true;
dead = true;
}
if (this.hitTest(_root.e9.limit)) {
_root.e9.life = _root.e9.life - 2.5;
_root.e9.hit = true;
dead = true;
}
if (this.hitTest(_root.e10.limit)) {
_root.e10.life = _root.e10.life - 2.5;
_root.e10.hit = true;
dead = true;
}
if (this.hitTest(_root.e11.limit)) {
_root.e11.life = _root.e11.life - 2.5;
_root.e11.hit = true;
dead = true;
}
if (this.hitTest(_root.e12.limit)) {
_root.e12.life = _root.e12.life - 2.5;
_root.e12.hit = true;
dead = true;
}
if (this.hitTest(_root.e13.limit)) {
_root.e13.life = _root.e13.life - 2.5;
_root.e13.hit = true;
dead = true;
}
if (this.hitTest(_root.e14.limit)) {
_root.e14.life = _root.e14.life - 2.5;
_root.e14.hit = true;
dead = true;
}
if (this.hitTest(_root.e15.limit)) {
_root.e15.life = _root.e15.life - 2.5;
_root.e15.hit = true;
dead = true;
}
if (this.hitTest(_root.e16.limit)) {
_root.e16.life = _root.e16.life - 2.5;
_root.e16.hit = true;
dead = true;
}
if (this.hitTest(_root.e17.limit)) {
_root.e17.life = _root.e17.life - 2.5;
_root.e17.hit = true;
dead = true;
}
if (this.hitTest(_root.e18.limit)) {
_root.e18.life = _root.e18.life - 2.5;
_root.e18.hit = true;
dead = true;
}
if (this.hitTest(_root.e19.limit)) {
_root.e19.life = _root.e19.life - 2.5;
_root.e19.hit = true;
dead = true;
}
if (this.hitTest(_root.e20.limit)) {
_root.e20.life = _root.e20.life - 2.5;
_root.e20.hit = true;
dead = true;
}
if (this.hitTest(_root.e9.animate.limit)) {
_root.e9.animate.life = _root.e9.animate.life - 2.5;
_root.e9.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e10.animate.limit)) {
_root.e10.animate.life = _root.e10.animate.life - 2.5;
_root.e10.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e11.animate.limit)) {
_root.e11.animate.life = _root.e11.animate.life - 2.5;
_root.e11.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e12.animate.limit)) {
_root.e12.animate.life = _root.e12.animate.life - 2.5;
_root.e12.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e13.animate.limit)) {
_root.e13.animate.life = _root.e13.animate.life - 2.5;
_root.e13.animate.hit = true;
dead = true;
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Symbol 137 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 2
stop();
Instance of Symbol 137 MovieClip in Symbol 138 MovieClip [buster4b] Frame 1
onClipEvent (load) {
life = 2;
speed = 11;
_xscale = 100;
rtime = 0;
dead = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_x > 400) {
_parent.removeMovieClip();
}
if (_x < 0) {
_parent.removeMovieClip();
}
if (_y > 400) {
_parent.removeMovieClip();
}
if (_y < 0) {
_parent.removeMovieClip();
}
if (!dead) {
gotoAndStop ("go");
_x = (_x + speed);
if (this.hitTest(_root.boss1.limit)) {
_root.boss1.life = _root.boss1.life - 3.5;
_root.boss1.hit = true;
dead = true;
}
if (this.hitTest(_root.en1.animate.limit)) {
_root.en1.animate.life = _root.en1.animate.life - 3;
_root.en1.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en2.animate.limit)) {
_root.en2.animate.life = _root.en2.animate.life - 3;
_root.en2.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en3.animate.limit)) {
_root.en3.animate.life = _root.en3.animate.life - 3;
_root.en3.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en4.animate.limit)) {
_root.en4.animate.life = _root.en4.animate.life - 3;
_root.en4.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en5.animate.limit)) {
_root.en5.animate.life = _root.en5.animate.life - 3;
_root.en5.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en6.animate.limit)) {
_root.en6.animate.life = _root.en6.animate.life - 3;
_root.en6.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en7.animate.limit)) {
_root.en7.animate.life = _root.en7.animate.life - 3;
_root.en7.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en8.animate.limit)) {
_root.en8.animate.life = _root.en8.animate.life - 3;
_root.en8.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en9.animate.limit)) {
_root.en9.animate.life = _root.en9.animate.life - 3;
_root.en9.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en10.animate.limit)) {
_root.en10.animate.life = _root.en10.animate.life - 3;
_root.en10.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en11.animate.limit)) {
_root.en11.animate.life = _root.en11.animate.life - 3;
_root.en11.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en12.animate.limit)) {
_root.en12.animate.life = _root.en12.animate.life - 3;
_root.en12.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en13.animate.limit)) {
_root.en13.animate.life = _root.en13.animate.life - 3;
_root.en13.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en14.animate.limit)) {
_root.en14.animate.life = _root.en14.animate.life - 3;
_root.en14.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en15.animate.limit)) {
_root.en15.animate.life = _root.en15.animate.life - 3;
_root.en15.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en16.animate.limit)) {
_root.en16.animate.life = _root.en16.animate.life - 3;
_root.en16.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en17.animate.limit)) {
_root.en17.animate.life = _root.en17.animate.life - 3;
_root.en17.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en18.animate.limit)) {
_root.en18.animate.life = _root.en18.animate.life - 3;
_root.en18.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en19.animate.limit)) {
_root.en19.animate.life = _root.en19.animate.life - 3;
_root.en19.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.en20.animate.limit)) {
_root.en20.animate.life = _root.en20.animate.life - 3;
_root.en20.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e1.limit)) {
_root.e1.life = _root.e1.life - 3;
_root.e1.hit = true;
dead = true;
}
if (this.hitTest(_root.e2.limit)) {
_root.e2.life = _root.e2.life - 3;
_root.e2.hit = true;
dead = true;
}
if (this.hitTest(_root.e3.limit)) {
_root.e3.life = _root.e3.life - 3;
_root.e3.hit = true;
dead = true;
}
if (this.hitTest(_root.e4.limit)) {
_root.e4.life = _root.e4.life - 3;
_root.e4.hit = true;
dead = true;
}
if (this.hitTest(_root.e5.limit)) {
_root.e5.life = _root.e5.life - 3;
_root.e5.hit = true;
dead = true;
}
if (this.hitTest(_root.e6.limit)) {
_root.e6.life = _root.e6.life - 3;
_root.e6.hit = true;
dead = true;
}
if (this.hitTest(_root.e7.limit)) {
_root.e7.life = _root.e7.life - 3;
_root.e7.hit = true;
dead = true;
}
if (this.hitTest(_root.boss1.limit)) {
_root.boss1.life = _root.boss1.life - 2;
_root.boss1.hit = true;
dead = true;
}
if (this.hitTest(_root.boss1.limita)) {
dead = true;
}
if (this.hitTest(_root.boss1.limitb)) {
dead = true;
}
if (this.hitTest(_root.boss1.limitc)) {
dead = true;
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 137 MovieClip in Symbol 139 MovieClip [buster4a] Frame 1
onClipEvent (load) {
life = 2;
if (_root.striker) {
if (_root.player1.animate.dir == 0) {
speed = 11;
_xscale = 100;
_x = (_root.player1.animate._x + 50);
}
if (_root.player1.animate.dir == 1) {
speed = -11;
_xscale = -100;
_x = (_root.player1.animate._x - 50);
}
_y = _root.player1.animate._y;
}
if (_root.geno) {
if (_root.player1.animate.dir == 0) {
speed = 11;
_xscale = 100;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -11;
_xscale = -100;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y - 5);
}
if (_root.nife) {
if (_root.player1.animate.dir == 0) {
speed = 11;
_xscale = 100;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -11;
_xscale = -100;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y - 5);
}
if (_root.katrin) {
if (_root.player1.animate.dir == 0) {
speed = 11;
_xscale = 100;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -11;
_xscale = -100;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y - 5);
}
if (_root.phoenix) {
if (_root.player1.animate.dir == 0) {
speed = 11;
_xscale = 100;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -11;
_xscale = -100;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y + 5);
}
if (_root.kazu) {
if (_root.player1.animate.dir == 0) {
speed = 11;
_xscale = 100;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -11;
_xscale = -100;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y - 5);
}
rtime = 0;
dead = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_x > 400) {
_parent.removeMovieClip();
}
if (_x < 0) {
_parent.removeMovieClip();
}
if (_y > 400) {
_parent.removeMovieClip();
}
if (_y < 0) {
_parent.removeMovieClip();
}
if (!dead) {
gotoAndStop ("go");
_x = (_x + speed);
if (this.hitTest(_root.boss2.limit)) {
_root.boss2.life = _root.boss2.life - 3;
_root.boss2.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e1.limit)) {
_root.map.e1.life = _root.map.e1.life - 3;
_root.map.e1.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e2.limit)) {
_root.map.e2.life = _root.map.e2.life - 3;
_root.map.e2.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e3.limit)) {
_root.map.e3.life = _root.map.e3.life - 3;
_root.map.e3.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e4.limit)) {
_root.map.e4.life = _root.map.e4.life - 3;
_root.map.e4.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e5.limit)) {
_root.map.e5.life = _root.map.e5.life - 3;
_root.map.e5.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e6.limit)) {
_root.map.e6.life = _root.map.e6.life - 3;
_root.map.e6.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e7.limit)) {
_root.map.e7.life = _root.map.e7.life - 3;
_root.map.e7.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e8.limit)) {
_root.map.e8.life = _root.map.e8.life - 3;
_root.map.e8.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e9.limit)) {
_root.map.e9.life = _root.map.e9.life - 3;
_root.map.e9.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e10.limit)) {
_root.map.e10.life = _root.map.e10.life - 3;
_root.map.e10.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e11.limit)) {
_root.map.e11.life = _root.map.e11.life - 3;
_root.map.e11.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e12.limit)) {
_root.map.e12.life = _root.map.e12.life - 3;
_root.map.e12.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e13.limit)) {
_root.map.e13.life = _root.map.e13.life - 3;
_root.map.e13.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e14.limit)) {
_root.map.e14.life = _root.map.e14.life - 3;
_root.map.e14.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e15.limit)) {
_root.map.e15.life = _root.map.e15.life - 3;
_root.map.e15.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e16.limit)) {
_root.map.e16.life = _root.map.e16.life - 3;
_root.map.e16.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e17.limit)) {
_root.map.e17.life = _root.map.e17.life - 3;
_root.map.e17.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e18.limit)) {
_root.map.e18.life = _root.map.e18.life - 3;
_root.map.e18.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e19.limit)) {
_root.map.e19.life = _root.map.e19.life - 3;
_root.map.e19.hit = true;
dead = true;
}
if (this.hitTest(_root.map.e20.limit)) {
_root.map.e20.life = _root.map.e20.life - 3;
_root.map.e20.hit = true;
dead = true;
}
if (this.hitTest(_root.e1.limit)) {
_root.e1.life = _root.e1.life - 3;
_root.e1.hit = true;
dead = true;
}
if (this.hitTest(_root.e2.limit)) {
_root.e2.life = _root.e2.life - 3;
_root.e2.hit = true;
dead = true;
}
if (this.hitTest(_root.e3.limit)) {
_root.e3.life = _root.e3.life - 3;
_root.e3.hit = true;
dead = true;
}
if (this.hitTest(_root.e4.limit)) {
_root.e4.life = _root.e4.life - 3;
_root.e4.hit = true;
dead = true;
}
if (this.hitTest(_root.e5.limit)) {
_root.e5.life = _root.e5.life - 3;
_root.e5.hit = true;
dead = true;
}
if (this.hitTest(_root.e6.limit)) {
_root.e6.life = _root.e6.life - 3;
_root.e6.hit = true;
dead = true;
}
if (this.hitTest(_root.e7.limit)) {
_root.e7.life = _root.e7.life - 3;
_root.e7.hit = true;
dead = true;
}
if (this.hitTest(_root.e8.limit)) {
_root.e8.life = _root.e8.life - 3;
_root.e8.hit = true;
dead = true;
}
if (this.hitTest(_root.e9.limit)) {
_root.e9.life = _root.e9.life - 3;
_root.e9.hit = true;
dead = true;
}
if (this.hitTest(_root.e10.limit)) {
_root.e10.life = _root.e10.life - 3;
_root.e10.hit = true;
dead = true;
}
if (this.hitTest(_root.e11.limit)) {
_root.e11.life = _root.e11.life - 3;
_root.e11.hit = true;
dead = true;
}
if (this.hitTest(_root.e12.limit)) {
_root.e12.life = _root.e12.life - 3;
_root.e12.hit = true;
dead = true;
}
if (this.hitTest(_root.e13.limit)) {
_root.e13.life = _root.e13.life - 3;
_root.e13.hit = true;
dead = true;
}
if (this.hitTest(_root.e14.limit)) {
_root.e14.life = _root.e14.life - 3;
_root.e14.hit = true;
dead = true;
}
if (this.hitTest(_root.e15.limit)) {
_root.e15.life = _root.e15.life - 3;
_root.e15.hit = true;
dead = true;
}
if (this.hitTest(_root.e16.limit)) {
_root.e16.life = _root.e16.life - 3;
_root.e16.hit = true;
dead = true;
}
if (this.hitTest(_root.e17.limit)) {
_root.e17.life = _root.e17.life - 3;
_root.e17.hit = true;
dead = true;
}
if (this.hitTest(_root.e18.limit)) {
_root.e18.life = _root.e18.life - 3;
_root.e18.hit = true;
dead = true;
}
if (this.hitTest(_root.e19.limit)) {
_root.e19.life = _root.e19.life - 3;
_root.e19.hit = true;
dead = true;
}
if (this.hitTest(_root.e20.limit)) {
_root.e20.life = _root.e20.life - 3;
_root.e20.hit = true;
dead = true;
}
if (this.hitTest(_root.boss1.limit)) {
_root.boss1.life = _root.boss1.life - 2;
_root.boss1.hit = true;
dead = true;
}
if (this.hitTest(_root.e9.animate.limit)) {
_root.e9.animate.life = _root.e9.animate.life - 3;
_root.e9.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e10.animate.limit)) {
_root.e10.animate.life = _root.e10.animate.life - 3;
_root.e10.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e11.animate.limit)) {
_root.e11.animate.life = _root.e11.animate.life - 3;
_root.e11.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e12.animate.limit)) {
_root.e12.animate.life = _root.e12.animate.life - 3;
_root.e12.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.e13.animate.limit)) {
_root.e13.animate.life = _root.e13.animate.life - 3;
_root.e13.animate.hit = true;
dead = true;
}
if (this.hitTest(_root.boss1.limita)) {
dead = true;
}
if (this.hitTest(_root.boss1.limitb)) {
dead = true;
}
if (this.hitTest(_root.boss1.limitc)) {
dead = true;
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Symbol 143 MovieClip Frame 7
gotoAndPlay (3);
Symbol 148 MovieClip Frame 11
stop();
Symbol 149 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 2
stop();
Instance of Symbol 149 MovieClip in Symbol 150 MovieClip [buster5b] Frame 1
onClipEvent (load) {
life = 3;
speed = 9;
_xscale = 100;
_x = (_root.player1.animate._x + 30);
_y = (_root.player1.animate._y + 10);
rtime = 0;
dead = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_x > 400) {
_parent.removeMovieClip();
}
if (_x < 0) {
_parent.removeMovieClip();
}
if (_y > 400) {
_parent.removeMovieClip();
}
if (_y < 0) {
_parent.removeMovieClip();
}
if (!dead) {
gotoAndStop ("go");
_x = (_x + speed);
if (this.hitTest(_root.map.window1.limit)) {
life = life - 3;
_root.map.window1.life = _root.map.window1.life - 5;
_root.map.window1.hit = true;
}
if (this.hitTest(_root.map.e1.limit)) {
life = life - 1;
_root.map.e1.life = _root.map.e1.life - 5;
_root.map.e1.hit = true;
}
if (this.hitTest(_root.map.e2.limit)) {
_root.map.e2.life = _root.map.e2.life - 5;
_root.map.e2.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e3.limit)) {
_root.map.e3.life = _root.map.e3.life - 5;
_root.map.e3.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e4.limit)) {
_root.map.e4.life = _root.map.e4.life - 5;
_root.map.e4.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e5.limit)) {
_root.map.e5.life = _root.map.e5.life - 5;
_root.map.e5.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e1.limit)) {
life = life - 1;
_root.e1.life = _root.e1.life - 5;
_root.e1.hit = true;
}
if (this.hitTest(_root.e2.limit)) {
_root.e2.life = _root.e2.life - 5;
_root.e2.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e3.limit)) {
_root.e3.life = _root.e3.life - 5;
_root.e3.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e4.limit)) {
_root.e4.life = _root.e4.life - 5;
_root.e4.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e5.limit)) {
_root.e5.life = _root.e5.life - 5;
_root.e5.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e6.limit)) {
_root.e6.life = _root.e6.life - 5;
_root.e6.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e7.limit)) {
_root.e7.life = _root.e7.life - 5;
_root.e7.hit = true;
life = life - 1;
}
if (life <= 0) {
dead = true;
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 149 MovieClip in Symbol 151 MovieClip [buster5a] Frame 1
onClipEvent (load) {
life = 3;
if (_root.striker) {
if (_root.player1.animate.dir == 0) {
speed = 8;
_xscale = 100;
_x = (_root.player1.animate._x + 50);
}
if (_root.player1.animate.dir == 1) {
speed = -8;
_xscale = -100;
_x = (_root.player1.animate._x - 50);
}
_y = _root.player1.animate._y;
}
if (_root.geno) {
if (_root.player1.animate.dir == 0) {
speed = 8;
_xscale = 100;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -8;
_xscale = -100;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y - 5);
}
if (_root.nife) {
if (_root.player1.animate.dir == 0) {
speed = 8;
_xscale = 100;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -8;
_xscale = -100;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y - 5);
}
if (_root.katrin) {
if (_root.player1.animate.dir == 0) {
speed = 8;
_xscale = 100;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -8;
_xscale = -100;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y - 5);
}
if (_root.phoenix) {
if (_root.player1.animate.dir == 0) {
speed = 11;
_xscale = 100;
_x = (_root.player1.animate._x + 40);
}
if (_root.player1.animate.dir == 1) {
speed = -11;
_xscale = -100;
_x = (_root.player1.animate._x - 40);
}
_y = (_root.player1.animate._y + 5);
}
if (_root.kazu) {
if (_root.player1.animate.dir == 0) {
speed = 11;
_xscale = 100;
_x = (_root.player1.animate._x + 55);
}
if (_root.player1.animate.dir == 1) {
speed = -11;
_xscale = -100;
_x = (_root.player1.animate._x - 55);
}
_y = (_root.player1.animate._y - 10);
}
rtime = 0;
dead = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_x > 400) {
_parent.removeMovieClip();
}
if (_x < 0) {
_parent.removeMovieClip();
}
if (_y > 400) {
_parent.removeMovieClip();
}
if (_y < 0) {
_parent.removeMovieClip();
}
if (!dead) {
gotoAndStop ("go");
_x = (_x + speed);
if (this.hitTest(_root.boss2.limit)) {
_root.boss2.life = _root.boss2.life - 5;
_root.boss2.hit = true;
life = life - 3;
}
if (this.hitTest(_root.map.window1.limit)) {
life = life - 3;
_root.map.window1.life = _root.map.window1.life - 5;
_root.map.window1.hit = true;
}
if (this.hitTest(_root.map.e1.limit)) {
_root.map.e1.life = _root.map.e1.life - 5;
_root.map.e1.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e2.limit)) {
_root.map.e2.life = _root.map.e2.life - 5;
_root.map.e2.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e3.limit)) {
_root.map.e3.life = _root.map.e3.life - 5;
_root.map.e3.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e5.limit)) {
_root.map.e5.life = _root.map.e5.life - 2;
_root.map.e5.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e6.limit)) {
_root.map.e6.life = _root.map.e6.life - 5;
_root.map.e6.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e7.limit)) {
_root.map.e7.life = _root.map.e7.life - 5;
_root.map.e7.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e8.limit)) {
_root.map.e8.life = _root.map.e8.life - 5;
_root.map.e8.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e9.limit)) {
_root.map.e9.life = _root.map.e9.life - 5;
_root.map.e9.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e10.limit)) {
_root.map.e10.life = _root.map.e10.life - 5;
_root.map.e10.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e11.limit)) {
_root.map.e11.life = _root.map.e11.life - 5;
_root.map.e11.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e12.limit)) {
_root.map.e12.life = _root.map.e12.life - 5;
_root.map.e12.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e13.limit)) {
_root.map.e13.life = _root.map.e13.life - 5;
_root.map.e13.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e14.limit)) {
_root.map.e14.life = _root.map.e14.life - 5;
_root.map.e14.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e15.limit)) {
_root.map.e15.life = _root.map.e15.life - 5;
_root.map.e15.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e16.limit)) {
_root.map.e16.life = _root.map.e16.life - 5;
_root.map.e16.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e17.limit)) {
_root.map.e17.life = _root.map.e17.life - 5;
_root.map.e17.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e18.limit)) {
_root.map.e18.life = _root.map.e18.life - 5;
_root.map.e18.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e19.limit)) {
_root.map.e19.life = _root.map.e19.life - 5;
_root.map.e19.hit = true;
life = life - 1;
}
if (this.hitTest(_root.map.e20.limit)) {
_root.map.e20.life = _root.map.e20.life - 5;
_root.map.e20.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e1.limit)) {
_root.e1.life = _root.e1.life - 5;
_root.e1.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e2.limit)) {
_root.e2.life = _root.e2.life - 5;
_root.e2.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e3.limit)) {
_root.e3.life = _root.e3.life - 5;
_root.e3.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e4.limit)) {
_root.e4.life = _root.e4.life - 5;
_root.e4.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e5.limit)) {
_root.e5.life = _root.e5.life - 5;
_root.e5.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e6.limit)) {
_root.e6.life = _root.e6.life - 5;
_root.e6.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e7.limit)) {
_root.e7.life = _root.e7.life - 5;
_root.e7.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e8.limit)) {
_root.e8.life = _root.e8.life - 5;
_root.e8.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e9.limit)) {
_root.e9.life = _root.e9.life - 5;
_root.e9.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e10.limit)) {
_root.e10.life = _root.e10.life - 5;
_root.e10.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e11.limit)) {
_root.e11.life = _root.e11.life - 5;
_root.e11.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e12.limit)) {
_root.e12.life = _root.e12.life - 5;
_root.e12.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e13.limit)) {
_root.e13.life = _root.e13.life - 5;
_root.e13.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e14.limit)) {
_root.e14.life = _root.e14.life - 5;
_root.e14.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e15.limit)) {
_root.e15.life = _root.e15.life - 5;
_root.e15.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e16.limit)) {
_root.e16.life = _root.e16.life - 5;
_root.e16.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e17.limit)) {
_root.e17.life = _root.e17.life - 5;
_root.e17.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e18.limit)) {
_root.e18.life = _root.e18.life - 5;
_root.e18.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e19.limit)) {
_root.e19.life = _root.e19.life - 5;
_root.e19.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e20.limit)) {
_root.e20.life = _root.e20.life - 5;
_root.e20.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e9.animate.limit)) {
_root.e9.animate.life = _root.e9.animate.life - 5;
_root.e9.animate.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e10.animate.limit)) {
_root.e10.animate.life = _root.e10.animate.life - 5;
_root.e10.animate.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e11.animate.limit)) {
_root.e11.animate.life = _root.e11.animate.life - 5;
_root.e11.animate.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e12.animate.limit)) {
_root.e12.animate.life = _root.e12.animate.life - 5;
_root.e12.animate.hit = true;
life = life - 1;
}
if (this.hitTest(_root.e13.animate.limit)) {
_root.e13.animate.life = _root.e13.animate.life - 5;
_root.e13.animate.hit = true;
life = life - 1;
}
if (life <= 0) {
dead = true;
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 21 MovieClip in Symbol 156 MovieClip Frame 1
onClipEvent (load) {
if (_root.p1) {
gotoAndStop ("a");
}
if (_root.p2) {
gotoAndStop ("b");
}
if (_root.p3) {
gotoAndStop ("c");
}
if (_root.p4) {
gotoAndStop ("d");
}
if (_root.p5) {
gotoAndStop ("e");
}
}
Instance of Symbol 21 MovieClip in Symbol 174 MovieClip Frame 1
onClipEvent (load) {
if (_root.p1) {
gotoAndStop ("a");
}
if (_root.p2) {
gotoAndStop ("b");
}
if (_root.p3) {
gotoAndStop ("c");
}
if (_root.p4) {
gotoAndStop ("d");
}
if (_root.p5) {
gotoAndStop ("e");
}
}
Instance of Symbol 21 MovieClip in Symbol 179 MovieClip Frame 1
onClipEvent (load) {
if (_root.p1) {
gotoAndStop ("a");
}
if (_root.p2) {
gotoAndStop ("b");
}
if (_root.p3) {
gotoAndStop ("c");
}
if (_root.p4) {
gotoAndStop ("d");
}
if (_root.p5) {
gotoAndStop ("e");
}
}
Symbol 199 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 2
stop();
Symbol 199 MovieClip Frame 3
stop();
Symbol 199 MovieClip Frame 4
stop();
Symbol 199 MovieClip Frame 5
stop();
Symbol 199 MovieClip Frame 6
stop();
Symbol 199 MovieClip Frame 7
stop();
Symbol 199 MovieClip Frame 8
stop();
Symbol 199 MovieClip Frame 9
stop();
Symbol 199 MovieClip Frame 10
stop();
Symbol 199 MovieClip Frame 11
stop();
Symbol 199 MovieClip Frame 12
stop();
Symbol 199 MovieClip Frame 13
stop();
Symbol 199 MovieClip Frame 14
stop();
Symbol 199 MovieClip Frame 15
stop();
Instance of Symbol 199 MovieClip "animate" in Symbol 200 MovieClip [geno1a] Frame 1
onClipEvent (load) {
inv = false;
invt = 0;
invt2 = 0;
_width = 40;
_height = 40;
_xscale = 100;
_yscale = 100;
jspeed = 5;
speed = 5;
def = 4;
shoot = false;
shoott = 0;
run = false;
jump = false;
jumpt = 0;
slide = false;
slidet = 0;
dir = 0;
life = 100;
dead = false;
deadt1 = 0;
deadt2 = 0;
Rbounds = 180;
Lbounds = 180;
hit = false;
hitt = 0;
nohit = false;
nohitt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"200", rb:"200", ga:"200", gb:"200", ba:"200", bb:"200", aa:"200", ab:"0"};
}
onClipEvent (enterFrame) {
if (anistop) {
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
}
if (!anistop) {
if (!_root.pause) {
_root.px = _x;
_root.py = _y;
_root.movespeed = speed;
if (!beamin) {
if (Key.isDown(39)) {
rt = true;
} else {
rt = false;
}
if (Key.isDown(37)) {
lft = true;
} else {
lft = false;
}
if (Key.isDown(40)) {
dn = true;
} else {
dn = false;
}
if (Key.isDown(38)) {
up = true;
} else {
up = false;
}
if (Key.isDown(65)) {
if (!a) {
shoot = true;
a = true;
}
} else {
a = false;
}
}
if (Key.isDown(83)) {
if (!b) {
jumpb = true;
b = true;
}
} else {
b = false;
}
if (nohit) {
nohitt++;
if (!inv) {
_alpha = 50;
}
if (nohitt >= 25) {
_alpha = 100;
nohitt = 0;
nohit = false;
}
}
if (_root.scrollvert) {
if (_y < 280) {
if (_root.map._y < _root.ubounds) {
_root.moveu = true;
} else {
_root.moveu = false;
}
}
if (_y > 280) {
if (_root.map._y > _root.dbounds) {
_root.moved = true;
} else {
_root.moved = false;
}
}
}
if (_x < 20) {
_x = (_x + speed);
}
if (_x > 395) {
_x = (_x - speed);
}
if (_root.map.black.hitTest(_x + 15, _y, true)) {
_x = (_x - speed);
}
if (_root.map.black.hitTest(_x - 15, _y, true)) {
_x = (_x + speed);
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y - speed);
}
if (_y >= 410) {
dead = true;
}
if (_y < 0) {
_y = (_y + speed);
}
if (!dead) {
if (inv) {
nohit = true;
invt++;
invt2++;
if (invt2 < 5) {
hitcolor.setTransform(oldColor);
}
if ((invt2 > 5) and (invt2 < 7)) {
hitcolor.setTransform(newColor);
}
if (invt2 > 7) {
invt2 = 0;
}
if (invt >= 400) {
hitcolor.setTransform(oldColor);
idup = false;
idupt = 0;
idup2t = 0;
invt = 0;
invt2 = 0;
nohitt = 0;
nohit = true;
inv = false;
}
}
if (_root.life <= 0) {
dead = true;
}
if (!rape) {
if (!hit) {
if (!climb) {
if (!slide) {
if (!jump) {
if (!fall) {
_root.movespeed = speed;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
fall = true;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumpt = 0;
if (!dn) {
if (jumpb) {
jump = true;
}
}
if (dn) {
if (jumpb) {
slide = true;
}
}
if (rt) {
dir = 0;
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
if (!shoot) {
gotoAndStop ("run");
}
if (shoot) {
gotoAndStop ("runs");
}
_xscale = 100;
}
} else {
_root.mover = false;
}
if (lft) {
dir = 1;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
if (!shoot) {
gotoAndStop ("run");
}
if (shoot) {
gotoAndStop ("runs");
}
_xscale = -100;
}
} else {
_root.movel = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = false;
if (!shoot) {
gotoAndStop ("stand");
}
if (shoot) {
gotoAndStop ("stands");
}
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
if (!shoot) {
gotoAndStop ("stand");
}
if (shoot) {
gotoAndStop ("stands");
}
}
if ((!rt) and (!lft)) {
if (!shoot) {
gotoAndStop ("stand");
}
if (shoot) {
gotoAndStop ("stands");
}
}
}
}
if (fall) {
_y = (_y + jspeed);
if (_root.scrollvert) {
_root.movespeed = jspeed;
}
jumpb = false;
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
if (rt) {
dir = 0;
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = 100;
}
} else {
_root.mover = false;
}
if (lft) {
dir = 1;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = -100;
}
} else {
_root.movel = false;
}
if ((!rt) and (!lft)) {
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
}
} else {
_root.moved = false;
}
}
if (jump) {
jumpb = false;
if (_root.scrollvert) {
_root.movespeed = jspeed;
}
_y = (_y - jspeed);
jumpt++;
if (_root.map.black.hitTest(_x, _y - 20, true)) {
jump = false;
}
if (rt) {
dir = 0;
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = 100;
}
} else {
_root.mover = false;
}
if (lft) {
dir = 1;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = -100;
}
} else {
_root.movel = false;
}
if ((!rt) and (!lft)) {
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_root.movel = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (jumpt >= 35) {
jump = false;
}
} else {
_root.moveu = false;
}
if (shoot) {
shoott++;
if (_root.p1) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster1a", "buster1" + _root.bullets, _root.bullets++);
}
}
if (_root.p2) {
if (_root.p2p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p2p = _root.p2p - 3;
_root.attachMovie("buster2a", "buster2" + _root.bullets, _root.bullets++);
}
}
}
if (_root.p3) {
if (_root.p3p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p3p = _root.p3p - 5;
_root.attachMovie("buster3a", "buster3" + _root.bullets, _root.bullets++);
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster3a", "buster3" + _root.bullets, _root.bullets++);
}
}
}
if (_root.p4) {
if (_root.p4p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p4p = _root.p4p - 6;
_root.attachMovie("buster4a", "buster4" + _root.bullets, _root.bullets++);
}
}
}
if (_root.p5) {
if (_root.p5p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p5p = _root.p5p - 11;
_root.attachMovie("buster5a", "buster5" + _root.bullets, _root.bullets++);
}
}
}
if (shoott >= 15) {
shoott = 0;
shoot = false;
}
}
}
if (slide) {
slidet++;
jumpb = false;
gotoAndStop ("slide");
if (dir == 0) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
} else {
_root.mover = false;
}
if (dir == 1) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
} else {
_root.movel = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = false;
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (slidet >= 20) {
slidet = 0;
slide = false;
}
}
}
}
if (hit) {
gotoAndStop ("hit");
hitt++;
shoott = 0;
shoot = false;
slidet = 0;
slide = false;
jump = false;
if (hitt >= 10) {
hitt = 0;
nohit = true;
hit = false;
}
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
} else {
_root.mover = false;
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
} else {
_root.movel = false;
}
}
}
}
if (dead) {
_root.moveu = false;
_root.moved = false;
_root.mover = false;
_root.movel = false;
deadt1++;
deadt2++;
_visible = false;
if (deadt1 >= 3) {
_root.attachMovie("spark1a", "spark1" + _root.bullets, _root.bullets++);
deadt1 = 0;
}
if (deadt2 >= 150) {
_root.gotoAndPlay("reset");
_parent.removeMovieClip();
}
}
}
}
}
Symbol 208 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 2
stop();
Symbol 208 MovieClip Frame 3
stop();
Symbol 208 MovieClip Frame 4
stop();
Symbol 208 MovieClip Frame 5
stop();
Instance of Symbol 208 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
if (_root.p1) {
gotoAndStop ("a");
}
if (_root.p2) {
gotoAndStop ("b");
}
if (_root.p3) {
gotoAndStop ("c");
}
if (_root.p4) {
gotoAndStop ("d");
}
if (_root.p5) {
gotoAndStop ("e");
}
}
Instance of Symbol 208 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (load) {
if (_root.p1) {
gotoAndStop ("a");
}
if (_root.p2) {
gotoAndStop ("b");
}
if (_root.p3) {
gotoAndStop ("c");
}
if (_root.p4) {
gotoAndStop ("d");
}
if (_root.p5) {
gotoAndStop ("e");
}
}
Instance of Symbol 208 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (load) {
if (_root.p1) {
gotoAndStop ("a");
}
if (_root.p2) {
gotoAndStop ("b");
}
if (_root.p3) {
gotoAndStop ("c");
}
if (_root.p4) {
gotoAndStop ("d");
}
if (_root.p5) {
gotoAndStop ("e");
}
}
Symbol 250 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 2
stop();
Symbol 250 MovieClip Frame 3
stop();
Symbol 250 MovieClip Frame 4
stop();
Symbol 250 MovieClip Frame 5
stop();
Symbol 250 MovieClip Frame 6
stop();
Symbol 250 MovieClip Frame 7
stop();
Symbol 250 MovieClip Frame 8
stop();
Symbol 250 MovieClip Frame 9
stop();
Symbol 250 MovieClip Frame 10
stop();
Symbol 250 MovieClip Frame 11
stop();
Symbol 250 MovieClip Frame 12
stop();
Symbol 250 MovieClip Frame 13
stop();
Symbol 250 MovieClip Frame 14
stop();
Symbol 250 MovieClip Frame 15
stop();
Instance of Symbol 250 MovieClip "animate" in Symbol 251 MovieClip [nife1a] Frame 1
onClipEvent (load) {
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"200", rb:"200", ga:"200", gb:"200", ba:"200", bb:"200", aa:"200", ab:"0"};
inv = false;
invt = 0;
invt2 = 0;
_width = 40;
_height = 40;
_xscale = 100;
_yscale = 100;
jspeed = 5;
speed = 6;
def = 3;
shoot = false;
shoott = 0;
run = false;
jump = false;
jumpt = 0;
slide = false;
slidet = 0;
dir = 0;
life = 100;
dead = false;
deadt1 = 0;
deadt2 = 0;
Rbounds = 180;
Lbounds = 180;
hit = false;
hitt = 0;
nohit = false;
nohitt = 0;
}
onClipEvent (enterFrame) {
if (anistop) {
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
}
if (!anistop) {
if (!_root.pause) {
_root.px = _x;
_root.py = _y;
_root.movespeed = speed;
if (!beamin) {
if (Key.isDown(39)) {
rt = true;
} else {
rt = false;
}
if (Key.isDown(37)) {
lft = true;
} else {
lft = false;
}
if (Key.isDown(40)) {
dn = true;
} else {
dn = false;
}
if (Key.isDown(38)) {
up = true;
} else {
up = false;
}
if (Key.isDown(65)) {
if (!a) {
shoot = true;
a = true;
}
} else {
a = false;
}
}
if (Key.isDown(83)) {
if (!b) {
jumpb = true;
b = true;
}
} else {
b = false;
}
if (nohit) {
nohitt++;
if (!inv) {
_alpha = 50;
}
if (nohitt >= 25) {
_alpha = 100;
nohitt = 0;
nohit = false;
}
}
if (_root.scrollvert) {
if (_y < 280) {
if (_root.map._y < _root.ubounds) {
_root.moveu = true;
} else {
_root.moveu = false;
}
}
if (_y > 280) {
if (_root.map._y > _root.dbounds) {
_root.moved = true;
} else {
_root.moved = false;
}
}
}
if (_x < 20) {
_x = (_x + speed);
}
if (_x > 395) {
_x = (_x - speed);
}
if (_root.map.black.hitTest(_x + 15, _y, true)) {
_x = (_x - speed);
}
if (_root.map.black.hitTest(_x - 15, _y, true)) {
_x = (_x + speed);
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y - speed);
}
if (_y >= 410) {
dead = true;
}
if (_y < 0) {
_y = (_y + speed);
}
if (!dead) {
if (inv) {
nohit = true;
invt++;
invt2++;
if (invt2 < 5) {
hitcolor.setTransform(oldColor);
}
if ((invt2 > 5) and (invt2 < 7)) {
hitcolor.setTransform(newColor);
}
if (invt2 > 7) {
invt2 = 0;
}
if (invt >= 400) {
hitcolor.setTransform(oldColor);
idup = false;
idupt = 0;
idup2t = 0;
invt = 0;
invt2 = 0;
nohitt = 0;
nohit = true;
inv = false;
}
}
if (_root.life <= 0) {
dead = true;
}
if (!rape) {
if (!hit) {
if (!climb) {
if (!slide) {
if (!jump) {
if (!fall) {
_root.movespeed = speed;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
fall = true;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumpt = 0;
if (!dn) {
if (jumpb) {
jump = true;
}
}
if (dn) {
if (jumpb) {
slide = true;
}
}
if (rt) {
dir = 0;
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
if (!shoot) {
gotoAndStop ("run");
}
if (shoot) {
gotoAndStop ("runs");
}
_xscale = 100;
}
} else {
_root.mover = false;
}
if (lft) {
dir = 1;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
if (!shoot) {
gotoAndStop ("run");
}
if (shoot) {
gotoAndStop ("runs");
}
_xscale = -100;
}
} else {
_root.movel = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = false;
if (!shoot) {
gotoAndStop ("stand");
}
if (shoot) {
gotoAndStop ("stands");
}
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
if (!shoot) {
gotoAndStop ("stand");
}
if (shoot) {
gotoAndStop ("stands");
}
}
if ((!rt) and (!lft)) {
if (!shoot) {
gotoAndStop ("stand");
}
if (shoot) {
gotoAndStop ("stands");
}
}
}
}
if (fall) {
_y = (_y + jspeed);
if (_root.scrollvert) {
_root.movespeed = jspeed;
}
jumpb = false;
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
if (rt) {
dir = 0;
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = 100;
}
} else {
_root.mover = false;
}
if (lft) {
dir = 1;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = -100;
}
} else {
_root.movel = false;
}
if ((!rt) and (!lft)) {
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
}
} else {
_root.moved = false;
}
}
if (jump) {
jumpb = false;
if (_root.scrollvert) {
_root.movespeed = jspeed;
}
_y = (_y - jspeed);
jumpt++;
if (_root.map.black.hitTest(_x, _y - 20, true)) {
jump = false;
}
if (rt) {
dir = 0;
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = 100;
}
} else {
_root.mover = false;
}
if (lft) {
dir = 1;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = -100;
}
} else {
_root.movel = false;
}
if ((!rt) and (!lft)) {
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = false;
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (jumpt >= 30) {
jump = false;
}
} else {
_root.moveu = false;
}
if (shoot) {
shoott++;
if (_root.p1) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster1a", "buster1" + _root.bullets, _root.bullets++);
}
}
if (_root.p2) {
if (_root.p2p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p2p = _root.p2p - 3;
_root.attachMovie("buster2a", "buster2" + _root.bullets, _root.bullets++);
}
}
}
if (_root.p3) {
if (_root.p3p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p3p = _root.p3p - 5;
_root.attachMovie("buster3a", "buster3" + _root.bullets, _root.bullets++);
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster3a", "buster3" + _root.bullets, _root.bullets++);
}
}
}
if (_root.p4) {
if (_root.p4p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p4p = _root.p4p - 6;
_root.attachMovie("buster4a", "buster4" + _root.bullets, _root.bullets++);
}
}
}
if (_root.p5) {
if (_root.p5p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p5p = _root.p5p - 12;
_root.attachMovie("buster5a", "buster5" + _root.bullets, _root.bullets++);
}
}
}
if (shoott >= 15) {
shoott = 0;
shoot = false;
}
}
}
if (slide) {
slidet++;
jumpb = false;
gotoAndStop ("slide");
if (dir == 0) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
} else {
_root.mover = false;
}
if (dir == 1) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
} else {
_root.movel = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = false;
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (slidet >= 30) {
slidet = 0;
slide = false;
}
}
}
}
if (hit) {
gotoAndStop ("hit");
hitt++;
shoott = 0;
shoot = false;
slidet = 0;
slide = false;
jump = false;
if (hitt >= 10) {
hitt = 0;
nohit = true;
hit = false;
}
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
} else {
_root.mover = false;
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
} else {
_root.movel = false;
}
}
}
}
if (dead) {
_root.moveu = false;
_root.moved = false;
_root.mover = false;
_root.movel = false;
deadt1++;
deadt2++;
_visible = false;
if (deadt1 >= 3) {
_root.attachMovie("spark1a", "spark1" + _root.bullets, _root.bullets++);
deadt1 = 0;
}
if (deadt2 >= 150) {
_root.gotoAndPlay("reset");
_parent.removeMovieClip();
}
}
}
}
}
Symbol 259 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 2
stop();
Symbol 259 MovieClip Frame 3
stop();
Symbol 259 MovieClip Frame 4
stop();
Symbol 259 MovieClip Frame 5
stop();
Instance of Symbol 259 MovieClip in Symbol 260 MovieClip Frame 1
onClipEvent (load) {
if (_root.p1) {
gotoAndStop ("a");
}
if (_root.p2) {
gotoAndStop ("b");
}
if (_root.p3) {
gotoAndStop ("c");
}
if (_root.p4) {
gotoAndStop ("d");
}
if (_root.p5) {
gotoAndStop ("e");
}
}
Instance of Symbol 259 MovieClip in Symbol 278 MovieClip Frame 1
onClipEvent (load) {
if (_root.p1) {
gotoAndStop ("a");
}
if (_root.p2) {
gotoAndStop ("b");
}
if (_root.p3) {
gotoAndStop ("c");
}
if (_root.p4) {
gotoAndStop ("d");
}
if (_root.p5) {
gotoAndStop ("e");
}
}
Instance of Symbol 259 MovieClip in Symbol 283 MovieClip Frame 1
onClipEvent (load) {
if (_root.p1) {
gotoAndStop ("a");
}
if (_root.p2) {
gotoAndStop ("b");
}
if (_root.p3) {
gotoAndStop ("c");
}
if (_root.p4) {
gotoAndStop ("d");
}
if (_root.p5) {
gotoAndStop ("e");
}
}
Symbol 303 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 2
stop();
Symbol 303 MovieClip Frame 3
stop();
Symbol 303 MovieClip Frame 4
stop();
Symbol 303 MovieClip Frame 5
stop();
Symbol 303 MovieClip Frame 6
stop();
Symbol 303 MovieClip Frame 7
stop();
Symbol 303 MovieClip Frame 8
stop();
Symbol 303 MovieClip Frame 9
stop();
Symbol 303 MovieClip Frame 10
stop();
Symbol 303 MovieClip Frame 11
stop();
Symbol 303 MovieClip Frame 12
stop();
Symbol 303 MovieClip Frame 13
stop();
Symbol 303 MovieClip Frame 14
stop();
Symbol 303 MovieClip Frame 15
stop();
Instance of Symbol 303 MovieClip "animate" in Symbol 304 MovieClip [katrin1a] Frame 1
onClipEvent (load) {
inv = false;
invt = 0;
invt2 = 0;
_width = 40;
_height = 40;
_xscale = 100;
_yscale = 100;
jspeed = 5;
speed = 6;
def = 2.5;
shoot = false;
shoott = 0;
run = false;
jump = false;
jumpt = 0;
slide = false;
slidet = 0;
dir = 0;
life = 100;
dead = false;
deadt1 = 0;
deadt2 = 0;
Rbounds = 180;
Lbounds = 180;
hit = false;
hitt = 0;
nohit = false;
nohitt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"200", rb:"200", ga:"200", gb:"200", ba:"200", bb:"200", aa:"200", ab:"0"};
}
onClipEvent (enterFrame) {
_root.px = _x;
_root.py = _y;
if (anistop) {
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
}
if (!anistop) {
if (!_root.pause) {
_root.movespeed = speed;
if (!beamin) {
if (Key.isDown(39)) {
rt = true;
} else {
rt = false;
}
if (Key.isDown(37)) {
lft = true;
} else {
lft = false;
}
if (Key.isDown(40)) {
dn = true;
} else {
dn = false;
}
if (Key.isDown(38)) {
up = true;
} else {
up = false;
}
if (Key.isDown(65)) {
if (!a) {
shoot = true;
a = true;
}
} else {
a = false;
}
}
if (Key.isDown(83)) {
if (!b) {
jumpb = true;
b = true;
}
} else {
b = false;
}
if (nohit) {
nohitt++;
if (!inv) {
_alpha = 50;
}
if (nohitt >= 25) {
_alpha = 100;
nohitt = 0;
nohit = false;
}
}
if (_root.scrollvert) {
if (_y < 280) {
if (_root.map._y < _root.ubounds) {
_root.moveu = true;
} else {
_root.moveu = false;
}
}
if (_y > 280) {
if (_root.map._y > _root.dbounds) {
_root.moved = true;
} else {
_root.moved = false;
}
}
}
if (_x < 20) {
_x = (_x + speed);
}
if (_x > 395) {
_x = (_x - speed);
}
if (_root.map.black.hitTest(_x + 15, _y, true)) {
_x = (_x - speed);
}
if (_root.map.black.hitTest(_x - 15, _y, true)) {
_x = (_x + speed);
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y - speed);
}
if (_y >= 410) {
dead = true;
}
if (_y < 0) {
_y = (_y + speed);
}
if (!dead) {
if (inv) {
nohit = true;
invt++;
invt2++;
if (invt2 < 5) {
hitcolor.setTransform(oldColor);
}
if ((invt2 > 5) and (invt2 < 7)) {
hitcolor.setTransform(newColor);
}
if (invt2 > 7) {
invt2 = 0;
}
if (invt >= 400) {
hitcolor.setTransform(oldColor);
idup = false;
idupt = 0;
idup2t = 0;
invt = 0;
invt2 = 0;
nohitt = 0;
nohit = true;
inv = false;
}
}
if (_root.life <= 0) {
dead = true;
}
if (!rape) {
if (!hit) {
if (!climb) {
if (!slide) {
if (!jump) {
if (!fall) {
_root.movespeed = speed;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
fall = true;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumpt = 0;
if (!dn) {
if (jumpb) {
jump = true;
}
}
if (dn) {
if (jumpb) {
slide = true;
}
}
if (rt) {
dir = 0;
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
if (!shoot) {
gotoAndStop ("run");
}
if (shoot) {
gotoAndStop ("runs");
}
_xscale = 100;
}
} else {
_root.mover = false;
}
if (lft) {
dir = 1;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
if (!shoot) {
gotoAndStop ("run");
}
if (shoot) {
gotoAndStop ("runs");
}
_xscale = -100;
}
} else {
_root.movel = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = false;
if (!shoot) {
gotoAndStop ("stand");
}
if (shoot) {
gotoAndStop ("stands");
}
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
if (!shoot) {
gotoAndStop ("stand");
}
if (shoot) {
gotoAndStop ("stands");
}
}
if ((!rt) and (!lft)) {
if (!shoot) {
gotoAndStop ("stand");
}
if (shoot) {
gotoAndStop ("stands");
}
}
}
}
if (fall) {
_y = (_y + jspeed);
if (_root.scrollvert) {
_root.movespeed = jspeed;
}
jumpb = false;
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
if (rt) {
dir = 0;
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = 100;
}
} else {
_root.mover = false;
}
if (lft) {
dir = 1;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = -100;
}
} else {
_root.movel = false;
}
if ((!rt) and (!lft)) {
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = false;
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
} else {
_root.moved = false;
}
}
if (jump) {
jumpb = false;
if (_root.scrollvert) {
_root.movespeed = jspeed;
}
_y = (_y - jspeed);
jumpt++;
if (_root.map.black.hitTest(_x, _y - 20, true)) {
jump = false;
}
if (rt) {
dir = 0;
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = 100;
}
} else {
_root.mover = false;
}
if (lft) {
dir = 1;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = -100;
}
} else {
_root.movel = false;
}
if ((!rt) and (!lft)) {
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_root.movel = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (jumpt >= 30) {
jump = false;
}
} else {
_root.moveu = false;
}
if (shoot) {
shoott++;
if (_root.p1) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster1a", "buster1" + _root.bullets, _root.bullets++);
}
}
if (_root.p2) {
if (_root.p2p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p2p = _root.p2p - 2;
_root.attachMovie("buster2a", "buster2" + _root.bullets, _root.bullets++);
}
}
}
if (_root.p3) {
if (_root.p3p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p3p = _root.p3p - 3;
_root.attachMovie("buster3a", "buster3" + _root.bullets, _root.bullets++);
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster3a", "buster3" + _root.bullets, _root.bullets++);
}
}
}
if (_root.p4) {
if (_root.p4p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p4p = _root.p4p - 4;
_root.attachMovie("buster4a", "buster4" + _root.bullets, _root.bullets++);
}
}
}
if (_root.p5) {
if (_root.p5p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p5p = _root.p5p - 10;
_root.attachMovie("buster5a", "buster5" + _root.bullets, _root.bullets++);
}
}
}
if (shoott >= 15) {
shoott = 0;
shoot = false;
}
}
}
if (slide) {
slidet++;
jumpb = false;
gotoAndStop ("slide");
if (dir == 0) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
} else {
_root.mover = false;
}
if (dir == 1) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
} else {
_root.movel = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = false;
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (slidet >= 20) {
slidet = 0;
slide = false;
}
}
}
}
if (hit) {
gotoAndStop ("hit");
hitt++;
shoott = 0;
shoot = false;
slidet = 0;
slide = false;
jump = false;
if (hitt >= 10) {
hitt = 0;
nohit = true;
hit = false;
}
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
} else {
_root.mover = false;
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
} else {
_root.movel = false;
}
}
}
}
if (dead) {
_root.moveu = false;
_root.moved = false;
_root.mover = false;
_root.movel = false;
deadt1++;
deadt2++;
_visible = false;
if (deadt1 >= 3) {
_root.attachMovie("spark1a", "spark1" + _root.bullets, _root.bullets++);
deadt1 = 0;
}
if (deadt2 >= 150) {
_root.gotoAndPlay("reset");
_parent.removeMovieClip();
}
}
}
}
}
Symbol 312 MovieClip Frame 1
stop();
Symbol 312 MovieClip Frame 2
stop();
Symbol 312 MovieClip Frame 3
stop();
Symbol 312 MovieClip Frame 4
stop();
Symbol 312 MovieClip Frame 5
stop();
Instance of Symbol 312 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
if (_root.p1) {
gotoAndStop ("a");
}
if (_root.p2) {
gotoAndStop ("b");
}
if (_root.p3) {
gotoAndStop ("c");
}
if (_root.p4) {
gotoAndStop ("d");
}
if (_root.p5) {
gotoAndStop ("e");
}
}
Instance of Symbol 312 MovieClip in Symbol 331 MovieClip Frame 1
onClipEvent (load) {
if (_root.p1) {
gotoAndStop ("a");
}
if (_root.p2) {
gotoAndStop ("b");
}
if (_root.p3) {
gotoAndStop ("c");
}
if (_root.p4) {
gotoAndStop ("d");
}
if (_root.p5) {
gotoAndStop ("e");
}
}
Instance of Symbol 312 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
if (_root.p1) {
gotoAndStop ("a");
}
if (_root.p2) {
gotoAndStop ("b");
}
if (_root.p3) {
gotoAndStop ("c");
}
if (_root.p4) {
gotoAndStop ("d");
}
if (_root.p5) {
gotoAndStop ("e");
}
}
Symbol 356 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 2
stop();
Symbol 356 MovieClip Frame 3
stop();
Symbol 356 MovieClip Frame 4
stop();
Symbol 356 MovieClip Frame 5
stop();
Symbol 356 MovieClip Frame 6
stop();
Symbol 356 MovieClip Frame 7
stop();
Symbol 356 MovieClip Frame 8
stop();
Symbol 356 MovieClip Frame 9
stop();
Symbol 356 MovieClip Frame 10
stop();
Symbol 356 MovieClip Frame 11
stop();
Symbol 356 MovieClip Frame 12
stop();
Symbol 356 MovieClip Frame 13
stop();
Symbol 356 MovieClip Frame 14
stop();
Symbol 356 MovieClip Frame 15
stop();
Instance of Symbol 356 MovieClip "animate" in Symbol 357 MovieClip [phoenix1a] Frame 1
onClipEvent (load) {
inv = false;
invt = 0;
invt2 = 0;
_width = 40;
_height = 40;
_xscale = 100;
_yscale = 100;
jspeed = 5;
speed = 6.5;
def = 1.5;
shoot = false;
shoott = 0;
run = false;
jump = false;
jumpt = 0;
slide = false;
slidet = 0;
dir = 0;
life = 100;
dead = false;
deadt1 = 0;
deadt2 = 0;
Rbounds = 180;
Lbounds = 180;
hit = false;
hitt = 0;
nohit = false;
nohitt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"200", rb:"200", ga:"200", gb:"200", ba:"200", bb:"200", aa:"200", ab:"0"};
}
onClipEvent (enterFrame) {
_root.px = _x;
_root.py = _y;
if (anistop) {
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
}
if (!anistop) {
if (!_root.pause) {
_root.movespeed = speed;
if (!beamin) {
if (Key.isDown(39)) {
rt = true;
} else {
rt = false;
}
if (Key.isDown(37)) {
lft = true;
} else {
lft = false;
}
if (Key.isDown(40)) {
dn = true;
} else {
dn = false;
}
if (Key.isDown(38)) {
up = true;
} else {
up = false;
}
if (Key.isDown(65)) {
if (!a) {
shoot = true;
a = true;
}
} else {
a = false;
}
}
if (Key.isDown(83)) {
if (!b) {
jumpb = true;
b = true;
}
} else {
b = false;
}
if (nohit) {
nohitt++;
if (!inv) {
_alpha = 50;
}
if (nohitt >= 25) {
_alpha = 100;
nohitt = 0;
nohit = false;
}
}
if (_root.scrollvert) {
if (_y < 280) {
if (_root.map._y < _root.ubounds) {
_root.moveu = true;
} else {
_root.moveu = false;
}
}
if (_y > 280) {
if (_root.map._y > _root.dbounds) {
_root.moved = true;
} else {
_root.moved = false;
}
}
}
if (_x < 20) {
_x = (_x + speed);
}
if (_x > 395) {
_x = (_x - speed);
}
if (_root.map.black.hitTest(_x + 15, _y, true)) {
_x = (_x - speed);
}
if (_root.map.black.hitTest(_x - 15, _y, true)) {
_x = (_x + speed);
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y - speed);
}
if (_y >= 410) {
dead = true;
}
if (_y < 0) {
_y = (_y + speed);
}
if (!dead) {
if (inv) {
nohit = true;
invt++;
invt2++;
if (invt2 < 5) {
hitcolor.setTransform(oldColor);
}
if ((invt2 > 5) and (invt2 < 7)) {
hitcolor.setTransform(newColor);
}
if (invt2 > 7) {
invt2 = 0;
}
if (invt >= 400) {
hitcolor.setTransform(oldColor);
idup = false;
idupt = 0;
idup2t = 0;
invt = 0;
invt2 = 0;
nohitt = 0;
nohit = true;
inv = false;
}
}
if (_root.life <= 0) {
dead = true;
}
if (!rape) {
if (!hit) {
if (!climb) {
if (!slide) {
if (!jump) {
if (!fall) {
_root.movespeed = speed;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
fall = true;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumpt = 0;
if (!dn) {
if (jumpb) {
jump = true;
}
}
if (dn) {
if (jumpb) {
slide = true;
}
}
if (rt) {
dir = 0;
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
if (!shoot) {
gotoAndStop ("run");
}
if (shoot) {
gotoAndStop ("runs");
}
_xscale = 100;
}
} else {
_root.mover = false;
}
if (lft) {
dir = 1;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
if (!shoot) {
gotoAndStop ("run");
}
if (shoot) {
gotoAndStop ("runs");
}
_xscale = -100;
}
} else {
_root.movel = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = false;
if (!shoot) {
gotoAndStop ("stand");
}
if (shoot) {
gotoAndStop ("stands");
}
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
if (!shoot) {
gotoAndStop ("stand");
}
if (shoot) {
gotoAndStop ("stands");
}
}
if ((!rt) and (!lft)) {
if (!shoot) {
gotoAndStop ("stand");
}
if (shoot) {
gotoAndStop ("stands");
}
}
}
}
if (fall) {
_y = (_y + jspeed);
if (_root.scrollvert) {
_root.movespeed = jspeed;
}
jumpb = false;
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
if (rt) {
dir = 0;
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = 100;
}
} else {
_root.mover = false;
}
if (lft) {
dir = 1;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = -100;
}
} else {
_root.movel = false;
}
if ((!rt) and (!lft)) {
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = false;
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
} else {
_root.moved = false;
}
}
if (jump) {
jumpb = false;
if (_root.scrollvert) {
_root.movespeed = jspeed;
}
_y = (_y - jspeed);
jumpt++;
if (_root.map.black.hitTest(_x, _y - 20, true)) {
jump = false;
}
if (rt) {
dir = 0;
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = 100;
}
} else {
_root.mover = false;
}
if (lft) {
dir = 1;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = -100;
}
} else {
_root.movel = false;
}
if ((!rt) and (!lft)) {
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_root.movel = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (jumpt >= 35) {
jump = false;
}
} else {
_root.moveu = false;
}
if (shoot) {
shoott++;
if (_root.p1) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster1a", "buster1" + _root.bullets, _root.bullets++);
}
}
if (_root.p2) {
if (_root.p2p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p2p = _root.p2p - 2.5;
_root.attachMovie("buster2a", "buster2" + _root.bullets, _root.bullets++);
}
}
}
if (_root.p3) {
if (_root.p3p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p3p = _root.p3p - 3.5;
_root.attachMovie("buster3a", "buster3" + _root.bullets, _root.bullets++);
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster3a", "buster3" + _root.bullets, _root.bullets++);
}
}
}
if (_root.p4) {
if (_root.p4p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p4p = _root.p4p - 4.5;
_root.attachMovie("buster4a", "buster4" + _root.bullets, _root.bullets++);
}
}
}
if (_root.p5) {
if (_root.p5p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p5p = _root.p5p - 12.5;
_root.attachMovie("buster5a", "buster5" + _root.bullets, _root.bullets++);
}
}
}
if (shoott >= 15) {
shoott = 0;
shoot = false;
}
}
}
if (slide) {
slidet++;
jumpb = false;
gotoAndStop ("slide");
if (dir == 0) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
} else {
_root.mover = false;
}
if (dir == 1) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
} else {
_root.movel = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = false;
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (slidet >= 20) {
slidet = 0;
slide = false;
}
}
}
}
if (hit) {
gotoAndStop ("hit");
hitt++;
shoott = 0;
shoot = false;
slidet = 0;
slide = false;
jump = false;
if (hitt >= 10) {
hitt = 0;
nohit = true;
hit = false;
}
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
} else {
_root.mover = false;
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
} else {
_root.movel = false;
}
}
}
}
if (dead) {
_root.moveu = false;
_root.moved = false;
_root.mover = false;
_root.movel = false;
deadt1++;
deadt2++;
_visible = false;
if (deadt1 >= 3) {
_root.attachMovie("spark1a", "spark1" + _root.bullets, _root.bullets++);
deadt1 = 0;
}
if (deadt2 >= 150) {
_root.gotoAndPlay("reset");
_parent.removeMovieClip();
}
}
}
}
}
Symbol 367 MovieClip Frame 1
stop();
Symbol 367 MovieClip Frame 2
stop();
Symbol 367 MovieClip Frame 3
stop();
Symbol 367 MovieClip Frame 4
stop();
Symbol 367 MovieClip Frame 5
stop();
Instance of Symbol 367 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
if (_root.p1) {
gotoAndStop ("a");
}
if (_root.p2) {
gotoAndStop ("b");
}
if (_root.p3) {
gotoAndStop ("c");
}
if (_root.p4) {
gotoAndStop ("d");
}
if (_root.p5) {
gotoAndStop ("e");
}
}
Instance of Symbol 367 MovieClip in Symbol 392 MovieClip Frame 1
onClipEvent (load) {
if (_root.p1) {
gotoAndStop ("a");
}
if (_root.p2) {
gotoAndStop ("b");
}
if (_root.p3) {
gotoAndStop ("c");
}
if (_root.p4) {
gotoAndStop ("d");
}
if (_root.p5) {
gotoAndStop ("e");
}
}
Instance of Symbol 367 MovieClip in Symbol 399 MovieClip Frame 1
onClipEvent (load) {
if (_root.p1) {
gotoAndStop ("a");
}
if (_root.p2) {
gotoAndStop ("b");
}
if (_root.p3) {
gotoAndStop ("c");
}
if (_root.p4) {
gotoAndStop ("d");
}
if (_root.p5) {
gotoAndStop ("e");
}
}
Symbol 429 MovieClip Frame 1
stop();
Symbol 429 MovieClip Frame 2
stop();
Symbol 429 MovieClip Frame 3
stop();
Symbol 429 MovieClip Frame 4
stop();
Symbol 429 MovieClip Frame 5
stop();
Symbol 429 MovieClip Frame 6
stop();
Symbol 429 MovieClip Frame 7
stop();
Symbol 429 MovieClip Frame 8
stop();
Symbol 429 MovieClip Frame 9
stop();
Symbol 429 MovieClip Frame 10
stop();
Symbol 429 MovieClip Frame 11
stop();
Symbol 429 MovieClip Frame 12
stop();
Symbol 429 MovieClip Frame 13
stop();
Symbol 429 MovieClip Frame 14
stop();
Symbol 429 MovieClip Frame 15
stop();
Instance of Symbol 429 MovieClip "animate" in Symbol 430 MovieClip [kazu1a] Frame 1
onClipEvent (load) {
inv = false;
invt = 0;
invt2 = 0;
_width = 40;
_height = 40;
_xscale = 100;
_yscale = 100;
jspeed = 5;
speed = 5.5;
def = 4;
shoot = false;
shoott = 0;
run = false;
jump = false;
jumpt = 0;
slide = false;
slidet = 0;
dir = 0;
life = 100;
dead = false;
deadt1 = 0;
deadt2 = 0;
Rbounds = 180;
Lbounds = 180;
hit = false;
hitt = 0;
nohit = false;
nohitt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"200", rb:"200", ga:"200", gb:"200", ba:"200", bb:"200", aa:"200", ab:"0"};
}
onClipEvent (enterFrame) {
_root.px = _x;
_root.py = _y;
if (anistop) {
_root.mover = false;
_root.movel = false;
_root.moveu = false;
_root.moved = false;
}
if (!anistop) {
if (!_root.pause) {
_root.movespeed = speed;
if (!beamin) {
if (Key.isDown(39)) {
rt = true;
} else {
rt = false;
}
if (Key.isDown(37)) {
lft = true;
} else {
lft = false;
}
if (Key.isDown(40)) {
dn = true;
} else {
dn = false;
}
if (Key.isDown(38)) {
up = true;
} else {
up = false;
}
if (Key.isDown(65)) {
if (!a) {
shoot = true;
a = true;
}
} else {
a = false;
}
}
if (Key.isDown(83)) {
if (!b) {
jumpb = true;
b = true;
}
} else {
b = false;
}
if (nohit) {
nohitt++;
if (!inv) {
_alpha = 50;
}
if (nohitt >= 25) {
_alpha = 100;
nohitt = 0;
nohit = false;
}
}
if (_root.scrollvert) {
if (_y < 280) {
if (_root.map._y < _root.ubounds) {
_root.moveu = true;
} else {
_root.moveu = false;
}
}
if (_y > 280) {
if (_root.map._y > _root.dbounds) {
_root.moved = true;
} else {
_root.moved = false;
}
}
}
if (_x < 20) {
_x = (_x + speed);
}
if (_x > 395) {
_x = (_x - speed);
}
if (_root.map.black.hitTest(_x + 15, _y, true)) {
_x = (_x - speed);
}
if (_root.map.black.hitTest(_x - 15, _y, true)) {
_x = (_x + speed);
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y - speed);
}
if (_y >= 410) {
dead = true;
}
if (_y < 0) {
_y = (_y + speed);
}
if (!dead) {
if (inv) {
nohit = true;
invt++;
invt2++;
if (invt2 < 5) {
hitcolor.setTransform(oldColor);
}
if ((invt2 > 5) and (invt2 < 7)) {
hitcolor.setTransform(newColor);
}
if (invt2 > 7) {
invt2 = 0;
}
if (invt >= 400) {
hitcolor.setTransform(oldColor);
idup = false;
idupt = 0;
idup2t = 0;
invt = 0;
invt2 = 0;
nohitt = 0;
nohit = true;
inv = false;
}
}
if (_root.life <= 0) {
dead = true;
}
if (!rape) {
if (!hit) {
if (!climb) {
if (!slide) {
if (!jump) {
if (!fall) {
_root.movespeed = speed;
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
fall = true;
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
jumpt = 0;
if (!dn) {
if (jumpb) {
jump = true;
}
}
if (dn) {
if (jumpb) {
slide = true;
}
}
if (rt) {
dir = 0;
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
if (!shoot) {
gotoAndStop ("run");
}
if (shoot) {
gotoAndStop ("runs");
}
_xscale = 100;
}
} else {
_root.mover = false;
}
if (lft) {
dir = 1;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
if (!shoot) {
gotoAndStop ("run");
}
if (shoot) {
gotoAndStop ("runs");
}
_xscale = -100;
}
} else {
_root.movel = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = false;
if (!shoot) {
gotoAndStop ("stand");
}
if (shoot) {
gotoAndStop ("stands");
}
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
if (!shoot) {
gotoAndStop ("stand");
}
if (shoot) {
gotoAndStop ("stands");
}
}
if ((!rt) and (!lft)) {
if (!shoot) {
gotoAndStop ("stand");
}
if (shoot) {
gotoAndStop ("stands");
}
}
}
}
if (fall) {
_y = (_y + jspeed);
if (_root.scrollvert) {
_root.movespeed = jspeed;
}
jumpb = false;
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
if (rt) {
dir = 0;
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = 100;
}
} else {
_root.mover = false;
}
if (lft) {
dir = 1;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = -100;
}
} else {
_root.movel = false;
}
if ((!rt) and (!lft)) {
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = false;
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
} else {
_root.moved = false;
}
}
if (jump) {
jumpb = false;
if (_root.scrollvert) {
_root.movespeed = jspeed;
}
_y = (_y - jspeed);
jumpt++;
if (_root.map.black.hitTest(_x, _y - 20, true)) {
jump = false;
}
if (rt) {
dir = 0;
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = 100;
}
} else {
_root.mover = false;
}
if (lft) {
dir = 1;
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_xscale = -100;
}
} else {
_root.movel = false;
}
if ((!rt) and (!lft)) {
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
_root.movel = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
if (!shoot) {
gotoAndStop ("jump");
}
if (shoot) {
gotoAndStop ("jumps");
}
}
if (jumpt >= 30) {
jump = false;
}
} else {
_root.moveu = false;
}
if (shoot) {
shoott++;
if (_root.p1) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster1a", "buster1" + _root.bullets, _root.bullets++);
}
}
if (_root.p2) {
if (_root.p2p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p2p = _root.p2p - 1.5;
_root.attachMovie("buster2a", "buster2" + _root.bullets, _root.bullets++);
}
}
}
if (_root.p3) {
if (_root.p3p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p3p = _root.p3p - 2;
_root.attachMovie("buster3a", "buster3" + _root.bullets, _root.bullets++);
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster3a", "buster3" + _root.bullets, _root.bullets++);
}
}
}
if (_root.p4) {
if (_root.p4p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p4p = _root.p4p - 2.5;
_root.attachMovie("buster4a", "buster4" + _root.bullets, _root.bullets++);
}
}
}
if (_root.p5) {
if (_root.p5p > 0) {
if ((shoott > 3) and (shoott < 5)) {
_root.p5p = _root.p5p - 6;
_root.attachMovie("buster5a", "buster5" + _root.bullets, _root.bullets++);
}
}
}
if (shoott >= 15) {
shoott = 0;
shoot = false;
}
}
}
if (slide) {
slidet++;
jumpb = false;
gotoAndStop ("slide");
if (dir == 0) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
} else {
_root.mover = false;
}
if (dir == 1) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
} else {
_root.movel = false;
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_root.movel = false;
slidet = 0;
slide = false;
}
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_root.mover = false;
slidet = 0;
slide = false;
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
slidet = 0;
slide = false;
}
if (slidet >= 20) {
slidet = 0;
slide = false;
}
}
}
}
if (hit) {
gotoAndStop ("hit");
hitt++;
shoott = 0;
shoot = false;
slidet = 0;
slide = false;
jump = false;
if (hitt >= 10) {
hitt = 0;
nohit = true;
hit = false;
}
if (dir == 1) {
if ((_x > Rbounds) and (_root.map._x > _root.moreb)) {
if (_root.scrollhor) {
_root.mover = true;
_root.movel = false;
}
} else {
_root.mover = false;
_x = (_x + speed);
}
} else {
_root.mover = false;
}
if (dir == 0) {
if ((_x < Lbounds) and (_root.map._x < _root.lessb)) {
if (_root.scrollhor) {
_root.movel = true;
_root.mover = false;
}
} else {
_root.movel = false;
_x = (_x - speed);
}
} else {
_root.movel = false;
}
}
}
}
if (dead) {
_root.moveu = false;
_root.moved = false;
_root.mover = false;
_root.movel = false;
deadt1++;
deadt2++;
_visible = false;
if (deadt1 >= 3) {
_root.attachMovie("spark1a", "spark1" + _root.bullets, _root.bullets++);
deadt1 = 0;
}
if (deadt2 >= 150) {
_root.gotoAndPlay("reset");
_parent.removeMovieClip();
}
}
}
}
}
Symbol 442 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 442 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 10;
_root.player1.animate.hit = true;
}
}
}
}
Symbol 442 MovieClip Frame 2
stop();
Instance of Symbol 442 MovieClip "animate" in Symbol 443 MovieClip [twirler1a] Frame 1
onClipEvent (load) {
lft = true;
rt = false;
up = false;
dn = false;
stime = 0;
rt1 = true;
rt1t = 0;
rt2 = false;
rt2t = 0;
dnt = 0;
dn = false;
speed = 3;
life = 2;
dead = false;
deadt = 0;
hit = false;
hitt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (up) {
if (_y > -60) {
_y = (_y - speed);
}
if (_y <= -60) {
_parent.removeMovieClip();
}
}
if (lft) {
if (_x > 0) {
_x = (_x - speed);
}
if (_x <= 0) {
_root.enemybullet1.duplicateMovieClip("enbullet1" + _root.bullets, _root.bullets++);
_root["enbullet1" + _root.bullets]._x = _x;
_root["enbullet1" + _root.bullets]._y = _y;
dn = true;
lft = false;
}
}
if (dn) {
if (_y < 260) {
_y = (_y + speed);
}
if (_y >= 260) {
rt = true;
dn = false;
}
}
if (rt) {
if (_x < 310) {
_x = (_x + speed);
}
if (_x >= 310) {
up = true;
rt = false;
}
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if (life <= 0) {
dead = true;
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if (!da) {
_root.pucount1 = _root.pucount1 + 1;
if (_root.pucount1 == 5) {
_root.attachMovie("snespup1a", "snes1", 401);
_root.snes1.animate._x = _x;
_root.snes1.animate._y = _y;
_root.pucount1 = 0;
}
da = true;
}
if (deadt >= 50) {
_parent.removeMovieClip();
}
}
}
}
Symbol 446 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 446 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 10;
_root.player1.animate.hit = true;
}
}
}
}
Symbol 446 MovieClip Frame 2
stop();
Instance of Symbol 446 MovieClip "animate" in Symbol 447 MovieClip [gogo1a] Frame 1
onClipEvent (load) {
go = true;
leave = false;
life = 15;
speed = 2;
distance = 99999 /* 0x01869F */;
rtime = 0;
dead = false;
xDiff = 0;
yDiff = 0;
distX = _root.player1.animate._x - _x;
distY = _root.player1.animate._y - _y;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (go) {
rtime++;
g = 0;
while (g < 10) {
if (!_root["enemy" + g].dead) {
distX = _root.player1.animate._x - _x;
distY = _root.player1.animate._y - _y;
}
newDistance = Math.sqrt((distX * distX) + (distY * distY));
if (newDistance < distance) {
distance = newDistance;
lowest = g;
}
g++;
}
if (lowest == undefined) {
xDiff = 0;
yDiff = 0;
} else {
xDiff = _root.player1.animate._x - _x;
yDiff = _root.player1.animate._y - _y;
}
if (_x >= 505) {
_parent.removeMovieClip();
removeMovieClip(this);
}
if (_x <= -20) {
_parent.removeMovieClip();
removeMovieClip(this);
}
if (_y >= 505) {
_parent.removeMovieClip();
removeMovieClip(this);
}
if (_y <= -20) {
_parent.removeMovieClip();
removeMovieClip(this);
}
if (rtime >= 250) {
leave = true;
go = false;
}
dir = Math.atan2(yDiff, xDiff);
_rotation = ((dir * 180) / Math.PI);
_x = (_x + (Math.cos(dir) * speed));
_y = (_y + (Math.sin(dir) * speed));
}
if (leave) {
_x = (_x + speed);
_y = (_y + speed);
}
if (life <= 0) {
dead = true;
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Symbol 457 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 457 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 10;
_root.player1.animate.hit = true;
}
}
}
}
Symbol 457 MovieClip Frame 2
stop();
Instance of Symbol 457 MovieClip "animate" in Symbol 458 MovieClip [twirler2a] Frame 1
onClipEvent (load) {
stime = 0;
rt1 = true;
rt1t = 0;
rt2 = false;
rt2t = 0;
dnt = 0;
dn = false;
speed = 3;
life = 2;
dead = false;
deadt = 0;
hit = false;
hitt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (rt1) {
_x = (_x - speed);
if (_x <= 50) {
_root.enemybullet1.duplicateMovieClip("enbullet1" + _root.bullets, _root.bullets++);
_root["enbullet1" + _root.bullets]._x = _x;
_root["enbullet1" + _root.bullets]._y = _y;
dn = true;
rt1 = false;
}
}
if (dn) {
speed = 5;
_x = (_x + (speed + 2));
_y = (_y - speed);
if (_y <= 50) {
rt2 = true;
dn = false;
}
}
if (rt2) {
speed = 3;
_x = (_x - speed);
if (_x <= -30) {
_parent.removeMovieClip();
}
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if (life <= 0) {
dead = true;
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if (!da) {
_root.pucount2 = _root.pucount2 + 1;
if (_root.pucount2 == 5) {
_root.attachMovie("turkey1a", "turk1", 402);
_root.turk1.animate._x = _x;
_root.turk1.animate._y = _y;
_root.pucount1 = 0;
}
da = true;
}
if (deadt >= 50) {
_parent.removeMovieClip();
}
}
}
}
Symbol 462 MovieClip Frame 1
stop();
Instance of Symbol 461 MovieClip in Symbol 462 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = (_rotation + 8);
}
}
Instance of Symbol 441 MovieClip "limit" in Symbol 462 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 10;
_root.player1.animate.hit = true;
}
}
}
}
Symbol 462 MovieClip Frame 2
stop();
Instance of Symbol 462 MovieClip "animate" in Symbol 463 MovieClip [spinner1a] Frame 1
onClipEvent (load) {
stime = 0;
rt1 = true;
rt1t = 0;
rt2 = false;
rt2t = 0;
dnt = 0;
dn = false;
speed = 3;
life = 2;
dead = false;
deadt = 0;
hit = false;
hitt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (rt1) {
_x = (_x - speed);
if (_x <= 50) {
_root.enemybullet1.duplicateMovieClip("enbullet1" + _root.bullets, _root.bullets++);
_root["enbullet1" + _root.bullets]._x = _x;
_root["enbullet1" + _root.bullets]._y = _y;
dn = true;
rt1 = false;
}
}
if (dn) {
speed = 5;
_x = (_x + (speed + 2));
_y = (_y + speed);
if (_y >= 300) {
rt2 = true;
dn = false;
}
}
if (rt2) {
speed = 3;
_x = (_x - speed);
if (_x <= -30) {
_parent.removeMovieClip();
}
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if (life <= 0) {
dead = true;
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if (!da) {
_root.pucount3 = _root.pucount3 + 1;
if (_root.pucount3 == 5) {
_root.attachMovie("snespup1a", "snes1", 405);
_root.snes1.animate._x = _x;
_root.snes1.animate._y = _y;
_root.pucount1 = 0;
}
da = true;
}
if (deadt >= 50) {
_parent.removeMovieClip();
}
}
}
}
Symbol 473 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 473 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 10;
_root.player1.animate.hit = true;
}
}
}
}
Symbol 473 MovieClip Frame 2
stop();
Instance of Symbol 473 MovieClip "animate" in Symbol 474 MovieClip [twirler3a] Frame 1
onClipEvent (load) {
stime = 0;
rt1 = true;
rt1t = 0;
rt2 = false;
rt2t = 0;
dnt = 0;
dn = false;
speed = 3;
life = 15;
dead = false;
deadt = 0;
hit = false;
hitt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (rt1) {
_x = (_x - speed);
if (_x <= 50) {
_root.enemybullet1.duplicateMovieClip("enbullet1" + _root.bullets, _root.bullets++);
_root["enbullet1" + _root.bullets]._x = _x;
_root["enbullet1" + _root.bullets]._y = _y;
dn = true;
rt1 = false;
}
}
if (dn) {
speed = 5;
_x = (_x + (speed + 2));
_y = (_y + speed);
if (_y >= 300) {
rt2 = true;
dn = false;
}
}
if (rt2) {
speed = 3;
_x = (_x - speed);
if (_x <= -30) {
_parent.removeMovieClip();
}
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
if (life <= 0) {
dead = true;
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if (deadt >= 50) {
_parent.removeMovieClip();
}
}
}
}
Symbol 479 MovieClip Frame 1
stop();
Symbol 479 MovieClip Frame 2
stop();
Instance of Symbol 479 MovieClip "animate" in Symbol 480 MovieClip [aliens1a] Frame 1
onClipEvent (load) {
dead = false;
deadt = 0;
hitt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
life = 30;
attach = true;
shoott = 0;
up = true;
dn = false;
rt = false;
lft = false;
speed = random(3);
if (speed == 0) {
speed = 4;
}
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
shoott++;
if (shoott >= 70) {
_root.enemybullet1.duplicateMovieClip("enbullet1" + _root.bullets, _root.bullets++);
_root["enbullet1" + _root.bullets]._x = _x;
_root["enbullet1" + _root.bullets]._y = _y;
shoott = 0;
}
if (_root.player1.animate._x > _x) {
_xscale = -100;
}
if (_root.player1.animate._x < _x) {
_xscale = 100;
}
if (up) {
if (_y > 50) {
_y = (_y - speed);
}
if (_y <= 50) {
lft = true;
up = false;
}
}
if (lft) {
if (_x > 0) {
_x = (_x - speed);
}
if (_x <= 0) {
dn = true;
lft = false;
}
}
if (dn) {
if (_y < 330) {
_y = (_y + speed);
}
if (_y >= 330) {
rt = true;
dn = false;
}
}
if (rt) {
if (_x < 390) {
_x = (_x + speed);
}
if (_x >= 390) {
up = true;
rt = false;
}
}
if (life <= 0) {
dead = true;
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if (deadt >= 125) {
attach = false;
_parent.removeMovieClip();
}
}
}
}
Instance of Symbol 485 MovieClip "bbullet1a" in Symbol 486 MovieClip [bball1a] Frame 1
onClipEvent (load) {
speedx = random(6);
if (speedx == 0) {
speedx = -5;
}
if (speedx == 1) {
speedx = -4;
}
if (speedx == 2) {
speedx = -2;
}
speedy = random(6);
if (speedy == 0) {
speedy = -4;
}
if (speedy == 1) {
speedy = -5;
}
if (speedy == 2) {
speedy = -2;
}
rtime = 0;
}
onClipEvent (enterFrame) {
rtime++;
_y = (_y + speedy);
_x = (_x + speedx);
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 15;
_root.player1.animate.hit = true;
_parent.removeMovieClip();
}
}
}
if ((_x > 402) or (_x < -11)) {
_parent.removeMovieClip();
}
if ((_y > 402) or (_y < -10)) {
_parent.removeMovieClip();
}
}
Instance of Symbol 493 MovieClip "limitb" in Symbol 496 MovieClip Frame 22
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 30;
_root.player1.animate.hit = true;
}
}
}
}
Symbol 496 MovieClip Frame 25
gotoAndPlay (23);
Instance of Symbol 496 MovieClip in Symbol 497 MovieClip [blaser1a] Frame 1
onClipEvent (load) {
rtime = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
rtime++;
if (rtime >= 100) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 502 MovieClip "animate" in Symbol 503 MovieClip [snespup1a] Frame 1
onClipEvent (load) {
speed = _root.movespeed;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!got) {
_x = (_x - speed);
if (limit.hitTest(_root.player1.animate.limit)) {
_root.plevel++;
_parent.removeMovieClip();
}
}
}
}
Instance of Symbol 506 MovieClip "animate" in Symbol 507 MovieClip [turkey1a] Frame 1
onClipEvent (load) {
speed = _root.movespeed;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!got) {
_x = (_x - speed);
if (limit.hitTest(_root.player1.animate.limit)) {
_root.life = 100;
_parent.removeMovieClip();
}
}
}
}
Symbol 519 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 519 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
}
}
}
}
Symbol 519 MovieClip Frame 2
stop();
Symbol 519 MovieClip Frame 3
stop();
Instance of Symbol 519 MovieClip "animate" in Symbol 520 MovieClip [spiny1a] Frame 1
onClipEvent (load) {
tosst = 0;
speed = 2;
speed1 = 4;
life = 3;
dead = false;
deadt = 0;
attach = true;
tossed = true;
gor = false;
gol = false;
hit = false;
hitt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.xf = tossed;
if (_x > 420) {
_parent.removeMovieClip();
}
if (_x < -20) {
_parent.removeMovieClip();
}
if (_y >= 420) {
_parent.removeMovieClip();
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (!dead) {
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (tossed) {
gotoAndStop ("toss");
tosst++;
if ((tosst >= 0) and (tosst < 30)) {
_y = (_y - speed1);
}
if (tosst >= 10) {
_y = (_y + speed1);
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (_root.player1.animate._x > _x) {
gor = true;
gol = false;
}
if (_root.player1.animate._x < _x) {
gor = false;
gol = true;
}
tossed = false;
}
}
if (!tossed) {
gotoAndStop ("go");
if (_root.map.black.hitTest(_x, _y + 15, true)) {
_y = (_y - speed);
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + 4);
}
if (gor) {
_xscale = -100;
_x = (_x + speed);
if (_root.map.black.hitTest(_x + 20, _y, true)) {
gol = true;
gor = false;
}
}
if (gol) {
_xscale = 100;
_x = (_x - speed);
if (_root.map.black.hitTest(_x - 20, _y, true)) {
gor = true;
gol = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1", 769);
_root.items1.animate._x = _x;
_root.items1.animate._y = _y;
}
itatt = true;
}
deadt++;
if (deadt < 20) {
_y = (_y - speed1);
}
if (deadt >= 20) {
_y = (_y + speed1);
}
if (deadt >= 70) {
_parent.removeMovieClip();
}
}
}
}
Symbol 535 MovieClip Frame 1
stop();
Instance of Symbol 525 MovieClip "limit" in Symbol 535 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (15 - _root.player1.animate.def);
_root.player1.animate.hit = true;
}
}
}
}
Symbol 535 MovieClip Frame 2
stop();
Symbol 535 MovieClip Frame 3
stop();
Symbol 535 MovieClip Frame 4
stop();
Instance of Symbol 535 MovieClip "animate" in Symbol 536 MovieClip [soldier1a] Frame 1
onClipEvent (load) {
fire = false;
firet = 0;
st1 = 0;
tosst = 0;
speed = 2;
speed1 = 4;
life = 3;
dead = false;
deadt = 0;
attach = true;
tossed = true;
gor = false;
gol = false;
hit = false;
hitt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_root.xf = tossed;
if (_x > 420) {
_parent.removeMovieClip();
}
if (_x < -20) {
_parent.removeMovieClip();
}
if (_y >= 450) {
_parent.removeMovieClip();
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (!dead) {
if (life <= 0) {
dead = true;
}
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (tossed) {
gotoAndStop ("fall");
tosst++;
if ((tosst >= 0) and (tosst < 30)) {
_y = (_y - speed1);
}
if (tosst >= 10) {
_y = (_y + speed1);
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
if (_root.player1.animate._x > _x) {
gor = true;
gol = false;
}
if (_root.player1.animate._x < _x) {
gor = false;
gol = true;
}
tossed = false;
}
}
if (!tossed) {
if (!fire) {
if (!fall) {
st1++;
if (st1 >= 150) {
fire = true;
st1 = 0;
}
}
if (_root.map.black.hitTest(_x, _y + 15, true)) {
fall = false;
_y = (_y - speed);
}
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
fall = true;
_y = (_y + 4);
}
if (_root.map.black.hitTest(_x, _y + 20, true)) {
fall = false;
}
if (gor) {
dir = 0;
if (!fall) {
gotoAndStop ("run");
}
if (fall) {
gotoAndStop ("fall");
}
_xscale = -100;
_x = (_x + speed);
if (_root.map.black.hitTest(_x + 20, _y, true)) {
gol = true;
gor = false;
}
}
if (gol) {
dir = 1;
if (!fall) {
gotoAndStop ("run");
}
if (fall) {
gotoAndStop ("fall");
}
_xscale = 100;
_x = (_x - speed);
if (_root.map.black.hitTest(_x - 20, _y, true)) {
gor = true;
gol = false;
}
}
}
if (fire) {
gotoAndStop ("stand");
firet++;
if (firet >= 30) {
_root.enemybullet1.duplicateMovieClip("eb" + _root.bullets, _root.bullets++);
if (_root.player1.animate._x > _x) {
gor = true;
gol = false;
_xscale = -100;
}
if (_root.player1.animate._x < _x) {
gor = false;
gol = true;
_xscale = 100;
}
if (dir == 0) {
_root["eb" + _root.bullets]._x = _x - 20;
_root["eb" + _root.bullets]._y = _y;
}
if (dir == 1) {
_root["eb" + _root.bullets]._x = _x + 20;
_root["eb" + _root.bullets]._y = _y;
}
firet = 0;
fire = false;
}
}
}
}
if (dead) {
if (!itatt) {
attit = random(10);
if (attit == 5) {
_root.attachMovie("items1a", "items1" + _root.itlayer, _root.itlayer++);
_root["items1" + _root.itlayer].animate._x = _x;
_root["items1" + _root.itlayer].animate._y = _y;
}
itatt = true;
}
gotoAndStop ("dead");
deadt++;
if (dir == 0) {
_x = (_x - 3);
}
if (dir == 1) {
_x = (_x + 3);
}
if (deadt < 20) {
_y = (_y - speed1);
}
if (deadt >= 20) {
_y = (_y + speed1);
}
if (deadt >= 70) {
_parent.removeMovieClip();
}
}
}
}
Symbol 544 MovieClip Frame 1
stop();
Symbol 544 MovieClip Frame 2
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 544 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
}
}
}
}
Symbol 544 MovieClip Frame 3
stop();
Instance of Symbol 544 MovieClip "animate" in Symbol 545 MovieClip [scythe1a] Frame 1
onClipEvent (load) {
hit = false;
hitt = 0;
speed = 51;
live = true;
life = 2;
dead = false;
poselx = random(4);
if (poselx == 0) {
_x = (_root.player1.animate._x + 100);
}
if (poselx == 1) {
_x = (_root.player1.animate._x - 100);
}
if (poselx == 2) {
_x = (_root.player1.animate._x + 50);
}
if (poselx == 3) {
_x = (_root.player1.animate._x - 50);
}
posely = random(4);
if (posely == 0) {
_y = (_root.player1.animate._y - 150);
}
if (posely == 1) {
_y = (_root.player1.animate._y - 100);
}
if (posely == 2) {
_y = (_root.player1.animate._y + 50);
}
if (poselx == 3) {
_y = (_root.player1.animate._y - 50);
}
counter = 0;
go = false;
dev = true;
devt = 0;
deadt = 0;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.boss1.dead) {
dead = true;
}
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if ((_x > 402) or (_x < -11)) {
_parent.removeMovieClip();
}
if ((_y > 402) or (_y < -10)) {
_parent.removeMovieClip();
}
if (life <= 0) {
dead = true;
}
if (!dead) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
if (dev) {
gotoAndStop ("d");
devt++;
if (devt >= 20) {
go = true;
dev = false;
dx = _root.player1.animate._x - _x;
dy = _root.player1.animate._y - _y;
}
}
if (go) {
gotoAndStop ("go");
scythe._rotation = scythe._rotation + 10;
_x = (_x + (dx / speed));
_y = (_y + (dy / speed));
}
}
if (dead) {
hitcolor.setTransform(oldColor);
deadt++;
gotoAndStop ("dead");
if (deadt >= 30) {
_parent.removeMovieClip();
}
}
}
}
Symbol 576 MovieClip Frame 1
stop();
Instance of Symbol 548 MovieClip in Symbol 576 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.score = _root.score + 300;
_parent.removeMovieClip();
_parent.gotoAndStop("none");
}
}
Symbol 576 MovieClip Frame 2
stop();
Instance of Symbol 551 MovieClip in Symbol 576 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.score = _root.score + 100;
_parent.removeMovieClip();
_parent.gotoAndStop("none");
}
}
Symbol 576 MovieClip Frame 3
stop();
Instance of Symbol 554 MovieClip in Symbol 576 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.score = _root.score + 100;
_parent.removeMovieClip();
_parent.gotoAndStop("none");
}
}
Symbol 576 MovieClip Frame 4
stop();
Instance of Symbol 557 MovieClip in Symbol 576 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.score = _root.score + 500;
_parent.removeMovieClip();
_parent.gotoAndStop("none");
}
}
Symbol 576 MovieClip Frame 5
stop();
Instance of Symbol 560 MovieClip in Symbol 576 MovieClip Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.score = _root.score + 300;
_parent.removeMovieClip();
_parent.gotoAndStop("none");
}
}
Symbol 576 MovieClip Frame 6
stop();
Instance of Symbol 563 MovieClip in Symbol 576 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
if (_root.life < 100) {
_root.life = _root.life + 10;
}
_parent.removeMovieClip();
_parent.gotoAndStop("none");
}
}
Symbol 576 MovieClip Frame 7
stop();
Instance of Symbol 566 MovieClip in Symbol 576 MovieClip Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = 100;
_parent.removeMovieClip();
_parent.gotoAndStop("none");
}
}
Symbol 576 MovieClip Frame 8
stop();
Instance of Symbol 569 MovieClip in Symbol 576 MovieClip Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
if (_root.life < 100) {
_root.life = _root.life + 10;
}
_parent.removeMovieClip();
_parent.gotoAndStop("none");
}
}
Symbol 576 MovieClip Frame 9
stop();
Instance of Symbol 572 MovieClip in Symbol 576 MovieClip Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
if (_root.life < 100) {
_root.life = _root.life + 10;
}
_parent.removeMovieClip();
_parent.gotoAndStop("none");
}
}
Symbol 576 MovieClip Frame 10
stop();
Instance of Symbol 575 MovieClip in Symbol 576 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
if (_root.life < 100) {
_root.life = _root.life + 50;
}
_root.score = _root.score + 1000;
_parent.removeMovieClip();
_parent.gotoAndStop("none");
}
}
Symbol 576 MovieClip Frame 11
stop();
Instance of Symbol 576 MovieClip "animate" in Symbol 577 MovieClip [items1a] Frame 1
onClipEvent (load) {
up = true;
upt = 0;
fsel = random(10);
speed = 3;
if (fsel == 0) {
gotoAndStop ("a1");
}
if (fsel == 1) {
gotoAndStop ("a2");
}
if (fsel == 2) {
gotoAndStop ("a3");
}
if (fsel == 3) {
gotoAndStop ("a4");
}
if (fsel == 4) {
gotoAndStop ("a5");
}
if (fsel == 5) {
gotoAndStop ("a6");
}
if (fsel == 6) {
gotoAndStop ("a7");
}
if (fsel == 7) {
gotoAndStop ("a8");
}
if (fsel == 8) {
gotoAndStop ("a9");
}
if (fsel == 9) {
gotoAndStop ("a10");
}
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.mover) {
_x = (_x - _root.movespeed);
}
if (_root.movel) {
_x = (_x + _root.movespeed);
}
if (_root.moved) {
_y = (_y - _root.movespeed);
}
if (_root.moveu) {
_y = (_y + _root.movespeed);
}
if (_x > 420) {
_parent.removeMovieClip();
}
if (_x < -20) {
_parent.removeMovieClip();
}
if (_y >= 450) {
_parent.removeMovieClip();
}
if (up) {
upt++;
_y = (_y - speed);
if (upt >= 10) {
up = false;
chill = true;
}
}
if (chill) {
if (!_root.map.black.hitTest(_x, _y - 20, true)) {
_y = (_y + speed);
}
}
}
}
Symbol 578 MovieClip Frame 51
_root.gotoAndStop("ending1");
_parent.removeMovieClip();
stop();
Instance of Symbol 582 MovieClip "animate" in Symbol 583 MovieClip [strikerride1a] Frame 1
onClipEvent (load) {
zoomin = true;
zoomint = 0;
speed = 3;
dead = false;
deadt1 = 0;
deadt2 = 0;
hit = false;
hitt = 0;
nohit = false;
nohitt = 0;
dir = 0;
zspeed = 10;
}
onClipEvent (enterFrame) {
_root.playerx = _x;
if (!_root.pause) {
if (Key.isDown(38)) {
up = true;
} else {
up = false;
}
if (Key.isDown(40)) {
dn = true;
} else {
dn = false;
}
if (Key.isDown(39)) {
rt = true;
} else {
rt = false;
}
if (Key.isDown(37)) {
lft = true;
} else {
lft = false;
}
if (Key.isDown(65)) {
if (!a) {
shoot = true;
a = true;
}
} else {
a = false;
}
if (!dead) {
if (!zoomin) {
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_x = (_x - _root.movespeed);
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_x = (_x + _root.movespeed);
}
if (_root.map.black.hitTest(_x + 15, _y, true)) {
_x = (_x - 20);
}
if (_root.map.black.hitTest(_x - 15, _y, true)) {
_x = (_x + 20);
}
if (nohit) {
nohitt++;
if (!inv) {
_alpha = 50;
}
if (nohitt >= 25) {
_alpha = 100;
nohitt = 0;
nohit = false;
}
}
if (!hit) {
if (up) {
if (_y > 50) {
if (!_root.map.black.hitTest(_x, _y - 20, true)) {
_y = (_y - speed);
}
}
}
if (dn) {
if (_y < 350) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed);
}
}
}
if (rt) {
if (_x < 380) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_x = (_x + speed);
}
}
}
if (lft) {
if (_x > 20) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_x = (_x - speed);
}
}
}
if (shoot) {
shoott++;
if (_root.pu1) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster1b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu2) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster2b", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu3) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster2b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 4) and (shoott < 6)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu4) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster2b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu5) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster4b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu6) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster4b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
if ((shoott > 9) and (shoott < 11)) {
_root.attachMovie("buster2b", "buster4" + _root.bullets, _root.bullets++);
_root["buster4" + _root.bullets]._y = _y + 10;
_root["buster4" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu7) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster4b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
if ((shoott > 9) and (shoott < 11)) {
_root.attachMovie("buster2b", "buster4" + _root.bullets, _root.bullets++);
_root["buster4" + _root.bullets]._y = _y + 10;
_root["buster4" + _root.bullets]._x = _x + 20;
}
if ((shoott > 11) and (shoott < 13)) {
_root.attachMovie("buster2b", "buster5" + _root.bullets, _root.bullets++);
_root["buster5" + _root.bullets]._y = _y - 10;
_root["buster5" + _root.bullets]._x = _x + 20;
}
}
if (shoott >= 17) {
shoott = 0;
shoot = false;
}
}
}
if (hit) {
hitt++;
shoott = 0;
shoot = false;
slidet = 0;
slide = false;
jump = false;
if (hitt >= 10) {
hitt = 0;
nohit = true;
hit = false;
}
}
if (_root.life < 0) {
dead = true;
}
}
if (zoomin) {
_visible = true;
nohit = true;
nohitt = 0;
_x = (_x + zspeed);
zoomint++;
_y = 130;
if (_x >= 130) {
zoomint = 0;
nohit = true;
zoomin = false;
}
}
}
if (dead) {
_root.moveu = false;
_root.moved = false;
_root.mover = false;
_root.movel = false;
deadt1++;
deadt2++;
_visible = false;
if (deadt1 >= 7) {
_root.attachMovie("spark1a", "spark1" + _root.bullets, _root.bullets++);
deadt1 = 0;
}
if (deadt2 >= 100) {
if (_root.lives >= 0) {
_x = -50;
_y = 130;
_root.life = 100;
_root.lives = _root.lives - 1;
deadt1 = 0;
deadt2 = 0;
zoomin = true;
dead = false;
}
if (_root.lives < 0) {
_parent.removeMovieClip();
}
}
}
}
}
Instance of Symbol 586 MovieClip "animate" in Symbol 587 MovieClip [phoenixride1a] Frame 1
onClipEvent (load) {
zoomin = true;
zoomint = 0;
speed = 3;
dead = false;
deadt1 = 0;
deadt2 = 0;
hit = false;
hitt = 0;
nohit = false;
nohitt = 0;
dir = 0;
zspeed = 10;
}
onClipEvent (enterFrame) {
_root.playerx = _x;
if (!_root.pause) {
if (Key.isDown(38)) {
up = true;
} else {
up = false;
}
if (Key.isDown(40)) {
dn = true;
} else {
dn = false;
}
if (Key.isDown(39)) {
rt = true;
} else {
rt = false;
}
if (Key.isDown(37)) {
lft = true;
} else {
lft = false;
}
if (Key.isDown(65)) {
if (!a) {
shoot = true;
a = true;
}
} else {
a = false;
}
if (!dead) {
if (!zoomin) {
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_x = (_x - _root.movespeed);
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_x = (_x + _root.movespeed);
}
if (_root.map.black.hitTest(_x + 15, _y, true)) {
_x = (_x - 20);
}
if (_root.map.black.hitTest(_x - 15, _y, true)) {
_x = (_x + 20);
}
if (nohit) {
nohitt++;
if (!inv) {
_alpha = 50;
}
if (nohitt >= 25) {
_alpha = 100;
nohitt = 0;
nohit = false;
}
}
if (!hit) {
if (up) {
if (_y > 50) {
if (!_root.map.black.hitTest(_x, _y - 20, true)) {
_y = (_y - speed);
}
}
}
if (dn) {
if (_y < 350) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed);
}
}
}
if (rt) {
if (_x < 380) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_x = (_x + speed);
}
}
}
if (lft) {
if (_x > 20) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_x = (_x - speed);
}
}
}
if (shoot) {
shoott++;
if (_root.pu1) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster1b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu2) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster2b", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu3) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster2b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 4) and (shoott < 6)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu4) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster2b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu5) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster4b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu6) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster4b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
if ((shoott > 9) and (shoott < 11)) {
_root.attachMovie("buster2b", "buster4" + _root.bullets, _root.bullets++);
_root["buster4" + _root.bullets]._y = _y + 10;
_root["buster4" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu7) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster4b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
if ((shoott > 9) and (shoott < 11)) {
_root.attachMovie("buster2b", "buster4" + _root.bullets, _root.bullets++);
_root["buster4" + _root.bullets]._y = _y + 10;
_root["buster4" + _root.bullets]._x = _x + 20;
}
if ((shoott > 11) and (shoott < 13)) {
_root.attachMovie("buster2b", "buster5" + _root.bullets, _root.bullets++);
_root["buster5" + _root.bullets]._y = _y - 10;
_root["buster5" + _root.bullets]._x = _x + 20;
}
}
if (shoott >= 17) {
shoott = 0;
shoot = false;
}
}
}
if (hit) {
hitt++;
shoott = 0;
shoot = false;
slidet = 0;
slide = false;
jump = false;
if (hitt >= 10) {
hitt = 0;
nohit = true;
hit = false;
}
}
if (_root.life < 0) {
dead = true;
}
}
if (zoomin) {
_visible = true;
nohit = true;
nohitt = 0;
_x = (_x + zspeed);
zoomint++;
_y = 130;
if (_x >= 130) {
zoomint = 0;
nohit = true;
zoomin = false;
}
}
}
if (dead) {
_root.moveu = false;
_root.moved = false;
_root.mover = false;
_root.movel = false;
deadt1++;
deadt2++;
_visible = false;
if (deadt1 >= 7) {
_root.attachMovie("spark1a", "spark1" + _root.bullets, _root.bullets++);
deadt1 = 0;
}
if (deadt2 >= 100) {
if (_root.lives >= 0) {
_x = -50;
_y = 130;
_root.life = 100;
_root.lives = _root.lives - 1;
deadt1 = 0;
deadt2 = 0;
zoomin = true;
dead = false;
}
if (_root.lives < 0) {
_parent.removeMovieClip();
}
}
}
}
}
Instance of Symbol 590 MovieClip "animate" in Symbol 591 MovieClip [niferide1a] Frame 1
onClipEvent (load) {
zoomin = true;
zoomint = 0;
speed = 3;
dead = false;
deadt1 = 0;
deadt2 = 0;
hit = false;
hitt = 0;
nohit = false;
nohitt = 0;
dir = 0;
zspeed = 10;
}
onClipEvent (enterFrame) {
_root.playerx = _x;
if (!_root.pause) {
if (Key.isDown(38)) {
up = true;
} else {
up = false;
}
if (Key.isDown(40)) {
dn = true;
} else {
dn = false;
}
if (Key.isDown(39)) {
rt = true;
} else {
rt = false;
}
if (Key.isDown(37)) {
lft = true;
} else {
lft = false;
}
if (Key.isDown(65)) {
if (!a) {
shoot = true;
a = true;
}
} else {
a = false;
}
if (!dead) {
if (!zoomin) {
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_x = (_x - _root.movespeed);
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_x = (_x + _root.movespeed);
}
if (_root.map.black.hitTest(_x + 15, _y, true)) {
_x = (_x - 20);
}
if (_root.map.black.hitTest(_x - 15, _y, true)) {
_x = (_x + 20);
}
if (nohit) {
nohitt++;
if (!inv) {
_alpha = 50;
}
if (nohitt >= 25) {
_alpha = 100;
nohitt = 0;
nohit = false;
}
}
if (!hit) {
if (up) {
if (_y > 50) {
if (!_root.map.black.hitTest(_x, _y - 20, true)) {
_y = (_y - speed);
}
}
}
if (dn) {
if (_y < 350) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed);
}
}
}
if (rt) {
if (_x < 380) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_x = (_x + speed);
}
}
}
if (lft) {
if (_x > 20) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_x = (_x - speed);
}
}
}
if (shoot) {
shoott++;
if (_root.pu1) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster1b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu2) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster2b", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu3) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster2b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 4) and (shoott < 6)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu4) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster2b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu5) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster4b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu6) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster4b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
if ((shoott > 9) and (shoott < 11)) {
_root.attachMovie("buster2b", "buster4" + _root.bullets, _root.bullets++);
_root["buster4" + _root.bullets]._y = _y + 10;
_root["buster4" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu7) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster4b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
if ((shoott > 9) and (shoott < 11)) {
_root.attachMovie("buster2b", "buster4" + _root.bullets, _root.bullets++);
_root["buster4" + _root.bullets]._y = _y + 10;
_root["buster4" + _root.bullets]._x = _x + 20;
}
if ((shoott > 11) and (shoott < 13)) {
_root.attachMovie("buster2b", "buster5" + _root.bullets, _root.bullets++);
_root["buster5" + _root.bullets]._y = _y - 10;
_root["buster5" + _root.bullets]._x = _x + 20;
}
}
if (shoott >= 17) {
shoott = 0;
shoot = false;
}
}
}
if (hit) {
hitt++;
shoott = 0;
shoot = false;
slidet = 0;
slide = false;
jump = false;
if (hitt >= 10) {
hitt = 0;
nohit = true;
hit = false;
}
}
if (_root.life < 0) {
dead = true;
}
}
if (zoomin) {
_visible = true;
nohit = true;
nohitt = 0;
_x = (_x + zspeed);
zoomint++;
_y = 130;
if (_x >= 130) {
zoomint = 0;
nohit = true;
zoomin = false;
}
}
}
if (dead) {
_root.moveu = false;
_root.moved = false;
_root.mover = false;
_root.movel = false;
deadt1++;
deadt2++;
_visible = false;
if (deadt1 >= 7) {
_root.attachMovie("spark1a", "spark1" + _root.bullets, _root.bullets++);
deadt1 = 0;
}
if (deadt2 >= 100) {
if (_root.lives >= 0) {
_x = -50;
_y = 130;
_root.life = 100;
_root.lives = _root.lives - 1;
deadt1 = 0;
deadt2 = 0;
zoomin = true;
dead = false;
}
if (_root.lives < 0) {
_parent.removeMovieClip();
}
}
}
}
}
Instance of Symbol 594 MovieClip "animate" in Symbol 595 MovieClip [kazuride1a] Frame 1
onClipEvent (load) {
zoomin = true;
zoomint = 0;
speed = 3;
dead = false;
deadt1 = 0;
deadt2 = 0;
hit = false;
hitt = 0;
nohit = false;
nohitt = 0;
dir = 0;
zspeed = 10;
}
onClipEvent (enterFrame) {
_root.playerx = _x;
if (!_root.pause) {
if (Key.isDown(38)) {
up = true;
} else {
up = false;
}
if (Key.isDown(40)) {
dn = true;
} else {
dn = false;
}
if (Key.isDown(39)) {
rt = true;
} else {
rt = false;
}
if (Key.isDown(37)) {
lft = true;
} else {
lft = false;
}
if (Key.isDown(65)) {
if (!a) {
shoot = true;
a = true;
}
} else {
a = false;
}
if (!dead) {
if (!zoomin) {
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_x = (_x - _root.movespeed);
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_x = (_x + _root.movespeed);
}
if (_root.map.black.hitTest(_x + 15, _y, true)) {
_x = (_x - 20);
}
if (_root.map.black.hitTest(_x - 15, _y, true)) {
_x = (_x + 20);
}
if (nohit) {
nohitt++;
if (!inv) {
_alpha = 50;
}
if (nohitt >= 25) {
_alpha = 100;
nohitt = 0;
nohit = false;
}
}
if (!hit) {
if (up) {
if (_y > 50) {
if (!_root.map.black.hitTest(_x, _y - 20, true)) {
_y = (_y - speed);
}
}
}
if (dn) {
if (_y < 350) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed);
}
}
}
if (rt) {
if (_x < 380) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_x = (_x + speed);
}
}
}
if (lft) {
if (_x > 20) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_x = (_x - speed);
}
}
}
if (shoot) {
shoott++;
if (_root.pu1) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster1b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu2) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster2b", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu3) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster2b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 4) and (shoott < 6)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu4) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster2b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu5) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster4b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu6) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster4b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
if ((shoott > 9) and (shoott < 11)) {
_root.attachMovie("buster2b", "buster4" + _root.bullets, _root.bullets++);
_root["buster4" + _root.bullets]._y = _y + 10;
_root["buster4" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu7) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster4b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
if ((shoott > 9) and (shoott < 11)) {
_root.attachMovie("buster2b", "buster4" + _root.bullets, _root.bullets++);
_root["buster4" + _root.bullets]._y = _y + 10;
_root["buster4" + _root.bullets]._x = _x + 20;
}
if ((shoott > 11) and (shoott < 13)) {
_root.attachMovie("buster2b", "buster5" + _root.bullets, _root.bullets++);
_root["buster5" + _root.bullets]._y = _y - 10;
_root["buster5" + _root.bullets]._x = _x + 20;
}
}
if (shoott >= 17) {
shoott = 0;
shoot = false;
}
}
}
if (hit) {
hitt++;
shoott = 0;
shoot = false;
slidet = 0;
slide = false;
jump = false;
if (hitt >= 10) {
hitt = 0;
nohit = true;
hit = false;
}
}
if (_root.life < 0) {
dead = true;
}
}
if (zoomin) {
_visible = true;
nohit = true;
nohitt = 0;
_x = (_x + zspeed);
zoomint++;
_y = 130;
if (_x >= 130) {
zoomint = 0;
nohit = true;
zoomin = false;
}
}
}
if (dead) {
_root.moveu = false;
_root.moved = false;
_root.mover = false;
_root.movel = false;
deadt1++;
deadt2++;
_visible = false;
if (deadt1 >= 7) {
_root.attachMovie("spark1a", "spark1" + _root.bullets, _root.bullets++);
deadt1 = 0;
}
if (deadt2 >= 100) {
if (_root.lives >= 0) {
_x = -50;
_y = 130;
_root.life = 100;
_root.lives = _root.lives - 1;
deadt1 = 0;
deadt2 = 0;
zoomin = true;
dead = false;
}
if (_root.lives < 0) {
_parent.removeMovieClip();
}
}
}
}
}
Instance of Symbol 598 MovieClip "animate" in Symbol 599 MovieClip [katrinride1a] Frame 1
onClipEvent (load) {
zoomin = true;
zoomint = 0;
speed = 3;
dead = false;
deadt1 = 0;
deadt2 = 0;
hit = false;
hitt = 0;
nohit = false;
nohitt = 0;
dir = 0;
zspeed = 10;
}
onClipEvent (enterFrame) {
_root.playerx = _x;
if (!_root.pause) {
if (Key.isDown(38)) {
up = true;
} else {
up = false;
}
if (Key.isDown(40)) {
dn = true;
} else {
dn = false;
}
if (Key.isDown(39)) {
rt = true;
} else {
rt = false;
}
if (Key.isDown(37)) {
lft = true;
} else {
lft = false;
}
if (Key.isDown(65)) {
if (!a) {
shoot = true;
a = true;
}
} else {
a = false;
}
if (!dead) {
if (!zoomin) {
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_x = (_x - _root.movespeed);
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_x = (_x + _root.movespeed);
}
if (_root.map.black.hitTest(_x + 15, _y, true)) {
_x = (_x - 20);
}
if (_root.map.black.hitTest(_x - 15, _y, true)) {
_x = (_x + 20);
}
if (nohit) {
nohitt++;
if (!inv) {
_alpha = 50;
}
if (nohitt >= 25) {
_alpha = 100;
nohitt = 0;
nohit = false;
}
}
if (!hit) {
if (up) {
if (_y > 50) {
if (!_root.map.black.hitTest(_x, _y - 20, true)) {
_y = (_y - speed);
}
}
}
if (dn) {
if (_y < 350) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed);
}
}
}
if (rt) {
if (_x < 380) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_x = (_x + speed);
}
}
}
if (lft) {
if (_x > 20) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_x = (_x - speed);
}
}
}
if (shoot) {
shoott++;
if (_root.pu1) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster1b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu2) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster2b", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu3) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster2b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 4) and (shoott < 6)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu4) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster2b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu5) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster4b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu6) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster4b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
if ((shoott > 9) and (shoott < 11)) {
_root.attachMovie("buster2b", "buster4" + _root.bullets, _root.bullets++);
_root["buster4" + _root.bullets]._y = _y + 10;
_root["buster4" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu7) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster4b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
if ((shoott > 9) and (shoott < 11)) {
_root.attachMovie("buster2b", "buster4" + _root.bullets, _root.bullets++);
_root["buster4" + _root.bullets]._y = _y + 10;
_root["buster4" + _root.bullets]._x = _x + 20;
}
if ((shoott > 11) and (shoott < 13)) {
_root.attachMovie("buster2b", "buster5" + _root.bullets, _root.bullets++);
_root["buster5" + _root.bullets]._y = _y - 10;
_root["buster5" + _root.bullets]._x = _x + 20;
}
}
if (shoott >= 17) {
shoott = 0;
shoot = false;
}
}
}
if (hit) {
hitt++;
shoott = 0;
shoot = false;
slidet = 0;
slide = false;
jump = false;
if (hitt >= 10) {
hitt = 0;
nohit = true;
hit = false;
}
}
if (_root.life < 0) {
dead = true;
}
}
if (zoomin) {
_visible = true;
nohit = true;
nohitt = 0;
_x = (_x + zspeed);
zoomint++;
_y = 130;
if (_x >= 130) {
zoomint = 0;
nohit = true;
zoomin = false;
}
}
}
if (dead) {
_root.moveu = false;
_root.moved = false;
_root.mover = false;
_root.movel = false;
deadt1++;
deadt2++;
_visible = false;
if (deadt1 >= 7) {
_root.attachMovie("spark1a", "spark1" + _root.bullets, _root.bullets++);
deadt1 = 0;
}
if (deadt2 >= 100) {
if (_root.lives >= 0) {
_x = -50;
_y = 130;
_root.life = 100;
_root.lives = _root.lives - 1;
deadt1 = 0;
deadt2 = 0;
zoomin = true;
dead = false;
}
if (_root.lives < 0) {
_parent.removeMovieClip();
}
}
}
}
}
Instance of Symbol 602 MovieClip "animate" in Symbol 603 MovieClip [genoride1a] Frame 1
onClipEvent (load) {
zoomin = true;
zoomint = 0;
speed = 3;
dead = false;
deadt1 = 0;
deadt2 = 0;
hit = false;
hitt = 0;
nohit = false;
nohitt = 0;
dir = 0;
zspeed = 10;
}
onClipEvent (enterFrame) {
_root.playerx = _x;
if (!_root.pause) {
if (Key.isDown(38)) {
up = true;
} else {
up = false;
}
if (Key.isDown(40)) {
dn = true;
} else {
dn = false;
}
if (Key.isDown(39)) {
rt = true;
} else {
rt = false;
}
if (Key.isDown(37)) {
lft = true;
} else {
lft = false;
}
if (Key.isDown(65)) {
if (!a) {
shoot = true;
a = true;
}
} else {
a = false;
}
if (!dead) {
if (!zoomin) {
if (_root.map.black.hitTest(_x + 20, _y, true)) {
_x = (_x - _root.movespeed);
}
if (_root.map.black.hitTest(_x - 20, _y, true)) {
_x = (_x + _root.movespeed);
}
if (_root.map.black.hitTest(_x + 15, _y, true)) {
_x = (_x - 20);
}
if (_root.map.black.hitTest(_x - 15, _y, true)) {
_x = (_x + 20);
}
if (nohit) {
nohitt++;
if (!inv) {
_alpha = 50;
}
if (nohitt >= 25) {
_alpha = 100;
nohitt = 0;
nohit = false;
}
}
if (!hit) {
if (up) {
if (_y > 50) {
if (!_root.map.black.hitTest(_x, _y - 20, true)) {
_y = (_y - speed);
}
}
}
if (dn) {
if (_y < 350) {
if (!_root.map.black.hitTest(_x, _y + 20, true)) {
_y = (_y + speed);
}
}
}
if (rt) {
if (_x < 380) {
if (!_root.map.black.hitTest(_x + 20, _y, true)) {
_x = (_x + speed);
}
}
}
if (lft) {
if (_x > 20) {
if (!_root.map.black.hitTest(_x - 20, _y, true)) {
_x = (_x - speed);
}
}
}
if (shoot) {
shoott++;
if (_root.pu1) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster1b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu2) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster2b", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu3) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster2b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 4) and (shoott < 6)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu4) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster2b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu5) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster4b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu6) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster4b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
if ((shoott > 9) and (shoott < 11)) {
_root.attachMovie("buster2b", "buster4" + _root.bullets, _root.bullets++);
_root["buster4" + _root.bullets]._y = _y + 10;
_root["buster4" + _root.bullets]._x = _x + 20;
}
}
if (_root.pu7) {
if ((shoott > 3) and (shoott < 5)) {
_root.attachMovie("buster4b", "buster1" + _root.bullets, _root.bullets++);
_root["buster1" + _root.bullets]._y = _y;
_root["buster1" + _root.bullets]._x = _x + 20;
}
if ((shoott > 5) and (shoott < 7)) {
_root.attachMovie("buster2c", "buster2" + _root.bullets, _root.bullets++);
_root["buster2" + _root.bullets]._y = _y;
_root["buster2" + _root.bullets]._x = _x + 20;
}
if ((shoott > 7) and (shoott < 9)) {
_root.attachMovie("buster2d", "buster3" + _root.bullets, _root.bullets++);
_root["buster3" + _root.bullets]._y = _y;
_root["buster3" + _root.bullets]._x = _x + 20;
}
if ((shoott > 9) and (shoott < 11)) {
_root.attachMovie("buster2b", "buster4" + _root.bullets, _root.bullets++);
_root["buster4" + _root.bullets]._y = _y + 10;
_root["buster4" + _root.bullets]._x = _x + 20;
}
if ((shoott > 11) and (shoott < 13)) {
_root.attachMovie("buster2b", "buster5" + _root.bullets, _root.bullets++);
_root["buster5" + _root.bullets]._y = _y - 10;
_root["buster5" + _root.bullets]._x = _x + 20;
}
}
if (shoott >= 17) {
shoott = 0;
shoot = false;
}
}
}
if (hit) {
hitt++;
shoott = 0;
shoot = false;
slidet = 0;
slide = false;
jump = false;
if (hitt >= 10) {
hitt = 0;
nohit = true;
hit = false;
}
}
if (_root.life < 0) {
dead = true;
}
}
if (zoomin) {
_visible = true;
nohit = true;
nohitt = 0;
_x = (_x + zspeed);
zoomint++;
_y = 130;
if (_x >= 130) {
zoomint = 0;
nohit = true;
zoomin = false;
}
}
}
if (dead) {
_root.moveu = false;
_root.moved = false;
_root.mover = false;
_root.movel = false;
deadt1++;
deadt2++;
_visible = false;
if (deadt1 >= 7) {
_root.attachMovie("spark1a", "spark1" + _root.bullets, _root.bullets++);
deadt1 = 0;
}
if (deadt2 >= 100) {
if (_root.lives >= 0) {
_x = -50;
_y = 130;
_root.life = 100;
_root.lives = _root.lives - 1;
deadt1 = 0;
deadt2 = 0;
zoomin = true;
dead = false;
}
if (_root.lives < 0) {
_parent.removeMovieClip();
}
}
}
}
}
Symbol 614 MovieClip Frame 4
gotoAndPlay (2);
Symbol 614 MovieClip Frame 5
stop();
Symbol 615 MovieClip [enem] Frame 1
stop();
Instance of Symbol 614 MovieClip in Symbol 615 MovieClip [enem] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship.limit)) {
_root.ship.gotoAndPlay(3);
_root.picbox.gotoAndPlay(2);
_root.life = _root.life - 30;
this.gotoAndPlay(5);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ship.barrier.limit)) {
_root.ship.barrier.limit.nextFrame();
this.gotoAndPlay(5);
}
}
Symbol 632 MovieClip Frame 40
stop();
Symbol 646 Button
on (press) {
tellTarget (_root) {
nextFrame();
};
}
Symbol 647 Button
on (press) {
_root.gotoAndStop("title");
}
Instance of Symbol 622 MovieClip in Symbol 648 MovieClip Frame 1
onClipEvent (load) {
_root.stop();
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndStop("lastframe");
}
}
onClipEvent (enterFrame) {
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndPlay("loaded");
}
}
Symbol 648 MovieClip Frame 101
play();
Symbol 648 MovieClip Frame 165
stop();
Symbol 656 MovieClip Frame 1
function startAd(ngad_url) {
trace("opening " + ngad_url);
System.security.allowDomain("70.87.128.99");
System.security.allowInsecureDomain("70.87.128.99");
System.security.allowDomain("ads.shizmoo.com");
System.security.allowInsecureDomain("ads.shizmoo.com");
System.security.allowDomain("www.cpmstar.com");
System.security.allowInsecureDomain("www.cpmstar.com");
System.security.allowDomain("server.cpmstar.com");
System.security.allowInsecureDomain("server.cpmstar.com");
var ngads_redirect = new XML();
ngads_redirect.ignoreWhite = true;
ngads_redirect.onLoad = function (success) {
trace("[NEWGROUNDS FLASH ADS] :: You may get a 'Security Sandbox Violation' ... this is normal, do not freak out!");
if (success) {
ng_ad.loadMovie(ngads_redirect.toString(), "GET");
}
};
ngads_redirect.load(ngad_url);
}
if (NewgroundsAPI.getAdURL()) {
startAd(NewgroundsAPI.getAdURL());
}
NewgroundsAPI.onAdsApproved = function (ad_url) {
startAd(ad_url);
};
stop();
Instance of Symbol 655 MovieClip "ng_ad" in Symbol 656 MovieClip Frame 1
on (release) {
getURL ("http://costarrgames.com", 1);
}
Symbol 1321 MovieClip [__Packages.NewgroundsAPI] Frame 0
class NewgroundsAPI
{
static var tracker_id, host, version, debug, error_format, header_format, normal_format, link_format;
function NewgroundsAPI () {
}
static function connectMovie(id) {
if (!id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.connectMovie(id:Number)");
} else if (!tracker_id) {
SendMessage("Connecting to API gateway...");
tracker_id = id;
host = _url.split("/")[2].toLowerCase();
if (host.length < 1) {
host = "localhost";
}
var _local2 = new Object();
SendEvent(MOVIE_VIEWS);
}
}
static function setMovieVersion(movie_version) {
if (!movie_version) {
SendError("Missing required 'version' in NewgroundsAPI.setMovieVersion(version:String)");
} else {
version = movie_version;
}
}
static function debugMode() {
debug = true;
}
static function addCustomEvent(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else if (!stat_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else {
custom_events[stat_name] = CUSTOM_STATS + stat_id;
SendMessage("Created custom event: " + stat_name);
}
}
static function addCustomLink(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else if (!stat_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else {
custom_links[stat_name] = CUSTOM_STATS + stat_id;
SendMessage((("Created custom link " + stat_id) + ": ") + stat_name);
}
}
static function loadMySite() {
SendLink(AUTHOR_SITE);
}
static function loadNewgrounds(special) {
if (special) {
var _local1 = {page:special};
}
SendLink(NEWGROUNDS, _local1);
}
static function logCustomEvent(event_name) {
if (!event_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.logCustomEvent(event_name:String)");
} else if (!custom_events[event_name]) {
SendError("Attempted to log undefined custom event: " + event_name);
} else {
SendEvent(custom_events[event_name]);
}
}
static function loadCustomLink(link_name) {
if (!link_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.loadCustomLink(link_name:String)");
} else if (!custom_links[link_name]) {
SendError("Attempted to open undefined custom link: " + link_name);
} else {
SendLink(custom_links[link_name]);
}
}
static function getAdURL() {
return(movie_options.ad_url);
}
static function getMovieURL() {
if (movie_options.movie_url) {
return(movie_options.movie_url);
}
return("Newgrounds.com");
}
static function getNewVersionURL() {
return((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + NEW_VERSION);
}
static function SendEvent(id) {
SendStat(id, false);
}
static function SendLink(id, extra) {
SendStat(id, true, extra);
}
static function ReadGatewayData(params) {
for (var _local2 in params) {
params[_local2] = unescape(params[_local2]);
movie_options[_local2] = params[_local2];
}
if (params.settings_loaded) {
SendMessage("You have successfully connected to the Newgrounds API gateway!");
SendMessage(("Movie Identified as '" + movie_options.movie_name) + "'");
if (movie_options.message) {
SendMessage(movie_options.message);
}
if (movie_options.ad_url) {
SendMessage("Your movie has been approved to run Flash Ads");
onAdsApproved(movie_options.ad_url);
}
if (movie_options.movie_version and (movie_options.movie_version.toString() != version.toString())) {
SendMessage("WARNING: The movie version configured in your API settings does not match this movie's version!");
onNewVersionAvailable(movie_options.movie_version, getMovieURL(), getNewVersionURL());
}
if (movie_options.deny_host) {
SendMessage("You have blocked 'localHost' in your API settings.");
SendMessage("If you wish to test your movie you will need to remove this block.");
onDenyHost(host, getMovieURL(), getNewVersionURL());
}
if (movie_options.request_portal_url == 1) {
var _local4 = (((GATEWAY_URL + "?&id=") + tracker_id) + "&portal_url=") + escape(_url);
var _local3 = new XML();
_local3.ignoreWhite = true;
_local3.load(_local4);
}
} else if (!movie_options.settings_loaded) {
SendError("Could not establish connection to the API gateway.");
}
}
static function SendStat(stat_id, open_in_browser, extra) {
if (!tracker_id) {
SendError("API calls cannot be made without a valid movie id.");
SendError("Did you remember to add the \"NewgroundsAPI.connectMovie()\" code?");
} else {
var _local7 = (((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + stat_id;
for (var _local9 in extra) {
_local7 = _local7 + ((("&" + escape(_local9)) + "=") + escape(extra[_local9]));
}
trace(_local7);
if (debug) {
_local7 = _local7 + "&debug=1";
}
if (open_in_browser) {
getURL (_local7, "_blank");
} else {
var _local10 = new XML();
_local10.ignoreWhite = true;
_local10.onLoad = function (success) {
var _local6 = new Object();
var _local3 = 0;
while (_local3 < this.firstChild.childNodes.length) {
var _local4 = this.firstChild.childNodes[_local3];
var _local5 = _local4.nodeName;
var _local2 = _local4.attributes.value;
if (_local2 == Number(_local2)) {
_local2 = Number(_local2);
}
_local6[_local5] = _local2;
_local3++;
}
NewgroundsAPI.ReadGatewayData(_local6);
};
_local10.load(_local7);
}
}
}
static function SendError(msg) {
trace("[NEWGROUNDS API ERROR] :: " + msg);
}
static function SendMessage(msg) {
trace("[NEWGROUNDS API] :: " + msg);
}
static function InitTextFormats() {
if (!error_format) {
error_format = new TextFormat();
error_format.font = "Arial Black";
error_format.size = 48;
error_format.color = 16711680 /* 0xFF0000 */;
}
if (!header_format) {
header_format = new TextFormat();
header_format.font = "Arial Black";
header_format.size = 24;
header_format.color = 16777215 /* 0xFFFFFF */;
}
if (!normal_format) {
normal_format = new TextFormat();
normal_format.font = "Arial";
normal_format.bold = true;
normal_format.size = 12;
normal_format.color = 16777215 /* 0xFFFFFF */;
}
if (!link_format) {
link_format = new TextFormat();
link_format.color = 16776960 /* 0xFFFF00 */;
link_format.underline = true;
}
}
static function onNewVersionAvailable(version, movie_url, redirect_url) {
InitTextFormats();
var _local2 = new Object();
_local2.x = Stage.width / 2;
_local2.y = Stage.height / 2;
_root.createEmptyMovieClip("NGAPI_new_version_overlay", _root.getNextHighestDepth());
_root.NGAPI_new_version_overlay.lineStyle(1, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(0, 70);
_root.NGAPI_new_version_overlay.moveTo(-10, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, -10);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.lineStyle(10, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(51);
_root.NGAPI_new_version_overlay.moveTo(_local2.x - 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.createEmptyMovieClip("exit", 1000);
_root.NGAPI_new_version_overlay.exit.lineStyle(2, 39423, 100);
_root.NGAPI_new_version_overlay.exit.beginFill(0, 50);
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 210, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.endFill();
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 214, _local2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 226, _local2.y - 94);
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 226, _local2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 214, _local2.y - 94);
_root.NGAPI_new_version_overlay.exit.onMouseUp = function () {
if (_root.NGAPI_new_version_overlay.exit.hitTest(_root._xmouse, _root._ymouse)) {
_root.NGAPI_new_version_overlay.removeMovieClip();
}
};
var _local3 = (("Version " + version) + " is now available at:") + newline;
var _local5 = _local3.length;
_local3 = _local3 + movie_url;
var _local4 = _local3.length;
_root.NGAPI_new_version_overlay.createTextField("mouseblocker", 99, -10, -10, 1000, 1000);
_root.NGAPI_new_version_overlay.createTextField("newversion", 100, _local2.x - 210, _local2.y - 90, 400, 80);
_root.NGAPI_new_version_overlay.newversion.text = "New Version Available!";
_root.NGAPI_new_version_overlay.newversion.setTextFormat(header_format);
_root.NGAPI_new_version_overlay.createTextField("message", 101, (Stage.width - 400) / 2, Stage.height / 2, 400, 40);
_root.NGAPI_new_version_overlay.message.text = _local3;
_root.NGAPI_new_version_overlay.message.multiline = true;
_root.NGAPI_new_version_overlay.message.wordWrap = true;
_root.NGAPI_new_version_overlay.message.html = true;
_root.NGAPI_new_version_overlay.message.setTextFormat(normal_format);
link_format.url = redirect_url;
_root.NGAPI_new_version_overlay.message.setTextFormat(_local5, _local4, link_format);
}
static function onDenyHost(hostname, movie_url, redirect_url) {
InitTextFormats();
_root.createEmptyMovieClip("NGAPI_deny_host_overlay", _root.getNextHighestDepth());
_root.NGAPI_deny_host_overlay.lineStyle(20, 0, 100);
_root.NGAPI_deny_host_overlay.beginFill(6684672);
_root.NGAPI_deny_host_overlay.moveTo(0, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, 0);
_root.NGAPI_deny_host_overlay.endFill();
var _local2 = ("This movie has not been approved for use on " + hostname) + ".";
_local2 = _local2 + "\r\rFor an aproved copy, please visit:\r";
var _local4 = _local2.length;
_local2 = _local2 + movie_url;
var _local3 = _local2.length;
_root.NGAPI_deny_host_overlay.createTextField("mousekill", 100, 0, 0, Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.createTextField("error", 101, (Stage.width - 400) / 2, (Stage.height / 2) - 100, 400, 200);
_root.NGAPI_deny_host_overlay.error.text = "ERROR!";
_root.NGAPI_deny_host_overlay.error.setTextFormat(error_format);
_root.NGAPI_deny_host_overlay.createTextField("message", 102, (Stage.width - 400) / 2, Stage.height / 2, 400, 200);
_root.NGAPI_deny_host_overlay.message.text = _local2;
_root.NGAPI_deny_host_overlay.message.multiline = true;
_root.NGAPI_deny_host_overlay.message.wordWrap = true;
_root.NGAPI_deny_host_overlay.message.html = true;
_root.NGAPI_deny_host_overlay.message.setTextFormat(normal_format);
link_format.url = redirect_url;
_root.NGAPI_deny_host_overlay.message.setTextFormat(_local4, _local3, link_format);
}
static function isInstalled() {
return(true);
}
static function onAdsApproved(ad_url) {
}
static var movie_options = new Object();
static var custom_events = new Object();
static var custom_links = new Object();
static var MOVIE_VIEWS = 1;
static var AUTHOR_SITE = 2;
static var NEWGROUNDS = 3;
static var NEW_VERSION = 4;
static var CUSTOM_STATS = 50;
static var GATEWAY_URL = "http://www.ngads.com/gateway.php";
}
Symbol 677 MovieClip Frame 1
stop();
Instance of Symbol 674 MovieClip in Symbol 677 MovieClip Frame 1
on (release) {
_root.inst.gotoAndStop("inst");
}
Symbol 677 MovieClip Frame 2
stop();
Instance of Symbol 674 MovieClip in Symbol 677 MovieClip Frame 2
on (release) {
_root.inst.gotoAndStop("none");
}
Symbol 689 MovieClip Frame 1
stop();
Symbol 689 MovieClip Frame 2
stop();
Symbol 691 MovieClip Frame 1
stop();
Symbol 691 MovieClip Frame 2
stop();
Symbol 693 MovieClip Frame 1
stop();
Symbol 693 MovieClip Frame 2
stop();
Symbol 695 MovieClip Frame 1
stop();
Symbol 695 MovieClip Frame 2
stop();
Symbol 697 MovieClip Frame 1
stop();
Symbol 697 MovieClip Frame 2
stop();
Symbol 699 MovieClip Frame 1
stop();
Symbol 699 MovieClip Frame 2
stop();
Symbol 706 MovieClip Frame 1
stop();
Symbol 706 MovieClip Frame 2
stop();
Symbol 706 MovieClip Frame 3
stop();
Symbol 706 MovieClip Frame 4
stop();
Symbol 706 MovieClip Frame 5
stop();
Symbol 706 MovieClip Frame 6
stop();
Symbol 711 MovieClip Frame 1
stop();
Instance of Symbol 710 MovieClip in Symbol 711 MovieClip Frame 1
onClipEvent (load) {
if (_root.st1pass) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 711 MovieClip Frame 2
stop();
Symbol 714 MovieClip Frame 1
stop();
Instance of Symbol 710 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) {
if (_root.st3pass) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 714 MovieClip Frame 2
stop();
Symbol 717 MovieClip Frame 1
stop();
Instance of Symbol 710 MovieClip in Symbol 717 MovieClip Frame 1
onClipEvent (load) {
if (_root.st2pass) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 717 MovieClip Frame 2
stop();
Symbol 726 MovieClip Frame 1
stop();
Symbol 726 MovieClip Frame 2
stop();
Symbol 738 MovieClip Frame 26
stop();
Symbol 755 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 755 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
}
}
}
}
Symbol 755 MovieClip Frame 2
_root.score = _root.score + 200;
stop();
Symbol 767 MovieClip Frame 1
stop();
Instance of Symbol 763 MovieClip "limit" in Symbol 767 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
}
}
}
}
Symbol 767 MovieClip Frame 2
_root.score = _root.score + 200;
stop();
Symbol 768 MovieClip Frame 1
stop();
Instance of Symbol 755 MovieClip "e1" in Symbol 768 MovieClip Frame 1
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 100) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 100) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 755 MovieClip "e2" in Symbol 768 MovieClip Frame 1
onClipEvent (load) {
life = 3;
speed = 2;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 50) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 50) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 755 MovieClip "e3" in Symbol 768 MovieClip Frame 1
onClipEvent (load) {
life = 3;
speed = 2;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 30) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 30) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 755 MovieClip "e5" in Symbol 768 MovieClip Frame 1
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 100) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 100) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Symbol 768 MovieClip Frame 2
stop();
Instance of Symbol 755 MovieClip "e1" in Symbol 768 MovieClip Frame 2
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 25) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 25) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 755 MovieClip "e2" in Symbol 768 MovieClip Frame 2
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 100) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 100) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 755 MovieClip "e4" in Symbol 768 MovieClip Frame 2
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 25) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 25) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 755 MovieClip "e5" in Symbol 768 MovieClip Frame 2
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 25) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 25) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Symbol 768 MovieClip Frame 3
stop();
Instance of Symbol 755 MovieClip "e1" in Symbol 768 MovieClip Frame 3
onClipEvent (load) {
life = 3;
speed = 2;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 100) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 100) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 755 MovieClip "e3" in Symbol 768 MovieClip Frame 3
onClipEvent (load) {
life = 3;
speed = 2;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 100) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 100) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 755 MovieClip "e5" in Symbol 768 MovieClip Frame 3
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 100) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 100) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Symbol 768 MovieClip Frame 4
stop();
Instance of Symbol 767 MovieClip "e1" in Symbol 768 MovieClip Frame 4
onClipEvent (load) {
life = 3;
speed = 2;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 75) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 75) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 767 MovieClip "e2" in Symbol 768 MovieClip Frame 4
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 70) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 70) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Symbol 768 MovieClip Frame 5
stop();
Symbol 768 MovieClip Frame 6
stop();
Instance of Symbol 767 MovieClip "e1" in Symbol 768 MovieClip Frame 6
onClipEvent (load) {
life = 3;
speed = 2;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 110) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 110) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 767 MovieClip "e2" in Symbol 768 MovieClip Frame 6
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 110) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 110) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 767 MovieClip "e4" in Symbol 768 MovieClip Frame 6
onClipEvent (load) {
life = 3;
speed = 2;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 100) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 100) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 767 MovieClip "e3" in Symbol 768 MovieClip Frame 6
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 100) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 100) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 767 MovieClip "e5" in Symbol 768 MovieClip Frame 6
onClipEvent (load) {
life = 3;
speed = 2;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 100) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 100) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Symbol 772 MovieClip Frame 1
stopAllSounds();
Symbol 772 MovieClip Frame 2
stop();
Symbol 774 MovieClip Frame 1
stopAllSounds();
Symbol 774 MovieClip Frame 2
stop();
Symbol 776 MovieClip Frame 1
stopAllSounds();
Symbol 776 MovieClip Frame 2
stop();
Symbol 778 MovieClip Frame 1
stopAllSounds();
Symbol 778 MovieClip Frame 2
stop();
Symbol 780 MovieClip Frame 1
stopAllSounds();
Symbol 780 MovieClip Frame 2
stop();
Symbol 781 MovieClip Frame 1
stopAllSounds();
Symbol 781 MovieClip Frame 2
stop();
Symbol 783 MovieClip Frame 1
stopAllSounds();
Symbol 783 MovieClip Frame 2
stop();
Symbol 785 MovieClip Frame 1
stopAllSounds();
Symbol 785 MovieClip Frame 2
stop();
Symbol 788 MovieClip Frame 1
stopAllSounds();
Symbol 788 MovieClip Frame 2
stop();
Symbol 791 MovieClip Frame 1
stopAllSounds();
Symbol 791 MovieClip Frame 2
stop();
Symbol 792 MovieClip Frame 1
stop();
Symbol 792 MovieClip Frame 2
stop();
Symbol 792 MovieClip Frame 3
stop();
Symbol 792 MovieClip Frame 4
stop();
Symbol 792 MovieClip Frame 5
stop();
Symbol 792 MovieClip Frame 6
stop();
Symbol 792 MovieClip Frame 7
stop();
Symbol 792 MovieClip Frame 8
stop();
Symbol 792 MovieClip Frame 9
stop();
Symbol 792 MovieClip Frame 10
stop();
Symbol 792 MovieClip Frame 11
stopAllSounds();
stop();
Symbol 814 MovieClip Frame 1
stop();
Symbol 814 MovieClip Frame 2
stop();
Symbol 814 MovieClip Frame 3
stop();
Symbol 814 MovieClip Frame 4
stop();
Symbol 814 MovieClip Frame 5
stop();
Symbol 814 MovieClip Frame 6
stop();
Symbol 814 MovieClip Frame 7
stop();
Symbol 814 MovieClip Frame 8
stop();
Symbol 814 MovieClip Frame 9
stop();
Symbol 814 MovieClip Frame 10
stop();
Symbol 814 MovieClip Frame 11
stop();
Symbol 814 MovieClip Frame 12
stop();
Symbol 814 MovieClip Frame 13
stop();
Symbol 814 MovieClip Frame 14
stop();
Symbol 814 MovieClip Frame 15
stop();
Symbol 814 MovieClip Frame 16
stop();
Symbol 814 MovieClip Frame 17
stop();
Symbol 814 MovieClip Frame 18
stop();
Symbol 814 MovieClip Frame 19
stop();
Symbol 814 MovieClip Frame 20
stop();
Symbol 814 MovieClip Frame 21
stop();
Symbol 815 MovieClip Frame 1
stop();
Symbol 815 MovieClip Frame 2
stop();
Symbol 815 MovieClip Frame 3
stop();
Symbol 815 MovieClip Frame 4
stop();
Symbol 815 MovieClip Frame 5
stop();
Symbol 815 MovieClip Frame 6
stop();
Symbol 815 MovieClip Frame 7
stop();
Symbol 815 MovieClip Frame 8
stop();
Symbol 815 MovieClip Frame 9
stop();
Symbol 815 MovieClip Frame 10
stop();
Symbol 815 MovieClip Frame 11
stop();
Symbol 815 MovieClip Frame 12
stop();
Symbol 815 MovieClip Frame 13
stop();
Symbol 815 MovieClip Frame 14
stop();
Symbol 815 MovieClip Frame 15
stop();
Symbol 815 MovieClip Frame 16
stop();
Symbol 815 MovieClip Frame 17
stop();
Symbol 815 MovieClip Frame 18
stop();
Symbol 815 MovieClip Frame 19
stop();
Symbol 815 MovieClip Frame 20
stop();
Symbol 815 MovieClip Frame 21
stop();
Symbol 818 MovieClip Frame 21
stop();
Symbol 819 MovieClip Frame 31
_root.gotoAndStop("rockst2a");
_parent.removeMovieClip();
stop();
Symbol 820 MovieClip Frame 1
stop();
Symbol 820 MovieClip Frame 2
stop();
Symbol 831 MovieClip Frame 1
stop();
Symbol 831 MovieClip Frame 2
stop();
Symbol 833 MovieClip Frame 1
stop();
Symbol 833 MovieClip Frame 2
stop();
Symbol 835 MovieClip Frame 1
stop();
Symbol 835 MovieClip Frame 2
stop();
Symbol 837 MovieClip Frame 1
stop();
Symbol 837 MovieClip Frame 2
stop();
Symbol 843 MovieClip Frame 1
stop();
Symbol 843 MovieClip Frame 2
stop();
Symbol 843 MovieClip Frame 3
stop();
Symbol 843 MovieClip Frame 4
stop();
Symbol 843 MovieClip Frame 5
stop();
Symbol 844 MovieClip Frame 1
stop();
Instance of Symbol 822 MovieClip in Symbol 844 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.dead) {
_root.pbtimer++;
if (Key.isDown(32)) {
if (_root.pbtimer >= 25) {
_root.pbtimer = 0;
_root.pause = true;
_root.pb.gotoAndStop(2);
}
}
}
}
Symbol 844 MovieClip Frame 2
lives = _root.lives;
Instance of Symbol 706 MovieClip in Symbol 844 MovieClip Frame 2
onClipEvent (load) {
if (_root.striker) {
gotoAndStop ("striker");
}
if (_root.geno) {
gotoAndStop ("geno");
}
if (_root.nife) {
gotoAndStop ("nife");
}
if (_root.katrin) {
gotoAndStop ("katrin");
}
if (_root.phoenix) {
gotoAndStop ("nife");
}
if (_root.kazu) {
gotoAndStop ("kazu");
}
}
Instance of Symbol 829 MovieClip in Symbol 844 MovieClip Frame 2
on (release) {
_root.p1 = true;
_root.p2 = false;
_root.p3 = false;
_root.p4 = false;
_root.p5 = false;
}
Instance of Symbol 831 MovieClip in Symbol 844 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.p2f) {
gotoAndStop ("nf");
}
if (_root.p2f) {
gotoAndStop ("f");
}
}
onClipEvent (load) {
if (!_root.p2f) {
gotoAndStop ("nf");
}
if (_root.p2f) {
gotoAndStop ("f");
}
}
on (release) {
if (_root.p2f) {
_root.p1 = false;
_root.p2 = true;
_root.p3 = false;
_root.p4 = false;
_root.p5 = false;
}
}
Instance of Symbol 833 MovieClip in Symbol 844 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.p3f) {
gotoAndStop ("nf");
}
if (_root.p3f) {
gotoAndStop ("f");
}
}
onClipEvent (load) {
if (!_root.p3f) {
gotoAndStop ("nf");
}
if (_root.p3f) {
gotoAndStop ("f");
}
}
on (release) {
if (_root.p3f) {
_root.p1 = false;
_root.p2 = false;
_root.p3 = true;
_root.p4 = false;
_root.p5 = false;
}
}
Instance of Symbol 835 MovieClip in Symbol 844 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.p4f) {
gotoAndStop ("nf");
}
if (_root.p4f) {
gotoAndStop ("f");
}
}
onClipEvent (load) {
if (!_root.p4f) {
gotoAndStop ("nf");
}
if (_root.p4f) {
gotoAndStop ("f");
}
}
on (release) {
if (_root.p4f) {
_root.p1 = false;
_root.p2 = false;
_root.p3 = false;
_root.p4 = true;
_root.p5 = false;
}
}
Instance of Symbol 837 MovieClip in Symbol 844 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.p5f) {
gotoAndStop ("nf");
}
if (_root.p5f) {
gotoAndStop ("f");
}
}
onClipEvent (load) {
if (!_root.p5f) {
gotoAndStop ("nf");
}
if (_root.p5f) {
gotoAndStop ("f");
}
}
on (release) {
if (_root.p5f) {
_root.p1 = false;
_root.p2 = false;
_root.p3 = false;
_root.p4 = false;
_root.p5 = true;
}
}
Instance of Symbol 843 MovieClip in Symbol 844 MovieClip Frame 2
onClipEvent (load) {
if (_root.p1) {
gotoAndStop ("p1");
}
if (_root.p2) {
gotoAndStop ("p2");
}
if (_root.p3) {
gotoAndStop ("p3");
}
if (_root.p4) {
gotoAndStop ("p4");
}
if (_root.p5) {
gotoAndStop ("p5");
}
}
onClipEvent (enterFrame) {
if (_root.p1) {
gotoAndStop ("p1");
}
if (_root.p2) {
gotoAndStop ("p2");
}
if (_root.p3) {
gotoAndStop ("p3");
}
if (_root.p4) {
gotoAndStop ("p4");
}
if (_root.p5) {
gotoAndStop ("p5");
}
}
Instance of Symbol 822 MovieClip in Symbol 844 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.player1.animate.dead) {
_root.pbtimer++;
_root.pb.lives = _root.lives;
if (Key.isDown(32)) {
if (_root.pbtimer >= 25) {
_root.pbtimer = 0;
_root.pause = false;
_root.pb.gotoAndStop(1);
}
}
}
}
Instance of Symbol 815 MovieClip "wbar" in Symbol 844 MovieClip Frame 2
onClipEvent (load) {
if (_root.p2p > 100) {
gotoAndStop ("e1");
}
if ((_root.p2p < 100) and (_root.p2p >= 95)) {
gotoAndStop ("e2");
}
if ((_root.p2p < 95) and (_root.p2p >= 90)) {
gotoAndStop ("e3");
}
if ((_root.p2p < 90) and (_root.p2p >= 85)) {
gotoAndStop ("e4");
}
if ((_root.p2p < 85) and (_root.p2p >= 80)) {
gotoAndStop ("e5");
}
if ((_root.p2p < 80) and (_root.p2p >= 75)) {
gotoAndStop ("e6");
}
if ((_root.p2p < 75) and (_root.p2p >= 70)) {
gotoAndStop ("e7");
}
if ((_root.p2p < 70) and (_root.p2p >= 65)) {
gotoAndStop ("e8");
}
if ((_root.p2p < 65) and (_root.p2p >= 60)) {
gotoAndStop ("e9");
}
if ((_root.p2p < 60) and (_root.p2p >= 55)) {
gotoAndStop ("e10");
}
if ((_root.p2p < 55) and (_root.p2p >= 50)) {
gotoAndStop ("e11");
}
if ((_root.p2p < 50) and (_root.p2p >= 45)) {
gotoAndStop ("e12");
}
if ((_root.p2p < 45) and (_root.p2p >= 40)) {
gotoAndStop ("e13");
}
if ((_root.p2p < 40) and (_root.p2p >= 35)) {
gotoAndStop ("e14");
}
if ((_root.p2p < 35) and (_root.p2p >= 30)) {
gotoAndStop ("e15");
}
if ((_root.p2p < 30) and (_root.p2p >= 25)) {
gotoAndStop ("e16");
}
if ((_root.p2p < 25) and (_root.p2p >= 20)) {
gotoAndStop ("e17");
}
if ((_root.p2p < 20) and (_root.p2p >= 15)) {
gotoAndStop ("e18");
}
if ((_root.p2p < 15) and (_root.p2p >= 10)) {
gotoAndStop ("e19");
}
if ((_root.p2p < 10) and (_root.p2p >= 5)) {
gotoAndStop ("e20");
}
if ((_root.p2p < 5) and (_root.p2p >= 0)) {
gotoAndStop ("e21");
}
if (_root.p2p < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.p2p > 100) {
gotoAndStop ("e1");
}
if ((_root.p2p < 100) and (_root.p2p >= 95)) {
gotoAndStop ("e2");
}
if ((_root.p2p < 95) and (_root.p2p >= 90)) {
gotoAndStop ("e3");
}
if ((_root.p2p < 90) and (_root.p2p >= 85)) {
gotoAndStop ("e4");
}
if ((_root.p2p < 85) and (_root.p2p >= 80)) {
gotoAndStop ("e5");
}
if ((_root.p2p < 80) and (_root.p2p >= 75)) {
gotoAndStop ("e6");
}
if ((_root.p2p < 75) and (_root.p2p >= 70)) {
gotoAndStop ("e7");
}
if ((_root.p2p < 70) and (_root.p2p >= 65)) {
gotoAndStop ("e8");
}
if ((_root.p2p < 65) and (_root.p2p >= 60)) {
gotoAndStop ("e9");
}
if ((_root.p2p < 60) and (_root.p2p >= 55)) {
gotoAndStop ("e10");
}
if ((_root.p2p < 55) and (_root.p2p >= 50)) {
gotoAndStop ("e11");
}
if ((_root.p2p < 50) and (_root.p2p >= 45)) {
gotoAndStop ("e12");
}
if ((_root.p2p < 45) and (_root.p2p >= 40)) {
gotoAndStop ("e13");
}
if ((_root.p2p < 40) and (_root.p2p >= 35)) {
gotoAndStop ("e14");
}
if ((_root.p2p < 35) and (_root.p2p >= 30)) {
gotoAndStop ("e15");
}
if ((_root.p2p < 30) and (_root.p2p >= 25)) {
gotoAndStop ("e16");
}
if ((_root.p2p < 25) and (_root.p2p >= 20)) {
gotoAndStop ("e17");
}
if ((_root.p2p < 20) and (_root.p2p >= 15)) {
gotoAndStop ("e18");
}
if ((_root.p2p < 15) and (_root.p2p >= 10)) {
gotoAndStop ("e19");
}
if ((_root.p2p < 10) and (_root.p2p >= 5)) {
gotoAndStop ("e20");
}
if ((_root.p2p < 5) and (_root.p2p >= 0)) {
gotoAndStop ("e21");
}
if (_root.p2p < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 815 MovieClip "wbar" in Symbol 844 MovieClip Frame 2
onClipEvent (load) {
if (_root.p3p > 100) {
gotoAndStop ("e1");
}
if ((_root.p3p < 100) and (_root.p3p >= 95)) {
gotoAndStop ("e2");
}
if ((_root.p3p < 95) and (_root.p3p >= 90)) {
gotoAndStop ("e3");
}
if ((_root.p3p < 90) and (_root.p3p >= 85)) {
gotoAndStop ("e4");
}
if ((_root.p3p < 85) and (_root.p3p >= 80)) {
gotoAndStop ("e5");
}
if ((_root.p3p < 80) and (_root.p3p >= 75)) {
gotoAndStop ("e6");
}
if ((_root.p3p < 75) and (_root.p3p >= 70)) {
gotoAndStop ("e7");
}
if ((_root.p3p < 70) and (_root.p3p >= 65)) {
gotoAndStop ("e8");
}
if ((_root.p3p < 65) and (_root.p3p >= 60)) {
gotoAndStop ("e9");
}
if ((_root.p3p < 60) and (_root.p3p >= 55)) {
gotoAndStop ("e10");
}
if ((_root.p3p < 55) and (_root.p3p >= 50)) {
gotoAndStop ("e11");
}
if ((_root.p3p < 50) and (_root.p3p >= 45)) {
gotoAndStop ("e12");
}
if ((_root.p3p < 45) and (_root.p3p >= 40)) {
gotoAndStop ("e13");
}
if ((_root.p3p < 40) and (_root.p3p >= 35)) {
gotoAndStop ("e14");
}
if ((_root.p3p < 35) and (_root.p3p >= 30)) {
gotoAndStop ("e15");
}
if ((_root.p3p < 30) and (_root.p3p >= 25)) {
gotoAndStop ("e16");
}
if ((_root.p3p < 25) and (_root.p3p >= 20)) {
gotoAndStop ("e17");
}
if ((_root.p3p < 20) and (_root.p3p >= 15)) {
gotoAndStop ("e18");
}
if ((_root.p3p < 15) and (_root.p3p >= 10)) {
gotoAndStop ("e19");
}
if ((_root.p3p < 10) and (_root.p3p >= 5)) {
gotoAndStop ("e20");
}
if ((_root.p3p < 5) and (_root.p3p >= 0)) {
gotoAndStop ("e21");
}
if (_root.p3p < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.p3p > 100) {
gotoAndStop ("e1");
}
if ((_root.p3p < 100) and (_root.p3p >= 95)) {
gotoAndStop ("e2");
}
if ((_root.p3p < 95) and (_root.p3p >= 90)) {
gotoAndStop ("e3");
}
if ((_root.p3p < 90) and (_root.p3p >= 85)) {
gotoAndStop ("e4");
}
if ((_root.p3p < 85) and (_root.p3p >= 80)) {
gotoAndStop ("e5");
}
if ((_root.p3p < 80) and (_root.p3p >= 75)) {
gotoAndStop ("e6");
}
if ((_root.p3p < 75) and (_root.p3p >= 70)) {
gotoAndStop ("e7");
}
if ((_root.p3p < 70) and (_root.p3p >= 65)) {
gotoAndStop ("e8");
}
if ((_root.p3p < 65) and (_root.p3p >= 60)) {
gotoAndStop ("e9");
}
if ((_root.p3p < 60) and (_root.p3p >= 55)) {
gotoAndStop ("e10");
}
if ((_root.p3p < 55) and (_root.p3p >= 50)) {
gotoAndStop ("e11");
}
if ((_root.p3p < 50) and (_root.p3p >= 45)) {
gotoAndStop ("e12");
}
if ((_root.p3p < 45) and (_root.p3p >= 40)) {
gotoAndStop ("e13");
}
if ((_root.p3p < 40) and (_root.p3p >= 35)) {
gotoAndStop ("e14");
}
if ((_root.p3p < 35) and (_root.p3p >= 30)) {
gotoAndStop ("e15");
}
if ((_root.p3p < 30) and (_root.p3p >= 25)) {
gotoAndStop ("e16");
}
if ((_root.p3p < 25) and (_root.p3p >= 20)) {
gotoAndStop ("e17");
}
if ((_root.p3p < 20) and (_root.p3p >= 15)) {
gotoAndStop ("e18");
}
if ((_root.p3p < 15) and (_root.p3p >= 10)) {
gotoAndStop ("e19");
}
if ((_root.p3p < 10) and (_root.p3p >= 5)) {
gotoAndStop ("e20");
}
if ((_root.p3p < 5) and (_root.p3p >= 0)) {
gotoAndStop ("e21");
}
if (_root.p3p < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 815 MovieClip "wbar" in Symbol 844 MovieClip Frame 2
onClipEvent (load) {
if (_root.p4p > 100) {
gotoAndStop ("e1");
}
if ((_root.p4p < 100) and (_root.p4p >= 95)) {
gotoAndStop ("e2");
}
if ((_root.p4p < 95) and (_root.p4p >= 90)) {
gotoAndStop ("e3");
}
if ((_root.p4p < 90) and (_root.p4p >= 85)) {
gotoAndStop ("e4");
}
if ((_root.p4p < 85) and (_root.p4p >= 80)) {
gotoAndStop ("e5");
}
if ((_root.p4p < 80) and (_root.p4p >= 75)) {
gotoAndStop ("e6");
}
if ((_root.p4p < 75) and (_root.p4p >= 70)) {
gotoAndStop ("e7");
}
if ((_root.p4p < 70) and (_root.p4p >= 65)) {
gotoAndStop ("e8");
}
if ((_root.p4p < 65) and (_root.p4p >= 60)) {
gotoAndStop ("e9");
}
if ((_root.p4p < 60) and (_root.p4p >= 55)) {
gotoAndStop ("e10");
}
if ((_root.p4p < 55) and (_root.p4p >= 50)) {
gotoAndStop ("e11");
}
if ((_root.p4p < 50) and (_root.p4p >= 45)) {
gotoAndStop ("e12");
}
if ((_root.p4p < 45) and (_root.p4p >= 40)) {
gotoAndStop ("e13");
}
if ((_root.p4p < 40) and (_root.p4p >= 35)) {
gotoAndStop ("e14");
}
if ((_root.p4p < 35) and (_root.p4p >= 30)) {
gotoAndStop ("e15");
}
if ((_root.p4p < 30) and (_root.p4p >= 25)) {
gotoAndStop ("e16");
}
if ((_root.p4p < 25) and (_root.p4p >= 20)) {
gotoAndStop ("e17");
}
if ((_root.p4p < 20) and (_root.p4p >= 15)) {
gotoAndStop ("e18");
}
if ((_root.p4p < 15) and (_root.p4p >= 10)) {
gotoAndStop ("e19");
}
if ((_root.p4p < 10) and (_root.p4p >= 5)) {
gotoAndStop ("e20");
}
if ((_root.p4p < 5) and (_root.p4p >= 0)) {
gotoAndStop ("e21");
}
if (_root.p4p < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.p4p > 100) {
gotoAndStop ("e1");
}
if ((_root.p4p < 100) and (_root.p4p >= 95)) {
gotoAndStop ("e2");
}
if ((_root.p4p < 95) and (_root.p4p >= 90)) {
gotoAndStop ("e3");
}
if ((_root.p4p < 90) and (_root.p4p >= 85)) {
gotoAndStop ("e4");
}
if ((_root.p4p < 85) and (_root.p4p >= 80)) {
gotoAndStop ("e5");
}
if ((_root.p4p < 80) and (_root.p4p >= 75)) {
gotoAndStop ("e6");
}
if ((_root.p4p < 75) and (_root.p4p >= 70)) {
gotoAndStop ("e7");
}
if ((_root.p4p < 70) and (_root.p4p >= 65)) {
gotoAndStop ("e8");
}
if ((_root.p4p < 65) and (_root.p4p >= 60)) {
gotoAndStop ("e9");
}
if ((_root.p4p < 60) and (_root.p4p >= 55)) {
gotoAndStop ("e10");
}
if ((_root.p4p < 55) and (_root.p4p >= 50)) {
gotoAndStop ("e11");
}
if ((_root.p4p < 50) and (_root.p4p >= 45)) {
gotoAndStop ("e12");
}
if ((_root.p4p < 45) and (_root.p4p >= 40)) {
gotoAndStop ("e13");
}
if ((_root.p4p < 40) and (_root.p4p >= 35)) {
gotoAndStop ("e14");
}
if ((_root.p4p < 35) and (_root.p4p >= 30)) {
gotoAndStop ("e15");
}
if ((_root.p4p < 30) and (_root.p4p >= 25)) {
gotoAndStop ("e16");
}
if ((_root.p4p < 25) and (_root.p4p >= 20)) {
gotoAndStop ("e17");
}
if ((_root.p4p < 20) and (_root.p4p >= 15)) {
gotoAndStop ("e18");
}
if ((_root.p4p < 15) and (_root.p4p >= 10)) {
gotoAndStop ("e19");
}
if ((_root.p4p < 10) and (_root.p4p >= 5)) {
gotoAndStop ("e20");
}
if ((_root.p4p < 5) and (_root.p4p >= 0)) {
gotoAndStop ("e21");
}
if (_root.p4p < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 815 MovieClip "wbar" in Symbol 844 MovieClip Frame 2
onClipEvent (load) {
if (_root.p5p > 100) {
gotoAndStop ("e1");
}
if ((_root.p5p < 100) and (_root.p5p >= 95)) {
gotoAndStop ("e2");
}
if ((_root.p5p < 95) and (_root.p5p >= 90)) {
gotoAndStop ("e3");
}
if ((_root.p5p < 90) and (_root.p5p >= 85)) {
gotoAndStop ("e4");
}
if ((_root.p5p < 85) and (_root.p5p >= 80)) {
gotoAndStop ("e5");
}
if ((_root.p5p < 80) and (_root.p5p >= 75)) {
gotoAndStop ("e6");
}
if ((_root.p5p < 75) and (_root.p5p >= 70)) {
gotoAndStop ("e7");
}
if ((_root.p5p < 70) and (_root.p5p >= 65)) {
gotoAndStop ("e8");
}
if ((_root.p5p < 65) and (_root.p5p >= 60)) {
gotoAndStop ("e9");
}
if ((_root.p5p < 60) and (_root.p5p >= 55)) {
gotoAndStop ("e10");
}
if ((_root.p5p < 55) and (_root.p5p >= 50)) {
gotoAndStop ("e11");
}
if ((_root.p5p < 50) and (_root.p5p >= 45)) {
gotoAndStop ("e12");
}
if ((_root.p5p < 45) and (_root.p5p >= 40)) {
gotoAndStop ("e13");
}
if ((_root.p5p < 40) and (_root.p5p >= 35)) {
gotoAndStop ("e14");
}
if ((_root.p5p < 35) and (_root.p5p >= 30)) {
gotoAndStop ("e15");
}
if ((_root.p5p < 30) and (_root.p5p >= 25)) {
gotoAndStop ("e16");
}
if ((_root.p5p < 25) and (_root.p5p >= 20)) {
gotoAndStop ("e17");
}
if ((_root.p5p < 20) and (_root.p5p >= 15)) {
gotoAndStop ("e18");
}
if ((_root.p5p < 15) and (_root.p5p >= 10)) {
gotoAndStop ("e19");
}
if ((_root.p5p < 10) and (_root.p5p >= 5)) {
gotoAndStop ("e20");
}
if ((_root.p5p < 5) and (_root.p5p >= 0)) {
gotoAndStop ("e21");
}
if (_root.p5p < 0) {
gotoAndStop ("e21");
}
}
Instance of Symbol 814 MovieClip "ebar" in Symbol 844 MovieClip Frame 2
onClipEvent (load) {
if (_root.life > 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
onClipEvent (enterFrame) {
if (_root.life >= 100) {
gotoAndStop ("e1");
}
if ((_root.life < 100) and (_root.life >= 95)) {
gotoAndStop ("e2");
}
if ((_root.life < 95) and (_root.life >= 90)) {
gotoAndStop ("e3");
}
if ((_root.life < 90) and (_root.life >= 85)) {
gotoAndStop ("e4");
}
if ((_root.life < 85) and (_root.life >= 80)) {
gotoAndStop ("e5");
}
if ((_root.life < 80) and (_root.life >= 75)) {
gotoAndStop ("e6");
}
if ((_root.life < 75) and (_root.life >= 70)) {
gotoAndStop ("e7");
}
if ((_root.life < 70) and (_root.life >= 65)) {
gotoAndStop ("e8");
}
if ((_root.life < 65) and (_root.life >= 60)) {
gotoAndStop ("e9");
}
if ((_root.life < 60) and (_root.life >= 55)) {
gotoAndStop ("e10");
}
if ((_root.life < 55) and (_root.life >= 50)) {
gotoAndStop ("e11");
}
if ((_root.life < 50) and (_root.life >= 45)) {
gotoAndStop ("e12");
}
if ((_root.life < 45) and (_root.life >= 40)) {
gotoAndStop ("e13");
}
if ((_root.life < 40) and (_root.life >= 35)) {
gotoAndStop ("e14");
}
if ((_root.life < 35) and (_root.life >= 30)) {
gotoAndStop ("e15");
}
if ((_root.life < 30) and (_root.life >= 25)) {
gotoAndStop ("e16");
}
if ((_root.life < 25) and (_root.life >= 20)) {
gotoAndStop ("e17");
}
if ((_root.life < 20) and (_root.life >= 15)) {
gotoAndStop ("e18");
}
if ((_root.life < 15) and (_root.life >= 10)) {
gotoAndStop ("e19");
}
if ((_root.life < 10) and (_root.life >= 5)) {
gotoAndStop ("e20");
}
if ((_root.life < 5) and (_root.life >= 0)) {
gotoAndStop ("e21");
}
if (_root.life < 0) {
gotoAndStop ("e21");
}
}
Symbol 855 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 855 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
}
}
}
}
Symbol 855 MovieClip Frame 2
_root.score = _root.score + 200;
stop();
Symbol 856 MovieClip Frame 1
stop();
Symbol 856 MovieClip Frame 2
stop();
Instance of Symbol 855 MovieClip "e1" in Symbol 856 MovieClip Frame 2
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 50) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 50) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 855 MovieClip "e2" in Symbol 856 MovieClip Frame 2
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 40) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 40) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Symbol 856 MovieClip Frame 3
stop();
Instance of Symbol 855 MovieClip "e1" in Symbol 856 MovieClip Frame 3
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 30) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 30) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 855 MovieClip "e2" in Symbol 856 MovieClip Frame 3
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 40) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 40) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Symbol 856 MovieClip Frame 4
stop();
Instance of Symbol 855 MovieClip "e1" in Symbol 856 MovieClip Frame 4
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 60) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 60) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 855 MovieClip "e2" in Symbol 856 MovieClip Frame 4
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 50) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 50) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 855 MovieClip "e3" in Symbol 856 MovieClip Frame 4
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 40) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 40) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Symbol 856 MovieClip Frame 5
stop();
Instance of Symbol 855 MovieClip "e1" in Symbol 856 MovieClip Frame 5
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 60) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 60) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 855 MovieClip "e3" in Symbol 856 MovieClip Frame 5
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 50) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 50) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 855 MovieClip "e2" in Symbol 856 MovieClip Frame 5
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 30) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 30) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Symbol 859 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 859 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
}
}
}
}
Symbol 859 MovieClip Frame 2
_root.score = _root.score + 300;
stop();
Symbol 862 MovieClip Frame 31
_root.gotoAndStop("rockst3a");
_parent.removeMovieClip();
stop();
Symbol 863 MovieClip Frame 1
stop();
Symbol 863 MovieClip Frame 2
stop();
Symbol 875 MovieClip Frame 21
stop();
Symbol 876 MovieClip Frame 1
stop();
Symbol 876 MovieClip Frame 2
stop();
Symbol 886 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 886 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
}
}
}
}
Symbol 886 MovieClip Frame 2
_root.score = _root.score + 200;
stop();
Symbol 892 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 892 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
}
}
}
}
Symbol 892 MovieClip Frame 2
_root.score = _root.score + 200;
stop();
Symbol 893 MovieClip Frame 1
stop();
Instance of Symbol 869 MovieClip "gflag" in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
speed = 2;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_parent.charani) {
if (_y < 58) {
_y = (_y + speed);
}
}
}
}
Instance of Symbol 886 MovieClip "e1" in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
dead = false;
deadt = 0;
life = 3;
speed = 1;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 100) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 100) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 886 MovieClip "e2" in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
dead = false;
deadt = 0;
life = 3;
speed = 1;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 100) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 100) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 886 MovieClip "e3" in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
dead = false;
deadt = 0;
life = 3;
speed = 1;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 100) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 100) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 886 MovieClip "e4" in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
dead = false;
deadt = 0;
life = 3;
speed = 1;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 50) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 50) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 886 MovieClip "e5" in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
dead = false;
deadt = 0;
life = 3;
speed = 1;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 200) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 200) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 886 MovieClip "e6" in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
dead = false;
deadt = 0;
life = 3;
speed = 1;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 50) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 50) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 886 MovieClip "e7" in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
dead = false;
deadt = 0;
life = 3;
speed = 1;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 100) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 100) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 886 MovieClip "e8" in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
dead = false;
deadt = 0;
life = 3;
speed = 1;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 50) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 50) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 892 MovieClip "e19" in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
dead = false;
deadt = 0;
life = 3;
speed = 1;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 150) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 150) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 892 MovieClip "e9" in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
dead = false;
deadt = 0;
life = 3;
speed = 1;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 150) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 150) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 892 MovieClip "e10" in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
dead = false;
deadt = 0;
life = 3;
speed = 1;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 100) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 100) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 892 MovieClip "e11" in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
dead = false;
deadt = 0;
life = 3;
speed = 1;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 50) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 50) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - speed);
}
if (deadt > 10) {
_y = (_y + speed);
}
}
}
}
Instance of Symbol 892 MovieClip "e12" in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
dead = false;
deadt = 0;
life = 3;
speed = 1;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 100) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 100) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 892 MovieClip "e13" in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
dead = false;
deadt = 0;
life = 3;
speed = 1;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 50) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 50) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 892 MovieClip "e14" in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
dead = false;
deadt = 0;
life = 3;
speed = 1;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 100) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 100) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 892 MovieClip "e15" in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
dead = false;
deadt = 0;
life = 3;
speed = 1;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 50) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 50) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 892 MovieClip "e16" in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
dead = false;
deadt = 0;
life = 3;
speed = 1;
gor = true;
gort = 0;
gol = false;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 100) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 100) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Instance of Symbol 892 MovieClip "e17" in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
dead = false;
deadt = 0;
life = 3;
speed = 1;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 100) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 100) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
deadt++;
gotoAndStop ("dead");
if ((deadt > 0) and (deadt < 10)) {
_y = (_y - 4);
}
if (deadt > 10) {
_y = (_y + 4);
}
}
}
}
Symbol 893 MovieClip Frame 2
stop();
Symbol 893 MovieClip Frame 3
stop();
Symbol 901 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 901 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
}
}
}
}
Symbol 901 MovieClip Frame 2
stop();
Symbol 901 MovieClip Frame 3
stop();
Symbol 909 MovieClip Frame 6
stop();
Symbol 911 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 911 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
}
}
}
}
Symbol 911 MovieClip Frame 2
stop();
Symbol 911 MovieClip Frame 3
_root.score = _root.score + 1000;
stop();
Symbol 915 MovieClip Frame 50
_root.gotoAndStop("rockst4a");
_parent.removeMovieClip();
stop();
Symbol 916 MovieClip Frame 1
stop();
Symbol 916 MovieClip Frame 2
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 930 MovieClip Frame 4
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (15 - _root.player1.animate.def);
_root.player1.animate.hit = true;
}
}
}
}
Symbol 930 MovieClip Frame 40
stop();
Symbol 931 MovieClip Frame 1
stop();
Symbol 931 MovieClip Frame 2
stop();
Symbol 933 MovieClip Frame 1
stop();
Symbol 933 MovieClip Frame 2
stop();
Symbol 939 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 939 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (10 - _root.player1.animate.def);
_root.player1.animate.hit = true;
}
}
}
}
Symbol 939 MovieClip Frame 2
_root.score = _root.score + 200;
stop();
Symbol 940 MovieClip Frame 1
stop();
Instance of Symbol 931 MovieClip in Symbol 940 MovieClip Frame 1
onClipEvent (load) {
upt = 0;
dnt = 0;
up = false;
dn = true;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (up) {
gotoAndStop ("up");
upt++;
if (upt >= 40) {
upt = 0;
dn = true;
up = false;
}
}
if (dn) {
gotoAndStop ("dn");
dnt++;
if (dnt >= 150) {
dnt = 0;
up = true;
dn = false;
}
}
}
}
Instance of Symbol 931 MovieClip in Symbol 940 MovieClip Frame 1
onClipEvent (load) {
upt = 0;
dnt = 0;
up = true;
dn = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (up) {
gotoAndStop ("up");
upt++;
if (upt >= 40) {
upt = 0;
dn = true;
up = false;
}
}
if (dn) {
gotoAndStop ("dn");
dnt++;
if (dnt >= 150) {
dnt = 0;
up = true;
dn = false;
}
}
}
}
Instance of Symbol 931 MovieClip in Symbol 940 MovieClip Frame 1
onClipEvent (load) {
upt = 0;
dnt = 0;
up = false;
dn = true;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (up) {
gotoAndStop ("up");
upt++;
if (upt >= 40) {
upt = 0;
dn = true;
up = false;
}
}
if (dn) {
gotoAndStop ("dn");
dnt++;
if (dnt >= 150) {
dnt = 0;
up = true;
dn = false;
}
}
}
}
Instance of Symbol 931 MovieClip in Symbol 940 MovieClip Frame 1
onClipEvent (load) {
upt = 0;
dnt = 0;
up = false;
dn = true;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (up) {
gotoAndStop ("up");
upt++;
if (upt >= 40) {
upt = 0;
dn = true;
up = false;
}
}
if (dn) {
gotoAndStop ("dn");
dnt++;
if (dnt >= 150) {
dnt = 0;
up = true;
dn = false;
}
}
}
}
Instance of Symbol 931 MovieClip in Symbol 940 MovieClip Frame 1
onClipEvent (load) {
upt = 0;
dnt = 0;
up = false;
dn = true;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (up) {
gotoAndStop ("up");
upt++;
if (upt >= 40) {
upt = 0;
dn = true;
up = false;
}
}
if (dn) {
gotoAndStop ("dn");
dnt++;
if (dnt >= 150) {
dnt = 0;
up = true;
dn = false;
}
}
}
}
Instance of Symbol 933 MovieClip in Symbol 940 MovieClip Frame 1
onClipEvent (load) {
if (!_root.p2f) {
gotoAndStop ("a");
}
if (_root.p2f) {
gotoAndStop ("b");
}
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.p2f) {
gotoAndStop ("a");
}
if (_root.p2f) {
gotoAndStop ("b");
}
if (this.hitTest(_root.player1.animate.limit)) {
mySharedObject = SharedObject.getLocal("6bit");
mySharedObject.data.p2f = true;
_root.p2f = true;
_visible = false;
}
}
}
Instance of Symbol 939 MovieClip "e1" in Symbol 940 MovieClip Frame 1
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 50) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 50) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 939 MovieClip "e2" in Symbol 940 MovieClip Frame 1
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 100) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 100) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 939 MovieClip "e3" in Symbol 940 MovieClip Frame 1
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 20) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 20) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Instance of Symbol 939 MovieClip "e4" in Symbol 940 MovieClip Frame 1
onClipEvent (load) {
life = 3;
speed = 2;
gor = false;
gort = 0;
gol = true;
golt = 0;
dead = false;
hitcolor = new Color(this);
oldColor = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
newColor = {ra:"50", rb:"250", ga:"50", gb:"50", ba:"50", bb:"50", aa:"255", ab:"0"};
hit = false;
hitt = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!dead) {
gotoAndStop ("go");
if (gor) {
_x = (_x + speed);
_xscale = 100;
gort++;
if (gort >= 25) {
gort = 0;
gol = true;
gor = false;
}
}
if (gol) {
_x = (_x - speed);
_xscale = -100;
golt++;
if (golt >= 25) {
golt = 0;
gor = true;
gol = false;
}
}
if (life <= 0) {
dead = true;
}
if (hit) {
if (hit) {
hitt++;
hitcolor.setTransform(newColor);
if (hitt >= 3) {
hitcolor.setTransform(oldColor);
hitt = 0;
hit = false;
}
}
}
}
if (dead) {
gotoAndStop ("dead");
}
}
}
Symbol 940 MovieClip Frame 2
stop();
Symbol 943 MovieClip Frame 31
_root.mapremove = true;
_root.gotoAndStop("boss2a");
_parent.removeMovieClip();
stop();
Symbol 944 MovieClip Frame 1
stop();
Symbol 944 MovieClip Frame 2
stop();
Symbol 969 MovieClip Frame 203
stop();
Symbol 970 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 970 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (20 - _root.player1.animate.def);
_root.player1.animate.hit = true;
}
}
}
}
Symbol 970 MovieClip Frame 2
stop();
Symbol 970 MovieClip Frame 3
stop();
Symbol 970 MovieClip Frame 4
stop();
Symbol 970 MovieClip Frame 5
_root.score = _root.score + 5000;
stop();
Symbol 974 MovieClip Frame 9
gotoAndPlay (3);
Symbol 978 MovieClip Frame 27
_root.gotoAndStop("mcomplete");
_parent.removeMovieClip();
Symbol 979 MovieClip Frame 1
stop();
Symbol 979 MovieClip Frame 2
stop();
Symbol 984 MovieClip Frame 1
stop();
Symbol 984 MovieClip Frame 2
stop();
Symbol 984 MovieClip Frame 3
stop();
Symbol 992 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 992 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (20 - _root.player1.animate.def);
_root.player1.animate.hit = true;
}
}
}
}
Symbol 992 MovieClip Frame 2
stop();
Symbol 992 MovieClip Frame 3
_root.score = _root.score + 400;
stop();
Symbol 1000 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 1000 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (30 - _root.player1.animate.def);
_root.player1.animate.hit = true;
}
}
}
}
Symbol 1000 MovieClip Frame 2
stop();
Symbol 1000 MovieClip Frame 3
_root.score = _root.score + 400;
stop();
Symbol 1006 MovieClip Frame 1
stop();
Symbol 1006 MovieClip Frame 2
stop();
Symbol 1009 MovieClip Frame 31
_root.gotoAndStop("ft2a");
_parent.removeMovieClip();
stop();
Symbol 1010 MovieClip Frame 1
stop();
Symbol 1010 MovieClip Frame 2
stop();
Symbol 1016 MovieClip Frame 1
stop();
Symbol 1016 MovieClip Frame 2
stop();
Symbol 1016 MovieClip Frame 3
stop();
Symbol 1024 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 1024 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (25 - _root.player1.animate.def);
_root.player1.animate.hit = true;
}
}
}
}
Symbol 1024 MovieClip Frame 2
stop();
Symbol 1024 MovieClip Frame 3
_root.score = _root.score + 350;
stop();
Symbol 1027 MovieClip Frame 31
_root.gotoAndPlay("ft3a");
_parent.removeMovieClip();
stop();
Symbol 1028 MovieClip Frame 1
stop();
Symbol 1028 MovieClip Frame 2
stop();
Symbol 1035 MovieClip Frame 1
stop();
Symbol 1035 MovieClip Frame 2
stop();
Symbol 1036 MovieClip Frame 1
stop();
Instance of Symbol 1035 MovieClip in Symbol 1036 MovieClip Frame 1
onClipEvent (load) {
if (!_root.p4f) {
gotoAndStop ("a");
}
if (_root.p4f) {
gotoAndStop ("b");
}
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.p4f) {
gotoAndStop ("a");
}
if (_root.p4f) {
gotoAndStop ("b");
}
if (this.hitTest(_root.player1.animate.limit)) {
mySharedObject = SharedObject.getLocal("6bit");
mySharedObject.data.p4f = true;
_root.p4f = true;
_visible = false;
}
}
}
Symbol 1036 MovieClip Frame 2
stop();
Symbol 1036 MovieClip Frame 3
stop();
Symbol 1039 MovieClip Frame 31
_root.gotoAndPlay("ft4a");
_parent.removeMovieClip();
stop();
Symbol 1040 MovieClip Frame 1
stop();
Symbol 1040 MovieClip Frame 2
stop();
Symbol 1048 MovieClip Frame 1
stop();
Instance of Symbol 1045 MovieClip in Symbol 1048 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 100;
}
}
Symbol 1051 MovieClip Frame 31
_root.gotoAndStop("boss1a");
_parent.removeMovieClip();
stop();
Symbol 1052 MovieClip Frame 1
stop();
Symbol 1052 MovieClip Frame 2
stop();
Symbol 1059 MovieClip Frame 203
stop();
Symbol 1060 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 1060 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (20 - _root.player1.animate.def);
_root.player1.animate.hit = true;
}
}
}
}
Symbol 1060 MovieClip Frame 2
_root.score = _root.score + 3000;
stop();
Symbol 1063 MovieClip Frame 21
_root.gotoAndStop("mcomplete");
_parent.removeMovieClip();
stop();
Symbol 1064 MovieClip Frame 1
stop();
Symbol 1064 MovieClip Frame 2
stop();
Symbol 1074 MovieClip Frame 1
stop();
Instance of Symbol 1073 MovieClip in Symbol 1074 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
if (_root.player1.animate.up) {
if (!a) {
_root.fade1.gotoAndStop("fo");
_root.player1.animate.anistop = true;
a = true;
}
}
}
}
Symbol 1074 MovieClip Frame 2
stop();
Symbol 1074 MovieClip Frame 3
stop();
Symbol 1079 MovieClip Frame 31
_root.gotoAndStop("bc2a");
_parent.removeMovieClip();
stop();
Symbol 1080 MovieClip Frame 1
stop();
Symbol 1080 MovieClip Frame 2
stop();
Symbol 1086 MovieClip Frame 1
stop();
Symbol 1086 MovieClip Frame 2
stop();
Symbol 1091 MovieClip Frame 1
stop();
Instance of Symbol 1086 MovieClip in Symbol 1091 MovieClip Frame 1
onClipEvent (load) {
if (!_root.p3f) {
gotoAndStop ("a");
}
if (_root.p3f) {
gotoAndStop ("b");
}
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.p3f) {
gotoAndStop ("a");
}
if (_root.p3f) {
gotoAndStop ("b");
}
if (this.hitTest(_root.player1.animate.limit)) {
mySharedObject = SharedObject.getLocal("6bit");
mySharedObject.data.p3f = true;
_root.p3f = true;
_visible = false;
}
}
}
Instance of Symbol 1073 MovieClip in Symbol 1091 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
if (_root.player1.animate.up) {
if (!a) {
_root.fade1.gotoAndStop("fo");
_root.player1.animate.anistop = true;
a = true;
}
}
}
}
Instance of Symbol 1045 MovieClip in Symbol 1091 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 100;
}
}
Instance of Symbol 1045 MovieClip in Symbol 1091 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 100;
}
}
Instance of Symbol 1045 MovieClip in Symbol 1091 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 100;
}
}
Instance of Symbol 1045 MovieClip in Symbol 1091 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 100;
}
}
Symbol 1091 MovieClip Frame 2
stop();
Symbol 1091 MovieClip Frame 3
stop();
Symbol 1096 MovieClip Frame 1
stop();
Instance of Symbol 525 MovieClip "limit" in Symbol 1096 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (15 - _root.player1.animate.def);
_root.player1.animate.hit = true;
}
}
}
}
Symbol 1096 MovieClip Frame 2
stop();
Symbol 1096 MovieClip Frame 3
_root.score = _root.score + 400;
stop();
Symbol 1099 MovieClip Frame 31
_root.gotoAndStop("bc3a");
_parent.removeMovieClip();
stop();
Symbol 1100 MovieClip Frame 1
stop();
Symbol 1100 MovieClip Frame 2
stop();
Symbol 1110 MovieClip Frame 1
stop();
Instance of Symbol 1108 MovieClip in Symbol 1110 MovieClip Frame 1
onClipEvent (load) {
if (!_root.p5f) {
gotoAndStop ("a");
}
if (_root.p5f) {
gotoAndStop ("b");
}
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!_root.p5f) {
gotoAndStop ("a");
}
if (_root.p5f) {
gotoAndStop ("b");
}
if (this.hitTest(_root.player1.animate.limit)) {
mySharedObject = SharedObject.getLocal("6bit");
mySharedObject.data.p5f = true;
_root.p5f = true;
_visible = false;
}
}
}
Instance of Symbol 1045 MovieClip in Symbol 1110 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 100;
}
}
Instance of Symbol 1045 MovieClip in Symbol 1110 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 100;
}
}
Instance of Symbol 1045 MovieClip in Symbol 1110 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 100;
}
}
Instance of Symbol 1045 MovieClip in Symbol 1110 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 100;
}
}
Instance of Symbol 1045 MovieClip in Symbol 1110 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 100;
}
}
Instance of Symbol 1045 MovieClip in Symbol 1110 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 100;
}
}
Instance of Symbol 1045 MovieClip in Symbol 1110 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 100;
}
}
Instance of Symbol 1045 MovieClip in Symbol 1110 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 100;
}
}
Instance of Symbol 1045 MovieClip in Symbol 1110 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 100;
}
}
Instance of Symbol 1073 MovieClip in Symbol 1110 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
if (_root.player1.animate.up) {
if (!a) {
_root.fade1.gotoAndStop("fo");
_root.player1.animate.anistop = true;
a = true;
}
}
}
}
Symbol 1110 MovieClip Frame 2
stop();
Symbol 1110 MovieClip Frame 3
stop();
Symbol 1116 MovieClip Frame 1
stop();
Instance of Symbol 525 MovieClip "limit" in Symbol 1116 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - (15 - _root.player1.animate.def);
_root.player1.animate.hit = true;
}
}
}
}
Symbol 1116 MovieClip Frame 2
_root.score = _root.score + 500;
stop();
Symbol 1119 MovieClip Frame 31
_root.gotoAndStop("bc4a");
_parent.removeMovieClip();
stop();
Symbol 1120 MovieClip Frame 1
stop();
Symbol 1120 MovieClip Frame 2
stop();
Symbol 1125 MovieClip Frame 162
_root.hitler.gotoAndStop(2);
_root.player1.animate.anistop = true;
_root.player1.animate._visible = false;
Symbol 1125 MovieClip Frame 695
stop();
Symbol 1126 MovieClip Frame 1
stop();
Instance of Symbol 1045 MovieClip "limit" in Symbol 1126 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 100;
}
}
Symbol 1126 MovieClip Frame 2
_root.score = _root.score + 1500;
stop();
Instance of Symbol 1045 MovieClip in Symbol 1127 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 100;
}
}
Instance of Symbol 1045 MovieClip in Symbol 1127 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 100;
}
}
Instance of Symbol 1045 MovieClip in Symbol 1127 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 100;
}
}
Instance of Symbol 1045 MovieClip in Symbol 1127 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 100;
}
}
Instance of Symbol 1126 MovieClip "window1" in Symbol 1127 MovieClip Frame 1
onClipEvent (load) {
dead = false;
deadt = 0;
life = 1;
}
onClipEvent (enterFrame) {
if (!dead) {
gotoAndStop ("nd");
if (life <= 0) {
dead = true;
}
}
if (dead) {
gotoAndStop ("dead");
}
}
Symbol 1140 MovieClip Frame 277
_root.fade1.gotoAndStop(2);
stop();
Symbol 1141 MovieClip Frame 1
stop();
Symbol 1141 MovieClip Frame 2
mySharedObject = SharedObject.getLocal("6bit");
mySharedObject.data.st3pass = true;
_root.st3pass = true;
stop();
Symbol 1144 MovieClip Frame 31
_root.gotoAndStop("mcomplete");
_parent.removeMovieClip();
stop();
Symbol 1145 MovieClip Frame 1
stop();
Symbol 1145 MovieClip Frame 2
stop();
Symbol 1174 MovieClip Frame 13
stop();
Symbol 1175 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 1175 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 10;
_root.player1.animate.hit = true;
}
}
}
}
Symbol 1175 MovieClip Frame 2
stop();
Symbol 1182 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 1182 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 10;
_root.player1.animate.hit = true;
}
}
}
}
Symbol 1182 MovieClip Frame 2
stop();
Symbol 1182 MovieClip Frame 3
stop();
Symbol 1182 MovieClip Frame 4
_root.score = _root.score + 500;
stop();
Symbol 1190 MovieClip Frame 114
stop();
Symbol 1191 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip "limit" in Symbol 1191 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 10;
_root.player1.animate.hit = true;
}
}
}
}
Instance of Symbol 441 MovieClip "limita" in Symbol 1191 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 10;
_root.player1.animate.hit = true;
}
}
}
}
Instance of Symbol 441 MovieClip "limitb" in Symbol 1191 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 10;
_root.player1.animate.hit = true;
}
}
}
}
Symbol 1191 MovieClip Frame 2
stop();
Symbol 1191 MovieClip Frame 3
stop();
Symbol 1191 MovieClip Frame 4
stop();
Symbol 1191 MovieClip Frame 5
_root.score = _root.score + 2000;
stop();
Symbol 1195 MovieClip Frame 21
stop();
Symbol 1211 MovieClip Frame 1
stop();
Symbol 1211 MovieClip Frame 2
stop();
Symbol 1211 MovieClip Frame 3
stop();
Symbol 1211 MovieClip Frame 4
stop();
Symbol 1211 MovieClip Frame 5
stop();
Symbol 1211 MovieClip Frame 6
stop();
Symbol 1217 MovieClip Frame 1
stop();
Symbol 1217 MovieClip Frame 2
stop();
Symbol 1221 MovieClip Frame 30
wiley.gotoAndStop("wink");
Symbol 1221 MovieClip Frame 85
wiley.gotoAndStop("nw");
Symbol 1221 MovieClip Frame 106
stop();
Symbol 1230 MovieClip Frame 20
stop();
Symbol 1239 MovieClip Frame 50
stop();
Symbol 1260 MovieClip Frame 19
stop();
Symbol 1261 MovieClip Frame 1
stop();
Symbol 1261 MovieClip Frame 2
stop();
Symbol 1261 MovieClip Frame 3
stop();
Symbol 1261 MovieClip Frame 4
stop();
Symbol 1261 MovieClip Frame 5
stop();
Symbol 1268 MovieClip Frame 125
wiley.gotoAndStop("fall");
Symbol 1268 MovieClip Frame 156
wiley.gotoAndStop("control");
Symbol 1268 MovieClip Frame 227
stop();
Symbol 1273 MovieClip Frame 1
stop();
Symbol 1276 MovieClip Frame 50
stop();
Symbol 1279 MovieClip Frame 108
stop();
Symbol 1285 MovieClip Frame 78
gotoAndPlay (53);
Symbol 1286 MovieClip Frame 101
stop();
Symbol 1287 MovieClip Frame 1
stop();
Symbol 1287 MovieClip Frame 2
stop();
Symbol 1287 MovieClip Frame 3
stop();
Symbol 1287 MovieClip Frame 4
stop();
Instance of Symbol 493 MovieClip "limit" in Symbol 1287 MovieClip Frame 4
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 40;
_root.player1.animate.hit = true;
}
}
}
}
Instance of Symbol 493 MovieClip "limitb" in Symbol 1287 MovieClip Frame 4
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 40;
_root.player1.animate.hit = true;
}
}
}
}
Symbol 1287 MovieClip Frame 5
stop();
Symbol 1287 MovieClip Frame 6
stop();
Symbol 1287 MovieClip Frame 7
stop();
Instance of Symbol 493 MovieClip "limit" in Symbol 1287 MovieClip Frame 7
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 40;
_root.player1.animate.hit = true;
}
}
}
}
Instance of Symbol 493 MovieClip "limitb" in Symbol 1287 MovieClip Frame 7
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 40;
_root.player1.animate.hit = true;
}
}
}
}
Instance of Symbol 493 MovieClip "limitc" in Symbol 1287 MovieClip Frame 7
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 40;
_root.player1.animate.hit = true;
}
}
}
}
Symbol 1287 MovieClip Frame 8
stop();
Symbol 1287 MovieClip Frame 9
stop();
Symbol 1287 MovieClip Frame 10
stop();
Instance of Symbol 493 MovieClip "limit" in Symbol 1287 MovieClip Frame 10
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 40;
_root.player1.animate.hit = true;
}
}
}
}
Instance of Symbol 493 MovieClip "limitb" in Symbol 1287 MovieClip Frame 10
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 40;
_root.player1.animate.hit = true;
}
}
}
}
Symbol 1287 MovieClip Frame 11
stop();
Symbol 1287 MovieClip Frame 12
stop();
Symbol 1287 MovieClip Frame 13
stop();
Instance of Symbol 493 MovieClip "limit" in Symbol 1287 MovieClip Frame 13
onClipEvent (enterFrame) {
if (!_root.player1.animate.nohit) {
if (!_root.player1.animate.hit) {
if (this.hitTest(_root.player1.animate.limit)) {
_root.life = _root.life - 40;
_root.player1.animate.hit = true;
}
}
}
}
Symbol 1287 MovieClip Frame 14
_root.score = _root.score + 10000;
stop();
Symbol 1294 MovieClip Frame 36
stop();
Symbol 1310 MovieClip Frame 1
stop();
Symbol 1310 MovieClip Frame 2
stop();
Symbol 1310 MovieClip Frame 3
stop();
Symbol 1310 MovieClip Frame 4
stop();
Symbol 1310 MovieClip Frame 5
stop();
Symbol 1310 MovieClip Frame 6
stop();
Symbol 1310 MovieClip Frame 7
stop();
Symbol 1311 MovieClip Frame 1
stop();
Symbol 1311 MovieClip Frame 2
stop();
Symbol 1311 MovieClip Frame 3
stop();
Symbol 1311 MovieClip Frame 4
stop();
Symbol 1311 MovieClip Frame 5
stop();
Symbol 1311 MovieClip Frame 6
stop();
Symbol 1311 MovieClip Frame 7
stop();
Symbol 1311 MovieClip Frame 8
stop();
Symbol 1311 MovieClip Frame 9
stop();
Symbol 1311 MovieClip Frame 10
stop();
Symbol 1314 MovieClip Frame 1
stopAllSounds();
Symbol 1314 MovieClip Frame 2
stop();
Symbol 1320 MovieClip Frame 1
score = _root.score;