Frame 1
stopAllSounds();
Mouse.show();
stop();
Mouse.show();
Instance of Symbol 419 MovieClip in Frame 1
on (press) {
_root.gotoAndPlay(3);
}
Instance of Symbol 430 MovieClip "score_window" in Frame 1
onClipEvent (load) {
this.swapDepths(100000003);
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 1) && (this._visible == true)) {
this._visible = false;
} else if ((_root._currentframe == 4) && (this._visible == false)) {
this._visible = true;
score = 0;
}
}
Instance of Symbol 440 MovieClip "states" in Frame 1
onClipEvent (load) {
this.swapDepths(100000004);
}
onClipEvent (enterFrame) {
if ((_root._currentframe <= 2) && (this._visible == true)) {
this._visible = false;
} else if ((_root._currentframe == 4) && (this._visible == false)) {
this._visible = true;
lockcounter = 0;
life.gotoAndStop(1);
}
if (lockcounter > _global.maxlock) {
_global.maxlock = lockcounter;
}
}
Instance of Symbol 447 MovieClip "information" in Frame 1
onClipEvent (load) {
this.swapDepths(100000005);
}
onClipEvent (enterFrame) {
if ((_root._currentframe == 1) && (this._visible == true)) {
this._visible = false;
} else if ((_root._currentframe == 4) && (this._visible == false)) {
this._visible = true;
map._x = fx;
map._y = fy;
}
}
Frame 2
gotoAndStop (1);
Frame 3
gotoAndStop (4);
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);
}
function attaching(ID, attachx, attachy) {
_global.attachcount++;
attachObject = "object" + _global.attachcount;
_root.attachMovie(ID, attachObject, _global.attachcount);
_root[attachObject]._x = attachx;
_root[attachObject]._y = attachy;
}
function attacking(scale, attachx, attachy) {
_global.attachcount++;
attachObject = "object" + _global.attachcount;
_root.attachMovie("obj8", attachObject, _global.attachcount);
_global.attachcount++;
_root[attachObject]._x = attachx;
_root[attachObject]._y = attachy;
_global.attachcount++;
attachObject = "object" + _global.attachcount;
_root.attachMovie("ene_attack", attachObject, _global.attachcount);
_root[attachObject]._x = attachx;
_root[attachObject]._y = attachy;
_root[attachObject]._xscale = scale;
_root[attachObject]._yscale = scale;
_root[attachObject]._alpha = scale;
}
function attacking2(scale, attachx, attachy) {
_global.attachcount++;
attachObject = "object" + _global.attachcount;
_root.attachMovie("obj8", attachObject, _global.attachcount);
_global.attachcount++;
_root[attachObject]._x = attachx;
_root[attachObject]._y = attachy;
_global.attachcount++;
attachObject = "object" + _global.attachcount;
_root.attachMovie("ene_attack2", attachObject, _global.attachcount);
_root[attachObject]._x = attachx;
_root[attachObject]._y = attachy;
_root[attachObject]._xscale = scale;
_root[attachObject]._yscale = scale;
_root[attachObject]._alpha = scale;
}
function attacking3(scale, attachx, attachy, Movex, Movey) {
_global.attachcount++;
attachObject = "object" + _global.attachcount;
_root.attachMovie("obj8", attachObject, _global.attachcount);
_global.attachcount++;
_root[attachObject]._x = attachx;
_root[attachObject]._y = attachy;
_global.attachcount++;
attachObject = "object" + _global.attachcount;
_root.attachMovie("ene_attack3", attachObject, _global.attachcount);
_root[attachObject]._x = attachx;
_root[attachObject]._y = attachy;
_root[attachObject]._xscale = scale;
_root[attachObject]._yscale = scale;
_root[attachObject].movex = Movex;
_root[attachObject].movey = Movey;
_root[attachObject]._alpha = scale;
}
function attacking4(scale, attachx, attachy) {
_global.attachcount++;
attachObject = "object" + _global.attachcount;
_root.attachMovie("obj8", attachObject, _global.attachcount);
_global.attachcount++;
_root[attachObject]._x = attachx;
_root[attachObject]._y = attachy;
attachObject = "object" + _global.attachcount;
_root.attachMovie("ene_attack4", attachObject, _global.attachcount);
_root[attachObject]._x = attachx;
_root[attachObject]._y = attachy;
_root[attachObject]._xscale = scale;
_root[attachObject]._yscale = scale;
_root[attachObject]._alpha = scale;
}
function rockon(ID, attachx, attachy) {
_global.attachcount++;
attachObject = "object" + _global.attachcount;
_root.attachMovie(ID, attachObject, _global.attachcount);
_root[attachObject]._x = attachx;
_root[attachObject]._y = attachy;
}
function pointing(num, rate, pointx, pointy) {
attaching("score_effect", pointx, pointy + 20);
_root[attachObject].num = num;
_root[attachObject].rate = rate;
}
function pointing2(num, rate, pointx, pointy) {
attaching("score_effect2", pointx, pointy + 20);
_root[attachObject].num = num;
_root[attachObject].rate = rate;
}
function inform(str) {
_root.information.inform4 = _root.information.inform3;
_root.information.inform3 = _root.information.inform2;
_root.information.inform2 = _root.information.inform1;
_root.information.inform1 = str;
}
function damage() {
attaching("damage", 250, 250);
_root.states.life.nextFrame();
par = 100 - ((_root.states.life._currentframe - 1) * 5);
inform(("damaged life" + par) + "par");
if (_root.states.life._currentframe == 21) {
_global.des_action = _global.action;
_global.action = 40;
_root.enemy_master.timing = 0;
_root.enemy_master.count = 0;
}
}
function trance16(num) {
ans_r = Math.floor(num / 16);
tmp = num - (ans_r * 16);
switch (ans_r) {
case 10 :
ans_r = "A";
break;
case 11 :
ans_r = "B";
break;
case 12 :
ans_r = "C";
break;
case 13 :
ans_r = "D";
break;
case 14 :
ans_r = "E";
break;
case 15 :
ans_r = "F";
break;
case 0 :
ans_r = "0";
break;
default :
ans_r.toString();
}
switch (tmp) {
case 10 :
tmp = "A";
break;
case 11 :
tmp = "B";
break;
case 12 :
tmp = "C";
break;
case 13 :
tmp = "D";
break;
case 14 :
tmp = "E";
break;
case 15 :
tmp = "F";
break;
case 0 :
tmp = "0";
break;
default :
tmp.toString();
}
ans = ans_r.toString() + tmp.toString();
ans.toString();
return(ans);
}
function trancer(r, g, b) {
tempr = trance16(r);
tempg = trance16(g);
tempb = trance16(b);
anstrance = (("0x" + tempr) + tempg) + tempb;
return(anstrance);
}
function rotate_movex(xlength, rotate) {
ans = Math.cos((Math.PI * rotate) / 180) * xlength;
return(ans);
}
function rotate_movey(ylength, rotate) {
ans = Math.sin((Math.PI * rotate) / 180) * ylength;
return(ans);
}
function inform2(stage) {
attaching("title", 441, 334);
_root[attachObject].gotoAndStop(stage);
}
function boss_start() {
bosslock = 0;
bossscore = _root.score_window.score;
}
function boss_battle() {
timer++;
if (bosslock < _root.states.lockcounter) {
bosslock = _root.states.lockcounter;
}
}
function boss_fin(num) {
_global.des_action = _global.action;
_global.destime = Math.floor(timer / 30);
_global.bossscore = _root.score_window.score - bossscore;
_global.bosslock = bosslock;
_global.route = num;
}
rockattach = 1000000 /* 0x0F4240 */;
Mouse.hide();
_global.maxlock = 0;
_global.destime = 0;
_global.bossscore = 0;
_global.bosslock = 0;
_global.route = 0;
Instance of Symbol 28 MovieClip "enemy_master" in Frame 3
onClipEvent (load) {
_global.action = 0;
_global.e_count = 0;
count = 0;
timing = 0;
}
onClipEvent (enterFrame) {
count++;
if (_global.action < 10) {
if (_global.action == 0) {
if ((count >= 20) && (_global.e_count < 3)) {
if (timing == 0) {
_root.inform2(1);
_root.attaching("ene1", 60, 200);
timing++;
count = 0;
} else if (timing == 1) {
_root.attaching("ene1", 160, 150);
timing++;
count = 0;
} else if (timing == 2) {
_root.attaching("ene1", 260, 100);
timing++;
count = 0;
}
} else if ((count >= 20) && (_global.e_count < 6)) {
if (timing == 3) {
_root.attaching("ene1", 360, 150);
timing++;
count = 0;
} else if (timing == 4) {
_root.attaching("ene1", 310, 300);
timing++;
count = 0;
} else if (timing == 5) {
_root.attaching("ene1", 260, 450);
timing = 0;
}
} else if (_global.e_count >= 6) {
count = 0;
_global.e_count = 0;
_global.action = 1;
}
} else if (_global.action == 1) {
if (timing == 0) {
_root.attaching("ene1", 125, 125);
timing++;
count = 0;
} else if ((timing == 1) && (count == 20)) {
_root.attaching("ene1", 190, 310);
timing++;
} else if ((timing == 2) && (count == 40)) {
_root.attaching("ene1", 310, 190);
timing++;
} else if ((timing == 3) && (count == 60)) {
_root.attaching("ene1", 375, 375);
timing++;
}
if (_global.e_count >= 4) {
_global.e_count = 0;
_global.action = 2;
timing = 0;
count = 0;
}
} else if (_global.action == 2) {
if ((count >= 20) && (_global.e_count < 3)) {
if (timing == 0) {
_root.attaching("ene3-1", 300, 30);
timing++;
count = 0;
} else if ((timing <= 2) && (timing >= 1)) {
_root.attaching("ene3-1", 300, 30);
timing++;
count = 0;
}
} else if (count >= 15) {
if (((timing >= 3) && (timing <= 5)) && (_global.e_count >= 3)) {
_root.attaching("ene3-2", 20, 250);
timing++;
count = 0;
} else if (timing == 6) {
_root.attaching("ene3-2", 20, 250);
timing = 0;
count = 0;
}
}
if (_global.e_count >= 7) {
count = 0;
timing = 0;
_global.action = 3;
_global.e_count = 0;
}
} else if (_global.action == 3) {
if ((count >= 30) && (timing == 0)) {
_root.attaching("ene5-1", 510, 200);
timing++;
count = 0;
} else if (_global.e_count >= 1) {
_global.action = 19;
_global.e_count = 0;
timing = 0;
}
} else if (_global.action == 4) {
if (timing == 0) {
_root.inform2(2);
_root.attaching("ene1", 310, 100);
timing++;
count = 0;
} else if ((timing == 1) && (count == 15)) {
_root.attaching("ene3-3", 200, 50);
timing++;
count = 0;
} else if ((timing == 2) && (count == 5)) {
_root.attaching("ene1", 250, 250);
timing++;
count = 0;
} else if ((timing == 3) && (count == 10)) {
_root.attaching("ene3-3", 200, 50);
timing++;
count = 0;
} else if ((timing == 4) && (count == 10)) {
_root.attaching("ene1", 390, 200);
timing++;
count = 0;
} else if ((timing == 5) && (count == 5)) {
_root.attaching("ene3-3", 200, 50);
timing++;
count = 0;
} else if (_global.e_count >= 6) {
_global.action++;
timing = 0;
count = 0;
_global.e_count = 0;
}
} else if (_global.action == 5) {
if (timing == 0) {
if (count == 5) {
_root.attaching("ene3-4", 250, 490);
} else if (count == 10) {
_root.attaching("ene3-5", 490, 250);
} else if (count == 15) {
_root.attaching("ene3-3", 250, 10);
} else if (count == 20) {
_root.attaching("ene3-6", 10, 250);
timing++;
count = 0;
}
}
if ((timing == 1) && (_global.e_count >= 4)) {
count = 0;
timing++;
}
if ((timing == 2) && (_global.e_count >= 4)) {
if (count == 30) {
_root.attaching("ene3-4", 130, 490);
_global.ground = 1;
} else if (count == 40) {
_root.attaching("ene3-5", 490, 370);
} else if (count == 50) {
_root.attaching("ene3-3", 370, 10);
} else if (count == 60) {
_root.attaching("ene3-6", 10, 130);
}
}
if (_global.e_count >= 8) {
timing = 0;
count = 0;
_global.e_count = 0;
_global.action++;
}
} else if (_global.action == 6) {
if (timing == 0) {
_root.attaching("ene4", 510, 100);
_root.attaching("ene4", 585, 250);
timing++;
count = 0;
} else if ((timing == 1) && (count == 60)) {
_root.attaching("ene4", 546, 175);
timing++;
} else if ((timing == 2) && (count == 120)) {
_root.attaching("ene4", 510, 100);
_root.attaching("ene4", 585, 250);
timing++;
} else if ((timing == 3) && (count == 180)) {
_root.attaching("ene4", 546, 175);
timing++;
} else if ((timing == 4) && (count == 210)) {
_root.attaching("ene4", 510, 100);
_root.attaching("ene4", 585, 250);
timing++;
}
if (_global.e_count >= 8) {
if (timing == 5) {
count = 0;
timing++;
} else if ((timing == 6) && (count >= 4)) {
if (_root.score_window.score >= 70000) {
_global.action = 34;
} else {
_global.action = 7;
}
timing = 0;
count = 0;
_global.e_count = 0;
}
}
} else if (_global.action == 7) {
if (timing == 0) {
_root.inform2(6);
_global.ground = 2;
timing++;
count = 0;
} else if ((timing == 1) && (count == 30)) {
_root.attaching("ene2", 125, 510);
timing++;
} else if ((timing == 2) && (count == 50)) {
_root.attaching("ene2", 375, 550);
timing++;
} else if ((timing == 3) && (count == 70)) {
_root.attaching("ene2", 250, 590);
timing++;
} else if (_global.e_count >= 3) {
timing = 0;
count = 0;
_global.e_count = 0;
_global.action++;
}
} else if (_global.action == 8) {
if ((timing == 0) && (count >= 30)) {
_root.attaching("ene2", 416, 600);
timing++;
count = 0;
} else if ((timing == 1) && (count >= 20)) {
_root.attaching("ene2", 250, 510);
timing++;
} else if ((timing == 2) && (count >= 40)) {
_root.attaching("ene2", 83, 540);
timing++;
} else if ((timing == 3) && (count >= 60)) {
_root.attaching("ene2", 333, 630);
timing++;
} else if ((timing == 4) && (count >= 80)) {
_root.attaching("ene2", 166, 570);
timing++;
} else if (_global.e_count >= 5) {
timing = 0;
count = 0;
_global.e_count = 0;
_global.action++;
}
} else if (_global.action == 9) {
if (timing == 0) {
_root.attaching("ene2", 90, 510);
_root.attaching("ene2", 410, 510);
count = 0;
timing++;
} else if ((count >= 60) && (timing == 1)) {
_root.attaching("ene2", 250, 550);
_root.attaching("ene2", 250, 680);
timing++;
} else if ((count >= 120) && (timing == 2)) {
_root.attaching("ene2", 170, 600);
_root.attaching("ene2", 330, 600);
_global.ground++;
timing++;
} else if (_global.e_count >= 6) {
timing = 0;
count = 0;
_global.e_count = 0;
_global.action++;
}
}
} else if (_global.action < 20) {
if (_global.action == 10) {
if ((timing == 0) && (count >= 70)) {
_root.attaching("ene5-2", 120, -10);
timing++;
} else if ((timing == 1) && (count >= 190)) {
_root.attaching("ene5-3", 380, 510);
timing++;
count = 0;
} else if (_global.e_count >= 2) {
if (timing == 2) {
count = 0;
timing++;
} else if ((timing == 3) && (count >= 5)) {
_global.e_count = 0;
timing = 0;
count = 0;
if (_root.score_window.score >= 120000) {
_global.action = 21;
_global.ground = 6;
so = new Sound(this);
so.attachSound("fly4");
so.start(0, 1);
} else {
_global.action = 11;
}
}
}
} else if (_global.action == 11) {
if (timing == 0) {
timing++;
count = 0;
_global.ground++;
} else if ((timing == 1) && (count >= 60)) {
_root.attaching("warn", 250, 250);
timing++;
} else if ((timing == 2) && (count >= 300)) {
_root.attaching("boss1", 180, 250);
timing++;
} else if (_global.e_count == 1) {
timing = 0;
count = 0;
_global.e_count = 0;
_global.action = 40;
}
} else if (_global.action == 12) {
if (timing == 0) {
_root.inform2(3);
_root.attaching("ene1", 100, 200);
timing++;
count = 0;
} else if ((timing == 1) && (count == 10)) {
_root.attaching("ene1", 250, 150);
timing++;
count = 0;
} else if ((timing == 3) && (count == 20)) {
_root.attaching("ene1", 400, 100);
timing++;
count = 0;
} else if ((timing == 2) && (count == 20)) {
_root.attaching("ene3-3", 420, 50);
_root.attaching("ene3-3", 300, 70);
timing++;
count = 0;
} else if (_global.e_count >= 5) {
timing = 0;
count = 0;
_global.e_count = 0;
_global.action++;
}
} else if (_global.action == 13) {
if (timing == 0) {
_root.attaching("ene1", 150, 100);
timing++;
} else if ((timing == 1) && (count == 15)) {
_root.attaching("ene1", 350, 400);
timing++;
} else if ((timing == 2) && (count == 25)) {
_root.attaching("ene3-5", 400, 300);
timing++;
} else if ((timing == 3) && (count == 35)) {
_root.attaching("ene3-6", 100, 200);
timing++;
} else if ((timing == 4) && (count == 45)) {
_root.attaching("ene3-5", 400, 300);
timing++;
} else if ((timing == 5) && (count == 55)) {
_root.attaching("ene3-6", 100, 200);
timing++;
_global.ground = 5;
} else if (_global.e_count >= 6) {
timing = 0;
count = 0;
_global.e_count = 0;
_global.action++;
}
} else if (_global.action == 14) {
if (timing == 0) {
_root.attaching("ene6", 0, 400);
timing++;
} else if (_global.e_count >= 1) {
timing = 0;
count = 0;
_global.e_count = 0;
_global.action++;
}
} else if (_global.action == 15) {
if (timing == 0) {
_root.attaching("ene6", 200, 450);
timing++;
} else if ((timing == 1) && (count == 60)) {
_root.attaching("ene6", 50, 350);
timing++;
} else if (_global.e_count >= 2) {
timing = 0;
count = 0;
_global.e_count = 0;
_global.action++;
}
} else if (_global.action == 16) {
if (timing == 0) {
_root.attaching("ene7", 0, 0);
timing++;
} else if (_global.e_count >= 1) {
timing = 0;
count = 0;
_global.e_count = 0;
_global.action = 18;
}
} else if (_global.action == 17) {
if ((timing == 0) && (count >= 90)) {
_root.inform2(4);
timing++;
count = 0;
_root.attaching("ene10-1", -40, 50);
} else if ((timing == 1) && (count == 20)) {
timing++;
_root.attaching("ene10-2", 540, 50);
} else if ((timing == 2) && (count == 40)) {
timing++;
_root.attaching("ene10-3", 540, 450);
} else if ((timing == 3) && (count == 60)) {
timing++;
_root.attaching("ene10-4", -40, 450);
} else if (_global.e_count >= 4) {
timing = 0;
count = 0;
_global.e_count = 0;
_global.action = 30;
_global.ground = 8;
}
} else if (_global.action == 18) {
if (timing == 0) {
timing++;
count = 0;
_root.attaching("ene6", 100, 400);
} else if ((timing == 1) && (count == 35)) {
timing++;
_root.attaching("ene3-6", 50, 120);
} else if ((timing == 2) && (count == 55)) {
timing++;
_root.attaching("ene3-6", 50, 120);
} else if ((timing == 3) && (count == 75)) {
timing++;
_root.attaching("ene3-6", 50, 120);
} else if (_global.e_count >= 4) {
if (timing == 4) {
timing++;
count = 0;
} else if ((timing == 5) && (count >= 5)) {
count = 0;
timing = 0;
_global.e_count = 0;
_global.ground = 6;
so = new Sound(this);
so.attachSound("fly4");
so.start(0, 1);
if (_root.score_window.score >= 130000) {
_global.action = 17;
} else {
_global.action = 21;
}
}
}
}
if (_global.action == 19) {
if (timing == 0) {
timing++;
count = 0;
_root.attaching("ene5-3", 400, 520);
} else if ((timing == 1) && (count == 70)) {
timing++;
_root.attaching("ene1", 400, 100);
} else if ((timing == 2) && (count == 85)) {
timing++;
_root.attaching("ene1", 300, 300);
} else if ((timing == 3) && (count == 100)) {
timing++;
_root.attaching("ene1", 100, 400);
} else if ((_global.e_count >= 3) && (timing == 4)) {
timing++;
_root.attaching("ene3-3", 200, 20);
count = 0;
} else if ((timing == 5) && (count > 15)) {
timing++;
_root.attaching("ene3-3", 200, 20);
} else if ((timing == 6) && (count > 30)) {
timing++;
_root.attaching("ene3-3", 200, 20);
} else if (_global.e_count >= 7) {
if (timing == 7) {
timing++;
count = 0;
} else if ((timing == 8) && (count == 5)) {
timing = 0;
count = 0;
_global.e_count = 0;
if (_root.score_window.score >= 58000) {
_global.action = 12;
} else {
_global.action = 4;
}
}
}
}
} else if (_global.action < 30) {
if (_global.action == 20) {
if (timing == 0) {
timing++;
count = 0;
_root.attaching("ene11-1", 100, 50);
} else if ((timing == 1) && (count >= 20)) {
timing++;
_root.attaching("ene11-2", 100, 150);
} else if ((timing == 2) && (count >= 60)) {
timing++;
_root.attaching("ene11-1", 0, 100);
} else if ((timing == 3) && (count >= 80)) {
timing++;
_root.attaching("ene11-2", 0, 150);
} else if ((timing == 4) && (count >= 100)) {
timing++;
_root.attaching("ene1", 100, 400);
} else if ((timing == 5) && (count >= 120)) {
timing++;
_root.attaching("ene1", 200, 430);
} else if ((timing == 6) && (count >= 140)) {
timing++;
_root.attaching("ene1", 300, 460);
} else if (_global.e_count == 7) {
_global.action = 24;
_global.e_count = 0;
timing = 0;
}
} else if (_global.action == 21) {
if ((timing == 0) && (count >= 90)) {
_root.inform2(5);
timing++;
count = 0;
_root.attaching("ene9", 200, 200);
_root.attaching("ene9", 300, 300);
} else if (_global.e_count >= 4) {
_global.action = 22;
_global.e_count = 0;
timing = 0;
}
} else if (_global.action == 22) {
if (timing == 0) {
timing++;
count = 0;
_root.attaching("ene9", 250, 125);
} else if ((timing == 1) && (count >= 20)) {
timing++;
_root.attaching("ene9", 140, 300);
} else if ((timing == 2) && (count >= 40)) {
timing++;
_root.attaching("ene9", 360, 300);
} else if (_global.e_count >= 6) {
_global.action = 23;
_global.e_count = 0;
timing = 0;
}
} else if (_global.action == 23) {
if (timing == 0) {
_global.ground = 7;
timing++;
count = 0;
_root.attaching("ene9", 150, 360);
} else if ((timing == 1) && (count >= 20)) {
timing++;
_root.attaching("ene9", 130, 200);
} else if ((timing == 2) && (count >= 60)) {
timing++;
_root.attaching("ene3-4", 300, 440);
} else if ((timing == 3) && (count >= 70)) {
timing++;
_root.attaching("ene3-4", 225, 470);
} else if ((timing == 4) && (count == 80)) {
timing++;
_root.attaching("ene3-4", 150, 500);
} else if (_global.e_count >= 7) {
_global.action = 20;
_global.e_count = 0;
timing = 0;
}
} else if (_global.action == 24) {
if (timing == 0) {
timing++;
_root.attaching("ene2-2", 190, -30);
count = 0;
} else if ((timing == 1) && (count >= 10)) {
timing++;
_root.attaching("ene2-2", 90, -20);
} else if ((timing == 2) && (count >= 20)) {
timing++;
_root.attaching("ene2-2", -10, -10);
} else if (_global.e_count >= 3) {
_global.action = 25;
_global.e_count = 0;
timing = 0;
}
} else if (_global.action == 25) {
if (timing == 0) {
timing++;
count = 0;
_root.attaching("ene2-2", 250, -50);
_root.attaching("ene2-2", -30, 100);
} else if (_global.e_count >= 2) {
_global.action = 26;
_global.e_count = 0;
timing = 0;
}
} else if (_global.action == 26) {
if (timing == 0) {
timing++;
count = 0;
_root.attaching("ene2-2", 90, 0);
} else if ((timing == 1) && (count == 10)) {
timing++;
_root.attaching("ene2-2", -30, -100);
_root.attaching("ene2-2", 60, -160);
} else if (_global.e_count >= 3) {
_global.action = 27;
_global.e_count = 0;
timing = 0;
}
} else if (_global.action == 27) {
if ((timing == 0) && (count >= 30)) {
_root.attaching("warn", 250, 250);
timing++;
} else if ((count >= 270) && (timing == 1)) {
_root.attaching("ene12", 510, 200);
timing++;
count = 0;
} else if (_global.e_count == 1) {
_global.e_count = 0;
timing = 0;
count = 0;
_global.action = 40;
}
} else if (_global.action == 29) {
if ((timing == 0) && (count >= 0)) {
_root.attaching("warn", 250, 250);
timing++;
} else if ((count == 240) && (timing == 1)) {
_root.attaching("ene13", 250, 530);
timing++;
} else if (_global.e_count == 1) {
_global.e_count = 0;
timing = 0;
count = 0;
_global.action = 40;
}
}
} else if (_global.action == 30) {
if ((timing == 0) && (count == 90)) {
_root.attaching("ene2-3", 100, 550);
timing++;
} else if ((timing == 1) && (count == 105)) {
_root.attaching("ene2-4", 250, -50);
timing++;
} else if ((timing == 2) && (count == 120)) {
_root.attaching("ene2-3", 400, 550);
timing++;
} else if (_global.e_count >= 3) {
_global.action++;
_global.e_count = 0;
timing = 0;
count = 0;
_global.ground = 9;
}
} else if (_global.action == 31) {
if ((timing == 0) && (count >= 40)) {
_root.attaching("ene2-5", 0, -100);
_root.attaching("ene2-5", -120, 107.846096908265);
timing++;
} else if ((timing == 1) && (count >= 50)) {
_root.attaching("ene2-6", 500, 600);
_root.attaching("ene2-6", 620, 392.153903091735);
timing++;
} else if (_global.e_count >= 4) {
_global.action++;
_global.e_count = 0;
timing = 0;
count = 0;
_global.ground = 10;
}
} else if (_global.action == 32) {
if ((timing == 0) && (count >= 80)) {
_root.attaching("ene2-8", 355.662432702594, 500);
timing++;
} else if ((timing == 1) && (count >= 90)) {
_root.attaching("ene2-7", 200, 0);
_root.attaching("ene2-7", -7.84609690826525, 120);
timing++;
} else if (_global.e_count >= 3) {
_global.action++;
_global.e_count = 0;
timing = 0;
count = 0;
}
} else if (_global.action == 33) {
if (timing == 0) {
_root.attaching("ene11-1", -80, 60);
timing++;
} else if ((timing == 1) && (count == 10)) {
_root.attaching("ene9", 150, 300);
timing++;
} else if ((timing == 2) && (count == 30)) {
_root.attaching("ene11-1", -30, 30);
timing++;
} else if ((timing == 3) && (count == 40)) {
_root.attaching("ene9", 350, 200);
timing++;
} else if (_global.e_count >= 6) {
_global.ground = 11;
timing = 0;
count = 0;
_global.e_count = 0;
if (_root.score_window.score >= 160000) {
_global.action = 29;
} else {
_global.action = 27;
}
}
} else if (_global.action == 34) {
if (timing == 0) {
count = 0;
timing++;
_global.ground = 12;
} else if ((timing == 1) && (count >= 80)) {
_root.inform2(7);
count = 0;
timing++;
} else if ((timing == 2) && (count == 60)) {
_root.attaching("ene16", 125, 125);
timing++;
} else if ((timing == 3) && (count == 75)) {
_root.attaching("ene16", 250, 250);
timing++;
} else if ((timing == 4) && (count == 90)) {
_root.attaching("ene16", 375, 375);
timing++;
} else if (_global.e_count >= 3) {
timing = 0;
count = 0;
_global.e_count = 0;
_global.action++;
}
} else if (_global.action == 35) {
if (timing == 0) {
_root.attaching("ene15", 250, 150);
timing++;
} else if (_global.e_count >= 1) {
timing = 0;
count = 0;
_global.e_count = 0;
_global.action++;
}
} else if (_global.action == 36) {
if (timing == 0) {
_root.attaching("ene15", 150, 250);
timing++;
count = 0;
} else if ((timing == 1) && (count == 40)) {
_root.attaching("ene16", 300, 125);
timing++;
} else if ((timing == 2) && (count == 50)) {
_root.attaching("ene16", 300, 375);
timing++;
} else if (_global.e_count == 3) {
timing = 0;
count = 0;
_global.e_count = 0;
_global.action++;
}
} else if (_global.action == 37) {
if ((timing == 0) && (count >= 60)) {
_root.attaching("ene15", 200, 250);
count = 0;
timing++;
} else if ((timing == 1) && (count == 90)) {
_root.attaching("ene16", 100, 100);
timing++;
} else if ((timing == 2) && (count == 95)) {
_root.attaching("ene16", 400, 400);
timing++;
} else if ((timing == 3) && (count == 270)) {
_root.attaching("ene16", 100, 400);
timing++;
} else if ((timing == 4) && (count == 275)) {
_root.attaching("ene16", 400, 100);
timing++;
} else if (_global.e_count == 5) {
if (timing == 5) {
count = 0;
timing++;
_global.ground = 5;
} else if ((timing == 6) && (count == 120)) {
timing = 0;
count = 0;
_global.e_count = 0;
_global.action = 18;
}
}
} else if (_global.action == 40) {
trace(_root.states.life);
if (((timing == 0) && (_root.ending._currentframe != 2)) && (_root.states.life._currentframe < 21)) {
_root.attaching("end2", 250, 250);
timing++;
} else if ((timing == 0) && (_root.states.life._currentframe < 21)) {
_root.ending.gotoAndStop(1);
timing++;
} else if ((timing == 0) && (_root.gameover._currentframe != 2)) {
_root.attaching("gameover", 250, 250);
timing++;
} else if (timing == 0) {
_root.gameover.gotoAndStop(1);
timing++;
}
}
}
Instance of Symbol 28 MovieClip "attack_master" in Frame 3
onClipEvent (load) {
_global.attackflg = 0;
count = 0;
_root.states.lockcounter = 0;
autocount = 0;
flg = 0;
}
on (keyPress "<Space>") {
if (_global.attackflg == 0) {
count = 0;
firecount++;
_global.attackflg = 1;
if (_parent.states.lockcounter != 0) {
attackso = new Sound();
attackso.attachSound("laser");
attackso.start(0, 1);
}
}
if (_root.ending.returnflg == 1) {
_root.ending.gotoAndStop(2);
_root.gotoAndStop(1);
trace("ok");
} else if (_root.gameover.returnflg == 1) {
_root.gameover.gotoAndStop(2);
_root.gotoAndStop(1);
trace("ok");
}
}
on (keyPress "b") {
if (_global.attackflg == 0) {
count = 0;
_global.attackflg = 2;
can = new Sound(this);
can.attachSound("Uty");
can.start(0, 1);
}
}
onClipEvent (enterFrame) {
count++;
autocount++;
if (count >= 1) {
_global.attackflg = 0;
}
if (autocount == 10) {
if ((autocount <= firecount) && (flg == 0)) {
_root.inform("autofire on");
flg = 1;
} else if ((autocount > (firecount + 5)) && (flg == 1)) {
_root.inform("autofire off");
flg = 0;
}
autocount = 0;
firecount = 0;
}
}
Instance of Symbol 28 MovieClip "sound_master" in Frame 3
onClipEvent (load) {
bgm = new Sound(this);
bgm.attachSound("bgm");
bgm.start(0, 100);
volume = 100;
}
onClipEvent (enterFrame) {
if ((_global.action == 40) && (volume > 0)) {
volume = volume - 2;
} else if (volume == 0) {
bgm.stop();
volume = 30;
}
bgm.setVolume(volume);
}
Instance of Symbol 28 MovieClip "anyway" in Frame 3
onClipEvent (load) {
_root.rock._visible = true;
if (!_root.rock) {
_root.attaching("cursor_master", 250, 250);
}
}
Frame 4
stop();
Frame 5
gotoAndStop (4);
Instance of Symbol 28 MovieClip in Symbol 33 MovieClip [night4] Frame 1
onClipEvent (load) {
_parent._rotation = _root.intrandomizer(0, 180);
count = 1;
}
onClipEvent (enterFrame) {
_parent._xscale = _parent._xscale - count;
_parent._yscale = _parent._yscale - count;
if (_parent._xscale <= 50) {
count++;
if (_parent._xscale <= 0) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 28 MovieClip in Symbol 35 MovieClip [obj7] Frame 1
onClipEvent (load) {
_parent._rotation = _root.intrandomizer(0, 180);
_parent._xscale = 200;
_parent._yscale = 200;
}
onClipEvent (enterFrame) {
_parent._xscale = _parent._xscale - 4;
_parent._yscale = _parent._yscale - 4;
_parent._alpha = _parent._alpha - 2;
if (_parent._xscale <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 28 MovieClip in Symbol 38 MovieClip [obj1] Frame 1
onClipEvent (load) {
_parent._rotation = _root.intrandomizer(0, 180);
}
onClipEvent (enterFrame) {
_parent._xscale = _parent._xscale - 8;
_parent._yscale = _parent._yscale - 8;
if (_parent._xscale <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 28 MovieClip in Symbol 40 MovieClip [obj6] Frame 1
onClipEvent (enterFrame) {
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
_parent._alpha = _parent._alpha - 4;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 28 MovieClip in Symbol 42 MovieClip [ext_parts2] Frame 1
onClipEvent (load) {
rand = _root.intrandomizer(20, 60);
_parent._xscale = _parent._xscale * (rand / 100);
_parent._yscale = _parent._yscale * (rand / 100);
rand = rand / 10;
}
onClipEvent (enterFrame) {
_parent._xscale = _parent._xscale - rand;
_parent._yscale = _parent._yscale - rand;
_parent._alpha = _parent._alpha - 10;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 28 MovieClip in Symbol 44 MovieClip [obj2] Frame 1
onClipEvent (enterFrame) {
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
_parent._alpha = _parent._alpha - 4;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 28 MovieClip in Symbol 46 MovieClip Frame 1
onClipEvent (load) {
rand = _root.intrandomizer(10, 1);
limit = 600 / rand;
_parent._xscale = rand * 10;
_parent._yscale = rand * 10;
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + rand;
count++;
if ((count >= limit) || (_global.ground == 6)) {
_parent._parent.removeMovieClip();
}
}
Symbol 53 MovieClip Frame 1
function attaching(ID, attachx, attachy) {
_global.attachcount++;
attachObject = "object" + _global.attachcount;
_parent.attachMovie(ID, attachObject, _global.attachcount);
_parent[attachObject]._x = attachx;
_parent[attachObject]._y = attachy;
}
Instance of Symbol 28 MovieClip in Symbol 53 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.action == 40) {
_parent._parent.removeMovieClip();
}
}
Symbol 54 MovieClip [ene1] Frame 1
stop();
_alpha = 0;
_xscale = 0;
_yscale = 0;
Instance of Symbol 53 MovieClip "core" in Symbol 54 MovieClip [ene1] Frame 1
onClipEvent (load) {
lock = 0;
life = 2;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
_parent.lockpoint = 0;
}
onClipEvent (enterFrame) {
count++;
_parent._rotation = _parent._rotation + 6;
if (count <= 50) {
_parent._alpha = _parent._alpha + 2;
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
} else if (count >= 120) {
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_global.e_count++;
_parent.removeMovieClip();
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 54 MovieClip [ene1] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 54 MovieClip [ene1] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(180, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 61 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 20
stop();
Symbol 62 MovieClip [ene6] Frame 1
this._xscale = 20;
this._yscale = 20;
this._alpha = 20;
stop();
Instance of Symbol 53 MovieClip "core" in Symbol 62 MovieClip [ene6] Frame 1
onClipEvent (load) {
lock = 0;
life = 6;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
_parent._rotation = 90;
speed = 9;
rotate = 0;
}
onClipEvent (enterFrame) {
count++;
if (speed > 0) {
speed = speed - 0.1;
}
if (count <= 45) {
_parent._yscale = _parent._yscale + 1.5;
_parent._xscale = _parent._xscale + 1.5;
_parent._alpha = _parent._alpha + 1.5;
_parent._rotation = _parent._rotation - 2;
degree = degree + 2;
_parent._x = _parent._x + (Math.cos((Math.PI * degree) / 180) * speed);
_parent._y = _parent._y - (Math.sin((Math.PI * degree) / 180) * speed);
if ((count == 45) && (_parent.barner._visible == true)) {
_parent.barner._visible = false;
}
} else if (count <= 90) {
_parent._y = _parent._y - speed;
} else if (count > 150) {
if (_parent.barner._visible == false) {
_parent.barner._visible = true;
}
_parent._yscale++;
_parent._xscale++;
_parent._alpha++;
_parent._y = _parent._y - speed;
speed = speed + 0.4;
if (_parent._y <= -30) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_parent.removeMovieClip();
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (((count == 20) || (count == 30)) || (count == 40)) {
_root.attacking(10, _parent._x, _parent._y);
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 57 MovieClip "barner" in Symbol 62 MovieClip [ene6] Frame 1
onClipEvent (load) {
this._visible = true;
}
onClipEvent (enterFrame) {
if (this._visible == true) {
count++;
if (count >= 2) {
count = 0;
_root.attaching("ext_parts2", _parent._x + _root.randomizer(-8, 8), (_parent._y + 60) + _root.randomizer(-45, 45));
_root[_root.attachObject]._xscale = _parent._xscale;
_root[_root.attachObject]._yscale = _parent._yscale;
}
}
}
Instance of Symbol 61 MovieClip in Symbol 62 MovieClip [ene6] Frame 1
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
count++;
if ((count < 60) && (this._currentframe == 1)) {
this._rotation++;
this._x = this._x - 0.1;
this._y = this._y - 0.1;
} else if ((count <= 90) && (this._currentframe == 1)) {
this._rotation = this._rotation + 0.5;
} else if ((count > 120) && (this._currentframe == 1)) {
this._rotation--;
}
if (_parent._currentframe == 2) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
this._rotation = this._rotation - 2;
this._x = this._x + 0.5;
this._y = this._y + 0.2;
}
}
Instance of Symbol 61 MovieClip in Symbol 62 MovieClip [ene6] Frame 1
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
count++;
if ((count < 60) && (this._currentframe == 1)) {
this._rotation--;
this._x = this._x + 0.1;
this._y = this._y - 0.1;
} else if ((count <= 90) && (this._currentframe == 1)) {
this._rotation = this._rotation - 0.5;
} else if ((count > 120) && (this._currentframe == 1)) {
this._rotation++;
}
if (_parent._currentframe == 2) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
this._rotation = this._rotation + 2;
this._x = this._x - 0.2;
this._y = this._y - 0.5;
}
}
Symbol 62 MovieClip [ene6] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
stop();
Instance of Symbol 53 MovieClip in Symbol 62 MovieClip [ene6] Frame 2
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha - 4;
if (_parent._alpha <= 0) {
_parent.gotoAndStop(3);
}
}
Symbol 62 MovieClip [ene6] Frame 3
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(980, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 65 MovieClip [ene2-2] Frame 1
stop();
Instance of Symbol 53 MovieClip in Symbol 65 MovieClip [ene2-2] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
_parent._rotation = -30;
speed = 26;
rotate = 0;
}
onClipEvent (enterFrame) {
count++;
if ((speed != 0) && (count < 50)) {
_parent._y = _parent._y + ((1.73205080756888 * speed) / 2);
_parent._x = _parent._x + (speed / 2);
speed = speed - 1;
} else if (count >= 50) {
_parent._y = _parent._y + ((1.73205080756888 * speed) / 2);
_parent._x = _parent._x + (speed / 2);
speed = speed + 0.5;
if ((_parent._y <= -5) || (_parent._x >= 505)) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_parent.removeMovieClip();
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if ((count == 10) || (count == 15)) {
_root.attacking(10, _parent._x, _parent._y);
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 64 MovieClip in Symbol 65 MovieClip [ene2-2] Frame 1
onClipEvent (load) {
this._yscale = 5;
flg = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((this._yscale < 100) && (flg == 0)) {
this._yscale = this._yscale + 5;
if (this._yscale >= 100) {
flg = 1;
}
} else if ((flg == 1) && (count > 90)) {
this._yscale = this._yscale - 6;
}
}
Instance of Symbol 64 MovieClip "a" in Symbol 65 MovieClip [ene2-2] Frame 1
onClipEvent (load) {
this._yscale = 5;
flg = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((this._yscale < 100) && (flg == 0)) {
this._yscale = this._yscale + 5;
if (this._yscale >= 100) {
flg = 1;
}
} else if ((flg == 1) && (count > 90)) {
this._yscale = this._yscale - 6;
}
}
Symbol 65 MovieClip [ene2-2] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 65 MovieClip [ene2-2] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(310, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 66 MovieClip [ene2-7] Frame 1
stop();
Instance of Symbol 53 MovieClip in Symbol 66 MovieClip [ene2-7] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
_parent._rotation = -30;
speed = 26;
rotate = 0;
}
onClipEvent (enterFrame) {
count++;
if ((speed != 0) && (count < 50)) {
_parent._y = _parent._y + (speed * 0.866025403784439);
_parent._x = _parent._x + (speed * 0.5);
speed = speed - 1;
} else if (count >= 50) {
_parent._y = _parent._y + (speed * 0.866025403784439);
_parent._x = _parent._x + (speed * 0.5);
speed = speed + 0.5;
if (_parent._y <= -5) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_parent.removeMovieClip();
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (count == 15) {
_root.attaching("ene_attack7", _parent._x, _parent._y);
}
if (life <= 0) {
_parent.gotoAndPlay(2);
} else if (_parent._y >= 510) {
_root[_parent.targetname].removeMovieClip();
_global.e_count++;
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 64 MovieClip in Symbol 66 MovieClip [ene2-7] Frame 1
onClipEvent (load) {
this._yscale = 5;
flg = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((this._yscale < 100) && (flg == 0)) {
this._yscale = this._yscale + 5;
if (this._yscale >= 100) {
flg = 1;
}
} else if ((flg == 1) && (count > 90)) {
this._yscale = this._yscale - 6;
}
}
Instance of Symbol 64 MovieClip "a" in Symbol 66 MovieClip [ene2-7] Frame 1
onClipEvent (load) {
this._yscale = 5;
flg = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((this._yscale < 100) && (flg == 0)) {
this._yscale = this._yscale + 5;
if (this._yscale >= 100) {
flg = 1;
}
} else if ((flg == 1) && (count > 90)) {
this._yscale = this._yscale - 6;
}
}
Symbol 66 MovieClip [ene2-7] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 66 MovieClip [ene2-7] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(310, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 67 MovieClip [ene2-8] Frame 1
stop();
Instance of Symbol 53 MovieClip in Symbol 67 MovieClip [ene2-8] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
_parent._rotation = -30;
speed = 26;
rotate = 0;
}
onClipEvent (enterFrame) {
count++;
if ((speed != 0) && (count < 50)) {
_parent._y = _parent._y - (speed * 0.866025403784439);
_parent._x = _parent._x - (speed * 0.5);
speed = speed - 1;
} else if (count >= 50) {
_parent._y = _parent._y - (speed * 0.866025403784439);
_parent._x = _parent._x - (speed * 0.5);
speed = speed + 0.5;
if (_parent._y <= -5) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_parent.removeMovieClip();
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (count == 15) {
_root.attaching("ene_attack7", _parent._x, _parent._y);
}
if (life <= 0) {
_parent.gotoAndPlay(2);
} else if (_parent._y <= -10) {
_root[_parent.targetname].removeMovieClip();
_global.e_count++;
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 64 MovieClip in Symbol 67 MovieClip [ene2-8] Frame 1
onClipEvent (load) {
this._yscale = 5;
flg = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((this._yscale < 100) && (flg == 0)) {
this._yscale = this._yscale + 5;
if (this._yscale >= 100) {
flg = 1;
}
} else if ((flg == 1) && (count > 90)) {
this._yscale = this._yscale - 6;
}
}
Instance of Symbol 64 MovieClip "a" in Symbol 67 MovieClip [ene2-8] Frame 1
onClipEvent (load) {
this._yscale = 5;
flg = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((this._yscale < 100) && (flg == 0)) {
this._yscale = this._yscale + 5;
if (this._yscale >= 100) {
flg = 1;
}
} else if ((flg == 1) && (count > 90)) {
this._yscale = this._yscale - 6;
}
}
Symbol 67 MovieClip [ene2-8] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 67 MovieClip [ene2-8] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(310, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 68 MovieClip [ene2-6] Frame 1
stop();
Instance of Symbol 53 MovieClip in Symbol 68 MovieClip [ene2-6] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
_parent._rotation = -60;
speed = 26;
rotate = 0;
}
onClipEvent (enterFrame) {
count++;
if ((speed != 0) && (count < 50)) {
_parent._y = _parent._y - (speed * 0.5);
_parent._x = _parent._x - (speed * 0.866025403784439);
speed = speed - 1;
} else if (count >= 50) {
_parent._y = _parent._y - (speed * 0.5);
_parent._x = _parent._x - (speed * 0.866025403784439);
speed = speed + 0.5;
if (_parent._y <= -5) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_parent.removeMovieClip();
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (count == 15) {
_root.attaching("ene_attack7", _parent._x, _parent._y);
}
if (life <= 0) {
_parent.gotoAndPlay(2);
} else if (_parent._y <= -10) {
_root[_parent.targetname].removeMovieClip();
_global.e_count++;
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 64 MovieClip in Symbol 68 MovieClip [ene2-6] Frame 1
onClipEvent (load) {
this._yscale = 5;
flg = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((this._yscale < 100) && (flg == 0)) {
this._yscale = this._yscale + 5;
if (this._yscale >= 100) {
flg = 1;
}
} else if ((flg == 1) && (count > 90)) {
this._yscale = this._yscale - 6;
}
}
Instance of Symbol 64 MovieClip "a" in Symbol 68 MovieClip [ene2-6] Frame 1
onClipEvent (load) {
this._yscale = 5;
flg = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((this._yscale < 100) && (flg == 0)) {
this._yscale = this._yscale + 5;
if (this._yscale >= 100) {
flg = 1;
}
} else if ((flg == 1) && (count > 90)) {
this._yscale = this._yscale - 6;
}
}
Symbol 68 MovieClip [ene2-6] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 68 MovieClip [ene2-6] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(310, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 69 MovieClip [ene2-5] Frame 1
stop();
Instance of Symbol 53 MovieClip in Symbol 69 MovieClip [ene2-5] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
_parent._rotation = -60;
speed = 26;
rotate = 0;
}
onClipEvent (enterFrame) {
count++;
if ((speed != 0) && (count < 50)) {
_parent._y = _parent._y + (speed * 0.5);
_parent._x = _parent._x + (speed * 0.866025403784439);
speed = speed - 1;
} else if (count >= 50) {
_parent._y = _parent._y + (speed * 0.5);
_parent._x = _parent._x + (speed * 0.866025403784439);
speed = speed + 0.5;
if (_parent._y <= -5) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_parent.removeMovieClip();
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (count == 15) {
_root.attaching("ene_attack7", _parent._x, _parent._y);
}
if (life <= 0) {
_parent.gotoAndPlay(2);
} else if (_parent._y >= 510) {
_root[_parent.targetname].removeMovieClip();
_global.e_count++;
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 64 MovieClip in Symbol 69 MovieClip [ene2-5] Frame 1
onClipEvent (load) {
this._yscale = 5;
flg = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((this._yscale < 100) && (flg == 0)) {
this._yscale = this._yscale + 5;
if (this._yscale >= 100) {
flg = 1;
}
} else if ((flg == 1) && (count > 90)) {
this._yscale = this._yscale - 6;
}
}
Instance of Symbol 64 MovieClip "a" in Symbol 69 MovieClip [ene2-5] Frame 1
onClipEvent (load) {
this._yscale = 5;
flg = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((this._yscale < 100) && (flg == 0)) {
this._yscale = this._yscale + 5;
if (this._yscale >= 100) {
flg = 1;
}
} else if ((flg == 1) && (count > 90)) {
this._yscale = this._yscale - 6;
}
}
Symbol 69 MovieClip [ene2-5] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 69 MovieClip [ene2-5] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(310, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 70 MovieClip [ene2-4] Frame 1
stop();
Instance of Symbol 53 MovieClip in Symbol 70 MovieClip [ene2-4] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
speed = 26;
rotate = 0;
}
onClipEvent (enterFrame) {
count++;
if ((speed != 0) && (count < 50)) {
_parent._y = _parent._y + speed;
speed = speed - 1;
} else if (count >= 50) {
_parent._y = _parent._y + speed;
speed = speed + 0.5;
if (_parent._y <= -5) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_parent.removeMovieClip();
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (count == 15) {
_root.attaching("ene_attack7", _parent._x, _parent._y);
}
if (life <= 0) {
_parent.gotoAndPlay(2);
} else if (_parent._y >= 510) {
_root[_parent.targetname].removeMovieClip();
_global.e_count++;
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 64 MovieClip in Symbol 70 MovieClip [ene2-4] Frame 1
onClipEvent (load) {
this._yscale = 5;
flg = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((this._yscale < 100) && (flg == 0)) {
this._yscale = this._yscale + 5;
if (this._yscale >= 100) {
flg = 1;
}
} else if ((flg == 1) && (count > 90)) {
this._yscale = this._yscale - 6;
}
}
Instance of Symbol 64 MovieClip "a" in Symbol 70 MovieClip [ene2-4] Frame 1
onClipEvent (load) {
this._yscale = 5;
flg = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((this._yscale < 100) && (flg == 0)) {
this._yscale = this._yscale + 5;
if (this._yscale >= 100) {
flg = 1;
}
} else if ((flg == 1) && (count > 90)) {
this._yscale = this._yscale - 6;
}
}
Symbol 70 MovieClip [ene2-4] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 70 MovieClip [ene2-4] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(310, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 71 MovieClip [ene2-3] Frame 1
stop();
Instance of Symbol 53 MovieClip in Symbol 71 MovieClip [ene2-3] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
speed = 26;
rotate = 0;
}
onClipEvent (enterFrame) {
count++;
if ((speed != 0) && (count < 50)) {
_parent._y = _parent._y - speed;
speed = speed - 1;
} else if (count >= 50) {
_parent._y = _parent._y - speed;
speed = speed + 0.5;
if (_parent._y <= -5) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_parent.removeMovieClip();
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (count == 15) {
_root.attaching("ene_attack7", _parent._x, _parent._y);
}
if (life <= 0) {
_parent.gotoAndPlay(2);
} else if (_parent._y <= -10) {
_root[_parent.targetname].removeMovieClip();
_global.e_count++;
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 64 MovieClip in Symbol 71 MovieClip [ene2-3] Frame 1
onClipEvent (load) {
this._yscale = 5;
flg = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((this._yscale < 100) && (flg == 0)) {
this._yscale = this._yscale + 5;
if (this._yscale >= 100) {
flg = 1;
}
} else if ((flg == 1) && (count > 90)) {
this._yscale = this._yscale - 6;
}
}
Instance of Symbol 64 MovieClip "a" in Symbol 71 MovieClip [ene2-3] Frame 1
onClipEvent (load) {
this._yscale = 5;
flg = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((this._yscale < 100) && (flg == 0)) {
this._yscale = this._yscale + 5;
if (this._yscale >= 100) {
flg = 1;
}
} else if ((flg == 1) && (count > 90)) {
this._yscale = this._yscale - 6;
}
}
Symbol 71 MovieClip [ene2-3] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 71 MovieClip [ene2-3] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(310, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 72 MovieClip [ene2] Frame 1
stop();
Instance of Symbol 53 MovieClip in Symbol 72 MovieClip [ene2] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
speed = 26;
rotate = 0;
}
onClipEvent (enterFrame) {
count++;
if ((speed != 0) && (count < 90)) {
_parent._y = _parent._y - speed;
speed = speed - 1;
} else if (count >= 90) {
_parent._y = _parent._y - speed;
speed = speed + 0.5;
if (_parent._y <= -5) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_parent.removeMovieClip();
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (count == 15) {
_root.attacking(_parent._xscale, _parent._x, _parent._y);
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 64 MovieClip in Symbol 72 MovieClip [ene2] Frame 1
onClipEvent (load) {
this._yscale = 5;
flg = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((this._yscale < 100) && (flg == 0)) {
this._yscale = this._yscale + 5;
if (this._yscale >= 100) {
flg = 1;
}
} else if ((flg == 1) && (count > 90)) {
this._yscale = this._yscale - 6;
}
}
Instance of Symbol 64 MovieClip "a" in Symbol 72 MovieClip [ene2] Frame 1
onClipEvent (load) {
this._yscale = 5;
flg = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((this._yscale < 100) && (flg == 0)) {
this._yscale = this._yscale + 5;
if (this._yscale >= 100) {
flg = 1;
}
} else if ((flg == 1) && (count > 90)) {
this._yscale = this._yscale - 6;
}
}
Symbol 72 MovieClip [ene2] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 72 MovieClip [ene2] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(310, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 91 MovieClip [target2] Frame 1
if (_root[link][corelink].life == this._currentframe) {
so = new Sound(this);
so.attachSound("lock2");
so.start(0, 1);
col1 = new Color(w1);
col2 = new Color(w2);
col1.setRGB(_root.trancer(255, 60, 60));
col2.setRGB(_root.trancer(255, 60, 60));
} else {
so = new Sound(this);
so.attachSound("lock");
so.start(0, 1);
}
_root.rock.core.gotoAndPlay(2);
stop();
Instance of Symbol 80 MovieClip "w2" in Symbol 91 MovieClip [target2] Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
this._y--;
this._x++;
this._xscale = this._xscale - 2;
this._yscale = this._yscale - 2;
}
}
Instance of Symbol 80 MovieClip "w1" in Symbol 91 MovieClip [target2] Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
this._y++;
this._x--;
this._xscale = this._xscale - 2;
this._yscale = this._yscale - 2;
}
}
Instance of Symbol 28 MovieClip "core" in Symbol 91 MovieClip [target2] Frame 1
onClipEvent (load) {
flag = 0;
}
onClipEvent (enterFrame) {
_parent._x = _root[_parent.link].head._x;
_parent._y = _root[_parent.link].head._y;
_parent.long = Math.floor(200 - _root[_parent.link]._xscale);
if (_global.attackflg == 1) {
_root[_parent.link][_parent.corelink].life = _root[_parent.link][_parent.corelink].life - _parent._currentframe;
_root[_parent.link][_parent.corelink].lock = 0;
_root[_parent.link].targetname = "NULL";
a = 1;
while (a <= _parent._currentframe) {
randx = _root.randomizer(-16, 16);
randy = _root.randomizer(-16, 16);
_root.attaching("obj1", _parent._x + randx, _parent._y + randy);
a++;
}
_root.attaching("obj2", _parent._x, _parent._y);
_root.states.lockcounter = _root.states.lockcounter - _parent._currentframe;
if (_parent._currentframe == 8) {
_root.inform("full lock attack");
}
_parent.removeMovieClip();
} else if (_global.attackflg == 2) {
_root[_parent.link][_parent.corelink].lock = 0;
_root[_parent.link].targetname = "NULL";
_root.states.lockcounter = _root.states.lockcounter - _parent._currentframe;
_parent.removeMovieClip();
} else if (_parent.long <= 80) {
change_r = 240 - (_parent._long * 3);
change_g = 160 - (_parent.long * 2);
col = _root.trancer(change_r, change_g, 60);
_parent.str.textColor = col;
_parent.str._xscale = 180 - _parent.long;
_parent.str._yscale = 180 - _parent.long;
}
}
Symbol 91 MovieClip [target2] Frame 2
if (_root[link][corelink].life == this._currentframe) {
so = new Sound(this);
so.attachSound("lock2");
so.start(0, 1);
col1 = new Color(w1);
col2 = new Color(w2);
col1.setRGB(_root.trancer(255, 60, 60));
col2.setRGB(_root.trancer(255, 60, 60));
} else {
so = new Sound(this);
so.attachSound("lock");
so.start(0, 1);
}
_root.rock.core.gotoAndPlay(2);
stop();
Symbol 91 MovieClip [target2] Frame 3
if (_root[link][corelink].life == this._currentframe) {
so = new Sound(this);
so.attachSound("lock2");
so.start(0, 1);
col1 = new Color(w1);
col2 = new Color(w2);
col1.setRGB(_root.trancer(255, 60, 60));
col2.setRGB(_root.trancer(255, 60, 60));
} else {
so = new Sound(this);
so.attachSound("lock");
so.start(0, 1);
}
_root.rock.core.gotoAndPlay(2);
stop();
Symbol 91 MovieClip [target2] Frame 4
if (_root[link][corelink].life == this._currentframe) {
so = new Sound(this);
so.attachSound("lock2");
so.start(0, 1);
col1 = new Color(w1);
col2 = new Color(w2);
col1.setRGB(_root.trancer(255, 60, 60));
col2.setRGB(_root.trancer(255, 60, 60));
} else {
so = new Sound(this);
so.attachSound("lock");
so.start(0, 1);
}
_root.rock.core.gotoAndPlay(2);
stop();
Symbol 91 MovieClip [target2] Frame 5
if (_root[link][corelink].life == this._currentframe) {
so = new Sound(this);
so.attachSound("lock2");
so.start(0, 1);
col1 = new Color(w1);
col2 = new Color(w2);
col1.setRGB(_root.trancer(255, 60, 60));
col2.setRGB(_root.trancer(255, 60, 60));
} else {
so = new Sound(this);
so.attachSound("lock");
so.start(0, 1);
}
_root.rock.core.gotoAndPlay(2);
stop();
Symbol 91 MovieClip [target2] Frame 6
if (_root[link][corelink].life == this._currentframe) {
so = new Sound(this);
so.attachSound("lock2");
so.start(0, 1);
col1 = new Color(w1);
col2 = new Color(w2);
col1.setRGB(_root.trancer(255, 60, 60));
col2.setRGB(_root.trancer(255, 60, 60));
} else {
so = new Sound(this);
so.attachSound("lock");
so.start(0, 1);
}
_root.rock.core.gotoAndPlay(2);
stop();
Symbol 91 MovieClip [target2] Frame 7
if (_root[link][corelink].life == this._currentframe) {
so = new Sound(this);
so.attachSound("lock2");
so.start(0, 1);
col1 = new Color(w1);
col2 = new Color(w2);
col1.setRGB(_root.trancer(255, 60, 60));
col2.setRGB(_root.trancer(255, 60, 60));
} else {
so = new Sound(this);
so.attachSound("lock");
so.start(0, 1);
}
_root.rock.core.gotoAndPlay(2);
stop();
Symbol 91 MovieClip [target2] Frame 8
if (_root[link][corelink].life == this._currentframe) {
so = new Sound(this);
so.attachSound("lock2");
so.start(0, 1);
col1 = new Color(w1);
col2 = new Color(w2);
col1.setRGB(_root.trancer(255, 60, 60));
col2.setRGB(_root.trancer(255, 60, 60));
} else {
so = new Sound(this);
so.attachSound("lock");
so.start(0, 1);
}
_root.rock.core.gotoAndPlay(2);
stop();
Symbol 93 MovieClip [obj4] Frame 1
if (_root[link][corelink].life == this._currentframe) {
so = new Sound(this);
so.attachSound("lock2");
so.start(0, 1);
col1 = new Color(w1);
col2 = new Color(w2);
col1.setRGB(_root.trancer(255, 60, 60));
col2.setRGB(_root.trancer(255, 60, 60));
} else {
so = new Sound(this);
so.attachSound("lock");
so.start(0, 1);
}
_root.rock.core.gotoAndPlay(2);
stop();
Instance of Symbol 80 MovieClip "w2" in Symbol 93 MovieClip [obj4] Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
this._y--;
this._x++;
this._xscale = this._xscale - 2;
this._yscale = this._yscale - 2;
}
}
Instance of Symbol 80 MovieClip "w1" in Symbol 93 MovieClip [obj4] Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
this._y++;
this._x--;
this._xscale = this._xscale - 2;
this._yscale = this._yscale - 2;
}
}
Instance of Symbol 28 MovieClip "core" in Symbol 93 MovieClip [obj4] Frame 1
onClipEvent (load) {
flag = 0;
}
onClipEvent (enterFrame) {
if (_global.action == 40) {
_parent.removeMovieClip();
}
_parent._x = _root[_parent.link]._x;
_parent._y = _root[_parent.link]._y;
_parent.long = Math.floor(200 - _root[_parent.link]._xscale);
if (_global.attackflg == 1) {
_root[_parent.link][_parent.corelink].life = _root[_parent.link][_parent.corelink].life - _parent._currentframe;
_root[_parent.link][_parent.corelink].lock = 0;
_root[_parent.link].targetname = "NULL";
a = 1;
while (a <= _parent._currentframe) {
randx = _root.randomizer(-16, 16);
randy = _root.randomizer(-16, 16);
_root.attaching("obj1", _parent._x + randx, _parent._y + randy);
a++;
}
_root.attaching("obj2", _parent._x, _parent._y);
_root.states.lockcounter = _root.states.lockcounter - _parent._currentframe;
if (_parent._currentframe == 8) {
_root.inform("full lock attack");
}
_parent.removeMovieClip();
} else if (_global.attackflg == 2) {
_root[_parent.link][_parent.corelink].lock = 0;
_root[_parent.link].targetname = "NULL";
_root.states.lockcounter = _root.states.lockcounter - _parent._currentframe;
_parent.removeMovieClip();
} else if (_parent.long <= 80) {
change_r = 240 - (_parent._long * 3);
change_g = 160 - (_parent.long * 2);
col = _root.trancer(change_r, change_g, 60);
_parent.str.textColor = col;
_parent.str._xscale = 180 - _parent.long;
_parent.str._yscale = 180 - _parent.long;
}
}
Symbol 93 MovieClip [obj4] Frame 2
if (_root[link][corelink].life == this._currentframe) {
so = new Sound(this);
so.attachSound("lock2");
so.start(0, 1);
col1 = new Color(w1);
col2 = new Color(w2);
col1.setRGB(_root.trancer(255, 60, 60));
col2.setRGB(_root.trancer(255, 60, 60));
} else {
so = new Sound(this);
so.attachSound("lock");
so.start(0, 1);
}
_root.rock.core.gotoAndPlay(2);
stop();
Symbol 93 MovieClip [obj4] Frame 3
if (_root[link][corelink].life == this._currentframe) {
so = new Sound(this);
so.attachSound("lock2");
so.start(0, 1);
col1 = new Color(w1);
col2 = new Color(w2);
col1.setRGB(_root.trancer(255, 60, 60));
col2.setRGB(_root.trancer(255, 60, 60));
} else {
so = new Sound(this);
so.attachSound("lock");
so.start(0, 1);
}
_root.rock.core.gotoAndPlay(2);
stop();
Symbol 93 MovieClip [obj4] Frame 4
if (_root[link][corelink].life == this._currentframe) {
so = new Sound(this);
so.attachSound("lock2");
so.start(0, 1);
col1 = new Color(w1);
col2 = new Color(w2);
col1.setRGB(_root.trancer(255, 60, 60));
col2.setRGB(_root.trancer(255, 60, 60));
} else {
so = new Sound(this);
so.attachSound("lock");
so.start(0, 1);
}
_root.rock.core.gotoAndPlay(2);
stop();
Symbol 93 MovieClip [obj4] Frame 5
if (_root[link][corelink].life == this._currentframe) {
so = new Sound(this);
so.attachSound("lock2");
so.start(0, 1);
col1 = new Color(w1);
col2 = new Color(w2);
col1.setRGB(_root.trancer(255, 60, 60));
col2.setRGB(_root.trancer(255, 60, 60));
} else {
so = new Sound(this);
so.attachSound("lock");
so.start(0, 1);
}
_root.rock.core.gotoAndPlay(2);
stop();
Symbol 93 MovieClip [obj4] Frame 6
if (_root[link][corelink].life == this._currentframe) {
so = new Sound(this);
so.attachSound("lock2");
so.start(0, 1);
col1 = new Color(w1);
col2 = new Color(w2);
col1.setRGB(_root.trancer(255, 60, 60));
col2.setRGB(_root.trancer(255, 60, 60));
} else {
so = new Sound(this);
so.attachSound("lock");
so.start(0, 1);
}
_root.rock.core.gotoAndPlay(2);
stop();
Symbol 93 MovieClip [obj4] Frame 7
if (_root[link][corelink].life == this._currentframe) {
so = new Sound(this);
so.attachSound("lock2");
so.start(0, 1);
col1 = new Color(w1);
col2 = new Color(w2);
col1.setRGB(_root.trancer(255, 60, 60));
col2.setRGB(_root.trancer(255, 60, 60));
} else {
so = new Sound(this);
so.attachSound("lock");
so.start(0, 1);
}
_root.rock.core.gotoAndPlay(2);
stop();
Symbol 93 MovieClip [obj4] Frame 8
if (_root[link][corelink].life == this._currentframe) {
so = new Sound(this);
so.attachSound("lock2");
so.start(0, 1);
col1 = new Color(w1);
col2 = new Color(w2);
col1.setRGB(_root.trancer(255, 60, 60));
col2.setRGB(_root.trancer(255, 60, 60));
} else {
so = new Sound(this);
so.attachSound("lock");
so.start(0, 1);
}
_root.rock.core.gotoAndPlay(2);
stop();
Symbol 96 MovieClip [ene3-5] Frame 1
stop();
_alpha = 0;
_xscale = 0;
_yscale = 0;
Instance of Symbol 95 MovieClip in Symbol 96 MovieClip [ene3-5] Frame 1
onClipEvent (load) {
degree = 0;
radian = 0;
rotate = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation - 4;
degree = degree + rotate;
if ((degree >= 180) && (depth == 0)) {
depth = 1;
}
if (degree >= 360) {
degree = degree - 360;
depth = 0;
}
radian = (Math.PI * degree) / 180;
this._x = Math.cos(radian) * 20;
this._y = Math.sin(radian) * 10;
this._xscale = this._xscale + (Math.cos(radian) * 3);
this._yscale = this._yscale + (Math.cos(radian) * 3);
}
Instance of Symbol 53 MovieClip "core" in Symbol 96 MovieClip [ene3-5] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
degree = 0;
radian = 0;
rotate = 1.8;
}
onClipEvent (enterFrame) {
count++;
_parent._rotation = _parent._rotation + 4;
_parent._x = _parent._x - 4;
degree = degree + rotate;
radian = (Math.PI * degree) / 180;
_parent._y = _parent._y - (Math.cos(radian) * 4);
_parent._alpha = _parent._alpha + 2;
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 95 MovieClip in Symbol 96 MovieClip [ene3-5] Frame 1
onClipEvent (load) {
degree = 180;
radian = 0;
rotate = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation - 4;
degree = degree + rotate;
if ((degree >= 180) && (depth == 0)) {
depth = 1;
}
if (degree >= 360) {
degree = degree - 360;
depth = 0;
}
radian = (Math.PI * degree) / 180;
this._x = Math.cos(radian) * 20;
this._y = Math.sin(radian) * 10;
this._xscale = this._xscale + (Math.cos(radian) * 3);
this._yscale = this._yscale + (Math.cos(radian) * 3);
}
Symbol 96 MovieClip [ene3-5] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 96 MovieClip [ene3-5] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(260, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 97 MovieClip [ene3-6] Frame 1
stop();
_alpha = 0;
_xscale = 0;
_yscale = 0;
Instance of Symbol 95 MovieClip in Symbol 97 MovieClip [ene3-6] Frame 1
onClipEvent (load) {
degree = 0;
radian = 0;
rotate = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation - 4;
degree = degree + rotate;
if ((degree >= 180) && (depth == 0)) {
depth = 1;
}
if (degree >= 360) {
degree = degree - 360;
depth = 0;
}
radian = (Math.PI * degree) / 180;
this._x = Math.cos(radian) * 20;
this._y = Math.sin(radian) * 10;
this._xscale = this._xscale + (Math.cos(radian) * 3);
this._yscale = this._yscale + (Math.cos(radian) * 3);
}
Instance of Symbol 53 MovieClip "core" in Symbol 97 MovieClip [ene3-6] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
degree = 0;
radian = 0;
rotate = 1.8;
}
onClipEvent (enterFrame) {
count++;
_parent._rotation = _parent._rotation + 4;
_parent._x = _parent._x + 4;
degree = degree + rotate;
radian = (Math.PI * degree) / 180;
_parent._y = _parent._y + (Math.cos(radian) * 4);
_parent._alpha = _parent._alpha + 2;
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 95 MovieClip in Symbol 97 MovieClip [ene3-6] Frame 1
onClipEvent (load) {
degree = 180;
radian = 0;
rotate = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation - 4;
degree = degree + rotate;
if ((degree >= 180) && (depth == 0)) {
depth = 1;
}
if (degree >= 360) {
degree = degree - 360;
depth = 0;
}
radian = (Math.PI * degree) / 180;
this._x = Math.cos(radian) * 20;
this._y = Math.sin(radian) * 10;
this._xscale = this._xscale + (Math.cos(radian) * 3);
this._yscale = this._yscale + (Math.cos(radian) * 3);
}
Symbol 97 MovieClip [ene3-6] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 97 MovieClip [ene3-6] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(260, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 98 MovieClip [ene3-2] Frame 1
stop();
_alpha = 0;
_xscale = 0;
_yscale = 0;
Instance of Symbol 95 MovieClip in Symbol 98 MovieClip [ene3-2] Frame 1
onClipEvent (load) {
degree = 0;
radian = 0;
rotate = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation - 4;
degree = degree + rotate;
if ((degree >= 180) && (depth == 0)) {
depth = 1;
}
if (degree >= 360) {
degree = degree - 360;
depth = 0;
}
radian = (Math.PI * degree) / 180;
this._x = Math.cos(radian) * 20;
this._y = Math.sin(radian) * 10;
this._xscale = this._xscale + (Math.cos(radian) * 3);
this._yscale = this._yscale + (Math.cos(radian) * 3);
}
Instance of Symbol 53 MovieClip "core" in Symbol 98 MovieClip [ene3-2] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
degree = 0;
radian = 0;
rotate = 1.8;
}
onClipEvent (enterFrame) {
count++;
_parent._rotation = _parent._rotation + 4;
_parent._x = _parent._x + 4;
degree = degree + rotate;
radian = (Math.PI * degree) / 180;
_parent._y = _parent._y - (Math.cos(radian) * 4);
_parent._alpha = _parent._alpha + 2;
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 95 MovieClip in Symbol 98 MovieClip [ene3-2] Frame 1
onClipEvent (load) {
degree = 180;
radian = 0;
rotate = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation - 4;
degree = degree + rotate;
if ((degree >= 180) && (depth == 0)) {
depth = 1;
}
if (degree >= 360) {
degree = degree - 360;
depth = 0;
}
radian = (Math.PI * degree) / 180;
this._x = Math.cos(radian) * 20;
this._y = Math.sin(radian) * 10;
this._xscale = this._xscale + (Math.cos(radian) * 3);
this._yscale = this._yscale + (Math.cos(radian) * 3);
}
Symbol 98 MovieClip [ene3-2] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 98 MovieClip [ene3-2] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(260, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 99 MovieClip [ene3-3] Frame 1
stop();
_alpha = 0;
_xscale = 0;
_yscale = 0;
Instance of Symbol 95 MovieClip in Symbol 99 MovieClip [ene3-3] Frame 1
onClipEvent (load) {
degree = 0;
radian = 0;
rotate = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation - 4;
degree = degree + rotate;
if ((degree >= 180) && (depth == 0)) {
depth = 1;
}
if (degree >= 360) {
degree = degree - 360;
depth = 0;
}
radian = (Math.PI * degree) / 180;
this._x = Math.cos(radian) * 20;
this._y = Math.sin(radian) * 10;
this._xscale = this._xscale + (Math.cos(radian) * 3);
this._yscale = this._yscale + (Math.cos(radian) * 3);
}
Instance of Symbol 53 MovieClip "core" in Symbol 99 MovieClip [ene3-3] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
degree = 0;
radian = 0;
rotate = 1.8;
}
onClipEvent (enterFrame) {
count++;
_parent._rotation = _parent._rotation + 4;
_parent._y = _parent._y + 4;
degree = degree + rotate;
radian = (Math.PI * degree) / 180;
_parent._x = _parent._x - (Math.cos(radian) * 4);
_parent._alpha = _parent._alpha + 2;
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 95 MovieClip in Symbol 99 MovieClip [ene3-3] Frame 1
onClipEvent (load) {
degree = 180;
radian = 0;
rotate = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation - 4;
degree = degree + rotate;
if ((degree >= 180) && (depth == 0)) {
depth = 1;
}
if (degree >= 360) {
degree = degree - 360;
depth = 0;
}
radian = (Math.PI * degree) / 180;
this._x = Math.cos(radian) * 20;
this._y = Math.sin(radian) * 10;
this._xscale = this._xscale + (Math.cos(radian) * 3);
this._yscale = this._yscale + (Math.cos(radian) * 3);
}
Symbol 99 MovieClip [ene3-3] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 99 MovieClip [ene3-3] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(260, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 100 MovieClip [ene3-4] Frame 1
stop();
_alpha = 0;
_xscale = 0;
_yscale = 0;
Instance of Symbol 95 MovieClip in Symbol 100 MovieClip [ene3-4] Frame 1
onClipEvent (load) {
degree = 0;
radian = 0;
rotate = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation - 4;
degree = degree + rotate;
if ((degree >= 180) && (depth == 0)) {
depth = 1;
}
if (degree >= 360) {
degree = degree - 360;
depth = 0;
}
radian = (Math.PI * degree) / 180;
this._x = Math.cos(radian) * 20;
this._y = Math.sin(radian) * 10;
this._xscale = this._xscale + (Math.cos(radian) * 3);
this._yscale = this._yscale + (Math.cos(radian) * 3);
}
Instance of Symbol 53 MovieClip "core" in Symbol 100 MovieClip [ene3-4] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
degree = 0;
radian = 0;
rotate = 1.8;
}
onClipEvent (enterFrame) {
count++;
_parent._rotation = _parent._rotation + 4;
_parent._y = _parent._y - 4;
degree = degree + rotate;
radian = (Math.PI * degree) / 180;
_parent._x = _parent._x + (Math.cos(radian) * 4);
_parent._alpha = _parent._alpha + 2;
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 95 MovieClip in Symbol 100 MovieClip [ene3-4] Frame 1
onClipEvent (load) {
degree = 180;
radian = 0;
rotate = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation - 4;
degree = degree + rotate;
if ((degree >= 180) && (depth == 0)) {
depth = 1;
}
if (degree >= 360) {
degree = degree - 360;
depth = 0;
}
radian = (Math.PI * degree) / 180;
this._x = Math.cos(radian) * 20;
this._y = Math.sin(radian) * 10;
this._xscale = this._xscale + (Math.cos(radian) * 3);
this._yscale = this._yscale + (Math.cos(radian) * 3);
}
Symbol 100 MovieClip [ene3-4] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 100 MovieClip [ene3-4] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(260, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 101 MovieClip [ene3-1] Frame 1
stop();
_alpha = 0;
_xscale = 0;
_yscale = 0;
Instance of Symbol 95 MovieClip in Symbol 101 MovieClip [ene3-1] Frame 1
onClipEvent (load) {
degree = 0;
radian = 0;
rotate = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation - 4;
degree = degree + rotate;
if ((degree >= 180) && (depth == 0)) {
depth = 1;
}
if (degree >= 360) {
degree = degree - 360;
depth = 0;
}
radian = (Math.PI * degree) / 180;
this._x = Math.cos(radian) * 20;
this._y = Math.sin(radian) * 10;
this._xscale = this._xscale + (Math.cos(radian) * 3);
this._yscale = this._yscale + (Math.cos(radian) * 3);
}
Instance of Symbol 53 MovieClip "core" in Symbol 101 MovieClip [ene3-1] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
degree = 0;
radian = 0;
rotate = 1.8;
}
onClipEvent (enterFrame) {
count++;
_parent._rotation = _parent._rotation + 4;
_parent._y = _parent._y + 4;
degree = degree + rotate;
radian = (Math.PI * degree) / 180;
_parent._x = _parent._x + (Math.cos(radian) * 4);
_parent._alpha = _parent._alpha + 2;
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 95 MovieClip in Symbol 101 MovieClip [ene3-1] Frame 1
onClipEvent (load) {
degree = 180;
radian = 0;
rotate = 10;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation - 4;
degree = degree + rotate;
if ((degree >= 180) && (depth == 0)) {
depth = 1;
}
if (degree >= 360) {
degree = degree - 360;
depth = 0;
}
radian = (Math.PI * degree) / 180;
this._x = Math.cos(radian) * 20;
this._y = Math.sin(radian) * 10;
this._xscale = this._xscale + (Math.cos(radian) * 3);
this._yscale = this._yscale + (Math.cos(radian) * 3);
}
Symbol 101 MovieClip [ene3-1] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 101 MovieClip [ene3-1] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(260, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 112 MovieClip [ene4] Frame 1
stop();
_alpha = 50;
_xscale = 50;
_yscale = 50;
Instance of Symbol 53 MovieClip "core" in Symbol 112 MovieClip [ene4] Frame 1
onClipEvent (load) {
lock = 0;
life = 2;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
xmove = 3;
ymove = 2;
attackcount = 0;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x - xmove;
_parent._y = _parent._y + ymove;
count++;
attackcount++;
if (((attackcount == 60) && (_parent._x >= 30)) && (_parent._y <= 470)) {
attackcount = 0;
_root.attaching("ene_attack", _parent._x - 15, _parent._y + 10);
}
if (count <= 100) {
_parent._alpha = _parent._alpha + 0.5;
_parent._xscale = _parent._xscale + 0.5;
_parent._yscale = _parent._yscale + 0.5;
}
if (_parent._x <= 0) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 112 MovieClip [ene4] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 112 MovieClip [ene4] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(380, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Instance of Symbol 28 MovieClip in Symbol 114 MovieClip Frame 1
onClipEvent (load) {
rand = _root.intrandomizer(10, 1);
limit = 600 / rand;
_parent._xscale = rand * 10;
_parent._yscale = rand * 10;
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + rand;
count++;
if (count >= limit) {
_parent._parent.removeMovieClip();
} else if (_parent._parent._parent._currentframe >= 560) {
_parent._alpha = _parent._alpha - 5;
}
}
Instance of Symbol 28 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.action == 40) {
_parent._parent.removeMovieClip();
}
}
Symbol 118 MovieClip [ene_attack3] Frame 1
_xscale = 10;
_yscale = 10;
_alpha = 0;
stop();
Instance of Symbol 117 MovieClip in Symbol 118 MovieClip [ene_attack3] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 15;
_parent._x = _parent._x + _parent.movex;
_parent._y = _parent._y + _parent.movey;
if (_parent._alpha < 100) {
_parent._alpha = _parent._alpha + 3;
}
_parent._xscale = _parent._xscale + 3;
_parent._yscale = _parent._yscale + 3;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (((((life <= 0) || (_parent._x < 0)) || (_parent._x > 500)) || (_parent._y < 0)) || (_parent._y > 500)) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 118 MovieClip [ene_attack3] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(10, lockpoint, this._x, this._y);
this.removeMovieClip();
Instance of Symbol 28 MovieClip in Symbol 120 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.action == 40) {
_parent._parent.removeMovieClip();
}
}
Symbol 121 MovieClip [ene_attack2] Frame 1
_xscale = 10;
_yscale = 10;
_alpha = 30;
stop();
Instance of Symbol 120 MovieClip "core" in Symbol 121 MovieClip [ene_attack2] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
movex = _root.randomizer(-1.5, 1.5);
movey = _root.randomizer(-1.5, 1.5);
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + movex;
_parent._y = _parent._y + movey;
if (_parent._alpha < 100) {
_parent._alpha = _parent._alpha + 2;
}
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (((((life <= 0) || (_parent._x < 0)) || (_parent._x > 500)) || (_parent._y < 0)) || (_parent._y > 500)) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 121 MovieClip [ene_attack2] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(10, lockpoint, this._x, this._y);
this.removeMovieClip();
Instance of Symbol 28 MovieClip in Symbol 123 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.action == 40) {
_parent._parent.removeMovieClip();
}
}
Symbol 124 MovieClip [ene_attack7-4] Frame 1
_xscale = 10;
_yscale = 10;
_alpha = 30;
stop();
Instance of Symbol 123 MovieClip in Symbol 124 MovieClip [ene_attack7-4] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
degree = 270;
movel = 3;
}
onClipEvent (enterFrame) {
if (_parent._alpha < 100) {
_parent._alpha = _parent._alpha + 2;
}
degree = degree + 5;
movel = movel + 0.2;
radian = (Math.PI * degree) / 180;
ymove = Math.sin(radian) * movel;
xmove = Math.cos(radian) * movel;
_parent._xscale = _parent._xscale + 4;
_parent._yscale = _parent._yscale + 4;
_parent._y = _parent._y + ymove;
_parent._x = _parent._x + xmove;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (((((life <= 0) || (_parent._x < 0)) || (_parent._y > 500)) || (_parent._x > 500)) || (_parent._y < 0)) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 124 MovieClip [ene_attack7-4] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(10, lockpoint, this._x, this._y);
this.removeMovieClip();
Symbol 125 MovieClip [ene_attack7-3] Frame 1
_xscale = 10;
_yscale = 10;
_alpha = 30;
stop();
Instance of Symbol 123 MovieClip in Symbol 125 MovieClip [ene_attack7-3] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
degree = 180;
movel = 3;
}
onClipEvent (enterFrame) {
if (_parent._alpha < 100) {
_parent._alpha = _parent._alpha + 2;
}
degree = degree + 5;
movel = movel + 0.2;
radian = (Math.PI * degree) / 180;
ymove = Math.sin(radian) * movel;
xmove = Math.cos(radian) * movel;
_parent._xscale = _parent._xscale + 4;
_parent._yscale = _parent._yscale + 4;
_parent._y = _parent._y + ymove;
_parent._x = _parent._x + xmove;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (((((life <= 0) || (_parent._x < 0)) || (_parent._y > 500)) || (_parent._x > 500)) || (_parent._y < 0)) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 125 MovieClip [ene_attack7-3] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(10, lockpoint, this._x, this._y);
this.removeMovieClip();
Symbol 126 MovieClip [ene_attack7-2] Frame 1
_xscale = 10;
_yscale = 10;
_alpha = 30;
stop();
Instance of Symbol 123 MovieClip in Symbol 126 MovieClip [ene_attack7-2] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
degree = 90;
movel = 3;
}
onClipEvent (enterFrame) {
if (_parent._alpha < 100) {
_parent._alpha = _parent._alpha + 2;
}
degree = degree + 5;
movel = movel + 0.2;
radian = (Math.PI * degree) / 180;
ymove = Math.sin(radian) * movel;
xmove = Math.cos(radian) * movel;
_parent._xscale = _parent._xscale + 4;
_parent._yscale = _parent._yscale + 4;
_parent._y = _parent._y + ymove;
_parent._x = _parent._x + xmove;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (((((life <= 0) || (_parent._x < 0)) || (_parent._y > 500)) || (_parent._x > 500)) || (_parent._y < 0)) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 126 MovieClip [ene_attack7-2] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(10, lockpoint, this._x, this._y);
this.removeMovieClip();
Symbol 127 MovieClip [ene_attack7-1] Frame 1
_xscale = 10;
_yscale = 10;
_alpha = 30;
stop();
Instance of Symbol 123 MovieClip in Symbol 127 MovieClip [ene_attack7-1] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
degree = 0;
movel = 3;
}
onClipEvent (enterFrame) {
if (_parent._alpha < 100) {
_parent._alpha = _parent._alpha + 2;
}
degree = degree + 5;
movel = movel + 0.2;
radian = (Math.PI * degree) / 180;
ymove = Math.sin(radian) * movel;
xmove = Math.cos(radian) * movel;
_parent._xscale = _parent._xscale + 4;
_parent._yscale = _parent._yscale + 4;
_parent._y = _parent._y + ymove;
_parent._x = _parent._x + xmove;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (((((life <= 0) || (_parent._x < 0)) || (_parent._y > 500)) || (_parent._x > 500)) || (_parent._y < 0)) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 127 MovieClip [ene_attack7-1] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(10, lockpoint, this._x, this._y);
this.removeMovieClip();
Symbol 128 MovieClip [ene_attack7] Frame 1
_xscale = 10;
_yscale = 10;
_alpha = 30;
stop();
Instance of Symbol 123 MovieClip in Symbol 128 MovieClip [ene_attack7] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
}
onClipEvent (enterFrame) {
if (_parent._alpha < 100) {
_parent._alpha = _parent._alpha + 5;
}
_parent._xscale = _parent._xscale + 4;
_parent._yscale = _parent._yscale + 4;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (((((life <= 0) || (_parent._x < 0)) || (_parent._y > 500)) || (_parent._x > 500)) || (_parent._y < 0)) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 128 MovieClip [ene_attack7] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(10, lockpoint, this._x, this._y);
this.removeMovieClip();
Symbol 129 MovieClip [ene_attack6] Frame 1
_xscale = 10;
_yscale = 10;
_alpha = 30;
stop();
Instance of Symbol 123 MovieClip in Symbol 129 MovieClip [ene_attack6] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
xmove = _root.randomizer(-3, 3);
ymove = _root.randomizer(-3, 3);
}
onClipEvent (enterFrame) {
if (_parent._alpha < 100) {
_parent._alpha = _parent._alpha + 5;
}
_parent._xscale = _parent._xscale + 4;
_parent._yscale = _parent._yscale + 4;
_parent._y = _parent._y + ymove;
_parent._x = _parent._x + xmove;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (((((life <= 0) || (_parent._x < 0)) || (_parent._y > 500)) || (_parent._x > 500)) || (_parent._y < 0)) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 129 MovieClip [ene_attack6] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(10, lockpoint, this._x, this._y);
this.removeMovieClip();
Symbol 130 MovieClip [ene_attack4-2] Frame 1
_xscale = 10;
_yscale = 10;
_alpha = 30;
stop();
Instance of Symbol 123 MovieClip in Symbol 130 MovieClip [ene_attack4-2] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 4;
if (_parent._alpha < 100) {
_parent._alpha = _parent._alpha + 5;
}
_parent._xscale = _parent._xscale + 4;
_parent._yscale = _parent._yscale + 4;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 130 MovieClip [ene_attack4-2] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(10, lockpoint, this._x, this._y);
this.removeMovieClip();
Symbol 131 MovieClip [ene_attack4] Frame 1
_xscale = 10;
_yscale = 10;
_alpha = 30;
stop();
Instance of Symbol 123 MovieClip in Symbol 131 MovieClip [ene_attack4] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 4;
if (_parent._alpha < 100) {
_parent._alpha = _parent._alpha + 5;
}
_parent._xscale = _parent._xscale + 4;
_parent._yscale = _parent._yscale + 4;
_parent._y = _parent._y + 2;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 131 MovieClip [ene_attack4] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(10, lockpoint, this._x, this._y);
this.removeMovieClip();
Symbol 132 MovieClip [ene_attack] Frame 1
_xscale = 10;
_yscale = 10;
_alpha = 30;
stop();
Instance of Symbol 120 MovieClip "core" in Symbol 132 MovieClip [ene_attack] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
if ((((_parent._y < 0) || (_parent._y > 500)) || (_parent._x < 0)) || (_parent._x > 500)) {
_parent.removeMovieClip();
}
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 4;
if (_parent._alpha < 100) {
_parent._alpha = _parent._alpha + 2;
}
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 132 MovieClip [ene_attack] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(10, lockpoint, this._x, this._y);
this.removeMovieClip();
Symbol 140 MovieClip Frame 1
stop();
Instance of Symbol 136 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (load) {
flg = 0;
}
onClipEvent (enterFrame) {
if ((_parent._parent._currentframe >= 2) && (flg == 0)) {
flg++;
_parent.gotoAndPlay(2);
}
}
Symbol 140 MovieClip Frame 120
stop();
Symbol 144 MovieClip Frame 1
function attaching(ID, attachx, attachy) {
_global.attachcount++;
attachObject = "object" + _global.attachcount;
_parent.attachMovie(ID, attachObject, _global.attachcount);
_parent[attachObject]._x = attachx;
_parent[attachObject]._y = attachy;
}
Instance of Symbol 28 MovieClip in Symbol 144 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.action == 40) {
_parent._parent.removeMovieClip();
}
}
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 60
stop();
Symbol 147 MovieClip Frame 120
gotoAndStop (1);
Symbol 151 MovieClip [thunder2] Frame 1
this._rotation = _root.intrandomizer(0, 360);
this._x = _root.randomizer(-100, 100);
this._y = _root.randomizer(-30, 30);
Symbol 151 MovieClip [thunder2] Frame 4
stop();
Instance of Symbol 28 MovieClip in Symbol 151 MovieClip [thunder2] Frame 4
onClipEvent (load) {
rand = _root.randomizer(1, 10);
count = 0;
}
onClipEvent (enterFrame) {
count++;
if (count >= rand) {
count = 0;
_parent.gotoAndPlay(1);
}
}
Symbol 152 MovieClip [boss1] Frame 1
stop();
Instance of Symbol 53 MovieClip "core" in Symbol 152 MovieClip [boss1] Frame 1
onClipEvent (load) {
lock = 0;
life = 100;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
firstx = _parent._x;
firsty = _parent._y;
degree = 0;
flg = 10;
a_timing = 0;
a_count = 0;
_parent._yscale = 0;
_root.boss_start();
}
onClipEvent (enterFrame) {
_root.boss_battle();
if ((_parent._yscale < 100) && (flg == 10)) {
_parent._yscale++;
} else if (flg == 10) {
flg = 0;
}
count++;
if (flg < 10) {
radian = (Math.PI/180) * degree;
radian2 = (Math.PI/180) * degree2;
_parent._x = _parent._x + Math.sin(radian);
_parent._y = _parent._y + (Math.sin(radian2) / 2);
degree++;
degree2 = degree2 + 2.5;
if (_parent._x <= 200) {
_parent._x = _parent._x + 0.2;
} else if (_parent._x >= 300) {
_parent._x = _parent._x - 0.4;
}
if (_parent._y <= 200) {
_parent._y = _parent._y + 0.2;
}
}
if (flg == 0) {
flg = _root.intrandomizer(0, 4);
} else if (flg == 1) {
if (a_timing == 0) {
_parent.wing1._rotation--;
_parent.wing2._rotation--;
a_count++;
if (a_count >= 30) {
a_timing++;
a_count = 0;
}
} else if (a_timing == 1) {
if (a_count == 0) {
_root.attacking3(10, _parent._x, _parent._y, 2, 0);
bgm = new Sound();
bgm.attachSound("boss2");
bgm.start(0, 1);
} else if (a_count == 10) {
_root.attacking3(10, _parent._x, _parent._y, Math.SQRT2, -1.4142135623731);
bgm1 = new Sound();
bgm1.attachSound("boss2");
bgm1.start(0, 1);
} else if (a_count == 20) {
_root.attacking3(10, _parent._x, _parent._y, 0, -2);
bgm = new Sound();
bgm.attachSound("boss2");
bgm.start(0, 1);
} else if (a_count == 30) {
_root.attacking3(10, _parent._x, _parent._y, -1.4142135623731, -1.4142135623731);
bgm1 = new Sound();
bgm1.attachSound("boss2");
bgm1.start(0, 1);
} else if (a_count == 40) {
_root.attacking3(10, _parent._x, _parent._y, -2, 0);
bgm = new Sound();
bgm.attachSound("boss2");
bgm.start(0, 1);
} else if (a_count == 50) {
_root.attacking3(10, _parent._x, _parent._y, -1.4142135623731, Math.SQRT2);
bgm1 = new Sound();
bgm1.attachSound("boss2");
bgm1.start(0, 1);
} else if (a_count == 60) {
_root.attacking3(10, _parent._x, _parent._y, 0, 2);
bgm = new Sound();
bgm.attachSound("boss2");
bgm.start(0, 1);
} else if (a_count == 70) {
_root.attacking3(10, _parent._x, _parent._y, Math.SQRT2, Math.SQRT2);
bgm1 = new Sound();
bgm1.attachSound("boss2");
bgm1.start(0, 1);
a_timing = 2;
a_count = -1;
}
a_count++;
} else if (a_timing == 2) {
_parent.wing1._rotation++;
_parent.wing2._rotation++;
a_count++;
if (a_count >= 30) {
a_timing = 0;
a_count = 0;
flg = 0;
}
}
} else if (flg == 2) {
if (a_timing == 0) {
_parent.wing3.gotoAndPlay(2);
_parent.wing4.gotoAndPlay(2);
a_timing++;
bgm = new Sound();
bgm.attachSound("boss");
bgm.start(0, 1);
} else if (a_timing == 1) {
a_count++;
if (a_count >= 70) {
a_timing = 2;
a_count = 0;
}
} else if (a_timing == 2) {
if (a_count == 0) {
_root.attacking4(0, _parent._x + 38, _parent._y - 3);
_root.attacking4(0, _parent._x - 38, _parent._y - 3);
bgm = new Sound();
bgm.attachSound("boss3");
bgm.start(0, 1);
} else if (a_count == 20) {
_root.attacking4(0, _parent._x + 58, _parent._y - 3);
_root.attacking4(0, _parent._x - 58, _parent._y - 3);
bgm = new Sound();
bgm.attachSound("boss3");
bgm.start(0, 1);
} else if (a_count == 40) {
_root.attacking4(0, _parent._x + 78, _parent._y - 3);
_root.attacking4(0, _parent._x - 78, _parent._y - 3);
bgm = new Sound();
bgm.attachSound("boss3");
bgm.start(0, 1);
} else if (a_count == 60) {
_root.attacking4(0, _parent._x + 98, _parent._y - 3);
_root.attacking4(0, _parent._x - 98, _parent._y - 3);
bgm = new Sound();
bgm.attachSound("boss3");
bgm.start(0, 1);
} else if (a_count == 80) {
_root.attacking4(0, _parent._x + 118, _parent._y - 3);
_root.attacking4(0, _parent._x - 118, _parent._y - 3);
bgm = new Sound();
bgm.attachSound("boss3");
bgm.start(0, 1);
} else if (a_count == 100) {
_root.attacking4(0, _parent._x + 138, _parent._y - 3);
_root.attacking4(0, _parent._x - 138, _parent._y - 3);
a_timing++;
bgm = new Sound();
bgm.attachSound("boss3");
bgm.start(0, 1);
}
a_count++;
} else if (a_timing == 3) {
_parent.wing3.gotoAndPlay(61);
_parent.wing4.gotoAndPlay(61);
a_timing++;
a_count = 0;
} else if (a_timing == 4) {
a_count++;
if (a_count >= 70) {
a_timing = 0;
a_count = 0;
flg = 0;
}
}
} else if (flg == 3) {
a_count++;
if ((a_count >= 30) && (a_timing == 0)) {
_root.attaching("mis1", -80 + _parent._x, -40 + _parent._y);
a_timing++;
bgm = new Sound();
bgm.attachSound("boss4");
bgm.start(0, 1);
} else if ((a_count >= 60) && (a_timing == 1)) {
_root.attaching("mis2", -80 + _parent._x, 40 + _parent._y);
a_timing++;
bgm = new Sound();
bgm.attachSound("boss4");
bgm.start(0, 1);
} else if ((a_count >= 90) && (a_timing == 2)) {
_root.attaching("mis3", 80 + _parent._x, 40 + _parent._y);
a_timing++;
bgm = new Sound();
bgm.attachSound("boss4");
bgm.start(0, 1);
} else if ((a_count >= 120) && (a_timing == 3)) {
_root.attaching("mis4", 80 + _parent._x, -40 + _parent._y);
bgm = new Sound();
bgm.attachSound("boss4");
bgm.start(0, 1);
a_timing = 0;
a_count = 0;
flg = 0;
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 152 MovieClip [boss1] Frame 2
wing3.gotoAndPlay(121);
wing4.gotoAndPlay(121);
wing2.gotoAndPlay(2);
wing1.gotoAndPlay(2);
Instance of Symbol 28 MovieClip in Symbol 152 MovieClip [boss1] Frame 2
onClipEvent (load) {
timing = 0;
count = 0;
a = 0;
while (a <= 2) {
_root.attaching("eff2", _parent._x, _parent._y);
a++;
}
so = new Sound(this);
so.attachSound("boss8");
so.start(0, 1);
}
onClipEvent (enterFrame) {
count++;
if (count >= 5) {
count = 0;
timing++;
if (timing <= 19) {
_root.attaching("obj1", _parent._x + _root.randomizer(-130, 130), _parent._y + _root.randomizer(-50, 50));
_root.attaching("obj2", _parent._x + _root.randomizer(-130, 130), _parent._y + _root.randomizer(-50, 50));
so2 = new Sound(this);
so2.attachSound("bom");
so2.start(0, 1);
} else if (timing < 30) {
_root.attaching("obj2", _parent._x + _root.randomizer(-130, 130), _parent._y + _root.randomizer(-50, 50));
_root.attaching("obj7", _parent._x + _root.randomizer(-130, 130), _parent._y + _root.randomizer(-50, 50));
so2 = new Sound(this);
so2.attachSound("bom2");
so2.start(0, 1);
}
}
if ((count == 0) && (((((timing == 5) || (timing == 8)) || (timing == 12)) || (timing == 16)) || (timing == 20))) {
_root.attaching("eff2", _parent._x, _parent._y);
_root.attaching("eff2", _parent._x, _parent._y);
}
}
Symbol 152 MovieClip [boss1] Frame 120
_root.attaching("night4", this._x, this._y);
_root.attaching("eff2", this._x, this._y);
_root.attaching("eff2", this._x, this._y);
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing2(15000, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
so = new Sound(this);
so.attachSound("boss9");
so.start(0, 1);
_root.boss_fin(1);
this.removeMovieClip();
Instance of Symbol 53 MovieClip "core" in Symbol 152 MovieClip [boss1] Frame 120
onClipEvent (load) {
lock = 0;
life = 100;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
}
onClipEvent (enterFrame) {
count++;
degree++;
degree2 = degree2 + 2.5;
radian = (Math.PI/180) * degree;
radian2 = (Math.PI/180) * degree2;
_parent._x = _parent._x + Math.sin(radian);
_parent._y = _parent._y + (Math.sin(radian2) / 2);
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 28 MovieClip in Symbol 154 MovieClip Frame 1
onClipEvent (load) {
rand = _root.intrandomizer(4, 10);
limit = 350 / rand;
_parent._xscale = rand * 10;
_parent._yscale = rand * 10;
_parent._alpha = 0;
count = 0;
_parent._parent._rotation = _root.intrandomizer(180, -180);
}
onClipEvent (enterFrame) {
if (_parent._alpha < 100) {
_parent._alpha = _parent._alpha + rand;
}
_parent._y = _parent._y + rand;
count++;
if (count >= limit) {
_parent._parent.removeMovieClip();
}
}
Instance of Symbol 28 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
rand = _root.intrandomizer(4, 10);
limit = 350 / rand;
_parent._xscale = rand * 10;
_parent._yscale = rand * 10;
_parent._alpha = 0;
count = 0;
_parent._parent._rotation = _root.intrandomizer(180, -180);
}
onClipEvent (enterFrame) {
if (_parent._alpha < 100) {
_parent._alpha = _parent._alpha + rand;
}
_parent._y = _parent._y + rand;
count++;
if (count >= limit) {
_parent._parent.removeMovieClip();
}
}
Symbol 164 MovieClip [ene5-3] Frame 1
this.so = new Sound();
so.attachSound("fly");
so.start(0, 1);
stop();
Instance of Symbol 53 MovieClip "core" in Symbol 164 MovieClip [ene5-3] Frame 1
onClipEvent (load) {
lock = 0;
life = 16;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
firstrotate = 19;
counter = 0;
AT_timing = 90;
AT_count = 0;
}
onClipEvent (enterFrame) {
count++;
firstrotate = firstrotate - 0.5;
if ((firstrotate > 0) && (counter == 0)) {
_parent._rotation = _parent._rotation + firstrotate;
_parent._x = _parent._x - (firstrotate / 10);
_parent._y = _parent._y - firstrotate;
} else if ((_parent._rotation != 0) && (counter == 0)) {
_parent._rotation = _parent._rotation + 0.5;
_parent._x = _parent._x + 0.1;
_parent._y = _parent._y + 0.5;
} else if ((_parent._rotation == 0) && (counter == 0)) {
counter = 1;
}
if (counter == 1) {
AT_count++;
degree++;
degree2 = degree2 + 2.5;
radian = (Math.PI/180) * degree;
radian2 = (Math.PI/180) * degree2;
_parent._x = _parent._x - Math.sin(radian);
_parent._y = _parent._y + (Math.sin(radian2) / 2);
if (AT_count == AT_timing) {
_root.attacking(50, _parent._x + 58, _parent._y - 2.8);
_root.attacking(50, _parent._x - 58, _parent._y - 2.8);
AT_count = 0;
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 164 MovieClip [ene5-3] Frame 60
_root.attaching("obj6", this._x, this._y);
_root.attaching("obj7", this._x, this._y);
_root.attaching("obj1", this._x + 36, this._y - 20);
_root.attaching("obj2", this._x + 36, this._y - 20);
_root.attaching("obj1", this._x + 58, this._y + 26);
_root.attaching("obj2", this._x + 58, this._y + 26);
_root.attaching("obj1", this._x - 83, this._y - 18.5);
_root.attaching("obj2", this._x - 83, this._y - 18.5);
_root.attaching("obj1", this._x - 38, this._y + 36.5);
_root.attaching("obj2", this._x - 38, this._y + 36.5);
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(1700, lockpoint, this._x, this._y + 60);
_root[targetname].removeMovieClip();
_global.e_count++;
this.so = new Sound();
so.attachSound("bom2");
so.start(0, 1);
this.removeMovieClip();
Symbol 165 MovieClip [ene5-2] Frame 1
this.so = new Sound();
so.attachSound("fly");
so.start(0, 1);
stop();
Instance of Symbol 53 MovieClip "core" in Symbol 165 MovieClip [ene5-2] Frame 1
onClipEvent (load) {
lock = 0;
life = 16;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
firstrotate = 19;
counter = 0;
AT_timing = 90;
AT_count = 0;
}
onClipEvent (enterFrame) {
count++;
firstrotate = firstrotate - 0.5;
if ((firstrotate > 0) && (counter == 0)) {
_parent._rotation = _parent._rotation + firstrotate;
_parent._x = _parent._x + (firstrotate / 10);
_parent._y = _parent._y + firstrotate;
} else if ((_parent._rotation != 0) && (counter == 0)) {
_parent._rotation = _parent._rotation + 0.5;
_parent._x = _parent._x + 0.1;
_parent._y = _parent._y + 0.5;
} else if ((_parent._rotation == 0) && (counter == 0)) {
counter = 1;
}
if (counter == 1) {
AT_count++;
degree++;
degree2 = degree2 + 2.5;
radian = (Math.PI/180) * degree;
radian2 = (Math.PI/180) * degree2;
_parent._x = _parent._x + Math.sin(radian);
_parent._y = _parent._y + (Math.sin(radian2) / 2);
if (AT_count == AT_timing) {
_root.attacking(50, _parent._x + 58, _parent._y - 2.8);
_root.attacking(50, _parent._x - 58, _parent._y - 2.8);
AT_count = 0;
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 165 MovieClip [ene5-2] Frame 60
_root.attaching("obj6", this._x, this._y);
_root.attaching("obj7", this._x, this._y);
_root.attaching("obj1", this._x + 36, this._y - 20);
_root.attaching("obj2", this._x + 36, this._y - 20);
_root.attaching("obj1", this._x + 58, this._y + 26);
_root.attaching("obj2", this._x + 58, this._y + 26);
_root.attaching("obj1", this._x - 83, this._y - 18.5);
_root.attaching("obj2", this._x - 83, this._y - 18.5);
_root.attaching("obj1", this._x - 38, this._y + 36.5);
_root.attaching("obj2", this._x - 38, this._y + 36.5);
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(1700, lockpoint, this._x, this._y + 60);
_root[targetname].removeMovieClip();
_global.e_count++;
this.so = new Sound();
so.attachSound("bom2");
so.start(0, 1);
this.removeMovieClip();
Symbol 166 MovieClip [ene5-1] Frame 1
this.so = new Sound();
so.attachSound("fly");
so.start(0, 1);
stop();
Instance of Symbol 53 MovieClip "core" in Symbol 166 MovieClip [ene5-1] Frame 1
onClipEvent (load) {
lock = 0;
life = 16;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
firstrotate = 19;
counter = 0;
AT_timing = 90;
AT_count = 0;
}
onClipEvent (enterFrame) {
count++;
firstrotate = firstrotate - 0.5;
if ((firstrotate > 0) && (counter == 0)) {
_parent._rotation = _parent._rotation + firstrotate;
_parent._x = _parent._x - firstrotate;
_parent._y = _parent._y + (firstrotate / 10);
} else if ((_parent._rotation != 0) && (counter == 0)) {
_parent._rotation = _parent._rotation + 0.5;
_parent._x = _parent._x - 0.5;
_parent._y = _parent._y + 0.1;
} else if ((_parent._rotation == 0) && (counter == 0)) {
counter = 1;
}
if (counter == 1) {
AT_count++;
degree++;
degree2 = degree2 + 2.5;
radian = (Math.PI/180) * degree;
radian2 = (Math.PI/180) * degree2;
_parent._x = _parent._x + Math.sin(radian);
_parent._y = _parent._y + (Math.sin(radian2) / 2);
if (AT_count == AT_timing) {
_root.attacking(50, _parent._x + 58, _parent._y - 2.8);
_root.attacking(50, _parent._x - 58, _parent._y - 2.8);
AT_count = 0;
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 166 MovieClip [ene5-1] Frame 60
_root.attaching("obj6", this._x, this._y);
_root.attaching("obj7", this._x, this._y);
_root.attaching("obj1", this._x + 36, this._y - 20);
_root.attaching("obj2", this._x + 36, this._y - 20);
_root.attaching("obj1", this._x + 58, this._y + 26);
_root.attaching("obj2", this._x + 58, this._y + 26);
_root.attaching("obj1", this._x - 83, this._y - 18.5);
_root.attaching("obj2", this._x - 83, this._y - 18.5);
_root.attaching("obj1", this._x - 38, this._y + 36.5);
_root.attaching("obj2", this._x - 38, this._y + 36.5);
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(1700, lockpoint, this._x, this._y + 60);
_root[targetname].removeMovieClip();
_global.e_count++;
this.so = new Sound();
so.attachSound("bom2");
so.start(0, 1);
this.removeMovieClip();
Instance of Symbol 28 MovieClip in Symbol 168 MovieClip [obj8] Frame 1
onClipEvent (enterFrame) {
_parent._xscale = _parent._xscale + 5;
_parent._yscale = _parent._yscale + 5;
_parent._alpha = _parent._alpha - 5;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
Symbol 180 MovieClip Frame 1
this._xscale = 100;
this._yscale = 100;
stop();
Symbol 180 MovieClip Frame 2
this._xscale = 200;
this._yscale = 200;
Instance of Symbol 28 MovieClip in Symbol 180 MovieClip Frame 3
onClipEvent (enterFrame) {
_parent._xscale = _parent._xscale - 20;
_parent._yscale = _parent._yscale - 20;
}
Symbol 181 MovieClip [cursor_master] Frame 1
Mouse.hide();
this._name = "rock";
this.swapDepths(100000000);
Instance of Symbol 180 MovieClip "core" in Symbol 181 MovieClip [cursor_master] Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
_parent._x = _parent._x + (_parent._xmouse / 5);
_parent._y = _parent._y + (_parent._ymouse / 5);
if (_root._currentframe == 1) {
_parent._visible = false;
}
}
Instance of Symbol 28 MovieClip in Symbol 186 MovieClip [score_effect2] Frame 1
onClipEvent (load) {
_parent._xscale = (_parent.rate * 20) + 140;
_parent._yscale = (_parent.rate * 20) + 140;
count = 0;
}
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha - 2;
count++;
if (count == 1) {
_root.score_window.score = _root.score_window.score + (_parent.num * _parent.rate);
} else if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 28 MovieClip in Symbol 189 MovieClip [score_effect] Frame 1
onClipEvent (load) {
_parent._xscale = (_parent.rate * 12) + 70;
_parent._yscale = (_parent.rate * 12) + 70;
count = 0;
}
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha - 2;
count++;
if (count == 1) {
_root.score_window.score = _root.score_window.score + (_parent.num * _parent.rate);
} else if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
Symbol 192 MovieClip [damage] Frame 1
this._name = "damage";
Symbol 192 MovieClip [damage] Frame 20
this.removeMovieClip();
Symbol 200 MovieClip [mis4] Frame 1
this._xscale = 40;
this._yscale = 40;
this._alpha = 40;
this._rotation = 150;
Instance of Symbol 144 MovieClip "core" in Symbol 200 MovieClip [mis4] Frame 1
onClipEvent (load) {
lock = 0;
life = 2;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
}
onClipEvent (enterFrame) {
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(60);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 28 MovieClip in Symbol 200 MovieClip [mis4] Frame 1
onClipEvent (load) {
firstx = 4;
firsty = 4;
}
onClipEvent (enterFrame) {
_parent._rotation = _parent._rotation + 2;
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
_parent._alpha = _parent._alpha + 2;
_parent._x = _parent._x + firstx;
_parent._y = _parent._y - firsty;
firstx = firstx - 0.08;
firsty = firsty - 0.1;
}
Symbol 200 MovieClip [mis4] Frame 59
stop();
Symbol 200 MovieClip [mis4] Frame 60
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(50, lockpoint, this._x, this._y);
this.removeMovieClip();
Symbol 206 MovieClip [mis3] Frame 1
this._xscale = 40;
this._yscale = 40;
this._alpha = 40;
this._rotation = 210;
Instance of Symbol 144 MovieClip "core" in Symbol 206 MovieClip [mis3] Frame 1
onClipEvent (load) {
lock = 0;
life = 2;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
}
onClipEvent (enterFrame) {
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(60);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 28 MovieClip in Symbol 206 MovieClip [mis3] Frame 1
onClipEvent (load) {
firstx = 4;
firsty = 4;
}
onClipEvent (enterFrame) {
_parent._rotation = _parent._rotation - 2;
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
_parent._alpha = _parent._alpha + 2;
_parent._x = _parent._x + firstx;
_parent._y = _parent._y + firsty;
firstx = firstx - 0.08;
firsty = firsty - 0.1;
}
Symbol 206 MovieClip [mis3] Frame 59
stop();
Symbol 206 MovieClip [mis3] Frame 60
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(50, lockpoint, this._x, this._y);
this.removeMovieClip();
Symbol 212 MovieClip [mis2] Frame 1
this._xscale = 40;
this._yscale = 40;
this._alpha = 40;
this._rotation = -30;
Instance of Symbol 144 MovieClip "core" in Symbol 212 MovieClip [mis2] Frame 1
onClipEvent (load) {
lock = 0;
life = 2;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
}
onClipEvent (enterFrame) {
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(60);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 28 MovieClip in Symbol 212 MovieClip [mis2] Frame 1
onClipEvent (load) {
firstx = 4;
firsty = 4;
}
onClipEvent (enterFrame) {
_parent._rotation = _parent._rotation + 2;
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
_parent._alpha = _parent._alpha + 2;
_parent._x = _parent._x - firstx;
_parent._y = _parent._y + firsty;
firstx = firstx - 0.08;
firsty = firsty - 0.1;
}
Symbol 212 MovieClip [mis2] Frame 59
stop();
Symbol 212 MovieClip [mis2] Frame 60
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(50, lockpoint, this._x, this._y);
this.removeMovieClip();
Symbol 218 MovieClip [mis1] Frame 1
this._xscale = 40;
this._yscale = 40;
this._alpha = 40;
this._rotation = 30;
Instance of Symbol 144 MovieClip "core" in Symbol 218 MovieClip [mis1] Frame 1
onClipEvent (load) {
lock = 0;
life = 2;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
}
onClipEvent (enterFrame) {
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(60);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 28 MovieClip in Symbol 218 MovieClip [mis1] Frame 1
onClipEvent (load) {
firstx = 4;
firsty = 4;
}
onClipEvent (enterFrame) {
_parent._rotation = _parent._rotation - 2;
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
_parent._alpha = _parent._alpha + 2;
_parent._x = _parent._x - firstx;
_parent._y = _parent._y - firsty;
firstx = firstx - 0.08;
firsty = firsty - 0.1;
}
Symbol 218 MovieClip [mis1] Frame 59
stop();
Symbol 218 MovieClip [mis1] Frame 60
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(50, lockpoint, this._x, this._y);
this.removeMovieClip();
Symbol 224 MovieClip Frame 30
stop();
Instance of Symbol 28 MovieClip in Symbol 224 MovieClip Frame 30
onClipEvent (load) {
rand = _root.intrandomizer(20, 200);
}
onClipEvent (enterFrame) {
count++;
if (count >= rand) {
_parent.gotoAndPlay(31);
}
}
Symbol 224 MovieClip Frame 90
_root.attaching("obj2", this._x, this._y);
_root.attaching("ene_attack5", this._x, this._y);
_root[_root.attachObject]._rotation = this._rotation;
stop();
Instance of Symbol 28 MovieClip in Symbol 224 MovieClip Frame 90
onClipEvent (load) {
rand = _root.intrandomizer(10, 60);
}
onClipEvent (enterFrame) {
count++;
if (count >= rand) {
count = 0;
_parent.gotoAndPlay(1);
}
}
Symbol 224 MovieClip Frame 140
_root.attaching("obj1", this._x, this._y);
_root.attaching("obj2", this._x, this._y);
this.so = new Sound();
so.attachSound("bom3");
so.start(0, 1);
stop();
Symbol 224 MovieClip Frame 190
_root.attaching("obj1", this._x, this._y);
_root.attaching("obj2", this._x, this._y);
this.so = new Sound();
so.attachSound("bom3");
so.start(0, 1);
stop();
Instance of Symbol 53 MovieClip "core" in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.flg == 1) {
rotate = _parent._rotation / 100;
_parent.flg = 2;
}
if (_parent.flg == 2) {
_parent._alpha = _parent._alpha - 1;
_parent._rotation = _parent._rotation - rotate;
_parent.w1._x = _parent.w1._x + 0.2;
_parent.w1._y = _parent.w1._y - 0.2;
_parent.w1._rotation = _parent.w1._rotation - 0.35;
_parent.w3._x = _parent.w3._x + 0.01;
_parent.w3._y = _parent.w3._y + 0.4;
_parent.w3._rotation = _parent.w3._rotation + 0.2;
_parent.w2._x = _parent.w2._x - 0.1;
_parent.w2._y = _parent.w2._y + 0.1;
_parent.w2._rotation = _parent.w2._rotation + 0.5;
if ((_parent._alpha <= 0) && (_parent.flg == 2)) {
_root.attaching("obj6", _parent._x, _parent._y);
_root.attaching("obj7", _parent._x, _parent._y);
_root.attaching("obj1", _parent._x + _parent.w1._x, _parent._y + _parent.w1._y);
_root.attaching("obj2", _parent._x + _parent.w1._x, _parent._y + _parent.w1._y);
_root.attaching("obj1", _parent._x + _parent.w2._x, _parent._y + _parent.w2._y);
_root.attaching("obj2", _parent._x + _parent.w2._x, _parent._y + _parent.w2._y);
_root.attaching("obj1", _parent._x + _parent.w3._x, _parent._y + _parent.w3._y);
_root.attaching("obj2", _parent._x + _parent.w3._x, _parent._y + _parent.w3._y);
_root.pointing(2700, _parent._parent.lockpoint, _parent._x, _parent._y + 60);
_root[targetname].removeMovieClip();
_global.e_count++;
this.so = new Sound();
so.attachSound("bom2");
so.start(0, 1);
_parent._parent.removeMovieClip();
}
}
}
Instance of Symbol 28 MovieClip "core" in Symbol 230 MovieClip [ene7] Frame 1
onClipEvent (load) {
lock = 0;
life = 50;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
count = 0;
}
onClipEvent (enterFrame) {
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.stop();
if (count == 0) {
if (_parent.w5._currentframe == 90) {
_parent.w5.gotoAndPlay(141);
} else {
_parent.w5.gotoAndPlay(91);
}
_parent.head.flg = 1;
} else if (count == 5) {
if (_parent.w6._currentframe == 90) {
_parent.w6.gotoAndPlay(141);
} else {
_parent.w6.gotoAndPlay(91);
}
} else if (count == 10) {
if (_parent.w3._currentframe == 90) {
_parent.w3.gotoAndPlay(141);
} else {
_parent.w3.gotoAndPlay(91);
}
} else if (count == 15) {
if (_parent.w2._currentframe == 90) {
_parent.w2.gotoAndPlay(141);
} else {
_parent.w2.gotoAndPlay(91);
}
} else if (count == 20) {
if (_parent.w1._currentframe == 90) {
_parent.w1.gotoAndPlay(141);
} else {
_parent.w1.gotoAndPlay(91);
}
}
count++;
}
}
onClipEvent (enterFrame) {
if (_parent.head.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("target2", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 230 MovieClip [ene7] Frame 430
gotoAndPlay (90);
Symbol 232 MovieClip [ene_attack5] Frame 1
stop();
Instance of Symbol 120 MovieClip in Symbol 232 MovieClip [ene_attack5] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
rotate = 0;
so = new Sound();
so.attachSound("boss2");
so.start(0, 1);
}
onClipEvent (enterFrame) {
_parent._rotation = _parent._rotation + rotate;
rotate = rotate + 0.3;
if (_parent._alpha < 100) {
_parent._alpha = _parent._alpha + 2;
}
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 232 MovieClip [ene_attack5] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(100, lockpoint, this._x, this._y);
this.removeMovieClip();
Symbol 241 MovieClip Frame 1
this._rotation = _root.intrandomizer(0, 360);
Symbol 241 MovieClip Frame 4
stop();
Instance of Symbol 28 MovieClip in Symbol 241 MovieClip Frame 4
onClipEvent (load) {
rand = _root.randomizer(5, 120);
count = 0;
}
onClipEvent (enterFrame) {
count++;
if (count >= rand) {
count = 0;
_parent.gotoAndPlay(1);
}
}
Symbol 242 MovieClip [ene8_5] Frame 1
stop();
Instance of Symbol 234 MovieClip "core" in Symbol 242 MovieClip [ene8_5] Frame 1
onClipEvent (load) {
lock = 0;
life = 2;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
flg = 0;
count = 0;
movex = -0.951056516295154;
movey = -0.309016994374948;
speed = 9;
near = 1.5;
light = 0;
}
onClipEvent (enterFrame) {
if ((light == 0) && (this._alpha > 0)) {
this._alpha = this._alpha - 2;
if (this._alpha <= 0) {
light = 1;
}
} else if ((light == 1) && (this._alpha < 100)) {
this._alpha = this._alpha + 2;
if (this._alpha >= 100) {
light = 0;
}
}
_parent._rotation = _parent._rotation + 2;
if (flg == 0) {
if (count < 30) {
_parent._x = _parent._x + (movex * speed);
_parent._y = _parent._y + (movey * speed);
} else {
flg = 1;
speed = 9.3;
count = -1;
}
count++;
speed = speed - 0.3;
} else if (flg == 1) {
count++;
if (count >= 20) {
_parent._xscale = _parent._xscale + near;
_parent._yscale = _parent._yscale + near;
if (_parent._alpha <= 100) {
_parent._alpha = _parent._alpha + near;
}
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_root.wisp.descount++;
_parent.removeMovieClip();
}
}
} else if (flg == 2) {
_parent._alpha = 0;
_parent._yscale = 0;
_parent._xscale = 0;
if (_parent._alpha <= 0) {
_parent.gotoAndPlay(2);
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if ((life <= 0) || (_root.wisp.core.life <= 0)) {
flg = 2;
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 242 MovieClip [ene8_5] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(120, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_root.wisp.descount++;
this.removeMovieClip();
Symbol 243 MovieClip [ene8_4] Frame 1
stop();
Instance of Symbol 234 MovieClip "core" in Symbol 243 MovieClip [ene8_4] Frame 1
onClipEvent (load) {
lock = 0;
life = 2;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
flg = 0;
count = 0;
movex = -0.587785252292473;
movey = 0.809016994374947;
speed = 9;
near = 1.5;
light = 0;
}
onClipEvent (enterFrame) {
if ((light == 0) && (this._alpha > 0)) {
this._alpha = this._alpha - 2;
if (this._alpha <= 0) {
light = 1;
}
} else if ((light == 1) && (this._alpha < 100)) {
this._alpha = this._alpha + 2;
if (this._alpha >= 100) {
light = 0;
}
}
_parent._rotation = _parent._rotation + 2;
if (flg == 0) {
if (count < 30) {
_parent._x = _parent._x + (movex * speed);
_parent._y = _parent._y + (movey * speed);
} else {
flg = 1;
speed = 9.3;
count = -1;
}
count++;
speed = speed - 0.3;
} else if (flg == 1) {
count++;
if (count >= 20) {
_parent._xscale = _parent._xscale + near;
_parent._yscale = _parent._yscale + near;
if (_parent._alpha <= 100) {
_parent._alpha = _parent._alpha + near;
}
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_root.wisp.descount++;
_parent.removeMovieClip();
}
}
} else if (flg == 2) {
_parent._alpha = 0;
_parent._yscale = 0;
_parent._xscale = 0;
if (_parent._alpha <= 0) {
_parent.gotoAndPlay(2);
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if ((life <= 0) || (_root.wisp.core.life <= 0)) {
flg = 2;
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 243 MovieClip [ene8_4] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(120, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_root.wisp.descount++;
this.removeMovieClip();
Symbol 244 MovieClip [ene8_3] Frame 1
stop();
Instance of Symbol 234 MovieClip "core" in Symbol 244 MovieClip [ene8_3] Frame 1
onClipEvent (load) {
lock = 0;
life = 2;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
flg = 0;
count = 0;
movex = 0.587785252292473;
movey = 0.809016994374947;
speed = 9;
near = 1.5;
light = 0;
}
onClipEvent (enterFrame) {
if ((light == 0) && (this._alpha > 0)) {
this._alpha = this._alpha - 2;
if (this._alpha <= 0) {
light = 1;
}
} else if ((light == 1) && (this._alpha < 100)) {
this._alpha = this._alpha + 2;
if (this._alpha >= 100) {
light = 0;
}
}
_parent._rotation = _parent._rotation + 2;
if (flg == 0) {
if (count < 30) {
_parent._x = _parent._x + (movex * speed);
_parent._y = _parent._y + (movey * speed);
} else {
flg = 1;
speed = 9.3;
count = -1;
}
count++;
speed = speed - 0.3;
} else if (flg == 1) {
count++;
if (count >= 20) {
_parent._xscale = _parent._xscale + near;
_parent._yscale = _parent._yscale + near;
if (_parent._alpha <= 100) {
_parent._alpha = _parent._alpha + near;
}
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_root.wisp.descount++;
_parent.removeMovieClip();
}
}
} else if (flg == 2) {
_parent._alpha = 0;
_parent._yscale = 0;
_parent._xscale = 0;
if (_parent._alpha <= 0) {
_parent.gotoAndPlay(2);
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if ((life <= 0) || (_root.wisp.core.life <= 0)) {
flg = 2;
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 244 MovieClip [ene8_3] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(120, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_root.wisp.descount++;
this.removeMovieClip();
Symbol 245 MovieClip [ene8_2] Frame 1
stop();
Instance of Symbol 234 MovieClip "core" in Symbol 245 MovieClip [ene8_2] Frame 1
onClipEvent (load) {
lock = 0;
life = 2;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
flg = 0;
count = 0;
movex = 0.951056516295154;
movey = -0.309016994374948;
speed = 9;
near = 1.5;
light = 0;
}
onClipEvent (enterFrame) {
if ((light == 0) && (this._alpha > 0)) {
this._alpha = this._alpha - 2;
if (this._alpha <= 0) {
light = 1;
}
} else if ((light == 1) && (this._alpha < 100)) {
this._alpha = this._alpha + 2;
if (this._alpha >= 100) {
light = 0;
}
}
_parent._rotation = _parent._rotation + 2;
if (flg == 0) {
if (count < 30) {
_parent._x = _parent._x + (movex * speed);
_parent._y = _parent._y + (movey * speed);
} else {
flg = 1;
speed = 9.3;
count = -1;
}
count++;
speed = speed - 0.3;
} else if (flg == 1) {
count++;
if (count >= 20) {
_parent._xscale = _parent._xscale + near;
_parent._yscale = _parent._yscale + near;
if (_parent._alpha <= 100) {
_parent._alpha = _parent._alpha + near;
}
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_root.wisp.descount++;
_parent.removeMovieClip();
}
}
} else if (flg == 2) {
_parent._alpha = 0;
_parent._yscale = 0;
_parent._xscale = 0;
if (_parent._alpha == 0) {
_parent.gotoAndPlay(2);
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if ((life <= 0) || (_root.wisp.core.life <= 0)) {
flg = 2;
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 245 MovieClip [ene8_2] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(120, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_root.wisp.descount++;
this.removeMovieClip();
Symbol 246 MovieClip [ene8_1] Frame 1
stop();
Instance of Symbol 234 MovieClip "core" in Symbol 246 MovieClip [ene8_1] Frame 1
onClipEvent (load) {
lock = 0;
life = 2;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
flg = 0;
count = 0;
movex = 0;
movey = -1;
speed = 9;
near = 1.5;
light = 0;
}
onClipEvent (enterFrame) {
if ((light == 0) && (this._alpha > 0)) {
this._alpha = this._alpha - 2;
if (this._alpha <= 0) {
light = 1;
}
} else if ((light == 1) && (this._alpha < 100)) {
this._alpha = this._alpha + 2;
if (this._alpha >= 100) {
light = 0;
}
}
_parent._rotation = _parent._rotation + 2;
if (flg == 0) {
if (count < 30) {
_parent._x = _parent._x + (movex * speed);
_parent._y = _parent._y + (movey * speed);
} else {
flg = 1;
speed = 9.3;
count = -1;
}
count++;
speed = speed - 0.3;
} else if (flg == 1) {
count++;
if (count >= 20) {
_parent._xscale = _parent._xscale + near;
_parent._yscale = _parent._yscale + near;
if (_parent._alpha <= 100) {
_parent._alpha = _parent._alpha + near;
}
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_root.wisp.descount++;
_parent.removeMovieClip();
}
}
} else if (flg == 2) {
_parent._alpha = 0;
_parent._yscale = 0;
_parent._xscale = 0;
if (_parent._alpha == 0) {
_parent.gotoAndPlay(2);
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if ((life <= 0) || (_root.wisp.core.life <= 0)) {
flg = 2;
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 246 MovieClip [ene8_1] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(120, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_root.wisp.descount++;
this.removeMovieClip();
Symbol 248 MovieClip [ene8] Frame 1
stop();
Instance of Symbol 234 MovieClip "core" in Symbol 248 MovieClip [ene8] Frame 1
onClipEvent (load) {
_parent._name = "wisp";
lock = 0;
life = 40;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
flg = 8;
count = 0;
actionflg = 0;
movex = 0;
movey = 0;
speed = 9;
light = 0;
degree = 0;
radian = (Math.PI * degree) / 180;
f_speed = 30;
_parent.descount = 0;
}
onClipEvent (enterFrame) {
_root.boss_battle();
_parent._xscale = 50 + ((40 - life) * 2);
_parent._yscale = 50 + ((40 - life) * 2);
_parent._alpha = 50 + ((40 - life) * 2);
_parent._rotation = _parent._rotation + 2;
if (flg == 8) {
count++;
if (count > 60) {
flg = 0;
count = 0;
}
}
if ((light == 0) && (this._alpha > 0)) {
this._alpha = this._alpha - 2;
if (this._alpha <= 0) {
light = 1;
}
} else if ((light == 1) && (this._alpha < 100)) {
this._alpha = this._alpha + 2;
if (this._alpha >= 100) {
light = 0;
}
}
if (flg == 0) {
this.actionflg = _root.intrandomizer(1, 6);
this.flg++;
} else if (flg == 1) {
this.so = new Sound();
so.attachSound("boss5");
so.start(0, 1);
num = 1;
while (num <= 5) {
if (num != this.actionflg) {
a_name = "ene8_" + num;
_root.attaching(a_name, _parent._x, _parent._y);
_root[_root.attachObject]._rotation = _parent._rotation;
_root[_root.attachObject]._xscale = _parent._xscale;
_root[_root.attachObject]._yscale = _parent._yscale;
_root[_root.attachObject].core._alpha = this._alpha;
_root[_root.attachObject].core.light = this[light];
}
num++;
}
flg = 2;
} else if (flg == 2) {
if (this.actionflg == 1) {
movex = 0;
movey = -1;
} else if (this.actionflg == 2) {
movex = 0.951056516295154;
movey = -0.309016994374948;
} else if (this.actionflg == 3) {
movex = 0.587785252292473;
movey = 0.809016994374947;
} else if (this.actionflg == 4) {
movex = -0.587785252292473;
movey = 0.809016994374947;
} else if (this.actionflg == 5) {
movex = -0.951056516295154;
movey = -0.309016994374948;
}
flg = 3;
} else if (flg == 3) {
if (count < 30) {
_parent._x = _parent._x + (this.movex * speed);
_parent._y = _parent._y + (this.movey * speed);
} else {
flg = 4;
speed = 9.3;
count = -1;
}
count++;
speed = speed - 0.3;
} else if (flg == 4) {
if (count > 60) {
flg = 5;
count = -1;
}
count++;
} else if ((flg == 5) && (_parent.descount >= 4)) {
if (count < 30) {
_parent._x = _parent._x - (movex * speed);
_parent._y = _parent._y - (movey * speed);
} else {
flg = 0;
speed = 9.3;
count = -1;
_parent.descount = 0;
}
count++;
speed = speed - 0.3;
} else if (flg == 6) {
count = 0;
flg = 7;
} else if (flg == 7) {
count++;
this._xscale = this._xscale + 4;
this._yscale = this._yscale + 4;
this._alpha = this._alpha - 3;
_parent._alpha = _parent._alpha - 4;
if (count >= 5) {
_root.attaching("obj1", _parent._x + _root.randomizer(-30, 30), _parent._y + _root.randomizer(-30, 30));
_root.attaching("obj1", _parent._x + _root.randomizer(-30, 30), _parent._y + _root.randomizer(-30, 30));
_root.attaching("eff2", _parent._x, _parent._y);
count = 0;
desflg++;
this.so = new Sound();
so.attachSound("bom3");
so.start(0, 1);
} else if (desflg >= 20) {
this.so = new Sound();
so.attachSound("bom2");
so.start(0, 1);
_root.attaching("obj6", _parent._x, _parent._y);
_root.attaching("obj7", _parent._x, _parent._y);
_parent.gotoAndStop(2);
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if ((life <= 0) && (flg != 7)) {
flg = 6;
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 248 MovieClip [ene8] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(3500, lockpoint, this._x, this._y + 60);
_root[targetname].removeMovieClip();
_global.e_count++;
_root.boss_fin(3);
this.removeMovieClip();
Symbol 251 MovieClip [ene9] Frame 1
stop();
this._xscale = 20;
this._yscale = 20;
this._alpha = 20;
Instance of Symbol 53 MovieClip "core" in Symbol 251 MovieClip [ene9] Frame 1
onClipEvent (load) {
lock = 0;
life = 3;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
_parent.lockpoint = 0;
}
onClipEvent (enterFrame) {
count++;
_parent._rotation = _parent._rotation + 6;
if (count <= 50) {
_parent._alpha = _parent._alpha + 2;
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
} else if (count >= 120) {
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_global.e_count = _global.e_count + 2;
_parent.removeMovieClip();
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 251 MovieClip [ene9] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.attaching("ene9-1", this._x, this._y);
_root[_root.attachObject]._rotation = this._rotation;
_root[_root.attachObject]._xscale = this._xscale;
_root[_root.attachObject]._yscale = this._yscale;
_root[_root.attachObject]._alpha = this._alpha;
_root.attaching("ene9-1", this._x, this._y);
_root[_root.attachObject]._rotation = this._rotation - 180;
_root[_root.attachObject]._alpha = this._alpha;
_root[_root.attachObject]._xscale = this._xscale;
_root[_root.attachObject]._yscale = this._yscale;
_root.pointing(370, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
this.removeMovieClip();
Symbol 252 MovieClip [ene9-1] Frame 1
stop();
Instance of Symbol 53 MovieClip "core" in Symbol 252 MovieClip [ene9-1] Frame 1
onClipEvent (load) {
lock = 0;
life = 1;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
_parent.lockpoint = 0;
rotate = 1;
}
onClipEvent (enterFrame) {
count++;
if (count <= 1) {
movex = _root.rotate_movex(7, _parent._rotation);
movey = _root.rotate_movey(7, _parent._rotation);
} else if (count <= 50) {
_parent._x = _parent._x - movex;
_parent._y = _parent._y - movey;
movex = movex * 0.9;
movey = movey * 0.9;
}
if (count >= 25) {
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
_parent._alpha = _parent._alpha + 2;
_parent._rotation = _parent._rotation - rotate;
rotate = rotate + 0.4;
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_global.e_count++;
_parent.removeMovieClip();
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 250 MovieClip "w1" in Symbol 252 MovieClip [ene9-1] Frame 1
onClipEvent (enterFrame) {
count++;
if (_parent._currentframe == 2) {
this._rotation = this._rotation + 2;
this._x = this._x + 0.2;
this._y = this._y + 0.5;
} else if ((count >= 10) && (count < 40)) {
this._rotation = this._rotation - 6;
this._yscale = this._yscale - 6.5;
}
}
Symbol 252 MovieClip [ene9-1] Frame 2
stop();
Instance of Symbol 250 MovieClip "w2" in Symbol 252 MovieClip [ene9-1] Frame 2
onClipEvent (enterFrame) {
count++;
if (_parent._currentframe == 2) {
this._rotation = this._rotation - 2;
this._x = this._x - 0.5;
this._y = this._y - 0.3;
}
}
Instance of Symbol 53 MovieClip in Symbol 252 MovieClip [ene9-1] Frame 2
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha - 10;
if (_parent._alpha <= 0) {
_parent.gotoAndStop(3);
}
}
Symbol 252 MovieClip [ene9-1] Frame 3
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(300, this.lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 263 MovieClip [title] Frame 1
title = "area 1";
rank = "";
stop();
Instance of Symbol 28 MovieClip in Symbol 263 MovieClip [title] Frame 1
onClipEvent (load) {
_parent._yscale = 100;
_parent._xscale = 100;
_parent._alpha = 0;
flg = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((flg == 0) && (_parent._alpha < 100)) {
_parent._alpha = _parent._alpha + 5;
}
if (count == 120) {
flg++;
}
if ((flg == 1) && (_parent._alpha > 0)) {
_parent._alpha = _parent._alpha - 5;
if (_parent._yscale < 0) {
_parent.removeMovieClip();
}
}
}
Symbol 263 MovieClip [title] Frame 2
title = "area 2-a";
rank = "rank easy";
stop();
Symbol 263 MovieClip [title] Frame 3
title = "area 2-b";
rank = "rank normal";
stop();
Symbol 263 MovieClip [title] Frame 4
stop();
title = "area 3-b";
rank = "rank hard";
Symbol 263 MovieClip [title] Frame 5
stop();
title = "area 3-a";
rank = "rank normal";
Symbol 263 MovieClip [title] Frame 6
stop();
title = "area 2-a-a";
rank = "rank easy";
Symbol 263 MovieClip [title] Frame 7
stop();
title = "area 3-a-b";
rank = "rank hard";
Symbol 268 MovieClip [ene10-4] Frame 1
this.so = new Sound();
so.attachSound("fly3");
so.start(0, 1);
stop();
Instance of Symbol 53 MovieClip "core" in Symbol 268 MovieClip [ene10-4] Frame 1
onClipEvent (load) {
lock = 0;
life = 2;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
_parent.lockpoint = 0;
_parent._xscale = 200;
_parent._yscale = 200;
_parent._alpha = 200;
xmove = 3;
ymove = 2;
}
onClipEvent (enterFrame) {
count++;
if (count <= 100) {
_parent._alpha = _parent._alpha - 2;
_parent._xscale = _parent._xscale - 2;
_parent._yscale = _parent._yscale - 2;
_parent._x = _parent._x + xmove;
_parent._y = _parent._y - ymove;
}
if (_parent._xscale <= 0) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 268 MovieClip [ene10-4] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 268 MovieClip [ene10-4] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(400, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 269 MovieClip [ene10-3] Frame 1
stop();
this.so = new Sound();
so.attachSound("fly3");
so.start(0, 1);
Instance of Symbol 53 MovieClip "core" in Symbol 269 MovieClip [ene10-3] Frame 1
onClipEvent (load) {
lock = 0;
life = 2;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
_parent.lockpoint = 0;
_parent._xscale = 200;
_parent._yscale = 200;
_parent._alpha = 200;
xmove = 3;
ymove = 2;
}
onClipEvent (enterFrame) {
count++;
if (count <= 100) {
_parent._alpha = _parent._alpha - 2;
_parent._xscale = _parent._xscale - 2;
_parent._yscale = _parent._yscale - 2;
_parent._x = _parent._x - xmove;
_parent._y = _parent._y - ymove;
}
if (_parent._xscale <= 0) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 269 MovieClip [ene10-3] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 269 MovieClip [ene10-3] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(400, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 270 MovieClip [ene10-2] Frame 1
stop();
this.so = new Sound();
so.attachSound("fly3");
so.start(0, 1);
Instance of Symbol 53 MovieClip "core" in Symbol 270 MovieClip [ene10-2] Frame 1
onClipEvent (load) {
lock = 0;
life = 2;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
_parent.lockpoint = 0;
_parent._xscale = 200;
_parent._yscale = 200;
_parent._alpha = 200;
xmove = 3;
ymove = 2;
}
onClipEvent (enterFrame) {
count++;
if (count <= 100) {
_parent._alpha = _parent._alpha - 2;
_parent._xscale = _parent._xscale - 2;
_parent._yscale = _parent._yscale - 2;
_parent._x = _parent._x - xmove;
_parent._y = _parent._y + ymove;
}
if (_parent._xscale <= 0) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 270 MovieClip [ene10-2] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 270 MovieClip [ene10-2] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(400, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 271 MovieClip [ene10-1] Frame 1
stop();
this.so = new Sound();
so.attachSound("fly3");
so.start(0, 1);
Instance of Symbol 53 MovieClip "core" in Symbol 271 MovieClip [ene10-1] Frame 1
onClipEvent (load) {
lock = 0;
life = 2;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
_parent.lockpoint = 0;
_parent._xscale = 200;
_parent._yscale = 200;
_parent._alpha = 200;
xmove = 3;
ymove = 2;
}
onClipEvent (enterFrame) {
count++;
if (count <= 100) {
_parent._alpha = _parent._alpha - 2;
_parent._xscale = _parent._xscale - 2;
_parent._yscale = _parent._yscale - 2;
_parent._x = _parent._x + xmove;
_parent._y = _parent._y + ymove;
}
if (_parent._xscale <= 0) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 271 MovieClip [ene10-1] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 271 MovieClip [ene10-1] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(400, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Instance of Symbol 53 MovieClip in Symbol 271 MovieClip [ene10-1] Frame 20
onClipEvent (load) {
lock = 0;
life = 3;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
_parent.lockpoint = 0;
_parent._xscale = 200;
_parent._yscale = 200;
_parent._alpha = 200;
xmove = 6;
ymove = 4;
}
onClipEvent (enterFrame) {
count++;
if (count <= 100) {
_parent._alpha = _parent._alpha - 4;
_parent._xscale = _parent._xscale - 4;
_parent._yscale = _parent._yscale - 4;
_parent._x = _parent._x + xmove;
_parent._y = _parent._y + ymove;
}
if (_parent._xscale <= 0) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 53 MovieClip "core" in Symbol 278 MovieClip [ene11-2] Frame 1
onClipEvent (load) {
lock = 0;
life = 4;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
_parent.lockpoint = 0;
_parent._xscale = 160;
_parent._yscale = 160;
_parent._alpha = 160;
rotate = 0;
move = 7;
moveb = 0;
count = 0;
}
onClipEvent (enterFrame) {
if (move > 0) {
_parent._rotation++;
rotate++;
_parent._alpha = _parent._alpha - 1;
_parent._xscale = _parent._xscale - 1;
_parent._yscale = _parent._yscale - 1;
_parent._x = _parent._x + _root.rotate_movex(move, rotate - 10);
_parent._y = _parent._y + _root.rotate_movey(move, rotate - 10);
move = move - 0.1;
} else if (move < 0) {
_parent._x = _parent._x + _root.rotate_movex(moveb, rotate);
_parent._y = _parent._y + _root.rotate_movey(moveb, rotate);
moveb = moveb + 0.3;
count++;
if (count == 10) {
count = 0;
_root.attacking(60, _parent._x, _parent._y);
}
}
if (((_parent._alpha < 0) || (_parent._y > 510)) || (_parent._x > 510)) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(41);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 278 MovieClip [ene11-2] Frame 40
gotoAndPlay (1);
Symbol 278 MovieClip [ene11-2] Frame 41
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 278 MovieClip [ene11-2] Frame 60
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(380, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Instance of Symbol 53 MovieClip "core" in Symbol 279 MovieClip [ene11-1] Frame 1
onClipEvent (load) {
lock = 0;
life = 4;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
_parent.lockpoint = 0;
_parent._xscale = 160;
_parent._yscale = 160;
_parent._alpha = 160;
rotate = 0;
move = 8;
moveb = 0;
count = 0;
}
onClipEvent (enterFrame) {
if (move > 0) {
_parent._rotation++;
rotate++;
_parent._alpha = _parent._alpha - 1;
_parent._xscale = _parent._xscale - 1;
_parent._yscale = _parent._yscale - 1;
_parent._x = _parent._x + _root.rotate_movex(move, rotate - 10);
_parent._y = _parent._y + _root.rotate_movey(move, rotate - 10);
move = move - 0.1;
} else if (move < 0) {
_parent._x = _parent._x + _root.rotate_movex(moveb, rotate);
_parent._y = _parent._y + _root.rotate_movey(moveb, rotate);
moveb = moveb + 0.3;
count++;
if (count == 15) {
count = 0;
_root.attacking(60, _parent._x, _parent._y);
}
}
if (((_parent._alpha < 0) || (_parent._y > 510)) || (_parent._x > 510)) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_global.e_count++;
_parent.removeMovieClip();
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(41);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 279 MovieClip [ene11-1] Frame 40
gotoAndPlay (1);
Symbol 279 MovieClip [ene11-1] Frame 41
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 279 MovieClip [ene11-1] Frame 60
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(380, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 284 MovieClip [ene12] Frame 1
stop();
_root.boss_start();
Instance of Symbol 53 MovieClip "core" in Symbol 284 MovieClip [ene12] Frame 1
onClipEvent (load) {
lock = 0;
life = 40;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
firstrotate = 19;
flg = 0;
timing = 50;
count = 20;
xmove = 10;
}
onClipEvent (enterFrame) {
_root.boss_battle();
firstrotate = firstrotate - 0.5;
if ((firstrotate > 0) && (flg == 0)) {
_parent._rotation = _parent._rotation + firstrotate;
_parent._x = _parent._x - firstrotate;
_parent._y = _parent._y + (firstrotate / 10);
} else if ((_parent._rotation != 0) && (flg == 0)) {
_parent._rotation = _parent._rotation + 0.5;
_parent._x = _parent._x - 0.5;
_parent._y = _parent._y + 0.1;
} else if (((_parent._rotation == 0) && (flg == 0)) && (firstrotate <= 0)) {
flg = 1;
} else if (flg <= 3) {
count++;
degree++;
degree2 = degree2 + 2.5;
radian = (Math.PI/180) * degree;
radian2 = (Math.PI/180) * degree2;
_parent._x = _parent._x + Math.sin(radian);
_parent._y = _parent._y + (Math.sin(radian2) / 2);
if (count == timing) {
_root.attaching("mis1", _parent._x - 30, _parent._y - 50);
_root.attaching("mis4", _parent._x + 30, _parent._y - 50);
count = 0;
flg++;
bgm = new Sound();
bgm.attachSound("boss4");
bgm.start(0, 1);
}
} else if (flg == 4) {
count = 0;
flg = 5;
} else if (flg <= 7) {
count++;
degree++;
degree2 = degree2 + 2.5;
radian = (Math.PI/180) * degree;
radian2 = (Math.PI/180) * degree2;
_parent._x = _parent._x + Math.sin(radian);
_parent._y = _parent._y + (Math.sin(radian2) / 2);
if (count == 15) {
_root.attacking2(60, _parent._x, _parent._y + 28);
bgm = new Sound();
bgm.attachSound("boss2");
bgm.start(0, 1);
count = 0;
flg++;
}
} else if (flg == 8) {
flg = 1;
count = 0;
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 284 MovieClip [ene12] Frame 30
this.so = new Sound();
so.attachSound("bom2");
so.start(0, 1);
_root.attaching("obj1", this._x - 33.5, this._y - 28);
_root.attaching("obj2", this._x - 33.5, this._y - 28);
_root.attaching("obj1", this._x + 36.5, this._y - 35.5);
_root.attaching("obj2", this._x + 36.5, this._y - 35.5);
stop();
Instance of Symbol 283 MovieClip in Symbol 284 MovieClip [ene12] Frame 30
onClipEvent (load) {
this._yscale = 0;
}
onClipEvent (enterFrame) {
if (this._yscale < 100) {
this._yscale = this._yscale + 4;
}
}
Instance of Symbol 283 MovieClip in Symbol 284 MovieClip [ene12] Frame 30
onClipEvent (load) {
this._yscale = 0;
}
onClipEvent (enterFrame) {
if (this._yscale < 100) {
this._yscale = this._yscale + 4;
}
}
Instance of Symbol 283 MovieClip in Symbol 284 MovieClip [ene12] Frame 30
onClipEvent (load) {
this._yscale = 0;
}
onClipEvent (enterFrame) {
if (this._yscale < 100) {
this._yscale = this._yscale + 4;
}
}
Instance of Symbol 53 MovieClip "core" in Symbol 284 MovieClip [ene12] Frame 30
onClipEvent (load) {
_parent._name = "apache";
lock = 0;
life = 30;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
flg = 0;
timing = 0;
count = 0;
sounder = new Sound(this);
sounder.attachSound("boss6");
}
onClipEvent (enterFrame) {
if (flg == 0) {
xmove = (_root.randomizer(0, 500) / 100) - (_parent._x / 100);
ymove = (_root.randomizer(0, 500) / 100) - (_parent._y / 100);
alpha = (_root.randomizer(40, 160) / 100) - (_parent._xscale / 100);
alphabuf = alpha / 100;
xbuf = xmove / 100;
ybuf = ymove / 100;
flg = 1;
}
if (flg == 1) {
count++;
if (count == 30) {
count = 0;
flg = 2;
}
} else if ((flg < 4) && (timing < 100)) {
if (flg == 2) {
_root.attaching("eff", _parent._x + 21.5, _parent._y - 21.5);
_root[_root.attachObject]._name = "eff1";
_root.attaching("eff", _parent._x - 21.5, _parent._y - 21.5);
_root[_root.attachObject]._name = "eff2";
_root.attaching("eff", _parent._x, _parent._y - 31);
_root[_root.attachObject]._name = "eff3";
flg = 3;
nowlife = life;
sounder.attachSound("boss6");
sounder.start(0, 1);
}
_parent._xscale = _parent._xscale + alpha;
_parent._yscale = _parent._yscale + alpha;
_parent._x = _parent._x + xmove;
_parent._y = _parent._y + ymove;
alpha = alpha - alphabuf;
xmove = xmove - xbuf;
ymove = ymove - ybuf;
timing++;
_root.eff1._x = _parent._x + 21.5;
_root.eff1._y = _parent._y - 21.5;
_root.eff2._x = _parent._x - 21.5;
_root.eff2._y = _parent._y - 21.5;
_root.eff3._x = _parent._x;
_root.eff3._y = _parent._y - 31;
if (timing == 100) {
flg = 5;
count = 0;
timing = 0;
sounder.attachSound("boss7");
sounder.start(0, 1);
_parent.shade._xscale = 100;
_parent.shade._yscale = 100;
a = 1;
while (a <= 3) {
name = "eff" + a;
_root[name].removeMovieClip();
a++;
}
} else if ((nowlife - life) >= 8) {
sounder.stop();
flg = 0;
count = 0;
timing = 0;
_parent.shade._xscale = 100;
_parent.shade._yscale = 100;
_root.attaching("obj1", _parent._x, _parent._y);
_root.attaching("obj2", _parent._x, _parent._y);
so = new Sound();
so.attachSound("bom3");
so.attachSound("bom3");
a = 1;
while (a <= 3) {
name = "eff" + a;
_root[name].removeMovieClip();
a++;
}
}
} else if (flg == 5) {
count++;
if (count == 30) {
flg = 0;
count = 0;
_root.damage();
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(31);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 107 MovieClip "shade" in Symbol 284 MovieClip [ene12] Frame 30
onClipEvent (enterFrame) {
if (_parent.core.flg == 3) {
this._xscale = this._xscale + 2;
this._yscale = this._yscale + 2;
} else if (_parent.core.flg == 5) {
this._xscale = this._xscale + 60;
this._yscale = this._yscale + 60;
} else {
this._xscale = 30;
this._yscale = 30;
}
}
Symbol 284 MovieClip [ene12] Frame 88
this.so = new Sound();
so.attachSound("bom2");
so.start(0, 1);
_root.attaching("obj1", this._x + 21, this._y - 30);
_root.attaching("obj2", this._x + 21, this._y - 30);
_root.attaching("obj1", this._x - 1, this._y - 48.5);
_root.attaching("obj2", this._x - 1, this._y - 48.5);
_root.attaching("obj1", this._x - 40, this._y - 19);
_root.attaching("obj2", this._x - 40, this._y - 19);
stop();
Instance of Symbol 53 MovieClip "core" in Symbol 284 MovieClip [ene12] Frame 88
onClipEvent (load) {
_parent._name = "apache";
lock = 0;
life = 80;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
flg = 0;
timing = 0;
count = 0;
sounder = new Sound(this);
sounder.attachSound("boss6");
}
onClipEvent (enterFrame) {
if (flg == 0) {
xmove = (_root.randomizer(20, 480) / 30) - (_parent._x / 30);
ymove = (_root.randomizer(20, 480) / 30) - (_parent._y / 30);
alpha = (_root.randomizer(80, 120) / 30) - (_parent._xscale / 30);
alphabuf = alpha / 30;
xbuf = xmove / 30;
ybuf = ymove / 30;
flg = 1;
}
if (flg == 1) {
_parent._xscale = _parent._xscale + alpha;
_parent._yscale = _parent._yscale + alpha;
_parent._x = _parent._x + xmove;
_parent._y = _parent._y + ymove;
alpha = alpha - alphabuf;
xmove = xmove - xbuf;
ymove = ymove - ybuf;
if (((count == 0) || (count == 10)) || (count == 20)) {
_root.attaching("ene_attack6", _parent._x, _parent._y);
}
if (count == 30) {
if (timing == 4) {
flg = 2;
count = 0;
} else {
count = 0;
flg = 0;
timing++;
}
}
count++;
} else if (flg == 2) {
count++;
if (count == 30) {
_root.attaching("ene_attack7-1", _parent._x + 20, _parent._y);
_root.attaching("ene_attack7-2", _parent._x, _parent._y + 20);
_root.attaching("ene_attack7-3", _parent._x - 20, _parent._y);
_root.attaching("ene_attack7-4", _parent._x, _parent._y - 20);
} else if (count == 60) {
flg = 0;
count = 0;
timing = 0;
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(89);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 28 MovieClip in Symbol 284 MovieClip [ene12] Frame 89
onClipEvent (load) {
timing = 0;
count = 0;
a = 0;
while (a <= 2) {
_root.attaching("eff2", _parent._x, _parent._y);
a++;
}
so = new Sound(this);
so.attachSound("boss8");
so.start(0, 1);
}
onClipEvent (enterFrame) {
count++;
if (count >= 5) {
count = 0;
timing++;
}
if ((count == 0) && (((((timing == 5) || (timing == 8)) || (timing == 12)) || (timing == 16)) || (timing == 20))) {
_root.attaching("eff2", _parent._x, _parent._y);
_root.attaching("eff2", _parent._x, _parent._y);
}
}
Symbol 284 MovieClip [ene12] Frame 230
_root.attaching("obj1", this._x - 24, this._y + 37);
_root.attaching("obj2", this._x - 24, this._y + 37);
_root.attaching("obj1", this._x + 41, this._y + 10);
_root.attaching("obj2", this._x + 41, this._y + 10);
_root.attaching("obj6", this._x, this._y);
_root.attaching("obj7", this._x, this._y);
_root.attaching("eff2", this._x, this._y);
_root.attaching("eff2", this._x, this._y);
_root.attaching("obj1", this._x - 40, this._y - 37);
_root.attaching("obj2", this._x - 40, this._y - 37);
_root.attaching("obj1", this._x + 23, this._y - 40);
_root.attaching("obj2", this._x + 23, this._y - 40);
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing2(18000, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
so = new Sound(this);
so.attachSound("boss9");
so.start(0, 1);
_root.boss_fin(2);
this.removeMovieClip();
Instance of Symbol 53 MovieClip "core" in Symbol 284 MovieClip [ene12] Frame 230
onClipEvent (load) {
_parent._name = "apache";
lock = 0;
life = 40;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
flg = 0;
timing = 0;
count = 0;
sounder = new Sound(this);
sounder.attachSound("boss6");
}
onClipEvent (enterFrame) {
if (flg == 0) {
xmove = (_root.randomizer(20, 480) / 30) - (_parent._x / 30);
ymove = (_root.randomizer(20, 480) / 30) - (_parent._y / 30);
alpha = (_root.randomizer(80, 120) / 30) - (_parent._xscale / 30);
alphabuf = alpha / 30;
xbuf = xmove / 30;
ybuf = ymove / 30;
flg = 1;
}
if (flg == 1) {
_parent._xscale = _parent._xscale + alpha;
_parent._yscale = _parent._yscale + alpha;
_parent._x = _parent._x + xmove;
_parent._y = _parent._y + ymove;
alpha = alpha - alphabuf;
xmove = xmove - xbuf;
ymove = ymove - ybuf;
if (((count == 0) || (count == 10)) || (count == 20)) {
_root.attaching("ene_attack6", _parent._x, _parent._y);
}
if (count == 30) {
if (timing == 4) {
flg = 2;
count = 0;
} else {
count = 0;
flg = 0;
timing++;
}
}
count++;
} else if (flg == 2) {
count++;
if (count == 30) {
_root.attaching("ene_attack7-1", _parent._x + 20, _parent._y);
_root.attaching("ene_attack7-2", _parent._x, _parent._y + 20);
_root.attaching("ene_attack7-3", _parent._x - 20, _parent._y);
_root.attaching("ene_attack7-4", _parent._x, _parent._y - 20);
} else if (count == 60) {
flg = 0;
count = 0;
timing = 0;
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(31);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 28 MovieClip in Symbol 286 MovieClip [eff] Frame 1
onClipEvent (load) {
_parent._alpha = 0;
}
onClipEvent (enterFrame) {
_parent._alpha++;
_parent._xscale--;
_parent._yscale--;
if ((_parent._yscale <= 0) || (_root.apache.core.life <= 0)) {
_parent.removeMovieClip();
}
}
Instance of Symbol 28 MovieClip in Symbol 288 MovieClip [eff2] Frame 1
onClipEvent (load) {
_parent._rotation = _root.randomizer(0, 360);
_parent._yscale = _root.randomizer(60, 120);
lim = _parent._yscale / 50;
rotate = _root.randomizer(-2, 2);
_parent._alpha = 0;
alp = 5;
}
onClipEvent (enterFrame) {
_parent._yscale = _parent._yscale - lim;
if (_parent._yscale <= 0) {
_parent.removeMovieClip();
} else if (_parent._alpha < 100) {
_parent._alpha = _parent._alpha + alp;
}
}
Symbol 291 MovieClip [ene13] Frame 1
stop();
_root.boss_start();
Instance of Symbol 53 MovieClip "core" in Symbol 291 MovieClip [ene13] Frame 1
onClipEvent (load) {
_parent._name = "metalgear";
lock = 0;
life = 140;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
firstx = _parent._x;
firsty = _parent._y;
degree = 0;
flg = 0;
a_timing = 0;
a_count = 0;
r_flg = 0;
l_flg2 = 0;
}
onClipEvent (enterFrame) {
_root.boss_battle();
if (flg == 0) {
_parent._y = _parent._y - 2;
if (_parent._y <= 250) {
flg = 1;
}
} else if (flg == 1) {
count++;
if (count == 10) {
_root.attaching("ene14-1", 250, 250);
} else if (count == 30) {
_root.attaching("ene14-2", 250, 250);
flg = 2;
count = 0;
}
} else if (flg == 2) {
count++;
if (count == 30) {
count = 0;
attachname = "s" + _root.intrandomizer(1, 5);
_root.attacking(10, _parent[attachname]._x + _parent._x, _parent[attachname]._y + _parent._y);
}
if (r_flg == 1) {
r_time = _root.randomizer(120, 200);
r_flg = 2;
} else if (r_flg == 2) {
r_count++;
if (r_time < r_count) {
_root.attaching("ene14-2", 250, 250);
r_count = 0;
r_flg = 0;
}
}
if (l_flg2 == 1) {
l_time = _root.randomizer(120, 200);
l_flg2 = 2;
} else if (l_flg2 == 2) {
l_count++;
if (l_time < l_count) {
_root.attaching("ene14-1", 250, 250);
l_count = 0;
l_flg2 = 0;
}
}
if (life < 60) {
flg = 3;
count = 0;
}
} else if (flg == 3) {
if (r_flg == 1) {
r_time = _root.randomizer(200, 400);
r_flg = 2;
} else if (r_flg == 2) {
r_count++;
if (r_time < r_count) {
_root.attaching("ene14-2", 250, 250);
r_count = 0;
r_flg = 0;
}
}
if (l_flg2 == 1) {
l_time = _root.randomizer(200, 400);
l_flg2 = 2;
} else if (l_flg2 == 2) {
l_count++;
if (l_time < l_count) {
_root.attaching("ene14-1", 250, 250);
l_count = 0;
l_flg2 = 0;
}
}
} else if (flg >= 4) {
count++;
if (count == 4) {
_root.attaching("obj1", _parent._x + _root.randomizer(-30, 30), _parent._y + _root.randomizer(-30, 30));
_root.attaching("obj2", _parent._x + _root.randomizer(-30, 30), _parent._y + _root.randomizer(-30, 30));
flg++;
count = 0;
so = new Sound(this);
so.attachSound("bom3");
so.start(0, 1);
} else if (flg == 20) {
_root.attaching("obj6", _parent._x, _parent._y);
_root.attaching("obj7", _parent._x, _parent._y);
so.attachSound();
so.start(0, 1);
_parent.gotoAndStop(2);
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if ((life <= 0) && (flg < 4)) {
flg = 4;
count = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
if (_parent.targetname == "NULL") {
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_parent.lockpoint++;
_root.states.lockcounter++;
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 144 MovieClip "s1" in Symbol 291 MovieClip [ene13] Frame 1
onClipEvent (load) {
degree = 0;
speed = 2;
flg = 0;
}
onClipEvent (enterFrame) {
if ((_parent.core.flg >= 4) && (this._visible == true)) {
_root.attaching("obj1", _parent._x + this._x, _parent._y + this._y);
_root.attaching("obj2", _parent._x + this._x, _parent._y + this._y);
this._visible = false;
} else if (_parent.core.flg < 4) {
if (flg == 0) {
degree = degree + speed;
radian = (Math.PI * degree) / 180;
this._y = this._y + (Math.sin(radian) * 2);
}
if ((_parent.core.flg == 3) && (flg == 0)) {
movex = (100 - this._x) / 30;
movey = (-50 - this._y) / 30;
flg = 1;
} else if (flg == 1) {
this._x = this._x + movex;
this._y = this._y + movey;
count++;
if (count > 30) {
flg = 2;
count = 0;
}
} else if ((flg >= 2) && (flg <= 4)) {
count++;
if (count > 60) {
_root.attaching("ene_attack4-2", _parent._x + this._x, _parent._y + this._y);
count = 0;
flg++;
}
} else if (flg == 5) {
movex = (120 - this._x) / 30;
movey = (-this._y) / 30;
flg = 6;
} else if (flg == 6) {
this._x = this._x + movex;
this._y = this._y + movey;
count++;
if (count >= 30) {
flg = 7;
count = 0;
}
} else if (flg == 7) {
count++;
if ((count == 40) || (count == 100)) {
_root.attaching("ene_attack4", _parent._x + this._x, _parent._y + this._y);
so = new Sound(this);
so.attachSound("boss2");
so.start(0, 1);
} else if (count == 160) {
count = 0;
flg = 0;
}
}
}
}
Instance of Symbol 144 MovieClip "s3" in Symbol 291 MovieClip [ene13] Frame 1
onClipEvent (load) {
degree = 0;
speed = 4;
flg = 0;
}
onClipEvent (enterFrame) {
if ((_parent.core.flg >= 4) && (this._visible == true)) {
_root.attaching("obj1", _parent._x + this._x, _parent._y + this._y);
_root.attaching("obj2", _parent._x + this._x, _parent._y + this._y);
this._visible = false;
} else if (_parent.core.flg < 4) {
if (flg == 0) {
degree = degree + speed;
radian = (Math.PI * degree) / 180;
this._y = this._y + (Math.sin(radian) * 2);
}
if ((_parent.core.flg == 3) && (flg == 0)) {
movex = (-50 - this._x) / 30;
movey = (50 - this._y) / 30;
flg = 1;
} else if (flg == 1) {
this._x = this._x + movex;
this._y = this._y + movey;
count++;
if (count > 30) {
flg = 2;
count = 0;
}
} else if ((flg >= 2) && (flg <= 4)) {
count++;
if (count > 60) {
_root.attaching("ene_attack4-2", _parent._x + this._x, _parent._y + this._y);
count = 0;
flg++;
}
} else if (flg == 5) {
movex = (-60 - this._x) / 30;
movey = (-this._y) / 30;
flg = 6;
} else if (flg == 6) {
this._x = this._x + movex;
this._y = this._y + movey;
count++;
if (count >= 30) {
flg = 7;
count = 0;
}
} else if (flg == 7) {
count++;
if ((((count == 20) || (count == 60)) || (count == 80)) || (count == 120)) {
_root.attaching("ene_attack4", _parent._x + this._x, _parent._y + this._y);
so = new Sound(this);
so.attachSound("boss2");
so.start(0, 1);
} else if (count == 160) {
flg = 0;
count = 0;
}
}
}
}
Instance of Symbol 144 MovieClip "s2" in Symbol 291 MovieClip [ene13] Frame 1
onClipEvent (load) {
degree = 0;
speed = 3;
flg = 0;
}
onClipEvent (enterFrame) {
if ((_parent.core.flg >= 4) && (this._visible == true)) {
_root.attaching("obj1", _parent._x + this._x, _parent._y + this._y);
_root.attaching("obj2", _parent._x + this._x, _parent._y + this._y);
this._visible = false;
} else if (_parent.core.flg < 4) {
if (flg == 0) {
degree = degree + speed;
radian = (Math.PI * degree) / 180;
this._y = this._y + (Math.sin(radian) * 2);
}
if ((_parent.core.flg == 3) && (flg == 0)) {
movex = (-100 - this._x) / 30;
movey = (-50 - this._y) / 30;
flg = 1;
} else if (flg == 1) {
this._x = this._x + movex;
this._y = this._y + movey;
count++;
if (count > 30) {
flg = 2;
count = 0;
}
} else if ((flg >= 2) && (flg <= 4)) {
count++;
if (count > 60) {
_root.attaching("ene_attack4-2", _parent._x + this._x, _parent._y + this._y);
so = new Sound(this);
so.attachSound("boss3");
so.start(0, 1);
count = 0;
flg++;
}
} else if (flg == 5) {
movex = (-120 - this._x) / 30;
movey = (-this._y) / 30;
flg = 6;
} else if (flg == 6) {
this._x = this._x + movex;
this._y = this._y + movey;
count++;
if (count >= 30) {
flg = 7;
count = 0;
}
} else if (flg == 7) {
count++;
if (((count == 10) || (count == 70)) || (count == 130)) {
_root.attaching("ene_attack4", _parent._x + this._x, _parent._y + this._y);
so.attachSound("boss2");
so.start(0, 1);
} else if (count == 160) {
flg = 0;
count = 0;
}
}
}
}
Instance of Symbol 144 MovieClip "s4" in Symbol 291 MovieClip [ene13] Frame 1
onClipEvent (load) {
degree = 0;
speed = 4;
flg = 0;
}
onClipEvent (enterFrame) {
if ((_parent.core.flg >= 4) && (this._visible == true)) {
_root.attaching("obj1", _parent._x + this._x, _parent._y + this._y);
_root.attaching("obj2", _parent._x + this._x, _parent._y + this._y);
this._visible = false;
} else if (_parent.core.flg < 4) {
if (flg == 0) {
degree = degree + speed;
radian = (Math.PI * degree) / 180;
this._y = this._y + Math.sin(radian);
}
if ((_parent.core.flg == 3) && (flg == 0)) {
movex = (50 - this._x) / 30;
movey = (50 - this._y) / 30;
flg = 1;
} else if (flg == 1) {
this._x = this._x + movex;
this._y = this._y + movey;
count++;
if (count >= 30) {
flg = 2;
count = 0;
}
} else if ((flg >= 2) && (flg <= 4)) {
count++;
if (count > 60) {
_root.attaching("ene_attack4-2", _parent._x + this._x, _parent._y + this._y);
count = 0;
flg++;
}
} else if (flg == 5) {
movex = (60 - this._x) / 30;
movey = (-this._y) / 30;
flg = 6;
} else if (flg == 6) {
this._x = this._x + movex;
this._y = this._y + movey;
count++;
if (count > 30) {
flg = 7;
count = 0;
}
} else if (flg == 7) {
count++;
if ((((count == 30) || (count == 50)) || (count == 90)) || (count == 110)) {
_root.attaching("ene_attack4", _parent._x + this._x, _parent._y + this._y);
so = new Sound(this);
so.attachSound("boss2");
so.start(0, 1);
} else if (count == 160) {
count = 0;
flg = 0;
}
}
}
}
Symbol 291 MovieClip [ene13] Frame 2
_root.attaching("obj6", this._x, this._y);
_root.attaching("obj7", this._x, this._y);
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(5000, lockpoint, this._x, this._y + 60);
_root[targetname].removeMovieClip();
this.so = new Sound();
so.attachSound("bom2");
so.start(0, 1);
_root.attaching("ene8", this._x, this._y);
this.removeMovieClip();
Instance of Symbol 144 MovieClip "s1" in Symbol 291 MovieClip [ene13] Frame 2
onClipEvent (load) {
degree = 0;
speed = 2;
flg = 0;
}
onClipEvent (enterFrame) {
if (flg == 0) {
degree = degree + speed;
radian = (Math.PI * degree) / 180;
this._y = this._y + (Math.sin(radian) * 2);
}
if ((_parent.core.flg == 3) && (flg == 0)) {
movex = (100 - this._x) / 30;
movey = (-50 - this._y) / 30;
flg = 1;
} else if (flg == 1) {
this._x = this._x + movex;
this._y = this._y + movey;
count++;
if (count > 30) {
flg = 2;
count = 0;
}
} else if ((flg >= 2) && (flg <= 4)) {
count++;
if (count > 60) {
_root.attaching("ene_attack4-2", _parent._x + this._x, _parent._y + this._y);
count = 0;
flg++;
}
} else if (flg == 5) {
movex = (120 - this._x) / 30;
movey = (-this._y) / 30;
flg = 6;
} else if (flg == 6) {
this._x = this._x + movex;
this._y = this._y + movey;
count++;
if (count >= 30) {
flg = 7;
count = 0;
}
} else if (flg == 7) {
count++;
if ((count == 40) || (count == 100)) {
_root.attaching("ene_attack4", _parent._x + this._x, _parent._y + this._y);
so = new Sound(this);
so.attachSound("boss2");
so.start(0, 1);
} else if (count == 160) {
count = 0;
flg = 0;
}
}
}
Instance of Symbol 144 MovieClip "s3" in Symbol 291 MovieClip [ene13] Frame 2
onClipEvent (load) {
degree = 0;
speed = 4;
flg = 0;
}
onClipEvent (enterFrame) {
if (flg == 0) {
degree = degree + speed;
radian = (Math.PI * degree) / 180;
this._y = this._y + (Math.sin(radian) * 2);
}
if ((_parent.core.flg == 3) && (flg == 0)) {
movex = (-50 - this._x) / 30;
movey = (50 - this._y) / 30;
flg = 1;
} else if (flg == 1) {
this._x = this._x + movex;
this._y = this._y + movey;
count++;
if (count > 30) {
flg = 2;
count = 0;
}
} else if ((flg >= 2) && (flg <= 4)) {
count++;
if (count > 60) {
_root.attaching("ene_attack4-2", _parent._x + this._x, _parent._y + this._y);
count = 0;
flg++;
}
} else if (flg == 5) {
movex = (-60 - this._x) / 30;
movey = (-this._y) / 30;
flg = 6;
} else if (flg == 6) {
this._x = this._x + movex;
this._y = this._y + movey;
count++;
if (count >= 30) {
flg = 7;
count = 0;
}
} else if (flg == 7) {
count++;
if ((((count == 20) || (count == 60)) || (count == 80)) || (count == 120)) {
_root.attaching("ene_attack4", _parent._x + this._x, _parent._y + this._y);
so = new Sound(this);
so.attachSound("boss2");
so.start(0, 1);
} else if (count == 160) {
flg = 0;
count = 0;
}
}
}
Instance of Symbol 144 MovieClip "s2" in Symbol 291 MovieClip [ene13] Frame 2
onClipEvent (load) {
degree = 0;
speed = 3;
flg = 0;
}
onClipEvent (enterFrame) {
if (flg == 0) {
degree = degree + speed;
radian = (Math.PI * degree) / 180;
this._y = this._y + (Math.sin(radian) * 2);
}
if ((_parent.core.flg == 3) && (flg == 0)) {
movex = (-100 - this._x) / 30;
movey = (-50 - this._y) / 30;
flg = 1;
} else if (flg == 1) {
this._x = this._x + movex;
this._y = this._y + movey;
count++;
if (count > 30) {
flg = 2;
count = 0;
}
} else if ((flg >= 2) && (flg <= 4)) {
count++;
if (count > 60) {
_root.attaching("ene_attack4-2", _parent._x + this._x, _parent._y + this._y);
so = new Sound(this);
so.attachSound("boss3");
so.start(0, 1);
count = 0;
flg++;
}
} else if (flg == 5) {
movex = (-120 - this._x) / 30;
movey = (-this._y) / 30;
flg = 6;
} else if (flg == 6) {
this._x = this._x + movex;
this._y = this._y + movey;
count++;
if (count >= 30) {
flg = 7;
count = 0;
}
} else if (flg == 7) {
count++;
if (((count == 10) || (count == 70)) || (count == 130)) {
_root.attaching("ene_attack4", _parent._x + this._x, _parent._y + this._y);
so.attachSound("boss2");
so.start(0, 1);
} else if (count == 160) {
flg = 0;
count = 0;
}
}
}
Instance of Symbol 144 MovieClip "s4" in Symbol 291 MovieClip [ene13] Frame 2
onClipEvent (load) {
degree = 0;
speed = 4;
flg = 0;
}
onClipEvent (enterFrame) {
if (flg == 0) {
degree = degree + speed;
radian = (Math.PI * degree) / 180;
this._y = this._y + Math.sin(radian);
}
if ((_parent.core.flg == 3) && (flg == 0)) {
movex = (50 - this._x) / 30;
movey = (50 - this._y) / 30;
flg = 1;
} else if (flg == 1) {
this._x = this._x + movex;
this._y = this._y + movey;
count++;
if (count >= 30) {
flg = 2;
count = 0;
}
} else if ((flg >= 2) && (flg <= 4)) {
count++;
if (count > 60) {
_root.attaching("ene_attack4-2", _parent._x + this._x, _parent._y + this._y);
count = 0;
flg++;
}
} else if (flg == 5) {
movex = (60 - this._x) / 30;
movey = (-this._y) / 30;
flg = 6;
} else if (flg == 6) {
this._x = this._x + movex;
this._y = this._y + movey;
count++;
if (count > 30) {
flg = 7;
count = 0;
}
} else if (flg == 7) {
count++;
if ((((count == 30) || (count == 50)) || (count == 90)) || (count == 110)) {
_root.attaching("ene_attack4", _parent._x + this._x, _parent._y + this._y);
so = new Sound(this);
so.attachSound("boss2");
so.start(0, 1);
} else if (count == 160) {
count = 0;
flg = 0;
}
}
}
Symbol 298 MovieClip [ene14-2] Frame 1
so = new Sound(this);
so.attachSound("fly5");
so.start(0, 1);
stop();
Instance of Symbol 53 MovieClip "core" in Symbol 298 MovieClip [ene14-2] Frame 1
onClipEvent (load) {
lock = 0;
life = 12;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
speed = 4.24264068711928;
flg = 0;
degree = 45;
_parent._rotation = 45;
_parent._xscale = 40;
_parent._yscale = 40;
_parent._alpha = 50;
}
onClipEvent (enterFrame) {
if (_parent._xscale < 100) {
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
_parent._alpha = _parent._alpha + 2;
}
if (flg == 0) {
radian = (Math.PI * degree) / 180;
_parent._x = _parent._x + (Math.cos(radian) * 6);
_parent._y = _parent._y + (Math.sin(radian) * 6);
_parent._rotation = degree;
degree = degree - 4;
if (degree <= -45) {
flg = 1;
}
} else if (flg == 1) {
_parent._y = _parent._y - speed;
_parent._x = _parent._x + speed;
speed = speed - 0.2;
if (speed < 0) {
flg = 2;
movex = _root.intrandomizer(340, 470);
movey = _root.intrandomizer(80, 420);
radian = Math.atan2(movey - _parent._y, movex - _parent._x);
degree = (radian / Math.PI) * 180;
movex = (movex - _parent._x) / 60;
movey = (movey - _parent._y) / 60;
}
} else if (flg == 2) {
_parent._rotation = _parent._rotation - 3;
if (((degree - 2) <= _parent._rotation) && ((degree + 1) >= _parent._rotation)) {
flg = 3;
}
} else if (flg == 3) {
_parent._x = _parent._x + movex;
_parent._y = _parent._y + movey;
if (count >= 60) {
count = -1;
flg = 1;
}
count++;
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (count == 1) {
so = new Sound(this);
so.attachSound("boss3");
so.start(0, 1);
_root.attaching("ene_attack4-2", _parent._x, _parent._y);
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 297 MovieClip in Symbol 298 MovieClip [ene14-2] Frame 1
onClipEvent (enterFrame) {
if ((_parent.core.flg == 2) && (this._xscale == 100)) {
this._xscale = 50;
this._rotation = this._rotation + 30;
} else if ((_parent.core.flg != 2) && (this._xscale == 50)) {
this._xscale = 100;
this._rotation = this._rotation - 30;
}
}
Symbol 298 MovieClip [ene14-2] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(600, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_root.attaching("obj6", this._x, this._y);
_root.attaching("obj7", this._x, this._y);
_root.metalgear.core.r_flg = 1;
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
this.removeMovieClip();
Symbol 299 MovieClip [ene14-1] Frame 1
so = new Sound(this);
so.attachSound("fly5");
so.start(0, 1);
stop();
Instance of Symbol 53 MovieClip "core" in Symbol 299 MovieClip [ene14-1] Frame 1
onClipEvent (load) {
lock = 0;
life = 12;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
speed = 4.24264068711928;
flg = 0;
degree = 135;
_parent._rotation = 45;
_parent._xscale = 40;
_parent._yscale = 40;
_parent._alpha = 50;
_parent._rotation = 135;
}
onClipEvent (enterFrame) {
if (_parent._xscale < 100) {
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
_parent._alpha = _parent._alpha + 2;
}
if (flg == 0) {
radian = (Math.PI * degree) / 180;
_parent._x = _parent._x + (Math.cos(radian) * 6);
_parent._y = _parent._y + (Math.sin(radian) * 6);
_parent._rotation = degree;
degree = degree + 4;
if (degree >= 225) {
flg = 1;
}
} else if (flg == 1) {
_parent._y = _parent._y - speed;
_parent._x = _parent._x - speed;
speed = speed - 0.2;
if (speed < 0) {
flg = 2;
movex = _root.intrandomizer(30, 160);
movey = _root.intrandomizer(80, 420);
radian = Math.atan2(movey - _parent._y, movex - _parent._x);
degree = (radian / Math.PI) * 180;
movex = (movex - _parent._x) / 60;
movey = (movey - _parent._y) / 60;
}
} else if (flg == 2) {
_parent._rotation = _parent._rotation + 3;
if (((degree - 2) <= _parent._rotation) && ((degree + 1) >= _parent._rotation)) {
flg = 3;
}
} else if (flg == 3) {
_parent._x = _parent._x + movex;
_parent._y = _parent._y + movey;
if (count >= 60) {
count = -1;
flg = 1;
}
count++;
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (count == 1) {
so = new Sound(this);
so.attachSound("boss3");
so.start(0, 1);
_root.attaching("ene_attack4-2", _parent._x, _parent._y);
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Instance of Symbol 297 MovieClip in Symbol 299 MovieClip [ene14-1] Frame 1
onClipEvent (enterFrame) {
if ((_parent.core.flg == 2) && (this._xscale == 100)) {
this._xscale = 50;
this._rotation = this._rotation - 30;
} else if ((_parent.core.flg != 2) && (this._xscale == 50)) {
this._xscale = 100;
this._rotation = this._rotation + 30;
}
}
Symbol 299 MovieClip [ene14-1] Frame 2
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(600, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_root.attaching("obj6", this._x, this._y);
_root.attaching("obj7", this._x, this._y);
_root.metalgear.core.l_flg2 = 1;
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
this.removeMovieClip();
Symbol 315 MovieClip Frame 1
if (_root.states.life._currentframe <= 20) {
if (_global.route == 1) {
str = "2-a";
} else if (_global.route == 2) {
str = "3-a";
} else if (_global.route == 3) {
str = "3-b";
}
mess = ("route " + str) + " clear!!!";
} else {
mess = "";
}
Instance of Symbol 312 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
count = 0;
flg = 0;
}
onClipEvent (enterFrame) {
if (flg == 0) {
count++;
this._y--;
if (count >= 10) {
count = 0;
flg = 1;
}
} else if (flg == 1) {
count++;
this._y++;
if (count >= 10) {
count = 0;
flg = 0;
}
}
}
Symbol 319 MovieClip [gameover] Frame 1
this._name = "gameover";
this.swapDepths(100000031);
stop();
score = _root.score_window.score;
Instance of Symbol 315 MovieClip in Symbol 319 MovieClip [gameover] Frame 1
onClipEvent (load) {
_parent._alpha = 0;
name = "p" + _global.des_action;
this._x = _parent[name]._x;
this._y = _parent[name]._y;
}
onClipEvent (enterFrame) {
if (_parent._alpha < 100) {
_parent._alpha = _parent._alpha + 2;
}
}
Instance of Symbol 28 MovieClip in Symbol 319 MovieClip [gameover] Frame 1
onClipEvent (enterFrame) {
count++;
if (count == 120) {
_parent.returnflg = 1;
_parent.calling = "Press [space] key to return main menu.";
}
}
Symbol 319 MovieClip [gameover] Frame 2
this.removeMovieClip();
returnflg = 0;
Symbol 368 MovieClip Frame 1
stop();
Symbol 370 MovieClip [end2] Frame 1
this._name = "ending";
stop();
class = "";
total = 0;
calling = "";
score = _root.score_window.score;
lock = _global.maxlock;
life = 21 - _root.states.life._currentframe;
route = _global.route;
time = (Math.floor(_global.destime / 60) + " : ") + (_global.destime - (Math.floor(_global.destime / 60) * 60));
bosslock = _global.bosslock;
if (route == 1) {
active = ((_global.bossscore * 0.1) * _global.bosslock) + 1000;
} else if (route == 2) {
active = ((_global.bossscore * 0.1) * _global.bosslock) + 3000;
} else if (route == 3) {
active = ((_global.bossscore * 0.1) * _global.bosslock) + 20000;
}
Instance of Symbol 323 MovieClip in Symbol 370 MovieClip [end2] Frame 1
onClipEvent (load) {
count = 0;
this._alpha = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count >= 90) && (this._alpha <= 24)) {
this._alpha++;
} else if ((count >= 90) && (this._y <= -260)) {
this._y = this._y + 0.5;
}
}
Instance of Symbol 315 MovieClip in Symbol 370 MovieClip [end2] Frame 1
onClipEvent (load) {
_parent.swapDepths(100000030);
_parent._alpha = 0;
name = "p" + _global.des_action;
trace(name);
this._x = _parent[name]._x;
this._y = _parent[name]._y;
}
onClipEvent (enterFrame) {
if (_parent._alpha < 100) {
_parent._alpha = _parent._alpha + 2;
}
}
Instance of Symbol 28 MovieClip "scr" in Symbol 370 MovieClip [end2] Frame 1
onClipEvent (load) {
flg = 0;
count = 0;
nowflg = 0;
so = new Sound(this);
so.attachSound("Uty");
_parent.returnflg = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count == 170) && (flg == 0)) {
total = _parent.score;
flg++;
} else if ((flg == 1) && (count == 30)) {
total = total + (_parent.lock * 1000);
flg++;
} else if ((flg == 2) && (count == 30)) {
total = total + (_parent.life * 1000);
flg++;
} else if ((flg == 3) && (count == 30)) {
total = total + (_parent.route * 30000);
flg++;
} else if ((flg == 4) && (count == 30)) {
total = total + _parent.active;
flg++;
} else if ((flg == 5) && (count == 30)) {
total = total + (_parent.bosslock * 3000);
flg++;
} else if (flg != nowflg) {
count = 0;
so.start(0, 10000);
if (total >= 10000) {
_parent.total = _parent.total + 10000;
total = total - 10000;
}
if (total >= 1000) {
_parent.total = _parent.total + 1000;
total = total - 1000;
}
if (total >= 100) {
_parent.total = _parent.total + 100;
total = total - 100;
}
if (total >= 10) {
_parent.total = _parent.total + 10;
total = total - 10;
}
if (total > 0) {
_parent.total++;
total--;
}
if (total == 0) {
nowflg = flg;
so.stop();
}
} else if ((flg == 6) && (count == 30)) {
so.attachSound("fly");
so.start(0, 1);
if (_parent.total >= 650000) {
_parent.class = "level 1st";
_parent.rank.gotoAndStop(2);
} else if (_parent.total >= 600000) {
_parent.class = "level 2nd";
_parent.rank.gotoAndStop(3);
} else if (_parent.total >= 550000) {
_parent.class = "level 3rd";
_parent.rank.gotoAndStop(4);
} else if (_parent.total >= 500000) {
_parent.class = "level 4th";
_parent.rank.gotoAndStop(5);
} else if (_parent.total >= 460000) {
_parent.class = "level 5th";
_parent.rank.gotoAndStop(6);
} else if (_parent.total >= 420000) {
_parent.class = "level 6th";
_parent.rank.gotoAndStop(7);
} else if (_parent.total >= 380000) {
_parent.class = "level 7th";
_parent.rank.gotoAndStop(8);
} else if (_parent.total >= 360000) {
_parent.class = "level 8th";
_parent.rank.gotoAndStop(9);
} else if (_parent.total >= 340000) {
_parent.class = "level 9th";
_parent.rank.gotoAndStop(10);
} else if (_parent.total >= 320000) {
_parent.class = "level 10th";
_parent.rank.gotoAndStop(11);
} else if (_parent.total >= 300000) {
_parent.class = "level 11th";
_parent.rank.gotoAndStop(12);
} else if (_parent.total >= 280000) {
_parent.class = "level 12th";
_parent.rank.gotoAndStop(13);
} else if (_parent.total >= 260000) {
_parent.class = "level 13th";
_parent.rank.gotoAndStop(14);
} else if (_parent.total >= 240000) {
_parent.class = "level 14th";
_parent.rank.gotoAndStop(15);
} else if (_parent.total >= 220000) {
_parent.class = "level 15th";
_parent.rank.gotoAndStop(16);
} else if (_parent.total >= 200000) {
_parent.class = "level 16th";
_parent.rank.gotoAndStop(17);
} else if (_parent.total >= 180000) {
_parent.class = "level 17th";
_parent.rank.gotoAndStop(18);
} else if (_parent.total >= 160000) {
_parent.class = "level 18th";
_parent.rank.gotoAndStop(19);
} else if (_parent.total >= 140000) {
_parent.class = "level 19th";
_parent.rank.gotoAndStop(20);
} else {
_parent.class = "level 20th";
_parent.rank.gotoAndStop(21);
}
} else if ((flg == 6) && (count == 10)) {
_parent.returnflg = 1;
_parent.calling = "Press [space] key to return main menu.";
}
}
Instance of Symbol 368 MovieClip "rank" in Symbol 370 MovieClip [end2] Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if ((this._alpha < 100) && (this._currentframe != 1)) {
this._alpha = this._alpha + 2;
}
}
Symbol 370 MovieClip [end2] Frame 2
this.removeMovieClip();
returnflg = 0;
Instance of Symbol 28 MovieClip in Symbol 372 MovieClip [end] Frame 1
onClipEvent (load) {
_parent._alpha = 0;
this.swapDepths(1000000);
}
onClipEvent (enterFrame) {
if (_parent._alpha < 100) {
_parent._alpha = _parent._alpha + 2;
}
}
Instance of Symbol 374 MovieClip in Symbol 385 MovieClip [warn] Frame 1
onClipEvent (load) {
flg = 0;
this._yscale = 0;
count = 0;
}
onClipEvent (enterFrame) {
if (flg == 0) {
this._yscale = this._yscale + 5;
if (this._yscale == 100) {
flg++;
}
} else if (flg == 1) {
count++;
if (count >= 150) {
flg++;
}
} else if (flg == 2) {
this._yscale = this._yscale - 5;
if (this._yscale <= 0) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 378 MovieClip in Symbol 385 MovieClip [warn] Frame 1
onClipEvent (enterFrame) {
if (this._alpha > 0) {
this._xscale = this._xscale + 2;
this._yscale = this._yscale + 4;
this._alpha = this._alpha - 4;
} else {
this._xscale = 100;
this._yscale = 100;
this._alpha = 100;
}
}
Instance of Symbol 28 MovieClip in Symbol 385 MovieClip [warn] Frame 1
onClipEvent (load) {
str = "area master is coming here!";
count = 0;
slice_str = 1;
so = new Sound(this);
so.attachSound("alert");
so.start(0, 1);
}
onClipEvent (enterFrame) {
count++;
if (count == 4) {
if (_parent.str != "area master is coming here!") {
_parent.str = str.slice(0, slice_str);
count = 0;
slice_str++;
}
}
}
Instance of Symbol 380 MovieClip in Symbol 385 MovieClip [warn] Frame 1
onClipEvent (load) {
flg = 0;
count = 0;
this._alpha = 0;
}
onClipEvent (enterFrame) {
count++;
this._x = this._x - 2;
this._y = this._y + 1;
if (flg == 0) {
if (this._alpha < 100) {
this._alpha++;
}
} else if (flg == 1) {
if (this._alpha > 0) {
this._alpha--;
}
}
if (count == 100) {
flg = 1;
}
}
Instance of Symbol 382 MovieClip in Symbol 385 MovieClip [warn] Frame 1
onClipEvent (load) {
flg = 0;
count = 0;
this._alpha = 0;
}
onClipEvent (enterFrame) {
count++;
this._x = this._x + 1;
this._y--;
if ((flg == 0) && (count > 40)) {
if (this._alpha < 100) {
this._alpha++;
}
} else if (flg == 1) {
if (this._alpha > 0) {
this._alpha--;
}
}
if (count == 140) {
flg = 1;
}
}
Instance of Symbol 384 MovieClip in Symbol 385 MovieClip [warn] Frame 1
onClipEvent (load) {
flg = 0;
count = 0;
this._alpha = 0;
}
onClipEvent (enterFrame) {
count++;
this._x++;
this._y++;
if ((flg == 0) && (count > 20)) {
if (this._alpha < 100) {
this._alpha++;
}
} else if (flg == 1) {
if (this._alpha > 0) {
this._alpha--;
}
}
if (count == 120) {
flg = 1;
}
}
Instance of Symbol 28 MovieClip in Symbol 387 MovieClip [eff4] Frame 1
onClipEvent (load) {
_parent._xscale = 5;
move = _root.randomizer(-1, 1);
inc = _root.randomizer(2, 4);
incscale = _root.randomizer(1, 5);
}
onClipEvent (enterFrame) {
if (_parent._alpha > 10) {
_parent._alpha = _parent._alpha - (inc / 2);
_parent._xscale = _parent._xscale + incscale;
_parent._x = _parent._x + move;
} else {
_parent.removeMovieClip();
}
}
Instance of Symbol 28 MovieClip in Symbol 389 MovieClip [eff3] Frame 1
onClipEvent (load) {
_parent._rotation = _root.randomizer(-180, 180);
_parent._yscale = 0;
rotate = _root.intrandomizer(-3, 4);
if (rotate == 0) {
rotate = 1;
}
dec = Math.abs(rotate);
}
onClipEvent (enterFrame) {
_parent._rotation = _parent._rotation + (rotate / 10);
if (_parent._alpha > 10) {
_parent._alpha = _parent._alpha - dec;
_parent._yscale = _parent._yscale + dec;
} else {
_parent.removeMovieClip();
}
}
Symbol 393 MovieClip Frame 1
stop();
Symbol 393 MovieClip Frame 2
so = new Sound(this);
so.attachSound("boss");
so.start(0, 1);
Symbol 393 MovieClip Frame 45
_root.attacking(10, _parent._x + point1._x, _parent._y + point1._y);
_root.attacking(10, _parent._x + point2._x, _parent._y + point2._y);
_root.attacking(10, _parent._x + point3._x, _parent._y + point3._y);
so.attachSound("boss2");
so.start(0, 1);
Instance of Symbol 144 MovieClip "point3" in Symbol 393 MovieClip Frame 45
onClipEvent (load) {
this._name = "point3";
}
Instance of Symbol 144 MovieClip "point2" in Symbol 393 MovieClip Frame 45
onClipEvent (load) {
this._name = "point2";
}
Instance of Symbol 144 MovieClip "point1" in Symbol 393 MovieClip Frame 45
onClipEvent (load) {
this._name = "point1";
}
Symbol 393 MovieClip Frame 90
_parent.core.count = 0;
Symbol 403 MovieClip [ene15] Frame 1
stop();
so = new Sound(this);
so.attachSound("fly6");
so.start(0, 1);
_root.attaching("obj6", this._x, this._y);
_root.attaching("obj2", this._x, this._y);
_root.attaching("effect3", 250, this._y);
Instance of Symbol 53 MovieClip "core" in Symbol 403 MovieClip [ene15] Frame 1
onClipEvent (load) {
lock = 0;
life = 16;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
count = 0;
flg = 0;
_parent._yscale = 0;
_parent._alpha = 0;
}
onClipEvent (enterFrame) {
if (flg == 0) {
_parent._yscale = _parent._yscale + 2;
_parent._alpha = _parent._alpha + 2;
if (_parent._alpha >= 100) {
flg = 1;
}
} else if (flg == 1) {
degree++;
degree2 = degree2 + 2.5;
radian = (Math.PI/180) * degree;
radian2 = (Math.PI/180) * degree2;
_parent._x = _parent._x + Math.sin(radian);
_parent._y = _parent._y + (Math.sin(radian2) / 2);
count++;
if (count >= 45) {
_parent.arm.gotoAndPlay(2);
count = -100;
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 403 MovieClip [ene15] Frame 60
stop();
Instance of Symbol 53 MovieClip in Symbol 403 MovieClip [ene15] Frame 60
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
if (count == 1) {
_root.attaching("obj6", _parent._x, _parent._y);
_root.attaching("obj7", _parent._x, _parent._y);
a = 0;
while (a <= 6) {
targetname = "point" + a;
_root.attaching("obj1", _parent._x + _parent[targetname]._x, _parent._y + _parent[targetname]._y);
_root.attaching("obj2", _parent._x + _parent[targetname]._x, _parent._y + _parent[targetname]._y);
a++;
}
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root.pointing(1300, _parent.lockpoint, _parent._x, _parent._y + 60);
_root[_parent.targetname].removeMovieClip();
_global.e_count++;
this.so = new Sound();
so.attachSound("bom2");
so.start(0, 1);
_parent.removeMovieClip();
}
count++;
}
Instance of Symbol 60 MovieClip "p4" in Symbol 403 MovieClip [ene15] Frame 60
onClipEvent (load) {
this._name = "point4";
}
Instance of Symbol 397 MovieClip "p2" in Symbol 403 MovieClip [ene15] Frame 60
onClipEvent (load) {
this._name = "point2";
}
Instance of Symbol 400 MovieClip "p3" in Symbol 403 MovieClip [ene15] Frame 60
onClipEvent (load) {
this._name = "point3";
}
Instance of Symbol 60 MovieClip "p5" in Symbol 403 MovieClip [ene15] Frame 60
onClipEvent (load) {
this._name = "point5";
}
Instance of Symbol 397 MovieClip "p6" in Symbol 403 MovieClip [ene15] Frame 60
onClipEvent (load) {
this._name = "point6";
}
Instance of Symbol 400 MovieClip "point1" in Symbol 403 MovieClip [ene15] Frame 60
onClipEvent (load) {
this._name = "point1";
}
Instance of Symbol 28 MovieClip in Symbol 405 MovieClip [effect3-2] Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
_parent._yscale = _parent._yscale - 2;
_parent._alpha = _parent._alpha - 2;
if (_parent._alpha < 10) {
_parent.removeMovieClip();
}
}
Instance of Symbol 28 MovieClip in Symbol 406 MovieClip [effect3] Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
_parent._yscale = _parent._yscale - 2;
_parent._alpha = _parent._alpha - 2;
if (_parent._alpha < 10) {
_parent.removeMovieClip();
}
}
Symbol 407 MovieClip [ene16] Frame 1
_root.attaching("obj2", this._x, this._y);
_root.attaching("effect3-2", 250, this._y);
so = new Sound(this);
so.attachSound("fly6");
so.start(0, 1);
this._xscale = 60;
stop();
Instance of Symbol 53 MovieClip "core" in Symbol 407 MovieClip [ene16] Frame 1
onClipEvent (load) {
lock = 0;
life = 3;
lockcount = 0;
nowlock = 0;
l_flg = 0;
_parent.targetname = "NULL";
count = 0;
flg = 0;
_parent._yscale = 0;
_parent._alpha = 0;
}
onClipEvent (enterFrame) {
if (flg == 0) {
_parent._yscale = _parent._yscale + 4;
_parent._alpha = _parent._alpha + 4;
if (_parent._yscale >= _parent._xscale) {
flg = 1;
}
} else if (flg == 1) {
if (_parent._alpha < 100) {
_parent._alpha = _parent._alpha + 4;
}
_parent._xscale++;
_parent._yscale++;
degree = degree + 4;
width = width + 0.04;
_parent._rotation = _parent._rotation + (degree / 40);
radian = (Math.PI/180) * degree;
_parent._x = _parent._x - (Math.sin(radian) * width);
_parent._y = _parent._y + (Math.cos(radian) * width);
count++;
if (count >= 30) {
_parent.arm.gotoAndPlay(2);
count = -100;
}
}
if (_root._currentframe == 1) {
_root[_parent.targetname].removeMovieClip();
_parent.removeMovieClip();
}
if (_parent._xscale >= 200) {
if (_parent.targetname != "NULL") {
_root.states.lockcounter = _root.states.lockcounter - _root[_parent.targetname]._currentframe;
_root[_parent.targetname].removeMovieClip();
}
_root.damage();
_global.e_count++;
_parent.removeMovieClip();
}
if (life <= 0) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.rock.core)) {
l_flg = 1;
} else {
l_flg = 0;
}
lockcount++;
if ((((lock <= 7) && (lock < life)) && (lockcount >= 10)) && (l_flg == 1)) {
lock++;
lockcount = 0;
_root.states.lockcounter++;
_parent.lockpoint = _root.states.lockcounter;
if (_parent.targetname == "NULL") {
_root.rockon("obj4", _parent._x, _parent._y);
_parent.targetname = _root[_root.attachObject]._name;
_root[_root.attachObject].link = _parent._name;
_root[_root.attachObject].corelink = this._name;
} else {
_root[_parent.targetname].nextFrame();
}
}
}
Symbol 407 MovieClip [ene16] Frame 2
this.so = new Sound();
so.attachSound("bom");
so.start(0, 1);
Symbol 407 MovieClip [ene16] Frame 20
_root.states.lockcounter = _root.states.lockcounter - _root[targetname]._currentframe;
_root.pointing(150, lockpoint, this._x, this._y);
_root[targetname].removeMovieClip();
_global.e_count++;
this.removeMovieClip();
Symbol 424 MovieClip Frame 1
flag = 2;
text = "medium quality";
_quality = "MEDIUM";
Instance of Symbol 422 MovieClip in Symbol 424 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 50;
}
onClipEvent (enterFrame) {
if (_parent.flag == 3) {
if (this._alpha < 100) {
this._alpha = this._alpha + 4;
}
} else if (this._alpha > 50) {
this._alpha = this._alpha - 4;
}
}
on (press) {
_parent.flag = 3;
_parent.text = "high quality";
_quality = "HIGH";
}
Instance of Symbol 422 MovieClip in Symbol 424 MovieClip Frame 1
onClipEvent (load) {
this._alpha5 = 0;
}
onClipEvent (enterFrame) {
if (_parent.flag == 2) {
if (this._alpha < 100) {
this._alpha = this._alpha + 4;
}
} else if (this._alpha > 50) {
this._alpha = this._alpha - 4;
}
}
on (press) {
_parent.flag = 2;
_parent.text = "medium quality";
_quality = "MEDIUM";
}
Instance of Symbol 422 MovieClip in Symbol 424 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 50;
}
onClipEvent (enterFrame) {
if (_parent.flag == 1) {
if (this._alpha < 100) {
this._alpha = this._alpha + 4;
}
} else if (this._alpha > 50) {
this._alpha = this._alpha - 4;
}
}
on (press) {
_parent.flag = 1;
_parent.text = "low quality";
_quality = "LOW";
}
Instance of Symbol 422 MovieClip in Symbol 424 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 50;
}
onClipEvent (enterFrame) {
if (_parent.flag == 4) {
if (this._alpha < 100) {
this._alpha = this._alpha + 4;
}
} else if (this._alpha > 50) {
this._alpha = this._alpha - 4;
}
}
on (press) {
_parent.flag = 4;
_parent.text = "best quality";
_quality = "BEST";
}
Symbol 430 MovieClip Frame 1
score = 0;
Instance of Symbol 439 MovieClip "life" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 447 MovieClip Frame 1
this._name = "information";
Instance of Symbol 443 MovieClip "map" in Symbol 447 MovieClip Frame 1
onClipEvent (load) {
_global.action = 0;
targetnum = 0;
targetname = "p0";
targetx = 0;
targety = 0;
count = 0;
_parent.fx = this._x;
_parent.fy = this._y;
}
onClipEvent (enterFrame) {
if ((targetnum != _global.action) && (count >= 30)) {
targetnum = _global.action;
targetname = "p" + targetnum;
count = 0;
targetx = (this[targetname]._x + this._x) / 60;
targety = (this[targetname]._y + this._y) / 60;
} else if (count < 60) {
count++;
this._x = this._x - targetx;
this._y = this._y - targety;
} else if (count == 60) {
this._x = -this[targetname]._x;
this._y = -this[targetname]._y;
}
}
Symbol 467 MovieClip Frame 1
stop();
Instance of Symbol 28 MovieClip "master" in Symbol 467 MovieClip Frame 1
onClipEvent (load) {
function snow(attachx, attachy) {
attachcount++;
attachObject = "object" + attachcount;
_parent.attachMovie("obj3", attachObject, attachcount);
_parent[attachObject]._x = attachx;
_parent[attachObject]._y = attachy;
}
function snow2() {
attachcount++;
attachObject = "object" + attachcount;
_parent.attachMovie("obj5", attachObject, attachcount);
_parent[attachObject]._x = attachx;
_parent[attachObject]._y = attachy;
}
function snow3(attachx, attachy) {
attachcount++;
attachObject = "object" + attachcount;
_parent.attachMovie("snow4", attachObject, attachcount);
_parent[attachObject]._x = attachx;
_parent[attachObject]._y = attachy;
}
function snow4(attachx, attachy) {
attachcount++;
attachObject = "object" + attachcount;
_parent.attachMovie("snow3", attachObject, attachcount);
_parent[attachObject]._x = attachx;
_parent[attachObject]._y = attachy;
}
function eff3(attachx, attachy) {
attachcount++;
attachObject = "object" + attachcount;
_parent.attachMovie("eff3", attachObject, attachcount);
_parent[attachObject]._x = attachx;
_parent[attachObject]._y = attachy;
}
function eff4(attachx, attachy) {
attachcount++;
attachObject = "object" + attachcount;
_parent.attachMovie("eff4", attachObject, attachcount);
_parent[attachObject]._x = attachx;
_parent[attachObject]._y = attachy;
}
_parent.gotoAndPlay(120);
_global.ground = 0;
}
onClipEvent (enterFrame) {
count++;
if (count == 4) {
if ((_parent._currentframe == 1) || ((_parent._currentframe >= 170) && (_parent._currentframe <= 240))) {
count = 0;
snow(_root.randomizer(-355, 355), -360);
} else if (((_parent._currentframe >= 40) && (_parent._currentframe <= 130)) && (_global.ground != 4)) {
count = 0;
snow2();
} else if ((_parent._currentframe == 241) || ((_parent._currentframe >= 500) && (_parent._currentframe < 541))) {
count = 0;
snow3(_root.randomizer(-355, 355), -360);
} else if (((_parent._currentframe >= 280) && (_parent._currentframe <= 420)) || ((_parent._currentframe > 600) && (_parent._currentframe <= 660))) {
count = 0;
snow4();
}
}
if (count >= 15) {
if ((_parent._currentframe >= 700) && (_parent._currentframe <= 721)) {
count = 0;
eff3(0, 0);
}
if ((_parent._currentframe >= 830) && (_parent._currentframe <= 841)) {
count = 0;
eff4(_root.randomizer(-300, 300), -300);
} else {
count = 0;
}
}
}
onClipEvent (enterFrame) {
if (_global.ground <= 5) {
if ((_global.ground == 1) && (_parent._currentframe == 120)) {
_parent.gotoAndPlay(121);
} else if ((_global.ground == 1) && (_parent._currentframe == 180)) {
_parent._rotation = 60;
} else if ((_global.ground == 2) && (_parent._rotation > 0)) {
if (_parent._rotation > 29) {
rotate = rotate + 0.1;
_parent._rotation = _parent._rotation - rotate;
} else {
rotate = rotate - 0.1;
_parent._rotation = _parent._rotation - rotate;
}
} else if ((_global.ground == 2) && (_parent._rotation != 0)) {
_parent._rotation = 0;
} else if ((_global.ground == 3) && (_parent._currentframe == 1)) {
_parent.gotoAndPlay(2);
} else if (_global.ground == 5) {
if (_parent._currentframe == 120) {
_parent.gotoAndPlay(121);
} else if (_parent._currentframe == 841) {
_parent.gotoAndPlay(842);
} else {
_parent._rotation = _parent._rotation + 0.2;
}
}
} else if (_global.ground == 6) {
if ((_parent._currentframe == 1) || (_parent._currentframe == 120)) {
_parent.gotoAndPlay(_parent._currentframe + 1);
} else if ((_parent._currentframe == 60) || (_parent._currentframe == 180)) {
_parent.gotoAndPlay(300);
}
} else if ((_global.ground == 7) || (_global.ground == 8)) {
if (_parent._currentframe == 420) {
_parent.gotoAndPlay(_parent._currentframe + 1);
rotate = 0;
}
} else if (_global.ground == 9) {
if (_parent._rotation >= -30) {
rotate = rotate + 0.1;
_parent._rotation = _parent._rotation - rotate;
} else if ((_parent._rotation > -60) && (rotate > 0.1)) {
rotate = rotate - 0.1;
_parent._rotation = _parent._rotation - rotate;
} else if (_parent._rotation < -60) {
_parent._rotation = -60;
rotate = 0;
}
} else if (_global.ground == 10) {
if (_parent._rotation <= 45) {
rotate = rotate + 0.1;
_parent._rotation = _parent._rotation + rotate;
} else if ((_parent._rotation < 150) && (rotate > 0.1)) {
rotate = rotate - 0.1;
_parent._rotation = _parent._rotation + rotate;
} else if (_parent._rotation > 150) {
_parent._rotation = 150;
rotate = 0;
}
} else if (_global.ground == 11) {
if (_parent._currentframe == 241) {
_parent.gotoAndPlay(541);
} else if ((_parent._currentframe >= 541) || (_parent._currentframe == 420)) {
_parent._rotation++;
}
} else if (_global.ground == 12) {
if (_parent._currentframe == 1) {
_parent.gotoAndPlay(2);
}
}
}
Symbol 467 MovieClip Frame 61
this._rotation = 0;
if (_global.ground == 12) {
this.gotoAndPlay(781);
}
Symbol 467 MovieClip Frame 120
stop();
Symbol 467 MovieClip Frame 180
if (_global.ground == 5) {
this._rotation = 20;
}
Symbol 467 MovieClip Frame 240
gotoAndStop (1);
Symbol 467 MovieClip Frame 241
stop();
Symbol 467 MovieClip Frame 301
this._rotation = 0;
Symbol 467 MovieClip Frame 420
stop();
Symbol 467 MovieClip Frame 480
if (_global.ground == 7) {
this._rotation = -30;
} else if (_global.ground == 8) {
this._rotation = 0;
}
Symbol 467 MovieClip Frame 540
gotoAndStop (241);
Symbol 467 MovieClip Frame 660
this.gotoAndStop(420);
Symbol 467 MovieClip Frame 721
stop();
Symbol 467 MovieClip Frame 781
this._rotation = 90;
Symbol 467 MovieClip Frame 841
stop();
Symbol 467 MovieClip Frame 900
if (_global.ground == 5) {
this.gotoAndPlay(181);
}