Frame 1
this.play();
Frame 2
this.stop();
Frame 5
this.gotoAndStop(_currentframe - 2);
Frame 6
this.gotoAndStop(_currentframe - 3);
Frame 10
this.gotoAndStop(_currentframe + 3);
Frame 12
function SoundStop() {
trace("\u30B5\u30A6\u30F3\u30C9\u5168\u505C\u6B62");
theSound.stop();
}
function ChangeVol(vol) {
var _local1 = vol;
if (_local1 == "g") {
return(theSound.getVolume());
}
so.data.volume = _local1;
theSound.setVolume(_local1);
return(undefined);
}
function AllRemove() {
var _local2 = _root;
trace("\n_root\u30A2\u30A4\u30C6\u30E0\u5168\u6D88\u53BB\u5B9F\u884C\n");
_local2.SoundStop();
var _local1;
_local1 = 0;
while (_local1 < 1000) {
_local2.attachMovie("removeItem", "removeItem", _local1);
_local1++;
}
_local2.onEnterFrame = null;
}
_global.cgiAd = "http://cgi35.plala.or.jp/nextfram/ss2/ssTimeAttack101.cgi";
so = SharedObject.getLocal("myCas");
if (so.data.effectLv != null) {
trace("\u30ED\u30FC\u30AB\u30EB\u304B\u3089\u3001\u30A8\u30D5\u30A7\u30AF\u30C8L\uFF56\u3092\u30ED\u30FC\u30C9\u3057\u307E\u3057\u305F");
_global.effectLv = so.data.effectLv;
} else {
_global.effectLv = 1;
}
if (so.data.quality != null) {
trace("\u30ED\u30FC\u30AB\u30EB\u304B\u3089\u3001\u753B\u8CEA\u3092\u30ED\u30FC\u30C9\u3057\u307E\u3057\u305F");
_quality = so.data.quality;
} else if (_quality == "HIGH") {
_quality = "MEDIUM";
}
if (so.data.keyCas != null) {
trace("\u30ED\u30FC\u30AB\u30EB\u304B\u3089\u3001\u30AD\u30FC\u8A2D\u5B9A\u3092\u30ED\u30FC\u30C9\u3057\u307E\u3057\u305F");
_global.keyCas = new Array();
i = 0;
while (i < so.data.keyCas.length) {
trace("\u30ED\u30FC\u30AB\u30EB\u304B\u3089\u30C7\u30FC\u30BF\u53D6\u5F97");
_global.keyCas[i] = so.data.keyCas[i];
i++;
}
} else {
_global.keyCas = new Array();
_global.keyCas = [0, 32, 83, 68, 69, 90, 65, 67, 70, 0, 0, 49, 50, 51];
}
theSound = new Sound();
if (so.data.volume != null) {
trace("\u30ED\u30FC\u30AB\u30EB\u304B\u3089\u3001\u30DC\u30EA\u30E5\u30FC\u30E0\u8A2D\u5B9A\u3092\u30ED\u30FC\u30C9\u3057\u307E\u3057\u305F");
theSound.setVolume(so.data.volume);
} else {
theSound.setVolume(70);
}
_global.nextStage = null;
_global.shotDmg = null;
_global.braidDmg = null;
_global.extDmg = null;
_global.parDmg = null;
_global.keyDef = new Array();
_global.keyDef = [0, 32, 83, 68, 69, 90, 65, 67, 0, 0, 0, 49, 50, 51];
charData1 = new Array();
charData1 = ["laphis_prototype", "\u30E9\u30D4\u30B9\u30FB\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7", "\u30E9\u30D4\u30B9\u30D5\u30EC\u30FC\u30E0\u306E\u5148\u884C\u91CF\u7523\u578B\u3002\n\u904B\u52D5\u6027\u3001\u706B\u529B\u3001\u88C5\u7532\u306E\u5168\u3066\u3092\u6E80\u305F\u3059\u5F37\u529B\u306A\u6A5F\u4F53\u3067\u3001\u3042\u3089\u3086\u308B\u8DDD\u96E2\u3067\u6226\u95D8\u3092\u884C\u3046\u4E8B\u304C\u53EF\u80FD\u306A\u4E07\u80FD\u6A5F\u3002\u307E\u305F\u5909\u5F62\u6A5F\u69CB\u3092\u6301\u3061\u9AD8\u901F\u79FB\u52D5\u304C\u53EF\u80FD\u3002", 3, 4, 5, 6, 3800, 0, 45, 230, 160, 30, 8.5, 5.5, 2, 0.1, 0.05, 0.8, 0.01, 350, 1.5, 0, 0, 0, 300, 1000, 1500, 1500, 1000, 0, 1000, 250, 0, 200, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1];
charData2 = new Array();
charData2 = ["laphis", "\u30E9\u30D4\u30B9", "\u30E9\u30D4\u30B9\u30D5\u30EC\u30FC\u30E0\u306E\u91CF\u7523\u578B\u3067\u3001\u6226\u95D8\u6027\u80FD\u7684\u306B\u306F\u5B8C\u5168\u306B\u30D0\u30E9\u30F3\u30B9\u306E\u53D6\u308C\u305F\u4E07\u80FD\u6A5F\u3002\n\u5909\u5F62\u6A5F\u69CB\u3092\u6301\u3061\u9AD8\u901F\u79FB\u52D5\u304C\u53EF\u80FD\u3060\u304C\u3001\u91CF\u7523\u306B\u3042\u305F\u308A\u5909\u5F62\u6642\u306E\u653B\u6483\u529B\u304C\u5F37\u5316\u3055\u308C\u3066\u3044\u308B\u3002", 3, 4, 5, 6, 4000, 0, 55, 200, 150, 30, 10, 5.5, 2, 0.1, 0.05, 0.8, 0.01, 300, 1.5, 0, 0, 0, 300, 1000, 1500, 1500, 1000, 0, 1000, 250, 0, 200, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1];
charData3 = new Array();
charData3 = ["laphis_prototype", "\u30EC\u30C3\u30C9\u30D9\u30EA\u30EB", "\u5927\u578B\u8266\u306E\u6483\u7834\u3084\u3001\u706B\u529B\u652F\u63F4\u3092\u76EE\u7684\u306B\u958B\u767A\u3055\u308C\u305F\u91CD\u706B\u529B\u30D5\u30EC\u30FC\u30E0\u3002\n\u88C5\u7532\u3082\u539A\u304F\u3001\u751F\u534A\u306A\u653B\u6483\u3067\u306F\u6483\u7834\u3059\u308B\u3053\u3068\u3082\u96E3\u3057\u3044\u3002\u3057\u304B\u3057\u904B\u52D5\u6027\u304C\u4F4E\u3044\u305F\u3081\u3001\u8D85\u6A5F\u52D5\u6226\u95D8\u3067\u306F\u4E0D\u5229\u306B\u306A\u308B\u3002", 3, 4, 5, 6, 4400, 0, 60, 230, 130, 30, 8.5, 4.5, 2, 0.1, 0.05, 0.8, 0.01, 230, 1.5, 0, 0, 0, 200, 0, 1000, 1000, 1200, 0, 0, 150, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1];
charData4 = new Array();
charData4 = ["ZeroType32Custom", "\u96F6\u5F0F32\u578B\u30FB\u6539", "\u65E7\u4E16\u4EE3\u578B\u306E\u30D5\u30EC\u30FC\u30E0\u3067\u3042\u308B\u96F6\u5F0F32\u578B\u306B\u6539\u9020\u3092\u52A0\u3048\u305F\u7279\u6B8A\u30D5\u30EC\u30FC\u30E0\u3002\n\u904B\u52D5\u6027\u3068\u8FD1\u63A5\u6226\u95D8\u80FD\u529B\u306B\u512A\u308C\u308B\u304C\u3001\u9632\u5FA1\u529B\u304C\u4F4E\u304F\u5C04\u6483\u6B66\u5668\u304C\u8CA7\u5F31\u306A\u305F\u3081\u3001\u9060\u8DDD\u96E2\u6226\u95D8\u3068\u6301\u4E45\u6226\u95D8\u3067\u306F\u4E0D\u5229\u3067\u3042\u308B\u3002", 3, 4, 5, 6, 3000, 0, 25, 0, 150, 0, 0, 6.5, 0, 0, 0, 0.8, 0.01, 360, 1.45, 0, 0, 0, 150, 700, 1800, 2500, 500, 0, 0, 500, 200, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1];
this.AllRemove();
this.stop();
Frame 15
this.gotoAndStop(_currentframe - 2);
Frame 16
this.gotoAndStop(_currentframe - 3);
Frame 20
this.gotoAndStop(_currentframe + 3);
Instance of Symbol 693 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveX = "null";
maxX = "null";
minX = "null";
moveY = 1;
maxY = 490;
minY = -10;
}
Instance of Symbol 693 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveX = "null";
maxX = "null";
minX = "null";
moveY = 0.5;
maxY = 490;
minY = -10;
}
Instance of Symbol 693 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveX = 0.5;
maxX = 650;
minX = -10;
moveY = "null";
maxY = "null";
minY = "null";
}
Instance of Symbol 693 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveX = 1;
maxX = 650;
minX = -10;
moveY = "null";
maxY = "null";
minY = "null";
}
Instance of Symbol 693 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveX = 0.3;
maxX = 650;
minX = -10;
moveY = "null";
maxY = "null";
minY = "null";
}
Instance of Symbol 693 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveX = "null";
maxX = "null";
minX = "null";
moveY = 0.3;
maxY = 490;
minY = -10;
}
Instance of Symbol 693 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveX = "null";
maxX = "null";
minX = "null";
moveY = 0.5;
maxY = 490;
minY = -10;
}
Instance of Symbol 693 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveX = 0.5;
maxX = 650;
minX = -10;
moveY = "null";
maxY = "null";
minY = "null";
}
Frame 22
function SetMainChar() {
var _local1 = _root;
var _local2 = _global;
trace("\u4E3B\u4EBA\u516C\u306E\u8A2D\u7F6E\u5B9F\u884C \u540D\u524D\u306F" + _local2.mainCharName);
_local1.attachMovie(_local2.mainCharName, "mainChar", 1);
_local1.mainChar._x = 420;
_local1.mainChar._y = 300;
if (_local2.mainCharName == "A_SET_Char4db") {
_local1.mainChar._xscale = (_local1.mainChar._yscale = 30);
} else {
_local1.mainChar._xscale = (_local1.mainChar._yscale = 25);
}
_local1.gotoAndStop(_local2.firstStage);
}
this.SoundStop();
this.AllRemove();
this.stop();
Frame 25
this.gotoAndStop(_currentframe - 2);
Frame 26
this.gotoAndStop(_currentframe - 3);
Frame 30
this.gotoAndStop(_currentframe + 3);
Instance of Symbol 888 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 2;
}
Instance of Symbol 890 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 2;
}
Instance of Symbol 888 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 2;
}
Instance of Symbol 890 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 2;
}
Instance of Symbol 888 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 1;
}
Instance of Symbol 890 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 1;
}
Instance of Symbol 888 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 1;
}
Instance of Symbol 888 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 1;
}
Instance of Symbol 890 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 1;
}
Frame 32
this.stop();
Frame 35
this.gotoAndStop(_currentframe - 2);
Frame 36
this.gotoAndStop(_currentframe - 3);
Frame 40
this.gotoAndStop(_currentframe + 3);
Instance of Symbol 964 MovieClip in Frame 40
onClipEvent (load) {
moveX = 0.008;
moveY = 0;
moveXext = 0.4;
moveYext = 0.4;
}
Instance of Symbol 966 MovieClip in Frame 40
onClipEvent (load) {
moveX = 0.001;
moveY = 0;
moveXext = 0.3;
moveYext = 0.3;
}
Instance of Symbol 964 MovieClip in Frame 40
onClipEvent (load) {
moveX = 0.7;
moveY = 0.05;
moveXext = 1;
moveYext = 1;
}
Instance of Symbol 964 MovieClip in Frame 40
onClipEvent (load) {
moveX = 0.3;
moveY = 0;
moveXext = 1;
moveYext = 1;
}
Instance of Symbol 966 MovieClip in Frame 40
onClipEvent (load) {
moveX = 2.6;
moveY = 0.1;
moveXext = 1;
moveYext = 1;
}
Instance of Symbol 975 MovieClip in Frame 40
onClipEvent (enterFrame) {
this._rotation = _root.mainChar._rotation;
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 42
function AutoSetEnemy() {
var _local3 = _root;
var pat = setEnemyAry.length;
var nowNo = Math.round(Math.random() * (pat - 1));
trace((("\u914D\u5217\u5185\u30D1\u30BF\u30FC\u30F3\u6570=" + pat) + " \u9078\u629E\u3055\u308C\u305FNo=") + nowNo);
en0 = setEnemyAry[nowNo][0];
en1 = setEnemyAry[nowNo][1];
en2 = setEnemyAry[nowNo][2];
en3 = setEnemyAry[nowNo][3];
setI = 0;
i = 0;
while (i < enemyTypeNo) {
tempNo = this["en" + i];
i2 = 0;
while (i2 < tempNo) {
setI++;
_local3.attachMovie(enemyList[i], setI, setI + 250);
var _local2 = (Math.random() * 300) + 600;
if (Math.random() > 0.5) {
_local2 = _local2 * -1;
}
var _local1 = (Math.random() * 300) + 600;
if (Math.random() > 0.5) {
_local1 = _local1 * -1;
}
_local3[setI]._x = _local2;
_local3[setI]._y = _local1;
i2++;
}
i++;
}
_global.SetMaxEnemyNo = setI + 1;
_local3.displayMes.AddMes("AWACS", "\u6575\u6A5F\u4EA4\u6226\u57DF\u4FB5\u5165\u78BA\u8A8D", 0);
mes = "";
i = 0;
while (i < enemyTypeNo) {
tempName = "en" + i;
trace("tempName = " + this[tempName]);
if (this[tempName] > 0) {
trace((i + "mes =") + this[tempName]);
mes = mes + (((enemyNameList[i] + "<FONT COLOR='#00FF00'>") + this[tempName]) + "</FONT> ");
}
i++;
}
_local3.displayMes.AddMes("AWACS", mes, null);
}
function CheckDeep() {
var _local1 = _global;
if (_local1.extDeep > 240) {
trace("\u6DF1\u5EA6=" + _local1.extDeep);
trace("extDeep\u3092\u521D\u671F\u5316\u3057\u307E\u3057\u305F");
_local1.extDeep = 221;
}
if (_local1.backEffectDeep > 350) {
trace("backEffectDeep\u3092\u521D\u671F\u5316\u3057\u307E\u3057\u305F");
_local1.backEffectDeep = 51;
}
if (_local1.enemyShotDeep > 400) {
trace("enemyShotDeep\u3092\u521D\u671F\u5316\u3057\u307E\u3057\u305F");
_local1.enemyShotDeep = 301;
}
}
function EnemyDown() {
setI--;
trace(("EnemyDown\u5B9F\u884C\u3000\u6575\u6483\u7834 \u6B8B\u308A=" + setI) + "\u6A5F");
if (setI == 0) {
time0 = getTimer() + 500;
setI--;
}
}
_global.SetMaxEnemyNo = 8;
_global.setMaxMisNo = 6;
_global.extDeep = 221;
_global.backEffectDeep = 51;
_global.enemyShotDeep = 301;
time0 = getTimer() + 1000;
enemyTypeNo = 4;
setEnemyAry = new Array();
setEnemyAry[0] = [3, 0, 0];
setEnemyAry[1] = [3, 1, 0];
setEnemyAry[2] = [0, 3, 0];
setEnemyAry[3] = [5, 1, 0];
setEnemyAry[4] = [5, 2, 0];
setEnemyAry[5] = [2, 2, 0];
setEnemyAry[6] = [7, 0, 0];
setEnemyAry[7] = [7, 1, 0];
setEnemyAry[8] = [2, 0, 1];
setEnemyAry[9] = [0, 2, 1];
setEnemyAry[10] = [3, 2, 0, 1];
setEnemyAry[11] = [0, 3, 0, 1];
setEnemyAry[12] = [5, 1, 0, 1];
setEnemyAry[13] = [2, 2, 0, 1];
setEnemyAry[14] = [3, 2, 0, 2];
setEnemyAry[15] = [1, 3, 0, 2];
setEnemyAry[16] = [5, 1, 0, 2];
setEnemyAry[17] = [2, 2, 0, 2];
enemyList = ["floatGun", "floatSAM", "ship1", "floatECM"];
enemyNameList = ["\u30AC\u30F3\u30D5\u30ED\u30FC\u30C8", "SAM\u30D5\u30ED\u30FC\u30C8", "\u99C6\u9010\u6226\u95D8\u8247", "ECM\u30D5\u30ED\u30FC\u30C8"];
this.attachMovie("displayMes", "displayMes", 590);
this.displayMes._x = 260;
this.displayMes._y = 400;
this.onEnterFrame = function () {
this.CheckDeep();
if (getTimer() > time0) {
time0 = getTimer() + 30000;
this.AutoSetEnemy();
}
};
this.stop();
Frame 45
this.gotoAndStop(_currentframe - 2);
Frame 46
this.gotoAndStop(_currentframe - 3);
Frame 50
this.gotoAndStop(_currentframe + 3);
Frame 52
function SetMainChar(setName) {
var _local1 = _root;
var _local2 = setName;
_local1.charName = _local2;
_local2 = "char" + _local2;
trace("\u4E3B\u4EBA\u516C\u306E\u8A2D\u7F6E\u5B9F\u884C \u540D\u524D\u306F" + _local2);
_local1.attachMovie(_local2, "mainChar", 1);
_local1.mainChar._x = 320;
_local1.mainChar._y = 240;
_local1.mainChar._xscale = (_local1.mainChar._yscale = 20);
_local1.mainChar.userCon = 1;
}
function AutoSetEnemy() {
var _local3 = _root;
var pat = setEnemyAry.length;
var nowNo = Math.round(Math.random() * (pat - 1));
trace((("\u914D\u5217\u5185\u30D1\u30BF\u30FC\u30F3\u6570=" + pat) + " \u9078\u629E\u3055\u308C\u305FNo=") + nowNo);
en0 = setEnemyAry[nowNo][0];
en1 = setEnemyAry[nowNo][1];
en2 = setEnemyAry[nowNo][2];
en3 = setEnemyAry[nowNo][3];
setI = 0;
i = 0;
while (i < enemyTypeNo) {
tempNo = this["en" + i];
i2 = 0;
while (i2 < tempNo) {
setI++;
_local3.attachMovie(enemyList[i], setI, setI + 250);
var _local2 = (Math.random() * 300) + 600;
if (Math.random() > 0.5) {
_local2 = _local2 * -1;
}
var _local1 = (Math.random() * 300) + 600;
if (Math.random() > 0.5) {
_local1 = _local1 * -1;
}
_local3[setI]._x = _local2;
_local3[setI]._y = _local1;
i2++;
}
i++;
}
_global.SetMaxEnemyNo = setI + 1;
_local3.displayMes.AddMes("AWACS", "\u6575\u6A5F\u4EA4\u6226\u57DF\u4FB5\u5165\u78BA\u8A8D", 0);
mes = "";
i = 0;
while (i < enemyTypeNo) {
tempName = "en" + i;
trace("tempName = " + this[tempName]);
if (this[tempName] > 0) {
trace((i + "mes =") + this[tempName]);
mes = mes + (((enemyNameList[i] + "<FONT COLOR='#00FF00'>") + this[tempName]) + "</FONT> ");
}
i++;
}
_local3.displayMes.AddMes("AWACS", mes, null);
}
function CheckDeep() {
var _local1 = _global;
if (_local1.extDeep > 240) {
trace("\u6DF1\u5EA6=" + _local1.extDeep);
trace("extDeep\u3092\u521D\u671F\u5316\u3057\u307E\u3057\u305F");
_local1.extDeep = 221;
}
if (_local1.backEffectDeep > 350) {
trace("backEffectDeep\u3092\u521D\u671F\u5316\u3057\u307E\u3057\u305F");
_local1.backEffectDeep = 51;
}
if (_local1.enemyShotDeep > 400) {
trace("enemyShotDeep\u3092\u521D\u671F\u5316\u3057\u307E\u3057\u305F");
_local1.enemyShotDeep = 301;
}
}
function EnemyDown() {
setI--;
trace(("EnemyDown\u5B9F\u884C\u3000\u6575\u6483\u7834 \u6B8B\u308A=" + setI) + "\u6A5F");
if (setI == 0) {
time0 = getTimer() + 500;
setI--;
}
}
this.SetMainChar(2);
_global.SetMaxEnemyNo = 8;
_global.setMaxMisNo = 6;
_global.extDeep = 221;
_global.backEffectDeep = 51;
_global.enemyShotDeep = 301;
time0 = getTimer() + 1000;
enemyTypeNo = 4;
setEnemyAry = new Array();
setEnemyAry[0] = [3, 0, 0];
setEnemyAry[1] = [3, 1, 0];
setEnemyAry[2] = [0, 3, 0];
setEnemyAry[3] = [5, 1, 0];
setEnemyAry[4] = [5, 2, 0];
setEnemyAry[5] = [2, 2, 0];
setEnemyAry[6] = [7, 0, 0];
setEnemyAry[7] = [7, 1, 0];
setEnemyAry[8] = [2, 0, 1];
setEnemyAry[9] = [0, 2, 1];
setEnemyAry[10] = [3, 2, 0, 1];
setEnemyAry[11] = [0, 3, 0, 1];
setEnemyAry[12] = [5, 1, 0, 1];
setEnemyAry[13] = [2, 2, 0, 1];
setEnemyAry[14] = [3, 2, 0, 2];
setEnemyAry[15] = [1, 3, 0, 2];
setEnemyAry[16] = [5, 1, 0, 2];
setEnemyAry[17] = [2, 2, 0, 2];
enemyList = ["floatGun", "floatSAM", "ship1", "floatECM"];
enemyNameList = ["\u30AC\u30F3\u30D5\u30ED\u30FC\u30C8", "SAM\u30D5\u30ED\u30FC\u30C8", "\u99C6\u9010\u6226\u95D8\u8247", "ECM\u30D5\u30ED\u30FC\u30C8"];
this.attachMovie("displayMes", "displayMes", 590);
this.displayMes._x = 260;
this.displayMes._y = 400;
this.onEnterFrame = function () {
this.CheckDeep();
if (getTimer() > time0) {
time0 = getTimer() + 30000;
}
};
this.stop();
Frame 55
this.gotoAndStop(_currentframe - 2);
Frame 56
this.gotoAndStop(_currentframe - 3);
Frame 60
this.gotoAndStop(_currentframe + 3);
Frame 62
function AutoSetEnemy() {
var _local3 = _root;
if (nowNo > 19) {
_local3.timeDis.TimeCon(0);
trace("\u5168\u6A5F\u6483\u7834");
_local3.displayMes.AddMes("AWACS", "<FONT COLOR='#FFAA00'>\u6575\u90E8\u968A\u6BB2\u6EC5\u5B8C\u4E86 - Enemy annihilate</FONT>", 0);
time0 = getTimer() + 999999999999999;
this.attachMovie("display_timeAttackCOMPLETE", "dis", 800);
this.dis._x = 320;
this.dis._y = 230;
return(0);
}
en0 = setEnemyAry[nowNo][0];
en1 = setEnemyAry[nowNo][1];
en2 = setEnemyAry[nowNo][2];
en3 = setEnemyAry[nowNo][3];
setI = 0;
i = 0;
while (i < enemyTypeNo) {
tempNo = this["en" + i];
i2 = 0;
while (i2 < tempNo) {
setI++;
_local3.attachMovie(enemyList[i], setI, setI + 250);
var _local2 = (Math.random() * 300) + 600;
if (Math.random() > 0.5) {
_local2 = _local2 * -1;
}
var _local1 = (Math.random() * 300) + 600;
if (Math.random() > 0.5) {
_local1 = _local1 * -1;
}
_local3[setI]._x = _local2;
_local3[setI]._y = _local1;
i2++;
}
i++;
}
_global.SetMaxEnemyNo = setI + 1;
_local3.displayMes.AddMes("AWACS", ("\u7B2C<FONT COLOR='#FFAA00'>" + (nowNo + 1)) + "</FONT>\u90E8\u968A\u914D\u7F6E", 0);
mes = "";
i = 0;
while (i < enemyTypeNo) {
tempName = "en" + i;
trace("tempName = " + this[tempName]);
if (this[tempName] > 0) {
trace((i + "mes =") + this[tempName]);
mes = mes + (((enemyNameList[i] + "<FONT COLOR='#00FF00'>") + this[tempName]) + "</FONT> ");
}
i++;
}
_local3.displayMes.AddMes("AWACS", mes, null);
nowNo++;
return(undefined);
}
function CheckDeep() {
var _local1 = _global;
if (_local1.extDeep > 240) {
trace("\u6DF1\u5EA6=" + _local1.extDeep);
trace("extDeep\u3092\u521D\u671F\u5316\u3057\u307E\u3057\u305F");
_local1.extDeep = 221;
}
if (_local1.backEffectDeep > 350) {
trace("backEffectDeep\u3092\u521D\u671F\u5316\u3057\u307E\u3057\u305F");
_local1.backEffectDeep = 51;
}
if (_local1.enemyShotDeep > 400) {
trace("enemyShotDeep\u3092\u521D\u671F\u5316\u3057\u307E\u3057\u305F");
_local1.enemyShotDeep = 301;
}
}
function EnemyDown() {
setI--;
trace(("EnemyDown\u5B9F\u884C\u3000\u6575\u6483\u7834 \u6B8B\u308A=" + setI) + "\u6A5F");
if (setI == 0) {
time0 = getTimer() + 500;
setI--;
}
}
nowNo = 0;
_global.SetMaxEnemyNo = 8;
_global.setMaxMisNo = 6;
_global.extDeep = 221;
_global.backEffectDeep = 51;
_global.enemyShotDeep = 301;
time0 = getTimer() + 999999999999999;
enemyTypeNo = 4;
setEnemyAry = new Array();
setEnemyAry[0] = [1, 0, 0];
setEnemyAry[1] = [2, 0, 0];
setEnemyAry[2] = [3, 0, 0];
setEnemyAry[3] = [5, 0, 0];
setEnemyAry[4] = [0, 1, 0];
setEnemyAry[5] = [0, 2, 0];
setEnemyAry[6] = [0, 3, 0];
setEnemyAry[7] = [5, 1, 0];
setEnemyAry[8] = [5, 1, 0, 1];
setEnemyAry[9] = [2, 2, 0, 0];
setEnemyAry[10] = [4, 2, 0, 0];
setEnemyAry[11] = [5, 2, 0, 0];
setEnemyAry[12] = [3, 2, 0, 1];
setEnemyAry[13] = [2, 0, 1, 1];
setEnemyAry[14] = [0, 4, 0, 1];
setEnemyAry[15] = [0, 4, 0, 2];
setEnemyAry[16] = [5, 0, 0, 1];
setEnemyAry[17] = [3, 2, 0, 1];
setEnemyAry[18] = [4, 2, 0, 2];
setEnemyAry[19] = [1, 1, 1, 1];
enemyList = ["floatGun", "floatSAM", "ship1", "floatECM"];
enemyNameList = ["\u30AC\u30F3\u30D5\u30ED\u30FC\u30C8", "SAM\u30D5\u30ED\u30FC\u30C8", "\u99C6\u9010\u6226\u95D8\u8247", "ECM\u30D5\u30ED\u30FC\u30C8"];
this.attachMovie("displayMes", "displayMes", 590);
this.displayMes._x = 260;
this.displayMes._y = 400;
this.attachMovie("display_timeAttackFirst", "dis", 800);
this.dis._x = 320;
this.dis._y = 230;
this.onEnterFrame = function () {
this.CheckDeep();
if (getTimer() > time0) {
time0 = getTimer() + 500000;
this.AutoSetEnemy();
}
};
this.stop();
Frame 65
this.gotoAndStop(_currentframe - 2);
Frame 66
this.gotoAndStop(_currentframe - 3);
Frame 70
this.gotoAndStop(_currentframe + 3);
Instance of Symbol 693 MovieClip in Frame 70
//component parameters
onClipEvent (initialize) {
moveX = "null";
maxX = "null";
minX = "null";
moveY = 1;
maxY = 490;
minY = -10;
}
Instance of Symbol 693 MovieClip in Frame 70
//component parameters
onClipEvent (initialize) {
moveX = "null";
maxX = "null";
minX = "null";
moveY = 0.5;
maxY = 490;
minY = -10;
}
Instance of Symbol 693 MovieClip in Frame 70
//component parameters
onClipEvent (initialize) {
moveX = 0.5;
maxX = 650;
minX = -10;
moveY = "null";
maxY = "null";
minY = "null";
}
Instance of Symbol 693 MovieClip in Frame 70
//component parameters
onClipEvent (initialize) {
moveX = 1;
maxX = 650;
minX = -10;
moveY = "null";
maxY = "null";
minY = "null";
}
Instance of Symbol 693 MovieClip in Frame 70
//component parameters
onClipEvent (initialize) {
moveX = 0.3;
maxX = 650;
minX = -10;
moveY = "null";
maxY = "null";
minY = "null";
}
Instance of Symbol 693 MovieClip in Frame 70
//component parameters
onClipEvent (initialize) {
moveX = "null";
maxX = "null";
minX = "null";
moveY = 0.3;
maxY = 490;
minY = -10;
}
Instance of Symbol 693 MovieClip in Frame 70
//component parameters
onClipEvent (initialize) {
moveX = "null";
maxX = "null";
minX = "null";
moveY = 0.5;
maxY = 490;
minY = -10;
}
Instance of Symbol 693 MovieClip in Frame 70
//component parameters
onClipEvent (initialize) {
moveX = 0.5;
maxX = 650;
minX = -10;
moveY = "null";
maxY = "null";
minY = "null";
}
Frame 72
_root.AllRemove();
this.stop();
Frame 75
this.gotoAndStop(_currentframe - 2);
Frame 76
this.gotoAndStop(_currentframe - 3);
Symbol 47 MovieClip Frame 1
Symbol 48 MovieClip Frame 1
_parent.style = "p_standing";
Symbol 52 MovieClip Frame 1
this._visible = false;
Symbol 53 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 54 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 54 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Symbol 60 MovieClip Frame 1
if (_parent._parent._parent._name == "mainChar") {
i = 1;
while (i < _global.SetMaxEnemyNo) {
if (this.hitTest(_root[i]._x, _root[i]._y, true)) {
_root[i].hit(dmgType, efType);
}
i++;
}
i = 21;
while (i < (21 + _global.setMaxMisNo)) {
if (this.hitTest(_root[i]._x, _root[i]._y, true)) {
_root[i].hit(dmgType, efType);
}
i++;
}
} else if (this.hitTest(_root.mainChar._x, _root.mainChar._y, true)) {
_root.mainChar.damage(100, 0);
}
_visible = false;
Instance of Symbol 60 MovieClip in Symbol 63 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dmgType = 0;
efType = 0;
}
Symbol 65 MovieClip Frame 1
_parent.changeAttackDmg(1);
Symbol 65 MovieClip Frame 5
this.gotoAndPlay(_currentframe - 2);
Symbol 67 MovieClip Frame 1
if (_parent._parent._name == "mainChar") {
i = 1;
while (i < _global.SetMaxEnemyNo) {
if (this.hitTest(_root[i])) {
_root[i].hit(1, 1);
}
i++;
}
i = 21;
while (i < (21 + _global.setMaxMisNo)) {
if (this.hitTest(_root[i])) {
_root[i].hit(1, 1);
}
i++;
}
} else {
trace("\u6575\u30D1\u30B7\u30D5\u30A3\u30AF\u30B9\u3000\u8FD1\u63A5\u5224\u5B9A\u767A\u751F");
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
trace("\u30D6\u30EC\u30FC\u30C9\u3068\u30D6\u30EC\u30FC\u30C9\u304C\u63A5\u89E6");
_parent.hitBraid();
} else if (this.hitTest(_root.mainChar.damageArea)) {
_root.mainChar.damage(300, 1);
}
}
this._visible = false;
Symbol 76 MovieClip Frame 1
this.gotoAndPlay(7);
Symbol 76 MovieClip Frame 9
_global.braidDmg = _root.charData4[27];
Symbol 76 MovieClip Frame 13
if (Key.isDown(_global.keyCas[1])) {
this.gotoAndPlay("braid2");
}
Symbol 76 MovieClip Frame 17
_parent.gotoAndStop("paci_standing");
Symbol 76 MovieClip Frame 34
_global.braidDmg = _root.charData4[28];
Symbol 76 MovieClip Frame 36
if (Key.isDown(_global.keyCas[1])) {
this.gotoAndPlay("braid3");
}
Symbol 76 MovieClip Frame 46
_parent.gotoAndStop("paci_standing");
Symbol 81 MovieClip Frame 1
_parent.style = "equipWepon";
Symbol 81 MovieClip Frame 12
_parent.ChangeAttackDmg(8);
_parent.ChangeAttackDmg(3);
Symbol 81 MovieClip Frame 13
Symbol 81 MovieClip Frame 14
thePoint = {x:220, y:0};
this.localToGlobal(thePoint);
_global.extDeep++;
shotName = "braidAttack" + _global.extDeep;
_root.attachMovie("braidAttack", shotName, _global.extDeep);
_root[shotName]._rotation = _parent._rotation;
_root[shotName]._x = thePoint.x;
_root[shotName]._y = thePoint.y;
Symbol 81 MovieClip Frame 23
_parent.style = "p_standing";
_parent.gotoAndPlay("paci_standing");
Symbol 85 MovieClip Frame 1
_rotation = (_rotation + 5);
Symbol 85 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 89 MovieClip Frame 1
this._visible = false;
Symbol 90 MovieClip Frame 1
this.onEnterFrame = function () {
if (!Key.isDown(_global.keyCas[3])) {
_parent.gotoAndStop("paci_standing");
}
};
Symbol 90 MovieClip Frame 5
this.stop();
Symbol 93 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Symbol 94 MovieClip [char4] Frame 1
bodyName = "charData4";
if (!userCon) {
this.gotoAndStop(7);
}
Symbol 94 MovieClip [char4] Frame 2
function ChangeAttackDmg(atkNo) {
var _local1 = atkNo;
var _local2 = _global;
var _local3 = _root;
if (_local1 < 3) {
_local2.shotDmg = _local3[bodyName][24 + _local1];
} else if (_local1 < 8) {
_local2.braidDmg = _local3[bodyName][24 + _local1];
} else if (_local1 < 10) {
_local2.extDmg = _local3[bodyName][24 + _local1];
} else {
_local2.parDmg = _local3[bodyName][24 + _local1];
}
trace("\u653B\u6483\u529B\u5909\u66F4 No = " + (24 + _local1));
trace((((("s=" + _local2.shotDmg) + "\nb=") + _local2.braidDmg) + "\ne=") + _local2.extDmg);
}
function getBraidmode() {
return(braidMode);
}
function ChangeWepon() {
braidMode = !braidMode;
this.char.handF.braid.InBraidOpen(braidMode);
_root.weponSymbol.WeponSymbolChange(braidMode);
}
function getDirection() {
return(direction);
}
function boostMove(flag) {
if (flag > 0) {
this.gotoAndPlay("boost");
theBoostSE.start();
speedDownCnt = 5;
var _local1 = (_rotation * Math.PI) / 180;
XnowSpeed = XnowSpeed + (boostSpeed * Math.cos(_local1));
YnowSpeed = YnowSpeed + (boostSpeed * Math.sin(_local1));
} else if (speedDownCnt > 0) {
XnowSpeed = XnowSpeed / boostDownExt;
YnowSpeed = YnowSpeed / boostDownExt;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
speedDownCnt--;
if (speedDownCnt == 0) {
boostMode = 0;
}
}
}
function SpeedUP() {
if (!boostMode) {
if (style == "s") {
maxSpeed = SmaxSpeed;
addSpeed = SaddSpeed;
} else if (style == "overGun") {
maxSpeed = EmaxSpeed;
addSpeed = EaddSpeed;
} else {
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
}
if (style == "p_standing") {
this.gotoAndStop("paci(s->n)");
}
var _local1 = (_rotation * Math.PI) / 180;
var _local3 = XnowSpeed + (addSpeed * Math.cos(_local1));
var _local2 = YnowSpeed + (addSpeed * Math.sin(_local1));
var tempnowSpeed = (Math.abs(_local3) + Math.abs(_local2));
if (tempnowSpeed <= maxSpeed) {
XnowSpeed = _local3;
YnowSpeed = _local2;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
}
}
}
function normal() {
this.gotoAndStop("paci_standing");
}
function SpeedDown() {
if ((YnowSpeed < 5) && (YnowSpeed > -5)) {
YnowSpeed = YnowSpeed / 1.1;
} else if (YnowSpeed > 0) {
YnowSpeed = YnowSpeed - 3;
} else {
YnowSpeed = YnowSpeed + 3;
}
if ((XnowSpeed < 5) && (XnowSpeed > -5)) {
XnowSpeed = XnowSpeed / 1.1;
} else if (XnowSpeed > 0) {
XnowSpeed = XnowSpeed - 3;
} else {
XnowSpeed = XnowSpeed + 3;
}
}
function gard() {
if (gardFlag > 0) {
this.gotoAndStop("paci_gard");
}
}
function change() {
if (changeFlag > 0) {
if ((style == "p_normal") || (style == "p_standing")) {
braidMode = 0;
this.gotoAndStop("change(p->s)");
} else {
this.gotoAndStop("change(s->p)");
}
}
}
function GunChange() {
if (overFlag > 0) {
if ((style == "p_normal") || (style == "p_standing")) {
braidMode = 0;
this.gotoAndStop("paci(n->over)");
}
}
}
function atkStart() {
var _local1 = this;
if (style == "s") {
_local1.shot_s1();
} else if (braidMode) {
_local1.braid1();
} else {
_local1.shot_p1();
}
}
function atkEnd() {
var _local1 = this;
if (style == "s") {
_local1.gotoAndStop("sky_normal");
} else if (!braidMode) {
if (nowSpeed <= 25) {
_local1.gotoAndStop("paci_standing");
} else {
_local1.gotoAndStop("paci_normal");
}
}
shotMode = "ready";
}
function shot_p1() {
this.gotoAndStop("paci_s(shot1)");
}
function shot_s1() {
this.gotoAndStop("sky_shot1");
}
function braid1() {
this.gotoAndStop("paci_s(braid1)");
}
function openWepon1() {
if (extFlag > 0) {
if (style == "s") {
if (skyExtFlag > 0) {
this.gotoAndStop("sky_Ext");
}
} else {
this.gotoAndStop("paci_openWepon1");
}
}
}
function TraceMouse() {
xDis = _root._xmouse - _x;
yDis = _root._ymouse - _y;
radian = Math.atan2(yDis, xDis);
kakudo = radian / (Math.PI/180);
_rotation = kakudo;
if ((_rotation <= 180) && (_rotation > 90)) {
direction = "left";
_yscale = (-scale);
} else if (_rotation <= -90) {
direction = "left";
_yscale = (-scale);
} else {
direction = "right";
_yscale = scale;
}
}
function CheckMouseDown() {
if (((getDC > -1) && (boostCnt == 0)) && (dushFlag > 0)) {
boostMode = 1;
boostCnt = 6;
speedMode = 1;
} else {
speedMode = 1;
getDC = DCtime;
}
}
function damage(dmgPoint, dmgType, Nouse1, Nouse2, Nouse3) {
s1++;
_root.mainHp.ChangeHp(dmgPoint - def);
dmgName = "dmg" + s1;
this.attachMovie("dmg", dmgName, s1);
}
function MainSystem() {
var _local1 = this;
if (speedMode) {
_local1.speedUP();
} else if (nowSpeed <= 25) {
if ((_currentframe == 11) || (_currentframe == 51)) {
_local1.normal();
}
}
if (XnowSpeed >= 0) {
XnowSpeed = XnowSpeed - Xdown;
}
if (XnowSpeed <= 0) {
XnowSpeed = XnowSpeed + Xdown;
}
YnowSpeed = YnowSpeed + Ydown;
if (shotMode == "shot") {
_local1.atkStart();
} else if (shotMode == "stop") {
_local1.atkEnd();
}
}
function GetAction() {
var _local1 = this;
var _local2 = _global;
if (Key.isDown(_local2[keyName][1])) {
if (style != "overGun") {
shotMode = "shot";
}
} else if (shotMode == "shot") {
shotMode = "stop";
}
if (Key.isDown(_local2[keyName][2])) {
if (bCnt < 1) {
bCnt = 1;
_local1.ChangeWepon();
}
} else {
bCnt = 0;
}
if (Key.isDown(_local2[keyName][3])) {
_local1.gard();
}
if (Key.isDown(_local2[keyName][4])) {
_local1.openWepon1();
}
if (Key.isDown(_local2[keyName][5])) {
_local1.GunChange();
}
if (Key.isDown(_local2[keyName][6])) {
_local1.change();
}
if (Key.isDown(_local2[keyName][7])) {
_local1.SpeedDown();
}
if (boostCnt > 0) {
if (boostCnt == 6) {
getNowXspeed = XnowSpeed;
getNowYspeed = YnowSpeed;
_local1.boostMove(1);
}
if (boostCnt != 1) {
_local1.boostMove(0);
}
boostCnt--;
}
if (getDC > -1) {
getDC--;
}
}
_global.hp = _root[bodyName][7];
_root.mainHp.HpSet();
en = _root[bodyName][8];
def = _root[bodyName][9];
SmaxSpeed = _root[bodyName][10];
PmaxSpeed = _root[bodyName][11];
EmaxSpeed = _root[bodyName][12];
SaddSpeed = _root[bodyName][13];
PaddSPeed = _root[bodyName][14];
EaddSpeed = _root[bodyName][15];
Sxdown = _root[bodyName][16];
Sydown = _root[bodyName][17];
Pxdown = _root[bodyName][18];
Pydown = _root[bodyName][19];
BoostSpeed = _root[bodyName][20];
boostDownExt = _root[bodyName][21];
weponChangeFlag = _root[bodyName][40];
changeFlag = _root[bodyName][41];
skyExtFlag = _root[bodyName][42];
skyDushFlag = _root[bodyName][43];
extFlag = _root[bodyName][44];
overFlag = _root[bodyName][45];
dushFlag = _root[bodyName][46];
gardFlag = _root[bodyName][47];
scale = _xscale;
direction = "right";
XaddSpeed = 0;
YaddSpeed = 0;
nowSpeed = 0;
XnowSpeed = 0;
YnowSpeed = 0;
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
Xdown = Pxdown;
Ydown = Pydown;
style = "p_standing";
braidMode = 0;
shotMode = "ready";
speedMode = 0;
boostMode = 0;
getDC = 0;
DCtime = 3;
boostCnt = 0;
weponChangeWait = 300;
weponChangeCount = 0;
theBoostSE = new Sound();
theBoostSE.attachSound("boostSE3");
keyName = "keyCas";
s1 = 0;
if (_global.effectLv > 1) {
pas = eval (_root.backArea);
pas.attachMovie("mainCharSmoke", "mainChar", 1);
theLoc = {x:this._x, y:this._y};
pas.globalToLocal(theLoc);
pas[_name]._x = theLoc.x;
pas[_name]._y = theLoc.y;
}
this.onEnterFrame = function () {
this.GetAction();
this.MainSystem();
};
this.onMouseDown = function () {
this.CheckMouseDown();
};
this.onMouseUp = function () {
speedMode = 0;
};
this.onMouseMove = function () {
this.TraceMouse();
};
this.gotoAndStop("paci_standing");
trace("\u5B9A\u7FA9\u7D42\u4E86" + _global.hp);
Symbol 94 MovieClip [char4] Frame 7
function hit(dmgType, efType) {
var _local1 = this;
if (mode) {
trace((("_name\u88AB\u5F3E dmg=" + dmgType) + " ef=") + efType);
_local1.attachMovie([efTypeAry[efType]], "ef", 1);
_local1.ef.scaleExt = 4;
hp = hp - (_global[dmgTypeAry[dmgType]] - def);
_root.hpBar.bar._xscale = (hp / baseHp) * 100;
if (hp < 0) {
_root.mainHp.AddScore(800, "flo");
mode = 0;
_name = null;
_local1.gotoAndPlay("bomb");
}
}
}
function AI() {
var _local1 = _root;
var _local3 = _local1.mainChar._x - _x;
var yDis = (_local1.mainChar._y - _y);
var _local2 = Math.atan2(yDis, _local3);
_rotation = (_local2 / (Math.PI/180));
if ((_rotation <= 180) && (_rotation > 90)) {
direction = "left";
_yscale = (-scale);
} else if (_rotation <= -90) {
direction = "left";
_yscale = (-scale);
} else {
direction = "right";
_yscale = scale;
}
this._x = this._x - (XnowSpeed + _local1.mainChar.XnowSpeed);
this._y = this._y - (YnowSpeed + _local1.mainChar.YnowSpeed);
}
en = _root[bodyName][8];
def = _root[bodyName][9];
SmaxSpeed = _root[bodyName][10];
PmaxSpeed = _root[bodyName][11];
EmaxSpeed = _root[bodyName][12];
SaddSpeed = _root[bodyName][13];
PaddSPeed = _root[bodyName][14];
EaddSpeed = _root[bodyName][15];
Sxdown = _root[bodyName][16];
Sydown = _root[bodyName][17];
Pxdown = _root[bodyName][18];
Pydown = _root[bodyName][19];
BoostSpeed = _root[bodyName][20];
boostDownExt = _root[bodyName][21];
weponChangeFlag = _root[bodyName][40];
changeFlag = _root[bodyName][41];
skyExtFlag = _root[bodyName][42];
skyDushFlag = _root[bodyName][43];
extFlag = _root[bodyName][44];
overFlag = _root[bodyName][45];
dushFlag = _root[bodyName][46];
gardFlag = _root[bodyName][47];
scale = _xscale;
direction = "right";
XaddSpeed = 0;
YaddSpeed = 0;
nowSpeed = 0;
XnowSpeed = 0;
YnowSpeed = 0;
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
Xdown = Pxdown;
Ydown = Pydown;
style = "p_standing";
braidMode = 0;
shotMode = "ready";
speedMode = 0;
boostMode = 0;
getDC = 0;
DCtime = 3;
boostCnt = 0;
weponChangeWait = 300;
weponChangeCount = 0;
theBoostSE = new Sound();
theBoostSE.attachSound("boostSE3");
hp = (baseHp = 4000);
mode = 1;
efTypeAry = new Array();
efTypeAry = ["efHitShot2", "efHitBraid2"];
dmgTypeAry = new Array();
dmgTypeAry = ["shotDmg", "braidDmg", "extDmg", "parDmg"];
_root.attachMovie("enemyHpBar2", "hpBar", 1000);
_root.hpBar.traceName = _name;
this.onEnterFrame = function () {
this.AI();
};
this.gotoAndStop("paci_standing");
Symbol 94 MovieClip [char4] Frame 11
this.stop();
Symbol 94 MovieClip [char4] Frame 20
this.stop();
Symbol 94 MovieClip [char4] Frame 30
this.stop();
Symbol 94 MovieClip [char4] Frame 40
this.stop();
Symbol 94 MovieClip [char4] Frame 50
this.stop();
Symbol 94 MovieClip [char4] Frame 60
this.stop();
Symbol 94 MovieClip [char4] Frame 70
this.stop();
Symbol 94 MovieClip [char4] Frame 80
this.stop();
Symbol 94 MovieClip [char4] Frame 90
this.stop();
Symbol 94 MovieClip [char4] Frame 100
this.stop();
Symbol 94 MovieClip [char4] Frame 110
this.stop();
Symbol 94 MovieClip [char4] Frame 120
this.stop();
Symbol 94 MovieClip [char4] Frame 130
this.stop();
Symbol 94 MovieClip [char4] Frame 140
this.stop();
Symbol 94 MovieClip [char4] Frame 150
this.stop();
Symbol 94 MovieClip [char4] Frame 160
this.stop();
Symbol 96 MovieClip Frame 1
function DrowMissileSmoke() {
var _local2 = _parent;
var _local3 = this;
i++;
var _local1 = "missile" + i;
_local2.attachMovie(efName, _local1, i);
_local2[_local1]._xscale = _local3._x - oldX;
_local2[_local1]._yscale = _local3._y - oldY;
_local2[_local1]._x = oldX;
_local2[_local1]._y = oldY;
oldX = _local3._x;
oldY = _local3._y;
}
_visible = false;
addSpeed = 4 + (Math.random() * 2);
ext = 1.3;
YnowSpeed = (Math.random() * 60) - 30;
XnowSpeed = (Math.random() * 80) - 90;
oldX = this._x;
oldY = this._y;
i = 0;
i3 = 0;
removeLine = 10;
if (_global.effectLv > 0) {
efName = "lineLeaesrLine";
} else {
efName = "lineLeaserLineLow";
}
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
var _local3 = _global;
i3++;
if (i3 < 20) {
_local2.DrowMissileSmoke();
if (i3 == 8) {
radian = (Math.random() * 360) - 180;
}
} else {
_parent.removeMovieClip();
}
ext = ext * 1.15;
XnowSpeed = XnowSpeed + ((addSpeed * Math.cos(radian)) * ext);
YnowSpeed = YnowSpeed + ((addSpeed * Math.sin(radian)) * ext);
_local2._x = _local2._x + XnowSpeed;
_local2._y = _local2._y + YnowSpeed;
i2 = 1;
while (i2 < _local3.SetMaxEnemyNo) {
if (_local2.hitTest(_local1[i2])) {
_local1[i2].hit(2, 0);
}
i2++;
}
i2 = 21;
while (i2 < (21 + _local3.setMaxMisNo)) {
if (_local2.hitTest(_local1[i2])) {
_local1[i2].hit(2, 0);
}
i2++;
}
};
this.stop();
Symbol 97 MovieClip [lineLeaser] Frame 1
this._rotation = _root.mainChar._rotation;
this.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
};
Symbol 114 MovieClip Frame 1
rand = Math.floor(Math.random() * 3) + 5;
this.gotoAndPlay(rand);
Symbol 114 MovieClip Frame 8
this.gotoAndPlay(5);
Symbol 115 MovieClip Frame 1
this.onEnterFrame = function () {
if (Key.isDown(16)) {
this.gotoAndPlay("leaser");
}
if (Key.isDown(39)) {
this.gotoAndPlay("leaserField");
}
};
this.stop();
Symbol 115 MovieClip Frame 10
this.stop();
Symbol 115 MovieClip Frame 42
this.attachMovie("enemy_beam1EF", "beam", 1);
this.beam._x = -330;
this.beam._yscale = 80;
this.beam._xscale = 2000;
Symbol 115 MovieClip Frame 43
this.beam._yscale = 40;
Symbol 115 MovieClip Frame 44
this.beam.removeMovieClip();
Symbol 115 MovieClip Frame 57
this.gotoAndStop("wait");
Symbol 115 MovieClip Frame 75
this.stop();
Symbol 122 MovieClip Frame 10
_parent.gotoAndStop("wToN");
Symbol 126 MovieClip [enemyHpBar2] Frame 1
this.onEnterFrame = function () {
this._x = _root[traceName]._x;
this._y = _root[traceName]._y - 50;
};
Symbol 127 MovieClip Frame 29
_parent.gotoAndStop("normal");
Symbol 129 MovieClip Frame 1
function shot() {
var _local3 = _root;
_global.enemyShotDeep++;
var _local2 = "enemy_shot" + _global.enemyShotDeep;
var _local1 = {x:0, y:0};
this.localToGlobal(_local1);
var xDis = (_local3.mainChar._x - _local1.x);
var yDis = (_local3.mainChar._y - _local1.y);
var radian = Math.atan2(yDis, xDis);
var kakudo = (radian / (Math.PI/180));
_local3.attachMovie("enemy_shot1EF", _local2, _global.enemyShotDeep);
_local3[_local2]._x = _local1.x;
_local3[_local2]._y = _local1.y;
_local3[_local2]._rotation = kakudo;
}
this._visible = false;
Symbol 129 MovieClip Frame 5
this.shot();
Symbol 129 MovieClip Frame 10
this.shot();
Symbol 129 MovieClip Frame 15
this.shot();
Symbol 129 MovieClip Frame 20
this.shot();
Symbol 129 MovieClip Frame 25
this.shot();
Symbol 129 MovieClip Frame 60
this.gotoAndPlay(5);
Symbol 140 MovieClip Frame 51
this._visible = false;
_root.enemyDown();
_root.attachMovie("whiteMask", "whiteMask", 5000);
_parent.removeMovieClip();
Symbol 140 MovieClip Frame 52
_parent.removeMovieClip();
Symbol 140 MovieClip Frame 53
_parent.removeMovieClip();
Symbol 140 MovieClip Frame 60
this.stop();
Symbol 141 MovieClip [ship1] Frame 1
function hit(dmgType, efType) {
var _local1 = this;
var _local2 = _root;
if (mode) {
trace((("_name\u88AB\u5F3E dmg=" + dmgType) + " ef=") + efType);
_local1.attachMovie([efTypeAry[efType]], "ef", 1);
hp = hp - (_global[dmgTypeAry[dmgType]] - def);
_local1.hpBar._xscale = (hp / baseHp) * 1000;
if (hp < 0) {
_local1.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
};
_local2.radar.RemoveCoItem(_name);
_local2.mainHp.AddScore(score, "s1");
mode = 0;
_name = null;
_local1.gotoAndPlay("bomb");
}
}
}
mode = 1;
this._xscale = (this._yscale = 50);
score = 15000;
baseHp = (hp = 15000);
this.hpBar._xscale = (hp / baseHp) * 1000;
def = 30;
efTypeAry = new Array();
efTypeAry = ["efHitShot", "efHitBraid"];
dmgTypeAry = new Array();
dmgTypeAry = ["shotDmg", "braidDmg", "extDmg", "parDmg"];
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
_local1._x = _local1._x - (moveX + _local2.mainChar.XnowSpeed);
_local1._y = _local1._y - (moveY + _local2.mainChar.YnowSpeed);
xDis = _local1._x - _local2.mainChar._x;
yDis = _local1._y - _local2.mainChar._y;
_local2.radar.getCo(_name, _local1._x, _local1._y, 3);
if (Key.isDown(38)) {
_local1.gotoAndStop("wToN");
}
if (Key.isDown(36)) {
_local1._visible = true;
_local1.gotoAndStop("wait");
}
if (Key.isDown(40)) {
radian = Math.atan2(yDis, xDis);
kakudo = radian / (Math.PI/180);
_local1._rotation = kakudo;
} else {
_local1._rotation = 0;
}
};
this.stop();
Symbol 141 MovieClip [ship1] Frame 10
this.stop();
Symbol 141 MovieClip [ship1] Frame 20
this.stop();
Symbol 141 MovieClip [ship1] Frame 30
this.stop();
Symbol 177 MovieClip Frame 1
function InBraidOpen(tempMode) {
trace("\u30D6\u30EC\u30FC\u30C9\u3001open\u30E1\u30BD\u30C3\u30C9\u5B9F\u884C tempMode =" + tempMode);
if (tempMode) {
this.gotoAndPlay("open");
} else {
this.gotoAndPlay("close");
}
}
if (_parent._parent._parent._name == "mainChar") {
if (_root.mainChar.getBraidmode()) {
this.gotoAndPlay("oa");
} else {
this.gotoAndStop("open");
}
}
Symbol 177 MovieClip Frame 10
this.stop();
Symbol 177 MovieClip Frame 11
Symbol 177 MovieClip Frame 16
this.gotoAndPlay(_currentframe - 2);
Symbol 177 MovieClip Frame 17
Symbol 177 MovieClip Frame 20
this.gotoAndStop("open");
Symbol 186 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 190 MovieClip Frame 5
Symbol 190 MovieClip Frame 7
_parent.style = "s";
Symbol 190 MovieClip Frame 15
_parent.gotoAndStop("sky_normal");
Symbol 192 MovieClip Frame 4
Symbol 192 MovieClip Frame 6
_parent.style = "p_normal";
Symbol 192 MovieClip Frame 14
_parent.gotoAndStop("paci_normal");
Symbol 194 MovieClip Frame 1
_parent.style = "p_standing";
Symbol 195 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 195 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Instance of Symbol 60 MovieClip in Symbol 198 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dmgType = 0;
efType = 0;
}
Symbol 200 MovieClip Frame 1
_parent.ChangeAttackDmg(1);
Symbol 200 MovieClip Frame 6
this.gotoAndPlay(_currentframe - 2);
Symbol 221 MovieClip Frame 3
_parent.ChangeAttackDmg(3);
Instance of Symbol 67 MovieClip "hitArea_b1" in Symbol 221 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
_root.mainChar.BraidHit();
_parent.BraidHit();
trace("\u30E1\u30A4\u30F3\u30AD\u30E3\u30E9\u3068\u5263\u4EA4\u5DEE");
}
if (this.hitTest(_root.mainChar.damageArea)) {
_global.mainCharNowHp = _global.mainCharNowHp - 300;
}
}
Symbol 221 MovieClip Frame 9
if (Key.isDown(_global.keyCas[1])) {
this.gotoAndPlay("braid2");
}
Symbol 221 MovieClip Frame 12
_parent.gotoAndStop("paci_standing");
Symbol 221 MovieClip Frame 24
_parent.ChangeAttackDmg(4);
Instance of Symbol 67 MovieClip "hitArea_b1" in Symbol 221 MovieClip Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
_root.mainChar.BraidHit();
_parent.BraidHit();
trace("\u30E1\u30A4\u30F3\u30AD\u30E3\u30E9\u3068\u5263\u4EA4\u5DEE");
}
if (this.hitTest(_root.mainChar.damageArea)) {
_global.mainCharNowHp = _global.mainCharNowHp - 300;
}
}
Symbol 221 MovieClip Frame 31
if (Key.isDown(_global.keyCas[1])) {
this.gotoAndPlay("braid3");
}
Symbol 221 MovieClip Frame 36
_parent.gotoAndStop("paci_standing");
Symbol 221 MovieClip Frame 53
_parent.ChangeAttackDmg(5);
Instance of Symbol 67 MovieClip "hitArea_b1" in Symbol 221 MovieClip Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
_root.mainChar.BraidHit();
_parent.BraidHit();
trace("\u30E1\u30A4\u30F3\u30AD\u30E3\u30E9\u3068\u5263\u4EA4\u5DEE");
}
}
Instance of Symbol 67 MovieClip "hitArea_b1" in Symbol 221 MovieClip Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
_root.mainChar.BraidHit();
_parent.BraidHit();
trace("\u30E1\u30A4\u30F3\u30AD\u30E3\u30E9\u3068\u5263\u4EA4\u5DEE");
}
}
Symbol 221 MovieClip Frame 65
_parent.gotoAndStop("paci_standing");
Symbol 222 MovieClip Frame 1
_parent.ChangeAttackDmg(1);
Symbol 222 MovieClip Frame 5
this.gotoAndPlay(_currentframe - 2);
Symbol 230 MovieClip [openWeponEF1] Frame 6
this.removeMovieClip();
this.stop();
Symbol 231 MovieClip Frame 1
function setWeponSystem1() {
var _local1 = _root;
thePoint = {x:-350, y:180};
this.localToGlobal(thePoint);
_local1.attachMovie("WeponSystem1_or", WeponName, 5 + i);
_local1[WeponName]._x = thePoint.x;
_local1[WeponName]._y = thePoint.y;
var _local2 = Math.random() * 2;
_local1[WeponName]._xscale = BaseSize + _local2;
_local1[WeponName]._yscale = BaseSize + _local2;
}
randSizeWidth = 0;
BaseSize = _parent._xscale + 10;
_root.textDisplay.mesRecord("\u5B50\u6A5F\u5C55\u958B");
_parent.style = "equipWepon";
Symbol 231 MovieClip Frame 7
_parent.changeAttackDmg(10);
i = 1;
WeponName = "wepon0";
this.setWeponSystem1();
Symbol 231 MovieClip Frame 9
WeponName = "wepon1";
i = 2;
this.setWeponSystem1();
Symbol 231 MovieClip Frame 11
WeponName = "wepon2";
i = 3;
this.setWeponSystem1();
Symbol 231 MovieClip Frame 22
_parent.style = "p_standing";
_parent.gotoAndPlay("paci_standing");
Symbol 233 MovieClip Frame 1
_root.textDisplay.mesRecord("\u30AA\u30FC\u30D0\u30FC\u30AC\u30F3\u30E2\u30FC\u30C9\u3078\u79FB\u884C");
Symbol 233 MovieClip Frame 14
_parent.style = "overGun";
Symbol 233 MovieClip Frame 15
i = 0;
while (i <= 100) {
EFname = "changeEF" + i;
this.attachMovie("EF", EFname, i + 10);
this[EFname]._rotation = Math.random() * 360;
this[EFname]._xscale = (_root[EFname]._yscale = (Math.random() * 300) + 50);
this[EFname]._x = 0;
this[EFname]._y = 0;
i++;
}
Symbol 233 MovieClip Frame 17
_parent.gotoAndStop("overGun");
Symbol 234 MovieClip Frame 1
function overShotEnd() {
this.gotoAndPlay(1);
}
EFsize = 100;
if (Key.isDown(_global.keyCas[1])) {
this.gotoAndPlay("charge");
}
Symbol 234 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 2);
Symbol 234 MovieClip Frame 7
this.attachMovie("sarcleEF", "sarcleEF", 600);
this.sarcleEF._x = 266;
this.sarcleEF._y = 5;
Symbol 234 MovieClip Frame 8
if (Key.isDown(_global.keyCas[1])) {
EFsize = EFsize + 5;
this.sarcleEF._xscale = (this.sarcleEF._yscale = EFsize);
} else {
this.gotoAndStop("shot");
}
Symbol 234 MovieClip Frame 9
this.gotoAndPlay(_currentframe - 1);
Symbol 234 MovieClip Frame 15
_parent.ChangeAttackDmg(2);
name = "shotArea";
this.attachMovie("overShotEF", name, 600);
this[name]._x = 260;
this[name]._y = 6;
this[name]._xscale = EFsize * 2;
this[name]._yscale = EFsize * 2;
this[name].cnt = EFsize;
Symbol 236 MovieClip Frame 1
this.onEnterFrame = function () {
this._rotation = this._rotation + _parent.ro;
};
Symbol 238 MovieClip Frame 1
this.onEnterFrame = function () {
if (!Key.isDown(_global.keyCas[3])) {
_parent.gotoAndStop("paci_standing");
}
};
Instance of Symbol 237 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (load) {
ro = 5;
}
Instance of Symbol 237 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (load) {
ro = -5;
}
Symbol 238 MovieClip Frame 6
this.stop();
Symbol 239 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Symbol 240 MovieClip [char1] Frame 1
bodyName = "charData1";
if (!userCon) {
this.gotoAndStop(7);
}
Symbol 240 MovieClip [char1] Frame 2
function ChangeAttackDmg(atkNo) {
var _local1 = atkNo;
var _local2 = _global;
var _local3 = _root;
if (_local1 < 3) {
_local2.shotDmg = _local3[bodyName][24 + _local1];
} else if (_local1 < 8) {
_local2.braidDmg = _local3[bodyName][24 + _local1];
} else if (_local1 < 10) {
_local2.extDmg = _local3[bodyName][24 + _local1];
} else {
_local2.parDmg = _local3[bodyName][24 + _local1];
}
trace("\u653B\u6483\u529B\u5909\u66F4 No = " + (24 + _local1));
trace((((("s=" + _local2.shotDmg) + "\nb=") + _local2.braidDmg) + "\ne=") + _local2.extDmg);
}
function getBraidmode() {
return(braidMode);
}
function ChangeWepon() {
braidMode = !braidMode;
this.char.handF.braid.InBraidOpen(braidMode);
_root.weponSymbol.WeponSymbolChange(braidMode);
}
function getDirection() {
return(direction);
}
function boostMove(flag) {
if (flag > 0) {
this.gotoAndPlay("boost");
theBoostSE.start();
speedDownCnt = 5;
var _local1 = (_rotation * Math.PI) / 180;
XnowSpeed = XnowSpeed + (boostSpeed * Math.cos(_local1));
YnowSpeed = YnowSpeed + (boostSpeed * Math.sin(_local1));
} else if (speedDownCnt > 0) {
XnowSpeed = XnowSpeed / boostDownExt;
YnowSpeed = YnowSpeed / boostDownExt;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
speedDownCnt--;
if (speedDownCnt == 0) {
boostMode = 0;
}
}
}
function SpeedUP() {
if (!boostMode) {
if (style == "s") {
maxSpeed = SmaxSpeed;
addSpeed = SaddSpeed;
} else if (style == "overGun") {
maxSpeed = EmaxSpeed;
addSpeed = EaddSpeed;
} else {
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
}
if (style == "p_standing") {
this.gotoAndStop("paci(s->n)");
}
var _local1 = (_rotation * Math.PI) / 180;
var _local3 = XnowSpeed + (addSpeed * Math.cos(_local1));
var _local2 = YnowSpeed + (addSpeed * Math.sin(_local1));
var tempnowSpeed = (Math.abs(_local3) + Math.abs(_local2));
if (tempnowSpeed <= maxSpeed) {
XnowSpeed = _local3;
YnowSpeed = _local2;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
}
}
}
function normal() {
this.gotoAndStop("paci_standing");
}
function SpeedDown() {
if ((YnowSpeed < 5) && (YnowSpeed > -5)) {
YnowSpeed = YnowSpeed / 1.1;
} else if (YnowSpeed > 0) {
YnowSpeed = YnowSpeed - 3;
} else {
YnowSpeed = YnowSpeed + 3;
}
if ((XnowSpeed < 5) && (XnowSpeed > -5)) {
XnowSpeed = XnowSpeed / 1.1;
} else if (XnowSpeed > 0) {
XnowSpeed = XnowSpeed - 3;
} else {
XnowSpeed = XnowSpeed + 3;
}
}
function gard() {
if (gardFlag > 0) {
this.gotoAndStop("paci_gard");
}
}
function change() {
if (changeFlag > 0) {
if ((style == "p_normal") || (style == "p_standing")) {
braidMode = 0;
this.gotoAndStop("change(p->s)");
} else {
this.gotoAndStop("change(s->p)");
}
}
}
function GunChange() {
if (overFlag > 0) {
if ((style == "p_normal") || (style == "p_standing")) {
braidMode = 0;
this.gotoAndStop("paci(n->over)");
}
}
}
function atkStart() {
var _local1 = this;
if (style == "s") {
_local1.shot_s1();
} else if (braidMode) {
_local1.braid1();
} else {
_local1.shot_p1();
}
}
function atkEnd() {
var _local1 = this;
if (style == "s") {
_local1.gotoAndStop("sky_normal");
} else if (!braidMode) {
if (nowSpeed <= 25) {
_local1.gotoAndStop("paci_standing");
} else {
_local1.gotoAndStop("paci_normal");
}
}
shotMode = "ready";
}
function shot_p1() {
this.gotoAndStop("paci_s(shot1)");
}
function shot_s1() {
this.gotoAndStop("sky_shot1");
}
function braid1() {
this.gotoAndStop("paci_s(braid1)");
}
function openWepon1() {
if (extFlag > 0) {
if (style == "s") {
if (skyExtFlag > 0) {
this.gotoAndStop("sky_Ext");
}
} else {
this.gotoAndStop("paci_openWepon1");
}
}
}
function TraceMouse() {
xDis = _root._xmouse - _x;
yDis = _root._ymouse - _y;
radian = Math.atan2(yDis, xDis);
kakudo = radian / (Math.PI/180);
_rotation = kakudo;
if ((_rotation <= 180) && (_rotation > 90)) {
direction = "left";
_yscale = (-scale);
} else if (_rotation <= -90) {
direction = "left";
_yscale = (-scale);
} else {
direction = "right";
_yscale = scale;
}
}
function CheckMouseDown() {
if (((getDC > -1) && (boostCnt == 0)) && (dushFlag > 0)) {
boostMode = 1;
boostCnt = 6;
speedMode = 1;
} else {
speedMode = 1;
getDC = DCtime;
}
}
function damage(dmgPoint, dmgType, Nouse1, Nouse2, Nouse3) {
s1++;
_root.mainHp.ChangeHp(dmgPoint - def);
dmgName = "dmg" + s1;
this.attachMovie("dmg", dmgName, s1);
}
function MainSystem() {
var _local1 = this;
if (speedMode) {
_local1.speedUP();
} else if (nowSpeed <= 25) {
if ((_currentframe == 11) || (_currentframe == 51)) {
_local1.normal();
}
}
if (XnowSpeed >= 0) {
XnowSpeed = XnowSpeed - Xdown;
}
if (XnowSpeed <= 0) {
XnowSpeed = XnowSpeed + Xdown;
}
YnowSpeed = YnowSpeed + Ydown;
if (shotMode == "shot") {
_local1.atkStart();
} else if (shotMode == "stop") {
_local1.atkEnd();
}
}
function GetAction() {
var _local1 = this;
var _local2 = _global;
if (Key.isDown(_local2[keyName][1])) {
if (style != "overGun") {
shotMode = "shot";
}
} else if (shotMode == "shot") {
shotMode = "stop";
}
if (Key.isDown(_local2[keyName][2])) {
if (bCnt < 1) {
bCnt = 1;
_local1.ChangeWepon();
}
} else {
bCnt = 0;
}
if (Key.isDown(_local2[keyName][3])) {
_local1.gard();
}
if (Key.isDown(_local2[keyName][4])) {
_local1.openWepon1();
}
if (Key.isDown(_local2[keyName][5])) {
_local1.GunChange();
}
if (Key.isDown(_local2[keyName][6])) {
_local1.change();
}
if (Key.isDown(_local2[keyName][7])) {
_local1.SpeedDown();
}
if (boostCnt > 0) {
if (boostCnt == 6) {
getNowXspeed = XnowSpeed;
getNowYspeed = YnowSpeed;
_local1.boostMove(1);
}
if (boostCnt != 1) {
_local1.boostMove(0);
}
boostCnt--;
}
if (getDC > -1) {
getDC--;
}
}
_global.hp = _root[bodyName][7];
_root.mainHp.HpSet();
en = _root[bodyName][8];
def = _root[bodyName][9];
SmaxSpeed = _root[bodyName][10];
PmaxSpeed = _root[bodyName][11];
EmaxSpeed = _root[bodyName][12];
SaddSpeed = _root[bodyName][13];
PaddSPeed = _root[bodyName][14];
EaddSpeed = _root[bodyName][15];
Sxdown = _root[bodyName][16];
Sydown = _root[bodyName][17];
Pxdown = _root[bodyName][18];
Pydown = _root[bodyName][19];
BoostSpeed = _root[bodyName][20];
boostDownExt = _root[bodyName][21];
weponChangeFlag = _root[bodyName][40];
changeFlag = _root[bodyName][41];
skyExtFlag = _root[bodyName][42];
skyDushFlag = _root[bodyName][43];
extFlag = _root[bodyName][44];
overFlag = _root[bodyName][45];
dushFlag = _root[bodyName][46];
gardFlag = _root[bodyName][47];
scale = _xscale;
direction = "right";
XaddSpeed = 0;
YaddSpeed = 0;
nowSpeed = 0;
XnowSpeed = 0;
YnowSpeed = 0;
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
Xdown = Pxdown;
Ydown = Pydown;
style = "p_standing";
braidMode = 0;
shotMode = "ready";
speedMode = 0;
boostMode = 0;
getDC = 0;
DCtime = 3;
boostCnt = 0;
weponChangeWait = 300;
weponChangeCount = 0;
theBoostSE = new Sound();
theBoostSE.attachSound("boostSE3");
keyName = "keyCas";
s1 = 0;
if (_global.effectLv > 1) {
pas = eval (_root.backArea);
pas.attachMovie("mainCharSmoke", "mainChar", 1);
theLoc = {x:this._x, y:this._y};
pas.globalToLocal(theLoc);
pas[_name]._x = theLoc.x;
pas[_name]._y = theLoc.y;
}
this.onEnterFrame = function () {
this.GetAction();
this.MainSystem();
};
this.onMouseDown = function () {
this.CheckMouseDown();
};
this.onMouseUp = function () {
speedMode = 0;
};
this.onMouseMove = function () {
this.TraceMouse();
};
this.gotoAndStop("paci_standing");
trace("\u5B9A\u7FA9\u7D42\u4E86" + _global.hp);
Symbol 240 MovieClip [char1] Frame 7
function hit(dmgType, efType) {
var _local1 = this;
if (mode) {
trace((("_name\u88AB\u5F3E dmg=" + dmgType) + " ef=") + efType);
_local1.attachMovie([efTypeAry[efType]], "ef", 1);
_local1.ef.scaleExt = 4;
hp = hp - (_global[dmgTypeAry[dmgType]] - def);
_root.hpBar.bar._xscale = (hp / baseHp) * 100;
if (hp < 0) {
_root.mainHp.AddScore(800, "flo");
mode = 0;
_name = null;
_local1.gotoAndPlay("bomb");
}
}
}
function AI() {
var _local1 = _root;
var _local3 = _local1.mainChar._x - _x;
var yDis = (_local1.mainChar._y - _y);
var _local2 = Math.atan2(yDis, _local3);
_rotation = (_local2 / (Math.PI/180));
if ((_rotation <= 180) && (_rotation > 90)) {
direction = "left";
_yscale = (-scale);
} else if (_rotation <= -90) {
direction = "left";
_yscale = (-scale);
} else {
direction = "right";
_yscale = scale;
}
this._x = this._x - (XnowSpeed + _local1.mainChar.XnowSpeed);
this._y = this._y - (YnowSpeed + _local1.mainChar.YnowSpeed);
}
en = _root[bodyName][8];
def = _root[bodyName][9];
SmaxSpeed = _root[bodyName][10];
PmaxSpeed = _root[bodyName][11];
EmaxSpeed = _root[bodyName][12];
SaddSpeed = _root[bodyName][13];
PaddSPeed = _root[bodyName][14];
EaddSpeed = _root[bodyName][15];
Sxdown = _root[bodyName][16];
Sydown = _root[bodyName][17];
Pxdown = _root[bodyName][18];
Pydown = _root[bodyName][19];
BoostSpeed = _root[bodyName][20];
boostDownExt = _root[bodyName][21];
weponChangeFlag = _root[bodyName][40];
changeFlag = _root[bodyName][41];
skyExtFlag = _root[bodyName][42];
skyDushFlag = _root[bodyName][43];
extFlag = _root[bodyName][44];
overFlag = _root[bodyName][45];
dushFlag = _root[bodyName][46];
gardFlag = _root[bodyName][47];
scale = _xscale;
direction = "right";
XaddSpeed = 0;
YaddSpeed = 0;
nowSpeed = 0;
XnowSpeed = 0;
YnowSpeed = 0;
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
Xdown = Pxdown;
Ydown = Pydown;
style = "p_standing";
braidMode = 0;
shotMode = "ready";
speedMode = 0;
boostMode = 0;
getDC = 0;
DCtime = 3;
boostCnt = 0;
weponChangeWait = 300;
weponChangeCount = 0;
theBoostSE = new Sound();
theBoostSE.attachSound("boostSE3");
hp = (baseHp = 4000);
mode = 1;
efTypeAry = new Array();
efTypeAry = ["efHitShot2", "efHitBraid2"];
dmgTypeAry = new Array();
dmgTypeAry = ["shotDmg", "braidDmg", "extDmg", "parDmg"];
_root.attachMovie("enemyHpBar2", "hpBar", 1000);
_root.hpBar.traceName = _name;
this.onEnterFrame = function () {
this.AI();
};
this.gotoAndStop("paci_standing");
Symbol 240 MovieClip [char1] Frame 11
this.stop();
Symbol 240 MovieClip [char1] Frame 20
this.stop();
Symbol 240 MovieClip [char1] Frame 30
this.stop();
Symbol 240 MovieClip [char1] Frame 40
this.stop();
Symbol 240 MovieClip [char1] Frame 50
this.stop();
Symbol 240 MovieClip [char1] Frame 60
this.stop();
Symbol 240 MovieClip [char1] Frame 70
this.stop();
Symbol 240 MovieClip [char1] Frame 80
this.stop();
Symbol 240 MovieClip [char1] Frame 90
this.stop();
Symbol 240 MovieClip [char1] Frame 100
this.stop();
Symbol 240 MovieClip [char1] Frame 110
this.stop();
Symbol 240 MovieClip [char1] Frame 120
this.stop();
Symbol 240 MovieClip [char1] Frame 130
this.stop();
Symbol 240 MovieClip [char1] Frame 140
this.stop();
Symbol 240 MovieClip [char1] Frame 150
this.stop();
Symbol 244 MovieClip Frame 1
speed = 15;
i = 0;
Symbol 244 MovieClip Frame 2
this._x = this._x + ((speed = speed - 1));
this._alpha = this._alpha - 6;
i++;
if (i >= 20) {
_parent.removeMovieClip();
}
Symbol 244 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 245 MovieClip [boostEF2] Frame 1
cnt = 6;
Symbol 245 MovieClip [boostEF2] Frame 2
this.onEnterFrame = function () {
var _local1 = this;
_local1._x = _local1._x - ((_root.mainChar.XnowSpeed + (Math.random() * 20)) - 10);
_local1._y = _local1._y - ((_root.mainChar.YnowSpeed + (Math.random() * 20)) - 10);
cnt--;
if (cnt == 0) {
trace("\u6D88\u53BB");
_local1.removeMovieClip();
}
};
Symbol 246 MovieClip [boostEF] Frame 1
this.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
};
Symbol 262 MovieClip Frame 1
function OpenHeadBraid() {
this.play();
}
this.stop();
Symbol 262 MovieClip Frame 16
this.stop();
Symbol 262 MovieClip Frame 19
this.stop();
Instance of Symbol 177 MovieClip "braid" in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
function open() {
if (mode == "close") {
mode = "-";
this.gotoAndPlay(2);
} else if (mode == "open") {
mode = "-";
this.gotoAndPlay(8);
}
}
mode = "close";
tempmode = _root.mainChar.getBraidmode();
if (tempmode == "braidOpen") {
mode = "open";
this.gotoAndPlay(7);
} else {
mode = "close";
}
}
Instance of Symbol 293 MovieClip "braid" in Symbol 294 MovieClip Frame 1
onClipEvent (load) {
function open() {
if (mode == "close") {
mode = "-";
this.gotoAndPlay(2);
} else if (mode == "open") {
mode = "-";
this.gotoAndPlay(10);
}
}
mode = "close";
tempmode = _root.mainChar.getBraidmode();
if (tempmode == "braidOpen") {
mode = "open";
this.gotoAndPlay(10);
} else {
mode = "close";
}
}
Symbol 295 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 334 MovieClip Frame 5
Symbol 334 MovieClip Frame 7
_parent.style = "s";
Symbol 334 MovieClip Frame 15
_parent.gotoAndStop("sky_normal");
Symbol 336 MovieClip Frame 4
Symbol 336 MovieClip Frame 6
_parent.style = "p_normal";
Symbol 336 MovieClip Frame 14
_parent.gotoAndStop("paci_normal");
Symbol 338 MovieClip Frame 1
function open() {
if (mode == "close") {
mode = "-";
this.gotoAndPlay(2);
} else if (mode == "open") {
mode = "-";
this.gotoAndPlay(8);
}
}
mode = "close";
tempmode = _root.mainChar.getBraidmode();
if (tempmode == "braidOpen") {
mode = "open";
this.gotoAndPlay(7);
} else {
mode = "close";
}
this.stop();
Symbol 338 MovieClip Frame 10
this.stop();
Symbol 338 MovieClip Frame 19
this.stop();
Symbol 340 MovieClip Frame 1
_parent.style = "p_standing";
Symbol 341 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 341 MovieClip Frame 7
_parent.gotoAndStop("paci_normal");
Symbol 342 MovieClip Frame 1
_parent.ChangeAttackDmg(1);
Symbol 342 MovieClip Frame 3
Symbol 342 MovieClip Frame 5
this.gotoAndPlay(_currentframe - 2);
Symbol 344 MovieClip Frame 1
i = 0;
Symbol 344 MovieClip Frame 3
if (i >= 10) {
i = 0;
} else {
i++;
}
thePoint = {x:220, y:0};
this.localToGlobal(thePoint);
_global.mainCharNowEn = _global.mainCharNowEn - _parent.drShot;
shotName = "c2re_shot1EF" + i;
_root.attachMovie("c2re_shot1EF", shotName, 200 + i);
trace("\uFF2E\uFF4F" + (i + 200));
_root[shotName]._rotation = _parent._rotation;
_root[shotName]._x = thePoint.x;
_root[shotName]._y = thePoint.y - 14;
Symbol 344 MovieClip Frame 5
this.gotoAndPlay(_currentframe - 2);
Symbol 357 MovieClip Frame 1
this.gotoAndPlay(8);
Symbol 357 MovieClip Frame 10
_parent.changeAttackDmg(3);
Symbol 357 MovieClip Frame 11
Symbol 357 MovieClip Frame 15
if (Key.isDown(_global.keyCas[1])) {
this.gotoAndPlay("braid2");
}
Symbol 357 MovieClip Frame 17
this.gotoAndPlay(18);
Symbol 357 MovieClip Frame 23
_parent.gotoAndStop("paci_standing");
Symbol 357 MovieClip Frame 42
_parent.changeAttackDmg(4);
Symbol 357 MovieClip Frame 43
Symbol 357 MovieClip Frame 48
if (Key.isDown(_global.keyCas[1])) {
this.gotoAndPlay("braid3");
}
Symbol 357 MovieClip Frame 49
this.gotoAndPlay(50);
Symbol 357 MovieClip Frame 55
_parent.gotoAndStop("paci_standing");
Symbol 357 MovieClip Frame 70
_parent.changeAttackDmg(5);
Symbol 357 MovieClip Frame 71
Symbol 357 MovieClip Frame 86
_parent.gotoAndStop("paci_standing");
Symbol 358 MovieClip Frame 1
_parent.ChangeAttackDmg(1);
Symbol 358 MovieClip Frame 5
this.gotoAndPlay(_currentframe - 2);
Symbol 361 MovieClip Frame 1
_parent.ChangeAttackDmg(8);
_parent.style = "equipWepon";
Symbol 361 MovieClip Frame 4
i = 0;
while (i < 8) {
_global.extDeep++;
thePoint = {x:-220, y:0};
this.localToGlobal(thePoint);
shotName = "shot1EF" + _global.extDeep;
_root.attachMovie("lineLeaser", shotName, _global.extDeep);
_root[shotName]._x = thePoint.x;
_root[shotName]._y = thePoint.y;
i++;
}
Symbol 361 MovieClip Frame 15
_parent.style = "p_standing";
_parent.gotoAndPlay("paci_standing");
Symbol 366 MovieClip Frame 2
trace("\u30D8\u30C3\u30C9\u30D6\u30EC\u30A4\u30C9\u5C55\u958B\u8981\u6C42");
this.braid.OpenHeadBraid(1);
Symbol 366 MovieClip Frame 16
_parent.style = "overGun";
Symbol 366 MovieClip Frame 18
trace("\u30D8\u30C3\u30C9\u30D6\u30EC\u30A4\u30C9\u5C55\u958B\u8981\u6C42");
this.braid.OpenHeadBraid(0);
this.stop();
_parent.gotoAndStop("overGun");
Instance of Symbol 338 MovieClip "braid" in Symbol 366 MovieClip Frame 18
onClipEvent (load) {
this.gotoAndStop("close");
}
Symbol 371 MovieClip Frame 1
waitFlag = 0;
this.onEnterFrame = function () {
if (Key.isDown(_global.keyCas[1]) && (waitFlag == 0)) {
waitFlag = 1;
this.gotoAndPlay("attack1");
}
};
Instance of Symbol 338 MovieClip "braid" in Symbol 371 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("open");
}
Symbol 371 MovieClip Frame 30
this.gotoAndPlay("wait");
Symbol 371 MovieClip Frame 40
Instance of Symbol 338 MovieClip "braid" in Symbol 371 MovieClip Frame 40
onClipEvent (load) {
this.gotoAndStop("open");
}
Symbol 371 MovieClip Frame 49
_parent.changeAttackDmg(3);
_parent.changeAttackDmg(9);
Symbol 371 MovieClip Frame 50
any = 8;
i = 0;
while (i < any) {
_global.extDeep++;
efName = "effect" + i;
_root.attachMovie("effect_baidSarcle", efName, _global.extDeep);
tempX = (this._x + 300) + (Math.random() * 500);
tempY = (this._y + (Math.random() * 1000)) - 500;
tempXY = {x:tempX, y:tempY};
this.localToGlobal(tempXY);
_root[efName]._x = tempXY.x;
_root[efName]._y = tempXY.y;
_root[efName]._xscale = (_root[efName]._yscale = (Math.random() * 100) + 30);
_root[efName]._rotation = (_parent._rotation + (Math.random() * 160)) - 80;
_root[efName].gotoAndPlay(Math.floor(Math.random() * 5));
i++;
}
Symbol 371 MovieClip Frame 69
waitFlag = 0;
this.gotoAndPlay("wait");
Symbol 375 MovieClip Frame 1
this.onEnterFrame = function () {
if (!Key.isDown(_global.keyCas[3])) {
_parent.gotoAndStop("paci_standing");
}
};
Symbol 375 MovieClip Frame 6
this.stop();
Symbol 376 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Symbol 378 MovieClip Frame 14
_parent.style = "overGun";
Symbol 378 MovieClip Frame 15
i = 0;
while (i <= 100) {
EFname = "changeEF" + i;
this.attachMovie("EF", EFname, i + 10);
this[EFname]._rotation = Math.random() * 360;
this[EFname]._xscale = (_root[EFname]._yscale = (Math.random() * 300) + 50);
this[EFname]._x = 0;
this[EFname]._y = 0;
i++;
}
Symbol 378 MovieClip Frame 17
_parent.gotoAndStop("overGun");
Symbol 379 MovieClip [char3] Frame 1
bodyName = "charData3";
if (!userCon) {
this.gotoAndStop(7);
}
Symbol 379 MovieClip [char3] Frame 2
function ChangeAttackDmg(atkNo) {
var _local1 = atkNo;
var _local2 = _global;
var _local3 = _root;
if (_local1 < 3) {
_local2.shotDmg = _local3[bodyName][24 + _local1];
} else if (_local1 < 8) {
_local2.braidDmg = _local3[bodyName][24 + _local1];
} else if (_local1 < 10) {
_local2.extDmg = _local3[bodyName][24 + _local1];
} else {
_local2.parDmg = _local3[bodyName][24 + _local1];
}
trace("\u653B\u6483\u529B\u5909\u66F4 No = " + (24 + _local1));
trace((((("s=" + _local2.shotDmg) + "\nb=") + _local2.braidDmg) + "\ne=") + _local2.extDmg);
}
function getBraidmode() {
return(braidMode);
}
function ChangeWepon() {
braidMode = !braidMode;
this.char.handF.braid.InBraidOpen(braidMode);
_root.weponSymbol.WeponSymbolChange(braidMode);
}
function getDirection() {
return(direction);
}
function boostMove(flag) {
if (flag > 0) {
this.gotoAndPlay("boost");
theBoostSE.start();
speedDownCnt = 5;
var _local1 = (_rotation * Math.PI) / 180;
XnowSpeed = XnowSpeed + (boostSpeed * Math.cos(_local1));
YnowSpeed = YnowSpeed + (boostSpeed * Math.sin(_local1));
} else if (speedDownCnt > 0) {
XnowSpeed = XnowSpeed / boostDownExt;
YnowSpeed = YnowSpeed / boostDownExt;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
speedDownCnt--;
if (speedDownCnt == 0) {
boostMode = 0;
}
}
}
function SpeedUP() {
if (!boostMode) {
if (style == "s") {
maxSpeed = SmaxSpeed;
addSpeed = SaddSpeed;
} else if (style == "overGun") {
maxSpeed = EmaxSpeed;
addSpeed = EaddSpeed;
} else {
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
}
if (style == "p_standing") {
this.gotoAndStop("paci(s->n)");
}
var _local1 = (_rotation * Math.PI) / 180;
var _local3 = XnowSpeed + (addSpeed * Math.cos(_local1));
var _local2 = YnowSpeed + (addSpeed * Math.sin(_local1));
var tempnowSpeed = (Math.abs(_local3) + Math.abs(_local2));
if (tempnowSpeed <= maxSpeed) {
XnowSpeed = _local3;
YnowSpeed = _local2;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
}
}
}
function normal() {
this.gotoAndStop("paci_standing");
}
function SpeedDown() {
if ((YnowSpeed < 5) && (YnowSpeed > -5)) {
YnowSpeed = YnowSpeed / 1.1;
} else if (YnowSpeed > 0) {
YnowSpeed = YnowSpeed - 3;
} else {
YnowSpeed = YnowSpeed + 3;
}
if ((XnowSpeed < 5) && (XnowSpeed > -5)) {
XnowSpeed = XnowSpeed / 1.1;
} else if (XnowSpeed > 0) {
XnowSpeed = XnowSpeed - 3;
} else {
XnowSpeed = XnowSpeed + 3;
}
}
function gard() {
if (gardFlag > 0) {
this.gotoAndStop("paci_gard");
}
}
function change() {
if (changeFlag > 0) {
if ((style == "p_normal") || (style == "p_standing")) {
braidMode = 0;
this.gotoAndStop("change(p->s)");
} else {
this.gotoAndStop("change(s->p)");
}
}
}
function GunChange() {
if (overFlag > 0) {
if ((style == "p_normal") || (style == "p_standing")) {
braidMode = 0;
this.gotoAndStop("paci(n->over)");
}
}
}
function atkStart() {
var _local1 = this;
if (style == "s") {
_local1.shot_s1();
} else if (braidMode) {
_local1.braid1();
} else {
_local1.shot_p1();
}
}
function atkEnd() {
var _local1 = this;
if (style == "s") {
_local1.gotoAndStop("sky_normal");
} else if (!braidMode) {
if (nowSpeed <= 25) {
_local1.gotoAndStop("paci_standing");
} else {
_local1.gotoAndStop("paci_normal");
}
}
shotMode = "ready";
}
function shot_p1() {
this.gotoAndStop("paci_s(shot1)");
}
function shot_s1() {
this.gotoAndStop("sky_shot1");
}
function braid1() {
this.gotoAndStop("paci_s(braid1)");
}
function openWepon1() {
if (extFlag > 0) {
if (style == "s") {
if (skyExtFlag > 0) {
this.gotoAndStop("sky_Ext");
}
} else {
this.gotoAndStop("paci_openWepon1");
}
}
}
function TraceMouse() {
xDis = _root._xmouse - _x;
yDis = _root._ymouse - _y;
radian = Math.atan2(yDis, xDis);
kakudo = radian / (Math.PI/180);
_rotation = kakudo;
if ((_rotation <= 180) && (_rotation > 90)) {
direction = "left";
_yscale = (-scale);
} else if (_rotation <= -90) {
direction = "left";
_yscale = (-scale);
} else {
direction = "right";
_yscale = scale;
}
}
function CheckMouseDown() {
if (((getDC > -1) && (boostCnt == 0)) && (dushFlag > 0)) {
boostMode = 1;
boostCnt = 6;
speedMode = 1;
} else {
speedMode = 1;
getDC = DCtime;
}
}
function damage(dmgPoint, dmgType, Nouse1, Nouse2, Nouse3) {
s1++;
_root.mainHp.ChangeHp(dmgPoint - def);
dmgName = "dmg" + s1;
this.attachMovie("dmg", dmgName, s1);
}
function MainSystem() {
var _local1 = this;
if (speedMode) {
_local1.speedUP();
} else if (nowSpeed <= 25) {
if ((_currentframe == 11) || (_currentframe == 51)) {
_local1.normal();
}
}
if (XnowSpeed >= 0) {
XnowSpeed = XnowSpeed - Xdown;
}
if (XnowSpeed <= 0) {
XnowSpeed = XnowSpeed + Xdown;
}
YnowSpeed = YnowSpeed + Ydown;
if (shotMode == "shot") {
_local1.atkStart();
} else if (shotMode == "stop") {
_local1.atkEnd();
}
}
function GetAction() {
var _local1 = this;
var _local2 = _global;
if (Key.isDown(_local2[keyName][1])) {
if (style != "overGun") {
shotMode = "shot";
}
} else if (shotMode == "shot") {
shotMode = "stop";
}
if (Key.isDown(_local2[keyName][2])) {
if (bCnt < 1) {
bCnt = 1;
_local1.ChangeWepon();
}
} else {
bCnt = 0;
}
if (Key.isDown(_local2[keyName][3])) {
_local1.gard();
}
if (Key.isDown(_local2[keyName][4])) {
_local1.openWepon1();
}
if (Key.isDown(_local2[keyName][5])) {
_local1.GunChange();
}
if (Key.isDown(_local2[keyName][6])) {
_local1.change();
}
if (Key.isDown(_local2[keyName][7])) {
_local1.SpeedDown();
}
if (boostCnt > 0) {
if (boostCnt == 6) {
getNowXspeed = XnowSpeed;
getNowYspeed = YnowSpeed;
_local1.boostMove(1);
}
if (boostCnt != 1) {
_local1.boostMove(0);
}
boostCnt--;
}
if (getDC > -1) {
getDC--;
}
}
_global.hp = _root[bodyName][7];
_root.mainHp.HpSet();
en = _root[bodyName][8];
def = _root[bodyName][9];
SmaxSpeed = _root[bodyName][10];
PmaxSpeed = _root[bodyName][11];
EmaxSpeed = _root[bodyName][12];
SaddSpeed = _root[bodyName][13];
PaddSPeed = _root[bodyName][14];
EaddSpeed = _root[bodyName][15];
Sxdown = _root[bodyName][16];
Sydown = _root[bodyName][17];
Pxdown = _root[bodyName][18];
Pydown = _root[bodyName][19];
BoostSpeed = _root[bodyName][20];
boostDownExt = _root[bodyName][21];
weponChangeFlag = _root[bodyName][40];
changeFlag = _root[bodyName][41];
skyExtFlag = _root[bodyName][42];
skyDushFlag = _root[bodyName][43];
extFlag = _root[bodyName][44];
overFlag = _root[bodyName][45];
dushFlag = _root[bodyName][46];
gardFlag = _root[bodyName][47];
scale = _xscale;
direction = "right";
XaddSpeed = 0;
YaddSpeed = 0;
nowSpeed = 0;
XnowSpeed = 0;
YnowSpeed = 0;
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
Xdown = Pxdown;
Ydown = Pydown;
style = "p_standing";
braidMode = 0;
shotMode = "ready";
speedMode = 0;
boostMode = 0;
getDC = 0;
DCtime = 3;
boostCnt = 0;
weponChangeWait = 300;
weponChangeCount = 0;
theBoostSE = new Sound();
theBoostSE.attachSound("boostSE3");
keyName = "keyCas";
s1 = 0;
if (_global.effectLv > 1) {
pas = eval (_root.backArea);
pas.attachMovie("mainCharSmoke", "mainChar", 1);
theLoc = {x:this._x, y:this._y};
pas.globalToLocal(theLoc);
pas[_name]._x = theLoc.x;
pas[_name]._y = theLoc.y;
}
this.onEnterFrame = function () {
this.GetAction();
this.MainSystem();
};
this.onMouseDown = function () {
this.CheckMouseDown();
};
this.onMouseUp = function () {
speedMode = 0;
};
this.onMouseMove = function () {
this.TraceMouse();
};
this.gotoAndStop("paci_standing");
trace("\u5B9A\u7FA9\u7D42\u4E86" + _global.hp);
Symbol 379 MovieClip [char3] Frame 7
function hit(dmgType, efType) {
var _local1 = this;
if (mode) {
trace((("_name\u88AB\u5F3E dmg=" + dmgType) + " ef=") + efType);
_local1.attachMovie([efTypeAry[efType]], "ef", 1);
_local1.ef.scaleExt = 4;
hp = hp - (_global[dmgTypeAry[dmgType]] - def);
_root.hpBar.bar._xscale = (hp / baseHp) * 100;
if (hp < 0) {
_root.mainHp.AddScore(800, "flo");
mode = 0;
_name = null;
_local1.gotoAndPlay("bomb");
}
}
}
function AI() {
var _local1 = _root;
var _local3 = _local1.mainChar._x - _x;
var yDis = (_local1.mainChar._y - _y);
var _local2 = Math.atan2(yDis, _local3);
_rotation = (_local2 / (Math.PI/180));
if ((_rotation <= 180) && (_rotation > 90)) {
direction = "left";
_yscale = (-scale);
} else if (_rotation <= -90) {
direction = "left";
_yscale = (-scale);
} else {
direction = "right";
_yscale = scale;
}
this._x = this._x - (XnowSpeed + _local1.mainChar.XnowSpeed);
this._y = this._y - (YnowSpeed + _local1.mainChar.YnowSpeed);
}
en = _root[bodyName][8];
def = _root[bodyName][9];
SmaxSpeed = _root[bodyName][10];
PmaxSpeed = _root[bodyName][11];
EmaxSpeed = _root[bodyName][12];
SaddSpeed = _root[bodyName][13];
PaddSPeed = _root[bodyName][14];
EaddSpeed = _root[bodyName][15];
Sxdown = _root[bodyName][16];
Sydown = _root[bodyName][17];
Pxdown = _root[bodyName][18];
Pydown = _root[bodyName][19];
BoostSpeed = _root[bodyName][20];
boostDownExt = _root[bodyName][21];
weponChangeFlag = _root[bodyName][40];
changeFlag = _root[bodyName][41];
skyExtFlag = _root[bodyName][42];
skyDushFlag = _root[bodyName][43];
extFlag = _root[bodyName][44];
overFlag = _root[bodyName][45];
dushFlag = _root[bodyName][46];
gardFlag = _root[bodyName][47];
scale = _xscale;
direction = "right";
XaddSpeed = 0;
YaddSpeed = 0;
nowSpeed = 0;
XnowSpeed = 0;
YnowSpeed = 0;
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
Xdown = Pxdown;
Ydown = Pydown;
style = "p_standing";
braidMode = 0;
shotMode = "ready";
speedMode = 0;
boostMode = 0;
getDC = 0;
DCtime = 3;
boostCnt = 0;
weponChangeWait = 300;
weponChangeCount = 0;
theBoostSE = new Sound();
theBoostSE.attachSound("boostSE3");
hp = (baseHp = 4000);
mode = 1;
efTypeAry = new Array();
efTypeAry = ["efHitShot2", "efHitBraid2"];
dmgTypeAry = new Array();
dmgTypeAry = ["shotDmg", "braidDmg", "extDmg", "parDmg"];
_root.attachMovie("enemyHpBar2", "hpBar", 1000);
_root.hpBar.traceName = _name;
this.onEnterFrame = function () {
this.AI();
};
this.gotoAndStop("paci_standing");
Symbol 379 MovieClip [char3] Frame 11
this.stop();
Symbol 379 MovieClip [char3] Frame 20
this.stop();
Symbol 379 MovieClip [char3] Frame 30
this.stop();
Symbol 379 MovieClip [char3] Frame 40
this.stop();
Symbol 379 MovieClip [char3] Frame 50
this.stop();
Symbol 379 MovieClip [char3] Frame 60
this.stop();
Symbol 379 MovieClip [char3] Frame 70
this.stop();
Symbol 379 MovieClip [char3] Frame 80
this.stop();
Symbol 379 MovieClip [char3] Frame 90
this.stop();
Symbol 379 MovieClip [char3] Frame 100
this.stop();
Symbol 379 MovieClip [char3] Frame 110
this.stop();
Symbol 379 MovieClip [char3] Frame 120
this.stop();
Symbol 379 MovieClip [char3] Frame 130
this.stop();
Symbol 379 MovieClip [char3] Frame 140
this.stop();
Symbol 379 MovieClip [char3] Frame 150
this.stop();
Symbol 379 MovieClip [char3] Frame 160
this.stop();
Symbol 381 MovieClip Frame 1
var total = 0;
var speed = 80;
var i;
Symbol 381 MovieClip Frame 2
this._x = this._x + speed;
total = total + speed;
if (total >= 1000) {
_parent.removeMovieClip();
}
Symbol 381 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 381 MovieClip Frame 11
_parent.removeMovieClip();
Symbol 382 MovieClip [c1sb_shot1EF_enemy] Frame 1
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
_local1._x = _local1._x + (-_local2.mainChar.XnowSpeed);
_local1._y = _local1._y + (-_local2.mainChar.YnowSpeed);
if (_local1.hitTest(_local2.mainChar.damageArea)) {
_local2.mainChar.damage(dmgPoint, dmgType);
_local1.gotoAndPlay("hit");
}
if ((_local1.hitTest(_local2.mainChar.char.hitArea_b1) || (_local1.hitTest(_local2.mainChar.char.overShotEF))) || (_local1.hitTest(_local2.mainChar.char.gardArea))) {
_local1.gotoAndPlay("hit");
}
};
this.stop();
Instance of Symbol 381 MovieClip in Symbol 382 MovieClip [c1sb_shot1EF_enemy] Frame 1
onClipEvent (enterFrame) {
speed = 120;
}
Symbol 382 MovieClip [c1sb_shot1EF_enemy] Frame 2
this.onEnterFrame = function () {
this._x = this._x + ((-_root.mainChar.XnowSpeed) / 3);
this._y = this._y + ((-_root.mainChar.YnowSpeed) / 3);
};
Symbol 382 MovieClip [c1sb_shot1EF_enemy] Frame 11
this.removeMovieClip();
Symbol 384 MovieClip Frame 1
total = 0;
speed = 80;
Symbol 384 MovieClip Frame 2
Symbol 384 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 387 MovieClip Frame 1
total = 0;
speed = 100;
Symbol 387 MovieClip Frame 2
Symbol 387 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 391 MovieClip [shot1EF2] Frame 1
this.onEnterFrame = function () {
this._x = this._x + moveX;
this._y = this._y + moveY;
};
Symbol 397 MovieClip [floatSAM] Frame 1
function hit(dmgType, efType) {
var _local1 = this;
var _local2 = _root;
if (mode) {
trace((("_name\u88AB\u5F3E dmg=" + dmgType) + " ef=") + efType);
_local1.attachMovie([efTypeAry[efType]], "ef", 1);
hp = hp - (_global[dmgTypeAry[dmgType]] - def);
_local1.hpBar._xscale = (hp / baseHp) * 100;
if (hp < 0) {
_local1.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
};
_local2.radar.RemoveCoItem(_name);
_local2.enemyDown();
_local2.mainHp.AddScore(score, "fs");
mode = 0;
_local1.gotoAndPlay("bomb");
}
}
}
function shotMis() {
var _local1 = _root;
i = 21;
while (i < 26) {
if (_local1[i] == undefined) {
break;
}
i++;
}
if (i < 26) {
_local1.attachMovie("missileTypeA", i, i + 250);
_local1[i]._x = this._x;
_local1[i]._y = this._y;
}
}
var mode = 1;
var i = 10;
score = 2000;
follow = (Math.random() * 10) + 50;
extra = (Math.random() * 300) + 500;
if (Math.random() > 0.5) {
extra = extra * -1;
}
extraX = extra;
extra = (Math.random() * 300) + 500;
if (Math.random() > 0.5) {
extra = extra * -1;
}
extraY = extra;
hp = (baseHp = 200);
def = 10;
shotWait = 5000;
shotCnt = getTimer() + shotWait;
efTypeAry = new Array();
efTypeAry = ["efHitShot", "efHitBraid"];
dmgTypeAry = new Array();
dmgTypeAry = ["shotDmg", "braidDmg", "extDmg", "parDmg"];
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if ((getTimer() > shotCnt) && (mode)) {
_local1.ShotMis();
shotCnt = getTimer() + shotWait;
}
_local1._x = _local1._x + ((((_local2.mainChar._x + extraX) - _x) / follow) - _local2.mainChar.XnowSpeed);
_local1._y = _local1._y + ((((_local2.mainChar._y + extraY) - _y) / follow) - _local2.mainChar.YnowSpeed);
_local2.radar.getCo(_name, _local1._x, _local1._y, 2);
};
this.stop();
Symbol 397 MovieClip [floatSAM] Frame 17
this.removeMovieClip();
Symbol 397 MovieClip [floatSAM] Frame 18
this.stop();
Symbol 399 MovieClip [floatECM] Frame 1
function hit(dmgType, efType) {
var _local1 = this;
var _local2 = _root;
if (mode) {
trace((("_name\u88AB\u5F3E dmg=" + dmgType) + " ef=") + efType);
_local1.attachMovie([efTypeAry[efType]], "ef", 1);
hp = hp - (_global[dmgTypeAry[dmgType]] - def);
_local1.hpBar._xscale = (hp / baseHp) * 100;
if (hp < 0) {
_local1.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
};
_local2.radar.ChangeAntiRadar(-ecmPower);
_local2.radar.RemoveCoItem(_name);
_local2.enemyDown();
_local2.mainHp.AddScore(score, "fe");
mode = 0;
_local1.gotoAndPlay("bomb");
}
}
}
var mode = 1;
var i = 10;
score = 3500;
ecmPower = 60;
_root.radar.ChangeAntiRadar(ecmPower);
follow = (Math.random() * 10) + 50;
extra = (Math.random() * 300) + 800;
if (Math.random() > 0.5) {
extra = extra * -1;
}
extraX = extra;
extra = (Math.random() * 300) + 800;
if (Math.random() > 0.5) {
extra = extra * -1;
}
extraY = extra;
hp = (baseHp = 500);
def = 10;
efTypeAry = new Array();
efTypeAry = ["efHitShot", "efHitBraid"];
dmgTypeAry = new Array();
dmgTypeAry = ["shotDmg", "braidDmg", "extDmg", "parDmg"];
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
_local2._x = _local2._x + ((((_local1.mainChar._x + extraX) - _x) / follow) - _local1.mainChar.XnowSpeed);
_local2._y = _local2._y + ((((_local1.mainChar._y + extraY) - _y) / follow) - _local1.mainChar.YnowSpeed);
_local1.radar.getCo(_name, _local2._x, _local2._y, 5);
};
this.stop();
Symbol 399 MovieClip [floatECM] Frame 17
this.removeMovieClip();
Symbol 399 MovieClip [floatECM] Frame 18
this.stop();
Symbol 401 MovieClip [floatGun] Frame 1
function hit(dmgType, efType) {
var _local1 = this;
var _local2 = _root;
if (mode) {
trace((("_name\u88AB\u5F3E dmg=" + dmgType) + " ef=") + efType);
_local1.attachMovie([efTypeAry[efType]], "ef", 1);
hp = hp - (_global[dmgTypeAry[dmgType]] - def);
_local1.hpBar._xscale = (hp / baseHp) * 100;
if (hp < 0) {
_local1.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
};
_local2.radar.RemoveCoItem(_name);
_local2.enemyDown();
_local2.mainHp.AddScore(score, "fg");
mode = 0;
_local2.lerder.RemoveCoItem(_name);
_name = null;
_local1.gotoAndPlay("bomb");
}
}
}
function shot() {
var _local2 = _root;
var _local3 = _global;
_local3.enemyShotDeep++;
var _local1 = "enemy_shot" + _local3.enemyShotDeep;
var xDis = (_local2.mainChar._x - _x);
var yDis = (_local2.mainChar._y - _y);
var radian = Math.atan2(yDis, xDis);
var kakudo = (radian / (Math.PI/180));
_local2.attachMovie("enemy_shot1EF", _local1, _local3.enemyShotDeep);
_local2[_local1]._x = this._x;
_local2[_local1]._y = this._y;
_local2[_local1]._rotation = kakudo;
}
var mode = 1;
var i = 10;
var i2 = 0;
var wait = 10;
var cnt = 0;
var shotMode = "-";
score = 1000;
follow = (Math.random() * 20) + 10;
extraX = (Math.random() * 200) - 100;
extraY = (Math.random() * 200) - 100;
hp = (baseHp = 300);
def = 10;
efTypeAry = new Array();
efTypeAry = ["efHitShot", "efHitBraid"];
dmgTypeAry = new Array();
dmgTypeAry = ["shotDmg", "braidDmg", "extDmg", "parDmg"];
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if (cnt == 10) {
Shotmode = "shot";
}
cnt++;
if (shotMode == "shot") {
i2++;
if ((i2 > 7) && (mode)) {
i2 = 0;
cnt++;
_local1.shot();
if (cnt >= 21) {
cnt = 0;
shotMode = "-";
}
}
}
_local1._x = _local1._x + ((((_local2.mainChar._x + extraX) - _x) / follow) - _local2.mainChar.XnowSpeed);
_local1._y = _local1._y + ((((_local2.mainChar._y + extraY) - _y) / follow) - _local2.mainChar.YnowSpeed);
_local2.radar.getCo(_name, _local1._x, _local1._y, 1);
};
this.stop();
Symbol 401 MovieClip [floatGun] Frame 17
this.removeMovieClip();
Symbol 401 MovieClip [floatGun] Frame 18
this.stop();
Symbol 418 MovieClip [BGEF4] Frame 1
Symbol 418 MovieClip [BGEF4] Frame 100
this.removeMovieClip();
Symbol 429 MovieClip [BGEF3] Frame 10
this.removeMovieClip();
Symbol 432 MovieClip [BGEF2] Frame 40
this.removeMovieClip();
Symbol 433 MovieClip [BGEF1] Frame 40
this.removeMovieClip();
Symbol 436 MovieClip Frame 1
this.stop();
Symbol 437 MovieClip Frame 1
i = 1;
while (i < _global.SetMaxEnemyNo) {
if (this.hitTest(_root[i]._x, _root[i]._y, true)) {
_root[i].hit(dmgType, efType);
}
i++;
}
i = 21;
while (i < (21 + _global.setMaxMisNo)) {
if (this.hitTest(_root[i]._x, _root[i]._y, true)) {
_root[i].hit(dmgType, efType);
}
i++;
}
_visible = false;
Instance of Symbol 437 MovieClip "shotArea" in Symbol 441 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dmgType = 3;
efType = 0;
}
Symbol 443 MovieClip [WeponSystem1_or] Frame 1
function ChangeMode() {
if (attackMode == 3) {
attackMode = 1;
} else {
attackMode++;
}
}
var time0 = getTimer();
var battleTime = 10000;
battleTime = battleTime + time0;
var mode = 0;
var attackMode = 1;
var follow = (3 + (Math.random() * 3));
var i = Math.round(Math.random() * 10);
extraX = (Math.random() * 50) + 50;
if ((Math.random() * 2) >= 1) {
extraX = extraX * -1;
}
extraY = (Math.random() * 50) + 40;
if ((Math.random() * 2) >= 1) {
extraY = extraY * -1;
}
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if ((getTimer() > battleTime) && (follow > 2)) {
extraX = (extraY = 0);
follow = 1.5;
_local1.gotoAndPlay("end");
}
if (Key.isDown(16)) {
if (bCnt < 1) {
bCnt = 1;
_local1.ChangeMode();
}
} else {
bCnt = 0;
}
if (Key.isDown(_global.keyCas[1])) {
mode = 1;
} else {
mode = 0;
}
_local1._x = _local1._x + ((((_local2.mainChar._x + extraX) - _x) / follow) - _local2.mainChar.XnowSpeed);
_local1._y = _local1._y + ((((_local2.mainChar._y + extraY) - _y) / follow) - _local2.mainChar.YnowSpeed);
if (attackMode == 1) {
_local1._rotation = _local2.mainChar._rotation;
} else if (attackMode == 2) {
xDis = _local2._xmouse - _x;
yDis = _local2._ymouse - _y;
radian = Math.atan2(yDis, xDis);
_rotation = (radian / (Math.PI/180));
}
if (mode) {
i++;
if (i >= 20) {
i = 0;
if (attackMode == 3) {
_local1._rotation = (Math.random() * 360) - 180;
}
_local1.play();
}
}
};
Symbol 443 MovieClip [WeponSystem1_or] Frame 7
this.stop();
Symbol 443 MovieClip [WeponSystem1_or] Frame 11
this.gotoAndStop(7);
Symbol 443 MovieClip [WeponSystem1_or] Frame 22
this.removeMovieClip();
this.stop();
Symbol 446 MovieClip [WeponSystem1_sb] Frame 1
function ChangeMode() {
if (attackMode == 3) {
attackMode = 1;
} else {
attackMode++;
}
}
var time0 = getTimer();
var battleTime = 10000;
battleTime = battleTime + time0;
var mode = 0;
var attackMode = 1;
var follow = (3 + (Math.random() * 3));
var i = Math.round(Math.random() * 10);
extraX = (Math.random() * 50) + 50;
if ((Math.random() * 2) >= 1) {
extraX = extraX * -1;
}
extraY = (Math.random() * 50) + 40;
if ((Math.random() * 2) >= 1) {
extraY = extraY * -1;
}
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if ((getTimer() > battleTime) && (follow > 2)) {
extraX = (extraY = 0);
follow = 1.5;
_local1.gotoAndPlay("end");
}
if (Key.isDown(16)) {
if (bCnt < 1) {
bCnt = 1;
_local1.ChangeMode();
}
} else {
bCnt = 0;
}
if (Key.isDown(_global.keyCas[1])) {
mode = 1;
} else {
mode = 0;
}
_local1._x = _local1._x + ((((_local2.mainChar._x + extraX) - _x) / follow) - _local2.mainChar.XnowSpeed);
_local1._y = _local1._y + ((((_local2.mainChar._y + extraY) - _y) / follow) - _local2.mainChar.YnowSpeed);
if (attackMode == 1) {
_local1._rotation = _local2.mainChar._rotation;
} else if (attackMode == 2) {
xDis = _local2._xmouse - _x;
yDis = _local2._ymouse - _y;
radian = Math.atan2(yDis, xDis);
_rotation = (radian / (Math.PI/180));
}
if (mode) {
i++;
if (i >= 20) {
i = 0;
if (attackMode == 3) {
_local1._rotation = (Math.random() * 360) - 180;
}
_local1.play();
}
}
};
Symbol 446 MovieClip [WeponSystem1_sb] Frame 7
this.stop();
Symbol 446 MovieClip [WeponSystem1_sb] Frame 11
this.gotoAndStop(7);
Symbol 446 MovieClip [WeponSystem1_sb] Frame 22
this.removeMovieClip();
this.stop();
Symbol 449 MovieClip [overShotEF] Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = _global;
var _local3 = this;
i = 1;
while (i < _local2.SetMaxEnemyNo) {
if (_local3.hitTest(_local1[i]._x, _local1[i]._y, true)) {
_local1[i].hit(0, 0);
}
i++;
}
i = 21;
while (i < (21 + _local2.setMaxMisNo)) {
if (_local3.hitTest(_local1[i]._x, _local1[i]._y, true)) {
_local1[i].hit(0, 0);
}
i++;
}
};
Symbol 449 MovieClip [overShotEF] Frame 6
cnt = cnt - 40;
if (cnt <= 0) {
this._name = "end";
this.gotoAndPlay("end");
}
Symbol 449 MovieClip [overShotEF] Frame 8
this.gotoAndPlay(_currentframe - 2);
Symbol 449 MovieClip [overShotEF] Frame 15
this.onEnterFrame = null;
Symbol 449 MovieClip [overShotEF] Frame 23
_root.mainChar.char.overShotEnd();
this.removeMovieClip();
Symbol 451 MovieClip Frame 1
_visible = false;
if (this.hitTest(_root.mainChar._x, _root.mainChar._y, true)) {
_parent.Hit(0);
}
if (this.hitTest(_root.mainChar.char.gardArea)) {
_parent.Hit(1);
}
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
_parent.Hit(2);
}
Symbol 453 MovieClip Frame 1
function Hit(param) {
var _local1 = this;
var _local2 = _root;
trace("\u6575\u5F3E\u5F53\u305F\u308A\u5224\u5B9A\u51E6\u7406");
if (param < 1) {
_local2.mainChar.damage(dmgPoint, dmgType);
_local1.gotoAndPlay("hit");
} else if (param < 2) {
_local2.mainHp.AddScore(10, "gos");
_local1.gotoAndPlay("hit");
} else {
_local2.mainHp.AddScore(100, "sos");
_local1.gotoAndPlay("hit");
}
}
var total = 0;
var speed = 50;
var dmgPoint = 70;
Symbol 453 MovieClip Frame 2
this._x = this._x + speed;
total = total + speed;
if (total >= 1500) {
_parent.removeMovieClip();
}
Symbol 453 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 453 MovieClip Frame 4
EliSound = new Sound();
EliSound.attachSound("noize3");
Elisound.start(0, 1);
Symbol 453 MovieClip Frame 13
_parent.removeMovieClip();
Symbol 454 MovieClip [enemy_shot1EF] Frame 1
this.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
};
Symbol 457 MovieClip [dmg] Frame 1
this.dmgC.dmg = 50;
Symbol 457 MovieClip [dmg] Frame 15
this.removeMovieClip();
Symbol 460 MovieClip [effect_baidSarcle] Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
var _local3 = _global;
i = 1;
while (i < _local3.SetMaxEnemyNo) {
if (_local2.hitTest(_local1[i])) {
_local1[i].hit(2, 0);
}
i++;
}
i = 21;
while (i < (21 + _local3.setMaxMisNo)) {
if (_local2.hitTest(_local1[i])) {
_local1[i].hit(2, 0);
}
i++;
}
_local2._x = _local2._x - (moveX + _local1.mainChar.XnowSpeed);
_local2._y = _local2._y - (moveY + _local1.mainChar.YnowSpeed);
};
Symbol 460 MovieClip [effect_baidSarcle] Frame 19
this.onEnterFrame = null;
Symbol 460 MovieClip [effect_baidSarcle] Frame 21
this.removeMovieClip();
Symbol 461 MovieClip [mainCharSmoke] Frame 1
function DrowMissileSmoke() {
var _local2 = this;
var _local3 = _parent;
theLoc = {x:_root[_name]._x, y:_root[_name]._y};
_root.backArea.globalToLocal(theLoc);
_local2._x = theLoc.x;
_local2._y = theLoc.y;
ix++;
if (ix > setWait) {
ix = 0;
_global.backEffectDeep++;
var _local1 = "smokeLine" + _global.backEffectDeep;
_local3.attachMovie("smokeLine", _local1, _global.backEffectDeep);
_local3[_local1]._xscale = _local2._x - oldX;
_local3[_local1]._yscale = _local2._y - oldY;
_local3[_local1]._x = oldX;
_local3[_local1]._y = oldY;
oldX = _local2._x;
oldY = _local2._y;
}
}
setWait = 0;
oldX = this._x;
oldY = this._y;
ix = 0;
this.onEnterFrame = function () {
this.DrowMissileSmoke();
};
Symbol 462 MovieClip [missileTypeAsmoke] Frame 1
function DrowMissileSmoke() {
var _local2 = this;
var _local3 = _parent;
theLoc = {x:_root[_name]._x, y:_root[_name]._y};
_root.backArea.globalToLocal(theLoc);
_local2._x = theLoc.x;
_local2._y = theLoc.y;
ix++;
if (ix > setWait) {
ix = 0;
_global.backEffectDeep++;
var _local1 = "missile" + _global.backEffectDeep;
_local3.attachMovie("missileLine", _local1, _global.backEffectDeep);
_local3[_local1]._xscale = _local2._x - oldX;
_local3[_local1]._yscale = _local2._y - oldY;
_local3[_local1]._x = oldX;
_local3[_local1]._y = oldY;
oldX = _local2._x;
oldY = _local2._y;
}
}
setWait = 1;
oldX = this._x;
oldY = this._y;
ix = 0;
this.onEnterFrame = function () {
this.DrowMissileSmoke();
};
Symbol 466 MovieClip [missileTypeA] Frame 1
function hit(dmgType, efType) {
var _local1 = this;
var _local2 = _root;
if (mode) {
trace((("_name\u88AB\u5F3E dmg=" + dmgType) + " ef=") + efType);
_local1.attachMovie([efTypeAry[efType]], "ef", 1);
hp = hp - (_global[dmgTypeAry[dmgType]] - def);
_local1.hpBar._xscale = (hp / baseHp) * 100;
if (hp < 0) {
_local1.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
};
_local2.mainHp.AddScore(score, "m1");
_local1.Down(1);
}
}
}
function Down(param) {
var _local1 = _root;
if (mode) {
if (param) {
_local1.mainHp.AddScore(1000, "mis");
} else if (param == 0) {
_local1.mainChar.damage(dmgPoint, 0);
} else {
_local1.mainChar.damage(dmgPoint / 2, 0);
}
mode = 0;
pas[_name].removeMovieClip();
_local1.radar.RemoveCoItem(_name);
_local1.warningDis.warning(0);
this.gotoAndPlay("bomb");
}
}
function MissileMove() {
var _local2 = this;
var _local3 = _root;
var xDis = (_local3.mainChar._x - _local2._x);
var yDis = (_local3.mainChar._y - _local2._y);
var _local1 = Math.atan2(yDis, xDis);
var XaddSpeed = (addSpeed * Math.cos(_local1));
var YaddSpeed = (addSpeed * Math.sin(_local1));
_local2._rotation = _local1 / (Math.PI/180);
_local2._x = _local2._x + (XaddSpeed - _local3.mainChar.XnowSpeed);
_local2._y = _local2._y + (YaddSpeed - _local3.mainChar.YnowSpeed);
}
function DisplayLerder() {
if (mode) {
_root.radar.getCo(_name, this._x, this._y, 0);
}
}
function HitCheck() {
var _local1 = this;
if (_local1.hitTest(_root.mainChar.damageArea)) {
_local1.Down(0);
}
if (_local1.hitTest(_root.mainChar.char.gardArea)) {
_local1.Down(2);
}
}
mode = 1;
pas = eval (_root.backArea);
score = 1500;
dmgPoint = 200;
hp = 10;
def = 0;
addSpeed = (Math.random() * 10) + 40;
_root.warningDis.warning(1);
if (_global.effectLv > 0) {
pas.attachMovie("missileTypeAsmoke", _name, Number(_name));
theLoc = {x:this._x, y:this._y};
pas.globalToLocal(theLoc);
pas[_name]._x = theLoc.x;
pas[_name]._y = theLoc.y;
}
efTypeAry = new Array();
efTypeAry = ["efHitShot", "efHitBraid"];
dmgTypeAry = new Array();
dmgTypeAry = ["shotDmg", "braidDmg", "extDmg", "parDmg"];
this.onEnterFrame = function () {
var _local1 = this;
_local1.MissileMove();
_local1.DisplayLerder();
_local1.HitCheck();
};
this.stop();
Symbol 466 MovieClip [missileTypeA] Frame 17
this.removeMovieClip();
Symbol 468 MovieClip [smokeLineTutorial] Frame 1
trace("Line\u914D\u7F6E");
Symbol 473 MovieClip [smokeLine] Frame 30
this.removeMovieClip();
Symbol 475 MovieClip [lineLeaserLineLow] Frame 9
this.removeMovieClip();
Symbol 478 MovieClip [lineLeaesrLine] Frame 9
this.removeMovieClip();
Symbol 481 MovieClip [missileLine] Frame 19
this.removeMovieClip();
Symbol 483 MovieClip [whiteMask] Frame 50
trace("\u914D\u7F6E\u3055\u308C\u305FwhiteMask\u3092\u6D88\u53BB\u3057\u307E\u3057\u305F");
this.removeMovieClip();
Symbol 485 MovieClip [hitEF1] Frame 5
this.removeMovieClip();
Symbol 495 MovieClip [tutorial_shotItem] Frame 1
function hit() {
if ((mode == 0) && (shotHit == 1)) {
mode = 1;
_root.pointer.point++;
this.gotoAndPlay("bomb");
}
}
function HitExtra() {
if ((mode == 0) && (braidHit == 1)) {
mode = 1;
_root.pointer.point++;
this.gotoAndPlay("bomb");
}
}
function RemoveMe() {
this.gotoAndPlay("remove");
}
i = 0;
i2 = 0;
No = 1;
mode = 0;
extraX = (Math.random() * 600) - 300;
extraY = (Math.random() * 500) - 250;
follow = 20;
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
_local2._x = _local2._x + ((((_local1.mainChar._x + extraX) - _x) / follow) - _local1.mainChar.XnowSpeed);
_local2._y = _local2._y + ((((_local1.mainChar._y + extraY) - _y) / follow) - _local1.mainChar.YnowSpeed);
_local1.lerder0.lerder1.getCo(_name, _local2._x, _local2._y, 6);
};
Symbol 495 MovieClip [tutorial_shotItem] Frame 10
function shot() {
var _local1 = _root;
i++;
if (i >= 30) {
i = 0;
_local1.missileArea.SetMissile();
_local1.missileArea.SetMissile();
}
thePoint = {x:0, y:0};
this.localToGlobal(thePoint);
shotName = ("enemy_shot" + No) + i;
deep = (i * No) + 250;
xDis = _local1.mainChar._x - _x;
yDis = _local1.mainChar._y - _y;
radian = Math.atan2(yDis, xDis);
kakudo = radian / (Math.PI/180);
_local1.attachMovie("enemy_shot1EF", shotName, deep);
_local1[shotName]._x = _x;
_local1[shotName]._y = _y;
_local1[shotName]._rotation = (kakudo + (Math.random() * 30)) - 15;
}
i2++;
if (i2 >= 30) {
this.gotoAndPlay("remove");
}
this.shot();
Instance of Symbol 52 MovieClip "hitArea" in Symbol 495 MovieClip [tutorial_shotItem] Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
_parent.HitExtra();
}
}
Symbol 495 MovieClip [tutorial_shotItem] Frame 12
this.gotoAndPlay(_currentframe - 2);
Symbol 495 MovieClip [tutorial_shotItem] Frame 25
this._x = Math.random() * 800;
this._y = Math.random() * 600;
this.gotoAndPlay("first");
Symbol 499 MovieClip [tutorial_enemy1] Frame 1
function hit() {
if ((mode == 0) && (shotHit == 1)) {
mode = 1;
_root.pointer.point++;
this.gotoAndPlay("bomb");
}
}
function HitExtra() {
if ((mode == 0) && (braidHit == 1)) {
mode = 1;
_root.pointer.point++;
this.gotoAndPlay("bomb");
}
}
function RemoveMe() {
this.gotoAndPlay("remove");
}
mode = 0;
extraX = (Math.random() * 600) - 300;
extraY = (Math.random() * 500) - 250;
follow = (Math.random() * 5) + 2;
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
_local2._x = _local2._x + ((((_local1.mainChar._x + extraX) - _x) / follow) - _local1.mainChar.XnowSpeed);
_local2._y = _local2._y + ((((_local1.mainChar._y + extraY) - _y) / follow) - _local1.mainChar.YnowSpeed);
_local1.lerder0.lerder1.getCo(_name, _local2._x, _local2._y, 6);
};
Symbol 499 MovieClip [tutorial_enemy1] Frame 10
this.stop();
Instance of Symbol 52 MovieClip "hitArea" in Symbol 499 MovieClip [tutorial_enemy1] Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
_parent.HitExtra();
}
}
Symbol 499 MovieClip [tutorial_enemy1] Frame 28
_root.lerder0.lerder1.RemoveCoItem(_name);
_root.menu.inMenu.ResetEnemy();
this.removeMovieClip();
Symbol 499 MovieClip [tutorial_enemy1] Frame 35
_root.lerder0.lerder1.RemoveCoItem(_name);
this.removeMovieClip();
Symbol 506 MovieClip [tutorial_moveGoal] Frame 1
_root.attachMovie("tutorial_yajirusi", "yajirusi", 242);
_root.yajirusi._x = _root.mainChar._x;
_root.yajirusi._y = _root.mainChar._y;
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
_local2._x = _local2._x + (-_local1.mainChar.XnowSpeed);
_local2._y = _local2._y + (-_local1.mainChar.YnowSpeed);
_local1.lerder0.lerder1.getCo(_name, _local2._x, _local2._y, 6);
_local1.attachMovie("smokeLineTutorial", "smokeLineTutorial", 241);
_local1.smokeLineTutorial._x = _local2._x;
_local1.smokeLineTutorial._y = _local2._y;
_local1.smokeLineTutorial._xscale = _local1.mainChar._x - _local2._x;
_local1.smokeLineTutorial._yscale = _local1.mainChar._y - _local2._y;
};
this.stop();
Instance of Symbol 52 MovieClip in Symbol 506 MovieClip [tutorial_moveGoal] Frame 1
onClipEvent (load) {
mode = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainChar.damageArea) && (mode == 1)) {
mode = 0;
_parent.gotoAndPlay("ok");
}
}
Instance of Symbol 501 MovieClip in Symbol 506 MovieClip [tutorial_moveGoal] Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
}
Instance of Symbol 501 MovieClip in Symbol 506 MovieClip [tutorial_moveGoal] Frame 10
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
}
Symbol 506 MovieClip [tutorial_moveGoal] Frame 25
_root.menu.inMenu.SetMoveTutorial();
Symbol 507 MovieClip [removeItem] Frame 2
this.removeMovieClip();
Symbol 514 Button
on (release) {
_global.firstStage = "tutorial";
_root.SetMainChar();
this.removeMovieClip();
}
Symbol 517 Button
on (release) {
_global.firstStage = "Test";
_root.SetMainChar();
this.removeMovieClip();
}
Symbol 520 Button
on (release) {
_parent.play();
}
Symbol 522 MovieClip [selectWindow] Frame 8
this.stop();
Symbol 522 MovieClip [selectWindow] Frame 14
this.removeMovieClip();
Symbol 526 MovieClip [tutorial_yajirusi] Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
xDis = _local1.goal._x - _local1.mainChar._x;
yDis = _local1.goal._y - _local1.mainChar._y;
radian = Math.atan2(yDis, xDis);
kakudo = radian / (Math.PI/180);
this._rotation = kakudo;
};
Symbol 528 MovieClip Frame 1
total = 0;
speed = 90;
Symbol 528 MovieClip Frame 2
i = 1;
while (i < _global.SetMaxEnemyNo) {
if (this.hitTest(_root[i])) {
_root[i].hit(2, 1);
}
i++;
}
i = 21;
while (i < (21 + _global.setMaxMisNo)) {
if (this.hitTest(_root[i])) {
_root[i].hit(2, 1);
}
i++;
}
this._x = this._x + speed;
total = total + speed;
if (total >= 600) {
_parent.removeMovieClip();
}
Symbol 528 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 542 MovieClip Frame 1
this.stop();
Symbol 542 MovieClip Frame 10
_parent.gotoAndPlay("result");
Symbol 555 Button
on (release) {
_root.SoundStop();
_root.gotoAndStop("Title");
this.removeMovieClip();
}
Instance of Symbol 542 MovieClip in Symbol 564 MovieClip [gameOverDisplay] Frame 41
onClipEvent (load) {
this._xscale = 0;
par = 0;
}
onClipEvent (enterFrame) {
this._xscale = this._xscale + ((100 - this._xscale) / 5);
if (this._xscale > 98) {
_parent.textResult.gotoAndStop(1);
this._xscale = 100;
this.play();
}
}
Symbol 564 MovieClip [gameOverDisplay] Frame 42
mes = ((("\u30DF\u30C3\u30B7\u30E7\u30F3\u540D\uFF1A" + missionName) + "\n\u6A5F\u4F53\u540D\u79F0\uFF1A") + charName) + newline;
mes = mes + (("\u6226\u95D8\u6642\u9593\uFF1A" + totalTime) + newline);
mes = mes + (("\u88AB\u5F3E\u6570 " + dmgCnt) + newline);
mes = mes + "\u6483\u589C\u6A5F\u8A73\u7D30--------------\n";
totalDown = (((fg + fs) + fe) + s1) + m1;
if (totalDown < 1) {
mes = mes + "\u6483\u7834\u306A\u3057";
}
if (fg > 0) {
mes = mes + (("\u30AC\u30F3\u30D5\u30ED\u30FC\u30C8 " + fg) + newline);
}
if (fs > 0) {
mes = mes + (("SAM\u30D5\u30ED\u30FC\u30C8 " + fs) + newline);
}
if (fe > 0) {
mes = mes + (("ECM\u30D5\u30ED\u30FC\u30C8 " + fe) + newline);
}
if (s1 > 0) {
mes = mes + (("\u99C6\u9010\u6226\u95D8\u8247 " + s1) + newline);
}
if (m1 > 0) {
mes = mes + (("\u30DF\u30B5\u30A4\u30EB " + m1) + newline);
}
mes = mes + ("\n\u7DCF\u6483\u7834\u6570 " + totalDown);
mes = mes + ("\n\u7DCF\u5408\u8A55\u4FA1 " + score);
this.stop();
Symbol 564 MovieClip [gameOverDisplay] Frame 60
this.stop();
Symbol 568 MovieClip [efHitBraid2] Frame 1
this._xscale = (Math.random() * 1200) - 600;
this._yscale = (Math.random() * 300) + 100;
this._rotation = Math.random() * 360;
Symbol 568 MovieClip [efHitBraid2] Frame 3
this.removeMovieClip();
Symbol 569 MovieClip [efHitBraid] Frame 1
this._xscale = (Math.random() * 300) - 150;
this._rotation = Math.random() * 360;
Symbol 569 MovieClip [efHitBraid] Frame 3
this.removeMovieClip();
Symbol 572 MovieClip [efHitShot2] Frame 1
this._xscale = (Math.random() * 1200) - 600;
this._yscale = (Math.random() * 1200) - 600;
this._rotation = Math.random() * 360;
Symbol 572 MovieClip [efHitShot2] Frame 2
this.removeMovieClip();
Symbol 573 MovieClip [efHitShot] Frame 1
this._xscale = (Math.random() * 300) - 150;
this._yscale = (Math.random() * 300) - 150;
Symbol 573 MovieClip [efHitShot] Frame 2
this.removeMovieClip();
Symbol 574 MovieClip [shotHit] Frame 1
this._xscale = (Math.random() * 300) - 150;
this._yscale = (Math.random() * 300) - 150;
Symbol 574 MovieClip [shotHit] Frame 2
this.removeMovieClip();
Symbol 577 MovieClip Frame 1
if (_global.effectLv > 0) {
this.gotoAndStop(2);
} else {
this.stop();
}
Symbol 582 Button
on (release) {
_root.mainHp.EndGame();
}
Symbol 584 MovieClip [displayMes] Frame 1
function AddMes(name, tempMes, mesType) {
theSound.attachSound(getMesSe[mesType]);
theSound.start();
mesRecord.pop();
mesRecord.unshift(((name + ":") + tempMes) + newline);
mes = "";
i = 0;
while (i < 4) {
mes = mes + mesRecord[i];
i++;
}
this.gotoAndPlay(6);
}
theSound = new Sound();
getMesSe = new Array();
getMesSe = ["SE_getMes1", "SE_getMes2"];
mesRecord = new Array();
i = 0;
while (i < 4) {
mesRecord[i] = "";
i++;
}
randomMes = new Array();
randomMes = ["AWACS", "\u30D5\u30ED\u30FC\u30C8\u8B66\u6212", 0, "AWACS", "\u30D1\u30B7\u30D5\u30A3\u30AF\u30B9\u78BA\u8A8D\u3000\u6A5F\u6570 6", 0, "AWACS", "\u30A4\u30FC\u30B8\u30D5\u30EC\u30FC\u30E0\u78BA\u8A8D\u3000\u6A5F\u6570 8", 0, "<FONT COLOR='#FFAAAA'>\u306F\u308B\u304B\u305C(P)</FONT>", "\u8ABF\u5B50\u3069\u3046\uFF1F\u3000\u3044\u3051\u308B\uFF1F", 1, "\u306F\u308B\u304B\u305C(P)", "\u3068\u308A\u3042\u3048\u305A\u52D5\u304F\u4E8B\u3002\u6B62\u307E\u308B\u3068\u3082\u3089\u3063\u3061\u3083\u3046\u3088", 1];
this.AddMes("SYSTEM", "SYSTEMS ALL GREEN", 1);
trace(randomMes[0]);
Symbol 584 MovieClip [displayMes] Frame 5
this.stop();
Symbol 584 MovieClip [displayMes] Frame 64
this.gotoAndStop(5);
Symbol 591 MovieClip [ECCM] Frame 8
this.removeMovieClip();
Symbol 599 Button
on (release) {
_root.gotoAndStop("menu");
_root.AllRemove();
this.removeMovieClip();
}
Symbol 600 Button
on (release) {
_global.command = "write";
_root.gotoAndStop("ranking");
this.removeMovieClip();
}
Symbol 613 MovieClip [display_timeAttackCOMPLETE] Frame 4
best1 = 0;
best2 = 0;
time = _root.timeDis.GetTime();
hpPer = _root.mainHp.getHp("per");
pe = Math.floor(10 * (100 - hpPer)) / 100;
totalTime = Number(time) + pe;
time1 = Math.floor(totalTime * 100);
if ((time1 % 10) == 0) {
if ((time1 % 100) == 0) {
trace("2\u6841\u8DB3\u3059 h=" + time1);
totalTime = (time1 / 100) + ".00";
} else {
trace("1\u6841\u8DB3\u3059 h=" + time1);
totalTime = (time1 / 100) + "0";
}
} else {
totalTime = time1 / 100;
}
_global.gTime = totalTime;
if ((_global.gTime < _root.so.data.yourBestTime) || (_root.so.data.yourBestTime == null)) {
trace("\n\u81EA\u5DF1\u6700\u9AD8\u8A18\u9332\u66F4\u65B0\n");
_root.so.data.yourBestTime = _global.gTime;
_root.so.data.yourBestPac = _root.charName;
best1 = 1;
}
tempI = _root.charName;
if ((_global.gTime < _root.so.data[("pac" + tempI) + "bestTime"]) || (_root.so.data[("pac" + tempI) + "bestTime"] == null)) {
trace(("\n\u6A5F\u4F53\u5225\u6700\u9AD8\u8A18\u9332\u66F4\u65B0 no = " + tempI) + newline);
_root.so.data[("pac" + tempI) + "bestTime"] = _global.gTime;
best2 = 1;
}
disMes = (((("(TIME " + time) + ") + (PENALTY ") + pe) + ") = TOTALTIME ") + totalTime;
trace((((((("\n\n\u7D4C\u904E\u6642\u9593=" + time) + "\nHP\u6B8B\u91CF=") + hpPer) + "\n\u30DA\u30CA\u30EB\u30C6\u30A3=") + pe) + "\n\u7DCF\u5408=") + totalTime);
Instance of Symbol 609 MovieClip in Symbol 613 MovieClip [display_timeAttackCOMPLETE] Frame 68
onClipEvent (load) {
if (!_parent.best1) {
this._visible = 0;
}
}
Instance of Symbol 612 MovieClip in Symbol 613 MovieClip [display_timeAttackCOMPLETE] Frame 68
onClipEvent (load) {
if (!_parent.best2) {
this._visible = 0;
}
}
Symbol 613 MovieClip [display_timeAttackCOMPLETE] Frame 69
this.stop();
Symbol 627 MovieClip [display_timeAttackFirst] Frame 112
_root.time0 = 50;
_root.timeDis.TimeCon(1);
this.removeMovieClip();
this._visible = 0;
this.stop();
Symbol 631 MovieClip [ef_btbHit] Frame 1
this._xscale = (Math.random() * 800) - 400;
this._yscale = (Math.random() * 800) - 400;
Symbol 631 MovieClip [ef_btbHit] Frame 4
this.removeMovieClip();
Symbol 634 MovieClip [ef_btbHit2] Frame 1
this._xscale = (this._yscale = Math.random() * 150);
Symbol 634 MovieClip [ef_btbHit2] Frame 3
this.removeMovieClip();
Symbol 635 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 636 MovieClip Frame 1
_parent.style = "p_standing";
Symbol 637 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 637 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Symbol 638 MovieClip Frame 1
_parent.ChangeAttackDmg(1);
Symbol 638 MovieClip Frame 6
this.gotoAndPlay(_currentframe - 2);
Symbol 641 MovieClip Frame 1
if (_parent._parent._name != "mainChar") {
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
trace("\u30D6\u30EC\u30FC\u30C9\u3068\u30D6\u30EC\u30FC\u30C9\u304C\u63A5\u89E6");
_parent.hitBraid();
}
}
this._visible = false;
Symbol 644 MovieClip Frame 1
function setEffect() {
var _local1 = this;
theSound.start(0);
i = 0;
while (i < 3) {
efName = "ef" + i;
_local1.attachMovie("ef_btbHit2", efName, i);
_local1[efName]._x = 100 + (Math.random() * 400);
_local1[efName]._y = (Math.random() * 300) - 150;
i++;
}
i = 3;
while (i < 13) {
efName = "ef" + i;
_local1.attachMovie("ef_btbHit", efName, i);
_local1[efName]._x = 300;
i++;
}
}
function hitBraid() {
trace("\u30D6\u30EC\u30FC\u30C9\u63A5\u89E6\u5224\u5B9A");
if (!stopFlag) {
timeEnd = getTimer() + wait;
stopFlag = 1;
_root.mainChar.char.hitBraid();
this.setEffect();
this.stop();
}
}
stopFlag = 0;
wait = 200;
theSound = new Sound();
theSound.attachSound("set_3");
this.onEnterFrame = function () {
if (stopFlag && (getTimer() < timeEnd)) {
trace("\u505C\u6B62\u4E2D");
} else {
stopFlag = 0;
this.play();
}
};
Symbol 644 MovieClip Frame 3
_parent.ChangeAttackDmg(3);
Symbol 644 MovieClip Frame 8
if (Key.isDown(_global.keyCas[1]) && (_parent._name == "mainChar")) {
this.gotoAndPlay("braid2");
} else {
this.gotoAndPlay("braid2");
}
Symbol 644 MovieClip Frame 12
_parent.gotoAndStop("paci_standing");
Symbol 644 MovieClip Frame 25
_parent.ChangeAttackDmg(4);
Symbol 644 MovieClip Frame 31
if (Key.isDown(_global.keyCas[1]) && (_parent._name == "mainChar")) {
this.gotoAndPlay("braid3");
} else {
this.gotoAndPlay("braid3");
}
Symbol 644 MovieClip Frame 36
_parent.gotoAndStop("paci_standing");
Symbol 644 MovieClip Frame 53
_parent.ChangeAttackDmg(5);
Symbol 644 MovieClip Frame 70
_parent.gotoAndStop("paci_standing");
Symbol 645 MovieClip Frame 1
function setWeponSystem1() {
var _local1 = _root;
thePoint = {x:-350, y:180};
this.localToGlobal(thePoint);
_local1.attachMovie("WeponSystem1_sb", WeponName, 5 + i);
_local1[WeponName]._x = thePoint.x;
_local1[WeponName]._y = thePoint.y;
var _local2 = Math.random() * 2;
_local1[WeponName]._xscale = BaseSize + _local2;
_local1[WeponName]._yscale = BaseSize + _local2;
}
randSizeWidth = 0;
BaseSize = _parent._xscale + 10;
_root.textDisplay.mesRecord("\u5B50\u6A5F\u5C55\u958B");
_parent.style = "equipWepon";
Symbol 645 MovieClip Frame 7
_parent.changeAttackDmg(10);
i = 1;
WeponName = "wepon0";
this.setWeponSystem1();
Symbol 645 MovieClip Frame 9
WeponName = "wepon1";
i = 2;
this.setWeponSystem1();
Symbol 645 MovieClip Frame 11
WeponName = "wepon2";
i = 3;
this.setWeponSystem1();
Symbol 645 MovieClip Frame 22
_parent.style = "p_standing";
_parent.gotoAndPlay("paci_standing");
Symbol 646 MovieClip Frame 1
function overShotEnd() {
this.gotoAndPlay(1);
}
EFsize = 100;
if (Key.isDown(_global.keyCas[1])) {
this.gotoAndPlay("charge");
}
Symbol 646 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 2);
Symbol 646 MovieClip Frame 7
this.attachMovie("sarcleEF", "sarcleEF", 600);
this.sarcleEF._x = 266;
this.sarcleEF._y = 5;
Symbol 646 MovieClip Frame 8
if (Key.isDown(_global.keyCas[1])) {
EFsize = EFsize + 5;
this.sarcleEF._xscale = (this.sarcleEF._yscale = EFsize);
} else {
this.gotoAndStop("shot");
}
Symbol 646 MovieClip Frame 9
this.gotoAndPlay(_currentframe - 1);
Symbol 646 MovieClip Frame 15
_parent.ChangeAttackDmg(2);
name = "shotArea";
this.attachMovie("overShotEF", name, 600);
this[name]._x = 260;
this[name]._y = 6;
this[name]._xscale = EFsize * 2;
this[name]._yscale = EFsize * 2;
this[name].cnt = EFsize;
Symbol 647 MovieClip Frame 1
this.onEnterFrame = function () {
if (!Key.isDown(_global.keyCas[3])) {
_parent.gotoAndStop("paci_standing");
}
};
Instance of Symbol 237 MovieClip in Symbol 647 MovieClip Frame 1
onClipEvent (load) {
ro = 5;
}
Instance of Symbol 237 MovieClip in Symbol 647 MovieClip Frame 1
onClipEvent (load) {
ro = -5;
}
Symbol 647 MovieClip Frame 6
this.stop();
Symbol 648 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Symbol 654 MovieClip Frame 36
_parent.changeAttackDmg(7);
Symbol 654 MovieClip Frame 57
_parent.gotoAndStop("sky_normal");
Symbol 658 MovieClip Frame 5
this.onEnterFrame = function () {
_parent._y = _parent._y + 10;
this._rotation = 0;
};
Symbol 658 MovieClip Frame 50
this.stop();
Symbol 659 MovieClip [char2] Frame 1
bodyName = "charData2";
if (!userCon) {
this.gotoAndStop(7);
}
Symbol 659 MovieClip [char2] Frame 2
function ChangeAttackDmg(atkNo) {
var _local1 = atkNo;
var _local2 = _global;
var _local3 = _root;
if (_local1 < 3) {
_local2.shotDmg = _local3[bodyName][24 + _local1];
} else if (_local1 < 8) {
_local2.braidDmg = _local3[bodyName][24 + _local1];
} else if (_local1 < 10) {
_local2.extDmg = _local3[bodyName][24 + _local1];
} else {
_local2.parDmg = _local3[bodyName][24 + _local1];
}
trace("\u653B\u6483\u529B\u5909\u66F4 No = " + (24 + _local1));
trace((((("s=" + _local2.shotDmg) + "\nb=") + _local2.braidDmg) + "\ne=") + _local2.extDmg);
}
function getBraidmode() {
return(braidMode);
}
function ChangeWepon() {
braidMode = !braidMode;
this.char.handF.braid.InBraidOpen(braidMode);
_root.weponSymbol.WeponSymbolChange(braidMode);
}
function getDirection() {
return(direction);
}
function boostMove(flag) {
if (flag > 0) {
this.gotoAndPlay("boost");
theBoostSE.start();
speedDownCnt = 5;
var _local1 = (_rotation * Math.PI) / 180;
XnowSpeed = XnowSpeed + (boostSpeed * Math.cos(_local1));
YnowSpeed = YnowSpeed + (boostSpeed * Math.sin(_local1));
} else if (speedDownCnt > 0) {
XnowSpeed = XnowSpeed / boostDownExt;
YnowSpeed = YnowSpeed / boostDownExt;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
speedDownCnt--;
if (speedDownCnt == 0) {
boostMode = 0;
}
}
}
function SpeedUP() {
if (!boostMode) {
if (style == "s") {
maxSpeed = SmaxSpeed;
addSpeed = SaddSpeed;
} else if (style == "overGun") {
maxSpeed = EmaxSpeed;
addSpeed = EaddSpeed;
} else {
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
}
if (style == "p_standing") {
this.gotoAndStop("paci(s->n)");
}
var _local1 = (_rotation * Math.PI) / 180;
var _local3 = XnowSpeed + (addSpeed * Math.cos(_local1));
var _local2 = YnowSpeed + (addSpeed * Math.sin(_local1));
var tempnowSpeed = (Math.abs(_local3) + Math.abs(_local2));
if (tempnowSpeed <= maxSpeed) {
XnowSpeed = _local3;
YnowSpeed = _local2;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
}
}
}
function normal() {
this.gotoAndStop("paci_standing");
}
function SpeedDown() {
if ((YnowSpeed < 5) && (YnowSpeed > -5)) {
YnowSpeed = YnowSpeed / 1.1;
} else if (YnowSpeed > 0) {
YnowSpeed = YnowSpeed - 3;
} else {
YnowSpeed = YnowSpeed + 3;
}
if ((XnowSpeed < 5) && (XnowSpeed > -5)) {
XnowSpeed = XnowSpeed / 1.1;
} else if (XnowSpeed > 0) {
XnowSpeed = XnowSpeed - 3;
} else {
XnowSpeed = XnowSpeed + 3;
}
}
function gard() {
if (gardFlag > 0) {
this.gotoAndStop("paci_gard");
}
}
function change() {
if (changeFlag > 0) {
if ((style == "p_normal") || (style == "p_standing")) {
braidMode = 0;
this.gotoAndStop("change(p->s)");
} else {
this.gotoAndStop("change(s->p)");
}
}
}
function GunChange() {
if (overFlag > 0) {
if ((style == "p_normal") || (style == "p_standing")) {
braidMode = 0;
this.gotoAndStop("paci(n->over)");
}
}
}
function atkStart() {
var _local1 = this;
if (style == "s") {
_local1.shot_s1();
} else if (braidMode) {
_local1.braid1();
} else {
_local1.shot_p1();
}
}
function atkEnd() {
var _local1 = this;
if (style == "s") {
_local1.gotoAndStop("sky_normal");
} else if (!braidMode) {
if (nowSpeed <= 25) {
_local1.gotoAndStop("paci_standing");
} else {
_local1.gotoAndStop("paci_normal");
}
}
shotMode = "ready";
}
function shot_p1() {
this.gotoAndStop("paci_s(shot1)");
}
function shot_s1() {
this.gotoAndStop("sky_shot1");
}
function braid1() {
this.gotoAndStop("paci_s(braid1)");
}
function openWepon1() {
if (extFlag > 0) {
if (style == "s") {
if (skyExtFlag > 0) {
this.gotoAndStop("sky_Ext");
}
} else {
this.gotoAndStop("paci_openWepon1");
}
}
}
function TraceMouse() {
xDis = _root._xmouse - _x;
yDis = _root._ymouse - _y;
radian = Math.atan2(yDis, xDis);
kakudo = radian / (Math.PI/180);
_rotation = kakudo;
if ((_rotation <= 180) && (_rotation > 90)) {
direction = "left";
_yscale = (-scale);
} else if (_rotation <= -90) {
direction = "left";
_yscale = (-scale);
} else {
direction = "right";
_yscale = scale;
}
}
function CheckMouseDown() {
if (((getDC > -1) && (boostCnt == 0)) && (dushFlag > 0)) {
boostMode = 1;
boostCnt = 6;
speedMode = 1;
} else {
speedMode = 1;
getDC = DCtime;
}
}
function damage(dmgPoint, dmgType, Nouse1, Nouse2, Nouse3) {
s1++;
_root.mainHp.ChangeHp(dmgPoint - def);
dmgName = "dmg" + s1;
this.attachMovie(this.efTypeAry[dmgType], dmgName, s1);
}
function MainSystem() {
var _local1 = this;
if (speedMode) {
_local1.speedUP();
} else if (nowSpeed <= 25) {
if ((_currentframe == 11) || (_currentframe == 51)) {
_local1.normal();
}
}
if (XnowSpeed >= 0) {
XnowSpeed = XnowSpeed - Xdown;
}
if (XnowSpeed <= 0) {
XnowSpeed = XnowSpeed + Xdown;
}
YnowSpeed = YnowSpeed + Ydown;
if (shotMode == "shot") {
_local1.atkStart();
} else if (shotMode == "stop") {
_local1.atkEnd();
}
}
function GetAction() {
var _local1 = this;
var _local2 = _global;
var _local3 = _root;
if (Key.isDown(_local2[keyName][1])) {
if (style != "overGun") {
shotMode = "shot";
}
} else if (shotMode == "shot") {
shotMode = "stop";
}
if (Key.isDown(_local2[keyName][2])) {
if (bCnt) {
bCnt = 0;
_local1.ChangeWepon();
}
} else {
bCnt = 1;
}
if (Key.isDown(_local2[keyName][3])) {
_local1.gard();
}
if (Key.isDown(_local2[keyName][4])) {
_local1.openWepon1();
}
if (Key.isDown(_local2[keyName][5])) {
_local1.GunChange();
}
if (Key.isDown(_local2[keyName][6])) {
_local1.change();
}
if (Key.isDown(_local2[keyName][7])) {
_local1.SpeedDown();
}
if (Key.isDown(_local2[keyName][8])) {
if (oCnt) {
oCnt = 0;
_local3.attachMovie("ECCM", "ECCM", 800);
_local3.ECCM._x = _local1._x;
_local3.ECCM._y = _local1._y;
}
} else {
oCnt = 1;
}
if (boostCnt > 0) {
if (boostCnt == 6) {
getNowXspeed = XnowSpeed;
getNowYspeed = YnowSpeed;
_local1.boostMove(1);
}
if (boostCnt != 1) {
_local1.boostMove(0);
}
boostCnt--;
}
if (getDC > -1) {
getDC--;
}
}
_global.hp = _root[bodyName][7];
_root.mainHp.HpSet();
en = _root[bodyName][8];
def = _root[bodyName][9];
SmaxSpeed = _root[bodyName][10];
PmaxSpeed = _root[bodyName][11];
EmaxSpeed = _root[bodyName][12];
SaddSpeed = _root[bodyName][13];
PaddSPeed = _root[bodyName][14];
EaddSpeed = _root[bodyName][15];
Sxdown = _root[bodyName][16];
Sydown = _root[bodyName][17];
Pxdown = _root[bodyName][18];
Pydown = _root[bodyName][19];
BoostSpeed = _root[bodyName][20];
boostDownExt = _root[bodyName][21];
weponChangeFlag = _root[bodyName][40];
changeFlag = _root[bodyName][41];
skyExtFlag = _root[bodyName][42];
skyDushFlag = _root[bodyName][43];
extFlag = _root[bodyName][44];
overFlag = _root[bodyName][45];
dushFlag = _root[bodyName][46];
gardFlag = _root[bodyName][47];
scale = _xscale;
direction = "right";
XaddSpeed = 0;
YaddSpeed = 0;
nowSpeed = 0;
XnowSpeed = 0;
YnowSpeed = 0;
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
Xdown = Pxdown;
Ydown = Pydown;
style = "p_standing";
braidMode = 0;
shotMode = "ready";
speedMode = 0;
boostMode = 0;
getDC = 0;
DCtime = 3;
boostCnt = 0;
weponChangeWait = 300;
weponChangeCount = 0;
theBoostSE = new Sound();
theBoostSE.attachSound("boostSE3");
keyName = "keyCas";
s1 = 0;
efTypeAry = ["efHitShot2", "efHitBraid2"];
if (_global.effectLv > 1) {
pas = eval (_root.backArea);
pas.attachMovie("mainCharSmoke", "mainChar", 1);
theLoc = {x:this._x, y:this._y};
pas.globalToLocal(theLoc);
pas[_name]._x = theLoc.x;
pas[_name]._y = theLoc.y;
}
oCnt = 1;
bCnt = 1;
this.onEnterFrame = function () {
this.GetAction();
this.MainSystem();
};
this.onMouseDown = function () {
this.CheckMouseDown();
};
this.onMouseUp = function () {
speedMode = 0;
};
this.onMouseMove = function () {
this.TraceMouse();
};
this.gotoAndStop("paci_standing");
trace("\u5B9A\u7FA9\u7D42\u4E86" + _global.hp);
Symbol 659 MovieClip [char2] Frame 7
function hit(dmgType, efType) {
var _local1 = this;
if (mode) {
trace((("_name\u88AB\u5F3E dmg=" + dmgType) + " ef=") + efType);
_local1.attachMovie([efTypeAry[efType]], "ef", 1);
_local1.ef.scaleExt = 4;
hp = hp - (_global[dmgTypeAry[dmgType]] - def);
_root.hpBar.bar._xscale = (hp / baseHp) * 100;
if (hp < 0) {
_root.mainHp.AddScore(800, "flo");
mode = 0;
_name = null;
_local1.gotoAndPlay("bomb");
}
}
}
function ChangeWepon() {
braidMode = !braidMode;
this.char.handF.braid.InBraidOpen(braidMode);
_root.weponSymbol.WeponSymbolChange(braidMode);
}
function getDirection() {
return(direction);
}
function boostMove(flag) {
if (flag > 0) {
this.gotoAndPlay("boost");
theBoostSE.start();
speedDownCnt = 5;
var _local1 = (_rotation * Math.PI) / 180;
XnowSpeed = XnowSpeed + (boostSpeed * Math.cos(_local1));
YnowSpeed = YnowSpeed + (boostSpeed * Math.sin(_local1));
} else if (speedDownCnt > 0) {
XnowSpeed = XnowSpeed / boostDownExt;
YnowSpeed = YnowSpeed / boostDownExt;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
speedDownCnt--;
if (speedDownCnt == 0) {
boostMode = 0;
}
}
}
function SpeedUP() {
if (!boostMode) {
if (style == "s") {
maxSpeed = SmaxSpeed;
addSpeed = SaddSpeed;
} else if (style == "overGun") {
maxSpeed = EmaxSpeed;
addSpeed = EaddSpeed;
} else {
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
}
if (style == "p_standing") {
this.gotoAndStop("paci(s->n)");
}
var _local1 = (_rotation * Math.PI) / 180;
var _local3 = XnowSpeed + (addSpeed * Math.cos(_local1));
var _local2 = YnowSpeed + (addSpeed * Math.sin(_local1));
var tempnowSpeed = (Math.abs(_local3) + Math.abs(_local2));
if (tempnowSpeed <= maxSpeed) {
XnowSpeed = _local3;
YnowSpeed = _local2;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
}
trace(nowSpeed);
}
}
function normal() {
this.gotoAndStop("paci_standing");
}
function SpeedDown() {
if ((YnowSpeed < 5) && (YnowSpeed > -5)) {
YnowSpeed = YnowSpeed / 1.1;
} else if (YnowSpeed > 0) {
YnowSpeed = YnowSpeed - 3;
} else {
YnowSpeed = YnowSpeed + 3;
}
if ((XnowSpeed < 5) && (XnowSpeed > -5)) {
XnowSpeed = XnowSpeed / 1.1;
} else if (XnowSpeed > 0) {
XnowSpeed = XnowSpeed - 3;
} else {
XnowSpeed = XnowSpeed + 3;
}
}
function gard() {
if (gardFlag > 0) {
this.gotoAndStop("paci_gard");
}
}
function change() {
if (changeFlag > 0) {
if ((style == "p_normal") || (style == "p_standing")) {
braidMode = 0;
this.gotoAndStop("change(p->s)");
} else {
this.gotoAndStop("change(s->p)");
}
}
}
function GunChange() {
if (overFlag > 0) {
if ((style == "p_normal") || (style == "p_standing")) {
braidMode = 0;
this.gotoAndStop("paci(n->over)");
}
}
}
function atkStart() {
var _local1 = this;
if (style == "s") {
_local1.shot_s1();
} else if (braidMode) {
_local1.braid1();
} else {
_local1.shot_p1();
}
}
function atkEnd() {
var _local1 = this;
if (style == "s") {
_local1.gotoAndStop("sky_normal");
} else if (!braidMode) {
if (nowSpeed <= 25) {
_local1.gotoAndStop("paci_standing");
} else {
_local1.gotoAndStop("paci_normal");
}
}
shotMode = "ready";
}
function shot_p1() {
this.gotoAndStop("paci_s(shot1)");
}
function shot_s1() {
this.gotoAndStop("sky_shot1");
}
function braid1() {
this.gotoAndStop("paci_s(braid1)");
}
function openWepon1() {
if (extFlag > 0) {
if (style == "s") {
if (skyExtFlag > 0) {
this.gotoAndStop("sky_Ext");
}
} else {
this.gotoAndStop("paci_openWepon1");
}
}
}
function MainSystem() {
var _local1 = this;
if (speedMode) {
if (Math.random() > 0.98) {
trace(_name + "\u30C0\u30C3\u30B7\u30E5\u5B9F\u884C");
_local1.boostMove(1);
}
if (Math.random() > 0.8) {
_local1.speedUP();
}
} else if (nowSpeed <= 25) {
if ((_currentframe == 11) || (_currentframe == 51)) {
_local1.normal();
}
}
if (shotMode) {
_local1.atkStart();
} else if (shotMode == 0) {
_local1.atkEnd();
}
_root.radar.getCo(_name, _local1._x, _local1._y, 4);
}
function AI() {
var _local3 = this;
var _local1 = _root.mainChar._x - _x;
var _local2 = _root.mainChar._y - _y;
roSpeed = 5;
var radian = Math.atan2(_local2, _local1);
nextRo = radian / (Math.PI/180);
if ((nextRo > 90) && (_rotation < -90)) {
_rotation = (_rotation + (((-360 + nextRo) - _rotation) / roSpeed));
} else if ((nextRo < -90) && (_rotation > 90)) {
_rotation = (_rotation + (((nextRo + 360) - _rotation) / roSpeed));
} else {
_rotation = (_rotation + ((nextRo - _local3._rotation) / roSpeed));
}
if ((_rotation <= 180) && (_rotation > 90)) {
direction = "left";
_yscale = (-scale);
} else if (_rotation <= -90) {
direction = "left";
_yscale = (-scale);
} else {
direction = "right";
_yscale = scale;
}
if (getTimer() > (time0 + 5000)) {
time0 = getTimer();
if (nowTac == 1) {
ChangeWepon();
nowTac = 2;
} else {
ChangeWepon();
nowTac = 1;
}
}
if (nowTac == 1) {
if ((Math.abs(_local1) + Math.abs(_local2)) < 900) {
shotMode = 1;
speedMode = 0;
} else {
shotMode = 0;
speedMode = 1;
}
} else if (nowTac == 2) {
if ((Math.abs(_local1) + Math.abs(_local2)) < 300) {
shotMode = 1;
speedMode = 0;
} else {
shotMode = 0;
speedMode = 1;
}
}
_local3._x = _local3._x - ((-XnowSpeed) + _root.mainChar.XnowSpeed);
_local3._y = _local3._y - ((-YnowSpeed) + _root.mainChar.YnowSpeed);
_local3._x = _local3._x + (_local1 / 8);
_local3._y = _local3._y + (_local2 / 8);
}
hp = (baseHp = 150000);
en = _root[bodyName][8];
def = _root[bodyName][9];
SmaxSpeed = _root[bodyName][10];
PmaxSpeed = _root[bodyName][11];
EmaxSpeed = _root[bodyName][12];
SaddSpeed = _root[bodyName][13];
PaddSPeed = _root[bodyName][14];
EaddSpeed = _root[bodyName][15];
Sxdown = _root[bodyName][16];
Sydown = _root[bodyName][17];
Pxdown = _root[bodyName][18];
Pydown = _root[bodyName][19];
BoostSpeed = _root[bodyName][20];
boostDownExt = _root[bodyName][21];
weponChangeFlag = _root[bodyName][40];
changeFlag = _root[bodyName][41];
skyExtFlag = _root[bodyName][42];
skyDushFlag = _root[bodyName][43];
extFlag = _root[bodyName][44];
overFlag = _root[bodyName][45];
dushFlag = _root[bodyName][46];
gardFlag = _root[bodyName][47];
scale = _xscale;
direction = "right";
XaddSpeed = 0;
YaddSpeed = 0;
nowSpeed = 0;
XnowSpeed = 0;
YnowSpeed = 0;
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
Xdown = Pxdown;
Ydown = Pydown;
style = "p_standing";
braidMode = 0;
shotMode = "ready";
speedMode = 0;
boostMode = 0;
getDC = 0;
DCtime = 3;
boostCnt = 0;
weponChangeWait = 300;
weponChangeCount = 0;
theBoostSE = new Sound();
theBoostSE.attachSound("boostSE3");
mode = 1;
nowTac = 2;
efTypeAry = new Array();
efTypeAry = ["efHitShot2", "efHitBraid2"];
dmgTypeAry = new Array();
dmgTypeAry = ["shotDmg", "braidDmg", "extDmg", "parDmg"];
_root.attachMovie("enemyHpBar2", "hpBar", 1000);
_root.hpBar.traceName = _name;
time0 = getTimer();
this.onEnterFrame = function () {
var _local1 = this;
if (mode) {
_local1.AI();
_local1.MainSystem();
} else {
_local1._x = _local1._x - _root.mainChar.XnowSpeed;
_local1._y = _local1._y - _root.mainChar.YnowSpeed;
}
};
this.gotoAndStop("paci_standing");
Symbol 659 MovieClip [char2] Frame 11
this.stop();
Symbol 659 MovieClip [char2] Frame 20
this.stop();
Symbol 659 MovieClip [char2] Frame 30
this.stop();
Symbol 659 MovieClip [char2] Frame 40
this.stop();
Symbol 659 MovieClip [char2] Frame 50
this.stop();
Symbol 659 MovieClip [char2] Frame 60
this.stop();
Symbol 659 MovieClip [char2] Frame 70
this.stop();
Symbol 659 MovieClip [char2] Frame 80
this.stop();
Symbol 659 MovieClip [char2] Frame 90
this.stop();
Symbol 659 MovieClip [char2] Frame 100
this.stop();
Symbol 659 MovieClip [char2] Frame 110
this.stop();
Symbol 659 MovieClip [char2] Frame 120
this.stop();
Symbol 659 MovieClip [char2] Frame 130
this.stop();
Symbol 659 MovieClip [char2] Frame 140
this.stop();
Symbol 659 MovieClip [char2] Frame 150
this.stop();
Symbol 659 MovieClip [char2] Frame 160
this.stop();
Symbol 659 MovieClip [char2] Frame 170
this.stop();
Symbol 659 MovieClip [char2] Frame 180
this.stop();
Symbol 681 Button
on (release) {
_root.gotoAndStop("title");
}
Symbol 683 MovieClip Frame 1
dwonload = _root.getBytesLoaded;
Symbol 683 MovieClip Frame 2
this.onEnterFrame = function () {
var _local1 = this;
loadedSize = _root.getBytesLoaded();
totalSize = _root.getBytesTotal();
if (loadedSize >= totalSize) {
_local1.gotoAndStop(5);
_local1.onEnterFrame = null;
} else {
downloadParcent = (loadedSize / totalSize) * 100;
_local1.bar._xscale = downloadParcent;
}
};
this.stop();
Symbol 689 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 693 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = this;
if (moveX != null) {
_local1._x = _local1._x + moveX;
if (_local1._x > maxX) {
_local1._x = minX + (_local1._x - maxX);
}
if (_local1._x < minX) {
_local1._x = maxX + _local1._x;
}
}
if (moveY != null) {
_local1._y = _local1._y + moveY;
if (_local1._y > maxY) {
_local1._y = minY + (_local1._y - maxY);
}
if (_local1._y < minY) {
_local1._y = maxY + _local1._y;
}
}
};
Symbol 703 MovieClip Frame 7
this.stop();
Symbol 706 Button
on (release) {
_parent.SelectMenu("test");
}
Symbol 708 Button
on (release) {
_parent.SelectMenu("option");
}
Symbol 710 Button
on (release) {
getURL ("http://www12.plala.or.jp/nextframe", _blank);
}
Symbol 712 Button
on (release) {
_parent.SelectMenu("credit");
}
Symbol 716 Button
on (release) {
_parent.SelectMenu("timeAttack");
}
Symbol 734 Button
on (release) {
this.SelectMenu(0);
}
Symbol 746 MovieClip Frame 1
_visible = 0;
Symbol 754 MovieClip Frame 1
if (_global.effectLv > 1) {
this.gotoAndStop(3);
} else if (_global.effectLv > 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(4);
}
Symbol 754 MovieClip Frame 2
_global.effectLv = (_root.so.data.effectLv = 1);
this.stop();
Symbol 754 MovieClip Frame 3
_global.effectLv = (_root.so.data.effectLv = 2);
this.stop();
Symbol 754 MovieClip Frame 4
_global.effectLv = (_root.so.data.effectLv = 0);
this.stop();
Symbol 754 MovieClip Frame 5
this.gotoAndStop(2);
Symbol 755 MovieClip Frame 1
this.hitArea = myHitArea;
this.stop();
Symbol 758 Button
on (press) {
this.play();
}
Symbol 770 MovieClip Frame 1
if (_quality == "HIGH") {
this.gotoAndStop(3);
} else if (_quality == "LOW") {
this.gotoAndStop(4);
}
Symbol 770 MovieClip Frame 2
_quality = ((_root.so.data.quality = "MEDIUM"));
this.stop();
Symbol 770 MovieClip Frame 3
_quality = ((_root.so.data.quality = "HIGH"));
this.stop();
Symbol 770 MovieClip Frame 4
_quality = ((_root.so.data.quality = "LOW"));
this.stop();
Symbol 770 MovieClip Frame 5
this.gotoAndStop(2);
Symbol 771 MovieClip Frame 1
this.hitArea = myHitArea;
this.stop();
Symbol 777 Button
on (press) {
flag = 1;
this.gotoAndStop(5);
}
on (release, releaseOutside) {
flag = 0;
_root.SoundStop();
this.gotoAndStop(2);
}
Symbol 779 MovieClip Frame 1
flag = 0;
vol = _root.ChangeVol("g");
trace("\u97F3\u91CF\u306F=" + vol);
this._x = vol * 1.4;
this.onEnterFrame = function () {
var _local1 = this;
if (flag) {
_local1._x = _parent._xmouse;
if (_local1._x > 140) {
_local1._x = 140;
}
if (_local1._x < 0) {
_local1._x = 0;
}
vol = (_local1._x / 140) * 100;
_parent.disVol = Math.floor(vol);
_root.ChangeVol(vol);
}
};
Symbol 779 MovieClip Frame 2
this.stop();
Symbol 779 MovieClip Frame 5
this.stop();
Symbol 780 MovieClip Frame 1
disVol = _root.ChangeVol("g");
Symbol 782 Button
on (release) {
this.SelectMenu("option");
}
Symbol 786 Button
on (press) {
this.Select();
}
Symbol 793 MovieClip Frame 1
function Select(param) {
var _local1 = _parent;
if (param == 0) {
_local1.mainPanel.Select(0);
_local1.keyChangeFlag = 1;
this.gotoAndStop("normal");
} else if (_local1.keyChangeFlag) {
_local1.keyChangeFlag = 0;
_local1.mainPanel.Select(1);
this.gotoAndStop("lock");
}
}
function KeyChack(getKey) {
var _local1 = getKey;
var _local2 = _parent;
trace("\u30AD\u30FC\u30C0\u30A6\u30F3\u5B9F\u884C");
_local1 = Key.getCode();
if ((_local1 > 47) && (_local1 < 91)) {
trace("\u4F7F\u7528\u53EF\u80FD\u30AD\u30FC");
_global.keyCas[keyNo] = _local1;
this.Select(0);
_local2.SetDisKey();
} else if (_local1 == 32) {
trace("\u4F8B\u5916\u4F7F\u7528\u53EF\u80FD\u30AD\u30FC SPACE");
_global.keyCas[keyNo] = _local1;
this.Select(0);
_local2.SetDisKey();
} else {
trace("\u4F7F\u7528\u4E0D\u53EF\u80FD\u30AD\u30FC");
_local2.mainPanel.Select(2);
}
}
Symbol 793 MovieClip Frame 2
this.stop();
Symbol 793 MovieClip Frame 10
this.stop();
Instance of Symbol 89 MovieClip in Symbol 793 MovieClip Frame 10
onClipEvent (keyDown) {
_parent.KeyChack();
}
Symbol 803 Button
on (release) {
this.gotoAndStop("normal");
_parent.SetDisKey();
}
Symbol 810 MovieClip Frame 1
this.stop();
Symbol 810 MovieClip Frame 10
this.stop();
Symbol 810 MovieClip Frame 20
this.stop();
Symbol 813 Button
on (release) {
i = 0;
while (i < 15) {
_global.keyCas[i] = _global.keyDef[i];
i++;
}
this.SetDisKey();
}
Symbol 817 Button
on (release) {
_root.so.data.keyCas = new Array();
i = 0;
while (i < _global.keyCas.length) {
_root.so.data.keyCas[i] = _global.keyCas[i];
i++;
}
this.SetDisKey();
}
Symbol 824 Button
on (release) {
_global.command = "read";
_root.gotoAndStop("ranking");
}
Symbol 826 Button
on (release) {
this.gotoAndPlay("selectCharFirst");
}
Symbol 828 Button
on (release) {
this.SelectMenu(0);
}
Symbol 837 Button
on (release) {
this.gotoAndPlay("selectCharFirst");
}
Symbol 839 Button
on (release) {
this.gotoAndPlay("selectCharFirst");
}
Symbol 840 Button
on (release) {
this.SelectMenu(0);
}
Symbol 848 MovieClip Frame 1
var tempName = ("char" + _parent.charName);
this.gotoAndStop(tempName);
this.stop();
Symbol 848 MovieClip Frame 10
this.stop();
Symbol 848 MovieClip Frame 20
this.stop();
Symbol 848 MovieClip Frame 30
this.stop();
Symbol 852 MovieClip Frame 1
flag = 0;
this.onEnterFrame = function () {
var _local1 = this;
if (_local1.hitTest(_root._xmouse, _root._ymouse, true)) {
flag = 1;
_local1.gotoAndStop("hit");
} else {
flag = 0;
_local1.gotoAndStop("noHit");
}
};
this.onMouseDown = function () {
if (flag) {
_parent._parent.SelectChar(charName);
}
};
Symbol 852 MovieClip Frame 2
this.stop();
Symbol 852 MovieClip Frame 10
this.stop();
Symbol 853 MovieClip Frame 1
function SelectChar(charName) {
_parent.charDis.CharDisFn(1);
}
Instance of Symbol 852 MovieClip in Symbol 853 MovieClip Frame 1
onClipEvent (load) {
charName = 4;
}
Instance of Symbol 852 MovieClip in Symbol 853 MovieClip Frame 1
onClipEvent (load) {
charName = 3;
}
Instance of Symbol 852 MovieClip in Symbol 853 MovieClip Frame 1
onClipEvent (load) {
charName = 2;
}
Instance of Symbol 852 MovieClip in Symbol 853 MovieClip Frame 1
onClipEvent (load) {
charName = 1;
}
Symbol 853 MovieClip Frame 5
this.stop();
Symbol 858 MovieClip Frame 10
this.stop();
Symbol 878 Button
on (release) {
_parent.SelectChar(-1);
}
Symbol 879 Button
on (release) {
_parent.SelectChar(0);
}
Instance of Symbol 293 MovieClip "braid" in Symbol 881 MovieClip Frame 1
onClipEvent (load) {
function open() {
if (mode == "close") {
mode = "-";
this.gotoAndPlay(2);
} else if (mode == "open") {
mode = "-";
this.gotoAndPlay(10);
}
}
mode = "close";
tempmode = _root.mainChar.getBraidmode();
if (tempmode == "braidOpen") {
mode = "open";
this.gotoAndPlay(10);
} else {
mode = "close";
}
}
Symbol 884 MovieClip Frame 1
bodyName = "charData" + _parent.charName;
name = _root[bodyName][1];
hp = _root[bodyName][7];
def = _root[bodyName][9];
addSpeed = _root[bodyName][14];
maxSpeed = _root[bodyName][11];
dush = _root[bodyName][20];
com = _root[bodyName][2];
trace("charName=" + _parent.charName);
this.gotoAndStop("f" + _parent.charName);
Symbol 884 MovieClip Frame 10
this.stop();
Symbol 884 MovieClip Frame 20
this.stop();
Symbol 884 MovieClip Frame 30
this.stop();
Symbol 884 MovieClip Frame 40
this.stop();
Symbol 885 MovieClip Frame 1
function SelectMenu(tempMenu) {
var _local1 = tempMenu;
var _local2 = this;
var _local3 = _global;
trace("\u30E1\u30CB\u30E5\u30FC\u9078\u629E\u5B9F\u884C tempMenu=" + _local1);
if (_local1 == 0) {
_root.SoundStop();
_local2.gotoAndPlay("menu");
}
if (_local1 == "practice") {
_local3.nextStage = "practice";
_local2.gotoAndPlay("selectCharFirst");
}
if (_local1 == "test") {
_root.missionName = "\u6226\u95D8\u30C6\u30B9\u30C8";
_local3.nextStage = "test";
_local2.gotoAndPlay("survival");
}
if (_local1 == "timeAttack") {
_root.missionName = "\u30BF\u30A4\u30E0\u30A2\u30BF\u30C3\u30AF";
_local3.nextStage = "timeAttack";
_local2.gotoAndPlay("timeAttack");
}
if (_local1 == "option") {
_local2.gotoAndPlay("option");
}
if (_local1 == "credit") {
_local2.gotoAndPlay("credit");
}
}
function SetMainChar(setName) {
var _local1 = _root;
var _local2 = setName;
_local1.charName = _local2;
_local2 = "char" + _local2;
trace("\u4E3B\u4EBA\u516C\u306E\u8A2D\u7F6E\u5B9F\u884C \u540D\u524D\u306F" + _local2);
_local1.attachMovie(_local2, "mainChar", 1);
_local1.mainChar._x = 320;
_local1.mainChar._y = 240;
_local1.mainChar._xscale = (_local1.mainChar._yscale = 20);
_local1.mainChar.userCon = 1;
_local1.gotoAndStop(_global.firstStage);
}
function SelectChar(tempChar) {
var _local1 = this;
var _local2 = tempChar;
if (_local2 < 0) {
_local1.SetMainChar(charName);
_root.SoundStop();
_root.gotoAndStop(_global.nextStage);
} else if (_local2 < 1) {
charName = null;
_local1.gotoAndStop("selectChar1");
} else {
charName = _local2;
_local1.gotoAndStop("selectChar2");
}
}
charName = null;
Symbol 885 MovieClip Frame 8
this.stop();
Instance of Symbol 725 MovieClip in Symbol 885 MovieClip Frame 20
onClipEvent (load) {
mainMes = "CREDIT";
mes = "\u5236\u4F5C\u8005\u30FB\u7D20\u6750\u63D0\u4F9B\u5143";
}
Symbol 885 MovieClip Frame 26
this.stop();
Instance of Symbol 725 MovieClip in Symbol 885 MovieClip Frame 30
onClipEvent (load) {
mainMes = "OPTION";
mes = "\u8A2D\u5B9A\u5909\u66F4";
}
Instance of Symbol 755 MovieClip in Symbol 885 MovieClip Frame 30
on (press) {
this.inButtan.play();
}
Instance of Symbol 771 MovieClip in Symbol 885 MovieClip Frame 30
on (press) {
this.inButtan.play();
}
Symbol 885 MovieClip Frame 35
this.stop();
Symbol 885 MovieClip Frame 36
function SetDisKey() {
var _local3 = this;
var _local1 = null;
var _local2 = 1;
var nowKey = null;
_local1 = 1;
while (_local1 < 12) {
_local3["box" + _local1].keyJpn = keyCasMes[(_local1 * 2) - 1];
_local3["box" + _local1].keyEng = keyCasMes[_local1 * 2];
_local3["box" + _local1].Select(0);
if (_global.keyCas[_local2] == 32) {
_local3["box" + _local1].nowKey = "SPACE";
} else {
_local3["box" + _local1].nowKey = chr(_global.keyCas[_local2]);
}
_local3["box" + _local1].keyNo = _local2;
if (_local2 == 8) {
_local2 = 10;
}
_local2++;
_local1++;
}
}
keyChangeFlag = 1;
keyCasMes = new Array();
keyCasMes = ["\u30AD\u30FC\u5272\u308A\u5F53\u3066\u540D\u914D\u5217", "\u653B\u6483\u5B9F\u884C", "Attack", "\u6B66\u5668\u5207\u308A\u66FF\u3048", "Wepon change", "\u30AC\u30FC\u30C9", "Gard", "\u7279\u6B8A\u884C\u52D5", "Extra attack", "\u653B\u6483\u5F37\u5316\u5F62\u614B\u79FB\u884C", "Change special mode", "\u5909\u5F62", "Change style", "\u6E1B\u901F", "Brake", "\u8FFD\u52A0\u88C5\u5099\u4F7F\u7528", "Use optional wepon", "\u30EC\u30FC\u30C0\u30FC\u7BC4\u56F2\u3000\u72ED", "Radar range NARROW", "\u30EC\u30FC\u30C0\u30FC\u7BC4\u56F2\u3000\u901A\u5E38", "Radar range NORMAL", "\u30EC\u30FC\u30C0\u30FC\u7BC4\u56F2\u3000\u5E83", "Radar range WIDE"];
mes = _global.keyCas;
this.SetDisKey();
Instance of Symbol 810 MovieClip "mainPanel" in Symbol 885 MovieClip Frame 36
onClipEvent (load) {
function Select(param) {
var _local1 = this;
if (param == 1) {
_local1.gotoAndStop("select");
} else if (param == 2) {
_local1.gotoAndStop("cation");
} else {
_local1.gotoAndStop("normal");
}
}
}
Instance of Symbol 793 MovieClip in Symbol 885 MovieClip Frame 36
onClipEvent (load) {
_visible = 0;
}
Symbol 885 MovieClip Frame 41
this.stop();
Instance of Symbol 725 MovieClip in Symbol 885 MovieClip Frame 45
onClipEvent (load) {
mainMes = "TIME ATTACK";
mes = "\u30BF\u30A4\u30E0\u30A2\u30BF\u30C3\u30AF";
}
Symbol 885 MovieClip Frame 50
this.stop();
Instance of Symbol 725 MovieClip in Symbol 885 MovieClip Frame 55
onClipEvent (load) {
mainMes = "SURVIVAL";
mes = "\u6226\u95D8\u30C6\u30B9\u30C8";
}
Symbol 885 MovieClip Frame 60
this.stop();
Symbol 885 MovieClip Frame 90
this.stop();
Instance of Symbol 725 MovieClip in Symbol 885 MovieClip Frame 90
onClipEvent (load) {
mainMes = "FrameSelect";
mes = "\u30D5\u30EC\u30FC\u30E0\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044";
}
Symbol 885 MovieClip Frame 95
this.stop();
Symbol 885 MovieClip Frame 110
this.stop();
Symbol 888 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = this;
if (_local1._y > 480) {
_local1._y = 0 + (_local1._y - 480);
}
if (_local1._y < 0) {
_local1._y = 480 + _local1._y;
}
_local1._y = _local1._y - ((_root.mainChar.YnowSpeed + 0.5) / moveExt);
};
Symbol 890 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = this;
if (_local1._x > 640) {
_local1._x = _local1._x - 640;
}
if (_local1._x < 0) {
_local1._x = 640 + _local1._x;
}
_local1._x = _local1._x - ((_root.mainChar.XnowSpeed + 0.5) / moveExt);
};
Symbol 891 MovieClip Frame 1
function SetMissile() {
var _local1 = this;
if (i >= 10) {
i = 0;
}
i++;
rand = Math.random();
if (rand > 0.75) {
thePoint = {x:2000, y:(Math.random() * 2000) - 1000};
} else if (rand > 0.5) {
thePoint = {x:-2000, y:(Math.random() * 2000) - 1000};
} else if (rand > 0.25) {
thePoint = {x:(Math.random() * 2000) - 1000, y:2000};
} else {
thePoint = {x:(Math.random() * 2000) - 1000, y:-2000};
}
_local1.globalToLocal(thePoint);
_local1.attachMovie("missileTypeA", i, i);
_local1[i]._x = thePoint.x;
_local1[i]._y = thePoint.y;
}
function SetPointMissile(pointX, pointY) {
var _local1 = this;
if (i >= 15) {
i = 0;
}
i++;
_local1.attachMovie("missileTypeA", i, i);
thePoint = {x:pointX, y:pointY};
_local1.globalToLocal(thePoint);
_local1[i]._x = thePoint.x;
_local1[i]._y = thePoint.y;
}
function SetTraceLine() {
var _local1 = this;
if (_global.effectLv > 1) {
_local1.followSmoke1.StartFollow();
_local1.followSmoke2.StartFollow();
_local1.followSmoke3.StartFollow();
_local1.followSmoke4.StartFollow();
}
}
this.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
};
Instance of Symbol 60 MovieClip in Symbol 891 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dmgType = 0;
efType = 0;
}
Symbol 894 MovieClip Frame 1
function warning(param) {
if (param == 1) {
misCount++;
this.gotoAndPlay(5);
} else {
misCount--;
}
}
misCount = 0;
this.stop();
Symbol 894 MovieClip Frame 8
if (misCount > 0) {
this.gotoAndPlay("warningMisRoop");
} else {
this.gotoAndStop(1);
}
Symbol 898 MovieClip Frame 1
if (_global.effectLv < 1) {
this.gotoAndStop(2);
}
this.stop();
Symbol 898 MovieClip Frame 2
this.stop();
Symbol 901 Button
on (rollOver) {
_root.mes.inMes.ShowHelpMes("helpMove");
}
on (rollOut) {
_root.mes.inMes.ShowHelpMes();
}
on (release) {
_root.mes.inMes.ShowHelpMes2("move");
this.ChangeStage("move");
}
Symbol 904 Button
on (rollOver) {
_root.mes.inMes.ShowHelpMes("helpShot");
}
on (rollOut) {
_root.mes.inMes.ShowHelpMes();
}
on (release) {
_root.mes.inMes.ShowHelpMes2("shot");
this.ChangeStage("shot");
}
Symbol 907 Button
on (rollOver) {
_root.mes.inMes.ShowHelpMes("helpInFight");
}
on (rollOut) {
_root.mes.inMes.ShowHelpMes();
}
on (release) {
_root.mes.inMes.ShowHelpMes2("inFight");
this.ChangeStage("inFight");
}
Symbol 910 Button
on (rollOver) {
_root.mes.inMes.ShowHelpMes("helpGard");
}
on (rollOut) {
_root.mes.inMes.ShowHelpMes();
}
on (release) {
_root.mes.inMes.ShowHelpMes2("gard");
this.ChangeStage("gard");
}
Symbol 913 Button
on (rollOver) {
_root.mes.inMes.ShowHelpMes("helpEnd");
}
on (rollOut) {
_root.mes.inMes.ShowHelpMes();
}
on (release) {
this.ChangeStage("end");
}
Symbol 914 MovieClip Frame 1
function ShowMes(tempMes) {
var _local1 = tempMes;
trace("menu.showMes\u5B9F\u884C");
if (_local1 == "end") {
_root.mes.inMes.ShowHelpMes();
} else if (_local1) {
_root.mes.inMes.ShowHelpMes(_local1);
}
}
function ChangeStage(tempStage) {
var _local1 = tempStage;
var _local2 = this;
var _local3 = _parent;
trace("\u30C1\u30E5\u30FC\u30C8\u30EA\u30A2\u30EB\u30E1\u30CB\u30E5\u30FC\uFF1AnextStage=" + nextStage);
if (_local1 == "end") {
_local2.RemoveAllEnemy(0);
_local2.RemoveCharMusic();
_root.gotoAndStop("menu");
} else if (_local1 == "move") {
_global.tempTutorialName = "\u79FB\u52D5";
_local2.SetMoveTutorial();
_local3.play();
} else if (_local1 == "shot") {
_global.tempTutorialName = "\u5C04\u6483";
_local2.SetEnemy(_local1);
_local3.play();
} else if (_local1 == "inFight") {
_global.tempTutorialName = "\u8FD1\u63A5\u653B\u6483";
_local2.SetEnemy(_local1);
_local3.play();
} else if (_local1 == "gard") {
_global.tempTutorialName = "\u9632\u5FA1";
_local2.SetGardTutorial();
_local3.play();
}
}
function RemoveCharMusic() {
theSound.stop();
_root.mainChar.removeMovieClip();
}
function SetEnemy(tempTMode) {
var _local1 = _root;
trace("tempTMode =" + tempTMode);
if (tempTMode != 0) {
_global.SetEnemyTempMode = tempTMode;
} else {
trace("tempMode=" + SetEnemyTempMode);
}
_global.setEnemyNo = 8;
var i = 1;
var _local3 = 750;
var _local2 = 550;
while (i < 9) {
enemyName = ("enemy0" + i) + "0";
_local1.attachMovie("tutorial_enemy1", enemyName, i + 220);
_local3 = (Math.random() * 300) + 300;
if (_local3 > 400) {
_local3 = _local3 + 150;
} else {
_local3 = _local3 - 150;
}
_local2 = (Math.random() * 300) + 100;
if (_local2 > 300) {
_local2 = _local2 + 150;
} else {
_local2 = _local2 - 150;
}
_local1[enemyName]._x = _local3;
_local1[enemyName]._y = _local2;
if (SetEnemyTempMode == "shot") {
trace("\u5C04\u6483\u6F14\u7FD2\u7528\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u914D\u7F6E");
_local1[enemyName].shotHit = 1;
_local1[enemyName].braidHit = 0;
} else if (SetEnemyTempMode == "inFight") {
trace("\u8FD1\u63A5\u6F14\u7FD2\u7528\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u914D\u7F6E");
_local1[enemyName].shotHit = 0;
_local1[enemyName].braidHit = 1;
} else {
trace("\u6F14\u7FD2\u7528\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u30BF\u30A4\u30D7\u306E\u53D6\u5F97\u306B\u5931\u6557");
}
trace("\u914D\u7F6E\u540D" + enemyName);
i++;
}
}
function RemoveAllEnemy(raeTemp) {
var _local1 = _root;
trace("\u4EEE\u60F3\u6575\u3000\u5168\u6D88\u53BB");
if (((raeTemp == 1) && (_global.tempTutorialName != "\u79FB\u52D5")) && (_global.tempTutorialName != "\u9632\u5FA1")) {
i = 1;
while (i < 9) {
enemyName = ("enemy0" + i) + "0";
_local1[enemyName].removeMe();
i++;
}
} else {
i = 221;
while (i <= 249) {
_local1.attachMovie("removeItem", "remove", i);
i++;
}
}
_local1.lerder0.lerder1.RemoveAllCoItem();
}
function ResetEnemy() {
trace("setEnemyNo=" + setEnemyNo);
_global.setEnemyNo--;
if (_global.setEnemyNo <= 0) {
this.SetEnemy(0);
}
}
function SetMoveTutorial() {
var _local1 = _root;
_local1.attachMovie("tutorial_moveGoal", "goal", 221);
goalX = (Math.random() * 3000) - 1500;
goalY = (Math.random() * 3000) - 1500;
_local1.goal._x = _local1.mainChar._x + goalX;
_local1.goal._y = _local1.mainChar._y + goalY;
}
function SetGardTutorial() {
_root.attachMovie("tutorial_shotItem", "item", 221);
}
theSound = new Sound(_root);
Symbol 919 Button
on (release) {
_root.mes.inMes.ShowHelpMes2("normal");
_parent.inMenu.RemoveAllEnemy(1);
_parent.play();
}
Symbol 920 MovieClip Frame 4
tutorialName = _global.tempTutorialName + "\u8A13\u7DF4";
Symbol 920 MovieClip Frame 10
this.stop();
Symbol 921 MovieClip Frame 1
function ChangeSWindow(tempMode) {
trace("\u30C1\u30E5\u30FC\u30C8\u30EA\u30A2\u30EB\u30E1\u30CB\u30E5\u30FC\u30A6\u30A4\u30F3\u30C9\u30A6change\uFF1Amode=" + tempMode);
this.play();
}
Symbol 921 MovieClip Frame 7
this.stop();
Symbol 921 MovieClip Frame 13
this.stop();
Instance of Symbol 914 MovieClip "inMenu" in Symbol 921 MovieClip Frame 13
onClipEvent (load) {
this._visible = false;
}
Symbol 921 MovieClip Frame 20
this.gotoAndStop(7);
Symbol 946 MovieClip Frame 1
function ShowHelpMes(tempMes) {
var _local1 = tempMes;
trace("\u30C1\u30E5\u30FC\u30C8\u30EA\u30A2\u30EB\u30E1\u30C3\u30BB\u30FC\u30B8wShowMes\u5B9F\u884C\u3055\u308C\u307E\u3057\u305F");
if (_local1 == "helpMove") {
mes = "\u57FA\u672C\u7684\u306A\u79FB\u52D5\u306E\u8A13\u7DF4\u3092\u884C\u3048\u307E\u3059";
} else if (_local1 == "helpShot") {
mes = "\u5C04\u6483\u306E\u8A13\u7DF4\u3092\u884C\u3048\u307E\u3059";
} else if (_local1 == "helpInFight") {
mes = "\u8FD1\u63A5\u653B\u6483\u306E\u8A13\u7DF4\u3092\u884C\u3048\u307E\u3059";
} else if (_local1 == "helpGard") {
mes = "\u9632\u5FA1\u3068\u56DE\u907F\u306E\u8A13\u7DF4\u3092\u884C\u3048\u307E\u3059";
} else if (_local1 == "helpEnd") {
mes = "\u8A13\u7DF4\u3092\u7D42\u4E86\u3057\u307E\u3059";
} else {
mes = "\u8A13\u7DF4\u3057\u305F\u3044\u9805\u76EE\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044";
}
}
function ShowHelpMes2(tempMes) {
trace("\u30C1\u30E5\u30FC\u30C8\u30EA\u30A2\u30EB\u30E1\u30C3\u30BB\u30FC\u30B8wShowMes2\u5B9F\u884C\u3055\u308C\u307E\u3057\u305F");
this.gotoAndPlay(tempMes);
}
this.ShowHelpMes();
Symbol 946 MovieClip Frame 8
this.stop();
Symbol 946 MovieClip Frame 17
this.stop();
Symbol 946 MovieClip Frame 27
this.stop();
Symbol 946 MovieClip Frame 37
this.stop();
Symbol 946 MovieClip Frame 47
this.stop();
Symbol 947 MovieClip Frame 7
this.stop();
Symbol 952 MovieClip Frame 1
function WeponSymbolChange(param) {
if (param) {
this.gotoAndPlay("b");
} else {
this.gotoAndPlay("s");
}
}
this.stop();
Symbol 952 MovieClip Frame 15
this.stop();
Symbol 952 MovieClip Frame 25
this.stop();
Instance of Symbol 956 MovieClip in Symbol 957 MovieClip Frame 1
onClipEvent (load) {
function SetSpeedDis() {
var _local2 = _root.mainChar.YnowSpeed * -1;
var _local1 = _root.mainChar.XnowSpeed;
var _local3 = Math.atan2(_local1, _local2);
_rotation = (_local3 / (Math.PI/180));
_yscale = (Math.abs(_local2) + Math.abs(_local1));
_xscale = (Math.abs(_local2) + Math.abs(_local1));
}
}
onClipEvent (enterFrame) {
this.SetSpeedDis();
}
Symbol 959 MovieClip Frame 1
this.onEnterFrame = function () {
this._rotation = _root.mainChar._rotation;
};
Symbol 960 MovieClip Frame 1
function ChangeAntiRadar(tempPar) {
clearPar = clearPar - (tempPar / 100);
if (clearPar < 0.1) {
clearPar = 0.1;
} else if (clearPar > radarPar) {
clearPar = radarPar;
}
trace((("\u30EC\u30FC\u30C0\u59A8\u5BB3\u5EA6=" + tempPar) + " \u73FE\u5728\u306E\u6709\u52B9\u5EA6=") + clearPar);
}
function getCo(getName, x, y, symType) {
var _local1 = getName;
var _local2 = this;
var DisX = (((_root.mainChar._x - x) / cf) * -1);
var _local3 = ((_root.mainChar._y - y) / cf) * -1;
if (((Math.abs(DisX) <= 70) && (Math.abs(_local3) <= 70)) && (Math.random() < clearPar)) {
_local2.attachMovie(symList[symType], _local1, _local1 + 30);
_local2[_local1]._x = DisX;
_local2[_local1]._y = _local3;
} else {
_local2[_local1].removeMovieClip();
}
}
function RemoveCoItem(getName) {
this[getName].removeMovieClip();
}
function RemoveAllCoItem() {
var _local2 = this;
var _local1;
_local1 = 0;
while (_local1 < 100) {
_local2.attachMovie("removeItem", "item", _local1);
_local1++;
}
}
function ChangeLerderArea() {
var _local1 = _global;
var _local2 = this;
if (Key.isDown(_local1.keyCas[11])) {
cf = cf1;
displaycf = "1 NARROW";
_local2.changeArea(cf);
} else if (Key.isDown(_local1.keyCas[12])) {
cf = cf2;
displaycf = "2 NORMAL";
_local2.changeArea(cf);
} else if (Key.isDown(_local1.keyCas[13])) {
cf = cf3;
displaycf = "3 WIDE";
_local2.changeArea(cf);
}
}
function changeArea(cfsize) {
var _local1 = this;
_local1.attachMovie("lerderArea", "lerderArea", 100);
_local1.lerderArea._xscale = (_local1.lerderArea._yscale = 100 / cfsize);
}
cf1 = 10;
cf2 = 20;
cf3 = 50;
cf = cf2;
this.changeArea(cf);
displaycf = "2 NORMAL";
radarPar = 1.2;
clearPar = radarPar;
symList = ["ls_mis", "ls_gunFloat", "ls_SAMFloat", "ls_ship1", "ls_pac", "ls_ECMFloat"];
this.onEnterFrame = function () {
this.ChangeLerderArea();
};
Symbol 964 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = this;
_local1._x = _local1._x - (moveX + (_root.mainChar.XnowSpeed * moveXext));
_local1._y = _local1._y - (moveY + (_root.mainChar.YnowSpeed * moveYext));
if (_local1._x <= (-_local1._width)) {
_local1._x = 790 + _local1._width;
}
if (_local1._x >= (800 + _local1._width)) {
_local1._x = (-_local1._width) + 10;
}
if (_local1._y >= (550 + _local1._width)) {
_local1._y = (-_local1._width) + 10;
}
if (_local1._y <= (-_local1._width)) {
_local1._y = 540 + _local1.width;
}
};
Symbol 966 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = this;
_local1._x = _local1._x - (moveX + (_root.mainChar.XnowSpeed * moveXext));
_local1._y = _local1._y - (moveY + (_root.mainChar.YnowSpeed * moveYext));
if (_local1._x <= (-_local1._width)) {
_local1._x = 790 + _local1._width;
}
if (_local1._x >= (800 + _local1._width)) {
_local1._x = (-_local1._width) + 10;
}
if (_local1._y >= (550 + _local1._width)) {
_local1._y = (-_local1._width) + 10;
}
if (_local1._y <= (-_local1._width)) {
_local1._y = 540 + _local1.width;
}
};
Symbol 972 MovieClip Frame 1
function HpSet() {
nowHp = (basicHp = _global.hp);
}
function GetHp(com) {
if (com == "per") {
per = (nowHp / basicHp) * 1000;
per = Math.floor(per) / 10;
trace("\u6B8B\u308AHP\u306E\u30D1\u30FC\u30BB\u30F3\u30C6\u30FC\u30B8=" + per);
return(per);
}
}
function EndGame() {
var _local1 = _root;
i = 0;
while (i < 600) {
_local1.attachMovie("removeItem", "removeItem", i);
i++;
}
_local1.attachMovie("gameOverDisplay", "gameOverDisplay", 599);
_local1.gameOverDisplay._x = 320;
_local1.gameOverDisplay._y = 240;
_local1.onEnterFrame = null;
var time1 = Math.round((getTimer() - time0) / 1000);
var _local2 = time1 % 60;
trace("\u7D4C\u904E\u6642\u9593=" + time1);
if (_local2 < 10) {
_local2 = "0" + _local2;
}
var _local3 = (time1 - _local2) / 60;
if (_local3 < 10) {
_local3 = "0" + _local3;
}
var totalTime = ((_local3 + ":") + _local2);
trace("\u6226\u95D8\u6642\u9593=" + totalTime);
_local1.gameOverDisplay.missionName = missionName;
_local1.gameOverDisplay.totalTime = totalTime;
_local1.gameOverDisplay.m1 = m1;
_local1.gameOverDisplay.fg = fg;
_local1.gameOverDisplay.fs = fs;
_local1.gameOverDisplay.fe = fe;
_local1.gameOverDisplay.s1 = s1;
_local1.gameOverDisplay.dmgCnt = dmgCnt;
_local1.gameOverDisplay.score = score;
_local1.gameOverDisplay.charName = charNameList[_local1.charName - 1];
_local1.gameOverDisplay.missionName = _local1.missionName;
}
function ChangeHp(damage) {
var _local1 = this;
nowHp = nowHp - damage;
_local1.gageHp._xscale = (nowHp / basicHp) * 100;
dmgCnt++;
if ((nowHp < 0) && (mode == 1)) {
_local1.gageHp._xscale = 0;
mode = 0;
_local1.EndGame();
}
}
function AddScore(param, breakTargetName) {
this[breakTargetName]++;
score = score + param;
}
mode = 1;
charNameList = ["\u30E9\u30D4\u30B9\u30FB\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7", "\u30E9\u30D4\u30B9", "\u30EC\u30C3\u30C9\u30D9\u30EA\u30EB", "\u96F6\u5F0F32\u578B\u30FB\u6539"];
missionName = "\u4E0D\u660E";
time0 = getTimer();
score = 0;
dmgCnt = 0;
m1 = 0;
fg = 0;
fs = 0;
fe = 0;
s1 = 0;
this.onEnterFrame = function () {
if (Key.isDown(8)) {
this.GetHp("per");
}
};
Symbol 974 MovieClip Frame 1
this.onEnterFrame = function () {
this._rotation = this._rotation + 5;
};
Symbol 978 MovieClip Frame 1
function TimeCon(tempFlag) {
if (tempFlag) {
time0 = getTimer();
trace("\u30BF\u30A4\u30E0\u30A2\u30BF\u30C3\u30AF\u3000\u30BF\u30A4\u30DE\u30FC\u4F5C\u52D5");
} else {
time0 = 0;
trace("\u30BF\u30A4\u30E0\u30A2\u30BF\u30C3\u30AF\u3000\u30BF\u30A4\u30DE\u30FC\u505C\u6B62");
}
}
function GetTime() {
return(disTime);
}
time0 = 0;
this.onEnterFrame = function () {
if (time0 > 0) {
time1 = getTimer() - time0;
time1 = Math.floor(time1 / 10);
if ((time1 % 10) == 0) {
if ((time1 % 100) == 0) {
trace("2\u6841\u8DB3\u3059 h=" + time1);
disTime = (time1 / 100) + ".00";
} else {
trace("1\u6841\u8DB3\u3059 h=" + time1);
disTime = (time1 / 100) + "0";
}
} else {
disTime = time1 / 100;
}
}
};
Symbol 988 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 996 Button
on (release) {
this.gotoAndStop("first");
}
Symbol 998 Button
on (release) {
_root.SoundStop();
_root.gotoAndStop("menu");
}
Symbol 1009 Button
on (release) {
_root.SoundStop();
_root.gotoAndStop("menu");
}
Symbol 1011 Button
on (release) {
_root.so.data.name = name;
this.gotoAndStop("connect");
}
Symbol 1014 Button
on (release) {
this.gotoAndStop("connect");
}
Symbol 1017 Button
on (release) {
_global.command = "read";
this.gotoAndStop("first");
}
Symbol 1018 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 1030 MovieClip Frame 1
_visible = 0;
if (_name == 1) {
this.play();
} else {
this.stop();
}
Symbol 1030 MovieClip Frame 2
_visible = 1;
Symbol 1030 MovieClip Frame 3
nextName = Number(_name);
nextName++;
trace("\u540D\u524D=" + nextName);
_parent[nextName].gotoAndPlay(2);
Symbol 1030 MovieClip Frame 15
this.stop();
Symbol 1031 Button
on (release) {
_root.SoundStop();
_root.gotoAndStop("menu");
}
Symbol 1039 Button
on (release) {
this.NextData(1);
}
Symbol 1040 Button
on (release) {
this.NextData(0);
}
Instance of Symbol 992 MovieClip "cgiBox" in Symbol 1043 MovieClip Frame 1
onClipEvent (load) {
function Action(com) {
var _local1 = _global;
if (com == "read") {
command = "read";
score = null;
pacName = null;
name = null;
loadVariables (_local1.cgiAd, "_root.ranking", "GET");
} else {
command = "write";
score = _local1.gTime;
pacName = _root.charName;
name = _parent.name;
if ((name == null) || (name == "")) {
name = "unknow";
}
loadVariables (_local1.cgiAd, "_root.ranking", "GET");
}
}
}
Symbol 1043 MovieClip Frame 2
_root.AllRemove();
command = "read";
this.cgiBox.Action("read");
timeOver = getTimer() + 5000;
this.onData = function () {
var _local1 = this;
var _local2 = _global;
_local1.onEnterFrame = null;
if (_local2.command == "read") {
if (command == "end") {
gotoAndStop ("ranking");
} else if (command == "errorchk") {
gotoAndStop ("e1");
}
} else if (_local2.command == "write") {
if (command == "end") {
score = _local2.gTime;
temp = _local1[("score" + _root.charName) + "10"];
if ((score < Number(score10)) || (score10 == null)) {
trace((("score=" + score) + "\nscore10=") + score10);
_local1.gotoAndStop("rankIn");
} else if (score < Number(temp)) {
trace("\u6A5F\u4F53\u5225\u30E9\u30F3\u30AF\u30A4\u30F3");
_local1.gotoAndStop("rankIn");
} else {
trace((("score=" + score) + "\nscore10=") + score10);
trace("\u30E9\u30F3\u30AD\u30F3\u30B0\u5916");
_local1.gotoAndStop("rankOut");
}
} else if (command == "errorchk") {
trace("\u30A8\u30E9\u30FC command=" + command);
_local1.gotoAndStop("e1");
}
} else {
trace("command\u306B\u4E0D\u6B63\u306A\u5024\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u3059=" + _local2.command);
_local1.gotoAndStop("e1");
}
};
this.onEnterFrame = function () {
if (getTimer() > timeOver) {
this.gotoAndStop("e1");
}
};
this.stop();
Symbol 1043 MovieClip Frame 10
this.stop();
Symbol 1043 MovieClip Frame 20
if (_root.so.data.name != null) {
name = _root.so.data.name;
}
this.stop();
Symbol 1043 MovieClip Frame 27
this.cgiBox.Action("write");
timeOver = getTimer() + 20000;
this.onData = function () {
if (command == "end") {
_global.command = "read";
this.gotoAndStop("first");
} else if (command == "errorchk") {
trace("CGI\u66F8\u304D\u3053\u307F\u51E6\u7406\u6642\u306B\u30A8\u30E9\u30FC");
this.gotoAndStop("e2");
}
};
this.onEnterFrame = function () {
if (getTimer() > timeOver) {
trace("CGI\u66F8\u304D\u3053\u307F\u51E6\u7406\u6642\u306B\u30BF\u30A4\u30E0\u30A2\u30A6\u30C8");
this.gotoAndStop("e2");
}
};
this.stop();
Symbol 1043 MovieClip Frame 35
this.stop();
Symbol 1043 MovieClip Frame 45
this.stop();
Symbol 1043 MovieClip Frame 55
function LoadRankingData() {
var _local1 = this;
var _local2 = _root;
trace("\u30E9\u30F3\u30AD\u30F3\u30B0\u30C7\u30FC\u30BF\u518D\u8868\u793A readCa=" + readCa);
_local1.AllClear();
if (readCa == 0) {
_local1[1].name = "\u81EA\u5DF1\u6700\u9AD8\u8A18\u9332";
_local1[3].name = "\u6A5F\u4F53\u5225\u6700\u9AD8\u8A18\u9332";
var _local3 = 2;
_local1[_local3].no = 1;
_local1[_local3].name = "Your best time";
if (_local2.so.data.yourBestTime == null) {
_local1[_local3].time = "noData";
_local1[_local3].disPacName = "noData";
} else {
_local1[_local3].time = _local2.so.data.yourBestTime;
_local1[_local3].disPacName = _local1.pacNameList[_local2.so.data.yourBestPac];
}
i = 1;
while (i < 5) {
_local1[i + 3].name = pacNameList[i] + "bestTime";
if (_local2.so.data[("pac" + i) + "bestTime"] == null) {
_local1[i + 3].no = 1;
_local1[i + 3].name = "Frame best time";
_local1[i + 3].time = "noData";
_local1[i + 3].disPacName = pacNameList[i];
} else {
_local1[i + 3].no = 1;
_local1[i + 3].name = "Frame best time";
_local1[i + 3].time = _local2.so.data[("pac" + i) + "bestTime"];
_local1[i + 3].disPacName = pacNameList[i];
}
i++;
}
} else {
i = 1;
while (i < 11) {
_local1[i].no = i;
if (readCa == 1) {
i2 = i;
} else {
i2 = String(readCa - 1) + i;
trace("i2\u306F=" + i2);
}
_local1[i].name = _local1["name" + i2];
_local1[i].time = _local1["score" + i2];
tempCa = Number(readCa) + 1;
if (readCa == 1) {
pName = _local1["pacName" + i];
_local1[i].disPacName = _local1.pacNameList[pName];
} else {
_local1[i].disPacName = _local1.pacNameList[readCa - 1];
}
i++;
}
}
title = titleList[readCa];
}
function NextData(temp) {
if (temp) {
readCa++;
if (readCa > 5) {
readCa = 0;
}
} else {
readCa--;
if (readCa < 0) {
readCa = 5;
}
}
this.LoadRankingData();
this["1"].gotoAndPlay(2);
}
function AllClear() {
var _local1 = this;
i = 1;
while (i < 11) {
_local1[i].no = "";
_local1[i].name = "";
_local1[i].time = "";
_local1[i].disPacName = "";
title = "";
i++;
}
}
readCa = 1;
titleList = ["\u81EA\u5DF1\u6700\u9AD8\u8A18\u9332", "\u7DCF\u5408", "\u6A5F\u4F53\u5225\u3000\u30E9\u30D4\u30B9\u30FB\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7", "\u6A5F\u4F53\u5225\u3000\u30E9\u30D4\u30B9", "\u6A5F\u4F53\u5225\u3000\u30EC\u30C3\u30C9\u30D9\u30EA\u30EB", "\u6A5F\u4F53\u5225\u3000\u96F6\u5F0F32\u578B\u30FB\u6539"];
pacNameList = new Array();
pacNameList = ["", "laphis_prototype", "laphis", "redBeryl", "zero32c"];
this.LoadRankingData();
this.stop();