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) {
if (vol == "g") {
return(theSound.getVolume());
}
so.data.volume = vol;
theSound.setVolume(vol);
}
function AllRemove() {
trace("\n_root\u30A2\u30A4\u30C6\u30E0\u5168\u6D88\u53BB\u5B9F\u884C\n");
_root.SoundStop();
var i;
i = 0;
while (i < 1000) {
_root.attachMovie("removeItem", "removeItem", i);
i++;
}
_root.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 683 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveX = "null";
maxX = "null";
minX = "null";
moveY = 1;
maxY = 490;
minY = -10;
}
Instance of Symbol 683 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveX = "null";
maxX = "null";
minX = "null";
moveY = 0.5;
maxY = 490;
minY = -10;
}
Instance of Symbol 683 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveX = 0.5;
maxX = 650;
minX = -10;
moveY = "null";
maxY = "null";
minY = "null";
}
Instance of Symbol 683 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveX = 1;
maxX = 650;
minX = -10;
moveY = "null";
maxY = "null";
minY = "null";
}
Instance of Symbol 683 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveX = 0.3;
maxX = 650;
minX = -10;
moveY = "null";
maxY = "null";
minY = "null";
}
Instance of Symbol 683 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveX = "null";
maxX = "null";
minX = "null";
moveY = 0.3;
maxY = 490;
minY = -10;
}
Instance of Symbol 683 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveX = "null";
maxX = "null";
minX = "null";
moveY = 0.5;
maxY = 490;
minY = -10;
}
Instance of Symbol 683 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() {
trace("\u4E3B\u4EBA\u516C\u306E\u8A2D\u7F6E\u5B9F\u884C \u540D\u524D\u306F" + _global.mainCharName);
_root.attachMovie(_global.mainCharName, "mainChar", 1);
_root.mainChar._x = 420;
_root.mainChar._y = 300;
if (_global.mainCharName == "A_SET_Char4db") {
_root.mainChar._xscale = (_root.mainChar._yscale = 30);
} else {
_root.mainChar._xscale = (_root.mainChar._yscale = 25);
}
_root.gotoAndStop(_global.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 871 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 2;
}
Instance of Symbol 873 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 2;
}
Instance of Symbol 871 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 2;
}
Instance of Symbol 873 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 2;
}
Instance of Symbol 871 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 1;
}
Instance of Symbol 873 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 1;
}
Instance of Symbol 871 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 1;
}
Instance of Symbol 871 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 1;
}
Instance of Symbol 873 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 947 MovieClip in Frame 40
onClipEvent (load) {
moveX = 0.008;
moveY = 0;
moveXext = 0.4;
moveYext = 0.4;
}
Instance of Symbol 949 MovieClip in Frame 40
onClipEvent (load) {
moveX = 0.001;
moveY = 0;
moveXext = 0.3;
moveYext = 0.3;
}
Instance of Symbol 947 MovieClip in Frame 40
onClipEvent (load) {
moveX = 0.7;
moveY = 0.05;
moveXext = 1;
moveYext = 1;
}
Instance of Symbol 947 MovieClip in Frame 40
onClipEvent (load) {
moveX = 0.3;
moveY = 0;
moveXext = 1;
moveYext = 1;
}
Instance of Symbol 949 MovieClip in Frame 40
onClipEvent (load) {
moveX = 2.6;
moveY = 0.1;
moveXext = 1;
moveYext = 1;
}
Instance of Symbol 958 MovieClip in Frame 40
onClipEvent (enterFrame) {
this._rotation = _root.mainChar._rotation;
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 42
function AutoSetEnemy() {
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++;
_root.attachMovie(enemyList[i], setI, setI + 250);
var tempX = ((Math.random() * 300) + 600);
if (Math.random() > 0.5) {
tempX = tempX * -1;
}
var tempY = ((Math.random() * 300) + 600);
if (Math.random() > 0.5) {
tempY = tempY * -1;
}
_root[setI]._x = tempX;
_root[setI]._y = tempY;
i2++;
}
i++;
}
_global.SetMaxEnemyNo = setI + 1;
_root.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++;
}
_root.displayMes.AddMes("AWACS", mes, null);
}
function CheckDeep() {
if (_global.extDeep > 240) {
trace("\u6DF1\u5EA6=" + _global.extDeep);
trace("extDeep\u3092\u521D\u671F\u5316\u3057\u307E\u3057\u305F");
_global.extDeep = 221;
}
if (_global.backEffectDeep > 350) {
trace("backEffectDeep\u3092\u521D\u671F\u5316\u3057\u307E\u3057\u305F");
_global.backEffectDeep = 51;
}
if (_global.enemyShotDeep > 400) {
trace("enemyShotDeep\u3092\u521D\u671F\u5316\u3057\u307E\u3057\u305F");
_global.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 AutoSetEnemy() {
if (nowNo > 19) {
_root.timeDis.TimeCon(0);
trace("\u5168\u6A5F\u6483\u7834");
_root.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++;
_root.attachMovie(enemyList[i], setI, setI + 250);
var tempX = ((Math.random() * 300) + 600);
if (Math.random() > 0.5) {
tempX = tempX * -1;
}
var tempY = ((Math.random() * 300) + 600);
if (Math.random() > 0.5) {
tempY = tempY * -1;
}
_root[setI]._x = tempX;
_root[setI]._y = tempY;
i2++;
}
i++;
}
_global.SetMaxEnemyNo = setI + 1;
_root.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++;
}
_root.displayMes.AddMes("AWACS", mes, null);
nowNo++;
}
function CheckDeep() {
if (_global.extDeep > 240) {
trace("\u6DF1\u5EA6=" + _global.extDeep);
trace("extDeep\u3092\u521D\u671F\u5316\u3057\u307E\u3057\u305F");
_global.extDeep = 221;
}
if (_global.backEffectDeep > 350) {
trace("backEffectDeep\u3092\u521D\u671F\u5316\u3057\u307E\u3057\u305F");
_global.backEffectDeep = 51;
}
if (_global.enemyShotDeep > 400) {
trace("enemyShotDeep\u3092\u521D\u671F\u5316\u3057\u307E\u3057\u305F");
_global.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 55
this.gotoAndStop(_currentframe - 2);
Frame 56
this.gotoAndStop(_currentframe - 3);
Frame 60
this.gotoAndStop(_currentframe + 3);
Instance of Symbol 683 MovieClip in Frame 60
//component parameters
onClipEvent (initialize) {
moveX = "null";
maxX = "null";
minX = "null";
moveY = 1;
maxY = 490;
minY = -10;
}
Instance of Symbol 683 MovieClip in Frame 60
//component parameters
onClipEvent (initialize) {
moveX = "null";
maxX = "null";
minX = "null";
moveY = 0.5;
maxY = 490;
minY = -10;
}
Instance of Symbol 683 MovieClip in Frame 60
//component parameters
onClipEvent (initialize) {
moveX = 0.5;
maxX = 650;
minX = -10;
moveY = "null";
maxY = "null";
minY = "null";
}
Instance of Symbol 683 MovieClip in Frame 60
//component parameters
onClipEvent (initialize) {
moveX = 1;
maxX = 650;
minX = -10;
moveY = "null";
maxY = "null";
minY = "null";
}
Instance of Symbol 683 MovieClip in Frame 60
//component parameters
onClipEvent (initialize) {
moveX = 0.3;
maxX = 650;
minX = -10;
moveY = "null";
maxY = "null";
minY = "null";
}
Instance of Symbol 683 MovieClip in Frame 60
//component parameters
onClipEvent (initialize) {
moveX = "null";
maxX = "null";
minX = "null";
moveY = 0.3;
maxY = 490;
minY = -10;
}
Instance of Symbol 683 MovieClip in Frame 60
//component parameters
onClipEvent (initialize) {
moveX = "null";
maxX = "null";
minX = "null";
moveY = 0.5;
maxY = 490;
minY = -10;
}
Instance of Symbol 683 MovieClip in Frame 60
//component parameters
onClipEvent (initialize) {
moveX = 0.5;
maxX = 650;
minX = -10;
moveY = "null";
maxY = "null";
minY = "null";
}
Frame 62
_root.AllRemove();
this.stop();
Frame 65
this.gotoAndStop(_currentframe - 2);
Frame 66
this.gotoAndStop(_currentframe - 3);
Symbol 44 MovieClip Frame 1
Symbol 45 MovieClip Frame 1
_parent.style = "p_standing";
Symbol 49 MovieClip Frame 1
this._visible = false;
Symbol 50 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 51 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 51 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Symbol 57 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)) {
trace("\u540D\u30AD\u30E3\u30E9\u88AB\u5F3E");
}
_visible = false;
Instance of Symbol 57 MovieClip in Symbol 60 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dmgType = 0;
efType = 0;
}
Symbol 62 MovieClip Frame 1
_parent.changeAttackDmg(1);
Symbol 62 MovieClip Frame 5
this.gotoAndPlay(_currentframe - 2);
Symbol 64 MovieClip Frame 1
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++;
}
this._visible = false;
Symbol 73 MovieClip Frame 1
this.gotoAndPlay(7);
Symbol 73 MovieClip Frame 9
_global.braidDmg = _root.charData4[27];
Symbol 73 MovieClip Frame 13
if (Key.isDown(_global.keyCas[1])) {
this.gotoAndPlay("braid2");
}
Symbol 73 MovieClip Frame 17
_parent.gotoAndStop("paci_standing");
Symbol 73 MovieClip Frame 34
_global.braidDmg = _root.charData4[28];
Symbol 73 MovieClip Frame 36
if (Key.isDown(_global.keyCas[1])) {
this.gotoAndPlay("braid3");
}
Symbol 73 MovieClip Frame 46
_parent.gotoAndStop("paci_standing");
Symbol 78 MovieClip Frame 1
_parent.style = "equipWepon";
Symbol 78 MovieClip Frame 12
_parent.ChangeAttackDmg(8);
_parent.ChangeAttackDmg(3);
Symbol 78 MovieClip Frame 13
Symbol 78 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 78 MovieClip Frame 23
_parent.style = "p_standing";
_parent.gotoAndPlay("paci_standing");
Symbol 82 MovieClip Frame 1
_rotation = (_rotation + 5);
Symbol 82 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 86 MovieClip Frame 1
this._visible = false;
Symbol 87 MovieClip Frame 1
this.onEnterFrame = function () {
if (!Key.isDown(_global.keyCas[3])) {
_parent.gotoAndStop("paci_standing");
}
};
Symbol 87 MovieClip Frame 5
this.stop();
Symbol 90 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Symbol 91 MovieClip [char4] Frame 1
bodyName = "charData4";
if (!userCon) {
this.gotoAndStop(7);
}
Symbol 91 MovieClip [char4] Frame 2
function ChangeAttackDmg(atkNo) {
if (atkNo < 3) {
_global.shotDmg = _root[bodyName][24 + atkNo];
} else if (atkNo < 8) {
_global.braidDmg = _root[bodyName][24 + atkNo];
} else if (atkNo < 10) {
_global.extDmg = _root[bodyName][24 + atkNo];
} else {
_global.parDmg = _root[bodyName][24 + atkNo];
}
trace("\u653B\u6483\u529B\u5909\u66F4 No = " + (24 + atkNo));
trace((((("s=" + _global.shotDmg) + "\nb=") + _global.braidDmg) + "\ne=") + _global.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 tempKakudo = ((_rotation * Math.PI) / 180);
XnowSpeed = XnowSpeed + (boostSpeed * Math.cos(tempKakudo));
YnowSpeed = YnowSpeed + (boostSpeed * Math.sin(tempKakudo));
} 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 tempKakudo = ((_rotation * Math.PI) / 180);
var tempXspeed = (XnowSpeed + (addSpeed * Math.cos(tempKakudo)));
var tempYspeed = (YnowSpeed + (addSpeed * Math.sin(tempKakudo)));
var tempnowSpeed = (Math.abs(tempXspeed) + Math.abs(tempYspeed));
if (tempnowSpeed <= maxSpeed) {
XnowSpeed = tempXspeed;
YnowSpeed = tempYspeed;
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() {
if (style == "s") {
this.shot_s1();
} else if (braidMode) {
this.braid1();
} else {
this.shot_p1();
}
}
function atkEnd() {
if (style == "s") {
this.gotoAndStop("sky_normal");
} else if (!braidMode) {
if (nowSpeed <= 25) {
this.gotoAndStop("paci_standing");
} else {
this.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() {
if (speedMode) {
this.speedUP();
} else if (nowSpeed <= 25) {
if ((_currentframe == 11) || (_currentframe == 51)) {
this.normal();
}
}
if (XnowSpeed >= 0) {
XnowSpeed = XnowSpeed - Xdown;
}
if (XnowSpeed <= 0) {
XnowSpeed = XnowSpeed + Xdown;
}
YnowSpeed = YnowSpeed + Ydown;
if (shotMode == "shot") {
this.atkStart();
} else if (shotMode == "stop") {
this.atkEnd();
}
}
function GetAction() {
if (Key.isDown(_global[keyName][1])) {
if (style != "overGun") {
shotMode = "shot";
}
} else if (shotMode == "shot") {
shotMode = "stop";
}
if (Key.isDown(_global[keyName][2])) {
if (bCnt < 1) {
bCnt = 1;
this.ChangeWepon();
}
} else {
bCnt = 0;
}
if (Key.isDown(_global[keyName][3])) {
this.gard();
}
if (Key.isDown(_global[keyName][4])) {
this.openWepon1();
}
if (Key.isDown(_global[keyName][5])) {
this.GunChange();
}
if (Key.isDown(_global[keyName][6])) {
this.change();
}
if (Key.isDown(_global[keyName][7])) {
this.SpeedDown();
}
if (boostCnt > 0) {
if (boostCnt == 6) {
getNowXspeed = XnowSpeed;
getNowYspeed = YnowSpeed;
this.boostMove(1);
}
if (boostCnt != 1) {
this.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 91 MovieClip [char4] Frame 7
function hit(dmgType, efType) {
if (mode) {
trace((("_name\u88AB\u5F3E dmg=" + dmgType) + " ef=") + efType);
this.attachMovie([efTypeAry[efType]], "ef", 1);
this.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;
this.gotoAndPlay("bomb");
}
}
}
function AI() {
var xDis = (_root.mainChar._x - _x);
var yDis = (_root.mainChar._y - _y);
var radian = Math.atan2(yDis, xDis);
_rotation = (radian / (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 + _root.mainChar.XnowSpeed);
this._y = this._y - (YnowSpeed + _root.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 91 MovieClip [char4] Frame 11
this.stop();
Symbol 91 MovieClip [char4] Frame 20
this.stop();
Symbol 91 MovieClip [char4] Frame 30
this.stop();
Symbol 91 MovieClip [char4] Frame 40
this.stop();
Symbol 91 MovieClip [char4] Frame 50
this.stop();
Symbol 91 MovieClip [char4] Frame 60
this.stop();
Symbol 91 MovieClip [char4] Frame 70
this.stop();
Symbol 91 MovieClip [char4] Frame 80
this.stop();
Symbol 91 MovieClip [char4] Frame 90
this.stop();
Symbol 91 MovieClip [char4] Frame 100
this.stop();
Symbol 91 MovieClip [char4] Frame 110
this.stop();
Symbol 91 MovieClip [char4] Frame 120
this.stop();
Symbol 91 MovieClip [char4] Frame 130
this.stop();
Symbol 91 MovieClip [char4] Frame 140
this.stop();
Symbol 91 MovieClip [char4] Frame 150
this.stop();
Symbol 91 MovieClip [char4] Frame 160
this.stop();
Symbol 93 MovieClip Frame 1
function DrowMissileSmoke() {
i++;
var missileLineName = ("missile" + i);
_parent.attachMovie(efName, missileLineName, i);
_parent[missileLineName]._xscale = this._x - oldX;
_parent[missileLineName]._yscale = this._y - oldY;
_parent[missileLineName]._x = oldX;
_parent[missileLineName]._y = oldY;
oldX = this._x;
oldY = this._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 () {
i3++;
if (i3 < 20) {
this.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);
this._x = this._x + XnowSpeed;
this._y = this._y + YnowSpeed;
i2 = 1;
while (i2 < _global.SetMaxEnemyNo) {
if (this.hitTest(_root[i2])) {
_root[i2].hit(2, 0);
}
i2++;
}
i2 = 21;
while (i2 < (21 + _global.setMaxMisNo)) {
if (this.hitTest(_root[i2])) {
_root[i2].hit(2, 0);
}
i2++;
}
};
this.stop();
Symbol 94 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 111 MovieClip Frame 1
rand = Math.floor(Math.random() * 3) + 5;
this.gotoAndPlay(rand);
Symbol 111 MovieClip Frame 8
this.gotoAndPlay(5);
Symbol 112 MovieClip Frame 1
this.onEnterFrame = function () {
if (Key.isDown(16)) {
this.gotoAndPlay("leaser");
}
if (Key.isDown(39)) {
this.gotoAndPlay("leaserField");
}
};
this.stop();
Symbol 112 MovieClip Frame 10
this.stop();
Symbol 112 MovieClip Frame 42
this.attachMovie("enemy_beam1EF", "beam", 1);
this.beam._x = -330;
this.beam._yscale = 80;
this.beam._xscale = 2000;
Symbol 112 MovieClip Frame 43
this.beam._yscale = 40;
Symbol 112 MovieClip Frame 44
this.beam.removeMovieClip();
Symbol 112 MovieClip Frame 57
this.gotoAndStop("wait");
Symbol 112 MovieClip Frame 75
this.stop();
Symbol 119 MovieClip Frame 10
_parent.gotoAndStop("wToN");
Symbol 123 MovieClip [enemyHpBar2] Frame 1
this.onEnterFrame = function () {
this._x = _root[traceName]._x;
this._y = _root[traceName]._y - 50;
};
Symbol 124 MovieClip Frame 29
_parent.gotoAndStop("normal");
Symbol 126 MovieClip Frame 1
function shot() {
_global.enemyShotDeep++;
var shotName = ("enemy_shot" + _global.enemyShotDeep);
var thePoint = {x:0, y:0};
this.localToGlobal(thePoint);
var xDis = (_root.mainChar._x - thePoint.x);
var yDis = (_root.mainChar._y - thePoint.y);
var radian = Math.atan2(yDis, xDis);
var kakudo = (radian / (Math.PI/180));
_root.attachMovie("enemy_shot1EF", shotName, _global.enemyShotDeep);
_root[shotName]._x = thePoint.x;
_root[shotName]._y = thePoint.y;
_root[shotName]._rotation = kakudo;
}
this._visible = false;
Symbol 126 MovieClip Frame 5
this.shot();
Symbol 126 MovieClip Frame 10
this.shot();
Symbol 126 MovieClip Frame 15
this.shot();
Symbol 126 MovieClip Frame 20
this.shot();
Symbol 126 MovieClip Frame 25
this.shot();
Symbol 126 MovieClip Frame 60
this.gotoAndPlay(5);
Symbol 137 MovieClip Frame 51
this._visible = false;
_root.enemyDown();
_root.attachMovie("whiteMask", "whiteMask", 5000);
_parent.removeMovieClip();
Symbol 137 MovieClip Frame 52
_parent.removeMovieClip();
Symbol 137 MovieClip Frame 53
_parent.removeMovieClip();
Symbol 137 MovieClip Frame 60
this.stop();
Symbol 138 MovieClip [ship1] Frame 1
function hit(dmgType, efType) {
if (mode) {
trace((("_name\u88AB\u5F3E dmg=" + dmgType) + " ef=") + efType);
this.attachMovie([efTypeAry[efType]], "ef", 1);
hp = hp - (_global[dmgTypeAry[dmgType]] - def);
this.hpBar._xscale = (hp / baseHp) * 1000;
if (hp < 0) {
this.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
};
_root.radar.RemoveCoItem(_name);
_root.mainHp.AddScore(score, "s1");
mode = 0;
_name = null;
this.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 () {
this._x = this._x - (moveX + _root.mainChar.XnowSpeed);
this._y = this._y - (moveY + _root.mainChar.YnowSpeed);
xDis = this._x - _root.mainChar._x;
yDis = this._y - _root.mainChar._y;
_root.radar.getCo(_name, this._x, this._y, 3);
if (Key.isDown(38)) {
this.gotoAndStop("wToN");
}
if (Key.isDown(36)) {
this._visible = true;
this.gotoAndStop("wait");
}
if (Key.isDown(40)) {
radian = Math.atan2(yDis, xDis);
kakudo = radian / (Math.PI/180);
this._rotation = kakudo;
} else {
this._rotation = 0;
}
};
this.stop();
Symbol 138 MovieClip [ship1] Frame 10
this.stop();
Symbol 138 MovieClip [ship1] Frame 20
this.stop();
Symbol 138 MovieClip [ship1] Frame 30
this.stop();
Symbol 174 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 (_root.mainChar.getBraidmode()) {
this.gotoAndPlay("oa");
} else {
this.gotoAndStop("open");
}
Symbol 174 MovieClip Frame 10
this.stop();
Symbol 174 MovieClip Frame 11
Symbol 174 MovieClip Frame 16
this.gotoAndPlay(_currentframe - 2);
Symbol 174 MovieClip Frame 17
Symbol 174 MovieClip Frame 20
this.gotoAndStop("open");
Symbol 183 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 187 MovieClip Frame 5
Symbol 187 MovieClip Frame 7
_parent.style = "s";
Symbol 187 MovieClip Frame 15
_parent.gotoAndStop("sky_normal");
Symbol 189 MovieClip Frame 4
Symbol 189 MovieClip Frame 6
_parent.style = "p_normal";
Symbol 189 MovieClip Frame 14
_parent.gotoAndStop("paci_normal");
Symbol 191 MovieClip Frame 1
_parent.style = "p_standing";
Symbol 192 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 192 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Instance of Symbol 57 MovieClip in Symbol 195 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dmgType = 0;
efType = 0;
}
Symbol 197 MovieClip Frame 1
_parent.ChangeAttackDmg(1);
Symbol 197 MovieClip Frame 6
this.gotoAndPlay(_currentframe - 2);
Symbol 218 MovieClip Frame 3
_parent.ChangeAttackDmg(3);
Instance of Symbol 64 MovieClip "hitArea_b1" in Symbol 218 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 218 MovieClip Frame 9
if (Key.isDown(_global.keyCas[1])) {
this.gotoAndPlay("braid2");
}
Symbol 218 MovieClip Frame 12
_parent.gotoAndStop("paci_standing");
Symbol 218 MovieClip Frame 24
_parent.ChangeAttackDmg(4);
Instance of Symbol 64 MovieClip "hitArea_b1" in Symbol 218 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 218 MovieClip Frame 31
if (Key.isDown(_global.keyCas[1])) {
this.gotoAndPlay("braid3");
}
Symbol 218 MovieClip Frame 36
_parent.gotoAndStop("paci_standing");
Symbol 218 MovieClip Frame 53
_parent.ChangeAttackDmg(5);
Instance of Symbol 64 MovieClip "hitArea_b1" in Symbol 218 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 64 MovieClip "hitArea_b1" in Symbol 218 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 218 MovieClip Frame 65
_parent.gotoAndStop("paci_standing");
Symbol 219 MovieClip Frame 1
_parent.ChangeAttackDmg(1);
Symbol 219 MovieClip Frame 5
this.gotoAndPlay(_currentframe - 2);
Symbol 227 MovieClip [openWeponEF1] Frame 6
this.removeMovieClip();
this.stop();
Symbol 228 MovieClip Frame 1
function setWeponSystem1() {
thePoint = {x:-350, y:180};
this.localToGlobal(thePoint);
_root.attachMovie("WeponSystem1_or", WeponName, 5 + i);
_root[WeponName]._x = thePoint.x;
_root[WeponName]._y = thePoint.y;
var randSize = (Math.random() * 2);
_root[WeponName]._xscale = BaseSize + randSize;
_root[WeponName]._yscale = BaseSize + randSize;
}
randSizeWidth = 0;
BaseSize = _parent._xscale + 10;
_root.textDisplay.mesRecord("\u5B50\u6A5F\u5C55\u958B");
_parent.style = "equipWepon";
Symbol 228 MovieClip Frame 7
_parent.changeAttackDmg(10);
i = 1;
WeponName = "wepon0";
this.setWeponSystem1();
Symbol 228 MovieClip Frame 9
WeponName = "wepon1";
i = 2;
this.setWeponSystem1();
Symbol 228 MovieClip Frame 11
WeponName = "wepon2";
i = 3;
this.setWeponSystem1();
Symbol 228 MovieClip Frame 22
_parent.style = "p_standing";
_parent.gotoAndPlay("paci_standing");
Symbol 230 MovieClip Frame 1
_root.textDisplay.mesRecord("\u30AA\u30FC\u30D0\u30FC\u30AC\u30F3\u30E2\u30FC\u30C9\u3078\u79FB\u884C");
Symbol 230 MovieClip Frame 14
_parent.style = "overGun";
Symbol 230 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 230 MovieClip Frame 17
_parent.gotoAndStop("overGun");
Symbol 231 MovieClip Frame 1
function overShotEnd() {
this.gotoAndPlay(1);
}
EFsize = 100;
if (Key.isDown(_global.keyCas[1])) {
this.gotoAndPlay("charge");
}
Symbol 231 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 2);
Symbol 231 MovieClip Frame 7
this.attachMovie("sarcleEF", "sarcleEF", 600);
this.sarcleEF._x = 266;
this.sarcleEF._y = 5;
Symbol 231 MovieClip Frame 8
if (Key.isDown(_global.keyCas[1])) {
EFsize = EFsize + 5;
this.sarcleEF._xscale = (this.sarcleEF._yscale = EFsize);
} else {
this.gotoAndStop("shot");
}
Symbol 231 MovieClip Frame 9
this.gotoAndPlay(_currentframe - 1);
Symbol 231 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 233 MovieClip Frame 1
this.onEnterFrame = function () {
this._rotation = this._rotation + _parent.ro;
};
Symbol 235 MovieClip Frame 1
this.onEnterFrame = function () {
if (!Key.isDown(_global.keyCas[3])) {
_parent.gotoAndStop("paci_standing");
}
};
Instance of Symbol 234 MovieClip in Symbol 235 MovieClip Frame 1
onClipEvent (load) {
ro = 5;
}
Instance of Symbol 234 MovieClip in Symbol 235 MovieClip Frame 1
onClipEvent (load) {
ro = -5;
}
Symbol 235 MovieClip Frame 6
this.stop();
Symbol 236 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Symbol 237 MovieClip [char1] Frame 1
bodyName = "charData1";
if (!userCon) {
this.gotoAndStop(7);
}
Symbol 237 MovieClip [char1] Frame 2
function ChangeAttackDmg(atkNo) {
if (atkNo < 3) {
_global.shotDmg = _root[bodyName][24 + atkNo];
} else if (atkNo < 8) {
_global.braidDmg = _root[bodyName][24 + atkNo];
} else if (atkNo < 10) {
_global.extDmg = _root[bodyName][24 + atkNo];
} else {
_global.parDmg = _root[bodyName][24 + atkNo];
}
trace("\u653B\u6483\u529B\u5909\u66F4 No = " + (24 + atkNo));
trace((((("s=" + _global.shotDmg) + "\nb=") + _global.braidDmg) + "\ne=") + _global.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 tempKakudo = ((_rotation * Math.PI) / 180);
XnowSpeed = XnowSpeed + (boostSpeed * Math.cos(tempKakudo));
YnowSpeed = YnowSpeed + (boostSpeed * Math.sin(tempKakudo));
} 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 tempKakudo = ((_rotation * Math.PI) / 180);
var tempXspeed = (XnowSpeed + (addSpeed * Math.cos(tempKakudo)));
var tempYspeed = (YnowSpeed + (addSpeed * Math.sin(tempKakudo)));
var tempnowSpeed = (Math.abs(tempXspeed) + Math.abs(tempYspeed));
if (tempnowSpeed <= maxSpeed) {
XnowSpeed = tempXspeed;
YnowSpeed = tempYspeed;
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() {
if (style == "s") {
this.shot_s1();
} else if (braidMode) {
this.braid1();
} else {
this.shot_p1();
}
}
function atkEnd() {
if (style == "s") {
this.gotoAndStop("sky_normal");
} else if (!braidMode) {
if (nowSpeed <= 25) {
this.gotoAndStop("paci_standing");
} else {
this.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() {
if (speedMode) {
this.speedUP();
} else if (nowSpeed <= 25) {
if ((_currentframe == 11) || (_currentframe == 51)) {
this.normal();
}
}
if (XnowSpeed >= 0) {
XnowSpeed = XnowSpeed - Xdown;
}
if (XnowSpeed <= 0) {
XnowSpeed = XnowSpeed + Xdown;
}
YnowSpeed = YnowSpeed + Ydown;
if (shotMode == "shot") {
this.atkStart();
} else if (shotMode == "stop") {
this.atkEnd();
}
}
function GetAction() {
if (Key.isDown(_global[keyName][1])) {
if (style != "overGun") {
shotMode = "shot";
}
} else if (shotMode == "shot") {
shotMode = "stop";
}
if (Key.isDown(_global[keyName][2])) {
if (bCnt < 1) {
bCnt = 1;
this.ChangeWepon();
}
} else {
bCnt = 0;
}
if (Key.isDown(_global[keyName][3])) {
this.gard();
}
if (Key.isDown(_global[keyName][4])) {
this.openWepon1();
}
if (Key.isDown(_global[keyName][5])) {
this.GunChange();
}
if (Key.isDown(_global[keyName][6])) {
this.change();
}
if (Key.isDown(_global[keyName][7])) {
this.SpeedDown();
}
if (boostCnt > 0) {
if (boostCnt == 6) {
getNowXspeed = XnowSpeed;
getNowYspeed = YnowSpeed;
this.boostMove(1);
}
if (boostCnt != 1) {
this.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 237 MovieClip [char1] Frame 7
function hit(dmgType, efType) {
if (mode) {
trace((("_name\u88AB\u5F3E dmg=" + dmgType) + " ef=") + efType);
this.attachMovie([efTypeAry[efType]], "ef", 1);
this.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;
this.gotoAndPlay("bomb");
}
}
}
function AI() {
var xDis = (_root.mainChar._x - _x);
var yDis = (_root.mainChar._y - _y);
var radian = Math.atan2(yDis, xDis);
_rotation = (radian / (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 + _root.mainChar.XnowSpeed);
this._y = this._y - (YnowSpeed + _root.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 237 MovieClip [char1] Frame 11
this.stop();
Symbol 237 MovieClip [char1] Frame 20
this.stop();
Symbol 237 MovieClip [char1] Frame 30
this.stop();
Symbol 237 MovieClip [char1] Frame 40
this.stop();
Symbol 237 MovieClip [char1] Frame 50
this.stop();
Symbol 237 MovieClip [char1] Frame 60
this.stop();
Symbol 237 MovieClip [char1] Frame 70
this.stop();
Symbol 237 MovieClip [char1] Frame 80
this.stop();
Symbol 237 MovieClip [char1] Frame 90
this.stop();
Symbol 237 MovieClip [char1] Frame 100
this.stop();
Symbol 237 MovieClip [char1] Frame 110
this.stop();
Symbol 237 MovieClip [char1] Frame 120
this.stop();
Symbol 237 MovieClip [char1] Frame 130
this.stop();
Symbol 237 MovieClip [char1] Frame 140
this.stop();
Symbol 237 MovieClip [char1] Frame 150
this.stop();
Symbol 241 MovieClip Frame 1
speed = 15;
i = 0;
Symbol 241 MovieClip Frame 2
this._x = this._x + ((speed = speed - 1));
this._alpha = this._alpha - 6;
i++;
if (i >= 20) {
_parent.removeMovieClip();
}
Symbol 241 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 242 MovieClip [boostEF2] Frame 1
cnt = 6;
Symbol 242 MovieClip [boostEF2] Frame 2
this.onEnterFrame = function () {
this._x = this._x - ((_root.mainChar.XnowSpeed + (Math.random() * 20)) - 10);
this._y = this._y - ((_root.mainChar.YnowSpeed + (Math.random() * 20)) - 10);
cnt--;
if (cnt == 0) {
trace("\u6D88\u53BB");
this.removeMovieClip();
}
};
Symbol 243 MovieClip [boostEF] Frame 1
this.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
};
Symbol 260 MovieClip Frame 1
function OpenHeadBraid() {
this.play();
}
this.stop();
Symbol 260 MovieClip Frame 16
this.stop();
Symbol 260 MovieClip Frame 19
this.stop();
Instance of Symbol 174 MovieClip "braid" in Symbol 290 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 292 MovieClip "braid" in Symbol 293 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 294 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 333 MovieClip Frame 5
Symbol 333 MovieClip Frame 7
_parent.style = "s";
Symbol 333 MovieClip Frame 15
_parent.gotoAndStop("sky_normal");
Symbol 335 MovieClip Frame 4
Symbol 335 MovieClip Frame 6
_parent.style = "p_normal";
Symbol 335 MovieClip Frame 14
_parent.gotoAndStop("paci_normal");
Symbol 337 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 337 MovieClip Frame 10
this.stop();
Symbol 337 MovieClip Frame 19
this.stop();
Symbol 339 MovieClip Frame 1
_parent.style = "p_standing";
Symbol 340 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 340 MovieClip Frame 7
_parent.gotoAndStop("paci_normal");
Symbol 341 MovieClip Frame 1
_parent.ChangeAttackDmg(1);
Symbol 341 MovieClip Frame 3
Symbol 341 MovieClip Frame 5
this.gotoAndPlay(_currentframe - 2);
Symbol 343 MovieClip Frame 1
i = 0;
Symbol 343 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 343 MovieClip Frame 5
this.gotoAndPlay(_currentframe - 2);
Symbol 356 MovieClip Frame 1
this.gotoAndPlay(8);
Symbol 356 MovieClip Frame 10
_parent.changeAttackDmg(3);
Symbol 356 MovieClip Frame 11
Symbol 356 MovieClip Frame 15
if (Key.isDown(_global.keyCas[1])) {
this.gotoAndPlay("braid2");
}
Symbol 356 MovieClip Frame 17
this.gotoAndPlay(18);
Symbol 356 MovieClip Frame 23
_parent.gotoAndStop("paci_standing");
Symbol 356 MovieClip Frame 42
_parent.changeAttackDmg(4);
Symbol 356 MovieClip Frame 43
Symbol 356 MovieClip Frame 48
if (Key.isDown(_global.keyCas[1])) {
this.gotoAndPlay("braid3");
}
Symbol 356 MovieClip Frame 49
this.gotoAndPlay(50);
Symbol 356 MovieClip Frame 55
_parent.gotoAndStop("paci_standing");
Symbol 356 MovieClip Frame 70
_parent.changeAttackDmg(5);
Symbol 356 MovieClip Frame 71
Symbol 356 MovieClip Frame 86
_parent.gotoAndStop("paci_standing");
Symbol 357 MovieClip Frame 1
_parent.ChangeAttackDmg(1);
Symbol 357 MovieClip Frame 5
this.gotoAndPlay(_currentframe - 2);
Symbol 360 MovieClip Frame 1
_parent.ChangeAttackDmg(8);
_parent.style = "equipWepon";
Symbol 360 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 360 MovieClip Frame 15
_parent.style = "p_standing";
_parent.gotoAndPlay("paci_standing");
Symbol 365 MovieClip Frame 2
trace("\u30D8\u30C3\u30C9\u30D6\u30EC\u30A4\u30C9\u5C55\u958B\u8981\u6C42");
this.braid.OpenHeadBraid(1);
Symbol 365 MovieClip Frame 16
_parent.style = "overGun";
Symbol 365 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 337 MovieClip "braid" in Symbol 365 MovieClip Frame 18
onClipEvent (load) {
this.gotoAndStop("close");
}
Symbol 370 MovieClip Frame 1
waitFlag = 0;
this.onEnterFrame = function () {
if (Key.isDown(_global.keyCas[1]) && (waitFlag == 0)) {
waitFlag = 1;
this.gotoAndPlay("attack1");
}
};
Instance of Symbol 337 MovieClip "braid" in Symbol 370 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("open");
}
Symbol 370 MovieClip Frame 30
this.gotoAndPlay("wait");
Symbol 370 MovieClip Frame 40
Instance of Symbol 337 MovieClip "braid" in Symbol 370 MovieClip Frame 40
onClipEvent (load) {
this.gotoAndStop("open");
}
Symbol 370 MovieClip Frame 49
_parent.changeAttackDmg(3);
_parent.changeAttackDmg(9);
Symbol 370 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 370 MovieClip Frame 69
waitFlag = 0;
this.gotoAndPlay("wait");
Symbol 374 MovieClip Frame 1
this.onEnterFrame = function () {
if (!Key.isDown(_global.keyCas[3])) {
_parent.gotoAndStop("paci_standing");
}
};
Symbol 374 MovieClip Frame 6
this.stop();
Symbol 375 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Symbol 377 MovieClip Frame 14
_parent.style = "overGun";
Symbol 377 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 377 MovieClip Frame 17
_parent.gotoAndStop("overGun");
Symbol 378 MovieClip [char3] Frame 1
bodyName = "charData3";
if (!userCon) {
this.gotoAndStop(7);
}
Symbol 378 MovieClip [char3] Frame 2
function ChangeAttackDmg(atkNo) {
if (atkNo < 3) {
_global.shotDmg = _root[bodyName][24 + atkNo];
} else if (atkNo < 8) {
_global.braidDmg = _root[bodyName][24 + atkNo];
} else if (atkNo < 10) {
_global.extDmg = _root[bodyName][24 + atkNo];
} else {
_global.parDmg = _root[bodyName][24 + atkNo];
}
trace("\u653B\u6483\u529B\u5909\u66F4 No = " + (24 + atkNo));
trace((((("s=" + _global.shotDmg) + "\nb=") + _global.braidDmg) + "\ne=") + _global.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 tempKakudo = ((_rotation * Math.PI) / 180);
XnowSpeed = XnowSpeed + (boostSpeed * Math.cos(tempKakudo));
YnowSpeed = YnowSpeed + (boostSpeed * Math.sin(tempKakudo));
} 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 tempKakudo = ((_rotation * Math.PI) / 180);
var tempXspeed = (XnowSpeed + (addSpeed * Math.cos(tempKakudo)));
var tempYspeed = (YnowSpeed + (addSpeed * Math.sin(tempKakudo)));
var tempnowSpeed = (Math.abs(tempXspeed) + Math.abs(tempYspeed));
if (tempnowSpeed <= maxSpeed) {
XnowSpeed = tempXspeed;
YnowSpeed = tempYspeed;
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() {
if (style == "s") {
this.shot_s1();
} else if (braidMode) {
this.braid1();
} else {
this.shot_p1();
}
}
function atkEnd() {
if (style == "s") {
this.gotoAndStop("sky_normal");
} else if (!braidMode) {
if (nowSpeed <= 25) {
this.gotoAndStop("paci_standing");
} else {
this.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() {
if (speedMode) {
this.speedUP();
} else if (nowSpeed <= 25) {
if ((_currentframe == 11) || (_currentframe == 51)) {
this.normal();
}
}
if (XnowSpeed >= 0) {
XnowSpeed = XnowSpeed - Xdown;
}
if (XnowSpeed <= 0) {
XnowSpeed = XnowSpeed + Xdown;
}
YnowSpeed = YnowSpeed + Ydown;
if (shotMode == "shot") {
this.atkStart();
} else if (shotMode == "stop") {
this.atkEnd();
}
}
function GetAction() {
if (Key.isDown(_global[keyName][1])) {
if (style != "overGun") {
shotMode = "shot";
}
} else if (shotMode == "shot") {
shotMode = "stop";
}
if (Key.isDown(_global[keyName][2])) {
if (bCnt < 1) {
bCnt = 1;
this.ChangeWepon();
}
} else {
bCnt = 0;
}
if (Key.isDown(_global[keyName][3])) {
this.gard();
}
if (Key.isDown(_global[keyName][4])) {
this.openWepon1();
}
if (Key.isDown(_global[keyName][5])) {
this.GunChange();
}
if (Key.isDown(_global[keyName][6])) {
this.change();
}
if (Key.isDown(_global[keyName][7])) {
this.SpeedDown();
}
if (boostCnt > 0) {
if (boostCnt == 6) {
getNowXspeed = XnowSpeed;
getNowYspeed = YnowSpeed;
this.boostMove(1);
}
if (boostCnt != 1) {
this.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 378 MovieClip [char3] Frame 7
function hit(dmgType, efType) {
if (mode) {
trace((("_name\u88AB\u5F3E dmg=" + dmgType) + " ef=") + efType);
this.attachMovie([efTypeAry[efType]], "ef", 1);
this.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;
this.gotoAndPlay("bomb");
}
}
}
function AI() {
var xDis = (_root.mainChar._x - _x);
var yDis = (_root.mainChar._y - _y);
var radian = Math.atan2(yDis, xDis);
_rotation = (radian / (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 + _root.mainChar.XnowSpeed);
this._y = this._y - (YnowSpeed + _root.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 378 MovieClip [char3] Frame 11
this.stop();
Symbol 378 MovieClip [char3] Frame 20
this.stop();
Symbol 378 MovieClip [char3] Frame 30
this.stop();
Symbol 378 MovieClip [char3] Frame 40
this.stop();
Symbol 378 MovieClip [char3] Frame 50
this.stop();
Symbol 378 MovieClip [char3] Frame 60
this.stop();
Symbol 378 MovieClip [char3] Frame 70
this.stop();
Symbol 378 MovieClip [char3] Frame 80
this.stop();
Symbol 378 MovieClip [char3] Frame 90
this.stop();
Symbol 378 MovieClip [char3] Frame 100
this.stop();
Symbol 378 MovieClip [char3] Frame 110
this.stop();
Symbol 378 MovieClip [char3] Frame 120
this.stop();
Symbol 378 MovieClip [char3] Frame 130
this.stop();
Symbol 378 MovieClip [char3] Frame 140
this.stop();
Symbol 378 MovieClip [char3] Frame 150
this.stop();
Symbol 378 MovieClip [char3] Frame 160
this.stop();
Symbol 379 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 380 MovieClip Frame 1
_parent.style = "p_standing";
Symbol 381 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 381 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Symbol 382 MovieClip Frame 1
_parent.ChangeAttackDmg(1);
Symbol 382 MovieClip Frame 6
this.gotoAndPlay(_currentframe - 2);
Symbol 385 MovieClip Frame 3
_parent.ChangeAttackDmg(3);
Symbol 385 MovieClip Frame 8
if (Key.isDown(_global.keyCas[1])) {
this.gotoAndPlay("braid2");
}
Symbol 385 MovieClip Frame 12
_parent.gotoAndStop("paci_standing");
Symbol 385 MovieClip Frame 25
_parent.ChangeAttackDmg(4);
Symbol 385 MovieClip Frame 31
if (Key.isDown(_global.keyCas[1])) {
this.gotoAndPlay("braid3");
}
Symbol 385 MovieClip Frame 36
_parent.gotoAndStop("paci_standing");
Symbol 385 MovieClip Frame 53
_parent.ChangeAttackDmg(5);
Symbol 385 MovieClip Frame 70
_parent.gotoAndStop("paci_standing");
Symbol 386 MovieClip Frame 1
function setWeponSystem1() {
thePoint = {x:-350, y:180};
this.localToGlobal(thePoint);
_root.attachMovie("WeponSystem1_sb", WeponName, 5 + i);
_root[WeponName]._x = thePoint.x;
_root[WeponName]._y = thePoint.y;
var randSize = (Math.random() * 2);
_root[WeponName]._xscale = BaseSize + randSize;
_root[WeponName]._yscale = BaseSize + randSize;
}
randSizeWidth = 0;
BaseSize = _parent._xscale + 10;
_root.textDisplay.mesRecord("\u5B50\u6A5F\u5C55\u958B");
_parent.style = "equipWepon";
Symbol 386 MovieClip Frame 7
_parent.changeAttackDmg(10);
i = 1;
WeponName = "wepon0";
this.setWeponSystem1();
Symbol 386 MovieClip Frame 9
WeponName = "wepon1";
i = 2;
this.setWeponSystem1();
Symbol 386 MovieClip Frame 11
WeponName = "wepon2";
i = 3;
this.setWeponSystem1();
Symbol 386 MovieClip Frame 22
_parent.style = "p_standing";
_parent.gotoAndPlay("paci_standing");
Symbol 387 MovieClip Frame 1
function overShotEnd() {
this.gotoAndPlay(1);
}
EFsize = 100;
if (Key.isDown(_global.keyCas[1])) {
this.gotoAndPlay("charge");
}
Symbol 387 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 2);
Symbol 387 MovieClip Frame 7
this.attachMovie("sarcleEF", "sarcleEF", 600);
this.sarcleEF._x = 266;
this.sarcleEF._y = 5;
Symbol 387 MovieClip Frame 8
if (Key.isDown(_global.keyCas[1])) {
EFsize = EFsize + 5;
this.sarcleEF._xscale = (this.sarcleEF._yscale = EFsize);
} else {
this.gotoAndStop("shot");
}
Symbol 387 MovieClip Frame 9
this.gotoAndPlay(_currentframe - 1);
Symbol 387 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 388 MovieClip Frame 1
this.onEnterFrame = function () {
if (!Key.isDown(_global.keyCas[3])) {
_parent.gotoAndStop("paci_standing");
}
};
Instance of Symbol 234 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
ro = 5;
}
Instance of Symbol 234 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
ro = -5;
}
Symbol 388 MovieClip Frame 6
this.stop();
Symbol 389 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Symbol 395 MovieClip Frame 36
_parent.changeAttackDmg(7);
Symbol 395 MovieClip Frame 57
_parent.gotoAndStop("sky_normal");
Symbol 401 MovieClip Frame 5
this.onEnterFrame = function () {
_parent._y = _parent._y + 10;
this._rotation = 0;
};
Symbol 401 MovieClip Frame 50
this.stop();
Symbol 402 MovieClip [char2] Frame 1
bodyName = "charData2";
if (!userCon) {
this.gotoAndStop(7);
}
Symbol 402 MovieClip [char2] Frame 2
function ChangeAttackDmg(atkNo) {
if (atkNo < 3) {
_global.shotDmg = _root[bodyName][24 + atkNo];
} else if (atkNo < 8) {
_global.braidDmg = _root[bodyName][24 + atkNo];
} else if (atkNo < 10) {
_global.extDmg = _root[bodyName][24 + atkNo];
} else {
_global.parDmg = _root[bodyName][24 + atkNo];
}
trace("\u653B\u6483\u529B\u5909\u66F4 No = " + (24 + atkNo));
trace((((("s=" + _global.shotDmg) + "\nb=") + _global.braidDmg) + "\ne=") + _global.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 tempKakudo = ((_rotation * Math.PI) / 180);
XnowSpeed = XnowSpeed + (boostSpeed * Math.cos(tempKakudo));
YnowSpeed = YnowSpeed + (boostSpeed * Math.sin(tempKakudo));
} 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 tempKakudo = ((_rotation * Math.PI) / 180);
var tempXspeed = (XnowSpeed + (addSpeed * Math.cos(tempKakudo)));
var tempYspeed = (YnowSpeed + (addSpeed * Math.sin(tempKakudo)));
var tempnowSpeed = (Math.abs(tempXspeed) + Math.abs(tempYspeed));
if (tempnowSpeed <= maxSpeed) {
XnowSpeed = tempXspeed;
YnowSpeed = tempYspeed;
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() {
if (style == "s") {
this.shot_s1();
} else if (braidMode) {
this.braid1();
} else {
this.shot_p1();
}
}
function atkEnd() {
if (style == "s") {
this.gotoAndStop("sky_normal");
} else if (!braidMode) {
if (nowSpeed <= 25) {
this.gotoAndStop("paci_standing");
} else {
this.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() {
if (speedMode) {
this.speedUP();
} else if (nowSpeed <= 25) {
if ((_currentframe == 11) || (_currentframe == 51)) {
this.normal();
}
}
if (XnowSpeed >= 0) {
XnowSpeed = XnowSpeed - Xdown;
}
if (XnowSpeed <= 0) {
XnowSpeed = XnowSpeed + Xdown;
}
YnowSpeed = YnowSpeed + Ydown;
if (shotMode == "shot") {
this.atkStart();
} else if (shotMode == "stop") {
this.atkEnd();
}
}
function GetAction() {
if (Key.isDown(_global[keyName][1])) {
if (style != "overGun") {
shotMode = "shot";
}
} else if (shotMode == "shot") {
shotMode = "stop";
}
if (Key.isDown(_global[keyName][2])) {
if (bCnt) {
bCnt = 0;
this.ChangeWepon();
}
} else {
bCnt = 1;
}
if (Key.isDown(_global[keyName][3])) {
this.gard();
}
if (Key.isDown(_global[keyName][4])) {
this.openWepon1();
}
if (Key.isDown(_global[keyName][5])) {
this.GunChange();
}
if (Key.isDown(_global[keyName][6])) {
this.change();
}
if (Key.isDown(_global[keyName][7])) {
this.SpeedDown();
}
if (Key.isDown(_global[keyName][8])) {
if (oCnt) {
oCnt = 0;
_root.attachMovie("ECCM", "ECCM", 800);
_root.ECCM._x = this._x;
_root.ECCM._y = this._y;
}
} else {
oCnt = 1;
}
if (boostCnt > 0) {
if (boostCnt == 6) {
getNowXspeed = XnowSpeed;
getNowYspeed = YnowSpeed;
this.boostMove(1);
}
if (boostCnt != 1) {
this.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;
}
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 402 MovieClip [char2] Frame 7
function hit(dmgType, efType) {
if (mode) {
trace((("_name\u88AB\u5F3E dmg=" + dmgType) + " ef=") + efType);
this.attachMovie([efTypeAry[efType]], "ef", 1);
this.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;
this.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 tempKakudo = ((_rotation * Math.PI) / 180);
XnowSpeed = XnowSpeed + (boostSpeed * Math.cos(tempKakudo));
YnowSpeed = YnowSpeed + (boostSpeed * Math.sin(tempKakudo));
} 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 tempKakudo = ((_rotation * Math.PI) / 180);
var tempXspeed = (XnowSpeed + (addSpeed * Math.cos(tempKakudo)));
var tempYspeed = (YnowSpeed + (addSpeed * Math.sin(tempKakudo)));
var tempnowSpeed = (Math.abs(tempXspeed) + Math.abs(tempYspeed));
if (tempnowSpeed <= maxSpeed) {
XnowSpeed = tempXspeed;
YnowSpeed = tempYspeed;
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() {
if (style == "s") {
this.shot_s1();
} else if (braidMode) {
this.braid1();
} else {
this.shot_p1();
}
}
function atkEnd() {
if (style == "s") {
this.gotoAndStop("sky_normal");
} else if (!braidMode) {
if (nowSpeed <= 25) {
this.gotoAndStop("paci_standing");
} else {
this.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() {
if (speedMode) {
this.speedUP();
} else if (nowSpeed <= 25) {
if ((_currentframe == 11) || (_currentframe == 51)) {
this.normal();
}
}
if (shotMode) {
this.atkStart();
} else if (shotMode == 0) {
this.atkEnd();
}
_root.lerder.getCo(_name, this._x, this._y, 4);
}
function AI() {
var xDis = (_root.mainChar._x - _x);
var yDis = (_root.mainChar._y - _y);
var radian = Math.atan2(yDis, xDis);
_rotation = (radian / (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;
}
if (nowTac == 1) {
if ((Math.abs(xDis) + Math.abs(yDis)) < 800) {
speedMode = 0;
shotMode = 1;
} else {
shotMode = 0;
speedMode = 1;
}
}
this._x = this._x - ((-XnowSpeed) + _root.mainChar.XnowSpeed);
this._y = this._y - ((-YnowSpeed) + _root.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 = 15000);
mode = 1;
nowTac = 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 () {
if (mode) {
this.AI();
this.MainSystem();
} else {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
}
};
this.gotoAndStop("paci_standing");
Symbol 402 MovieClip [char2] Frame 11
this.stop();
Symbol 402 MovieClip [char2] Frame 20
this.stop();
Symbol 402 MovieClip [char2] Frame 30
this.stop();
Symbol 402 MovieClip [char2] Frame 40
this.stop();
Symbol 402 MovieClip [char2] Frame 50
this.stop();
Symbol 402 MovieClip [char2] Frame 60
this.stop();
Symbol 402 MovieClip [char2] Frame 70
this.stop();
Symbol 402 MovieClip [char2] Frame 80
this.stop();
Symbol 402 MovieClip [char2] Frame 90
this.stop();
Symbol 402 MovieClip [char2] Frame 100
this.stop();
Symbol 402 MovieClip [char2] Frame 110
this.stop();
Symbol 402 MovieClip [char2] Frame 120
this.stop();
Symbol 402 MovieClip [char2] Frame 130
this.stop();
Symbol 402 MovieClip [char2] Frame 140
this.stop();
Symbol 402 MovieClip [char2] Frame 150
this.stop();
Symbol 402 MovieClip [char2] Frame 160
this.stop();
Symbol 402 MovieClip [char2] Frame 170
this.stop();
Symbol 402 MovieClip [char2] Frame 180
this.stop();
Symbol 404 MovieClip Frame 1
var total = 0;
var speed = 80;
var i;
Symbol 404 MovieClip Frame 2
this._x = this._x + speed;
total = total + speed;
if (total >= 1000) {
_parent.removeMovieClip();
}
Symbol 404 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 404 MovieClip Frame 11
_parent.removeMovieClip();
Symbol 405 MovieClip [c1sb_shot1EF_enemy] Frame 1
this.onEnterFrame = function () {
this._x = this._x + (-_root.mainChar.XnowSpeed);
this._y = this._y + (-_root.mainChar.YnowSpeed);
if (this.hitTest(_root.mainChar.damageArea)) {
_root.mainChar.damage(dmgPoint, dmgType);
this.gotoAndPlay("hit");
}
if ((this.hitTest(_root.mainChar.char.hitArea_b1) || (this.hitTest(_root.mainChar.char.overShotEF))) || (this.hitTest(_root.mainChar.char.gardArea))) {
this.gotoAndPlay("hit");
}
};
this.stop();
Instance of Symbol 404 MovieClip in Symbol 405 MovieClip [c1sb_shot1EF_enemy] Frame 1
onClipEvent (enterFrame) {
speed = 120;
}
Symbol 405 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 405 MovieClip [c1sb_shot1EF_enemy] Frame 11
this.removeMovieClip();
Symbol 407 MovieClip Frame 1
total = 0;
speed = 80;
Symbol 407 MovieClip Frame 2
Symbol 407 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 410 MovieClip Frame 1
total = 0;
speed = 100;
Symbol 410 MovieClip Frame 2
Symbol 410 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 414 MovieClip [shot1EF2] Frame 1
this.onEnterFrame = function () {
this._x = this._x + moveX;
this._y = this._y + moveY;
};
Symbol 418 MovieClip [floatSAM] Frame 1
function hit(dmgType, efType) {
if (mode) {
trace((("_name\u88AB\u5F3E dmg=" + dmgType) + " ef=") + efType);
this.attachMovie([efTypeAry[efType]], "ef", 1);
hp = hp - (_global[dmgTypeAry[dmgType]] - def);
this.hpBar._xscale = (hp / baseHp) * 100;
if (hp < 0) {
this.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
};
_root.radar.RemoveCoItem(_name);
_root.enemyDown();
_root.mainHp.AddScore(score, "fs");
mode = 0;
this.gotoAndPlay("bomb");
}
}
}
function shotMis() {
i = 21;
while (i < 26) {
if (_root[i] == undefined) {
break;
}
i++;
}
if (i < 26) {
_root.attachMovie("missileTypeA", i, i + 250);
_root[i]._x = this._x;
_root[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 () {
if ((getTimer() > shotCnt) && (mode)) {
this.ShotMis();
shotCnt = getTimer() + shotWait;
}
this._x = this._x + ((((_root.mainChar._x + extraX) - _x) / follow) - _root.mainChar.XnowSpeed);
this._y = this._y + ((((_root.mainChar._y + extraY) - _y) / follow) - _root.mainChar.YnowSpeed);
_root.radar.getCo(_name, this._x, this._y, 2);
};
this.stop();
Symbol 418 MovieClip [floatSAM] Frame 17
this.removeMovieClip();
Symbol 418 MovieClip [floatSAM] Frame 18
this.stop();
Symbol 420 MovieClip [floatECM] Frame 1
function hit(dmgType, efType) {
if (mode) {
trace((("_name\u88AB\u5F3E dmg=" + dmgType) + " ef=") + efType);
this.attachMovie([efTypeAry[efType]], "ef", 1);
hp = hp - (_global[dmgTypeAry[dmgType]] - def);
this.hpBar._xscale = (hp / baseHp) * 100;
if (hp < 0) {
this.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
};
_root.radar.ChangeAntiRadar(-ecmPower);
_root.radar.RemoveCoItem(_name);
_root.enemyDown();
_root.mainHp.AddScore(score, "fe");
mode = 0;
this.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 () {
this._x = this._x + ((((_root.mainChar._x + extraX) - _x) / follow) - _root.mainChar.XnowSpeed);
this._y = this._y + ((((_root.mainChar._y + extraY) - _y) / follow) - _root.mainChar.YnowSpeed);
_root.radar.getCo(_name, this._x, this._y, 5);
};
this.stop();
Symbol 420 MovieClip [floatECM] Frame 17
this.removeMovieClip();
Symbol 420 MovieClip [floatECM] Frame 18
this.stop();
Symbol 422 MovieClip [floatGun] Frame 1
function hit(dmgType, efType) {
if (mode) {
trace((("_name\u88AB\u5F3E dmg=" + dmgType) + " ef=") + efType);
this.attachMovie([efTypeAry[efType]], "ef", 1);
hp = hp - (_global[dmgTypeAry[dmgType]] - def);
this.hpBar._xscale = (hp / baseHp) * 100;
if (hp < 0) {
this.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
};
_root.radar.RemoveCoItem(_name);
_root.enemyDown();
_root.mainHp.AddScore(score, "fg");
mode = 0;
_root.lerder.RemoveCoItem(_name);
_name = null;
this.gotoAndPlay("bomb");
}
}
}
function shot() {
_global.enemyShotDeep++;
var shotName = ("enemy_shot" + _global.enemyShotDeep);
var xDis = (_root.mainChar._x - _x);
var yDis = (_root.mainChar._y - _y);
var radian = Math.atan2(yDis, xDis);
var kakudo = (radian / (Math.PI/180));
_root.attachMovie("enemy_shot1EF", shotName, _global.enemyShotDeep);
_root[shotName]._x = this._x;
_root[shotName]._y = this._y;
_root[shotName]._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 () {
if (cnt == 10) {
Shotmode = "shot";
}
cnt++;
if (shotMode == "shot") {
i2++;
if ((i2 > 7) && (mode)) {
i2 = 0;
cnt++;
this.shot();
if (cnt >= 21) {
cnt = 0;
shotMode = "-";
}
}
}
this._x = this._x + ((((_root.mainChar._x + extraX) - _x) / follow) - _root.mainChar.XnowSpeed);
this._y = this._y + ((((_root.mainChar._y + extraY) - _y) / follow) - _root.mainChar.YnowSpeed);
_root.radar.getCo(_name, this._x, this._y, 1);
};
this.stop();
Symbol 422 MovieClip [floatGun] Frame 17
this.removeMovieClip();
Symbol 422 MovieClip [floatGun] Frame 18
this.stop();
Symbol 439 MovieClip [BGEF4] Frame 1
Symbol 439 MovieClip [BGEF4] Frame 100
this.removeMovieClip();
Symbol 450 MovieClip [BGEF3] Frame 10
this.removeMovieClip();
Symbol 453 MovieClip [BGEF2] Frame 40
this.removeMovieClip();
Symbol 454 MovieClip [BGEF1] Frame 40
this.removeMovieClip();
Symbol 457 MovieClip Frame 1
this.stop();
Symbol 458 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 458 MovieClip "shotArea" in Symbol 462 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dmgType = 3;
efType = 0;
}
Symbol 464 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 () {
if ((getTimer() > battleTime) && (follow > 2)) {
extraX = (extraY = 0);
follow = 1.5;
this.gotoAndPlay("end");
}
if (Key.isDown(16)) {
if (bCnt < 1) {
bCnt = 1;
this.ChangeMode();
}
} else {
bCnt = 0;
}
if (Key.isDown(_global.keyCas[1])) {
mode = 1;
} else {
mode = 0;
}
this._x = this._x + ((((_root.mainChar._x + extraX) - _x) / follow) - _root.mainChar.XnowSpeed);
this._y = this._y + ((((_root.mainChar._y + extraY) - _y) / follow) - _root.mainChar.YnowSpeed);
if (attackMode == 1) {
this._rotation = _root.mainChar._rotation;
} else if (attackMode == 2) {
xDis = _root._xmouse - _x;
yDis = _root._ymouse - _y;
radian = Math.atan2(yDis, xDis);
_rotation = (radian / (Math.PI/180));
}
if (mode) {
i++;
if (i >= 20) {
i = 0;
if (attackMode == 3) {
this._rotation = (Math.random() * 360) - 180;
}
this.play();
}
}
};
Symbol 464 MovieClip [WeponSystem1_or] Frame 7
this.stop();
Symbol 464 MovieClip [WeponSystem1_or] Frame 11
this.gotoAndStop(7);
Symbol 464 MovieClip [WeponSystem1_or] Frame 22
this.removeMovieClip();
this.stop();
Symbol 467 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 () {
if ((getTimer() > battleTime) && (follow > 2)) {
extraX = (extraY = 0);
follow = 1.5;
this.gotoAndPlay("end");
}
if (Key.isDown(16)) {
if (bCnt < 1) {
bCnt = 1;
this.ChangeMode();
}
} else {
bCnt = 0;
}
if (Key.isDown(_global.keyCas[1])) {
mode = 1;
} else {
mode = 0;
}
this._x = this._x + ((((_root.mainChar._x + extraX) - _x) / follow) - _root.mainChar.XnowSpeed);
this._y = this._y + ((((_root.mainChar._y + extraY) - _y) / follow) - _root.mainChar.YnowSpeed);
if (attackMode == 1) {
this._rotation = _root.mainChar._rotation;
} else if (attackMode == 2) {
xDis = _root._xmouse - _x;
yDis = _root._ymouse - _y;
radian = Math.atan2(yDis, xDis);
_rotation = (radian / (Math.PI/180));
}
if (mode) {
i++;
if (i >= 20) {
i = 0;
if (attackMode == 3) {
this._rotation = (Math.random() * 360) - 180;
}
this.play();
}
}
};
Symbol 467 MovieClip [WeponSystem1_sb] Frame 7
this.stop();
Symbol 467 MovieClip [WeponSystem1_sb] Frame 11
this.gotoAndStop(7);
Symbol 467 MovieClip [WeponSystem1_sb] Frame 22
this.removeMovieClip();
this.stop();
Symbol 470 MovieClip [overShotEF] Frame 1
this.onEnterFrame = function () {
i = 1;
while (i < _global.SetMaxEnemyNo) {
if (this.hitTest(_root[i]._x, _root[i]._y, true)) {
_root[i].hit(0, 0);
}
i++;
}
i = 21;
while (i < (21 + _global.setMaxMisNo)) {
if (this.hitTest(_root[i]._x, _root[i]._y, true)) {
_root[i].hit(0, 0);
}
i++;
}
};
Symbol 470 MovieClip [overShotEF] Frame 6
cnt = cnt - 40;
if (cnt <= 0) {
this._name = "end";
this.gotoAndPlay("end");
}
Symbol 470 MovieClip [overShotEF] Frame 8
this.gotoAndPlay(_currentframe - 2);
Symbol 470 MovieClip [overShotEF] Frame 15
this.onEnterFrame = null;
Symbol 470 MovieClip [overShotEF] Frame 23
_root.mainChar.char.overShotEnd();
this.removeMovieClip();
Symbol 472 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 474 MovieClip Frame 1
function Hit(param) {
trace("\u6575\u5F3E\u5F53\u305F\u308A\u5224\u5B9A\u51E6\u7406");
if (param < 1) {
_root.mainChar.damage(dmgPoint, dmgType);
this.gotoAndPlay("hit");
} else if (param < 2) {
_root.mainHp.AddScore(10, "gos");
this.gotoAndPlay("hit");
} else {
_root.mainHp.AddScore(100, "sos");
this.gotoAndPlay("hit");
}
}
var total = 0;
var speed = 50;
var dmgPoint = 70;
Symbol 474 MovieClip Frame 2
this._x = this._x + speed;
total = total + speed;
if (total >= 1500) {
_parent.removeMovieClip();
}
Symbol 474 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 474 MovieClip Frame 4
EliSound = new Sound();
EliSound.attachSound("noize3");
Elisound.start(0, 1);
Symbol 474 MovieClip Frame 13
_parent.removeMovieClip();
Symbol 475 MovieClip [enemy_shot1EF] Frame 1
this.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
};
Symbol 478 MovieClip [dmg] Frame 1
this.dmgC.dmg = 50;
Symbol 478 MovieClip [dmg] Frame 15
this.removeMovieClip();
Symbol 481 MovieClip [effect_baidSarcle] Frame 1
this.onEnterFrame = function () {
i = 1;
while (i < _global.SetMaxEnemyNo) {
if (this.hitTest(_root[i])) {
_root[i].hit(2, 0);
}
i++;
}
i = 21;
while (i < (21 + _global.setMaxMisNo)) {
if (this.hitTest(_root[i])) {
_root[i].hit(2, 0);
}
i++;
}
this._x = this._x - (moveX + _root.mainChar.XnowSpeed);
this._y = this._y - (moveY + _root.mainChar.YnowSpeed);
};
Symbol 481 MovieClip [effect_baidSarcle] Frame 19
this.onEnterFrame = null;
Symbol 481 MovieClip [effect_baidSarcle] Frame 21
this.removeMovieClip();
Symbol 482 MovieClip [mainCharSmoke] Frame 1
function DrowMissileSmoke() {
theLoc = {x:_root[_name]._x, y:_root[_name]._y};
_root.backArea.globalToLocal(theLoc);
this._x = theLoc.x;
this._y = theLoc.y;
ix++;
if (ix > setWait) {
ix = 0;
_global.backEffectDeep++;
var missileLineName = ("smokeLine" + _global.backEffectDeep);
_parent.attachMovie("smokeLine", missileLineName, _global.backEffectDeep);
_parent[missileLineName]._xscale = this._x - oldX;
_parent[missileLineName]._yscale = this._y - oldY;
_parent[missileLineName]._x = oldX;
_parent[missileLineName]._y = oldY;
oldX = this._x;
oldY = this._y;
}
}
setWait = 0;
oldX = this._x;
oldY = this._y;
ix = 0;
this.onEnterFrame = function () {
this.DrowMissileSmoke();
};
Symbol 483 MovieClip [missileTypeAsmoke] Frame 1
function DrowMissileSmoke() {
theLoc = {x:_root[_name]._x, y:_root[_name]._y};
_root.backArea.globalToLocal(theLoc);
this._x = theLoc.x;
this._y = theLoc.y;
ix++;
if (ix > setWait) {
ix = 0;
_global.backEffectDeep++;
var missileLineName = ("missile" + _global.backEffectDeep);
_parent.attachMovie("missileLine", missileLineName, _global.backEffectDeep);
_parent[missileLineName]._xscale = this._x - oldX;
_parent[missileLineName]._yscale = this._y - oldY;
_parent[missileLineName]._x = oldX;
_parent[missileLineName]._y = oldY;
oldX = this._x;
oldY = this._y;
}
}
setWait = 1;
oldX = this._x;
oldY = this._y;
ix = 0;
this.onEnterFrame = function () {
this.DrowMissileSmoke();
};
Symbol 487 MovieClip [missileTypeA] Frame 1
function hit(dmgType, efType) {
if (mode) {
trace((("_name\u88AB\u5F3E dmg=" + dmgType) + " ef=") + efType);
this.attachMovie([efTypeAry[efType]], "ef", 1);
hp = hp - (_global[dmgTypeAry[dmgType]] - def);
this.hpBar._xscale = (hp / baseHp) * 100;
if (hp < 0) {
this.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
};
_root.mainHp.AddScore(score, "m1");
this.Down(1);
}
}
}
function Down(param) {
if (mode) {
if (param) {
_root.mainHp.AddScore(1000, "mis");
} else if (param == 0) {
_root.mainChar.damage(dmgPoint, 0);
} else {
_root.mainChar.damage(dmgPoint / 2, 0);
}
mode = 0;
pas[_name].removeMovieClip();
_root.radar.RemoveCoItem(_name);
_root.warningDis.warning(0);
this.gotoAndPlay("bomb");
}
}
function MissileMove() {
var xDis = (_root.mainChar._x - this._x);
var yDis = (_root.mainChar._y - this._y);
var radian = Math.atan2(yDis, xDis);
var XaddSpeed = (addSpeed * Math.cos(radian));
var YaddSpeed = (addSpeed * Math.sin(radian));
this._rotation = radian / (Math.PI/180);
this._x = this._x + (XaddSpeed - _root.mainChar.XnowSpeed);
this._y = this._y + (YaddSpeed - _root.mainChar.YnowSpeed);
}
function DisplayLerder() {
if (mode) {
_root.radar.getCo(_name, this._x, this._y, 0);
}
}
function HitCheck() {
if (this.hitTest(_root.mainChar.damageArea)) {
this.Down(0);
}
if (this.hitTest(_root.mainChar.char.gardArea)) {
this.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 () {
this.MissileMove();
this.DisplayLerder();
this.HitCheck();
};
this.stop();
Symbol 487 MovieClip [missileTypeA] Frame 17
this.removeMovieClip();
Symbol 489 MovieClip [smokeLineTutorial] Frame 1
trace("Line\u914D\u7F6E");
Symbol 494 MovieClip [smokeLine] Frame 30
this.removeMovieClip();
Symbol 496 MovieClip [lineLeaserLineLow] Frame 9
this.removeMovieClip();
Symbol 499 MovieClip [lineLeaesrLine] Frame 9
this.removeMovieClip();
Symbol 502 MovieClip [missileLine] Frame 19
this.removeMovieClip();
Symbol 504 MovieClip [whiteMask] Frame 50
trace("\u914D\u7F6E\u3055\u308C\u305FwhiteMask\u3092\u6D88\u53BB\u3057\u307E\u3057\u305F");
this.removeMovieClip();
Symbol 506 MovieClip [hitEF1] Frame 5
this.removeMovieClip();
Symbol 516 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 () {
this._x = this._x + ((((_root.mainChar._x + extraX) - _x) / follow) - _root.mainChar.XnowSpeed);
this._y = this._y + ((((_root.mainChar._y + extraY) - _y) / follow) - _root.mainChar.YnowSpeed);
_root.lerder0.lerder1.getCo(_name, this._x, this._y, 6);
};
Symbol 516 MovieClip [tutorial_shotItem] Frame 10
function shot() {
i++;
if (i >= 30) {
i = 0;
_root.missileArea.SetMissile();
_root.missileArea.SetMissile();
}
thePoint = {x:0, y:0};
this.localToGlobal(thePoint);
shotName = ("enemy_shot" + No) + i;
deep = (i * No) + 250;
xDis = _root.mainChar._x - _x;
yDis = _root.mainChar._y - _y;
radian = Math.atan2(yDis, xDis);
kakudo = radian / (Math.PI/180);
_root.attachMovie("enemy_shot1EF", shotName, deep);
_root[shotName]._x = _x;
_root[shotName]._y = _y;
_root[shotName]._rotation = (kakudo + (Math.random() * 30)) - 15;
}
i2++;
if (i2 >= 30) {
this.gotoAndPlay("remove");
}
this.shot();
Instance of Symbol 49 MovieClip "hitArea" in Symbol 516 MovieClip [tutorial_shotItem] Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
_parent.HitExtra();
}
}
Symbol 516 MovieClip [tutorial_shotItem] Frame 12
this.gotoAndPlay(_currentframe - 2);
Symbol 516 MovieClip [tutorial_shotItem] Frame 25
this._x = Math.random() * 800;
this._y = Math.random() * 600;
this.gotoAndPlay("first");
Symbol 520 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 () {
this._x = this._x + ((((_root.mainChar._x + extraX) - _x) / follow) - _root.mainChar.XnowSpeed);
this._y = this._y + ((((_root.mainChar._y + extraY) - _y) / follow) - _root.mainChar.YnowSpeed);
_root.lerder0.lerder1.getCo(_name, this._x, this._y, 6);
};
Symbol 520 MovieClip [tutorial_enemy1] Frame 10
this.stop();
Instance of Symbol 49 MovieClip "hitArea" in Symbol 520 MovieClip [tutorial_enemy1] Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
_parent.HitExtra();
}
}
Symbol 520 MovieClip [tutorial_enemy1] Frame 28
_root.lerder0.lerder1.RemoveCoItem(_name);
_root.menu.inMenu.ResetEnemy();
this.removeMovieClip();
Symbol 520 MovieClip [tutorial_enemy1] Frame 35
_root.lerder0.lerder1.RemoveCoItem(_name);
this.removeMovieClip();
Symbol 527 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 () {
this._x = this._x + (-_root.mainChar.XnowSpeed);
this._y = this._y + (-_root.mainChar.YnowSpeed);
_root.lerder0.lerder1.getCo(_name, this._x, this._y, 6);
_root.attachMovie("smokeLineTutorial", "smokeLineTutorial", 241);
_root.smokeLineTutorial._x = this._x;
_root.smokeLineTutorial._y = this._y;
_root.smokeLineTutorial._xscale = _root.mainChar._x - this._x;
_root.smokeLineTutorial._yscale = _root.mainChar._y - this._y;
};
this.stop();
Instance of Symbol 49 MovieClip in Symbol 527 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 522 MovieClip in Symbol 527 MovieClip [tutorial_moveGoal] Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
}
Instance of Symbol 522 MovieClip in Symbol 527 MovieClip [tutorial_moveGoal] Frame 10
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
}
Symbol 527 MovieClip [tutorial_moveGoal] Frame 25
_root.menu.inMenu.SetMoveTutorial();
Symbol 528 MovieClip [removeItem] Frame 2
this.removeMovieClip();
Symbol 535 Button
on (release) {
_global.firstStage = "tutorial";
_root.SetMainChar();
this.removeMovieClip();
}
Symbol 538 Button
on (release) {
_global.firstStage = "Test";
_root.SetMainChar();
this.removeMovieClip();
}
Symbol 541 Button
on (release) {
_parent.play();
}
Symbol 543 MovieClip [selectWindow] Frame 8
this.stop();
Symbol 543 MovieClip [selectWindow] Frame 14
this.removeMovieClip();
Symbol 547 MovieClip [tutorial_yajirusi] Frame 1
this.onEnterFrame = function () {
xDis = _root.goal._x - _root.mainChar._x;
yDis = _root.goal._y - _root.mainChar._y;
radian = Math.atan2(yDis, xDis);
kakudo = radian / (Math.PI/180);
this._rotation = kakudo;
};
Symbol 549 MovieClip Frame 1
total = 0;
speed = 90;
Symbol 549 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 549 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 563 MovieClip Frame 1
this.stop();
Symbol 563 MovieClip Frame 10
_parent.gotoAndPlay("result");
Symbol 576 Button
on (release) {
_root.SoundStop();
_root.gotoAndStop("Title");
this.removeMovieClip();
}
Instance of Symbol 563 MovieClip in Symbol 585 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 585 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 585 MovieClip [gameOverDisplay] Frame 60
this.stop();
Symbol 589 MovieClip [efHitBraid2] Frame 1
this._xscale = (Math.random() * 1200) - 600;
this._yscale = (Math.random() * 300) + 100;
this._rotation = Math.random() * 360;
Symbol 589 MovieClip [efHitBraid2] Frame 3
this.removeMovieClip();
Symbol 590 MovieClip [efHitBraid] Frame 1
this._xscale = (Math.random() * 300) - 150;
this._rotation = Math.random() * 360;
Symbol 590 MovieClip [efHitBraid] Frame 3
this.removeMovieClip();
Symbol 593 MovieClip [efHitShot2] Frame 1
this._xscale = (Math.random() * 1200) - 600;
this._yscale = (Math.random() * 1200) - 600;
this._rotation = Math.random() * 360;
Symbol 593 MovieClip [efHitShot2] Frame 2
this.removeMovieClip();
Symbol 594 MovieClip [efHitShot] Frame 1
this._xscale = (Math.random() * 300) - 150;
this._yscale = (Math.random() * 300) - 150;
Symbol 594 MovieClip [efHitShot] Frame 2
this.removeMovieClip();
Symbol 595 MovieClip [shotHit] Frame 1
this._xscale = (Math.random() * 300) - 150;
this._yscale = (Math.random() * 300) - 150;
Symbol 595 MovieClip [shotHit] Frame 2
this.removeMovieClip();
Symbol 598 MovieClip Frame 1
if (_global.effectLv > 0) {
this.gotoAndStop(2);
} else {
this.stop();
}
Symbol 603 Button
on (release) {
_root.mainHp.EndGame();
}
Symbol 605 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 605 MovieClip [displayMes] Frame 5
this.stop();
Symbol 605 MovieClip [displayMes] Frame 64
this.gotoAndStop(5);
Symbol 612 MovieClip [ECCM] Frame 8
this.removeMovieClip();
Symbol 620 Button
on (release) {
_root.gotoAndStop("menu");
_root.AllRemove();
this.removeMovieClip();
}
Symbol 621 Button
on (release) {
_global.command = "write";
_root.gotoAndStop("ranking");
this.removeMovieClip();
}
Symbol 634 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 630 MovieClip in Symbol 634 MovieClip [display_timeAttackCOMPLETE] Frame 68
onClipEvent (load) {
if (!_parent.best1) {
this._visible = 0;
}
}
Instance of Symbol 633 MovieClip in Symbol 634 MovieClip [display_timeAttackCOMPLETE] Frame 68
onClipEvent (load) {
if (!_parent.best2) {
this._visible = 0;
}
}
Symbol 634 MovieClip [display_timeAttackCOMPLETE] Frame 69
this.stop();
Symbol 648 MovieClip [display_timeAttackFirst] Frame 112
_root.time0 = 50;
_root.timeDis.TimeCon(1);
this.removeMovieClip();
this._visible = 0;
this.stop();
Symbol 670 Button
on (release) {
_root.gotoAndStop("title");
}
Symbol 672 MovieClip Frame 1
dwonload = _root.getBytesLoaded;
Symbol 672 MovieClip Frame 2
this.onEnterFrame = function () {
loadedSize = _root.getBytesLoaded();
totalSize = _root.getBytesTotal();
if (loadedSize >= totalSize) {
this.gotoAndStop(5);
this.onEnterFrame = null;
} else {
downloadParcent = (loadedSize / totalSize) * 100;
this.bar._xscale = downloadParcent;
}
};
this.stop();
Symbol 679 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 683 MovieClip Frame 1
this.onEnterFrame = function () {
if (moveX != null) {
this._x = this._x + moveX;
if (this._x > maxX) {
this._x = minX + (this._x - maxX);
}
if (this._x < minX) {
this._x = maxX + this._x;
}
}
if (moveY != null) {
this._y = this._y + moveY;
if (this._y > maxY) {
this._y = minY + (this._y - maxY);
}
if (this._y < minY) {
this._y = maxY + this._y;
}
}
};
Symbol 693 MovieClip Frame 7
this.stop();
Symbol 696 Button
on (release) {
_parent.SelectMenu("test");
}
Symbol 698 Button
on (release) {
_parent.SelectMenu("option");
}
Symbol 702 Button
on (release) {
getURL ("http://www12.plala.or.jp/nextframe", _blank);
}
Symbol 704 Button
on (release) {
_parent.SelectMenu("credit");
}
Symbol 708 Button
on (release) {
_parent.SelectMenu("timeAttack");
}
Symbol 726 Button
on (release) {
this.SelectMenu(0);
}
Symbol 738 MovieClip Frame 1
_visible = 0;
Symbol 746 MovieClip Frame 1
if (_global.effectLv > 1) {
this.gotoAndStop(3);
} else if (_global.effectLv > 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(4);
}
Symbol 746 MovieClip Frame 2
_global.effectLv = (_root.so.data.effectLv = 1);
this.stop();
Symbol 746 MovieClip Frame 3
_global.effectLv = (_root.so.data.effectLv = 2);
this.stop();
Symbol 746 MovieClip Frame 4
_global.effectLv = (_root.so.data.effectLv = 0);
this.stop();
Symbol 746 MovieClip Frame 5
this.gotoAndStop(2);
Symbol 747 MovieClip Frame 1
this.hitArea = myHitArea;
this.stop();
Symbol 750 Button
on (press) {
this.play();
}
Symbol 762 MovieClip Frame 1
if (_quality == "HIGH") {
this.gotoAndStop(3);
} else if (_quality == "LOW") {
this.gotoAndStop(4);
}
Symbol 762 MovieClip Frame 2
_quality = ((_root.so.data.quality = "MEDIUM"));
this.stop();
Symbol 762 MovieClip Frame 3
_quality = ((_root.so.data.quality = "HIGH"));
this.stop();
Symbol 762 MovieClip Frame 4
_quality = ((_root.so.data.quality = "LOW"));
this.stop();
Symbol 762 MovieClip Frame 5
this.gotoAndStop(2);
Symbol 763 MovieClip Frame 1
this.hitArea = myHitArea;
this.stop();
Symbol 769 Button
on (press) {
flag = 1;
this.gotoAndStop(5);
}
on (release, releaseOutside) {
flag = 0;
_root.SoundStop();
this.gotoAndStop(2);
}
Symbol 771 MovieClip Frame 1
flag = 0;
vol = _root.ChangeVol("g");
trace("\u97F3\u91CF\u306F=" + vol);
this._x = vol * 1.4;
this.onEnterFrame = function () {
if (flag) {
this._x = _parent._xmouse;
if (this._x > 140) {
this._x = 140;
}
if (this._x < 0) {
this._x = 0;
}
vol = (this._x / 140) * 100;
_parent.disVol = Math.floor(vol);
_root.ChangeVol(vol);
}
};
Symbol 771 MovieClip Frame 2
this.stop();
Symbol 771 MovieClip Frame 5
this.stop();
Symbol 772 MovieClip Frame 1
disVol = _root.ChangeVol("g");
Symbol 774 Button
on (release) {
this.SelectMenu("option");
}
Symbol 778 Button
on (press) {
this.Select();
}
Symbol 785 MovieClip Frame 1
function Select(param) {
if (param == 0) {
_parent.mainPanel.Select(0);
_parent.keyChangeFlag = 1;
this.gotoAndStop("normal");
} else if (_parent.keyChangeFlag) {
_parent.keyChangeFlag = 0;
_parent.mainPanel.Select(1);
this.gotoAndStop("lock");
}
}
function KeyChack(getKey) {
trace("\u30AD\u30FC\u30C0\u30A6\u30F3\u5B9F\u884C");
getKey = Key.getCode();
if ((getKey > 47) && (getKey < 91)) {
trace("\u4F7F\u7528\u53EF\u80FD\u30AD\u30FC");
_global.keyCas[keyNo] = getKey;
this.Select(0);
_parent.SetDisKey();
} else if (getKey == 32) {
trace("\u4F8B\u5916\u4F7F\u7528\u53EF\u80FD\u30AD\u30FC SPACE");
_global.keyCas[keyNo] = getKey;
this.Select(0);
_parent.SetDisKey();
} else {
trace("\u4F7F\u7528\u4E0D\u53EF\u80FD\u30AD\u30FC");
_parent.mainPanel.Select(2);
}
}
Symbol 785 MovieClip Frame 2
this.stop();
Symbol 785 MovieClip Frame 10
this.stop();
Instance of Symbol 86 MovieClip in Symbol 785 MovieClip Frame 10
onClipEvent (keyDown) {
_parent.KeyChack();
}
Symbol 795 Button
on (release) {
this.gotoAndStop("normal");
_parent.SetDisKey();
}
Symbol 802 MovieClip Frame 1
this.stop();
Symbol 802 MovieClip Frame 10
this.stop();
Symbol 802 MovieClip Frame 20
this.stop();
Symbol 805 Button
on (release) {
i = 0;
while (i < 15) {
_global.keyCas[i] = _global.keyDef[i];
i++;
}
this.SetDisKey();
}
Symbol 809 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 816 Button
on (release) {
_global.command = "read";
_root.gotoAndStop("ranking");
}
Symbol 818 Button
on (release) {
this.gotoAndPlay("selectCharFirst");
}
Symbol 820 Button
on (release) {
this.SelectMenu(0);
}
Symbol 831 MovieClip Frame 1
var tempName = ("char" + _parent.charName);
this.gotoAndStop(tempName);
this.stop();
Symbol 831 MovieClip Frame 10
this.stop();
Symbol 831 MovieClip Frame 20
this.stop();
Symbol 831 MovieClip Frame 30
this.stop();
Symbol 835 MovieClip Frame 1
flag = 0;
this.onEnterFrame = function () {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
flag = 1;
this.gotoAndStop("hit");
} else {
flag = 0;
this.gotoAndStop("noHit");
}
};
this.onMouseDown = function () {
if (flag) {
_parent._parent.SelectChar(charName);
}
};
Symbol 835 MovieClip Frame 2
this.stop();
Symbol 835 MovieClip Frame 10
this.stop();
Symbol 836 MovieClip Frame 1
function SelectChar(charName) {
_parent.charDis.CharDisFn(1);
}
Instance of Symbol 835 MovieClip in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
charName = 4;
}
Instance of Symbol 835 MovieClip in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
charName = 3;
}
Instance of Symbol 835 MovieClip in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
charName = 2;
}
Instance of Symbol 835 MovieClip in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
charName = 1;
}
Symbol 836 MovieClip Frame 5
this.stop();
Symbol 841 MovieClip Frame 10
this.stop();
Symbol 861 Button
on (release) {
_parent.SelectChar(-1);
}
Symbol 862 Button
on (release) {
_parent.SelectChar(0);
}
Instance of Symbol 292 MovieClip "braid" in Symbol 864 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 867 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 867 MovieClip Frame 10
this.stop();
Symbol 867 MovieClip Frame 20
this.stop();
Symbol 867 MovieClip Frame 30
this.stop();
Symbol 867 MovieClip Frame 40
this.stop();
Symbol 868 MovieClip Frame 1
function SelectMenu(tempMenu) {
trace("\u30E1\u30CB\u30E5\u30FC\u9078\u629E\u5B9F\u884C tempMenu=" + tempMenu);
if (tempMenu == 0) {
_root.SoundStop();
this.gotoAndPlay("menu");
}
if (tempMenu == "practice") {
_global.nextStage = "practice";
this.gotoAndPlay("selectCharFirst");
}
if (tempMenu == "test") {
_root.missionName = "\u6226\u95D8\u30C6\u30B9\u30C8";
_global.nextStage = "test";
this.gotoAndPlay("selectCharFirst");
}
if (tempMenu == "timeAttack") {
_root.missionName = "\u30BF\u30A4\u30E0\u30A2\u30BF\u30C3\u30AF";
_global.nextStage = "timeAttack";
this.gotoAndPlay("timeAttack");
}
if (tempMenu == "option") {
this.gotoAndPlay("option");
}
if (tempMenu == "credit") {
this.gotoAndPlay("credit");
}
}
function SetMainChar(setName) {
_root.charName = setName;
setName = "char" + setName;
trace("\u4E3B\u4EBA\u516C\u306E\u8A2D\u7F6E\u5B9F\u884C \u540D\u524D\u306F" + setName);
_root.attachMovie(setName, "mainChar", 1);
_root.mainChar._x = 320;
_root.mainChar._y = 240;
_root.mainChar._xscale = (_root.mainChar._yscale = 20);
_root.mainChar.userCon = 1;
_root.gotoAndStop(_global.firstStage);
}
function SelectChar(tempChar) {
if (tempChar < 0) {
this.SetMainChar(charName);
_root.SoundStop();
_root.gotoAndStop(_global.nextStage);
} else if (tempChar < 1) {
charName = null;
this.gotoAndStop("selectChar1");
} else {
charName = tempChar;
this.gotoAndStop("selectChar2");
}
}
charName = null;
Symbol 868 MovieClip Frame 8
this.stop();
Instance of Symbol 717 MovieClip in Symbol 868 MovieClip Frame 20
onClipEvent (load) {
mainMes = "CREDIT";
mes = "\u5236\u4F5C\u8005\u30FB\u7D20\u6750\u63D0\u4F9B\u5143";
}
Symbol 868 MovieClip Frame 26
this.stop();
Instance of Symbol 717 MovieClip in Symbol 868 MovieClip Frame 30
onClipEvent (load) {
mainMes = "OPTION";
mes = "\u8A2D\u5B9A\u5909\u66F4";
}
Instance of Symbol 747 MovieClip in Symbol 868 MovieClip Frame 30
on (press) {
this.inButtan.play();
}
Instance of Symbol 763 MovieClip in Symbol 868 MovieClip Frame 30
on (press) {
this.inButtan.play();
}
Symbol 868 MovieClip Frame 35
this.stop();
Symbol 868 MovieClip Frame 36
function SetDisKey() {
var i = null;
var i2 = 1;
var nowKey = null;
i = 1;
while (i < 12) {
this["box" + i].keyJpn = keyCasMes[(i * 2) - 1];
this["box" + i].keyEng = keyCasMes[i * 2];
this["box" + i].Select(0);
if (_global.keyCas[i2] == 32) {
this["box" + i].nowKey = "SPACE";
} else {
this["box" + i].nowKey = chr(_global.keyCas[i2]);
}
this["box" + i].keyNo = i2;
if (i2 == 8) {
i2 = 10;
}
i2++;
i++;
}
}
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 802 MovieClip "mainPanel" in Symbol 868 MovieClip Frame 36
onClipEvent (load) {
function Select(param) {
if (param == 1) {
this.gotoAndStop("select");
} else if (param == 2) {
this.gotoAndStop("cation");
} else {
this.gotoAndStop("normal");
}
}
}
Instance of Symbol 785 MovieClip in Symbol 868 MovieClip Frame 36
onClipEvent (load) {
_visible = 0;
}
Symbol 868 MovieClip Frame 41
this.stop();
Instance of Symbol 717 MovieClip in Symbol 868 MovieClip Frame 45
onClipEvent (load) {
mainMes = "TIME ATTACK";
mes = "\u30BF\u30A4\u30E0\u30A2\u30BF\u30C3\u30AF";
}
Symbol 868 MovieClip Frame 50
this.stop();
Symbol 868 MovieClip Frame 90
this.stop();
Instance of Symbol 717 MovieClip in Symbol 868 MovieClip Frame 90
onClipEvent (load) {
mainMes = "FrameSelect";
mes = "\u30D5\u30EC\u30FC\u30E0\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044";
}
Symbol 868 MovieClip Frame 95
this.stop();
Symbol 868 MovieClip Frame 110
this.stop();
Symbol 871 MovieClip Frame 1
this.onEnterFrame = function () {
if (this._y > 480) {
this._y = 0 + (this._y - 480);
}
if (this._y < 0) {
this._y = 480 + this._y;
}
this._y = this._y - ((_root.mainChar.YnowSpeed + 0.5) / moveExt);
};
Symbol 873 MovieClip Frame 1
this.onEnterFrame = function () {
if (this._x > 640) {
this._x = this._x - 640;
}
if (this._x < 0) {
this._x = 640 + this._x;
}
this._x = this._x - ((_root.mainChar.XnowSpeed + 0.5) / moveExt);
};
Symbol 874 MovieClip Frame 1
function SetMissile() {
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};
}
this.globalToLocal(thePoint);
this.attachMovie("missileTypeA", i, i);
this[i]._x = thePoint.x;
this[i]._y = thePoint.y;
}
function SetPointMissile(pointX, pointY) {
if (i >= 15) {
i = 0;
}
i++;
this.attachMovie("missileTypeA", i, i);
thePoint = {x:pointX, y:pointY};
this.globalToLocal(thePoint);
this[i]._x = thePoint.x;
this[i]._y = thePoint.y;
}
function SetTraceLine() {
if (_global.effectLv > 1) {
this.followSmoke1.StartFollow();
this.followSmoke2.StartFollow();
this.followSmoke3.StartFollow();
this.followSmoke4.StartFollow();
}
}
this.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
};
Instance of Symbol 57 MovieClip in Symbol 874 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
dmgType = 0;
efType = 0;
}
Symbol 877 MovieClip Frame 1
function warning(param) {
if (param == 1) {
misCount++;
this.gotoAndPlay(5);
} else {
misCount--;
}
}
misCount = 0;
this.stop();
Symbol 877 MovieClip Frame 8
if (misCount > 0) {
this.gotoAndPlay("warningMisRoop");
} else {
this.gotoAndStop(1);
}
Symbol 881 MovieClip Frame 1
if (_global.effectLv < 1) {
this.gotoAndStop(2);
}
this.stop();
Symbol 881 MovieClip Frame 2
this.stop();
Symbol 884 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 887 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 890 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 893 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 896 Button
on (rollOver) {
_root.mes.inMes.ShowHelpMes("helpEnd");
}
on (rollOut) {
_root.mes.inMes.ShowHelpMes();
}
on (release) {
this.ChangeStage("end");
}
Symbol 897 MovieClip Frame 1
function ShowMes(tempMes) {
trace("menu.showMes\u5B9F\u884C");
if (tempMes == "end") {
_root.mes.inMes.ShowHelpMes();
} else if (tempMes) {
_root.mes.inMes.ShowHelpMes(tempMes);
}
}
function ChangeStage(tempStage) {
trace("\u30C1\u30E5\u30FC\u30C8\u30EA\u30A2\u30EB\u30E1\u30CB\u30E5\u30FC\uFF1AnextStage=" + nextStage);
if (tempStage == "end") {
this.RemoveAllEnemy(0);
this.RemoveCharMusic();
_root.gotoAndStop("menu");
} else if (tempStage == "move") {
_global.tempTutorialName = "\u79FB\u52D5";
this.SetMoveTutorial();
_parent.play();
} else if (tempStage == "shot") {
_global.tempTutorialName = "\u5C04\u6483";
this.SetEnemy(tempStage);
_parent.play();
} else if (tempStage == "inFight") {
_global.tempTutorialName = "\u8FD1\u63A5\u653B\u6483";
this.SetEnemy(tempStage);
_parent.play();
} else if (tempStage == "gard") {
_global.tempTutorialName = "\u9632\u5FA1";
this.SetGardTutorial();
_parent.play();
}
}
function RemoveCharMusic() {
theSound.stop();
_root.mainChar.removeMovieClip();
}
function SetEnemy(tempTMode) {
trace("tempTMode =" + tempTMode);
if (tempTMode != 0) {
_global.SetEnemyTempMode = tempTMode;
} else {
trace("tempMode=" + SetEnemyTempMode);
}
_global.setEnemyNo = 8;
var i = 1;
var setX = 750;
var setY = 550;
while (i < 9) {
enemyName = ("enemy0" + i) + "0";
_root.attachMovie("tutorial_enemy1", enemyName, i + 220);
setX = (Math.random() * 300) + 300;
if (setX > 400) {
setX = setX + 150;
} else {
setX = setX - 150;
}
setY = (Math.random() * 300) + 100;
if (setY > 300) {
setY = setY + 150;
} else {
setY = setY - 150;
}
_root[enemyName]._x = setX;
_root[enemyName]._y = setY;
if (SetEnemyTempMode == "shot") {
trace("\u5C04\u6483\u6F14\u7FD2\u7528\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u914D\u7F6E");
_root[enemyName].shotHit = 1;
_root[enemyName].braidHit = 0;
} else if (SetEnemyTempMode == "inFight") {
trace("\u8FD1\u63A5\u6F14\u7FD2\u7528\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u914D\u7F6E");
_root[enemyName].shotHit = 0;
_root[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) {
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";
_root[enemyName].removeMe();
i++;
}
} else {
i = 221;
while (i <= 249) {
_root.attachMovie("removeItem", "remove", i);
i++;
}
}
_root.lerder0.lerder1.RemoveAllCoItem();
}
function ResetEnemy() {
trace("setEnemyNo=" + setEnemyNo);
_global.setEnemyNo--;
if (_global.setEnemyNo <= 0) {
this.SetEnemy(0);
}
}
function SetMoveTutorial() {
_root.attachMovie("tutorial_moveGoal", "goal", 221);
goalX = (Math.random() * 3000) - 1500;
goalY = (Math.random() * 3000) - 1500;
_root.goal._x = _root.mainChar._x + goalX;
_root.goal._y = _root.mainChar._y + goalY;
}
function SetGardTutorial() {
_root.attachMovie("tutorial_shotItem", "item", 221);
}
theSound = new Sound(_root);
Symbol 902 Button
on (release) {
_root.mes.inMes.ShowHelpMes2("normal");
_parent.inMenu.RemoveAllEnemy(1);
_parent.play();
}
Symbol 903 MovieClip Frame 4
tutorialName = _global.tempTutorialName + "\u8A13\u7DF4";
Symbol 903 MovieClip Frame 10
this.stop();
Symbol 904 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 904 MovieClip Frame 7
this.stop();
Symbol 904 MovieClip Frame 13
this.stop();
Instance of Symbol 897 MovieClip "inMenu" in Symbol 904 MovieClip Frame 13
onClipEvent (load) {
this._visible = false;
}
Symbol 904 MovieClip Frame 20
this.gotoAndStop(7);
Symbol 929 MovieClip Frame 1
function ShowHelpMes(tempMes) {
trace("\u30C1\u30E5\u30FC\u30C8\u30EA\u30A2\u30EB\u30E1\u30C3\u30BB\u30FC\u30B8wShowMes\u5B9F\u884C\u3055\u308C\u307E\u3057\u305F");
if (tempMes == "helpMove") {
mes = "\u57FA\u672C\u7684\u306A\u79FB\u52D5\u306E\u8A13\u7DF4\u3092\u884C\u3048\u307E\u3059";
} else if (tempMes == "helpShot") {
mes = "\u5C04\u6483\u306E\u8A13\u7DF4\u3092\u884C\u3048\u307E\u3059";
} else if (tempMes == "helpInFight") {
mes = "\u8FD1\u63A5\u653B\u6483\u306E\u8A13\u7DF4\u3092\u884C\u3048\u307E\u3059";
} else if (tempMes == "helpGard") {
mes = "\u9632\u5FA1\u3068\u56DE\u907F\u306E\u8A13\u7DF4\u3092\u884C\u3048\u307E\u3059";
} else if (tempMes == "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 929 MovieClip Frame 8
this.stop();
Symbol 929 MovieClip Frame 17
this.stop();
Symbol 929 MovieClip Frame 27
this.stop();
Symbol 929 MovieClip Frame 37
this.stop();
Symbol 929 MovieClip Frame 47
this.stop();
Symbol 930 MovieClip Frame 7
this.stop();
Symbol 935 MovieClip Frame 1
function WeponSymbolChange(param) {
if (param) {
this.gotoAndPlay("b");
} else {
this.gotoAndPlay("s");
}
}
this.stop();
Symbol 935 MovieClip Frame 15
this.stop();
Symbol 935 MovieClip Frame 25
this.stop();
Instance of Symbol 939 MovieClip in Symbol 940 MovieClip Frame 1
onClipEvent (load) {
function SetSpeedDis() {
var Xspeed = (_root.mainChar.YnowSpeed * -1);
var Yspeed = _root.mainChar.XnowSpeed;
var totalSpeed = Math.atan2(Yspeed, Xspeed);
_rotation = (totalSpeed / (Math.PI/180));
_yscale = (Math.abs(Xspeed) + Math.abs(Yspeed));
_xscale = (Math.abs(Xspeed) + Math.abs(Yspeed));
}
}
onClipEvent (enterFrame) {
this.SetSpeedDis();
}
Symbol 942 MovieClip Frame 1
this.onEnterFrame = function () {
this._rotation = _root.mainChar._rotation;
};
Symbol 943 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 DisX = (((_root.mainChar._x - x) / cf) * -1);
var DisY = (((_root.mainChar._y - y) / cf) * -1);
if (((Math.abs(DisX) <= 70) && (Math.abs(DisY) <= 70)) && (Math.random() < clearPar)) {
this.attachMovie(symList[symType], getName, getName + 30);
this[getName]._x = DisX;
this[getName]._y = DisY;
} else {
this[getName].removeMovieClip();
}
}
function RemoveCoItem(getName) {
this[getName].removeMovieClip();
}
function RemoveAllCoItem() {
var i;
i = 0;
while (i < 100) {
this.attachMovie("removeItem", "item", i);
i++;
}
}
function ChangeLerderArea() {
if (Key.isDown(_global.keyCas[11])) {
cf = cf1;
displaycf = "1 NARROW";
this.changeArea(cf);
} else if (Key.isDown(_global.keyCas[12])) {
cf = cf2;
displaycf = "2 NORMAL";
this.changeArea(cf);
} else if (Key.isDown(_global.keyCas[13])) {
cf = cf3;
displaycf = "3 WIDE";
this.changeArea(cf);
}
}
function changeArea(cfsize) {
this.attachMovie("lerderArea", "lerderArea", 100);
this.lerderArea._xscale = (this.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 947 MovieClip Frame 1
this.onEnterFrame = function () {
this._x = this._x - (moveX + (_root.mainChar.XnowSpeed * moveXext));
this._y = this._y - (moveY + (_root.mainChar.YnowSpeed * moveYext));
if (this._x <= (-this._width)) {
this._x = 790 + this._width;
}
if (this._x >= (800 + this._width)) {
this._x = (-this._width) + 10;
}
if (this._y >= (550 + this._width)) {
this._y = (-this._width) + 10;
}
if (this._y <= (-this._width)) {
this._y = 540 + this.width;
}
};
Symbol 949 MovieClip Frame 1
this.onEnterFrame = function () {
this._x = this._x - (moveX + (_root.mainChar.XnowSpeed * moveXext));
this._y = this._y - (moveY + (_root.mainChar.YnowSpeed * moveYext));
if (this._x <= (-this._width)) {
this._x = 790 + this._width;
}
if (this._x >= (800 + this._width)) {
this._x = (-this._width) + 10;
}
if (this._y >= (550 + this._width)) {
this._y = (-this._width) + 10;
}
if (this._y <= (-this._width)) {
this._y = 540 + this.width;
}
};
Symbol 955 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() {
i = 0;
while (i < 600) {
_root.attachMovie("removeItem", "removeItem", i);
i++;
}
_root.attachMovie("gameOverDisplay", "gameOverDisplay", 599);
_root.gameOverDisplay._x = 320;
_root.gameOverDisplay._y = 240;
_root.onEnterFrame = null;
var time1 = Math.round((getTimer() - time0) / 1000);
var s = (time1 % 60);
trace("\u7D4C\u904E\u6642\u9593=" + time1);
if (s < 10) {
s = "0" + s;
}
var m = ((time1 - s) / 60);
if (m < 10) {
m = "0" + m;
}
var totalTime = ((m + ":") + s);
trace("\u6226\u95D8\u6642\u9593=" + totalTime);
_root.gameOverDisplay.missionName = missionName;
_root.gameOverDisplay.totalTime = totalTime;
_root.gameOverDisplay.m1 = m1;
_root.gameOverDisplay.fg = fg;
_root.gameOverDisplay.fs = fs;
_root.gameOverDisplay.fe = fe;
_root.gameOverDisplay.s1 = s1;
_root.gameOverDisplay.dmgCnt = dmgCnt;
_root.gameOverDisplay.score = score;
_root.gameOverDisplay.charName = charNameList[_root.charName - 1];
_root.gameOverDisplay.missionName = _root.missionName;
}
function ChangeHp(damage) {
nowHp = nowHp - damage;
this.gageHp._xscale = (nowHp / basicHp) * 100;
dmgCnt++;
if ((nowHp < 0) && (mode == 1)) {
this.gageHp._xscale = 0;
mode = 0;
this.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 957 MovieClip Frame 1
this.onEnterFrame = function () {
this._rotation = this._rotation + 5;
};
Symbol 961 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 971 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 979 Button
on (release) {
this.gotoAndStop("first");
}
Symbol 981 Button
on (release) {
_root.SoundStop();
_root.gotoAndStop("menu");
}
Symbol 992 Button
on (release) {
_root.SoundStop();
_root.gotoAndStop("menu");
}
Symbol 994 Button
on (release) {
_root.so.data.name = name;
this.gotoAndStop("connect");
}
Symbol 997 Button
on (release) {
this.gotoAndStop("connect");
}
Symbol 1000 Button
on (release) {
_global.command = "read";
this.gotoAndStop("first");
}
Symbol 1001 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 1013 MovieClip Frame 1
_visible = 0;
if (_name == 1) {
this.play();
} else {
this.stop();
}
Symbol 1013 MovieClip Frame 2
_visible = 1;
Symbol 1013 MovieClip Frame 3
nextName = Number(_name);
nextName++;
trace("\u540D\u524D=" + nextName);
_parent[nextName].gotoAndPlay(2);
Symbol 1013 MovieClip Frame 15
this.stop();
Symbol 1014 Button
on (release) {
_root.SoundStop();
_root.gotoAndStop("menu");
}
Symbol 1022 Button
on (release) {
this.NextData(1);
}
Symbol 1023 Button
on (release) {
this.NextData(0);
}
Instance of Symbol 975 MovieClip "cgiBox" in Symbol 1026 MovieClip Frame 1
onClipEvent (load) {
function Action(com) {
if (com == "read") {
command = "read";
score = null;
pacName = null;
name = null;
loadVariables (_global.cgiAd, "_root.ranking", "GET");
} else {
command = "write";
score = _global.gTime;
pacName = _root.charName;
name = _parent.name;
if ((name == null) || (name == "")) {
name = "unknow";
}
loadVariables (_global.cgiAd, "_root.ranking", "GET");
}
}
}
Symbol 1026 MovieClip Frame 2
_root.AllRemove();
command = "read";
this.cgiBox.Action("read");
timeOver = getTimer() + 5000;
this.onData = function () {
this.onEnterFrame = null;
if (_global.command == "read") {
if (command == "end") {
gotoAndStop (55);
} else if (command == "errorchk") {
gotoAndStop (10);
}
} else if (_global.command == "write") {
if (command == "end") {
score = _global.gTime;
temp = this[("score" + _root.charName) + "10"];
if ((score < Number(score10)) || (score10 == null)) {
trace((("score=" + score) + "\nscore10=") + score10);
this.gotoAndStop("rankIn");
} else if (score < Number(temp)) {
trace("\u6A5F\u4F53\u5225\u30E9\u30F3\u30AF\u30A4\u30F3");
this.gotoAndStop("rankIn");
} else {
trace((("score=" + score) + "\nscore10=") + score10);
trace("\u30E9\u30F3\u30AD\u30F3\u30B0\u5916");
this.gotoAndStop("rankOut");
}
} else if (command == "errorchk") {
trace("\u30A8\u30E9\u30FC command=" + command);
this.gotoAndStop("e1");
}
} else {
trace("command\u306B\u4E0D\u6B63\u306A\u5024\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u3059=" + _global.command);
this.gotoAndStop("e1");
}
};
this.onEnterFrame = function () {
if (getTimer() > timeOver) {
this.gotoAndStop("e1");
}
};
this.stop();
Symbol 1026 MovieClip Frame 10
this.stop();
Symbol 1026 MovieClip Frame 20
if (_root.so.data.name != null) {
name = _root.so.data.name;
}
this.stop();
Symbol 1026 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 1026 MovieClip Frame 35
this.stop();
Symbol 1026 MovieClip Frame 45
this.stop();
Symbol 1026 MovieClip Frame 55
function LoadRankingData() {
trace("\u30E9\u30F3\u30AD\u30F3\u30B0\u30C7\u30FC\u30BF\u518D\u8868\u793A readCa=" + readCa);
this.AllClear();
if (readCa == 0) {
this[1].name = "\u81EA\u5DF1\u6700\u9AD8\u8A18\u9332";
this[3].name = "\u6A5F\u4F53\u5225\u6700\u9AD8\u8A18\u9332";
var tempI = 2;
this[tempI].no = 1;
this[tempI].name = "Your best time";
if (_root.so.data.yourBestTime == null) {
this[tempI].time = "noData";
this[tempI].disPacName = "noData";
} else {
this[tempI].time = _root.so.data.yourBestTime;
this[tempI].disPacName = this.pacNameList[_root.so.data.yourBestPac];
}
i = 1;
while (i < 5) {
this[i + 3].name = pacNameList[i] + "bestTime";
if (_root.so.data[("pac" + i) + "bestTime"] == null) {
this[i + 3].no = 1;
this[i + 3].name = "Frame best time";
this[i + 3].time = "noData";
this[i + 3].disPacName = pacNameList[i];
} else {
this[i + 3].no = 1;
this[i + 3].name = "Frame best time";
this[i + 3].time = _root.so.data[("pac" + i) + "bestTime"];
this[i + 3].disPacName = pacNameList[i];
}
i++;
}
} else {
i = 1;
while (i < 11) {
this[i].no = i;
if (readCa == 1) {
i2 = i;
} else {
i2 = String(readCa - 1) + i;
trace("i2\u306F=" + i2);
}
this[i].name = this["name" + i2];
this[i].time = this["score" + i2];
tempCa = Number(readCa) + 1;
if (readCa == 1) {
pName = this["pacName" + i];
this[i].disPacName = this.pacNameList[pName];
} else {
this[i].disPacName = this.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() {
i = 1;
while (i < 11) {
this[i].no = "";
this[i].name = "";
this[i].time = "";
this[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();