Frame 2
if (_framesloaded >= _totalframes) {
gotoAndPlay (5);
}
Frame 3
if (_framesloaded >= _totalframes) {
gotoAndPlay (5);
}
var ld = Math.round((_framesloaded / _totalframes) * 100);
_root.loadbar.bar._x = ld * 2.5;
Frame 4
gotoAndPlay (3);
Frame 5
function interval() {
frame = frameCo;
frameCo = 0;
}
ALLCLEARflg = false;
setInterval(function () {
interval();
}, 1000);
Frame 24
function gameEnd() {
var _local1 = _root;
var _local3 = _local1.empMC.nanohaMC.nanoha_poseMC;
var _local2 = _local1.empMC.feitMC;
if ((_local1.Cutin_N._currentframe != _local1.Cutin_N._totalframes) && (_local1.Cutin_N._currentframe > 80)) {
_local1.empMC.nanohaMC.swapDepths(2);
_local3._xscale = _local3._xscale - 1;
_local3._yscale = _local3._yscale - 1;
_local3._rotation = _local3._rotation + 5;
} else if (_local1.Cutin_N._currentframe == _local1.Cutin_N._totalframes) {
bflg = true;
delete _local1.empMC.nanohaMC.onEnterFrame;
_local1.empMC.nanohaMC.removeMovieClip();
}
if ((_local1.Cutin_F._currentframe != _local1.Cutin_F._totalframes) && (_local1.Cutin_F._currentframe > 80)) {
_local2.swapDepths(1);
_local2._xscale = _local2._xscale - 1;
_local2._yscale = _local2._yscale - 1;
_local2._rotation = _local2._rotation + 5;
} else if (_local1.Cutin_F._currentframe == _local1.Cutin_F._totalframes) {
bflg = true;
delete _local1.empMC.feitMC.onEnterFrame;
_local1.empMC.feitMC.removeMovieClip();
}
}
function Mcheck() {
var _local3 = _root;
var _local2 = _local3.LifegaugeN_MC.BlinkingMC1;
if (_local2._currentframe == _local2._totalframes) {
_local3.LifegaugeN_MC.nextFrame();
}
var _local1 = _local3.LifegaugeF_MC.BlinkingMC1;
if (_local1._currentframe == _local1._totalframes) {
_local3.LifegaugeF_MC.nextFrame();
}
}
function DAMcheck2() {
var _local3 = _root;
if (stopflg) {
} else {
var ta = _local3.empMC.feitMC.feitEffctMC;
var ta1 = _local3.empMC.feitMC;
if (((!ta._visible) && (ta._currentframe == 1)) && (!ta1.DEFflg)) {
ta._visible = true;
ta.play();
if (_local3.LifegaugeF_MC._currentframe == 4) {
_local3.LifegaugeF_MC.gotoAndStop(1);
_local3.empMC.feitMC._y = 140 + (Fdamege * 12);
Fdamege++;
stopflg = true;
_local3.Cutin_F.statsMC.nextFrame();
_local3.Cutin_F.play();
} else {
var _local1 = 1;
while (_local1 <= 3) {
var _local2 = "BlinkingMC" + _local1;
if (_local3.LifegaugeF_MC[_local2]._currentframe == 1) {
_local3.LifegaugeF_MC[_local2].play();
}
_local1++;
}
}
}
}
}
function DAMcheck() {
var _local3 = _root;
if (stopflg) {
} else {
var ta = _local3.empMC.nanohaMC.nanoha_poseMC.nanohaEffctMC;
var ta1 = _local3.empMC.nanohaMC;
if (((!ta._visible) && (ta._currentframe == 1)) && (!ta1.DEFflg)) {
ta._visible = true;
ta.play();
if (_local3.LifegaugeN_MC._currentframe == 4) {
_local3.LifegaugeN_MC.gotoAndStop(1);
Ndamege++;
stopflg = true;
_local3.Cutin_N.statsMC.nextFrame();
_local3.Cutin_N.play();
} else {
var _local1 = 1;
while (_local1 <= 3) {
var _local2 = "BlinkingMC" + _local1;
if (_local3.LifegaugeN_MC[_local2]._currentframe == 1) {
_local3.LifegaugeN_MC[_local2].play();
}
_local1++;
}
}
}
}
}
function ZAKO(p) {
var _local3 = _root;
if (stopflg) {
} else {
var _local1 = Math.floor(Math.random() * Zdata1[p]);
if ((_local1 >= 0) && (_local1 <= Zdata2[p])) {
enemyCo++;
var _local2 = ("zakoA" + _local1) + enemyCo;
if (!_local3.empMC[_local2]._visible) {
_local3.empMC.attachMovie("zakoA" + _local1, _local2, 200001 + _local1);
_local3.empMC[_local2]._x = 0;
_local3.empMC[_local2]._y = 0;
}
if (enemyCo >= 2) {
enemyCo = 0;
}
}
}
}
function EventCheck() {
var _local1 = _root;
if (Tcount == bf1) {
mode = 2;
Tcount++;
Tflg = false;
obj = new Object();
obj.Fco = 100;
obj.Xval = 1;
obj.ten = 2000;
_local1.empMC.attachMovie("CbossMC", "CbossMC", 10, obj);
_local1.empMC.CbossMC._x = 250;
_local1.empMC.CbossMC._y = 200;
} else if (Tcount == bf2) {
mode = 2;
Tcount++;
Tflg = false;
obj = new Object();
obj.Fco = 65;
obj.Xval = 2;
obj.ten = 5000;
_local1.empMC.attachMovie("CbossMC", "CbossMC", 10, obj);
_local1.empMC.CbossMC._x = 250;
_local1.empMC.CbossMC._y = 200;
} else if (Tcount == bf3) {
mode = 3;
Tcount++;
Tflg = false;
music1MC.gotoAndStop(1);
_local1.empMC.attachMovie("feitMC", "feitMC", 10);
_local1.empMC.feitMC._x = 250;
_local1.empMC.feitMC._y = 140;
}
}
function AllReset() {
var _local2 = _root;
delete _local2.empMC.nanohaMC.onEnterFrame;
_local2.empMC.nanohaMC.removeMovieClip();
delete _local2.empMC.feitMC.onEnterFrame;
_local2.empMC.feitMC.removeMovieClip();
delete _local2.empMC.CbossMC.onEnterFrame;
_local2.empMC.CbossMC.removeMovieClip();
var _local3 = 0;
while (_local3 <= 5) {
var _local1 = 0;
while (_local1 <= 5) {
var Ins = (("zakoA" + _local1) + _local3);
delete _local2.empMC[Ins].onEnterFrame;
_local2.empMC[Ins].removeMovieClip();
_local1++;
}
_local3++;
}
_local3 = 0;
while (_local3 <= 5) {
var Ins = ("beamA" + _local3);
delete _local2.empMC[Ins].onEnterFrame;
_local2.empMC[Ins].removeMovieClip();
_local3++;
}
_local3 = 0;
while (_local3 <= 2) {
var Ins = ("beamC" + _local3);
delete _local2.empMC[Ins].onEnterFrame;
_local2.empMC[Ins].removeMovieClip();
_local3++;
}
}
function mySound() {
myMsc1 = new Sound(_root.music1MC);
myMsc1.attachSound("NANOHA_MAKEUP.mp3");
myMsc1.setVolume(30);
}
function Keywait() {
if (_root.sound05._currentframe == 1) {
_root.sound05.play();
return(true);
}
return(false);
}
function Omake() {
var _local1 = _root.omake_MC;
if ((Key.isDown(49) && (_local1.F0._visible)) && (Keywait())) {
_local1.F0._visible = false;
} else if ((Key.isDown(49) && (!_local1.F0._visible)) && (Keywait())) {
_local1.F0._visible = true;
}
if ((Key.isDown(50) && (_local1.F1._visible)) && (Keywait())) {
_local1.F1._visible = false;
} else if ((Key.isDown(50) && (!_local1.F1._visible)) && (Keywait())) {
_local1.F1._visible = true;
}
if ((Key.isDown(51) && (_local1.F2._visible)) && (Keywait())) {
_local1.F2._visible = false;
} else if ((Key.isDown(51) && (!_local1.F2._visible)) && (Keywait())) {
_local1.F2._visible = true;
}
if ((Key.isDown(52) && (_local1.F3._visible)) && (Keywait())) {
_local1.F3._visible = false;
} else if ((Key.isDown(52) && (!_local1.F3._visible)) && (Keywait())) {
_local1.F3._visible = true;
}
if ((Key.isDown(53) && (_local1.F4._visible)) && (Keywait())) {
_local1.F4._visible = false;
} else if ((Key.isDown(53) && (!_local1.F4._visible)) && (Keywait())) {
_local1.F4._visible = true;
}
if ((Key.isDown(54) && (_local1.F5._visible)) && (Keywait())) {
_local1.F5._visible = false;
} else if ((Key.isDown(54) && (!_local1.F5._visible)) && (Keywait())) {
_local1.F5._visible = true;
}
if ((Key.isDown(55) && (_local1.F6._visible)) && (Keywait())) {
_local1.F6._visible = false;
} else if ((Key.isDown(55) && (!_local1.F6._visible)) && (Keywait())) {
_local1.F6._visible = true;
}
if ((Key.isDown(56) && (_local1.F7._visible)) && (Keywait())) {
_local1.F7._visible = false;
} else if ((Key.isDown(56) && (!_local1.F7._visible)) && (Keywait())) {
_local1.F7._visible = true;
}
if ((Key.isDown(81) && (_local1.N0._visible)) && (Keywait())) {
_local1.N0._visible = false;
} else if ((Key.isDown(81) && (!_local1.N0._visible)) && (Keywait())) {
_local1.N0._visible = true;
}
if ((Key.isDown(87) && (_local1.N1._visible)) && (Keywait())) {
_local1.N1._visible = false;
} else if ((Key.isDown(87) && (!_local1.N1._visible)) && (Keywait())) {
_local1.N1._visible = true;
}
if ((Key.isDown(69) && (_local1.N2._visible)) && (Keywait())) {
_local1.N2._visible = false;
} else if ((Key.isDown(69) && (!_local1.N2._visible)) && (Keywait())) {
_local1.N2._visible = true;
}
if ((Key.isDown(82) && (_local1.N3._visible)) && (Keywait())) {
_local1.N3._visible = false;
} else if ((Key.isDown(82) && (!_local1.N3._visible)) && (Keywait())) {
_local1.N3._visible = true;
}
if ((Key.isDown(84) && (_local1.N4._visible)) && (Keywait())) {
_local1.N4._visible = false;
} else if ((Key.isDown(84) && (!_local1.N4._visible)) && (Keywait())) {
_local1.N4._visible = true;
}
if ((Key.isDown(89) && (_local1.N5._visible)) && (Keywait())) {
_local1.N5._visible = false;
} else if ((Key.isDown(89) && (!_local1.N5._visible)) && (Keywait())) {
_local1.N5._visible = true;
}
if ((Key.isDown(85) && (_local1.N6._visible)) && (Keywait())) {
_local1.N6._visible = false;
} else if ((Key.isDown(85) && (!_local1.N6._visible)) && (Keywait())) {
_local1.N6._visible = true;
}
if (Key.isDown(37) && (Keywait())) {
_local1.O_feit_face.prevFrame();
} else if (Key.isDown(39) && (Keywait())) {
_local1.O_feit_face.nextFrame();
} else if (Key.isDown(38) && (Keywait())) {
_local1.O_nanoha_face.prevFrame();
} else if (Key.isDown(40) && (Keywait())) {
_local1.O_nanoha_face.nextFrame();
}
}
function DDD1() {
var b1 = stopflg;
var b2 = _root.Cutin_N._currentframe;
var _local1 = _root.empMC.nanohaMC.nanoha_poseMC.nanohaEffctMC;
var _local2 = _root.empMC.nanohaMC;
var b3 = _local2.DEFflg;
var b4 = _local1._visible;
var _local3 = _local1._currentframe;
D1 = ((((((((("A:" + b1) + "\nB:") + b2) + "\nC:") + b3) + "\nD:") + b4) + "\nE:") + _local3) + newline;
}
stopflg = false;
mode = 0;
enemyCo = 0;
Tflg = true;
Tcount = 0;
Sco = 0;
Nx = 0;
Ny = 0;
Ndamege = 1;
Fdamege = 1;
bf1 = 1000;
bf2 = 2200;
bf3 = 3500;
Trigger = new Array();
trigger[bf1] = true;
trigger[bf2] = true;
trigger[bf3] = true;
Zdata1 = new Array(150, 250);
Zdata2 = new Array(3, 5);
mySound();
Frame 25
this.stop();
bflg = false;
_root.onEnterFrame = function () {
var _local1 = _root;
Sco = Math.round(Sco);
var Mframe = _local1._currentframe;
switch (Mframe) {
case 25 :
if ((Key.isDown(32) || (Key.isDown(78))) || (Key.isDown(84))) {
if (Key.isDown(78)) {
NHflg = true;
Bsc = 1;
} else if (Key.isDown(32)) {
NHflg = false;
Bsc = 1.3;
} else if (Key.isDown(84)) {
NHflg = false;
Bsc = 1.3;
bf3 = 1;
trigger[bf3] = true;
}
_local1.empMC.attachMovie("nanohaMC", "nanohaMC", 200000);
_local1.empMC.nanohaMC._x = 243;
_local1.empMC.nanohaMC._y = 307;
_local1.gotoAndStop(30);
} else if (Key.isDown(72) && (ALLCLEARflg)) {
_local1.gotoAndStop(40);
}
break;
case 30 :
if (Tflg) {
Tcount++;
}
if (trigger[Tcount]) {
EventCheck();
}
Mcheck();
switch (mode) {
case 0 :
ZAKO(mode);
break;
case 1 :
ZAKO(mode);
break;
case 2 :
if (!_local1.empMC.CbossMC._visible) {
Tflg = true;
mode = 1;
}
break;
case 3 :
if (stopflg) {
} else {
var tgF = _local1.empMC.feitMC;
var tgN = _local1.empMC.nanohaMC.nanoha_poseMC.hitAreaNMC;
switch (tgF._currentframe) {
case 6 :
if (tgF.feit_move2MC.feit_cane1MC.hitTest(tgN)) {
_local1.sound02.play();
_local1.DAMcheck();
}
break;
case 8 :
var _local3 = 0;
for(;;){
if (_local3 > 7) {
break;
}
var Ins = ("beamBMC" + _local3);
if (tgF.feit_move4MC[Ins].hitTest(tgN)) {
_local1.DAMcheck();
}
_local3++;
};
}
if (!(_local1.empMC.beamC0._visible || (_local1.empMC.beamC1._visible))) {
break;
}
var tgNC = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move5MC.N_Circle_MC;
_local3 = 0;
for(;;){
if (_local3 > 1) {
break;
}
var _local2 = "beamC" + _local3;
if (_local1.empMC[_local2].hitTest(tgNC)) {
_local1.empMC[_local2].Hitflg = true;
} else if (_local1.empMC[_local2].hitTest(tgN)) {
_local1.empMC[_local2].Hitflg = true;
_local1.DAMcheck();
}
_local3++;
};
}
}
break;
case 35 :
var cf1 = _local1.Cutin_N;
var cf2 = _local1.Cutin_F;
if (Key.isDown(32) && ((cf1._currentframe == cf1._totalframes) || (cf2._currentframe == cf2._totalframes))) {
AllReset();
_local1.gotoAndPlay("start");
}
if (!bflg) {
gameEnd();
}
break;
case 40 :
if (Key.isDown(32)) {
_local1.gotoAndPlay(25);
}
Omake();
}
if (Key.isDown(65)) {
_local1._quality = "LOW";
}
if (Key.isDown(83)) {
_local1._quality = "MEDIUM";
}
if (Key.isDown(68)) {
_local1._quality = "HIGH";
}
DDD1();
frameCo++;
};
Frame 30
_root.LifegaugeF_MC._visible = false;
Symbol 5 MovieClip [beamA] Frame 1
this.stop();
Hitflg = false;
this.onEnterFrame = function () {
var _local1 = this;
if (_root.stopflg) {
} else {
if (Hitflg) {
_local1.play();
} else {
_local1._y = _local1._y - 20;
}
if (_local1._y < -10) {
_local1.gotoAndStop(9);
}
}
};
Symbol 5 MovieClip [beamA] Frame 9
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 22 MovieClip Frame 1
this.stop();
Symbol 24 MovieClip Frame 1
this.stop();
Symbol 31 MovieClip Frame 1
this.stop();
_parent.nanohaEffctMC._visible = false;
Symbol 37 MovieClip Frame 1
Symbol 37 MovieClip Frame 15
_parent._parent.ATKtype = 0;
_parent.gotoAndStop(2);
Symbol 39 MovieClip Frame 4
var p = {x:_parent._x, y:_parent._y};
_parent._parent.localToGlobal(p);
var no = _parent._parent.Ino;
var Ins = ("beamA" + no);
_root.empMC.attachMovie("beamA", Ins, no + 220000);
_root.empMC[Ins]._x = p.x - 10;
_root.empMC[Ins]._y = p.y - 90;
_parent._parent.Ino++;
if (no >= 2) {
_parent._parent.Ino = 0;
}
Symbol 39 MovieClip Frame 6
_parent._parent.ATKtype = 0;
_parent.gotoAndStop(2);
Symbol 42 MovieClip Frame 1
_root.myMsc1.setVolume(0);
Symbol 42 MovieClip Frame 93
this._y = this._y + 10;
Symbol 42 MovieClip Frame 96
this._y = this._y - 10;
Symbol 42 MovieClip Frame 99
this._y = this._y + 10;
Symbol 42 MovieClip Frame 102
this._y = this._y - 10;
Symbol 42 MovieClip Frame 105
this._y = this._y + 10;
Symbol 42 MovieClip Frame 108
this._y = this._y - 10;
Symbol 42 MovieClip Frame 111
this._y = this._y + 10;
Symbol 42 MovieClip Frame 114
this._y = this._y - 10;
Symbol 42 MovieClip Frame 117
this._y = this._y + 10;
Symbol 42 MovieClip Frame 120
this._y = this._y - 10;
Symbol 42 MovieClip Frame 123
this._y = this._y + 10;
Symbol 42 MovieClip Frame 126
this._y = this._y - 10;
Symbol 42 MovieClip Frame 129
this._y = this._y + 10;
Symbol 42 MovieClip Frame 132
this._y = this._y - 10;
Symbol 42 MovieClip Frame 135
this._y = this._y + 10;
Symbol 42 MovieClip Frame 138
this._y = this._y - 10;
Symbol 42 MovieClip Frame 141
this._y = this._y + 10;
Symbol 42 MovieClip Frame 144
this._y = this._y - 10;
Symbol 42 MovieClip Frame 147
this._y = this._y + 10;
Symbol 42 MovieClip Frame 150
this._y = this._y - 10;
Symbol 42 MovieClip Frame 153
this._y = this._y + 10;
Symbol 42 MovieClip Frame 156
this._y = this._y - 10;
Symbol 42 MovieClip Frame 159
this._y = this._y + 10;
Symbol 42 MovieClip Frame 162
this._y = this._y - 10;
Symbol 42 MovieClip Frame 173
_parent._parent.ATKtype = 0;
_root.myMsc1.setVolume(30);
_parent.gotoAndStop(2);
Symbol 50 MovieClip Frame 7
_parent._parent.DEFflg = true;
Symbol 50 MovieClip Frame 36
_parent._parent.DEFflg = false;
_parent._parent.ATKtype = 0;
_parent.gotoAndStop(2);
Symbol 53 MovieClip Frame 5
_parent._parent.DEFflg = true;
Symbol 53 MovieClip Frame 36
_parent._parent.DEFflg = false;
Symbol 53 MovieClip Frame 40
_parent._parent.ATKtype = 0;
_parent.gotoAndStop(2);
Symbol 57 MovieClip Frame 1
_root.myMsc1.setVolume(0);
Symbol 57 MovieClip Frame 172
_parent._parent.WhiteMC._visible = true;
Symbol 57 MovieClip Frame 175
this._y = this._y + 10;
Symbol 57 MovieClip Frame 176
_parent._parent.WhiteMC._visible = false;
Symbol 57 MovieClip Frame 178
this._y = this._y - 10;
Symbol 57 MovieClip Frame 181
this._y = this._y + 10;
Symbol 57 MovieClip Frame 184
this._y = this._y - 10;
Symbol 57 MovieClip Frame 187
this._y = this._y + 10;
Symbol 57 MovieClip Frame 190
this._y = this._y - 10;
Symbol 57 MovieClip Frame 193
this._y = this._y + 10;
Symbol 57 MovieClip Frame 196
this._y = this._y - 10;
Symbol 57 MovieClip Frame 199
this._y = this._y + 10;
Symbol 57 MovieClip Frame 202
this._y = this._y - 10;
Symbol 57 MovieClip Frame 205
this._y = this._y + 10;
_parent._parent.WhiteMC._visible = true;
Symbol 57 MovieClip Frame 207
_parent._parent.WhiteMC._visible = false;
Symbol 57 MovieClip Frame 208
this._y = this._y - 10;
Symbol 57 MovieClip Frame 211
this._y = this._y + 10;
Symbol 57 MovieClip Frame 214
this._y = this._y - 10;
Symbol 57 MovieClip Frame 217
this._y = this._y + 10;
Symbol 57 MovieClip Frame 220
this._y = this._y - 10;
Symbol 57 MovieClip Frame 223
this._y = this._y + 10;
Symbol 57 MovieClip Frame 226
this._y = this._y - 10;
Symbol 57 MovieClip Frame 229
this._y = this._y + 10;
Symbol 57 MovieClip Frame 232
this._y = this._y - 10;
Symbol 57 MovieClip Frame 233
_parent._parent.WhiteMC._visible = true;
Symbol 57 MovieClip Frame 234
_parent._parent.WhiteMC._visible = false;
Symbol 57 MovieClip Frame 235
this._y = this._y + 10;
Symbol 57 MovieClip Frame 238
this._y = this._y - 10;
Symbol 57 MovieClip Frame 241
this._y = this._y + 10;
Symbol 57 MovieClip Frame 244
this._y = this._y - 10;
Symbol 57 MovieClip Frame 247
this._y = this._y + 10;
Symbol 57 MovieClip Frame 250
this._y = this._y - 10;
Symbol 57 MovieClip Frame 253
this._y = this._y + 10;
Symbol 57 MovieClip Frame 256
this._y = this._y - 10;
Symbol 57 MovieClip Frame 259
this._y = this._y + 10;
Symbol 57 MovieClip Frame 262
this._y = this._y - 10;
Symbol 57 MovieClip Frame 265
this._y = this._y + 10;
Symbol 57 MovieClip Frame 268
this._y = this._y - 10;
Symbol 57 MovieClip Frame 271
this._y = this._y + 10;
Symbol 57 MovieClip Frame 274
this._y = this._y - 10;
_parent._parent.WhiteMC._visible = true;
Symbol 57 MovieClip Frame 276
_parent._parent.WhiteMC._visible = false;
Symbol 57 MovieClip Frame 277
this._y = this._y + 10;
Symbol 57 MovieClip Frame 280
this._y = this._y - 10;
Symbol 57 MovieClip Frame 283
this._y = this._y + 10;
Symbol 57 MovieClip Frame 286
this._y = this._y - 10;
Symbol 57 MovieClip Frame 289
this._y = this._y + 10;
Symbol 57 MovieClip Frame 292
this._y = this._y - 10;
Symbol 57 MovieClip Frame 295
this._y = this._y + 10;
Symbol 57 MovieClip Frame 298
this._y = this._y - 10;
Symbol 57 MovieClip Frame 301
this._y = this._y + 10;
Symbol 57 MovieClip Frame 304
this._y = this._y - 10;
Symbol 57 MovieClip Frame 307
this._y = this._y + 10;
Symbol 57 MovieClip Frame 310
this._y = this._y - 10;
Symbol 57 MovieClip Frame 313
this._y = this._y + 10;
Symbol 57 MovieClip Frame 316
this._y = this._y - 10;
Symbol 57 MovieClip Frame 319
this._y = this._y + 10;
Symbol 57 MovieClip Frame 322
this._y = this._y - 10;
Symbol 57 MovieClip Frame 325
this._y = this._y + 10;
Symbol 57 MovieClip Frame 328
this._y = this._y - 10;
Symbol 57 MovieClip Frame 331
this._y = this._y + 10;
Symbol 57 MovieClip Frame 334
this._y = this._y - 10;
Symbol 57 MovieClip Frame 337
this._y = this._y + 10;
Symbol 57 MovieClip Frame 339
_parent._parent.WhiteMC._visible = true;
Symbol 57 MovieClip Frame 340
this._y = this._y - 10;
Symbol 57 MovieClip Frame 341
_parent._parent.WhiteMC._visible = false;
Symbol 57 MovieClip Frame 343
this._y = this._y + 10;
Symbol 57 MovieClip Frame 346
this._y = this._y - 10;
Symbol 57 MovieClip Frame 349
this._y = this._y + 10;
Symbol 57 MovieClip Frame 352
this._y = this._y - 10;
Symbol 57 MovieClip Frame 355
this._y = this._y + 10;
Symbol 57 MovieClip Frame 358
this._y = this._y - 10;
Symbol 57 MovieClip Frame 394
_parent._parent.ATKtype = 0;
_root.myMsc1.setVolume(30);
_parent.gotoAndStop(2);
Symbol 58 MovieClip Frame 1
Symbol 58 MovieClip Frame 2
this.stop();
this.nanohaEffctMC._visible = false;
if (!_root.NHflg) {
this.nanoha_move1MC.nanoha_cane1MC._visible = true;
this.nanoha_move1MC.nanoha_cane2MC._visible = false;
} else {
this.nanoha_move1MC.nanoha_cane1MC._visible = false;
this.nanoha_move1MC.nanoha_cane2MC._visible = true;
}
Symbol 59 MovieClip [nanohaMC] Frame 2
this.stop();
bf = false;
_root.stopflg = true;
_root.Cutin_N.play();
this.WhiteMC._visible = false;
this.onEnterFrame = function () {
var _local1 = _root;
if ((!_local1.stopflg) && (!bf)) {
this.play();
_local1.sound01.play();
_local1.myMsc1.start(0, 9999);
_local1.myMsc1.setVolume(30);
bf = true;
trace("music start!");
}
};
Symbol 59 MovieClip [nanohaMC] Frame 4
ATKtype = 0;
Ino = 0;
BASco = 0;
DEFflg = false;
Symbol 59 MovieClip [nanohaMC] Frame 5
this.onEnterFrame = function () {
var _local1 = this;
var _local3 = _root;
var frame = _local1._currentframe;
if (Key.isDown(37) && (frame != 5)) {
_local1.prevFrame();
}
if (Key.isDown(39)) {
_local1.nextFrame();
}
if (Key.isDown(38) && (_local1._y > 110)) {
_local1._y = _local1._y - 10;
}
if (Key.isDown(40) && (_local1._y < 307)) {
_local1._y = _local1._y + 10;
}
if (_local3.stopflg) {
} else {
if ((ATKtype == 0) && ((Key.isDown(90) || (Key.isDown(67))) || (Key.isDown(88)))) {
if (Key.isDown(67)) {
ATKtype = 1;
_local1.nanoha_poseMC.gotoAndStop(3);
}
if (Key.isDown(88)) {
BASco++;
if (!_local3.NHflg) {
_local1.nanoha_poseMC.nanoha_move1MC.nanoha_cane1MC.gotoAndStop(BASco);
} else {
_local1.nanoha_poseMC.nanoha_move1MC.nanoha_cane2MC.gotoAndStop(BASco);
}
}
if (Key.isDown(90)) {
ATKtype = 4;
if (_local3.mode == 3) {
_local1.nanoha_poseMC.gotoAndStop(6);
} else {
_local1.nanoha_poseMC.gotoAndStop(7);
}
}
}
if ((!Key.isDown(88)) && (BASco != 0)) {
var bb = BASco;
BASco = 0;
if (bb < 70) {
ATKtype = 2;
_local1.nanoha_poseMC.gotoAndStop(4);
} else {
ATKtype = 3;
if (!_local3.NHflg) {
_local1.nanoha_poseMC.gotoAndStop(5);
} else {
_local1.nanoha_poseMC.gotoAndStop(8);
}
}
}
var _local2 = {x:_local1.nanoha_poseMC._x, y:_local1.nanoha_poseMC._y};
_local1.localToGlobal(_local2);
_local3.Nx = _local2.x;
_local3.Ny = _local2.y;
var val = ((Math.round(_local2.y) * 500) + Math.round(_local2.x));
_local1.swapDepths(val);
}
};
Symbol 59 MovieClip [nanohaMC] Frame 18
this.stop();
Symbol 80 MovieClip Frame 40
this.stop();
Symbol 81 MovieClip Frame 1
this.stop();
Symbol 81 MovieClip Frame 10
_parent.Damflg = false;
_parent.Damage++;
Symbol 81 MovieClip Frame 20
_parent.Damflg = false;
_parent.Damage++;
Symbol 81 MovieClip Frame 22
if (_root.sound04._currentframe == 1) {
_root.sound04.play();
}
Symbol 81 MovieClip Frame 30
_parent.Damflg = false;
_parent.Damage++;
Symbol 81 MovieClip Frame 32
if (_root.sound04._currentframe == 1) {
_root.sound04.play();
}
Symbol 81 MovieClip Frame 40
_parent.Damflg = false;
_parent.Damage++;
Symbol 81 MovieClip Frame 51
_parent.STflg = true;
Symbol 81 MovieClip Frame 85
this.stop();
_parent.Endflg = true;
Symbol 81 MovieClip Frame 96
_parent.STflg = true;
Symbol 81 MovieClip Frame 131
this.stop();
_parent.Endflg = true;
Symbol 82 MovieClip [zakoA0] Frame 1
Damflg = false;
Damage = 1;
Endflg = false;
STflg = false;
Symbol 82 MovieClip [zakoA0] Frame 2
this.stop();
this.onEnterFrame = function () {
var _local1 = _root;
var _local3 = this;
if (_local1.stopflg) {
} else {
if (!STflg) {
_local3.nextFrame();
}
var p = {x:_local3.zakoAmoveMC._x, y:_local3.zakoAmoveMC._y};
_local3.localToGlobal(p);
var val = ((Math.round(p.y) * 500) + Math.round(p.x));
if (val > 0) {
_local3.swapDepths(val);
}
var bf0 = _local1.empMC.nanohaMC.nanoha_poseMC.hitAreaNMC;
if (_local3.zakoAmoveMC.hitAreaZMC.hitTest(bf0)) {
_local1.DAMcheck();
_local1.Sco = _local1.Sco + 2;
}
if (!Damflg) {
if (_local1.Nx < p.x) {
var bf = "L";
} else {
var bf = "R";
}
_local3.zakoAmoveMC.gotoAndStop(bf + Damage);
var _local2 = 0;
while (_local2 <= 2) {
var Ins = ("beamA" + _local2);
if (_local3.zakoAmoveMC.hitAreaZMC.hitTest(_local1.empMC[Ins])) {
_local1.empMC[Ins].Hitflg = true;
Damflg = true;
_local3.zakoAmoveMC.play();
_local1.Sco = _local1.Sco + (10 * _local1.Bsc);
}
_local2++;
}
var bf2 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move2MC.nanoha_caneMC.hitAreaMC;
if (_local3.zakoAmoveMC.hitAreaZMC.hitTest(bf2)) {
Damflg = true;
_local3.zakoAmoveMC.play();
_local1.sound02.play();
_local1.Sco = _local1.Sco + (12 * _local1.Bsc);
}
var bf3 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move4MC.BASTERbeamMC;
var bf4 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move7MC.BASTERbeamMC;
var bf5 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move7MC.BreakerbeamMC;
if ((_local3.zakoAmoveMC.hitTest(bf3) || (_local3.zakoAmoveMC.hitTest(bf4))) || (_local3.zakoAmoveMC.hitTest(bf5))) {
Damflg = true;
_local3.zakoAmoveMC.play();
_local1.sound03.play();
_local1.Sco = _local1.Sco + (13 * _local1.Bsc);
}
} else {
_local3.zakoAmoveMC.play();
}
if (Endflg) {
delete _local3.onEnterFrame;
_local3.removeMovieClip();
}
}
};
Symbol 82 MovieClip [zakoA0] Frame 150
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 83 MovieClip [zakoA1] Frame 1
Damflg = false;
Damage = 1;
Endflg = false;
STflg = false;
Symbol 83 MovieClip [zakoA1] Frame 2
this.stop();
this.onEnterFrame = function () {
var _local1 = _root;
var _local3 = this;
if (_local1.stopflg) {
} else {
if (!STflg) {
_local3.nextFrame();
}
var p = {x:_local3.zakoAmoveMC._x, y:_local3.zakoAmoveMC._y};
_local3.localToGlobal(p);
var val = ((Math.round(p.y) * 500) + Math.round(p.x));
if (val > 0) {
_local3.swapDepths(val);
}
var bf0 = _local1.empMC.nanohaMC.nanoha_poseMC.hitAreaNMC;
if (_local3.zakoAmoveMC.hitAreaZMC.hitTest(bf0)) {
_local1.DAMcheck();
_local1.Sco = _local1.Sco + 2;
}
if (!Damflg) {
if (_local1.Nx < p.x) {
var bf = "L";
} else {
var bf = "R";
}
_local3.zakoAmoveMC.gotoAndStop(bf + Damage);
var _local2 = 0;
while (_local2 <= 2) {
var Ins = ("beamA" + _local2);
if (_local3.zakoAmoveMC.hitAreaZMC.hitTest(_local1.empMC[Ins])) {
_local1.empMC[Ins].Hitflg = true;
Damflg = true;
_local3.zakoAmoveMC.play();
_local1.Sco = _local1.Sco + (10 * _local1.Bsc);
}
_local2++;
}
var bf2 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move2MC.nanoha_caneMC.hitAreaMC;
if (_local3.zakoAmoveMC.hitAreaZMC.hitTest(bf2)) {
Damflg = true;
_local3.zakoAmoveMC.play();
_local1.sound02.play();
_local1.Sco = _local1.Sco + (12 * _local1.Bsc);
}
var bf3 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move4MC.BASTERbeamMC;
var bf4 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move7MC.BASTERbeamMC;
var bf5 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move7MC.BreakerbeamMC;
if ((_local3.zakoAmoveMC.hitTest(bf3) || (_local3.zakoAmoveMC.hitTest(bf4))) || (_local3.zakoAmoveMC.hitTest(bf5))) {
Damflg = true;
_local3.zakoAmoveMC.play();
_local1.sound03.play();
_local1.Sco = _local1.Sco + (13 * _local1.Bsc);
}
} else {
_local3.zakoAmoveMC.play();
}
if (Endflg) {
delete _local3.onEnterFrame;
_local3.removeMovieClip();
}
}
};
Symbol 83 MovieClip [zakoA1] Frame 160
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 84 MovieClip [zakoA4] Frame 1
Damflg = false;
Damage = 1;
Endflg = false;
STflg = false;
Symbol 84 MovieClip [zakoA4] Frame 2
this.stop();
this.onEnterFrame = function () {
var _local1 = _root;
var _local3 = this;
if (_local1.stopflg) {
} else {
if (!STflg) {
_local3.nextFrame();
}
var p = {x:_local3.zakoAmoveMC._x, y:_local3.zakoAmoveMC._y};
_local3.localToGlobal(p);
var val = ((Math.round(p.y) * 500) + Math.round(p.x));
if (val > 0) {
_local3.swapDepths(val);
}
var bf0 = _local1.empMC.nanohaMC.nanoha_poseMC.hitAreaNMC;
if (_local3.zakoAmoveMC.hitAreaZMC.hitTest(bf0)) {
_local1.DAMcheck();
_local1.Sco = _local1.Sco + 2;
}
if (!Damflg) {
if (_local1.Nx < p.x) {
var bf = "L";
} else {
var bf = "R";
}
_local3.zakoAmoveMC.gotoAndStop(bf + Damage);
var _local2 = 0;
while (_local2 <= 2) {
var Ins = ("beamA" + _local2);
if (_local3.zakoAmoveMC.hitAreaZMC.hitTest(_local1.empMC[Ins])) {
_local1.empMC[Ins].Hitflg = true;
Damflg = true;
_local3.zakoAmoveMC.play();
_local1.Sco = _local1.Sco + (10 * _local1.Bsc);
}
_local2++;
}
var bf2 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move2MC.nanoha_caneMC.hitAreaMC;
if (_local3.zakoAmoveMC.hitAreaZMC.hitTest(bf2)) {
Damflg = true;
_local3.zakoAmoveMC.play();
_local1.sound02.play();
_local1.Sco = _local1.Sco + (12 * _local1.Bsc);
}
var bf3 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move4MC.BASTERbeamMC;
var bf4 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move7MC.BASTERbeamMC;
var bf5 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move7MC.BreakerbeamMC;
if ((_local3.zakoAmoveMC.hitTest(bf3) || (_local3.zakoAmoveMC.hitTest(bf4))) || (_local3.zakoAmoveMC.hitTest(bf5))) {
Damflg = true;
_local3.zakoAmoveMC.play();
_local1.sound03.play();
_local1.Sco = _local1.Sco + (13 * _local1.Bsc);
}
} else {
_local3.zakoAmoveMC.play();
}
if (Endflg) {
delete _local3.onEnterFrame;
_local3.removeMovieClip();
}
}
};
Symbol 84 MovieClip [zakoA4] Frame 150
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 85 MovieClip [zakoA3] Frame 1
Damflg = false;
Damage = 1;
Endflg = false;
STflg = false;
Symbol 85 MovieClip [zakoA3] Frame 2
this.stop();
this.onEnterFrame = function () {
var _local1 = _root;
var _local3 = this;
if (_local1.stopflg) {
} else {
if (!STflg) {
_local3.nextFrame();
}
var p = {x:_local3.zakoAmoveMC._x, y:_local3.zakoAmoveMC._y};
_local3.localToGlobal(p);
var val = ((Math.round(p.y) * 500) + Math.round(p.x));
if (val > 0) {
_local3.swapDepths(val);
}
var bf0 = _local1.empMC.nanohaMC.nanoha_poseMC.hitAreaNMC;
if (_local3.zakoAmoveMC.hitAreaZMC.hitTest(bf0)) {
_local1.DAMcheck();
_local1.Sco = _local1.Sco + 4;
}
if (!Damflg) {
if (_local1.Nx < p.x) {
var bf = "L";
} else {
var bf = "R";
}
_local3.zakoAmoveMC.gotoAndStop(bf + Damage);
var _local2 = 0;
while (_local2 <= 2) {
var Ins = ("beamA" + _local2);
if (_local3.zakoAmoveMC.hitAreaZMC.hitTest(_local1.empMC[Ins])) {
_local1.empMC[Ins].Hitflg = true;
Damflg = true;
_local3.zakoAmoveMC.play();
_local1.Sco = _local1.Sco + (20 * _local1.Bsc);
}
_local2++;
}
var bf2 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move2MC.nanoha_caneMC.hitAreaMC;
if (_local3.zakoAmoveMC.hitAreaZMC.hitTest(bf2)) {
Damflg = true;
_local3.zakoAmoveMC.play();
_local1.sound02.play();
_local1.Sco = _local1.Sco + (24 * _local1.Bsc);
}
var bf3 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move4MC.BASTERbeamMC;
var bf4 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move7MC.BASTERbeamMC;
var bf5 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move7MC.BreakerbeamMC;
if ((_local3.zakoAmoveMC.hitTest(bf3) || (_local3.zakoAmoveMC.hitTest(bf4))) || (_local3.zakoAmoveMC.hitTest(bf5))) {
Damflg = true;
_local3.zakoAmoveMC.play();
_local1.sound03.play();
_local1.Sco = _local1.Sco + (26 * _local1.Bsc);
}
} else {
_local3.zakoAmoveMC.play();
}
if (Endflg) {
delete _local3.onEnterFrame;
_local3.removeMovieClip();
}
}
};
Symbol 85 MovieClip [zakoA3] Frame 120
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 86 MovieClip [zakoA2] Frame 1
Damflg = false;
Damage = 1;
Endflg = false;
STflg = false;
Symbol 86 MovieClip [zakoA2] Frame 2
this.stop();
this.onEnterFrame = function () {
var _local1 = _root;
var _local3 = this;
if (_local1.stopflg) {
} else {
if (!STflg) {
_local3.nextFrame();
}
var p = {x:_local3.zakoAmoveMC._x, y:_local3.zakoAmoveMC._y};
_local3.localToGlobal(p);
var val = ((Math.round(p.y) * 500) + Math.round(p.x));
if (val > 0) {
_local3.swapDepths(val);
}
var bf0 = _local1.empMC.nanohaMC.nanoha_poseMC.hitAreaNMC;
if (_local3.zakoAmoveMC.hitAreaZMC.hitTest(bf0)) {
_local1.DAMcheck();
_local1.Sco = _local1.Sco + 4;
}
if (!Damflg) {
if (_local1.Nx < p.x) {
var bf = "L";
} else {
var bf = "R";
}
_local3.zakoAmoveMC.gotoAndStop(bf + Damage);
var _local2 = 0;
while (_local2 <= 2) {
var Ins = ("beamA" + _local2);
if (_local3.zakoAmoveMC.hitAreaZMC.hitTest(_local1.empMC[Ins])) {
_local1.empMC[Ins].Hitflg = true;
Damflg = true;
_local3.zakoAmoveMC.play();
_local1.Sco = _local1.Sco + (20 * _local1.Bsc);
}
_local2++;
}
var bf2 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move2MC.nanoha_caneMC.hitAreaMC;
if (_local3.zakoAmoveMC.hitAreaZMC.hitTest(bf2)) {
Damflg = true;
_local3.zakoAmoveMC.play();
_local1.sound02.play();
_local1.Sco = _local1.Sco + (24 * _local1.Bsc);
}
var bf3 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move4MC.BASTERbeamMC;
var bf4 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move7MC.BASTERbeamMC;
var bf5 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move7MC.BreakerbeamMC;
if ((_local3.zakoAmoveMC.hitTest(bf3) || (_local3.zakoAmoveMC.hitTest(bf4))) || (_local3.zakoAmoveMC.hitTest(bf5))) {
Damflg = true;
_local3.zakoAmoveMC.play();
_local1.sound03.play();
_local1.Sco = _local1.Sco + (26 * _local1.Bsc);
}
} else {
_local3.zakoAmoveMC.play();
}
if (Endflg) {
delete _local3.onEnterFrame;
_local3.removeMovieClip();
}
}
};
Symbol 86 MovieClip [zakoA2] Frame 120
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 87 MovieClip [zakoA5] Frame 1
Damflg = false;
Damage = 1;
Endflg = false;
STflg = false;
Symbol 87 MovieClip [zakoA5] Frame 2
this.stop();
this.onEnterFrame = function () {
var _local1 = _root;
var _local3 = this;
if (_local1.stopflg) {
} else {
if (!STflg) {
_local3.nextFrame();
}
var p = {x:_local3.zakoAmoveMC._x, y:_local3.zakoAmoveMC._y};
_local3.localToGlobal(p);
var val = ((Math.round(p.y) * 500) + Math.round(p.x));
if (val > 0) {
_local3.swapDepths(val);
}
var bf0 = _local1.empMC.nanohaMC.nanoha_poseMC.hitAreaNMC;
if (_local3.zakoAmoveMC.hitAreaZMC.hitTest(bf0)) {
_local1.DAMcheck();
_local1.Sco = _local1.Sco + 2;
}
if (!Damflg) {
if (_local1.Nx < p.x) {
var bf = "L";
} else {
var bf = "R";
}
_local3.zakoAmoveMC.gotoAndStop(bf + Damage);
var _local2 = 0;
while (_local2 <= 2) {
var Ins = ("beamA" + _local2);
if (_local3.zakoAmoveMC.hitAreaZMC.hitTest(_local1.empMC[Ins])) {
_local1.empMC[Ins].Hitflg = true;
Damflg = true;
_local3.zakoAmoveMC.play();
_local1.Sco = _local1.Sco + (10 * _local1.Bsc);
}
_local2++;
}
var bf2 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move2MC.nanoha_caneMC.hitAreaMC;
if (_local3.zakoAmoveMC.hitAreaZMC.hitTest(bf2)) {
Damflg = true;
_local3.zakoAmoveMC.play();
_local1.sound02.play();
_local1.Sco = _local1.Sco + (12 * _local1.Bsc);
}
var bf3 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move4MC.BASTERbeamMC;
var bf4 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move7MC.BASTERbeamMC;
var bf5 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move7MC.BreakerbeamMC;
if ((_local3.zakoAmoveMC.hitTest(bf3) || (_local3.zakoAmoveMC.hitTest(bf4))) || (_local3.zakoAmoveMC.hitTest(bf5))) {
Damflg = true;
_local3.zakoAmoveMC.play();
_local1.sound03.play();
_local1.Sco = _local1.Sco + (13 * _local1.Bsc);
}
} else {
_local3.zakoAmoveMC.play();
}
if (Endflg) {
delete _local3.onEnterFrame;
_local3.removeMovieClip();
}
}
};
Symbol 87 MovieClip [zakoA5] Frame 150
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 95 MovieClip Frame 1
_root.myMsc1.setVolume(0);
Symbol 95 MovieClip Frame 115
_root.myMsc1.setVolume(30);
Symbol 96 MovieClip Frame 1
this.stop();
Symbol 100 MovieClip Frame 1
this.stop();
Symbol 101 MovieClip Frame 1
this.stop();
Symbol 104 MovieClip [CbossMC] Frame 1
beamflg = false;
Bco = 0;
Symbol 104 MovieClip [CbossMC] Frame 2
this.stop();
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if (_local2.stopflg && (_local1._currentframe != 2)) {
} else {
var cf = _local1._currentframe;
switch (cf) {
case 1 :
return;
case 2 :
var cfS = _local1.CbossStartMC._currentframe;
if (cfS >= 115) {
_local1.gotoAndStop(5);
}
return;
case 5 :
if (ten > 0) {
ten = ten - Xval;
}
if (_local2.Nx > _local1._x) {
_local1._x = _local1._x + Xval;
} else {
_local1._x = _local1._x - Xval;
}
if (_local1.CbossBeamMC._currentframe == 1) {
Bco++;
}
if (Bco > Fco) {
Bco = 0;
_local1.CbossBeamMC.play();
}
var bf0 = _local2.empMC.nanohaMC.nanoha_poseMC.hitAreaNMC;
if (_local1.hitAreaBMC.hitTest(bf0) || (_local1.CbossBeamMC.hitTest(bf0))) {
_local2.DAMcheck();
_local2.Sco = _local2.Sco + 8;
}
var _local3 = 0;
while (_local3 <= 2) {
var Ins = ("beamA" + _local3);
if (_local1.hitAreaBMC.hitTest(_local2.empMC[Ins])) {
_local2.empMC[Ins].Hitflg = true;
_local1.bom1_MC.play();
_local1.CbossStatsMC.nextFrame();
_local2.Sco = _local2.Sco + (50 * _local2.Bsc);
}
_local3++;
}
var bf2 = _local2.empMC.nanohaMC.nanoha_poseMC.nanoha_move2MC.nanoha_caneMC.hitAreaMC;
if (_local1.hitAreaBMC.hitTest(bf2)) {
_local1.bom1_MC.play();
_local2.sound02.play();
_local1.CbossStatsMC.nextFrame();
_local2.Sco = _local2.Sco + (60 * _local2.Bsc);
}
var bf3 = _local2.empMC.nanohaMC.nanoha_poseMC.nanoha_move4MC.BASTERbeamMC;
var bf4 = _local2.empMC.nanohaMC.nanoha_poseMC.nanoha_move7MC.BASTERbeamMC;
var bf5 = _local2.empMC.nanohaMC.nanoha_poseMC.nanoha_move7MC.BreakerbeamMC;
if ((_local1.hitAreaBMC.hitTest(bf3) || (_local1.hitAreaBMC.hitTest(bf4))) || (_local1.hitAreaBMC.hitTest(bf5))) {
_local1.bom1_MC.play();
_local2.sound03.play();
_local1.CbossStatsMC.nextFrame();
_local2.Sco = _local2.Sco + (70 * _local2.Bsc);
}
if (_local1.CbossStatsMC._currentframe == _local1.CbossStatsMC._totalframes) {
_local1.play();
}
return;
default :
_local1._y = _local1._y + 5;
_local1.nextFrame();
}
}
};
Symbol 104 MovieClip [CbossMC] Frame 106
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 108 MovieClip Frame 1
this.stop();
_parent.feitEffctMC._visible = false;
Symbol 140 MovieClip Frame 16
var Obj = Object();
Obj.val = (_root.Nx - _parent._x) / 6;
var no = _parent.Ino;
var Ins = ("beamC" + no);
_root.empMC.attachMovie("beamC", Ins, no + 230000, Obj);
_root.empMC[Ins]._x = _parent._x + 10;
_root.empMC[Ins]._y = _parent._y + 50;
_parent.Ino++;
if (no >= 2) {
_parent.Ino = 0;
}
Symbol 145 MovieClip Frame 1
_root.myMsc1.setVolume(0);
Symbol 145 MovieClip Frame 295
_root.myMsc1.setVolume(30);
Symbol 147 MovieClip Frame 10
_parent.DEFflg = true;
Symbol 147 MovieClip Frame 40
_parent.DEFflg = false;
Symbol 148 MovieClip [feitMC] Frame 1
function BoostOn(x) {
if (x > 250) {
this._x = this._x - 10;
} else {
this._x = this._x + 10;
}
}
function vsBeamMoveCheck(no) {
var _local2 = this;
var tgB = _root.empMC;
if (((!tgB.beamA0._visible) && (!tgB.beamA1._visible)) && (!tgB.beamA2._visible)) {
} else {
switch (no) {
case 0 :
if (VBflg) {
return;
}
VBflg = true;
var _local1 = 0;
while (_local1 <= 2) {
var _local3 = "beamA" + _local1;
if (_local2.hitArea_vsB.hitTest(tgB[_local3])) {
if (_local2._x > 350) {
Xval = -20;
Bfco = 0;
} else if (_local2._x < 150) {
Xval = 20;
Bfco = 0;
} else {
r = Math.floor(Math.random() * 2);
if (r == 0) {
Xval = -20;
} else {
Xval = 20;
}
Bfco = 0;
}
}
_local1++;
}
return;
case 1 :
if (Bfco < 4) {
Bfco++;
_local2._x = _local2._x + Xval;
} else {
VBflg = false;
}
}
}
}
function feitMove(h) {
var _local1 = this;
var _local2 = _root;
switch (h) {
case 0 :
if (_local2.Nx > _local1._x) {
_local1._x = _local1._x + 10;
} else {
_local1._x = _local1._x - 10;
}
return;
case 1 :
if ((_local2.Nx > _local1._x) && (_local1._x > 10)) {
_local1._x = _local1._x - 15;
} else if ((_local2.Nx < _local1._x) && (_local1._x < 490)) {
_local1._x = _local1._x + 15;
}
if ((_local1._x < 30) || (_local1._x > 470)) {
BSTflg = true;
Bco = 0;
}
return;
case 2 :
}
}
function vsBasterCheck(t) {
var _local1 = _root;
var _local2 = this;
var tg1 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move4MC.BASTERbeamMC;
var tg2 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move7MC.BASTERbeamMC;
var _local3 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move7MC.BreakerbeamMC;
switch (t) {
case 0 :
if ((_local2.hitAreaFMC.hitTest(tg1) || (_local2.hitAreaFMC.hitTest(tg2))) || (_local2.hitAreaFMC.hitTest(_local3))) {
_local2.bom1_MC.play();
_local1.sound03.play();
_local1.DAMcheck2();
_local1.Sco = _local1.Sco + (140 * _local1.Bsc);
}
return;
case 1 :
if ((_local2.hitAreaFMC.hitTest(tg1) || (_local2.hitAreaFMC.hitTest(tg2))) || (_local2.hitAreaFMC.hitTest(_local3))) {
_local1.sound03.play();
}
return;
case 2 :
if (!((_local2.hitAreaFMC.hitTest(tg1) || (_local2.hitAreaFMC.hitTest(tg2))) || (_local2.hitAreaFMC.hitTest(_local3)))) {
break;
}
_local2.bom1_MC.play();
_local1.sound03.play();
_local1.DAMcheck2();
_local1.Sco = _local1.Sco + (140 * _local1.Bsc);
}
}
function vsConeCheck(t) {
var _local1 = _root;
var _local3 = this;
var _local2 = _local1.empMC.nanohaMC.nanoha_poseMC.nanoha_move2MC.nanoha_caneMC.hitAreaMC;
switch (t) {
case 0 :
if (_local3.hitAreaFMC.hitTest(_local2)) {
_local3.bom1_MC.play();
_local1.sound02.play();
_local1.DAMcheck2();
_local1.Sco = _local1.Sco + (120 * _local1.Bsc);
}
return;
case 1 :
if (_local3.hitAreaFMC.hitTest(_local2)) {
_local1.sound03.play();
}
return;
case 2 :
if (!_local3.hitAreaFMC.hitTest(_local2)) {
break;
}
_local3.bom1_MC.play();
_local1.sound02.play();
_local1.DAMcheck2();
_local1.Sco = _local1.Sco + (120 * _local1.Bsc);
}
}
function vsBeamCheck(t) {
var _local2 = _root.empMC;
var _local3 = 0;
while (_local3 <= 2) {
var _local1 = "beamA" + _local3;
switch (t) {
case 0 :
if (this.hitAreaFMC.hitTest(_local2[_local1])) {
_root.tgB[_local1].Hitflg = true;
this.bom1_MC.play();
_root.DAMcheck2();
_root.Sco = _root.Sco + (100 * _root.Bsc);
_local2[_local1].Hitflg = true;
}
break;
case 1 :
if (this.hitAreaFMC.hitTest(_local2[_local1])) {
_local2[_local1].Hitflg = true;
}
break;
case 2 :
if (!this.feit_move4MC.hitTest(_local2[_local1])) {
break;
}
_local2[_local1].Hitflg = true;
}
_local3++;
}
}
Ino = 0;
DEFflg = false;
BSTflg = false;
VBflg = false;
Xval = 0;
Bfco = 0;
Hoflg = 0;
this.feitEffctMC._visible = false;
_root.LifegaugeF_MC._visible = true;
Symbol 148 MovieClip [feitMC] Frame 2
this.stop();
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if (_local2.stopflg && (_local1._currentframe == 5)) {
} else {
var val = Math.round((_local1._y * 500) + _local1._x);
if (val > 0) {
_local1.swapDepths(val);
}
var cf = _local1._currentframe;
switch (cf) {
case 1 :
return;
case 2 :
var cfS = _local1.feitStartMC._currentframe;
if (cfS >= 130) {
_local1.gotoAndStop(5);
}
return;
case 5 :
vsBeamCheck(0);
vsConeCheck(0);
vsBasterCheck(0);
var r1 = Math.floor(Math.random() * 100);
var cfN = _local2.empMC.nanohaMC.nanoha_poseMC._currentframe;
var bf1 = (_local2.Ny - _local1._y);
var _local3 = _local2.Nx - _local1._x;
if (BSTflg) {
var r2 = Math.floor(Math.random() * 10);
if (r2 > 3) {
_local1.gotoAndStop(9);
} else {
_local1.gotoAndStop(7);
}
} else if (bf1 < 48) {
_local3 = _local2.Nx - _local1._x;
if ((_local3 > -110) && (_local3 < 110)) {
Hoflg = 2;
_local1.gotoAndStop(8);
} else {
Hoflg = 0;
_local1.gotoAndStop(6);
}
} else if (((bf1 < 120) && (_local3 > -80)) && (_local3 < 80)) {
Hoflg = 0;
_local1.gotoAndStop(6);
} else if ((cfN == 5) || (cfN == 8)) {
Hoflg = 1;
var r3 = Math.floor(Math.random() * 2);
if ((r3 == 0) && (!_local2.NHflg)) {
_local1.gotoAndStop(7);
} else {
_local1.gotoAndStop(9);
}
} else if ((r1 >= 0) && (r1 <= 5)) {
Hoflg = 1;
_local1.gotoAndStop(7);
} else if (((r1 == 7) && (_local1._x > 150)) && (_local1._x < 350)) {
Hoflg = 2;
_local1.gotoAndStop(8);
} else {
vsBeamMoveCheck(0);
vsBeamMoveCheck(1);
}
return;
case 6 :
var cf1 = _local1.feit_move2MC._currentframe;
var cf2 = _local1.feit_move2MC._totalframes;
if (cf1 == cf2) {
_local1.gotoAndStop(5);
}
vsBeamCheck(0);
vsConeCheck(0);
vsBasterCheck(0);
feitMove(Hoflg);
return;
case 7 :
var cf1 = _local1.feit_move3MC._currentframe;
var cf2 = _local1.feit_move3MC._totalframes;
if (cf1 == cf2) {
BSTflg = false;
_local1.gotoAndStop(5);
}
vsBeamCheck(0);
vsConeCheck(0);
vsBasterCheck(0);
if (!BSTflg) {
var r4 = Math.floor(Math.random() * 2);
if ((r4 == 0) && (!_local2.NHflg)) {
feitMove(Hoflg);
} else {
vsBeamMoveCheck(0);
vsBeamMoveCheck(1);
}
} else {
BoostOn(_local1._x);
}
return;
case 8 :
var cf1 = _local1.feit_move4MC._currentframe;
var cf2 = _local1.feit_move4MC._totalframes;
if (cf1 == cf2) {
_local1.gotoAndStop(5);
}
vsBeamCheck(2);
vsConeCheck(2);
vsBasterCheck(2);
feitMove(Hoflg);
return;
case 9 :
var cf1 = _local1.feit_move5MC._currentframe;
var cf2 = _local1.feit_move5MC._totalframes;
if (cf1 == cf2) {
BSTflg = false;
_local1.gotoAndStop(5);
}
vsBeamCheck(1);
vsConeCheck(1);
vsBasterCheck(1);
if (!BSTflg) {
feitMove(Hoflg);
} else {
BoostOn(_local1._x);
}
}
}
};
Symbol 149 MovieClip [beamC] Frame 1
this.stop();
Hitflg = false;
this.onEnterFrame = function () {
var _local1 = this;
if (_root.stopflg) {
} else {
if (Hitflg) {
_local1.play();
} else {
_local1._y = _local1._y + 20;
_local1._x = _local1._x + val;
_local1._width = _local1._width + 2;
_local1._height = _local1._height + 2;
}
if (_local1._y > 410) {
_local1.gotoAndStop(9);
}
}
};
Symbol 149 MovieClip [beamC] Frame 9
delete this.onEnterFrame;
this.removeMovieClip();
Symbol 152 MovieClip Frame 1
this.stop();
Symbol 157 MovieClip Frame 1
this.stop();
Symbol 160 MovieClip Frame 1
this.stop();
Symbol 163 MovieClip Frame 1
this.stop();
Symbol 166 MovieClip Frame 1
this.stop();
Symbol 203 MovieClip Frame 1
this.stop();
Symbol 232 MovieClip Frame 1
this.stop();
Symbol 248 MovieClip Frame 1
this.stop();
Symbol 249 MovieClip Frame 1
this.stop();
Symbol 257 MovieClip Frame 1
this.stop();
Symbol 257 MovieClip Frame 2
_root.myMsc1.setVolume(0);
Symbol 257 MovieClip Frame 80
_root.myMsc1.setVolume(30);
_root.stopflg = false;
if (_root.Ndamege < 8) {
this.gotoAndStop(1);
}
Symbol 257 MovieClip Frame 81
_root.stopflg = true;
stopAllSounds();
_root.gotoAndStop(35);
Symbol 257 MovieClip Frame 170
this.stop();
Symbol 260 MovieClip Frame 1
this.stop();
Symbol 261 MovieClip Frame 1
this.stop();
Symbol 270 MovieClip Frame 1
this.stop();
Symbol 270 MovieClip Frame 2
_root.myMsc1.setVolume(0);
Symbol 270 MovieClip Frame 80
_root.myMsc1.setVolume(30);
_root.stopflg = false;
if (_root.Fdamege < 10) {
this.gotoAndStop(1);
}
Symbol 270 MovieClip Frame 81
_root.stopflg = true;
_root.ALLCLEARflg = true;
_root.gotoAndStop(35);
Symbol 270 MovieClip Frame 156
stopAllSounds();
Symbol 270 MovieClip Frame 399
this.stop();
_root.ALLCLEARflg = true;
Symbol 287 MovieClip Frame 1
this.stop();
Symbol 295 MovieClip Frame 1
this.stop();