Frame 1
function attaching(ID, m, l) {
count++;
teki = "monst" + count;
_root.attachMovie(ID, teki, count);
_root[teki]._x = m;
_root[teki]._y = l;
}
function shotattaching(ID, m, l) {
shotcount++;
if (shotcount >= 50010) {
shotcount = 50001;
}
teki = "shot" + shotcount;
_root.attachMovie(ID, teki, shotcount);
_root[teki]._x = m;
_root[teki]._y = l;
}
function randomizer(min, max) {
ans = (Math.random() * (max - min)) + min;
return(ans);
}
function intrandomizer(min, max) {
ans = Math.floor((Math.random() * (max - min)) + min);
return(ans);
}
attaching(8, 200, 275);
fscommand ("showmenu", "false");
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
stop();
_global.oplflag = 0;
_global.oprflag = 0;
_global.triger = 0;
_global.life = 5;
_global.score = 0;
_global.scoreinc = 0;
_global.enemynum = 0;
_global.des = 0;
_global.rate = 0;
_global.bonus = 0;
Mouse.hide();
shotcount = 50000;
_global.shotflag = 0;
_global.counter = 0;
_global.option = 3;
_global.fighterflag = 0;
Instance of Symbol 217 MovieClip "hole" in Frame 1
onClipEvent (load) {
count2 = 0;
sizer = 0;
count3 = 0;
this._alpha = 0;
this._xscale = 0;
this._yscale = 0;
}
onClipEvent (enterFrame) {
if (triger == 0) {
count2++;
if (count2 == 8) {
count2 = 0;
randx = _root.randomizer(this._x - 30, this._x + 30);
_root.attaching(1, randx, 466);
}
}
}
onClipEvent (enterFrame) {
sizer = sizer + 1;
if (sizer <= 100) {
this._xscale = sizer;
this._yscale = sizer;
this._alpha = sizer;
} else if ((_root.blackout._alpha == 0) && (count3 == 40)) {
_root.attaching(7, this._x, this._y);
_root.bar.gotoAndPlay(2);
count3 = 0;
} else {
count3++;
}
}
Instance of Symbol 220 MovieClip "title" in Frame 1
onClipEvent (load) {
alpha = 2;
time = 0;
this._alpha = 0;
}
onClipEvent (enterFrame) {
time++;
if ((time >= 60) && (this._alpha <= 100)) {
this._alpha = this._alpha + alpha;
}
}
Instance of Symbol 222 MovieClip "start" in Frame 1
onClipEvent (load) {
alpha = 2;
time = 0;
this._alpha = 0;
}
onClipEvent (enterFrame) {
time++;
if ((time >= 80) && (this._alpha < 100)) {
this._alpha = this._alpha + alpha;
}
}
Frame 2
dragout = 0;
attaching(8, 200, 275);
stop();
Instance of Symbol 26 MovieClip "core" in Frame 2
onClipEvent (load) {
count = 0;
intrval = 0;
_parent.swapDepths(21000);
damage = 0;
flag = 0;
fieldflag = 0;
flag2 = 0;
flag3 = 0;
}
onClipEvent (enterFrame) {
count++;
interval++;
if ((count == 6) && (_global.triger == 0)) {
_root.attaching(34, this._x, this._y);
count = 0;
}
if (damage == 1) {
if (flag == 0) {
this._alpha = this._alpha - 5;
if (this._alpha <= 0) {
flag = 1;
}
} else if (flag == 1) {
this._alpha = this._alpha + 5;
if (this._alpha >= 100) {
flag = 0;
this._alpha = 100;
damage = 0;
}
}
}
}
Instance of Symbol 26 MovieClip "core" in Frame 2
onClipEvent (load) {
count = 0;
intrval = 0;
_parent.swapDepths(21000);
damage = 0;
flag = 0;
fieldflag = 0;
}
onClipEvent (enterFrame) {
count++;
interval++;
if ((count == 6) && (_global.triger == 0)) {
_root.attaching(34, this._x, this._y);
count = 0;
}
if (damage == 1) {
if (flag == 0) {
this._alpha = this._alpha - 5;
if (this._alpha <= 0) {
flag = 1;
}
} else if (flag == 1) {
this._alpha = this._alpha + 5;
if (this._alpha >= 100) {
flag = 0;
this._alpha = 100;
damage = 0;
}
}
}
}
Instance of Symbol 264 MovieClip in Frame 2
onClipEvent (load) {
flag2 = 0;
flag3 = 0;
}
on (rollOver) {
if (flag2 == 0) {
_parent["1"].long = 40;
_parent["2"].long = 90;
_parent["3"].long = 30;
_parent["4"].long = 100;
_parent["5"].long = 70;
flag2 = 1;
flag3 = 0;
_root.attaching(79, this._x, this._y);
newsound = new Sound();
newsound.attachSound("cli");
newsound.setVolume(60);
newsound.start(0, 1);
_parent.infomation1.gotoAndPlay(2);
}
}
on (rollOut) {
if ((flag3 == 0) && (_global.triger == 0)) {
i = 1;
while (i <= 5) {
_parent[i].flag = 1;
_parent[i].long = 0;
i++;
}
flag3 = 1;
flag2 = 0;
_root.dragout = 1;
_parent.infomation1.gotoAndStop(1);
}
}
on (press) {
if (_global.triger == 0) {
_root.dragout = 1;
_global.triger = 1;
_global.fighterflag = 1;
_global.triger = 1;
newsound = new Sound();
newsound.attachSound("dec");
newsound.setVolume(100);
newsound.start(0, 1);
}
}
Instance of Symbol 264 MovieClip in Frame 2
onClipEvent (load) {
flag2 = 0;
flag3 = 0;
}
on (rollOver) {
if ((flag2 == 0) && (_global.triger == 0)) {
_parent["1"].long = 90;
_parent["2"].long = 40;
_parent["3"].long = 75;
_parent["4"].long = 70;
_parent["5"].long = 50;
flag2 = 1;
flag3 = 0;
_root.attaching(79, this._x, this._y);
newsound = new Sound();
newsound.attachSound("cli");
newsound.setVolume(60);
newsound.start(0, 1);
_parent.infomation2.gotoAndPlay(2);
}
}
on (rollOut) {
if (flag3 == 0) {
i = 1;
while (i <= 5) {
_parent[i].flag = 1;
_parent[i].long = 0;
i++;
}
flag3 = 1;
flag2 = 0;
_root.dragout = 1;
_parent.infomation2.gotoAndStop(1);
}
}
on (press) {
if (_global.triger == 0) {
_root.dragout = 1;
_global.triger = 1;
_global.triger = 1;
newsound = new Sound();
newsound.attachSound("dec");
newsound.setVolume(100);
newsound.start(0, 1);
}
}
Frame 3
attaching(51, 84.6, 14.3);
attaching(62, 84.6, 54, 3);
attaching(52, 336.5, 23.4);
attaching(53, 0, 0);
if (_global.fighterflag == 0) {
_root.attaching(49, 200, 400);
} else {
_root.attaching(78, 200, 400);
}
stop();
Instance of Symbol 51 MovieClip "enemymaster" in Frame 3
onClipEvent (load) {
timing = 0;
flag = 0;
count = 0;
}
onClipEvent (enterFrame) {
if (_global.counter == 0) {
timing++;
count++;
if ((timing == 15) && (flag <= 6)) {
timing = 0;
flag++;
_root.attaching(10, this._x, this._y);
}
if (count >= 150) {
_global.counter++;
timing = 0;
flag = 0;
count = 0;
}
}
if (_global.counter == 1) {
timing++;
count++;
if ((timing == 15) && (flag <= 6)) {
timing = 0;
flag++;
_root.attaching(12, 50, -30);
}
if (count >= 150) {
_global.counter++;
timing = 0;
count = 0;
flag = 0;
}
}
if (_global.counter == 2) {
timing++;
count++;
if ((timing == 20) && (flag <= 6)) {
timing = 0;
flag++;
_root.attaching(10, this._x, this._y);
}
if (flag == 4) {
_root.attaching(14, 30, -20);
flag++;
}
if (count >= 220) {
_global.counter++;
timing = 0;
flag = 0;
count = 0;
}
}
if (_global.counter == 3) {
timing++;
count++;
if ((timing == 35) && (flag <= 6)) {
timing = 0;
flag++;
attachix = _root.randomizer(30, 60);
attachiy = _root.randomizer(30, 200);
_root.attaching(18, attachix, attachiy);
}
if (count >= 220) {
_global.counter++;
timing = 0;
flag = 0;
count = 0;
}
}
if (_global.counter == 4) {
timing++;
count++;
if ((timing >= 60) && (flag <= 0)) {
timing = 0;
flag++;
_root.attaching(20, this._x, this._y);
_root.attaching(14, 50, -30);
}
if (count >= 240) {
_global.counter++;
timing = 0;
flag = 0;
count = 0;
}
}
if (_global.counter == 5) {
timing++;
count++;
if (timing == 20) {
_root.attaching(12, 50, -30);
}
if ((timing == 40) && (flag <= 5)) {
timing = 0;
flag++;
attachix = _root.randomizer(320, 380);
attachiy = _root.randomizer(30, 200);
_root.attaching(18, attachix, attachiy);
}
if (count >= 300) {
_global.counter++;
timing = 0;
flag = 0;
count = 0;
}
}
if (_global.counter == 6) {
timing++;
count++;
if ((timing == 20) && (flag <= 12)) {
timing = 0;
flag++;
attachix = _root.randomizer(20, 380);
_root.attaching(21, attachix, -30);
}
if ((timing == 16) && (flag >= 13)) {
timing = 0;
flag++;
attachix = _root.randomizer(20, 380);
_root.attaching(21, attachix, -30);
}
if (count >= 500) {
_global.counter++;
timing = 0;
flag = 0;
count = 0;
}
}
if (_global.counter == 7) {
timing++;
count++;
if ((timing == 30) && (flag <= 0)) {
timing = 0;
flag++;
_root.attaching(33, 200, 150);
}
}
if (_global.counter == 8) {
timing++;
count++;
if ((timing == 30) && (flag <= 0)) {
timing = 0;
flag++;
_root.attaching(37, 200, 150);
}
}
if (_global.counter == 9) {
timing++;
count++;
if ((timing == 50) && (flag <= 6)) {
timing = 0;
flag++;
attachix = _root.randomizer(20, 380);
attachiy = _root.randomizer(20, 150);
_root.attaching(18, attachix, attachiy);
}
if (count >= 400) {
_global.counter++;
timing = 0;
flag = 0;
count = 0;
attachix = 150;
}
}
if (_global.counter == 10) {
timing++;
count++;
if ((timing == 35) && (flag <= 10)) {
timing = 0;
flag++;
attachix = attachix + 20;
_root.attaching(44, attachix, -10);
}
if (count >= 450) {
_global.counter++;
timing = 0;
flag = 0;
count = 0;
}
}
if (_global.counter == 11) {
timing++;
count++;
if (((timing == 40) || (timing == 80)) || (timing == 120)) {
if (flag == 0) {
_root.attaching(21, 40, -10);
flag++;
} else {
_root.attaching(21, 360, -10);
flag--;
}
}
if (timing == 120) {
timing = 0;
attachix = _root.randomizer(60, 340);
attachiy = _root.randomizer(200, 440);
_root.attaching(18, attachix, attachiy);
}
if (count >= 400) {
_global.counter++;
timing = 0;
flag = 0;
count = 0;
}
}
if (_global.counter == 12) {
timing++;
count++;
if (timing == 80) {
_root.attaching(18, 200, 200);
} else if (timing == 110) {
_root.attaching(18, 100, 300);
} else if (timing == 140) {
_root.attaching(18, 300, 300);
timing = 0;
}
if (count >= 330) {
_global.counter++;
timing = 0;
flag = 0;
count = 0;
}
}
if (_global.counter == 13) {
timing++;
count++;
if (timing == 15) {
flag = flag + 5;
_root.attaching(12, -10, flag - 30);
} else if (timing == 30) {
flag = flag + 5;
_root.attaching(10, 410, flag - 30);
timing = 0;
}
if (count >= 350) {
_global.counter++;
timing = 0;
count = 0;
flag = 0;
}
}
if (_global.counter == 14) {
timing++;
count++;
if ((timing == 30) && (flag <= 0)) {
timing = 0;
flag++;
_root.attaching(33, 200, 200);
}
}
if (_global.counter == 15) {
timing++;
count++;
if ((timing == 30) && (flag <= 0)) {
timing = 0;
flag++;
_root.attaching(37, 200, 150);
}
}
if (_global.counter == 16) {
timing++;
count++;
if (timing == 25) {
timing = 0;
attachix = _root.randomizer(20, 380);
_root.attaching(57, attachix, -30);
}
if (count >= 500) {
_global.counter++;
timing = 0;
flag = 0;
count = 0;
}
}
if (_global.counter == 17) {
timing++;
if ((flag <= 0) && (timing == 20)) {
timing = 0;
flag++;
_root.attaching(66, 200, -10);
}
}
if (_global.counter == 18) {
timing++;
count++;
if (timing == 25) {
timing = 0;
attachix = _root.randomizer(20, 380);
_root.attaching(57, attachix, -30);
}
if (count >= 500) {
_global.counter++;
timing = 0;
flag = 0;
count = 0;
}
}
if (_global.counter == 19) {
timing++;
if ((flag <= 0) && (timing == 20)) {
timing = 0;
flag++;
_root.attaching(66, 200, -10);
} else if ((flag == 1) && (timing == 100)) {
_root.attaching(57, 350, -10);
} else if ((flag == 1) && (timing == 200)) {
timing = 0;
_root.attaching(57, 50, -10);
}
}
if (_global.counter == 20) {
timing++;
count++;
if (timing == 25) {
timing = 0;
attachix = _root.randomizer(20, 380);
_root.attaching(57, attachix, -30);
}
if (count >= 500) {
_global.counter++;
timing = 0;
flag = 0;
count = 0;
}
}
if (_global.counter == 21) {
timing++;
count++;
if ((timing == 30) && (flag <= 0)) {
timing = 0;
flag++;
_root.attaching(33, 200, 200);
}
}
if (_global.counter == 22) {
timing++;
count++;
if ((timing == 30) && (flag <= 0)) {
timing = 0;
flag++;
_root.attaching(37, 200, 150);
}
}
if (_global.counter == 23) {
timing++;
count++;
if ((timing == 30) && (flag <= 0)) {
timing = 0;
flag++;
_root.attaching(50, 200, 150);
}
}
}
Instance of Symbol 51 MovieClip "bgm" in Frame 3
onClipEvent (load) {
bgm = new Sound(this);
bgm.attachSound("eag");
bgm.start(0, 100);
count = 100;
flag = 0;
scoreflag = 0;
_global.soundflag = 0;
}
onClipEvent (enterFrame) {
_root.counter2 = _global.counter;
if (_global.score != 0) {
_global.score = _global.score - 10;
_root.score.inc = _root.score.inc + 10;
}
i = 1;
while (i <= 5) {
if ((_root.score.inc >= (10000 * i)) && (scoreflag == (i - 1))) {
_root.attaching(64, _root.fighter._x, _root.fighter._y + 30);
_global.option++;
scoreflag++;
}
i++;
}
if (_global.counter == 23) {
_global.soundflag = 1;
}
if (_global.soundflag == 1) {
if (count > 0) {
count = count - 0.5;
bgm.setVolume(count);
} else {
count = 100;
bgm.stop();
_global.soundflag = 0;
}
} else if (_global.soundflag == 2) {
count = 100;
bgm.stop();
bgm.attachSound("eag");
bgm.setVolume(100);
_global.soundflag = 0;
bgm.start(0, 100);
} else if (_global.soundflag == 3) {
count = 100;
bgm.stop();
bgm.attachSound("bgm-k");
bgm.setVolume(100);
_global.soundflag = 0;
bgm.start(0, 100);
} else {
count = 100;
}
}
Frame 4
function attaching(ID, m, l) {
count++;
teki = "monst" + count;
_root.attachMovie(ID, teki, count);
_root[teki]._x = m;
_root[teki]._y = l;
}
function randomizer(min, max) {
ans = (Math.random() * (max - min)) + min;
return(ans);
}
function intrandomizer(min, max) {
ans = Math.floor((Math.random() * (max - min)) + min);
return(ans);
}
stop();
Instance of Symbol 18 MovieClip in Symbol 19 MovieClip [4] Frame 1
onClipEvent (load) {
count = 0;
this._alpha = 70;
}
onClipEvent (enterFrame) {
count++;
this._xscale = this._xscale - 12;
this._yscale = this._yscale - 12;
this._alpha = this._alpha - 12;
if (count >= 7) {
_parent.removeMovieClip();
}
}
Instance of Symbol 18 MovieClip in Symbol 20 MovieClip [2] Frame 1
onClipEvent (load) {
count = 0;
this._xscale = 0;
this._yscale = 0;
}
onClipEvent (enterFrame) {
count++;
this._xscale = this._xscale + 10;
this._yscale = this._yscale + 10;
this._alpha = this._alpha - 5;
if (count >= 20) {
_parent.removeMovieClip();
}
}
Symbol 22 MovieClip [19] Frame 14
this.removeMovieClip();
Instance of Symbol 21 MovieClip in Symbol 23 MovieClip [28] Frame 1
onClipEvent (load) {
count = 0;
rotate = _root.intrandomizer(0, 90);
_parent._rotation = rotate;
i = 0;
while (i <= 3) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
}
onClipEvent (enterFrame) {
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
this._alpha = this._alpha - 3.3;
if (count == 30) {
_parent.removeMovieClip();
}
count++;
}
Instance of Symbol 21 MovieClip in Symbol 24 MovieClip [7] Frame 1
onClipEvent (load) {
count = 0;
rotate = _root.intrandomizer(0, 90);
_parent._rotation = rotate;
}
onClipEvent (enterFrame) {
this._xscale = this._xscale + 5;
this._yscale = this._yscale + 5;
this._alpha = this._alpha - 3.3;
if (count == 7) {
_root.attaching(3, _parent._x, _parent._y);
_root.attaching(4, _parent._x, _parent._y);
} else if (count == 14) {
_root.attaching(3, _parent._x, _parent._y);
_root.attaching(28, _parent._x, _parent._y);
} else if (count == 22) {
i = 0;
while (i <= 2) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
} else if (count == 30) {
_parent.removeMovieClip();
}
count++;
}
Symbol 27 MovieClip [54] Frame 1
scale = _root.intrandomizer(0, 8);
this._height = this._height + scale;
this._width = this._width + scale;
Instance of Symbol 26 MovieClip in Symbol 27 MovieClip [54] Frame 1
onClipEvent (load) {
speed = _root.randomizer(2, 6);
count = _root.randomizer(1, 4);
}
onClipEvent (enterFrame) {
this._alpha = this._alpha - count;
_parent._xscale = _parent._xscale - count;
_parent._yscale = _parent._yscale - count;
if (this._alpha <= 0) {
_parent.removeMovieClip();
}
_parent._y = _parent._y + speed;
if (_parent._y >= 550) {
_parent.removeMovieClip();
}
}
Symbol 30 MovieClip [1] Frame 1
scale = _root.randomizer(30, 180);
speed = _root.randomizer(100, 500);
this._xscale = scale;
this._yscale = scale;
Instance of Symbol 29 MovieClip in Symbol 30 MovieClip [1] Frame 1
onClipEvent (load) {
crashx = _root.randomizer(-7, 7);
crashy = _root.randomizer(-3, 3);
this._alpha = 0;
crashattach = 0;
}
onClipEvent (enterFrame) {
if (this._alpha <= 100) {
this._alpha = this._alpha + 2;
}
if (_root._currentframe != 1) {
_parent.removeMovieClip();
}
if (triger == 0) {
_parent._y = _parent._y - (_parent.speed / 100);
if (_parent._y <= -20) {
_parent.removeMovieClip();
}
act = Math.floor(_root.randomizer(0, 200));
if (act == 0) {
_root.attaching(2, _parent._x, _parent._y);
}
}
if (triger == 1) {
if (crashattach == 0) {
_root.attaching(2, _parent._x, _parent._y);
crashattach = 1;
}
_parent._x = _parent._x + crashx;
_parent._y = _parent._y + crashy;
_parent._xscale = _parent._xscale * 0.99;
_parent._yscale = _parent._yscale * 0.99;
if ((((_parent._x >= 500) || (_parent._x <= 0)) || (_parent._y >= 350)) || (_parent._y <= 0)) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 33 MovieClip "squ" in Symbol 34 MovieClip [65] Frame 1
onClipEvent (load) {
roll = 3;
_parent._alpha = 70;
degree = _root.randomizer(0, 180);
count = 0;
timing = 0;
_parent._rotation = _root.randomizer(0, 100);
xmove = _root.randomizer(-2, 2);
ymove = _root.randomizer(-2, 2);
firstmove = 10;
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
}
onClipEvent (enterFrame) {
if (firstmove >= 0) {
_parent._y = _parent._y + firstmove;
firstmove--;
}
degree = degree + 5;
_parent._rotation = _parent._rotation + roll;
timing++;
if ((timing == 5) && (count <= 5)) {
_root.attaching(9, _parent._x, _parent._y);
count++;
timing = 0;
} else if ((timing == 5) && (count <= 7)) {
_root.attaching(3, _parent._x, _parent._y);
count++;
timing = 0;
} else if (count == 8) {
_root.attaching(47, _parent._x, _parent._y);
count++;
} else if (timing >= 5) {
_root.attaching(34, _parent._x, _parent._y);
_parent.removeMovieClip();
}
if (count >= 5) {
_parent._x = _parent._x + xmove;
_parent._y = _parent._y + ymove;
}
}
Instance of Symbol 33 MovieClip "squ" in Symbol 35 MovieClip [48] Frame 1
onClipEvent (load) {
roll = 3;
_parent._alpha = 70;
degree = _root.randomizer(0, 180);
count = 0;
timing = 0;
_parent._rotation = _root.randomizer(0, 100);
xmove = _root.randomizer(-2, 2);
ymove = _root.randomizer(-2, 2);
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
}
onClipEvent (enterFrame) {
degree = degree + 5;
_parent._rotation = _parent._rotation + roll;
timing++;
if ((timing == 50) && (count <= 5)) {
_root.attaching(9, _parent._x, _parent._y);
count++;
timing = 40;
} else if ((timing == 50) && (count <= 7)) {
_root.attaching(3, _parent._x, _parent._y);
count++;
timing = 45;
} else if ((count == 8) && (_global.life != 0)) {
_root.attaching(47, _parent._x, _parent._y);
count++;
} else if ((timing == 50) || (_global.bosslife <= 0)) {
_root.attaching(34, _parent._x, _parent._y);
_parent.removeMovieClip();
}
if (count >= 5) {
_parent._x = _parent._x + xmove;
_parent._y = _parent._y + ymove;
}
}
Instance of Symbol 26 MovieClip in Symbol 37 MovieClip [16] Frame 1
onClipEvent (load) {
_parent._alpha = 80;
}
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha - 2;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 26 MovieClip in Symbol 38 MovieClip [34] Frame 1
onClipEvent (load) {
_parent._rotation = _root.randomizer(-180, 180);
count = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + 1.5;
count++;
this._xscale = this._xscale - 6;
this._yscale = this._yscale - 6;
this._alpha = this._alpha - 6;
if (count >= 10) {
_parent.removeMovieClip();
}
}
Instance of Symbol 26 MovieClip in Symbol 39 MovieClip [9] Frame 1
onClipEvent (load) {
_parent._rotation = _root.randomizer(-180, 180);
count = 0;
effect = _root.randomizer(2, 5);
move = _root.randomizer(2, 5);
}
onClipEvent (enterFrame) {
count++;
this._x = this._x + move;
this._xscale = this._xscale - effect;
this._yscale = this._yscale - effect;
this._alpha = this._alpha - effect;
if (count >= 22) {
_parent.removeMovieClip();
}
}
Instance of Symbol 26 MovieClip in Symbol 40 MovieClip [5] Frame 1
onClipEvent (enterFrame) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
_parent._alpha = _parent._alpha - 25;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 26 MovieClip in Symbol 41 MovieClip [69] Frame 1
onClipEvent (enterFrame) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
_parent._alpha = _parent._alpha - 25;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 26 MovieClip in Symbol 42 MovieClip [15] Frame 1
onClipEvent (enterFrame) {
this._xscale = this._xscale - 17;
this._yscale = this._yscale - 17;
this._y = this._y - 3;
_parent._alpha = _parent._alpha - 17;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 26 MovieClip in Symbol 44 MovieClip [32] Frame 1
onClipEvent (load) {
_parent._xscale = 0;
_parent._yscale = 0;
flag = 0;
}
onClipEvent (enterFrame) {
if (flag == 0) {
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
if (_parent._xscale >= 150) {
flag++;
}
} else {
_parent._xscale = _parent._xscale - 3;
_parent._yscale = _parent._yscale - 3;
if (_parent._xscale <= 0) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 26 MovieClip in Symbol 45 MovieClip [31] Frame 1
onClipEvent (load) {
_parent._rotation = _root.randomizer(-180, 180);
this._alpha = _root.intrandomizer(60, 100);
this._xscale = 200;
this._yscale = 200;
count = 0;
}
onClipEvent (enterFrame) {
count++;
this._x = this._x - 5;
this._xscale = this._xscale - 5;
this._yscale = this._yscale - 5;
if (count == 2) {
this._xscale = 100;
this._yscale = 100;
} else if (count == 16) {
_parent.removeMovieClip();
}
}
Instance of Symbol 26 MovieClip in Symbol 46 MovieClip [3] Frame 1
onClipEvent (load) {
_parent._rotation = _root.randomizer(-180, 180);
this._xscale = 300;
this._yscale = 300;
count = 0;
effect = _root.randomizer(2, 7);
move = _root.randomizer(2, 7);
}
onClipEvent (enterFrame) {
count++;
if (count == 2) {
this._xscale = 100;
this._yscale = 100;
}
this._x = this._x + move;
this._alpha = this._alpha - effect;
this._xscale = this._xscale - effect;
this._yscale = this._yscale - effect;
if (this._alpha <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 48 MovieClip in Symbol 49 MovieClip [36] Frame 1
onClipEvent (enterFrame) {
this._alpha = this._alpha - 8;
if (this._alpha <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 51 MovieClip in Symbol 52 MovieClip [18] Frame 1
onClipEvent (load) {
_root.attaching(16, _parent._x, _parent._y);
if (_global.counter == 3) {
_root.attaching(17, _parent._x, _parent._y);
} else if (_global.counter == 5) {
_root.attaching(40, _parent._x, _parent._y);
} else if (_global.counter == 9) {
_root.attaching(38, _parent._x, _parent._y);
} else if ((_global.counter == 11) || (_global.counter == 12)) {
_root.attaching(45, _parent._x, _parent._y);
}
sounder = new Sound();
sounder.attachSound("so1");
sounder.start(0, 1);
count = 0;
}
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha - 5;
_parent._rotation = _parent._rotation + 8;
_parent._yscale = _parent._yscale - 5;
count++;
if (count >= 7) {
_root.attaching(31, _parent._x, _parent._y);
count = 0;
}
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 51 MovieClip in Symbol 54 MovieClip [71] Frame 1
onClipEvent (load) {
_root.fighter.core.fieldflag++;
_parent._name = "field";
_parent._xscale = 150;
_parent._yscale = 150;
scale = 100;
flag == 0;
}
onClipEvent (enterFrame) {
_parent._x = _root.fighter._x;
_parent._y = _root.fighter._y;
_parent._rotation = _parent._rotation + 5;
_parent._xscale = scale;
_parent._yscale = scale;
if (_global.fighterflag == 0) {
scale = scale - 0.1;
} else {
scale = scale - 0.25;
}
if (scale <= 40) {
i = 0;
while (i <= 5) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_root.attaching(2, _parent._x, _parent._y);
_root.fighter.core.fieldflag = 0;
_root.attaching(73, _parent._x, _parent._y);
_parent.removeMovieClip();
}
if (flag == 0) {
_parent._alpha = _parent._alpha - 5;
if (_parent._alpha <= 30) {
flag = 1;
}
} else {
_parent._alpha = _parent._alpha + 5;
if (_parent._alpha >= 90) {
flag = 0;
}
}
}
Instance of Symbol 56 MovieClip in Symbol 57 MovieClip [23] Frame 1
onClipEvent (enterFrame) {
_parent._x = _parent._x + 1.99075359232098;
_parent._y = _parent._y + 11.8337187787551;
if (_parent.hitTest(_root.field)) {
_root.attaching(3, _parent._x, _parent._y);
_parent.removeMovieClip();
} else if (_parent.hitTest(_root.fighter._x, _root.fighter._y, false) && (_root.fighter.core.damage == 0)) {
_global.life--;
_root.fighter.core.damage = 1;
_root.attaching(35, _parent._x, _parent._y);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_parent.removeMovieClip();
}
if (_parent._y >= 570) {
_parent.removeMovieClip();
}
}
Instance of Symbol 56 MovieClip in Symbol 58 MovieClip [26] Frame 1
onClipEvent (enterFrame) {
_parent._x = _parent._x - 3.92633636155383;
_parent._y = _parent._y + 11.3394833557769;
if (_parent.hitTest(_root.field)) {
_root.attaching(3, _parent._x, _parent._y);
_parent.removeMovieClip();
} else if (_parent.hitTest(_root.fighter._x, _root.fighter._y, false) && (_root.fighter.core.damage == 0)) {
_global.life--;
_root.fighter.core.damage = 1;
_root.attaching(35, _parent._x, _parent._y);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_parent.removeMovieClip();
}
if (_parent._y >= 570) {
_parent.removeMovieClip();
}
}
Instance of Symbol 56 MovieClip in Symbol 59 MovieClip [25] Frame 1
onClipEvent (enterFrame) {
_parent._x = _parent._x - 1.99075359232098;
_parent._y = _parent._y + 11.8337187787551;
if (_parent.hitTest(_root.field)) {
_root.attaching(3, _parent._x, _parent._y);
_parent.removeMovieClip();
} else if (_parent.hitTest(_root.fighter._x, _root.fighter._y, false) && (_root.fighter.core.damage == 0)) {
_global.life--;
_root.fighter.core.damage = 1;
_root.attaching(35, _parent._x, _parent._y);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_parent.removeMovieClip();
}
if (_parent._y >= 570) {
_parent.removeMovieClip();
}
}
Instance of Symbol 56 MovieClip in Symbol 60 MovieClip [24] Frame 1
onClipEvent (enterFrame) {
_parent._x = _parent._x + 3.92633636155383;
_parent._y = _parent._y + 11.3394833557769;
if (_parent.hitTest(_root.field)) {
_root.attaching(3, _parent._x, _parent._y);
_parent.removeMovieClip();
} else if (_parent.hitTest(_root.fighter._x, _root.fighter._y, false) && (_root.fighter.core.damage == 0)) {
_global.life--;
_root.fighter.core.damage = 1;
_root.attaching(35, _parent._x, _parent._y);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_parent.removeMovieClip();
}
if (_parent._y >= 570) {
_parent.removeMovieClip();
}
}
Instance of Symbol 56 MovieClip in Symbol 61 MovieClip [22] Frame 1
onClipEvent (enterFrame) {
_parent._y = _parent._y + 12;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + xmove;
_parent._y = _parent._y + ymove;
if (_parent.hitTest(_root.field)) {
_root.attaching(3, _parent._x, _parent._y);
_parent.removeMovieClip();
} else if (_parent.hitTest(_root.fighter._x, _root.fighter._y, false) && (_root.fighter.core.damage == 0)) {
_global.life--;
_root.fighter.core.damage = 1;
_root.attaching(35, _parent._x, _parent._y);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_parent.removeMovieClip();
}
if (_parent._y >= 570) {
_parent.removeMovieClip();
}
}
Symbol 64 MovieClip [68] Frame 1
flag = 1;
Instance of Symbol 51 MovieClip in Symbol 64 MovieClip [68] Frame 1
onClipEvent (enterFrame) {
_parent._y = _parent._y - 17.5;
if (_parent._y <= 0) {
_parent.removeMovieClip();
}
}
Symbol 69 MovieClip [77] Frame 1
flag = 2;
Instance of Symbol 51 MovieClip in Symbol 69 MovieClip [77] Frame 1
onClipEvent (enterFrame) {
_parent._y = _parent._y - 17.5;
if (_parent._y <= -10) {
_parent.removeMovieClip();
}
}
Symbol 70 MovieClip [6] Frame 1
flag = 0;
Instance of Symbol 51 MovieClip in Symbol 70 MovieClip [6] Frame 1
onClipEvent (enterFrame) {
_parent._y = _parent._y - 17.5;
if (_parent._y <= -10) {
_parent.removeMovieClip();
}
}
Instance of Symbol 72 MovieClip in Symbol 73 MovieClip [55] Frame 1
onClipEvent (load) {
count = 0;
flag = 0;
ballcount = 0;
_parent._xscale = 0;
sounder = new Sound();
sounder.attachSound("so7");
sounder.start(0.1);
}
onClipEvent (enterFrame) {
count++;
ballcount++;
if (count <= 4) {
_parent._yscale = _parent._yscale + 2800;
_parent._xscale = _parent._xscale + 400;
} else if (count == 5) {
_parent._xscale = 1800;
} else if (_parent._xscale > -20) {
_parent._xscale = _parent._xscale - 50;
if (_parent._xscale <= 0) {
_parent.removeMovieClip();
}
}
if (ballcount == 1) {
_root.attaching(54, _parent._x + _root.randomizer(-5, 5), _parent._y + _root.randomizer(0, 400));
ballcount = 0;
}
}
onClipEvent (enterFrame) {
if ((_parent.hitTest(_root.field) && (flag == 0)) && (_root.fighter.core.damage == 0)) {
_root.attaching(3, _parent._x, _parent._y);
flag++;
}
if ((_parent.hitTest(_root.fighter._x, _root.fighter._y, true) && (flag == 0)) && (_root.fighter.core.damage == 0)) {
_global.life--;
_root.fighter.core.damage = 1;
_root.attaching(35, _root.fighter._x, _root.fighter._y);
_root.attaching(3, _root.fighter._x, _root.fighter._y);
flag++;
}
}
Instance of Symbol 72 MovieClip in Symbol 74 MovieClip [47] Frame 1
onClipEvent (load) {
count = 0;
degree = 57.2957795130823 * Math.atan2(_root.fighter._y - _parent._y, _root.fighter._x - _parent._x);
_parent._rotation = degree;
flag = 0;
so = new Sound();
so.attachSound("so5");
so.start(0, 1);
}
onClipEvent (enterFrame) {
count++;
if (count <= 10) {
this._xscale = this._xscale + 500;
this._x = this._x + 50;
} else if (count <= 18) {
this._yscale = this._yscale - 12;
this._alpha = this._alpha - 12;
} else {
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (((_parent.hitTest(_root.field) && (flag == 0)) && (this._alpha >= 80)) && (_root.fighter.core.damage == 0)) {
_root.attaching(3, _parent._x, _parent._y);
flag++;
} else if (((_parent.hitTest(_root.fighter._x, _root.fighter._y, true) && (flag == 0)) && (this._alpha >= 90)) && (_root.fighter.core.damage == 0)) {
_global.life--;
_root.fighter.core.damage = 1;
_root.attaching(35, _root.fighter._x, _root.fighter._y);
_root.attaching(3, _root.fighter._x, _root.fighter._y);
flag++;
}
}
Instance of Symbol 56 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (load) {
flag = 0;
now = this._x;
}
onClipEvent (enterFrame) {
this._xscale = this._xscale - 20;
this._x = this._x + 3;
flag++;
if (flag == 4) {
flag = 0;
this._xscale = 100;
this._x = now;
}
}
Instance of Symbol 26 MovieClip "core" in Symbol 77 MovieClip [49] Frame 1
onClipEvent (load) {
count = 0;
intrval = 0;
_parent.swapDepths(20000);
_parent._name = "fighter";
damage = 0;
flag = 0;
fieldflag = 0;
}
onClipEvent (enterFrame) {
if ((_root._xmouse >= 0) && (_root._xmouse <= 400)) {
_parent._x = _parent._x + (((_root._xmouse - _parent._x) * 0.18) * 1.1);
}
if (_parent._x < 0) {
_parent._x = 0;
} else if (_parent._x > 400) {
_parent._x = 400;
}
if ((_root._ymouse >= 0) && (_root._ymouse <= 550)) {
_parent._y = _parent._y + (((_root._ymouse - _parent._y) * 0.18) * 1.1);
}
if (_parent._y < 0) {
_parent._y = 0;
} else if (_parent._y > 550) {
_parent._y = 550;
}
}
onClipEvent (enterFrame) {
count++;
interval++;
if (count == 4) {
_root.attaching(34, _root.fighter._x, _root.fighter._y);
count = 0;
}
if (damage == 1) {
if (flag == 0) {
this._alpha = this._alpha - 5;
if (this._alpha <= 0) {
flag = 1;
}
} else if (flag == 1) {
this._alpha = this._alpha + 5;
if (this._alpha >= 100) {
flag = 0;
this._alpha = 100;
damage = 0;
}
}
}
}
on (keyPress "z") {
if ((interval >= 6) && (_global.oprflag == 0)) {
_root.shotattaching(6, _parent._x, _parent._y);
interval = 0;
} else if ((interval >= 10) && (_global.oprflag == 1)) {
_root.shotattaching(68, _parent._x + 30, _parent._y + 30);
_root.shotattaching(68, _parent._x - 30, _parent._y + 30);
_root.shotattaching(6, _parent._x, _parent._y);
interval = 0;
}
}
on (keyPress "x") {
if ((fieldflag == 0) && (_global.option >= 1)) {
_root.attaching(71, _parent._x, _parent._y);
_root.attaching(72, _parent._x, _parent._y);
sounder = new Sound(this);
sounder.attachSound("so8");
sounder.start(0, 1);
_global.option--;
}
}
on (keyPress "c") {
if ((_global.oprflag == 0) && (_global.option >= 1)) {
_global.option--;
_global.oprflag = 1;
_root.attaching(63, _parent._x, _parent._y + 50);
_root.attaching(60, _parent._x - 30, _parent._y + 40);
_root.attaching(61, _parent._x + 30, _parent._y + 40);
sounder = new Sound(this);
sounder.attachSound("so8");
sounder.start(0, 1);
}
}
Instance of Symbol 51 MovieClip in Symbol 79 MovieClip [8] Frame 1
onClipEvent (load) {
_parent._alpha = 0;
alpha = 2;
_parent.swapDepths(9999);
}
onClipEvent (enterFrame) {
if (_parent._alpha >= 100) {
_global.triger = 0;
_root.gotoAndPlay(_root._currentframe + 1);
_parent.removeMovieClip();
} else if (_global.triger == 1) {
_parent._alpha = _parent._alpha + alpha;
}
}
Symbol 82 MovieClip [62] Frame 1
this.swapDepths(25005);
this._name = "option";
Instance of Symbol 26 MovieClip in Symbol 82 MovieClip [62] Frame 1
onClipEvent (load) {
flag = 1;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if ((flag == 0) && (_global.option <= 3)) {
_root.attaching(2, _parent._x - 36, _parent._y + 18);
flag = 1;
this._alpha = 0;
} else if ((flag == 1) && (_global.option >= 4)) {
_root.attaching(2, _parent._x - 36, _parent._y + 18);
flag = 0;
this._alpha = 100;
}
}
Instance of Symbol 26 MovieClip in Symbol 82 MovieClip [62] Frame 1
onClipEvent (load) {
flag = 0;
}
onClipEvent (enterFrame) {
if ((flag == 0) && (_global.option <= 2)) {
_root.attaching(2, _parent._x - 16, _parent._y + 18);
flag = 1;
this._alpha = 0;
} else if ((flag == 1) && (_global.option >= 3)) {
_root.attaching(2, _parent._x - 16, _parent._y + 18);
flag = 0;
this._alpha = 100;
}
}
Instance of Symbol 26 MovieClip in Symbol 82 MovieClip [62] Frame 1
onClipEvent (load) {
flag = 0;
}
onClipEvent (enterFrame) {
if ((flag == 0) && (_global.option <= 1)) {
_root.attaching(2, _parent._x + 14, _parent._y + 18);
flag = 1;
this._alpha = 0;
} else if ((flag == 1) && (_global.option >= 2)) {
_root.attaching(2, _parent._x + 14, _parent._y + 18);
flag = 0;
this._alpha = 100;
}
}
Instance of Symbol 26 MovieClip in Symbol 82 MovieClip [62] Frame 1
onClipEvent (load) {
flag = 1;
this._alpha = 0;
}
onClipEvent (enterFrame) {
if ((flag == 0) && (_global.option <= 4)) {
_root.attaching(2, _parent._x - 56, _parent._y + 18);
flag = 1;
this._alpha = 0;
} else if ((flag == 1) && (_global.option >= 5)) {
_root.attaching(2, _parent._x - 56, _parent._y + 18);
flag = 0;
this._alpha = 100;
}
}
Instance of Symbol 26 MovieClip in Symbol 82 MovieClip [62] Frame 1
onClipEvent (load) {
flag = 0;
}
onClipEvent (enterFrame) {
if ((flag == 0) && (_global.option <= 0)) {
_root.attaching(2, _parent._x + 34, _parent._y + 18);
flag = 1;
this._alpha = 0;
} else if ((flag == 1) && (_global.option >= 1)) {
_root.attaching(2, _parent._x + 34, _parent._y + 18);
flag = 0;
this._alpha = 100;
}
}
Symbol 88 MovieClip [82] Frame 1
this.swapDepths(25011);
this._name = "bossenergy";
Instance of Symbol 85 MovieClip in Symbol 88 MovieClip [82] Frame 1
onClipEvent (load) {
count = _global.bosslife;
_parent.lifecount = _global.bosslife;
}
onClipEvent (enterFrame) {
if (_global.bosslife >= 0) {
this._xscale = (_global.bosslife / count) * 100;
_parent.lifecount = Math.floor(_global.bosslife);
}
if (_global.bosslife <= 0) {
_parent._alpha--;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
}
Symbol 90 MovieClip [51] Frame 1
this.swapDepths(25000);
this._name = "energy";
Instance of Symbol 26 MovieClip in Symbol 90 MovieClip [51] Frame 1
onClipEvent (load) {
flag = 0;
}
onClipEvent (enterFrame) {
if ((flag == 0) && (_global.life == 3)) {
_root.attaching(2, _parent._x - 35.5, _parent._y + 17.5);
flag = 1;
this._alpha = 0;
}
if ((flag == 1) && (_global.life > 3)) {
_root.attaching(2, _parent._x - 35.5, _parent._y + 17.5);
flag = 0;
this._alpha = 100;
}
}
Instance of Symbol 26 MovieClip in Symbol 90 MovieClip [51] Frame 1
onClipEvent (load) {
flag = 0;
}
onClipEvent (enterFrame) {
if ((flag == 0) && (_global.life == 2)) {
_root.attaching(2, _parent._x - 15.5, _parent._y + 17.5);
flag = 1;
this._alpha = 0;
}
if ((flag == 1) && (_global.life > 2)) {
_root.attaching(2, _parent._x - 15.5, _parent._y + 17.5);
flag = 0;
this._alpha = 100;
}
}
Instance of Symbol 26 MovieClip in Symbol 90 MovieClip [51] Frame 1
onClipEvent (load) {
flag = 0;
}
onClipEvent (enterFrame) {
if ((flag == 0) && (_global.life == 1)) {
_root.attaching(2, _parent._x + 4.5, _parent._y + 17.5);
flag = 1;
this._alpha = 0;
}
if ((flag == 1) && (_global.life > 1)) {
_root.attaching(2, _parent._x + 4.5, _parent._y + 17.5);
flag = 0;
this._alpha = 100;
}
}
Instance of Symbol 26 MovieClip in Symbol 90 MovieClip [51] Frame 1
onClipEvent (load) {
flag = 0;
}
onClipEvent (enterFrame) {
if ((flag == 0) && (_global.life == 4)) {
_root.attaching(2, _parent._x - 55.5, _parent._y + 17.5);
flag = 1;
this._alpha = 0;
}
if ((flag == 1) && (_global.life > 4)) {
_root.attaching(2, _parent._x - 55.5, _parent._y + 17.5);
flag = 0;
this._alpha = 100;
}
}
Instance of Symbol 26 MovieClip in Symbol 90 MovieClip [51] Frame 1
onClipEvent (load) {
flag = 0;
}
onClipEvent (enterFrame) {
if ((flag == 0) && (_global.life == 0)) {
_root.attaching(2, _parent._x + 24.5, _parent._y + 17.5);
flag = 1;
this._alpha = 0;
so = new Sound();
so.attachSound("bse");
so.setVolume(100);
so.start(0, 1);
_root.attaching(3, _root.fighter._x, _root.fighter._y);
i = 0;
while (i <= 2) {
_root.attaching(9, _root.fighter._x, _root.fighter._y);
i++;
}
_root.attaching(7, _root.fighter._x, _root.fighter._y);
_root.fighter.removeMovieClip();
_root.targeter.removeMovieClip();
_global.counter = 23;
_root.enemymaster.count = 0;
_root.enemymaster.timing = 0;
_root.enemymaster.flag = 0;
}
}
Instance of Symbol 51 MovieClip in Symbol 92 MovieClip [53] Frame 1
onClipEvent (load) {
_parent._alpha = 50;
_parent._name = "targeter";
}
onClipEvent (enterFrame) {
_parent._x = _root.fighter._x;
_parent._y = _root.fighter._y;
}
Instance of Symbol 76 MovieClip in Symbol 95 MovieClip [57] Frame 1
onClipEvent (enterFrame) {
if (_parent.core.flag != 0) {
this._xscale = 100;
}
if (_parent.core.flag == 9) {
this._xscale = 200;
}
}
Instance of Symbol 26 MovieClip "core" in Symbol 95 MovieClip [57] Frame 1
onClipEvent (load) {
_global.enemynum++;
life = 3;
ymove = _root.intrandomizer(6, 10);
count = 0;
flag = 0;
}
onClipEvent (enterFrame) {
i = 50001;
while (i <= 50009) {
hit = "shot" + i;
if (this.hitTest(_root[hit]) && (life > 0)) {
if (_root[hit].flag == 0) {
_root.attaching(5, _root[hit]._x, _root[hit]._y - 10);
_root[hit].removeMovieClip();
life--;
} else {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 20);
_root[hit].removeMovieClip();
life = life - 1.5;
}
if (life <= 0) {
_global.score = _global.score + 100;
so = new Sound();
so.attachSound("lar");
so.setVolume(100);
so.start(0, 1);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_global.des++;
_parent.removeMovieClip();
}
}
i++;
}
}
onClipEvent (enterFrame) {
if ((ymove >= 0) && (flag != 9)) {
_parent._y = _parent._y + ymove;
ymove = ymove - 0.2;
} else if (flag == 0) {
flag = 1;
} else {
_parent._y = _parent._y + ymove;
ymove = ymove + 0.2;
}
if (_parent._y >= 570) {
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (flag != 0) {
count++;
if ((count == 6) && (flag != 9)) {
_root.attaching(56, _parent._x, _parent._y);
count = 0;
flag++;
}
if (flag == 8) {
flag = 9;
}
}
}
Instance of Symbol 26 MovieClip in Symbol 98 MovieClip [21] Frame 1
onClipEvent (load) {
_global.enemynum++;
life = 1;
degree = 0;
timing = _root.intrandomizer(0, 20);
count = 0;
}
onClipEvent (enterFrame) {
i = 50001;
while (i <= 50009) {
hit = "shot" + i;
if (this.hitTest(_root[hit]) && (life > 0)) {
if (_root[hit].flag == 0) {
_root.attaching(5, _root[hit]._x, _root[hit]._y - 10);
_root[hit].removeMovieClip();
life--;
} else {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 20);
_root[hit].removeMovieClip();
life = life - 1.5;
}
}
if (life <= 0) {
_global.score = _global.score + 100;
so = new Sound();
so.attachSound("lar");
so.setVolume(100);
so.start(0, 1);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_global.des++;
_parent.removeMovieClip();
}
i++;
}
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + 10;
if (_parent._y >= 550) {
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
count++;
if ((count == timing) && (_global.life >= 1)) {
count = 0;
timing = _root.intrandomizer(10, 30);
_root.attaching(11, _parent._x, _parent._y);
}
}
Instance of Symbol 26 MovieClip in Symbol 99 MovieClip [10] Frame 1
onClipEvent (load) {
_global.enemynum++;
life = 1;
degree = 0;
timing = _root.intrandomizer(5, 40);
count = 0;
}
onClipEvent (enterFrame) {
i = 50001;
while (i <= 50009) {
hit = "shot" + i;
if (this.hitTest(_root[hit]) && (life > 0)) {
if (_root[hit].flag == 0) {
_root.attaching(5, _root[hit]._x, _root[hit]._y - 10);
_root[hit].removeMovieClip();
life--;
} else {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 20);
_root[hit].removeMovieClip();
life = life - 1.5;
}
}
if (life <= 0) {
_global.score = _global.score + 100;
so = new Sound();
so.attachSound("lar");
so.setVolume(100);
so.start(0, 1);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_global.des++;
_parent.removeMovieClip();
}
i++;
}
}
onClipEvent (enterFrame) {
degree = degree - 2;
_parent._rotation = _parent._rotation + 2;
radian = (Math.PI * degree) / 180;
_parent._x = _parent._x + (Math.sin(radian) * 10);
_parent._y = _parent._y + (Math.cos(radian) * 10);
if (_parent._x <= -10) {
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
count++;
if ((count == timing) && (_global.life >= 1)) {
count = 0;
timing = _root.intrandomizer(10, 40);
_root.attaching(11, _parent._x, _parent._y);
}
}
Instance of Symbol 26 MovieClip in Symbol 100 MovieClip [12] Frame 1
onClipEvent (load) {
_global.enemynum++;
life = 1;
degree = 0;
timing = _root.intrandomizer(5, 40);
count = 0;
}
onClipEvent (enterFrame) {
i = 50001;
while (i <= 50009) {
hit = "shot" + i;
if (this.hitTest(_root[hit]) && (life > 0)) {
if (_root[hit].flag == 0) {
_root.attaching(5, _root[hit]._x, _root[hit]._y - 10);
_root[hit].removeMovieClip();
life--;
} else {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 20);
_root[hit].removeMovieClip();
life = life - 1.5;
}
}
if (life <= 0) {
_global.score = _global.score + 100;
so = new Sound();
so.attachSound("lar");
so.setVolume(100);
so.start(0, 1);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_global.des++;
_parent.removeMovieClip();
}
i++;
}
}
onClipEvent (enterFrame) {
degree = degree + 2;
_parent._rotation = _parent._rotation - 2;
radian = (Math.PI * degree) / 180;
_parent._x = _parent._x + (Math.sin(radian) * 10);
_parent._y = _parent._y + (Math.cos(radian) * 10);
if (_parent._x >= 410) {
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
count++;
if (count == timing) {
count = 0;
timing = _root.intrandomizer(10, 40);
_root.attaching(11, _parent._x, _parent._y);
}
}
Instance of Symbol 26 MovieClip in Symbol 103 MovieClip [67] Frame 1
onClipEvent (load) {
_global.enemynum++;
life = 3;
degree = 0;
timing = 10;
count = 0;
}
onClipEvent (enterFrame) {
i = 50001;
while (i <= 50009) {
hit = "shot" + i;
if (this.hitTest(_root[hit]) && (life > 0)) {
if (_root[hit].flag == 0) {
_root.attaching(5, _root[hit]._x, _root[hit]._y - 10);
_root[hit].removeMovieClip();
life--;
} else {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 20);
_root[hit].removeMovieClip();
life = life - 1.5;
}
if (life <= 0) {
_global.score = _global.score + 150;
so = new Sound();
so.attachSound("lar");
so.setVolume(100);
so.start(0, 1);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_global.des++;
_parent.removeMovieClip();
}
}
i++;
}
}
onClipEvent (enterFrame) {
degree = degree + 8;
_parent._rotation = _parent._rotation - 8;
radian = (Math.PI * degree) / 180;
_parent._x = _parent._x + (Math.sin(radian) * 10);
_parent._y = _parent._y + 4;
if (_parent._y >= 550) {
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
count++;
if ((count == timing) && (_global.life >= 1)) {
_root.attaching(22, _parent._x, _parent._y);
_root.attaching(24, _parent._x, _parent._y);
_root.attaching(26, _parent._x, _parent._y);
timing = 40;
count = 0;
}
}
Instance of Symbol 26 MovieClip in Symbol 104 MovieClip [44] Frame 1
onClipEvent (load) {
_global.enemynum++;
life = 3;
degree = 0;
timing = 10;
count = 0;
}
onClipEvent (enterFrame) {
i = 50001;
while (i <= 50009) {
hit = "shot" + i;
if (this.hitTest(_root[hit]) && (life > 0)) {
if (_root[hit].flag == 0) {
_root.attaching(5, _root[hit]._x, _root[hit]._y - 10);
_root[hit].removeMovieClip();
life--;
} else {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 20);
_root[hit].removeMovieClip();
life = life - 1.5;
}
if (life <= 0) {
_global.score = _global.score + 150;
so = new Sound();
so.attachSound("lar");
so.setVolume(100);
so.start(0, 1);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_global.des++;
_parent.removeMovieClip();
}
}
i++;
}
}
onClipEvent (enterFrame) {
degree = degree - 8;
_parent._rotation = _parent._rotation + 8;
radian = (Math.PI * degree) / 180;
_parent._x = _parent._x + (Math.sin(radian) * 10);
_parent._y = _parent._y + 4;
if (_parent._y >= 550) {
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
count++;
if ((count == timing) && (_global.life >= 1)) {
_root.attaching(22, _parent._x, _parent._y);
_root.attaching(24, _parent._x, _parent._y);
_root.attaching(26, _parent._x, _parent._y);
timing = 40;
count = 0;
}
}
Instance of Symbol 106 MovieClip in Symbol 107 MovieClip [30] Frame 1
onClipEvent (load) {
xmove = _root.randomizer(-5, 5);
ymove = 10;
flag = 0;
}
onClipEvent (enterFrame) {
if (flag == 0) {
_parent._xscale = 50;
_parent._yscale = 50;
flag++;
} else {
_parent._xscale = 100;
_parent._yscale = 100;
flag = 0;
}
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + xmove;
_parent._y = _parent._y + ymove;
if (_parent.hitTest(_root.field)) {
_root.attaching(3, _parent._x, _parent._y);
_parent.removeMovieClip();
} else if (_parent.hitTest(_root.fighter._x, _root.fighter._y, false) && (_root.fighter.core.damage == 0)) {
_global.life--;
_root.fighter.core.damage = 1;
_root.attaching(35, _parent._x, _parent._y);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_parent.removeMovieClip();
}
if ((((_parent._x <= -10) || (_parent._x >= 410)) || (_parent._y <= -10)) || (_parent._y >= 560)) {
_parent.removeMovieClip();
}
}
Instance of Symbol 106 MovieClip in Symbol 108 MovieClip [13] Frame 1
onClipEvent (load) {
xmove = _root.intrandomizer(-3, 3);
ymove = 7;
flag = 0;
}
onClipEvent (enterFrame) {
if (flag == 0) {
_parent._xscale = 50;
_parent._yscale = 50;
flag++;
} else {
_parent._xscale = 100;
_parent._yscale = 100;
flag = 0;
}
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + xmove;
_parent._y = _parent._y + ymove;
if (_parent.hitTest(_root.field)) {
_root.attaching(3, _parent._x, _parent._y);
_parent.removeMovieClip();
} else if (_parent.hitTest(_root.fighter._x, _root.fighter._y, false) && (_root.fighter.core.damage == 0)) {
_global.life--;
_root.fighter.core.damage = 1;
_root.attaching(35, _parent._x, _parent._y);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_parent.removeMovieClip();
}
if ((((_parent._x <= -10) || (_parent._x >= 410)) || (_parent._y <= -10)) || (_parent._y >= 560)) {
_parent.removeMovieClip();
}
}
Instance of Symbol 106 MovieClip in Symbol 109 MovieClip [39] Frame 1
onClipEvent (load) {
bai = Math.pow(_root.fighter._x - _parent._x, 2) + Math.pow(_root.fighter._y - _parent._y, 2);
bai = Math.sqrt(bai);
xmove = ((5 * (_root.fighter._x - _parent._x)) / bai) + _root.randomizer(1, -1);
ymove = ((5 * (_root.fighter._y - _parent._y)) / bai) + _root.randomizer(1, -1);
flag = 0;
}
onClipEvent (enterFrame) {
if (flag == 0) {
_parent._xscale = 50;
_parent._yscale = 50;
flag++;
} else {
_parent._xscale = 100;
_parent._yscale = 100;
flag = 0;
}
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + (xmove * 2);
_parent._y = _parent._y + (ymove * 2);
if (_parent.hitTest(_root.field)) {
_root.attaching(3, _parent._x, _parent._y);
_parent.removeMovieClip();
} else if (_parent.hitTest(_root.fighter._x, _root.fighter._y, false) && (_root.fighter.core.damage == 0)) {
_global.life--;
_root.fighter.core.damage = 1;
_root.attaching(35, _parent._x, _parent._y);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_parent.removeMovieClip();
}
if ((((_parent._x <= -10) || (_parent._x >= 410)) || (_parent._y <= -10)) || (_parent._y >= 560)) {
_parent.removeMovieClip();
}
}
Instance of Symbol 106 MovieClip in Symbol 110 MovieClip [56] Frame 1
onClipEvent (load) {
bai = Math.pow(_root.fighter._x - _parent._x, 2) + Math.pow(_root.fighter._y - _parent._y, 2);
bai = Math.sqrt(bai);
xmove = (12 * (_root.fighter._x - _parent._x)) / bai;
ymove = (12 * (_root.fighter._y - _parent._y)) / bai;
flag = 0;
}
onClipEvent (enterFrame) {
if (flag == 0) {
_parent._xscale = 50;
_parent._yscale = 50;
flag++;
} else {
_parent._xscale = 100;
_parent._yscale = 100;
flag = 0;
}
if (_global.life <= 0) {
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + xmove;
_parent._y = _parent._y + ymove;
if (_parent.hitTest(_root.field)) {
_root.attaching(3, _parent._x, _parent._y);
_parent.removeMovieClip();
} else if (_parent.hitTest(_root.fighter._x, _root.fighter._y, false) && (_root.fighter.core.damage == 0)) {
_global.life--;
_root.fighter.core.damage = 1;
_root.attaching(35, _parent._x, _parent._y);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_parent.removeMovieClip();
}
if ((((_parent._x <= -10) || (_parent._x >= 410)) || (_parent._y <= -10)) || (_parent._y >= 560)) {
_parent.removeMovieClip();
}
}
Instance of Symbol 106 MovieClip in Symbol 111 MovieClip [11] Frame 1
onClipEvent (load) {
bai = Math.pow(_root.fighter._x - _parent._x, 2) + Math.pow(_root.fighter._y - _parent._y, 2);
bai = Math.sqrt(bai);
xmove = (4.5 * (_root.fighter._x - _parent._x)) / bai;
ymove = (4.5 * (_root.fighter._y - _parent._y)) / bai;
flag = 0;
}
onClipEvent (enterFrame) {
if (flag == 0) {
_parent._xscale = 50;
_parent._yscale = 50;
flag++;
} else {
_parent._xscale = 100;
_parent._yscale = 100;
flag = 0;
}
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + xmove;
_parent._y = _parent._y + ymove;
if (_parent.hitTest(_root.field)) {
_root.attaching(3, _parent._x, _parent._y);
_root.attaching(9, _parent._x, _parent._y);
_parent.removeMovieClip();
} else if (_parent.hitTest(_root.fighter._x, _root.fighter._y, false) && (_root.fighter.core.damage == 0)) {
_global.life--;
_root.fighter.core.damage = 1;
_root.attaching(35, _parent._x, _parent._y);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_parent.removeMovieClip();
}
if ((((_parent._x <= -10) || (_parent._x >= 410)) || (_parent._y <= -10)) || (_parent._y >= 560)) {
_parent.removeMovieClip();
}
}
Instance of Symbol 113 MovieClip in Symbol 116 MovieClip [20] Frame 1
onClipEvent (load) {
rotate = 92;
flag = 0;
}
onClipEvent (enterFrame) {
if (flag == 0) {
rotate = rotate - 0.2;
this._rotation = rotate;
if (rotate <= 89) {
flag = 1;
}
} else {
rotate = rotate + 0.2;
this._rotation = rotate;
if (rotate >= 91) {
flag = 0;
}
}
}
Instance of Symbol 26 MovieClip in Symbol 116 MovieClip [20] Frame 1
onClipEvent (load) {
_global.enemynum++;
life = 6;
degree = 0;
timing = 10;
count = 0;
flag = 0;
}
onClipEvent (enterFrame) {
i = 50001;
while (i <= 50009) {
hit = "shot" + i;
if (this.hitTest(_root[hit]) && (life > 0)) {
if (_root[hit].flag == 0) {
_root.attaching(5, _root[hit]._x, _root[hit]._y - 10);
_root[hit].removeMovieClip();
life--;
} else if (_root[hit].flag == 1) {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 20);
_root[hit].removeMovieClip();
life = life - 1.5;
} else {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 30);
_root[hit].removeMovieClip();
life = life - 2;
}
if (life <= 0) {
so = new Sound();
so.attachSound("bse");
so.setVolume(100);
so.start(0, 1);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 2) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_root.attaching(7, _parent._x, _parent._y);
_global.score = _global.score + 800;
_global.des++;
_root.attaching(74, _parent._x, _parent._y);
_parent.removeMovieClip();
}
}
i++;
}
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + 1.4;
_parent._x = _parent._x - 0.7;
if (_parent._y >= 560) {
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
count++;
if ((count == timing) && (_global.life >= 1)) {
count = 0;
if (flag == 0) {
_root.attaching(13, _parent._x - 21, _parent._y + 63);
_root.attaching(15, _parent._x - 21, _parent._y + 63);
flag = 1;
} else {
_root.attaching(13, _parent._x + 21, _parent._y + 63);
_root.attaching(15, _parent._x + 21, _parent._y + 63);
flag = 0;
}
}
}
Instance of Symbol 26 MovieClip in Symbol 116 MovieClip [20] Frame 1
onClipEvent (load) {
sizer = 100;
alpha = 100;
}
onClipEvent (enterFrame) {
sizer = sizer - 20;
alpha = alpha - 20;
this._xscale = sizer;
this._yscale = sizer;
this._alpha = alpha;
if (sizer == 40) {
sizer = 100;
alpha = 100;
}
}
Instance of Symbol 113 MovieClip "r" in Symbol 116 MovieClip [20] Frame 1
onClipEvent (load) {
rotate = 92;
flag = 0;
}
onClipEvent (enterFrame) {
if (flag == 0) {
rotate = rotate - 0.2;
this._rotation = rotate;
if (rotate <= 89) {
flag = 1;
}
} else {
rotate = rotate + 0.2;
this._rotation = rotate;
if (rotate >= 91) {
flag = 0;
}
}
}
Instance of Symbol 26 MovieClip in Symbol 117 MovieClip [14] Frame 1
onClipEvent (load) {
_global.enemynum++;
life = 6;
degree = 0;
timing = 10;
count = 0;
flag = 0;
}
onClipEvent (enterFrame) {
i = 50001;
while (i <= 50009) {
hit = "shot" + i;
if (this.hitTest(_root[hit]) && (life > 0)) {
if (_root[hit].flag == 0) {
_root.attaching(5, _root[hit]._x, _root[hit]._y - 10);
_root[hit].removeMovieClip();
life--;
} else if (_root[hit].flag == 1) {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 20);
_root[hit].removeMovieClip();
life = life - 1.5;
} else {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 30);
_root[hit].removeMovieClip();
life = life - 2;
}
if (life <= 0) {
so = new Sound();
so.attachSound("bse");
so.setVolume(100);
so.start(0, 1);
i = 1;
while (i <= 2) {
_root.attaching(3, _parent._x, _parent._y);
i++;
}
i = 0;
while (i <= 2) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_root.attaching(7, _parent._x, _parent._y);
_global.score = _global.score + 1000;
_global.des++;
_parent.removeMovieClip();
}
}
i++;
}
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + 1.4;
_parent._x = _parent._x + 0.7;
if (_parent._y >= 560) {
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
count++;
if (count == timing) {
count = 0;
if (flag == 0) {
_root.attaching(13, _parent._x - 21, _parent._y + 63);
_root.attaching(15, _parent._x - 21, _parent._y + 63);
flag = 1;
} else {
_root.attaching(13, _parent._x + 21, _parent._y + 63);
_root.attaching(15, _parent._x + 21, _parent._y + 63);
flag = 0;
}
}
}
Instance of Symbol 113 MovieClip in Symbol 117 MovieClip [14] Frame 1
onClipEvent (load) {
rotate = 92;
flag = 0;
}
onClipEvent (enterFrame) {
if (flag == 0) {
rotate = rotate - 0.2;
this._rotation = rotate;
if (rotate <= 87) {
flag = 1;
}
} else {
rotate = rotate + 0.2;
this._rotation = rotate;
if (rotate >= 93) {
flag = 0;
}
}
}
Instance of Symbol 26 MovieClip in Symbol 117 MovieClip [14] Frame 1
onClipEvent (load) {
sizer = 100;
alpha = 100;
}
onClipEvent (enterFrame) {
sizer = sizer - 20;
alpha = alpha - 20;
this._xscale = sizer;
this._yscale = sizer;
this._alpha = alpha;
if (sizer == 40) {
sizer = 100;
alpha = 100;
}
}
Instance of Symbol 113 MovieClip "r" in Symbol 117 MovieClip [14] Frame 1
onClipEvent (load) {
rotate = 92;
flag = 0;
}
onClipEvent (enterFrame) {
if (flag == 0) {
rotate = rotate - 0.2;
this._rotation = rotate;
if (rotate <= 87) {
flag = 1;
}
} else {
rotate = rotate + 0.2;
this._rotation = rotate;
if (rotate >= 93) {
flag = 0;
}
}
}
Symbol 124 MovieClip [29] Frame 40
stop();
Instance of Symbol 123 MovieClip in Symbol 124 MovieClip [29] Frame 40
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count++;
if (count >= 60) {
_parent._alpha = _parent._alpha - 10;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 51 MovieClip in Symbol 126 MovieClip [33] Frame 1
onClipEvent (load) {
count = 0;
flag = 0;
flag2 = 0;
_parent._alpha = 0;
_parent._xscale = 0;
_parent._yscale = 0;
_global.soundflag = 1;
}
onClipEvent (enterFrame) {
_parent._rotation = _parent._rotation + 6;
if ((_parent._alpha <= 100) && (flag == 0)) {
_parent._alpha = _parent._alpha + 2;
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
}
if (_parent._alpha >= 50) {
count++;
if (count == 5) {
_root.attaching(31, _parent._x, _parent._y);
flag2++;
count = 0;
}
}
if (flag2 == 2) {
_root.attaching(32, _parent._x, _parent._y);
flag2++;
} else if ((flag2 == 19) && (_global.counter == 7)) {
sounder = new Sound();
sounder.attachSound("so2");
sounder.start(0.1);
_root.attaching(27, _parent._x, _parent._y);
flag2++;
} else if ((flag2 == 19) && (_global.counter == 14)) {
sounder = new Sound();
sounder.attachSound("so2");
sounder.start(0.1);
_root.attaching(46, _parent._x, _parent._y);
flag2++;
} else if ((flag2 == 19) && (_global.counter == 21)) {
sounder = new Sound();
sounder.attachSound("so2");
sounder.start(0.1);
_root.attaching(70, _parent._x, _parent._y);
flag2++;
} else if (flag2 >= 20) {
flag = 1;
_parent._alpha = _parent._alpha - 4;
_parent._yscale = _parent._yscale - 4;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 26 MovieClip in Symbol 129 MovieClip [38] Frame 1
onClipEvent (load) {
_global.enemynum++;
_parent._xscale = 0;
_parent._yscale = 0;
_parent._alpha = 0;
_parent._rotation = (57.2957795130823 * Math.atan2(_root.fighter._y - _parent._y, _root.fighter._x - _parent._x)) - 90;
life = 3;
degree = 0;
timing = 5;
count = 0;
flag = 0;
speed = 0.2;
}
onClipEvent (enterFrame) {
if (_parent._xscale < 100) {
_parent._xscale = _parent._xscale + 5;
_parent._yscale = _parent._yscale + 5;
_parent._alpha = _parent._alpha + 5;
} else if ((_parent._xscale >= 100) && (flag == 0)) {
flag++;
}
}
onClipEvent (enterFrame) {
i = 50001;
while (i <= 50009) {
hit = "shot" + i;
if (this.hitTest(_root[hit]) && (life > 0)) {
if (_root[hit].flag == 0) {
_root.attaching(5, _root[hit]._x, _root[hit]._y - 10);
_root[hit].removeMovieClip();
life--;
} else if (_root[hit].flag == 1) {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 20);
_root[hit].removeMovieClip();
life = life - 1.5;
} else {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 30);
_root[hit].removeMovieClip();
life = life - 2;
}
if (life <= 0) {
so = new Sound();
so.attachSound("lar");
so.setVolume(100);
so.start(0, 1);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_global.score = _global.score + 120;
_global.des++;
_parent.removeMovieClip();
}
}
i++;
}
}
onClipEvent (enterFrame) {
if (flag <= 4) {
_parent._rotation = (57.2957795130823 * Math.atan2(_root.fighter._y - _parent._y, _root.fighter._x - _parent._x)) - 90;
} else if (flag == 5) {
bai = Math.pow(_root.fighter._x - _parent._x, 2) + Math.pow(_root.fighter._y - _parent._y, 2);
bai = Math.sqrt(bai);
xmove = (4 * (_root.fighter._x - _parent._x)) / bai;
ymove = (4 * (_root.fighter._y - _parent._y)) / bai;
flag++;
}
if (count >= 10) {
speed = speed + 0.07;
_parent._x = _parent._x + (xmove * speed);
_parent._y = _parent._y + (ymove * speed);
if ((((_parent._x >= 410) || (_parent._x <= -10)) || (_parent._y >= 560)) || (_parent._y <= -10)) {
_parent.removeMovieClip();
}
}
}
onClipEvent (enterFrame) {
if (flag != 0) {
count++;
if (((count == timing) && (flag <= 4)) && (_global.life >= 1)) {
count = 0;
flag++;
_root.attaching(39, _parent._x, _parent._y);
}
}
}
Instance of Symbol 26 MovieClip in Symbol 130 MovieClip [40] Frame 1
onClipEvent (load) {
_global.enemynum++;
_parent._xscale = 0;
_parent._rotation = 90;
life = 2;
degree = 0;
timing = 20;
count = 0;
flag = 0;
}
onClipEvent (enterFrame) {
if (_parent._xscale < 100) {
_parent._xscale = _parent._xscale + 5;
}
}
onClipEvent (enterFrame) {
i = 50001;
while (i <= 50009) {
hit = "shot" + i;
if (this.hitTest(_root[hit]) && (life > 0)) {
if (_root[hit].flag == 0) {
_root.attaching(5, _root[hit]._x, _root[hit]._y - 10);
_root[hit].removeMovieClip();
life--;
} else if (_root[hit].flag == 1) {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 20);
_root[hit].removeMovieClip();
life = life - 1.5;
} else {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 30);
_root[hit].removeMovieClip();
life = life - 2;
}
if (life <= 0) {
so = new Sound();
so.attachSound("lar");
so.setVolume(100);
so.start(0, 1);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_global.score = _global.score + 120;
_global.des++;
_parent.removeMovieClip();
}
}
i++;
}
}
onClipEvent (enterFrame) {
_parent._x = _parent._x - 5;
if (_parent._x <= -10) {
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
count++;
if ((count == timing) && (_global.life >= 1)) {
count = 0;
timing = _root.intrandomizer(15, 40);
_root.attaching(11, _parent._x, _parent._y);
}
}
Instance of Symbol 26 MovieClip in Symbol 131 MovieClip [17] Frame 1
onClipEvent (load) {
_global.enemynum++;
_parent._xscale = 0;
_parent._rotation = -90;
life = 2;
degree = 0;
timing = 10;
count = 0;
flag = 0;
}
onClipEvent (enterFrame) {
if (_parent._xscale < 100) {
_parent._xscale = _parent._xscale + 5;
}
}
onClipEvent (enterFrame) {
i = 50001;
while (i <= 50009) {
hit = "shot" + i;
if (this.hitTest(_root[hit]) && (life > 0)) {
if (_root[hit].flag == 0) {
_root.attaching(5, _root[hit]._x, _root[hit]._y - 10);
_root[hit].removeMovieClip();
life--;
} else if (_root[hit].flag == 1) {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 20);
_root[hit].removeMovieClip();
life = life - 1.5;
} else {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 30);
_root[hit].removeMovieClip();
life = life - 2;
}
if (life <= 0) {
so = new Sound();
so.attachSound("lar");
so.setVolume(100);
so.start(0, 1);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 1) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_global.score = _global.score + 120;
_global.des++;
_parent.removeMovieClip();
}
}
i++;
}
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + 5;
if (_parent._x >= 410) {
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
count++;
if ((count == timing) && (_global.life >= 1)) {
count = 0;
timing = _root.intrandomizer(8, 30);
_root.attaching(11, _parent._x, _parent._y);
}
}
Symbol 135 MovieClip [52] Frame 1
this._name = "score";
this.swapDepths(25001);
inc = 0;
Instance of Symbol 26 MovieClip in Symbol 138 MovieClip [27] Frame 1
onClipEvent (load) {
_parent._name = "boss1";
_global.enemynum++;
objcolor = new Color(_parent);
flag = 0;
destroy = 0;
descount = 0;
_parent._yscale = 0;
_parent._alpha = 0;
_parent._xscale = 50;
_global.bosslife = 120;
_root.attaching(82, 336.5, 54.3);
degree = 90;
timing = 17;
count = 0;
moving = 0;
shotflag = 0;
}
onClipEvent (enterFrame) {
moving++;
if (_parent._yscale <= 100) {
_parent._yscale = _parent._yscale + 2;
_parent._alpha = _parent._alpha + 2;
_parent._xscale = _parent._xscale + 1;
if (moving == 48) {
_root.attaching(29, _parent._x, _parent._y);
}
}
if (moving == 140) {
_root.attaching(2, _parent._x - 41.9, _parent._y + 19.6);
_root.attaching(2, _parent._x + 31.5, _parent._y + 19.6);
_root.attaching(2, _parent._x, _parent._y);
_global.soundflag = 3;
}
if (flag == 0) {
this._alpha = this._alpha - 5;
if (this._alpha <= 30) {
flag = 1;
}
} else {
this._alpha = this._alpha + 5;
if (this._alpha >= 90) {
flag = 0;
}
}
}
onClipEvent (enterFrame) {
if (destroy == 1) {
_global.score = _global.score + 3500;
so = new Sound();
so.attachSound("so4");
so.setVolume(100);
so.start(0, 1);
destroy++;
} else if (destroy >= 1) {
destroy++;
_parent._xscale = _parent._xscale + 1;
_parent._yscale = _parent._yscale - 2.5;
_parent._alpha--;
r = r - 2;
g = g - 2;
b = b - 2;
objcolor.setRGB(((r * 65536) + (g * 256)) + b);
}
if (destroy >= 8) {
attachx = _root.intrandomizer(_parent._x - 100, _parent._x + 100);
_root.attaching(3, attachx, _parent._y);
attachx = _root.intrandomizer(_parent._x - 100, _parent._x + 100);
_root.attaching(9, attachx, _parent._y);
_root.attaching(31, attachx, _parent._y);
destroy = 2;
descount++;
}
if (descount >= 20) {
_root.attaching(36, _parent._x, _parent._y);
_root.attaching(7, _parent._x, _parent._y);
_global.des++;
_global.counter++;
_root.enemymaster.timing = 0;
_root.enemymaster.flag = 0;
_root.enemymaster.count = 0;
_parent.removeMovieClip();
}
i = 50001;
while (i <= 50009) {
hit = "shot" + i;
if (this.hitTest(_root[hit]) && (_global.bosslife > 0)) {
if (_root[hit].flag == 0) {
_root.attaching(5, _root[hit]._x, _root[hit]._y - 10);
_root[hit].removeMovieClip();
_global.bosslife--;
} else if (_root[hit].flag == 1) {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 30);
_root[hit].removeMovieClip();
_global.bosslife = _global.bosslife - 1.5;
} else {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 30);
_root[hit].removeMovieClip();
_global.bosslife = _global.bosslife - 2;
}
if (_global.bosslife <= 0) {
destroy = 1;
break;
}
}
i++;
}
}
onClipEvent (enterFrame) {
if ((moving >= 160) && (destroy == 0)) {
degree++;
radian = (Math.PI/180) * degree;
_parent._x = _parent._x + (Math.sin(radian) * 1.3);
_parent._y = _parent._y + (Math.cos(radian) / 2);
}
}
onClipEvent (enterFrame) {
if (((moving >= 160) && (destroy == 0)) && (_global.life != 0)) {
count++;
if ((shotflag >= 10) && (count == 3)) {
count = 0;
_root.attaching(30, _parent._x, _parent._y - 20);
shotflag++;
if (shotflag >= 60) {
shotflag = 0;
}
} else if (count == timing) {
count = 0;
sounder = new Sound();
sounder.attachSound("so3");
sounder.start(0.1);
shotflag++;
i = 22;
while (i <= 26) {
_root.attaching(i, _parent._x, _parent._y - 20);
i++;
}
}
}
}
Instance of Symbol 51 MovieClip in Symbol 140 MovieClip [76] Frame 1
onClipEvent (load) {
count = 0;
_parent._x = _root.fighter._x;
_parent._y = _root.fighter._y + 50;
_parent._alpha = 0;
}
onClipEvent (enterFrame) {
count++;
_parent._x = _root.fighter._x;
_parent._y = _root.fighter._y + 50;
if ((_parent._alpha <= 100) && (count <= 12)) {
_parent._alpha = _parent._alpha + 10;
}
if (count >= 20) {
_parent._alpha = _parent._alpha - 10;
if (_parent._alpha <= 10) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 51 MovieClip in Symbol 142 MovieClip [75] Frame 1
onClipEvent (load) {
count = 0;
_parent._x = _root.fighter._x;
_parent._y = _root.fighter._y + 50;
_parent._alpha = 0;
}
onClipEvent (enterFrame) {
count++;
_parent._x = _root.fighter._x;
_parent._y = _root.fighter._y + 50;
if ((_parent._alpha <= 100) && (count <= 12)) {
_parent._alpha = _parent._alpha + 10;
}
if (count >= 20) {
_parent._alpha = _parent._alpha - 10;
if (_parent._alpha <= 10) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 51 MovieClip in Symbol 144 MovieClip [73] Frame 1
onClipEvent (load) {
count = 0;
_parent._x = _root.fighter._x;
_parent._y = _root.fighter._y + 50;
_parent._alpha = 0;
}
onClipEvent (enterFrame) {
count++;
_parent._x = _root.fighter._x;
_parent._y = _root.fighter._y + 50;
if ((_parent._alpha <= 100) && (count <= 12)) {
_parent._alpha = _parent._alpha + 10;
}
if (count >= 20) {
_parent._alpha = _parent._alpha - 10;
if (_parent._alpha <= 10) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 51 MovieClip in Symbol 146 MovieClip [72] Frame 1
onClipEvent (load) {
count = 0;
_parent._x = _root.fighter._x;
_parent._y = _root.fighter._y + 50;
_parent._alpha = 0;
}
onClipEvent (enterFrame) {
count++;
_parent._x = _root.fighter._x;
_parent._y = _root.fighter._y + 50;
if ((_parent._alpha <= 100) && (count <= 12)) {
_parent._alpha = _parent._alpha + 10;
}
if (count >= 20) {
_parent._alpha = _parent._alpha - 10;
if (_parent._alpha <= 10) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 51 MovieClip in Symbol 148 MovieClip [63] Frame 1
onClipEvent (load) {
count = 0;
_parent._x = _root.fighter._x;
_parent._y = _root.fighter._y + 50;
_parent._alpha = 0;
}
onClipEvent (enterFrame) {
count++;
_parent._x = _root.fighter._x;
_parent._y = _root.fighter._y + 50;
if ((_parent._alpha <= 100) && (count <= 12)) {
_parent._alpha = _parent._alpha + 10;
}
if (count >= 20) {
_parent._alpha = _parent._alpha - 10;
if (_parent._alpha <= 10) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 51 MovieClip in Symbol 150 MovieClip [64] Frame 1
onClipEvent (load) {
count = 0;
_parent._x = _root.fighter._x;
_parent._y = _root.fighter._y + 50;
_parent._alpha = 0;
}
onClipEvent (enterFrame) {
count++;
_parent._x = _root.fighter._x;
_parent._y = _root.fighter._y + 50;
if ((_parent._alpha <= 100) && (count <= 12)) {
_parent._alpha = _parent._alpha + 10;
}
if (count >= 20) {
_parent._alpha = _parent._alpha - 10;
if (_parent._alpha <= 10) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 51 MovieClip in Symbol 152 MovieClip [35] Frame 1
onClipEvent (load) {
count = 0;
_parent._x = _root.fighter._x;
_parent._y = _root.fighter._y + 50;
_parent._alpha = 0;
}
onClipEvent (enterFrame) {
count++;
_parent._x = _root.fighter._x;
_parent._y = _root.fighter._y + 50;
if ((_parent._alpha <= 100) && (count <= 12)) {
_parent._alpha = _parent._alpha + 10;
}
if (count >= 20) {
_parent._alpha = _parent._alpha - 10;
if (_parent._alpha <= 10) {
_parent.removeMovieClip();
}
}
}
Symbol 163 MovieClip [37] Frame 1
_global.rate = Math.floor((_global.des / _global.enemynum) * 100);
_global.bonus = (_global.rate * 20) + (_global.life * 200);
_global.score = _global.score + _global.bonus;
rate.rate = _global.rate;
bonus.bonus = _global.bonus;
_global.soundflag = 1;
Instance of Symbol 51 MovieClip in Symbol 163 MovieClip [37] Frame 1
onClipEvent (load) {
_parent._alpha = 0;
count = 0;
flag = 0;
}
onClipEvent (enterFrame) {
count++;
if (flag == 0) {
if (_parent._alpha <= 99) {
_parent._alpha = _parent._alpha + 5;
} else {
flag = 1;
}
} else if (count >= 180) {
_parent._alpha = _parent._alpha - 10;
if (_parent._alpha <= 0) {
_global.counter++;
_root.enemymaster.timing = 0;
_root.enemymaster.flag = 0;
_root.enemymaster.count = 0;
_global.soundflag = 2;
_parent.removeMovieClip();
}
}
}
Instance of Symbol 160 MovieClip "rate" in Symbol 163 MovieClip [37] Frame 1
onClipEvent (enterFrame) {
if (_parent._alpha <= 100) {
this.removeMovieClip();
}
}
Instance of Symbol 162 MovieClip "bonus" in Symbol 163 MovieClip [37] Frame 1
onClipEvent (enterFrame) {
if (_parent._alpha < 100) {
this.removeMovieClip();
}
}
Instance of Symbol 26 MovieClip in Symbol 163 MovieClip [37] Frame 1
onClipEvent (load) {
if (_global.life < 4) {
this._alpha = 0;
}
}
Instance of Symbol 26 MovieClip in Symbol 163 MovieClip [37] Frame 1
onClipEvent (load) {
if (_global.life < 3) {
this._alpha = 0;
}
}
Instance of Symbol 26 MovieClip in Symbol 163 MovieClip [37] Frame 1
onClipEvent (load) {
if (_global.life < 2) {
this._alpha = 0;
}
}
Instance of Symbol 26 MovieClip in Symbol 163 MovieClip [37] Frame 1
onClipEvent (load) {
if (_global.life < 5) {
this._alpha = 0;
}
}
Instance of Symbol 26 MovieClip in Symbol 169 MovieClip [45] Frame 1
onClipEvent (load) {
_global.enemynum++;
life = 6;
degree = 0;
timing = 40;
count = 0;
flag = 0;
speed = 1;
_parent._xscale = 0;
_parent._alpha = 40;
}
onClipEvent (enterFrame) {
i = 50001;
while (i <= 50009) {
hit = "shot" + i;
if (this.hitTest(_root[hit]) && (life > 0)) {
if (_root[hit].flag == 0) {
_root.attaching(5, _root[hit]._x, _root[hit]._y - 10);
_root[hit].removeMovieClip();
life--;
} else if (_root[hit].flag == 1) {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 20);
_root[hit].removeMovieClip();
life = life - 1.5;
} else {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 30);
_root[hit].removeMovieClip();
life = life - 2;
}
if (life <= 0) {
so = new Sound();
so.attachSound("bse");
so.setVolume(100);
so.start(0, 1);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 2) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_root.attaching(7, _parent._x, _parent._y);
_global.score = _global.score + 800;
_global.des++;
_global.lifecount++;
if (_global.lifecount >= 5) {
_global.lifecount = 0;
_root.attaching(74, _parent._x, _parent._y);
}
_parent.removeMovieClip();
}
}
i++;
}
}
onClipEvent (enterFrame) {
if (_parent._xscale < 100) {
_parent._xscale = _parent._xscale + 5;
_parent._alpha = _parent._alpha + 3;
}
_parent._y = _parent._y - speed;
speed = speed + 0.04;
if (_parent._y <= -10) {
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
count++;
if (count >= timing) {
flag++;
if (flag == 5) {
_root.attaching(39, _parent._x, _parent._y);
flag = 0;
}
if (count >= 70) {
count = 0;
}
}
}
Symbol 176 MovieClip [46] Frame 1
stop();
Instance of Symbol 26 MovieClip "core" in Symbol 176 MovieClip [46] Frame 1
onClipEvent (load) {
_parent._name = "boss2";
sounder = new Sound();
_global.enemynum++;
objcolor = new Color(_parent);
flag = 0;
destroy = 0;
descount = 0;
_parent._yscale = 0;
_parent._alpha = 0;
_parent._xscale = 50;
_global.bosslife = 300;
_root.attaching(82, 336.5, 54.3);
degree = 90;
timing = 17;
count = 0;
moving = 0;
shotflag = 0;
flag2 = 0;
xmove = 0;
rand1 = _root.intrandomizer(200, 300);
rand2 = _root.intrandomize(4, 6);
}
onClipEvent (enterFrame) {
moving++;
if (_parent._yscale <= 100) {
_parent._yscale = _parent._yscale + 2;
_parent._alpha = _parent._alpha + 2;
_parent._xscale = _parent._xscale + 1;
if (moving == 48) {
_root.attaching(29, _parent._x, _parent._y);
}
}
if (moving == 140) {
_root.attaching(2, _parent._x - 41.9, _parent._y - 19.6);
_root.attaching(2, _parent._x + 31.5, _parent._y - 19.6);
_root.attaching(2, _parent._x, _parent._y);
_global.soundflag = 3;
}
if (flag == 0) {
this._alpha = this._alpha - 5;
if (this._alpha <= 30) {
flag = 1;
}
} else {
this._alpha = this._alpha + 5;
if (this._alpha >= 90) {
flag = 0;
}
}
}
onClipEvent (enterFrame) {
if (destroy == 1) {
_global.score = _global.score + 3500;
so = new Sound();
so.attachSound("so4");
so.setVolume(100);
so.start(0, 1);
destroy++;
} else if (destroy >= 1) {
destroy++;
_parent._xscale = _parent._xscale + 1;
_parent._yscale = _parent._yscale - 2.5;
_parent._alpha--;
r = r - 2;
g = g - 2;
b = b - 2;
objcolor.setRGB(((r * 65536) + (g * 256)) + b);
}
if (destroy >= 8) {
attachx = _root.intrandomizer(_parent._x - 100, _parent._x + 100);
_root.attaching(3, attachx, _parent._y);
attachx = _root.intrandomizer(_parent._x - 100, _parent._x + 100);
_root.attaching(9, attachx, _parent._y);
_root.attaching(31, attachx, _parent._y);
destroy = 2;
descount++;
}
if (descount >= 20) {
_root.attaching(36, _parent._x, _parent._y);
_root.attaching(7, _parent._x, _parent._y);
_global.des++;
_global.counter++;
_root.enemymaster.timing = 0;
_root.enemymaster.flag = 0;
_root.enemymaster.count = 0;
_parent.removeMovieClip();
}
i = 50001;
while (i <= 50009) {
hit = "shot" + i;
if (this.hitTest(_root[hit]) && (_global.bosslife > 0)) {
if (_root[hit].flag == 0) {
_root.attaching(5, _root[hit]._x, _root[hit]._y - 10);
_root[hit].removeMovieClip();
_global.bosslife--;
} else if (_root[hit].flag == 1) {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 20);
_root[hit].removeMovieClip();
_global.bosslife = _global.bosslife - 1.5;
} else {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 30);
_root[hit].removeMovieClip();
_global.bosslife = _global.bosslife - 3;
}
if (_global.bosslife <= 0) {
destroy = 1;
break;
}
}
i++;
}
}
onClipEvent (enterFrame) {
if (((moving >= 160) && (destroy == 0)) && (_parent._currentframe != 3)) {
degree++;
radian = (Math.PI/180) * degree;
_parent._x = _parent._x + (Math.sin(radian) * 1.3);
_parent._y = _parent._y + (Math.cos(radian) / 2);
}
}
onClipEvent (enterFrame) {
if (((moving >= 160) && (destroy == 0)) && (_global.life != 0)) {
count++;
if (_parent._currentframe == 1) {
shotflag++;
if ((shotflag == 5) && (count <= 200)) {
_root.attaching(39, _parent._x, _parent._y);
shotflag = 0;
}
if (count == 220) {
count = 0;
shotflag = 22;
_root.attaching(36, _parent._x, _parent._y);
sounder.attachSound("so1");
sounder.start(0, 1);
_parent.nextFrame();
}
}
if (_parent._currentframe == 2) {
if ((count == 20) && (flag2 <= 5)) {
count = 10;
_root.attaching(shotflag, _parent._x, _parent._y + 50);
if (shotflag <= 25) {
_root.attaching(shotflag + 1, _parent._x, _parent._y + 80);
} else if (shotflag == 26) {
_root.attaching(22, _parent._x, _parent._y + 80);
}
shotflag++;
if (shotflag == 27) {
shotflag = 22;
flag2++;
}
}
if (count == 40) {
_root.attaching(36, _parent._x, _parent._y);
shotflag = 0;
flag2 = 0;
count = 0;
_parent.nextFrame();
sounder.attachSound("so1");
sounder.start(0, 1);
}
}
if (_parent._currentframe == 3) {
if (count == 10) {
_root.attaching(48, _parent._x - 70, _parent._y - 27.5);
}
if (count == 25) {
_root.attaching(48, _parent._x + 70, _parent._y - 27.5);
} else if (count == 40) {
_root.attaching(48, _parent._x - 26, _parent._y - 68);
} else if (count == 55) {
_root.attaching(48, _parent._x + 26, _parent._y - 68);
} else if (count == 70) {
_root.attaching(48, _parent._x - 30, _parent._y + 25);
} else if (count == 85) {
_root.attaching(48, _parent._x + 30, _parent._y + 25);
} else if (count == 200) {
_parent._x = _parent._x + 18;
_parent._y = _parent._y + 15;
} else if (count == 230) {
_root.attaching(55, _parent._x, _parent._y);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 2) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
} else if (count == 280) {
_root.attaching(36, _parent._x, _parent._y);
shotflag = 0;
count = 0;
sounder.attachSound("so1");
sounder.start(0, 1);
_parent.gotoAndPlay(1);
}
if ((count >= 85) && (count <= 115)) {
xmove = xmove + 0.5;
_parent._y = _parent._y - xmove;
} else if ((count >= 199) && (count <= 230)) {
shotflag++;
_parent._y = _parent._y + xmove;
xmove = xmove - 0.5;
if (shotflag == 5) {
shotflag = 0;
_root.attaching(3, _parent._x, _parent._y);
}
}
}
}
}
Instance of Symbol 173 MovieClip "wing2" in Symbol 176 MovieClip [46] Frame 1
onClipEvent (enterFrame) {
if ((_parent.core.count <= 20) && (_parent.core.count >= 1)) {
this._x = this._x - 0.5;
this._y = this._y - 0.5;
}
}
Instance of Symbol 173 MovieClip "wing1" in Symbol 176 MovieClip [46] Frame 1
onClipEvent (enterFrame) {
if ((_parent.core.count <= 20) && (_parent.core.count >= 1)) {
this._x = this._x + 0.5;
this._y = this._y - 0.5;
}
}
Instance of Symbol 76 MovieClip in Symbol 176 MovieClip [46] Frame 1
onClipEvent (enterFrame) {
if ((_parent.core.count <= 20) && (_parent.core.count >= 1)) {
this._x = this._x + 0.5;
this._y = this._y - 0.5;
}
}
Instance of Symbol 76 MovieClip in Symbol 176 MovieClip [46] Frame 1
onClipEvent (enterFrame) {
if ((_parent.core.count <= 20) && (_parent.core.count >= 1)) {
this._x = this._x - 0.5;
this._y = this._y - 0.5;
}
}
Symbol 176 MovieClip [46] Frame 2
stop();
Instance of Symbol 175 MovieClip "sword" in Symbol 176 MovieClip [46] Frame 2
onClipEvent (load) {
flag = 0;
}
onClipEvent (enterFrame) {
if (flag == 0) {
this._alpha = this._alpha - 2;
if (this._alpha <= 20) {
flag = 1;
}
} else if (flag == 1) {
this._alpha = this._alpha + 2;
if (this._alpha >= 80) {
flag = 0;
}
}
}
Instance of Symbol 76 MovieClip in Symbol 176 MovieClip [46] Frame 3
onClipEvent (enterFrame) {
if (_parent.core.count == 200) {
this._xscale = this._xscale + 200;
this._yscale = this._yscale + 200;
}
}
Instance of Symbol 76 MovieClip in Symbol 176 MovieClip [46] Frame 3
onClipEvent (enterFrame) {
if (_parent.core.count == 200) {
this._xscale = this._xscale + 200;
this._yscale = this._yscale + 200;
}
}
Instance of Symbol 76 MovieClip in Symbol 176 MovieClip [46] Frame 3
onClipEvent (enterFrame) {
if (_parent.core.count == 85) {
this._xscale = this._xscale + 400;
this._yscale = this._yscale + 200;
} else if (_parent.core.count == 115) {
this._xscale = this._xscale - 400;
this._yscale = this._yscale - 200;
}
}
Instance of Symbol 76 MovieClip in Symbol 176 MovieClip [46] Frame 3
onClipEvent (enterFrame) {
if (_parent.core.count == 85) {
this._xscale = this._xscale + 400;
this._yscale = this._yscale + 200;
} else if (_parent.core.count == 115) {
this._xscale = this._xscale - 400;
this._yscale = this._yscale - 200;
}
}
Instance of Symbol 171 MovieClip "wing1" in Symbol 176 MovieClip [46] Frame 3
onClipEvent (enterFrame) {
if ((_parent.core.count >= 65) && (_parent.core.count <= 85)) {
this._rotation = this._rotation + 1;
this._x = this._x + 0.5;
this._y = this._y - 0.2;
} else if (_parent.core.count == 120) {
this._x = this._x - 10;
this._y = this._y + 4;
} else if (_parent.core.count == 200) {
this._x = this._x - 15;
this._rotation = this._rotation - 60;
}
}
Instance of Symbol 173 MovieClip "wing3" in Symbol 176 MovieClip [46] Frame 3
onClipEvent (enterFrame) {
if ((_parent.core.count >= 65) && (_parent.core.count <= 85)) {
this._rotation = this._rotation + 1;
} else if (_parent.core.count == 200) {
this._x = this._x - 10;
this._rotation = this._rotation - 90;
this._y = this._y - 20;
}
}
Instance of Symbol 171 MovieClip "wing2" in Symbol 176 MovieClip [46] Frame 3
onClipEvent (enterFrame) {
if ((_parent.core.count >= 65) && (_parent.core.count <= 85)) {
this._rotation = this._rotation - 1;
this._x = this._x - 0.5;
this._y = this._y - 0.2;
} else if (_parent.core.count == 120) {
this._x = this._x + 10;
this._y = this._y + 4;
} else if (_parent.core.count == 200) {
this._x = this._x + 15;
this._rotation = this._rotation + 60;
}
}
Instance of Symbol 173 MovieClip "wing4" in Symbol 176 MovieClip [46] Frame 3
onClipEvent (enterFrame) {
if ((_parent.core.count >= 65) && (_parent.core.count <= 85)) {
this._rotation = this._rotation - 1;
} else if (_parent.core.count == 200) {
this._x = this._x + 10;
this._rotation = this._rotation + 90;
this._y = this._y - 20;
}
}
Symbol 181 MovieClip Frame 1
stop();
if (_global.life > 0) {
this.gotoAndStop(2);
}
Symbol 182 MovieClip [50] Frame 1
finalscore = _root.score.inc + _global.score;
Instance of Symbol 51 MovieClip in Symbol 182 MovieClip [50] Frame 1
onClipEvent (load) {
_parent._alpha = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((_parent._alpha < 100) && (count <= 20)) {
_parent._alpha = _parent._alpha + 5;
} else if (count >= 250) {
_parent._alpha = _parent._alpha - 5;
if (_parent._alpha <= 0) {
_global.triger = 0;
_global.life = 3;
_global.score = 0;
_global.scoreinc = 0;
_global.enemynum = 0;
_global.des = 0;
_global.rate = 0;
_global.bonus = 0;
_global.option = 3;
Mouse.hide();
_global.counter = 0;
stopAllSounds();
_root.fighter.removeMovieClip();
_root.targeter.removeMovieClip();
_root.energy.removeMovieClip();
_root.boss1.removeMovieClip();
_root.boss2.removeMovieClip();
_root.score.removeMovieClip();
_root.option.removeMovieClip();
_root.bossenergy.removeMovieClip();
_root.gotoAndPlay(1);
_parent.removeMovieClip();
}
}
}
Instance of Symbol 184 MovieClip in Symbol 185 MovieClip [58] Frame 1
onClipEvent (load) {
this._alpha = 80;
}
onClipEvent (enterFrame) {
this._xscale = this._xscale - 10;
this._yscale = this._yscale - 10;
this._alpha = this._alpha - 8;
if (this._alpha <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 184 MovieClip in Symbol 186 MovieClip [59] Frame 1
onClipEvent (load) {
count = 0;
_root.attaching(69, _parent._x, _parent._y);
this._xscale = 10;
}
onClipEvent (enterFrame) {
count++;
this._xscale = this._xscale + 4;
this._yscale = this._yscale + 1.5;
_parent._y = _parent._y + 8;
if (_parent.hitTest(_root.field)) {
_root.attaching(3, _parent._x, _parent._y);
_parent.removeMovieClip();
} else if (_parent.hitTest(_root.fighter._x, _root.fighter._y, true)) {
_global.life--;
_root.attaching(35, _parent._x, _parent._y);
i = 1;
while (i <= 2) {
_root.attaching(3, _parent._x, _parent._y);
i++;
}
i = 0;
while (i <= 3) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_parent.removeMovieClip();
}
if (_parent._y >= 570) {
_parent.removeMovieClip();
}
}
Instance of Symbol 26 MovieClip in Symbol 189 MovieClip [61] Frame 1
onClipEvent (load) {
count = 0;
interval = 0;
this._name = left;
_global.oplflag = 1;
_parent._alpha = 0;
_root.attaching(2, _parent._x, _parent._y);
if (_global.fighterflag == 0) {
breakcount = 600;
} else {
breakcount = 700;
}
}
onClipEvent (enterFrame) {
if ((count == breakcount) || (_global.life <= 0)) {
i = 0;
while (i <= 5) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_global.oplflag = 0;
_root.attaching(2, _parent._x, _parent._y);
_parent.removeMovieClip();
} else if (_parent._alpha <= 100) {
_parent._alpha = _parent._alpha + 5;
}
if (_root._currentframe == 1) {
_global.oprflag = 0;
_parent.removeMovieClip();
}
count++;
_parent._x = _root.fighter._x + 30;
_parent._y = _root.fighter._y + 20;
}
Instance of Symbol 26 MovieClip in Symbol 190 MovieClip [60] Frame 1
onClipEvent (load) {
count = 0;
interval = 0;
this._name = left;
_global.oplflag = 1;
_parent._alpha = 0;
_root.attaching(2, _parent._x, _parent._y);
if (_global.fighterflag == 0) {
breakcount = 600;
} else {
breakcount = 700;
}
}
onClipEvent (enterFrame) {
if ((count == breakcount) || (_global.life <= 0)) {
i = 0;
while (i <= 5) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_global.oprflag = 0;
_root.attaching(2, _parent._x, _parent._y);
_parent.removeMovieClip();
} else if (_parent._alpha <= 100) {
_parent._alpha = _parent._alpha + 5;
}
count++;
_parent._x = _root.fighter._x - 30;
_parent._y = _root.fighter._y + 20;
if (_root._currentframe == 1) {
_global.oprflag = 0;
_parent.removeMovieClip();
}
}
Instance of Symbol 26 MovieClip "core" in Symbol 191 MovieClip [66] Frame 1
onClipEvent (load) {
_global.enemynum++;
life = 30;
ymove = 1;
count = 0;
flag = 0;
timing = 0;
}
onClipEvent (enterFrame) {
if (_parent._alpha >= 80) {
i = 50001;
while (i <= 50009) {
hit = "shot" + i;
if (this.hitTest(_root[hit]) && (life > 0)) {
if (_root[hit].flag == 0) {
_root.attaching(5, _root[hit]._x, _root[hit]._y - 10);
_root[hit].removeMovieClip();
life--;
} else if (_root[hit].flag == 1) {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 20);
_root[hit].removeMovieClip();
life = life - 1.5;
} else {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 30);
_root[hit].removeMovieClip();
life = life - 2;
}
if (life <= 0) {
so = new Sound();
so.attachSound("bse");
so.setVolume(100);
so.start(0, 1);
_root.attaching(3, _parent._x, _parent._y);
i = 0;
while (i <= 2) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_root.attaching(7, _parent._x, _parent._y);
_global.score = _global.score + 1400;
_global.des++;
_global.counter++;
_root.enemymaster.count = 0;
_root.enemymaster.timing = 0;
_root.enemymaster.flag = 0;
_root.attaching(74, _parent._x, _parent._y);
_parent.removeMovieClip();
}
}
i++;
}
}
}
onClipEvent (enterFrame) {
count++;
if (flag == 0) {
_parent._y = _parent._y + 2;
if (_parent._y >= 50) {
flag = 1;
count = 0;
}
} else if (((flag == 1) && (count >= 40)) && (_global.life >= 1)) {
_root.attaching(18, _parent._x, _parent._y);
_root.attaching(65, _parent._x, _parent._y);
flag = 2;
} else if (flag == 2) {
_parent._xscale = _parent._xscale - 5;
_parent._yscale = _parent._yscale - 5;
_parent._alpha = _parent._alpha - 5;
if (_parent._alpha <= 0) {
_parent._x = _root.randomizer(10, 390);
_parent._y = _root.randomizer(10, 350);
flag = 3;
count = 0;
}
} else if (flag == 3) {
if ((life <= 6) && (_parent._xscale <= 4)) {
_root.attaching(65, _parent._x, _parent._y);
}
_parent._xscale = _parent._xscale + 5;
_parent._yscale = _parent._yscale + 5;
_parent._alpha = _parent._alpha + 5;
if (_parent._xscale >= 100) {
flag = 1;
timing = 0;
count = 0;
_parent._xscale = 100;
_parent._yscale = 100;
_parent._alpha = 100;
} else if (count == 4) {
_root.attaching(31, _parent._x, _parent._y);
count = 0;
}
}
if (_global.life <= 0) {
ymove = ymove + 0.5;
_parent._y = _parent._y + ymove;
if (_parent._y >= 560) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 173 MovieClip in Symbol 191 MovieClip [66] Frame 1
onClipEvent (load) {
this._rotation = -10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 0.2;
if (_parent.core.flag == 3) {
this._rotation = -10;
}
}
Instance of Symbol 173 MovieClip in Symbol 191 MovieClip [66] Frame 1
onClipEvent (load) {
this._rotation = 190;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.2;
if (_parent.core.flag == 3) {
this._rotation = 190;
}
}
Symbol 200 MovieClip [70] Frame 1
flag = 0;
Instance of Symbol 26 MovieClip "core2" in Symbol 200 MovieClip [70] Frame 1
onClipEvent (load) {
_global.enemynum++;
life = 80;
count = 0;
flag2 = 0;
flag3 = 0;
}
onClipEvent (enterFrame) {
if (flag3 == 0) {
this._alpha = this._alpha - 5;
if (this._alpha <= 30) {
flag3 = 1;
}
} else if (flag3 == 1) {
this._alpha = this._alpha + 5;
if (this._alpha >= 90) {
flag3 = 0;
}
}
i = 50001;
while (i <= 50009) {
hit = "shot" + i;
if (this.hitTest(_root[hit]) && (life > 0)) {
if (_root[hit].flag == 0) {
_root.attaching(5, _root[hit]._x, _root[hit]._y - 10);
_root[hit].removeMovieClip();
life--;
} else {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 20);
_root[hit].removeMovieClip();
life = life - 1.5;
}
if (life <= 0) {
so = new Sound();
so.attachSound("bse");
so.setVolume(100);
so.start(0, 1);
_root.attaching(3, _parent._x - 34.5, _parent._y - 27.6);
_root.attaching(7, _parent._x - 34.5, _parent._y - 27.6);
_global.score = _global.score + 2000;
_global.des++;
this._alpha = 20;
flag3 = 2;
}
}
i++;
}
}
onClipEvent (enterFrame) {
if ((_parent.flag == 1) && (life > 0)) {
if (flag2 == 0) {
count++;
if (count == 30) {
_root.attaching(3, _parent._x - 118, _parent._y + 36);
count = 25;
timing++;
if (timing == 4) {
timing = 0;
count = 0;
flag2++;
_root.attaching(47, _parent._x - 118, _parent._y + 36);
}
}
} else if (flag2 == 1) {
count++;
if (count == 30) {
_root.attaching(3, _parent._x - 65, _parent._y + 81);
count = 25;
timing++;
if (timing == 4) {
timing = 0;
count = 0;
flag2++;
_root.attaching(47, _parent._x - 65, _parent._y + 81);
}
}
}
}
}
Instance of Symbol 26 MovieClip "core" in Symbol 200 MovieClip [70] Frame 1
onClipEvent (load) {
_parent._name = "boss1";
_global.enemynum++;
objcolor = new Color(_parent);
flag = 0;
destroy = 0;
descount = 0;
_parent._yscale = 0;
_parent._alpha = 0;
_parent._xscale = 50;
_global.bosslife = 420;
_root.attaching(82, 336.5, 54.3);
degree = 90;
timing = 0;
count = 0;
moving = 0;
shotflag = 0;
}
onClipEvent (enterFrame) {
moving++;
if (_parent._yscale <= 100) {
_parent._yscale = _parent._yscale + 2;
_parent._alpha = _parent._alpha + 2;
_parent._xscale = _parent._xscale + 1;
if (moving == 48) {
_root.attaching(29, _parent._x, _parent._y);
}
}
if (moving == 140) {
_root.attaching(2, _parent._x - 41.9, _parent._y + 19.6);
_root.attaching(2, _parent._x + 31.5, _parent._y + 19.6);
_root.attaching(2, _parent._x, _parent._y);
_global.soundflag = 3;
}
if (flag == 0) {
this._alpha = this._alpha - 5;
if (this._alpha <= 30) {
flag = 1;
}
} else {
this._alpha = this._alpha + 5;
if (this._alpha >= 90) {
flag = 0;
}
}
}
onClipEvent (enterFrame) {
if (destroy == 1) {
_global.score = _global.score + 3500;
so = new Sound();
so.attachSound("so4");
so.setVolume(100);
so.start(0, 1);
destroy++;
} else if (destroy >= 1) {
destroy++;
_parent._xscale = _parent._xscale + 1;
_parent._yscale = _parent._yscale - 2.5;
_parent._alpha--;
r = r - 2;
g = g - 2;
b = b - 2;
objcolor.setRGB(((r * 65536) + (g * 256)) + b);
}
if (destroy >= 8) {
attachx = _root.intrandomizer(_parent._x - 100, _parent._x + 100);
_root.attaching(3, attachx, _parent._y);
attachx = _root.intrandomizer(_parent._x - 100, _parent._x + 100);
_root.attaching(9, attachx, _parent._y);
_root.attaching(31, attachx, _parent._y);
destroy = 2;
descount++;
}
if (descount >= 20) {
_root.attaching(36, _parent._x, _parent._y);
_root.attaching(7, _parent._x, _parent._y);
_global.des++;
_global.counter++;
_root.enemymaster.timing = 0;
_root.enemymaster.flag = 0;
_root.enemymaster.count = 0;
_parent.removeMovieClip();
}
i = 50001;
while (i <= 50009) {
hit = "shot" + i;
if (this.hitTest(_root[hit]) && (_global.bosslife > 0)) {
if (_root[hit].flag == 0) {
_root.attaching(5, _root[hit]._x, _root[hit]._y - 10);
_root[hit].removeMovieClip();
_global.bosslife--;
} else if (_root[hit].flag == 1) {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 20);
_root[hit].removeMovieClip();
_global.bosslife = _global.bosslife - 1.5;
} else {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 30);
_root[hit].removeMovieClip();
_global.bosslife = _global.bosslife - 2;
}
if (_global.bosslife <= 0) {
destroy = 1;
break;
}
}
i++;
}
}
onClipEvent (enterFrame) {
if ((moving >= 160) && (destroy == 0)) {
degree++;
radian = (Math.PI/180) * degree;
_parent._y = _parent._y + (Math.cos(radian) / 2);
}
}
onClipEvent (enterFrame) {
if (((moving >= 160) && (destroy == 0)) && (_global.life > 0)) {
if (_parent.flag == 0) {
count++;
if (count == 4) {
_root.attaching(39, _parent._x, _parent._y);
count = 0;
timing++;
if (timing >= 30) {
_parent.flag++;
timing = 0;
}
}
}
if (_parent.flag == 1) {
count++;
if (count == 40) {
i = 22;
while (i <= 26) {
_root.attaching(i, _parent._x, _parent._y - 20);
i++;
}
count = 0;
timing++;
if (timing >= 5) {
if ((life < 200) || ((_parent.core2.life <= 0) && (_parent.core3.life <= 0))) {
_parent.flag = 3;
_parent.core2.flag2 = 0;
_parent.core3.flag2 = 0;
timing = 0;
} else {
_parent.flag = 0;
_parent.core2.flag2 = 0;
_parent.core3.flag2 = 0;
timing = 0;
}
}
}
}
if (_parent.flag == 3) {
count++;
if (count == 12) {
_root.attaching(59, _parent._x + _root.randomizer(-130, 130), _parent._y + 30);
count = 0;
timing++;
if (timing == 20) {
_parent.flag = 0;
timing = 0;
}
}
}
}
}
Instance of Symbol 26 MovieClip "core3" in Symbol 200 MovieClip [70] Frame 1
onClipEvent (load) {
_global.enemynum++;
life = 80;
degree = 0;
timing = 0;
count = 0;
flag2 = 0;
flag3 = 0;
}
onClipEvent (enterFrame) {
if (flag3 == 0) {
this._alpha = this._alpha - 5;
if (this._alpha <= 30) {
flag3 = 1;
}
} else if (flag3 == 1) {
this._alpha = this._alpha + 5;
if (this._alpha >= 90) {
flag3 = 0;
}
}
i = 50001;
while (i <= 50009) {
hit = "shot" + i;
if (this.hitTest(_root[hit]) && (life > 0)) {
if (_root[hit].flag == 0) {
_root.attaching(5, _root[hit]._x, _root[hit]._y - 10);
_root[hit].removeMovieClip();
life--;
} else {
_root.attaching(69, _root[hit]._x, _root[hit]._y - 20);
_root[hit].removeMovieClip();
life = life - 1.5;
}
if (life <= 0) {
so = new Sound();
so.attachSound("bse");
so.setVolume(100);
so.start(0, 1);
_root.attaching(3, _parent._x + 34.5, _parent._y - 27.6);
_root.attaching(7, _parent._x + 34.5, _parent._y - 27.6);
_global.score = _global.score + 2000;
_global.des++;
this._alpha = 20;
flag3 = 2;
}
}
i++;
}
}
onClipEvent (enterFrame) {
if ((_parent.flag == 1) && (life > 0)) {
if (flag2 == 0) {
count++;
if (count == 120) {
_root.attaching(3, _parent._x + 118, _parent._y + 36);
count = 115;
timing++;
if (timing == 4) {
timing = 0;
count = 0;
flag2++;
_root.attaching(47, _parent._x + 118, _parent._y + 36);
}
}
} else if (flag2 == 1) {
count++;
if (count == 30) {
_root.attaching(3, _parent._x + 65, _parent._y + 81);
count = 25;
timing++;
if (timing == 4) {
timing = 0;
count = 0;
flag2++;
_root.attaching(47, _parent._x + 65, _parent._y + 81);
}
}
}
}
}
Instance of Symbol 26 MovieClip in Symbol 203 MovieClip [74] Frame 1
onClipEvent (load) {
timing = 0;
flag = 0;
_parent._alpha = 0;
count = 0;
}
onClipEvent (enterFrame) {
if ((_parent._alpha < 100) && (count == 0)) {
_parent._alpha = _parent._alpha + 5;
} else {
count++;
}
timing++;
if (timing == 8) {
_root.attaching(34, _parent._x, _parent._y);
timing = 0;
}
if ((flag == 0) && (count != 0)) {
this._alpha = this._alpha - 5;
if (this._alpha <= 30) {
flag = 1;
}
} else if ((flag == 1) && (count != 0)) {
this._alpha = this._alpha + 5;
if (this._alpha >= 90) {
flag = 0;
}
}
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + 2;
if (this.hitTest(_root.fighter)) {
sounder = new Sound(this);
sounder.attachSound("so8");
sounder.start(0, 1);
_root.attaching(2, _parent._x, _parent._y);
if (_global.life < 5) {
_global.life++;
_root.attaching(75, _root.fighter._x, _root.fighter._y);
} else {
_global.score = _global.score + 2000;
_root.attaching(76, _root.fighter._x, _root.fighter._y);
}
_parent.removeMovieClip();
}
if (_parent._y >= 570) {
_parent.removeMovieClip();
}
}
Instance of Symbol 26 MovieClip "core" in Symbol 206 MovieClip [78] Frame 1
onClipEvent (load) {
count = 0;
intrval = 0;
_parent.swapDepths(20000);
_parent._name = "fighter";
damage = 0;
flag = 0;
fieldflag = 0;
}
onClipEvent (enterFrame) {
if ((_root._xmouse >= 0) && (_root._xmouse <= 400)) {
_parent._x = _parent._x + (((_root._xmouse - _parent._x) * 0.11) * 1.1);
}
if (_parent._x < 0) {
_parent._x = 0;
} else if (_parent._x > 400) {
_parent._x = 400;
}
if ((_root._ymouse >= 0) && (_root._ymouse <= 550)) {
_parent._y = _parent._y + (((_root._ymouse - _parent._y) * 0.1) * 1.1);
}
if (_parent._y < 0) {
_parent._y = 0;
} else if (_parent._y > 550) {
_parent._y = 550;
}
}
onClipEvent (enterFrame) {
count++;
interval++;
if (count == 4) {
_root.attaching(34, _root.fighter._x, _root.fighter._y);
count = 0;
}
if (damage == 1) {
if (flag == 0) {
this._alpha = this._alpha - 5;
if (this._alpha <= 0) {
flag = 1;
}
} else if (flag == 1) {
this._alpha = this._alpha + 5;
if (this._alpha >= 100) {
flag = 0;
this._alpha = 100;
damage = 0;
}
}
}
}
on (keyPress "z") {
if ((interval >= 9) && (_global.oprflag <= 2)) {
_root.shotattaching(77, _parent._x, _parent._y);
interval = 0;
}
}
on (keyPress "x") {
if ((fieldflag == 0) && (_global.option >= 1)) {
_root.attaching(71, _parent._x, _parent._y);
_root.attaching(72, _parent._x, _parent._y);
sounder = new Sound(this);
sounder.attachSound("so8");
sounder.start(0, 1);
_global.option--;
}
}
on (keyPress "c") {
if ((oprflag <= 1) && (_global.option >= 1)) {
_global.option--;
_root.attaching(63, _parent._x, _parent._y + 50);
_root.attaching(81, _parent._x, _parent._y - 60);
sounder = new Sound(this);
sounder.attachSound("so8");
sounder.start(0, 1);
}
}
Symbol 208 MovieClip [79] Frame 1
flag = 0;
Instance of Symbol 51 MovieClip in Symbol 208 MovieClip [79] Frame 1
onClipEvent (load) {
_parent._alpha = 0;
_parent._xscale = 200;
_parent._yscale = 200;
_parent._name = target2;
flag = 0;
}
onClipEvent (enterFrame) {
if (_parent._xscale > 100) {
_parent._xscale = _parent._xscale - 10;
_parent._yscale = _parent._yscale - 10;
_parent._alpha = _parent._alpha + 10;
}
_parent._rotation = _parent._rotation + 5;
if (_root.dragout == 1) {
flag = 1;
}
if (flag == 1) {
_root.dragout = 0;
_parent.removeMovieClip();
}
}
Instance of Symbol 26 MovieClip in Symbol 210 MovieClip [80] Frame 1
onClipEvent (load) {
count = 0;
interval = 0;
this._name = left;
_global.oprflag = 1;
_parent._alpha = 0;
_root.attaching(2, _parent._x, _parent._y);
degree = 90;
}
onClipEvent (enterFrame) {
if ((count == 500) || (_global.life <= 0)) {
i = 0;
while (i <= 5) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_global.oprflag = 0;
_root.attaching(2, _parent._x, _parent._y);
_parent.removeMovieClip();
}
if (_parent._alpha <= 100) {
_parent._alpha = _parent._alpha + 5;
}
count++;
}
onClipEvent (enterFrame) {
degree = degree + 5;
radian = (Math.PI * degree) / 180;
_parent._x = _parent._x - (sin(radian) * 2);
_parent._y = _parent._y - 0.1;
}
Instance of Symbol 26 MovieClip in Symbol 212 MovieClip [81] Frame 1
onClipEvent (load) {
count = 0;
interval = 0;
this._name = left;
_global.oprflag++;
_parent._alpha = 0;
_root.attaching(2, _parent._x, _parent._y);
degree = 90;
}
onClipEvent (enterFrame) {
interval++;
if (interval >= 8) {
_root.shotattaching(68, _parent._x, _parent._y - 10);
interval = 0;
}
}
onClipEvent (enterFrame) {
if ((count == 1000) || (_global.life <= 0)) {
i = 0;
while (i <= 5) {
_root.attaching(9, _parent._x, _parent._y);
i++;
}
_global.oprflag--;
_root.attaching(2, _parent._x, _parent._y);
_parent.removeMovieClip();
}
if (_parent._alpha <= 100) {
_parent._alpha = _parent._alpha + 5;
}
if (_root._currentframe == 1) {
_global.oprflag--;
_parent.removeMovieClip();
}
count++;
}
onClipEvent (enterFrame) {
degree = degree + 5;
radian = (Math.PI * degree) / 180;
_parent._x = _parent._x + (Math.sin(radian) * 2);
_parent._y = _parent._y - 0.1;
}
Symbol 215 MovieClip Frame 240
stop();
Instance of Symbol 56 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (load) {
alpha = 0;
flag = 0;
count = 0;
}
on (rollOver) {
if ((flag == 0) && (_parent._alpha >= 30)) {
count = 0;
while (count <= 7) {
_root.attaching(3, _parent._x + _root.randomizer(-70, 70), _parent._y);
count++;
}
flag = 1;
}
}
on (rollOut) {
flag = 0;
}
on (press) {
if (_parent._alpha >= 100) {
_global.triger = 1;
newsound = new Sound();
newsound.attachSound("dec");
newsound.setVolume(100);
newsound.start(0, 1);
}
}
Symbol 230 MovieClip Frame 1
flag = 3;
text = "high quality";
Instance of Symbol 26 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_parent.flag == 3) {
if (this._alpha < 100) {
this._alpha = this._alpha + 4;
}
} else if (this._alpha > 0) {
this._alpha = this._alpha - 4;
}
}
on (press) {
_parent.flag = 3;
_parent.text = "high quality";
_quality = "HIGH";
}
Instance of Symbol 26 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_parent.flag == 2) {
if (this._alpha < 100) {
this._alpha = this._alpha + 4;
}
} else if (this._alpha > 0) {
this._alpha = this._alpha - 4;
}
}
on (press) {
_parent.flag = 2;
_parent.text = "medium quality";
_quality = "MEDIUM";
}
Instance of Symbol 26 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_parent.flag == 1) {
if (this._alpha < 100) {
this._alpha = this._alpha + 4;
}
} else if (this._alpha > 0) {
this._alpha = this._alpha - 4;
}
}
on (press) {
_parent.flag = 1;
_parent.text = "low quality";
_quality = "LOW";
}
Instance of Symbol 26 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_parent.flag == 4) {
if (this._alpha < 100) {
this._alpha = this._alpha + 4;
}
} else if (this._alpha > 0) {
this._alpha = this._alpha - 4;
}
}
on (press) {
_parent.flag = 4;
_parent.text = "best quality";
_quality = "BEST";
}
Instance of Symbol 51 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) {
_parent._alpha = 60;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + _xmouse;
_parent._y = _parent._y + _ymouse;
}
Instance of Symbol 51 MovieClip in Symbol 235 MovieClip Frame 1
onClipEvent (load) {
_parent._alpha = 80;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + (_xmouse / 2);
_parent._y = _parent._y + (_ymouse / 2);
}
Symbol 243 MovieClip Frame 1
long = 0;
flag = 0;
Instance of Symbol 51 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (load) {
count = 0;
_parent._alpha = 0;
move = 0;
}
onClipEvent (enterFrame) {
if (_parent.long != 0) {
if (_parent._alpha < 100) {
_parent._yscale = 100;
_parent._xscale = 100;
_parent._alpha = _parent._alpha + 5;
}
_parent.long--;
_parent._xscale = _parent._xscale + 10;
_parent._x = _parent._x - 0.5;
move = move + 0.5;
}
if (_parent.flag == 1) {
_parent._yscale = _parent._yscale - 0;
_parent.flag = 0;
_parent._alpha = 0;
_parent._x = _parent._x + move;
move = 0;
}
}
Symbol 252 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 39
stop();
Instance of Symbol 250 MovieClip in Symbol 252 MovieClip Frame 39
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 4;
}
}
Symbol 262 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 39
stop();
Instance of Symbol 260 MovieClip in Symbol 262 MovieClip Frame 39
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 4;
}
}