Frame 1
this.stop();
Frame 10
function SoundStop() {
theSound.stop();
}
theSound = new Sound(this);
this.stop();
this.stop();
_global.firstStage = "tutorial";
_global.mainCharNowHp = (_global.mainCharBaseHp = 4500);
_global.mainCharNowEn = (_global.mainCharBaseEn = 3897000);
_global.mainCharEnRe = 43;
_global.mainCharHpRe = 2;
_global.c1sbSmaxSpeed = 200;
_global.c1sbPmaxSpeed = 120;
_global.c1sbEmaxSpeed = 25;
_global.c1sbSaddSpeed = 10;
_global.c1sbPaddSpeed = 5;
_global.c1sbEaddSpeed = 2;
_global.c1sbBoostSpeed = 250;
_global.c1sbBoostDownExt = 1.5;
_global.c1sbSxdown = 0.1;
_global.c1sbSydown = 0.05;
_global.c1sbPxdown = 0.8;
_global.c1sbPydown = 0.01;
_global.c1orSmaxSpeed = 230;
_global.c1orPmaxSpeed = 140;
_global.c1orEmaxSpeed = 20;
_global.c1orSaddSpeed = 8.5;
_global.c1orPaddSpeed = 4.5;
_global.c1orEaddSpeed = 2;
_global.c1orBoostSpeed = 350;
_global.c1orBoostDownExt = 1.45;
_global.c1orSxdown = 0.1;
_global.c1orSydown = 0.05;
_global.c1orPxdown = 0.8;
_global.c1orPydown = 0.01;
_global.c2reSmaxSpeed = 200;
_global.c2rePmaxSpeed = 100;
_global.c2reEmaxSpeed = 50;
_global.c2reSaddSpeed = 200;
_global.c2rePaddSpeed = 4;
_global.c2reEaddSpeed = 3;
_global.c2reBoostSpeed = 230;
_global.c2reBoostDownExt = 1.5;
_global.c2reSxdown = 0.1;
_global.c2reSydown = 0.05;
_global.c2rePxdown = 0.8;
_global.c2rePydown = 0.01;
_global.c2reDrGard = 3000;
_global.c2reDrBoost = 24000;
_global.c2reDrMove = 150;
_global.c2reDrShot = 5;
_global.c2reDrExtraE = 46000;
_global.c2reDrBraidOpen = 1000;
_global.c2reDrBraid1 = 4000;
_global.c2reDrBraid2 = 6000;
_global.c2reDrBraid3 = 8000;
_global.c2reSPChange = 1000;
_global.c2reSPShot = 32000;
Frame 20
function OpenSelectWindow(charName) {
if (_root.window == undefined) {
_global.mainCharName = charName;
_root.attachMovie("selectWindow", "window", 1);
_root.window._x = 400;
_root.window._y = 300;
}
}
function SetMainChar() {
_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);
}
i = 0;
while (i < 600) {
_root.attachMovie("removeItem", "removeItem", i);
i++;
}
this.stop();
Instance of Symbol 693 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveExt = 2;
}
Instance of Symbol 695 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveExt = 2;
}
Instance of Symbol 693 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveExt = 2;
}
Instance of Symbol 695 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveExt = 2;
}
Instance of Symbol 693 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveExt = 1;
}
Instance of Symbol 693 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveExt = 1;
}
Instance of Symbol 693 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveExt = 1;
}
Instance of Symbol 695 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveExt = 1;
}
Instance of Symbol 695 MovieClip in Frame 20
//component parameters
onClipEvent (initialize) {
moveExt = 1;
}
Frame 30
this.stop();
Instance of Symbol 693 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 1;
}
Instance of Symbol 693 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 1;
}
Instance of Symbol 693 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 1;
}
Instance of Symbol 695 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 1;
}
Instance of Symbol 695 MovieClip in Frame 30
//component parameters
onClipEvent (initialize) {
moveExt = 1;
}
Instance of Symbol 740 MovieClip in Frame 30
onClipEvent (enterFrame) {
this._rotation = _root.mainChar._rotation;
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 40
function FirstSetEnemy(followNo, moveNo) {
i = 1;
while (i <= followNo) {
enemyName = ("enemy0" + i) + "0";
_root.attachMovie("enemy_float(follow)", enemyName, i + 220);
_root[enemyName].extraX = (Math.random() * 140) - 70;
_root[enemyName]._xscale = (_root[enemyName]._yscale = (Math.random() * 30) + 60);
_root[enemyName].extraY = (Math.random() * 140) - 70;
_root[enemyName].follow = (Math.random() * 40) + 5;
i++;
}
while (i <= (moveNo + followNo)) {
enemyName = ("enemy0" + i) + "0";
_root.attachMovie("enemy_float(move)", enemyName, i + 220);
_root[enemyName].moveX = (Math.random() * 140) - 70;
_root[enemyName].moveY = (Math.random() * 140) - 70;
i++;
}
}
function SetBoss() {
_root.attachMovie("boss1", "enemy100", 240);
_root.enemy100._xscale = 65;
_root.enemy100._yscale = 65;
_root.enemy100._x = 600;
_root.enemy100._y = 100;
}
this.stop();
this.FirstSetEnemy(3, 2);
saihaitiKankaku = 30000;
saihaitiCount = getTimer() + saihaitiKankaku;
this.onEnterFrame = function () {
if (_root.mainChar != undefined) {
if (getTimer() > saihaitiCount) {
saihaitiCount = getTimer() + saihaitiKankaku;
this.FirstSetEnemy(3, 2);
}
} else {
saihaitiCount = 999999999999;
}
};
Instance of Symbol 812 MovieClip in Frame 40
onClipEvent (load) {
moveX = 0.008;
moveY = 0;
moveXext = 0.4;
moveYext = 0.4;
}
Instance of Symbol 814 MovieClip in Frame 40
onClipEvent (load) {
moveX = 0.001;
moveY = 0;
moveXext = 0.3;
moveYext = 0.3;
}
Instance of Symbol 812 MovieClip in Frame 40
onClipEvent (load) {
moveX = 0.7;
moveY = 0.05;
moveXext = 1;
moveYext = 1;
}
Instance of Symbol 814 MovieClip in Frame 40
onClipEvent (load) {
moveX = 1.1;
moveY = 0;
moveXext = 1;
moveYext = 1;
}
Instance of Symbol 812 MovieClip in Frame 40
onClipEvent (load) {
moveX = 0.3;
moveY = 0;
moveXext = 1;
moveYext = 1;
}
Instance of Symbol 814 MovieClip in Frame 40
onClipEvent (load) {
moveX = 2.6;
moveY = 0.1;
moveXext = 1;
moveYext = 1;
}
Frame 50
this.stop();
Instance of Symbol 869 MovieClip "enemy090" in Frame 50
onClipEvent (load) {
function damage(dmgPoint, dmgType, Nouse1, Nouse2, Nouse3) {
s1++;
dmgName = "dmg" + s1;
this.attachMovie("dmg", dmgName, s1);
}
function gard() {
this.gotoAndStop("paci_gard");
}
function braidmodeChange(Bmode) {
if (Bmode == 1) {
braidmode = "braidOpen";
} else {
braidmode = "braidClose";
}
}
function getBraidmode() {
return(braidmode);
}
function getDirection() {
return(direction);
}
function boostMove(flag) {
if (flag == 1) {
this.gotoAndPlay("boost");
theBoostSE.start();
i = 0;
while (i <= 20) {
EFname = "boost" + i;
_root.attachMovie("boostEF", EFname, i + 170);
_root[EFname]._rotation = Math.random() * 360;
_root[EFname]._xscale = (_root[EFname]._yscale = (Math.random() * 50) + 100);
_root[EFname]._x = 275;
_root[EFname]._y = 200;
i++;
}
speedDownCnt = 5;
tempKakudo = (_rotation * Math.PI) / 180;
XaddSpeed = 250 * Math.cos(tempKakudo);
YaddSpeed = 250 * Math.sin(tempKakudo);
XnowSpeed = XnowSpeed + XaddSpeed;
YnowSpeed = YnowSpeed + YaddSpeed;
} else if (speedDownCnt >= 1) {
XnowSpeed = XnowSpeed / 1.6;
YnowSpeed = YnowSpeed / 1.6;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
speedDownCnt--;
if (speedDownCnt == 0) {
boostMode = "No";
}
}
}
function SpeedUP() {
if (boostMode != "yes") {
if (style == "s") {
maxSpeed = SmaxSpeed;
addSpeed = SaddSpeed;
} else if (style == "overGun") {
maxSpeed = 20;
addSpeed = 2;
} else {
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
}
if (style == "p_standing") {
this.gotoAndStop("paci(s->n)");
}
tempKakudo = (_rotation * Math.PI) / 180;
XaddSpeed = addSpeed * Math.cos(tempKakudo);
YaddSpeed = addSpeed * Math.sin(tempKakudo);
tempXspeed = XnowSpeed + XaddSpeed;
tempYspeed = YnowSpeed + YaddSpeed;
tempnowSpeed = Math.abs(tempXspeed) + Math.abs(tempYspeed);
if (tempnowSpeed <= maxSpeed) {
XnowSpeed = XnowSpeed + XaddSpeed;
YnowSpeed = YnowSpeed + YaddSpeed;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
}
}
}
function normal() {
this.gotoAndStop("paci_standing");
}
function SpeedDown() {
XnowSpeed = XnowSpeed - (addSpeed / 2);
if (XnowSpeed <= 0) {
XnowSpeed = 0;
}
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
}
function openBraid() {
_root.mainChar.char.handF.braid.open();
}
function change() {
if ((style == "p_normal") || (style == "p_standing")) {
braidmode = "braidClose";
this.gotoAndStop("change(p->s)");
} else {
this.gotoAndStop("change(s->p)");
}
}
function GunChange() {
if ((style == "p_normal") || (style == "p_standing")) {
braidmode = "braidClose";
this.gotoAndStop("paci(n->over)");
}
}
function atkStart() {
if (style == "s") {
this.shot_s1();
} else if (braidmode == "braidClose") {
this.shot_p1();
} else {
this.braid1();
}
}
function atkEnd() {
if (style == "s") {
this.gotoAndStop("sky_normal");
} else if (braidmode == "braidClose") {
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() {
this.gotoAndStop("paci_openWepon1");
}
function moving() {
xDis = _root.mainChar._x - this._x;
yDis = _root.mainChar._y - this._y;
kyori = Math.abs(xDis) + Math.abs(yDis);
if (kyori <= 150) {
this.braid1();
} else if (kyori <= 200) {
this.shot_p1();
}
kyori = Math.abs(xDis) + Math.abs(yDis);
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;
}
}
SmaxSpeed = 200;
PmaxSpeed = 100;
SaddSpeed = 10;
PaddSPeed = 5;
XaddSpeed = 0;
YaddSpeed = 0;
nowSpeed = 0;
XnowSpeed = 0;
YnowSpeed = 0;
Sxdown = 0.1;
Sydown = 0.05;
Pxdown = 0.8;
Pydown = 0.01;
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
Xdown = Pxdown;
Ydown = Pydown;
braidmode = "braidClose";
style = "p_standing";
scale = _xscale;
direction = "right";
shotMode = "ready";
speedmode = "-";
boostMode = "No";
getDC = 0;
DCtime = 3;
boostCnt = 0;
theBoostSE = new Sound();
theBoostSE.attachSound("boostSE3");
this.gotoAndStop("paci_standing");
s1 = 0;
}
onClipEvent (enterFrame) {
this.moving();
if (kyori <= 300) {
}
if (speedMode == "up") {
this.speedUP();
} else if (nowSpeed <= 25) {
if ((_currentframe == 1) || (_currentframe == 40)) {
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();
}
if (boostCnt > 0) {
if (boostCnt == 6) {
getNowXspeed = XnowSpeed;
getNowYspeed = YnowSpeed;
this.boostMove(1);
}
if (boostCnt != 1) {
this.boostMove(0);
}
boostCnt--;
}
if (Key.isDown(33)) {
}
}
onClipEvent (mouseUp) {
speedmode = "-";
}
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
i = 0;
Symbol 57 MovieClip Frame 3
if (i >= 9) {
i = 0;
} else {
i++;
}
thePoint = {x:220, y:0};
this.localToGlobal(thePoint);
shotName = "shot1EF" + i;
_root.attachMovie("c2re_shot1EF", shotName, 200 + i);
_root[shotName]._rotation = _parent._rotation;
_root[shotName]._x = thePoint.x;
_root[shotName]._y = thePoint.y;
Symbol 57 MovieClip Frame 5
this.gotoAndPlay(_currentframe - 2);
Symbol 59 MovieClip Frame 1
this._visible = false;
Symbol 68 MovieClip Frame 1
this.gotoAndPlay(7);
Symbol 68 MovieClip Frame 13
if (Key.isDown(32)) {
this.gotoAndPlay("braid2");
}
Symbol 68 MovieClip Frame 17
_parent.gotoAndStop("paci_standing");
Symbol 68 MovieClip Frame 36
if (Key.isDown(32)) {
this.gotoAndPlay("braid3");
}
Symbol 68 MovieClip Frame 46
_parent.gotoAndStop("paci_standing");
Symbol 73 MovieClip Frame 1
_parent.style = "equipWepon";
Symbol 73 MovieClip Frame 13
Symbol 73 MovieClip Frame 14
i = 10;
thePoint = {x:220, y:0};
this.localToGlobal(thePoint);
shotName = "braidAttack" + i;
_root.attachMovie("braidAttack", shotName, 200 + i);
_root[shotName]._rotation = _parent._rotation;
_root[shotName]._x = thePoint.x;
_root[shotName]._y = thePoint.y;
Symbol 73 MovieClip Frame 23
_parent.style = "p_standing";
_parent.gotoAndPlay("paci_standing");
Symbol 77 MovieClip Frame 1
_rotation = (_rotation + 5);
Symbol 77 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 81 MovieClip Frame 1
this._visible = false;
Symbol 82 MovieClip Frame 1
this.onEnterFrame = function () {
if (Key.isDown(68)) {
} else {
_parent.gotoAndStop("paci_standing");
}
};
Symbol 82 MovieClip Frame 5
this.onEnterFrame = function () {
if (Key.isDown(68)) {
} else {
_parent.gotoAndStop("paci_standing");
}
};
this.stop();
Symbol 85 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Symbol 86 MovieClip [A_SET_Char4db] Frame 1
function damage(dmgPoint, dmgType, Nouse1, Nouse2, Nouse3) {
s1++;
_root.mainHp.ChangeHp(dmgPoint);
dmgName = "dmg" + s1;
this.attachMovie("dmg", dmgName, s1);
}
function gard() {
this.gotoAndStop("paci_gard");
}
function braidmodeChange(Bmode) {
if (Bmode == 1) {
braidmode = "braidOpen";
} else {
braidmode = "braidClose";
}
}
function getBraidmode() {
return(braidmode);
}
function getDirection() {
return(direction);
}
function boostMove(flag) {
if (flag == 1) {
this.gotoAndPlay("boost");
theBoostSE.start();
i = 0;
while (i <= 20) {
EFname = "boost" + i;
_root.attachMovie("boostEF", EFname, i + 170);
_root[EFname]._rotation = Math.random() * 360;
_root[EFname]._xscale = (_root[EFname]._yscale = (Math.random() * 50) + 100);
_root[EFname]._x = 275;
_root[EFname]._y = 200;
i++;
}
speedDownCnt = 5;
tempKakudo = (_rotation * Math.PI) / 180;
XaddSpeed = boostSpeed * Math.cos(tempKakudo);
YaddSpeed = boostSpeed * Math.sin(tempKakudo);
XnowSpeed = XnowSpeed + XaddSpeed;
YnowSpeed = YnowSpeed + YaddSpeed;
} else if (speedDownCnt >= 1) {
XnowSpeed = XnowSpeed / boostDownExt;
YnowSpeed = YnowSpeed / boostDownExt;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
speedDownCnt--;
if (speedDownCnt == 0) {
boostMode = "No";
}
}
}
function SpeedUP() {
if (boostMode != "yes") {
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)");
}
tempKakudo = (_rotation * Math.PI) / 180;
XaddSpeed = addSpeed * Math.cos(tempKakudo);
YaddSpeed = addSpeed * Math.sin(tempKakudo);
tempXspeed = XnowSpeed + XaddSpeed;
tempYspeed = YnowSpeed + YaddSpeed;
tempnowSpeed = Math.abs(tempXspeed) + Math.abs(tempYspeed);
if (tempnowSpeed <= maxSpeed) {
XnowSpeed = XnowSpeed + XaddSpeed;
YnowSpeed = YnowSpeed + YaddSpeed;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
}
}
}
function normal() {
this.gotoAndStop("paci_standing");
}
function SpeedDown() {
XnowSpeed = XnowSpeed - (addSpeed / 2);
if (XnowSpeed <= 0) {
XnowSpeed = 0;
}
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
}
function openBraid() {
_root.mainChar.char.handF.braid.open();
}
function change() {
if ((style == "p_normal") || (style == "p_standing")) {
braidmode = "braidClose";
this.gotoAndStop("change(p->s)");
} else {
this.gotoAndStop("change(s->p)");
}
}
function GunChange() {
}
function atkStart() {
if (style == "s") {
this.shot_s1();
} else if (braidmode == "braidClose") {
this.shot_p1();
} else {
this.braid1();
}
}
function atkEnd() {
if (style == "s") {
this.gotoAndStop("sky_normal");
} else if (braidmode == "braidClose") {
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() {
this.gotoAndStop("paci_openWepon1");
}
SmaxSpeed = _global.c1orSmaxSpeed;
PmaxSpeed = _global.c1orPmaxSpeed + 10;
EmaxSpeed = _global.c1orEmaxSpeed;
SaddSpeed = _global.c1orSaddSpeed;
PaddSPeed = _global.c1orPaddSpeed + 2;
EaddSpeed = _global.c1orEaddSpeed;
Sxdown = _global.c1orSxdown;
Sydown = _global.c1orSydown;
Pxdown = _global.c1orPxdown;
Pydown = _global.c1orPydown;
BoostSpeed = _global.c1orBoostSpeed;
boostDownExt = _global.c1orBoostDownExt;
XaddSpeed = 0;
YaddSpeed = 0;
nowSpeed = 0;
XnowSpeed = 0;
YnowSpeed = 0;
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
Xdown = Pxdown;
Ydown = Pydown;
braidmode = "braidOpen";
style = "p_standing";
scale = _xscale;
direction = "right";
shotMode = "ready";
speedmode = "-";
boostMode = "No";
getDC = 0;
DCtime = 3;
boostCnt = 0;
theBoostSE = new Sound();
theBoostSE.attachSound("boostSE3");
this.gotoAndStop("paci_standing");
s1 = 0;
_global.hp = 3000;
this.onEnterFrame = function () {
if (Key.isDown(32)) {
if (style != "overGun") {
shotMode = "shot";
}
} else if (shotMode == "shot") {
shotMode = "stop";
}
if (Key.isDown(68)) {
this.gard();
}
if (speedMode == "up") {
this.speedUP();
} else if (nowSpeed <= 25) {
if ((_currentframe == 11) || (_currentframe == 51)) {
this.normal();
}
}
if (Key.isDown(90)) {
}
if (Key.isDown(67)) {
this.SpeedDown();
}
if (Key.isDown(65)) {
}
if (Key.isDown(83)) {
if (braidmode == "braidClose") {
braidmode = "braidOpen";
} else {
braidmode = "braidClose";
}
}
if (Key.isDown(69)) {
this.openWepon1();
}
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();
}
if (boostCnt > 0) {
if (boostCnt == 6) {
getNowXspeed = XnowSpeed;
getNowYspeed = YnowSpeed;
this.boostMove(1);
}
if (boostCnt != 1) {
this.boostMove(0);
}
boostCnt--;
}
if (getDC >= 0) {
getDC--;
}
if (Key.isDown(33)) {
}
};
this.onMouseDown = function () {
if ((getDC >= 0) && (boostCnt == 0)) {
boostMode = "yes";
boostCnt = 6;
speedmode = "up";
} else {
speedmode = "up";
getDC = DCtime;
}
};
this.onMouseUp = function () {
speedmode = "-";
};
this.onMouseMove = function () {
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;
}
};
Symbol 86 MovieClip [A_SET_Char4db] Frame 11
this.stop();
Symbol 86 MovieClip [A_SET_Char4db] Frame 20
this.stop();
Symbol 86 MovieClip [A_SET_Char4db] Frame 30
this.stop();
Symbol 86 MovieClip [A_SET_Char4db] Frame 40
this.stop();
Symbol 86 MovieClip [A_SET_Char4db] Frame 50
this.stop();
Symbol 86 MovieClip [A_SET_Char4db] Frame 60
this.stop();
Symbol 86 MovieClip [A_SET_Char4db] Frame 70
this.stop();
Symbol 86 MovieClip [A_SET_Char4db] Frame 80
this.stop();
Symbol 86 MovieClip [A_SET_Char4db] Frame 90
this.stop();
Symbol 86 MovieClip [A_SET_Char4db] Frame 100
this.stop();
Symbol 86 MovieClip [A_SET_Char4db] Frame 110
this.stop();
Symbol 86 MovieClip [A_SET_Char4db] Frame 120
this.stop();
Symbol 86 MovieClip [A_SET_Char4db] Frame 130
this.stop();
Symbol 86 MovieClip [A_SET_Char4db] Frame 140
this.stop();
Symbol 86 MovieClip [A_SET_Char4db] Frame 150
this.stop();
Symbol 86 MovieClip [A_SET_Char4db] Frame 160
this.stop();
Symbol 88 MovieClip Frame 1
function DrowMissileSmoke() {
if (i >= removeLine) {
i = 0;
}
i++;
var deep = ((no * removeLine) + i);
var missileLineName = ("missile" + deep);
_parent.attachMovie("missileLine2", missileLineName, deep + 200);
_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;
thePoint = {x:this._x + 1000, y:0};
xDis = thePoint.x;
yDis = thePoint.y;
i = 0;
i3 = 0;
removeLine = 10;
Symbol 88 MovieClip Frame 2
this.onEnterFrame = function () {
i3++;
if (i3 > 25) {
_parent.removeMovieClip();
} else if (i3 == 8) {
radian = (Math.random() * 360) - 180;
} else {
this.DrowMissileSmoke();
}
ext = ext * 1.15;
XaddSpeed = (addSpeed * Math.cos(radian)) * ext;
YaddSpeed = (addSpeed * Math.sin(radian)) * ext;
this._x = this._x + ((XnowSpeed = XnowSpeed + XaddSpeed));
this._y = this._y + ((YnowSpeed = YnowSpeed + YaddSpeed));
if (this.hitTest(_root.enemy010)) {
_root.enemy010.hit();
}
if (this.hitTest(_root.enemy020)) {
_root.enemy020.hit();
}
if (this.hitTest(_root.enemy030)) {
_root.enemy030.hit();
}
if (this.hitTest(_root.enemy040)) {
_root.enemy040.hit();
}
if (this.hitTest(_root.enemy050)) {
_root.enemy050.hit();
}
if (this.hitTest(_root.enemy060)) {
_root.enemy060.hit();
}
if (this.hitTest(_root.enemy070)) {
_root.enemy070.hit();
}
if (this.hitTest(_root.enemy080)) {
_root.enemy080.hit();
}
if (this.hitTest(_root.enemy090)) {
_root.enemy090.hit();
}
if (this.hitTest(_root.enemy100)) {
_root.enemy100.hit();
}
if (this.hitTest(_root.enemy110)) {
_root.enemy110.hit();
}
if (this.hitTest(_root.enemy120)) {
_root.enemy120.hit();
}
if (this.hitTest(_root.missileArea[1])) {
_root.missileArea[1].Hit(1);
}
if (this.hitTest(_root.missileArea[2])) {
_root.missileArea[2].Hit(1);
}
if (this.hitTest(_root.missileArea[3])) {
_root.missileArea[3].Hit(1);
}
if (this.hitTest(_root.missileArea[4])) {
_root.missileArea[4].Hit(1);
}
if (this.hitTest(_root.missileArea[5])) {
_root.missileArea[5].Hit(1);
}
if (this.hitTest(_root.missileArea[6])) {
_root.missileArea[6].Hit(1);
}
if (this.hitTest(_root.missileArea[7])) {
_root.missileArea[7].Hit(1);
}
if (this.hitTest(_root.missileArea[8])) {
_root.missileArea[8].Hit(1);
}
if (this.hitTest(_root.missileArea[9])) {
_root.missileArea[9].Hit(1);
}
if (this.hitTest(_root.missileArea[10])) {
_root.missileArea[10].Hit(1);
}
};
this.stop();
Symbol 89 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 106 MovieClip Frame 1
rand = Math.floor(Math.random() * 3) + 5;
this.gotoAndPlay(rand);
Symbol 106 MovieClip Frame 8
this.gotoAndPlay(5);
Symbol 107 MovieClip Frame 1
this.onEnterFrame = function () {
if (Key.isDown(16)) {
this.gotoAndPlay("leaser");
}
if (Key.isDown(39)) {
this.gotoAndPlay("leaserField");
}
};
this.stop();
Symbol 107 MovieClip Frame 10
this.stop();
Symbol 107 MovieClip Frame 42
this.attachMovie("enemy_beam1EF", "beam", 1);
this.beam._x = -330;
this.beam._yscale = 80;
this.beam._xscale = 2000;
Symbol 107 MovieClip Frame 43
this.beam._yscale = 40;
Symbol 107 MovieClip Frame 44
this.beam.removeMovieClip();
Symbol 107 MovieClip Frame 57
this.gotoAndStop("wait");
Symbol 107 MovieClip Frame 75
this.stop();
Symbol 114 MovieClip Frame 10
_parent.gotoAndStop("wToN");
Symbol 115 MovieClip Frame 29
_parent.gotoAndStop("normal");
Symbol 117 MovieClip Frame 1
function shot() {
i++;
if (i >= 30) {
i = 0;
}
var thePoint = {x:0, y:0};
this.localToGlobal(thePoint);
var shotName = (("enemy_shot" + No) + i);
var deep = ((i * No) + 1000);
var thePoint = {x:this._x, y:this._y};
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_shot2EF", shotName, deep);
_root[shotName]._x = thePoint.x;
_root[shotName]._y = thePoint.y;
_root[shotName]._rotation = kakudo;
}
this._visible = false;
mode = 0;
no = _name;
i = 10;
i2 = 0;
wait = 15;
cnt = 0;
shotMode = "-";
Symbol 117 MovieClip Frame 5
this.shot();
Symbol 117 MovieClip Frame 10
this.shot();
Symbol 117 MovieClip Frame 15
this.shot();
Symbol 117 MovieClip Frame 20
this.shot();
Symbol 117 MovieClip Frame 25
this.shot();
Symbol 117 MovieClip Frame 60
this.gotoAndPlay(5);
Symbol 118 MovieClip Frame 1
_parent.gotoAndStop("normal");
Symbol 128 MovieClip Frame 51
this._visible = false;
_root.attachMovie("whiteMask", "whiteMask", 5000);
_parent.removeMovieClip();
Symbol 128 MovieClip Frame 52
_parent.removeMovieClip();
Symbol 128 MovieClip Frame 53
_parent.removeMovieClip();
Symbol 129 MovieClip [boss1] Frame 1
function hit(damage) {
hp = hp - damage;
hp--;
if ((hp <= 0) && (mode == 0)) {
mode++;
_root.mainHp.AddScore(15000, "ship");
this.gotoAndStop("breakDown");
}
}
baseHp = (hp = 1000);
mode = 0;
cnt = 0;
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.lerder0.lerder1.getCo(_name, this._x, this._y, 6);
if (Key.isDown(38)) {
this.gotoAndStop("wToN");
}
if (Key.isDown(8)) {
this.gotoAndStop("breakDown");
}
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();
Instance of Symbol 49 MovieClip "hitArea" in Symbol 129 MovieClip [boss1] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
_parent.hit(30);
}
}
Symbol 129 MovieClip [boss1] Frame 10
this.stop();
Symbol 129 MovieClip [boss1] Frame 20
this.stop();
Symbol 129 MovieClip [boss1] Frame 30
this.stop();
Symbol 165 MovieClip Frame 1
this.stop();
Symbol 165 MovieClip Frame 2
i = 0;
while (i <= 60) {
EFname = "changeEF" + i;
this.attachMovie("EF", EFname, i + 10);
this[EFname]._rotation = Math.random() * -200;
this[EFname]._xscale = (Math.random() * 300) + 50;
this[EFname]._x = 0;
this[EFname]._y = -50;
i++;
}
Symbol 165 MovieClip Frame 4
mode = "open";
_root.mainChar.braidmodeChange(1);
Symbol 165 MovieClip Frame 7
this.gotoAndPlay(_currentframe - 2);
Symbol 165 MovieClip Frame 8
i = 0;
while (i <= 30) {
EFname = "changeEF" + i;
this.attachMovie("EF", EFname, i + 10);
this[EFname]._rotation = Math.random() * -300;
this[EFname]._xscale = Math.random() * 250;
this[EFname]._x = 0;
this[EFname]._y = -105;
i++;
}
Symbol 165 MovieClip Frame 11
mode = "close";
_root.mainChar.braidmodeChange(0);
this.gotoAndStop(1);
Instance of Symbol 165 MovieClip "braid" in Symbol 167 MovieClip Frame 1
onClipEvent (load) {
function open() {
if (mode == "close") {
mode = "-";
this.play();
} 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";
}
}
Symbol 174 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 178 MovieClip Frame 5
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 178 MovieClip Frame 7
_parent.style = "s";
Symbol 178 MovieClip Frame 15
_parent.gotoAndStop("sky_normal");
Symbol 180 MovieClip Frame 4
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 180 MovieClip Frame 6
_parent.style = "p_normal";
Symbol 180 MovieClip Frame 14
_parent.gotoAndStop("paci_normal");
Symbol 182 MovieClip Frame 1
_parent.style = "p_standing";
Symbol 183 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 183 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Symbol 185 MovieClip Frame 1
i = 0;
Symbol 185 MovieClip Frame 3
if (i >= 50) {
i = 0;
} else {
i++;
}
thePoint = {x:220, y:0};
this.localToGlobal(thePoint);
shotName = "shot1EF" + i;
_root.attachMovie("c1sb_shot1EF_enemy", shotName, 400 + i);
_root[shotName]._rotation = _parent._rotation;
_root[shotName]._x = thePoint.x;
_root[shotName]._y = thePoint.y;
Symbol 185 MovieClip Frame 5
this.gotoAndPlay(_currentframe - 2);
Instance of Symbol 59 MovieClip "hitArea_b1" in Symbol 206 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
_root.mainChar.BraidHit();
_parent.BraidHit();
}
if (this.hitTest(_root.mainChar.damageArea)) {
_global.mainCharNowHp = _global.mainCharNowHp - 300;
}
}
Symbol 206 MovieClip Frame 8
if (Key.isDown(32)) {
this.gotoAndPlay("braid2");
}
Symbol 206 MovieClip Frame 12
_parent.gotoAndStop("paci_standing");
Instance of Symbol 59 MovieClip "hitArea_b1" in Symbol 206 MovieClip Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
_root.mainChar.BraidHit();
_parent.BraidHit();
}
if (this.hitTest(_root.mainChar.damageArea)) {
_global.mainCharNowHp = _global.mainCharNowHp - 300;
}
}
Symbol 206 MovieClip Frame 31
if (Key.isDown(32)) {
this.gotoAndPlay("braid3");
}
Symbol 206 MovieClip Frame 36
_parent.gotoAndStop("paci_standing");
Symbol 206 MovieClip Frame 45
Instance of Symbol 59 MovieClip "hitArea_b1" in Symbol 206 MovieClip Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
_root.mainChar.BraidHit();
_parent.BraidHit();
}
}
Instance of Symbol 59 MovieClip "hitArea_b1" in Symbol 206 MovieClip Frame 58
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
_root.mainChar.BraidHit();
_parent.BraidHit();
}
}
Symbol 206 MovieClip Frame 67
_parent.gotoAndStop("paci_standing");
Symbol 207 MovieClip Frame 1
i = 0;
Symbol 207 MovieClip Frame 2
if (i >= 50) {
i = 0;
} else {
i++;
}
thePoint = {x:220, y:0};
this.localToGlobal(thePoint);
shotName = "shot1EF" + i;
_root.attachMovie("shot1EF", shotName, 200 + i);
_root[shotName]._rotation = _parent._rotation;
_root[shotName]._x = thePoint.x;
_root[shotName]._y = thePoint.y;
Symbol 207 MovieClip Frame 4
this.gotoAndPlay(_currentframe - 2);
Symbol 215 MovieClip [openWeponEF1] Frame 6
this.removeMovieClip();
this.stop();
Symbol 216 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;
_root[WeponName]._rotation = (110 + (Math.random() * 20)) - 10;
randSize = Math.random() * randSizeWidth;
_root[WeponName]._xscale = (BaseSize + randSize) / 10;
_root[WeponName]._yscale = (BaseSize + randSize) / 3.3;
}
randSizeWidth = 0;
BaseSize = 70;
_root.textDisplay.mesRecord("\u5B50\u6A5F\u5C55\u958B");
_parent.style = "equipWepon";
Symbol 216 MovieClip Frame 7
i = 10;
WeponName = "Wepon1_" + i;
i = i / 10;
this.setWeponSystem1();
Symbol 216 MovieClip Frame 9
i = 20;
WeponName = "Wepon1_" + i;
i = i / 10;
BaseSize = BaseSize + 10;
this.setWeponSystem1();
Symbol 216 MovieClip Frame 11
i = 30;
WeponName = "Wepon1_" + i;
i = i / 10;
BaseSize = BaseSize + 40;
this.setWeponSystem1();
Symbol 216 MovieClip Frame 22
_parent.style = "p_standing";
_parent.gotoAndPlay("paci_standing");
Symbol 218 MovieClip Frame 1
_root.textDisplay.mesRecord("\u30AA\u30FC\u30D0\u30FC\u30AC\u30F3\u30E2\u30FC\u30C9\u3078\u79FB\u884C");
Symbol 218 MovieClip Frame 14
_parent.style = "overGun";
Symbol 218 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 218 MovieClip Frame 17
_parent.gotoAndStop("overGun");
Symbol 219 MovieClip Frame 1
function overShotEnd() {
this.gotoAndPlay(1);
}
EFsize = 100;
if (Key.isDown(32)) {
this.gotoAndPlay("charge");
}
Symbol 219 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 2);
Symbol 219 MovieClip Frame 7
this.attachMovie("sarcleEF", "sarcleEF", 600);
this.sarcleEF._x = 266;
this.sarcleEF._y = 5;
Symbol 219 MovieClip Frame 8
if (Key.isDown(32)) {
EFsize = EFsize + 5;
this.sarcleEF._xscale = (this.sarcleEF._yscale = EFsize);
} else {
this.gotoAndStop("shot");
}
Symbol 219 MovieClip Frame 9
this.gotoAndPlay(_currentframe - 1);
Symbol 219 MovieClip Frame 15
name = "hitArea_b1";
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 221 MovieClip Frame 1
this.onEnterFrame = function () {
this._rotation = this._rotation + _parent.ro;
};
Symbol 223 MovieClip Frame 1
this.onEnterFrame = function () {
if (Key.isDown(68)) {
} else {
_parent.gotoAndStop("paci_standing");
}
};
Instance of Symbol 222 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (load) {
ro = 5;
}
Instance of Symbol 222 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (load) {
ro = -5;
}
Symbol 223 MovieClip Frame 6
this.stop();
Symbol 224 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Symbol 225 MovieClip [A_SET_Char1or] Frame 1
function damage(dmgPoint, dmgType, Nouse1, Nouse2, Nouse3) {
s1++;
_root.mainHp.ChangeHp(dmgPoint);
dmgName = "dmg" + s1;
this.attachMovie("dmg", dmgName, s1);
}
function gard() {
this.gotoAndStop("paci_gard");
}
function braidmodeChange(Bmode) {
if (Bmode == 1) {
braidmode = "braidOpen";
} else {
braidmode = "braidClose";
}
}
function getBraidmode() {
return(braidmode);
}
function getDirection() {
return(direction);
}
function boostMove(flag) {
if (flag == 1) {
this.gotoAndPlay("boost");
theBoostSE.start();
i = 0;
while (i <= 20) {
EFname = "boost" + i;
_root.attachMovie("boostEF", EFname, i + 170);
_root[EFname]._rotation = Math.random() * 360;
_root[EFname]._xscale = (_root[EFname]._yscale = (Math.random() * 50) + 100);
_root[EFname]._x = 275;
_root[EFname]._y = 200;
i++;
}
speedDownCnt = 5;
tempKakudo = (_rotation * Math.PI) / 180;
XaddSpeed = boostSpeed * Math.cos(tempKakudo);
YaddSpeed = boostSpeed * Math.sin(tempKakudo);
XnowSpeed = XnowSpeed + XaddSpeed;
YnowSpeed = YnowSpeed + YaddSpeed;
} else if (speedDownCnt >= 1) {
XnowSpeed = XnowSpeed / boostDownExt;
YnowSpeed = YnowSpeed / boostDownExt;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
speedDownCnt--;
if (speedDownCnt == 0) {
boostMode = "No";
}
}
}
function SpeedUP() {
if (boostMode != "yes") {
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)");
}
tempKakudo = (_rotation * Math.PI) / 180;
XaddSpeed = addSpeed * Math.cos(tempKakudo);
YaddSpeed = addSpeed * Math.sin(tempKakudo);
tempXspeed = XnowSpeed + XaddSpeed;
tempYspeed = YnowSpeed + YaddSpeed;
tempnowSpeed = Math.abs(tempXspeed) + Math.abs(tempYspeed);
if (tempnowSpeed <= maxSpeed) {
XnowSpeed = XnowSpeed + XaddSpeed;
YnowSpeed = YnowSpeed + YaddSpeed;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
}
}
}
function normal() {
this.gotoAndStop("paci_standing");
}
function SpeedDown() {
XnowSpeed = XnowSpeed - (addSpeed / 2);
if (XnowSpeed <= 0) {
XnowSpeed = 0;
}
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
}
function openBraid() {
_root.mainChar.char.handF.braid.open();
}
function change() {
if ((style == "p_normal") || (style == "p_standing")) {
braidmode = "braidClose";
this.gotoAndStop("change(p->s)");
} else {
this.gotoAndStop("change(s->p)");
}
}
function GunChange() {
if ((style == "p_normal") || (style == "p_standing")) {
braidmode = "braidClose";
this.gotoAndStop("paci(n->over)");
}
}
function atkStart() {
if (style == "s") {
this.shot_s1();
} else if (braidmode == "braidClose") {
this.shot_p1();
} else {
this.braid1();
}
}
function atkEnd() {
if (style == "s") {
this.gotoAndStop("sky_normal");
} else if (braidmode == "braidClose") {
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() {
this.gotoAndStop("paci_openWepon1");
}
SmaxSpeed = _global.c1orSmaxSpeed;
PmaxSpeed = _global.c1orPmaxSpeed;
EmaxSpeed = _global.c1orEmaxSpeed;
SaddSpeed = _global.c1orSaddSpeed;
PaddSPeed = _global.c1orPaddSpeed;
EaddSpeed = _global.c1orEaddSpeed;
Sxdown = _global.c1orSxdown;
Sydown = _global.c1orSydown;
Pxdown = _global.c1orPxdown;
Pydown = _global.c1orPydown;
BoostSpeed = _global.c1orBoostSpeed;
boostDownExt = _global.c1orBoostDownExt;
XaddSpeed = 0;
YaddSpeed = 0;
nowSpeed = 0;
XnowSpeed = 0;
YnowSpeed = 0;
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
Xdown = Pxdown;
Ydown = Pydown;
braidmode = "braidClose";
style = "p_standing";
scale = _xscale;
direction = "right";
shotMode = "ready";
speedmode = "-";
boostMode = "No";
getDC = 0;
DCtime = 3;
boostCnt = 0;
theBoostSE = new Sound();
theBoostSE.attachSound("boostSE3");
this.gotoAndStop("paci_standing");
s1 = 0;
_global.hp = 4000;
this.onEnterFrame = function () {
if (Key.isDown(32)) {
if (style != "overGun") {
shotMode = "shot";
}
} else if (shotMode == "shot") {
shotMode = "stop";
}
if (Key.isDown(68)) {
this.gard();
}
if (speedMode == "up") {
this.speedUP();
} else if (nowSpeed <= 25) {
if ((_currentframe == 11) || (_currentframe == 51)) {
this.normal();
}
}
if (Key.isDown(90)) {
this.GunChange();
}
if (Key.isDown(67)) {
this.SpeedDown();
}
if (Key.isDown(65)) {
this.change();
}
if (Key.isDown(83)) {
this.openBraid();
}
if (Key.isDown(69)) {
this.openWepon1();
}
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();
}
if (boostCnt > 0) {
if (boostCnt == 6) {
getNowXspeed = XnowSpeed;
getNowYspeed = YnowSpeed;
this.boostMove(1);
}
if (boostCnt != 1) {
this.boostMove(0);
}
boostCnt--;
}
if (getDC >= 0) {
getDC--;
}
if (Key.isDown(33)) {
}
};
this.onMouseDown = function () {
if ((getDC >= 0) && (boostCnt == 0)) {
boostMode = "yes";
boostCnt = 6;
speedmode = "up";
} else {
speedmode = "up";
getDC = DCtime;
}
};
this.onMouseUp = function () {
speedmode = "-";
};
this.onMouseMove = function () {
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;
}
};
Symbol 225 MovieClip [A_SET_Char1or] Frame 11
this.stop();
Symbol 225 MovieClip [A_SET_Char1or] Frame 20
this.stop();
Symbol 225 MovieClip [A_SET_Char1or] Frame 30
this.stop();
Symbol 225 MovieClip [A_SET_Char1or] Frame 40
this.stop();
Symbol 225 MovieClip [A_SET_Char1or] Frame 50
this.stop();
Symbol 225 MovieClip [A_SET_Char1or] Frame 60
this.stop();
Symbol 225 MovieClip [A_SET_Char1or] Frame 70
this.stop();
Symbol 225 MovieClip [A_SET_Char1or] Frame 80
this.stop();
Symbol 225 MovieClip [A_SET_Char1or] Frame 90
this.stop();
Symbol 225 MovieClip [A_SET_Char1or] Frame 100
this.stop();
Symbol 225 MovieClip [A_SET_Char1or] Frame 110
this.stop();
Symbol 225 MovieClip [A_SET_Char1or] Frame 120
this.stop();
Symbol 225 MovieClip [A_SET_Char1or] Frame 130
this.stop();
Symbol 225 MovieClip [A_SET_Char1or] Frame 140
this.stop();
Symbol 225 MovieClip [A_SET_Char1or] Frame 150
this.stop();
Symbol 228 MovieClip [WeponSystem1_or] Frame 1
function pointChange() {
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;
}
}
i = 0;
i2 = 0;
mode = 0;
shotMode = 1;
Name = String(_name);
No = Name.slice(7, 8);
follow = 4 + (Math.random() * 3);
this.pointChange();
Symbol 228 MovieClip [WeponSystem1_or] Frame 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);
this._rotation = _root.mainChar._rotation;
};
Symbol 228 MovieClip [WeponSystem1_or] Frame 6
this.onEnterFrame = function () {
if (Key.isDown(85)) {
if (shotMode == 1) {
shotMode = 2;
} else {
shotMode = 1;
}
}
if (Key.isDown(32)) {
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 (shotMode == 2) {
this._rotation = _root.mainChar._rotation + 180;
} else {
this._rotation = _root.mainChar._rotation;
}
if (mode == 1) {
i2++;
if (i2 >= 10) {
i++;
thePoint = {x:100, y:0};
this.localToGlobal(thePoint);
shotName = ("WeponSystemEF" + i) + No;
_root.attachMovie("shot1EF", shotName, (16 * No) + i);
_root[shotName]._rotation = _rotation;
_root[shotName]._x = thePoint.x;
_root[shotName]._y = thePoint.y;
i2 = 0;
if (i >= 15) {
this.play();
}
}
}
};
this.stop();
Symbol 228 MovieClip [WeponSystem1_or] Frame 20
this.removeMovieClip();
Symbol 232 MovieClip Frame 1
speed = 15;
i = 0;
Symbol 232 MovieClip Frame 2
this._x = this._x + ((speed = speed - 1));
this._alpha = this._alpha - 6;
i++;
if (i >= 20) {
_parent.removeMovieClip();
}
Symbol 232 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 233 MovieClip [boostEF2] Frame 1
cnt = 6;
Symbol 233 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) {
this.removeMovieClip();
}
};
Symbol 234 MovieClip [boostEF] Frame 1
this.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
};
Symbol 243 MovieClip Frame 1
function openCamera(mode) {
if (mode == 1) {
this.play();
} else {
this.gotoAndPlay(7);
}
}
this.stop();
Symbol 243 MovieClip Frame 6
this.stop();
Symbol 253 MovieClip Frame 1
function openGun(mode) {
if (mode == 1) {
this.play();
}
}
this.stop();
this.camera.openCamera(0);
Symbol 253 MovieClip Frame 7
this.camera.openCamera(1);
Symbol 253 MovieClip Frame 10
this.stop();
Symbol 255 MovieClip Frame 1
this.stop();
Symbol 284 MovieClip Frame 1
this.onEnterFrame = function () {
if (Key.isDown(33)) {
this.play();
}
};
this.stop();
Symbol 284 MovieClip Frame 2
i = 0;
while (i <= 50) {
EFname = "changeEF" + i;
this.attachMovie("EF", EFname, i + 10);
this[EFname]._rotation = Math.random() * 360;
this[EFname]._xscale = (Math.random() * 100) + 50;
this[EFname]._x = 11;
this[EFname]._y = 83;
i++;
}
Symbol 284 MovieClip Frame 4
this.onEnterFrame = function () {
if (Key.isDown(34)) {
this.gotoAndPlay(7);
}
};
Symbol 284 MovieClip Frame 6
this.gotoAndPlay(_currentframe - 2);
Symbol 284 MovieClip Frame 7
i = 0;
while (i <= 20) {
EFname = "changeEF" + i;
this.attachMovie("EF", EFname, i + 10);
this[EFname]._rotation = Math.random() * 360;
this[EFname]._xscale = (Math.random() * 100) + 50;
this[EFname]._x = 11;
this[EFname]._y = 83;
i++;
}
Symbol 285 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 316 MovieClip Frame 1
mode = "close";
this.stop();
Symbol 316 MovieClip Frame 2
i = 0;
while (i <= 60) {
EFname = "changeEF" + i;
this.attachMovie("EF", EFname, i + 10);
this[EFname]._rotation = Math.random() * -200;
this[EFname]._xscale = (Math.random() * 300) + 50;
this[EFname]._x = 0;
this[EFname]._y = -50;
i++;
}
Symbol 316 MovieClip Frame 4
mode = "open";
_root.mainChar.braidmodeChange(1);
Symbol 316 MovieClip Frame 7
this.gotoAndPlay(_currentframe - 2);
Symbol 316 MovieClip Frame 8
i = 0;
while (i <= 30) {
EFname = "changeEF" + i;
this.attachMovie("EF", EFname, i + 10);
this[EFname]._rotation = Math.random() * -300;
this[EFname]._xscale = Math.random() * 250;
this[EFname]._x = 0;
this[EFname]._y = -105;
i++;
}
Symbol 316 MovieClip Frame 11
mode = "close";
_root.mainChar.braidmodeChange(0);
this.gotoAndStop(1);
Instance of Symbol 316 MovieClip "braid" in Symbol 318 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";
}
}
Symbol 327 MovieClip Frame 5
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 327 MovieClip Frame 7
_parent.style = "s";
Symbol 327 MovieClip Frame 15
_parent.gotoAndStop("sky_normal");
Symbol 329 MovieClip Frame 4
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 329 MovieClip Frame 6
_parent.style = "p_normal";
Symbol 329 MovieClip Frame 14
_parent.gotoAndStop("paci_normal");
Symbol 334 MovieClip Frame 1
_parent.style = "p_standing";
Symbol 335 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 335 MovieClip Frame 7
_parent.gotoAndStop("paci_normal");
Symbol 337 MovieClip Frame 1
i = 0;
Symbol 337 MovieClip Frame 3
if (i >= 9) {
i = 0;
} else {
i++;
}
thePoint = {x:220, y:0};
this.localToGlobal(thePoint);
shotName = "shot1EF" + i;
_root.attachMovie("shot1EF", shotName, 200 + i);
_root[shotName]._rotation = _parent._rotation;
_root[shotName]._x = thePoint.x;
_root[shotName]._y = thePoint.y;
Symbol 337 MovieClip Frame 5
this.gotoAndPlay(_currentframe - 2);
Symbol 338 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 338 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Symbol 344 MovieClip Frame 8
if (Key.isDown(32)) {
this.gotoAndPlay("braid2");
}
Symbol 344 MovieClip Frame 12
_parent.gotoAndStop("paci_standing");
Symbol 344 MovieClip Frame 31
if (Key.isDown(32)) {
this.gotoAndPlay("braid3");
}
Symbol 344 MovieClip Frame 36
_parent.gotoAndStop("paci_standing");
Symbol 344 MovieClip Frame 70
_parent.gotoAndStop("paci_standing");
Symbol 345 MovieClip Frame 1
i = 0;
Symbol 345 MovieClip Frame 2
if (i >= 10) {
i = 0;
} else {
i++;
}
thePoint = {x:220, y:0};
this.localToGlobal(thePoint);
shotName = "shot1EF" + i;
_root.attachMovie("shot1EF", shotName, 200 + i);
_root[shotName]._rotation = _parent._rotation;
_root[shotName]._x = thePoint.x;
_root[shotName]._y = thePoint.y;
Symbol 345 MovieClip Frame 4
this.gotoAndPlay(_currentframe - 2);
Symbol 346 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;
_root[WeponName]._rotation = (110 + (Math.random() * 20)) - 10;
randSize = Math.random() * randSizeWidth;
_root[WeponName]._xscale = (BaseSize + randSize) / 10;
_root[WeponName]._yscale = (BaseSize + randSize) / 3.3;
}
randSizeWidth = 0;
BaseSize = 70;
_root.textDisplay.mesRecord("\u5B50\u6A5F\u5C55\u958B");
_parent.style = "equipWepon";
Symbol 346 MovieClip Frame 7
i = 10;
WeponName = "Wepon1_" + i;
i = i / 10;
this.setWeponSystem1();
Symbol 346 MovieClip Frame 9
i = 20;
WeponName = "Wepon1_" + i;
i = i / 10;
BaseSize = BaseSize + 10;
this.setWeponSystem1();
Symbol 346 MovieClip Frame 11
i = 30;
WeponName = "Wepon1_" + i;
i = i / 10;
BaseSize = BaseSize + 40;
this.setWeponSystem1();
Symbol 346 MovieClip Frame 22
_parent.style = "p_standing";
_parent.gotoAndPlay("paci_standing");
Symbol 347 MovieClip Frame 14
this.gunsystem.openGun(1);
Symbol 347 MovieClip Frame 15
this.gunsystem.openGun(1);
Symbol 347 MovieClip Frame 18
_parent.style = "overGun";
Symbol 347 MovieClip Frame 23
this.gunsystem.openGun(1);
_parent.gotoAndStop("overGun");
Symbol 348 MovieClip Frame 1
this.gunsystem.openGun(1);
_parent.gotoAndStop("overGun");
Symbol 349 MovieClip Frame 1
this.onEnterFrame = function () {
if (Key.isDown(68)) {
} else {
_parent.gotoAndStop("paci_standing");
}
};
Instance of Symbol 222 MovieClip in Symbol 349 MovieClip Frame 1
onClipEvent (load) {
ro = 5;
}
Instance of Symbol 222 MovieClip in Symbol 349 MovieClip Frame 1
onClipEvent (load) {
ro = -5;
}
Symbol 349 MovieClip Frame 6
this.stop();
Symbol 350 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Symbol 352 MovieClip Frame 14
_parent.style = "overGun";
Symbol 352 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 352 MovieClip Frame 17
_parent.gotoAndStop("overGun");
Symbol 353 MovieClip [A_SET_Char2gr] Frame 1
function damage(dmgPoint, dmgType, Nouse1, Nouse2, Nouse3) {
s1++;
dmgName = "dmg" + s1;
this.attachMovie("dmg", dmgName, s1);
}
function gard() {
this.gotoAndStop("paci_gard");
}
function braidmodeChange(Bmode) {
if (Bmode == 1) {
braidmode = "braidOpen";
} else {
braidmode = "braidClose";
}
}
function getBraidmode() {
return(braidmode);
}
function getDirection() {
return(direction);
}
function boostMove(flag) {
if (flag == 1) {
this.gotoAndPlay("boost");
theBoostSE.start();
i = 0;
while (i <= 20) {
EFname = "boost" + i;
_root.attachMovie("boostEF", EFname, i + 170);
_root[EFname]._rotation = Math.random() * 360;
_root[EFname]._xscale = (_root[EFname]._yscale = (Math.random() * 50) + 100);
_root[EFname]._x = 275;
_root[EFname]._y = 200;
i++;
}
speedDownCnt = 5;
tempKakudo = (_rotation * Math.PI) / 180;
XaddSpeed = 250 * Math.cos(tempKakudo);
YaddSpeed = 250 * Math.sin(tempKakudo);
XnowSpeed = XnowSpeed + XaddSpeed;
YnowSpeed = YnowSpeed + YaddSpeed;
} else if (speedDownCnt >= 1) {
XnowSpeed = XnowSpeed / 1.6;
YnowSpeed = YnowSpeed / 1.6;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
speedDownCnt--;
if (speedDownCnt == 0) {
boostMode = "No";
}
}
}
function SpeedUP() {
if (boostMode != "yes") {
if (style == "s") {
maxSpeed = SmaxSpeed;
addSpeed = SaddSpeed;
} else if (style == "overGun") {
maxSpeed = overMaxSpeed;
addSpeed = overAddSpeed;
} else {
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
}
if (style == "p_standing") {
this.gotoAndStop("paci(s->n)");
}
tempKakudo = (_rotation * Math.PI) / 180;
XaddSpeed = addSpeed * Math.cos(tempKakudo);
YaddSpeed = addSpeed * Math.sin(tempKakudo);
tempXspeed = XnowSpeed + XaddSpeed;
tempYspeed = YnowSpeed + YaddSpeed;
tempnowSpeed = Math.abs(tempXspeed) + Math.abs(tempYspeed);
if (tempnowSpeed <= maxSpeed) {
XnowSpeed = XnowSpeed + XaddSpeed;
YnowSpeed = YnowSpeed + YaddSpeed;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
}
}
}
function normal() {
this.gotoAndStop("paci_standing");
}
function SpeedDown() {
XnowSpeed = XnowSpeed - (addSpeed / 2);
if (XnowSpeed <= 0) {
XnowSpeed = 0;
}
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
}
function openBraid() {
_root.mainChar.char.handF.braid.open();
}
function change() {
if ((style == "p_normal") || (style == "p_standing")) {
braidmode = "braidClose";
this.gotoAndStop("change(p->s)");
} else {
this.gotoAndStop("change(s->p)");
}
}
function GunChange() {
if ((style == "p_normal") || (style == "p_standing")) {
braidmode = "braidClose";
this.gotoAndStop("paci(n->over)");
}
}
function atkStart() {
if (style == "s") {
this.shot_s1();
} else if (braidmode == "braidClose") {
this.shot_p1();
} else {
this.braid1();
}
}
function atkEnd() {
if (style == "s") {
this.gotoAndStop("sky_normal");
} else if (braidmode == "braidClose") {
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() {
this.gotoAndStop("paci_openWepon1");
}
SmaxSpeed = 200;
PmaxSpeed = 100;
overMaxSpeed = 50;
SaddSpeed = 10;
PaddSPeed = 5;
overAddSpeed = 3;
XaddSpeed = 0;
YaddSpeed = 0;
nowSpeed = 0;
XnowSpeed = 0;
YnowSpeed = 0;
Sxdown = 0.1;
Sydown = 0.05;
Pxdown = 0.8;
Pydown = 0.01;
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
Xdown = Pxdown;
Ydown = Pydown;
braidmode = "braidClose";
style = "p_standing";
scale = _xscale;
direction = "right";
shotMode = "ready";
speedmode = "-";
boostMode = "No";
getDC = 0;
DCtime = 3;
boostCnt = 0;
theBoostSE = new Sound();
theBoostSE.attachSound("boostSE3");
this.gotoAndStop("paci_standing");
s1 = 0;
this.onEnterFrame = function () {
if (Key.isDown(32)) {
if (style != "overGun") {
shotMode = "shot";
}
} else if (shotMode == "shot") {
shotMode = "stop";
}
if (Key.isDown(68)) {
this.gard();
}
if (speedMode == "up") {
this.speedUP();
} else if (nowSpeed <= 25) {
if ((_currentframe == 11) || (_currentframe == 51)) {
this.normal();
}
}
if (Key.isDown(90)) {
this.GunChange();
}
if (Key.isDown(67)) {
this.SpeedDown();
}
if (Key.isDown(65)) {
this.change();
}
if (Key.isDown(83)) {
this.openBraid();
}
if (Key.isDown(69)) {
this.openWepon1();
}
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();
}
if (boostCnt > 0) {
if (boostCnt == 6) {
getNowXspeed = XnowSpeed;
getNowYspeed = YnowSpeed;
this.boostMove(1);
}
if (boostCnt != 1) {
this.boostMove(0);
}
boostCnt--;
}
if (getDC >= 0) {
getDC--;
}
if (Key.isDown(33)) {
}
};
this.onMouseDown = function () {
if ((getDC >= 0) && (boostCnt == 0)) {
boostMode = "yes";
boostCnt = 6;
speedmode = "up";
} else {
speedmode = "up";
getDC = DCtime;
}
};
this.onMouseUp = function () {
speedmode = "-";
};
this.onMouseMove = function () {
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;
}
};
Symbol 353 MovieClip [A_SET_Char2gr] Frame 11
this.stop();
Symbol 353 MovieClip [A_SET_Char2gr] Frame 20
this.stop();
Symbol 353 MovieClip [A_SET_Char2gr] Frame 30
this.stop();
Symbol 353 MovieClip [A_SET_Char2gr] Frame 40
this.stop();
Symbol 353 MovieClip [A_SET_Char2gr] Frame 50
this.stop();
Symbol 353 MovieClip [A_SET_Char2gr] Frame 60
this.stop();
Symbol 353 MovieClip [A_SET_Char2gr] Frame 70
this.stop();
Symbol 353 MovieClip [A_SET_Char2gr] Frame 80
this.stop();
Symbol 353 MovieClip [A_SET_Char2gr] Frame 90
this.stop();
Symbol 353 MovieClip [A_SET_Char2gr] Frame 100
this.stop();
Symbol 353 MovieClip [A_SET_Char2gr] Frame 110
this.stop();
Symbol 353 MovieClip [A_SET_Char2gr] Frame 120
this.stop();
Symbol 353 MovieClip [A_SET_Char2gr] Frame 130
this.stop();
Symbol 353 MovieClip [A_SET_Char2gr] Frame 140
this.stop();
Symbol 353 MovieClip [A_SET_Char2gr] Frame 150
this.stop();
Symbol 353 MovieClip [A_SET_Char2gr] Frame 160
this.stop();
Symbol 362 MovieClip Frame 1
function openGun(mode) {
if (mode == 1) {
this.play();
}
}
this.camera.openCamera(0);
this.stop();
Symbol 367 MovieClip Frame 1
function OpenHeadBraid() {
this.play();
}
this.onEnterFrame = function () {
if (Key.isDown(8)) {
this.OpenHeadbraid();
}
};
this.stop();
Symbol 367 MovieClip Frame 16
this.stop();
Symbol 367 MovieClip Frame 19
this.stop();
Instance of Symbol 316 MovieClip "braid" in Symbol 392 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 394 MovieClip "braid" in Symbol 395 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 396 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 400 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 400 MovieClip Frame 10
this.stop();
Symbol 400 MovieClip Frame 19
this.stop();
Symbol 401 MovieClip Frame 1
_parent.style = "p_standing";
Symbol 402 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 402 MovieClip Frame 7
_parent.gotoAndStop("paci_normal");
Symbol 403 MovieClip Frame 1
i = 0;
Symbol 403 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);
_root[shotName]._rotation = _parent._rotation;
_root[shotName]._x = thePoint.x;
_root[shotName]._y = thePoint.y - 14;
Symbol 403 MovieClip Frame 5
this.gotoAndPlay(_currentframe - 2);
Symbol 404 MovieClip Frame 1
i = 0;
Symbol 404 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);
_root[shotName]._rotation = _parent._rotation;
_root[shotName]._x = thePoint.x;
_root[shotName]._y = thePoint.y - 14;
Symbol 404 MovieClip Frame 5
this.gotoAndPlay(_currentframe - 2);
Symbol 415 MovieClip Frame 1
this.gotoAndPlay(8);
Symbol 415 MovieClip Frame 11
Symbol 415 MovieClip Frame 15
if (Key.isDown(32)) {
this.gotoAndPlay("braid2");
}
Symbol 415 MovieClip Frame 17
this.gotoAndPlay(18);
Symbol 415 MovieClip Frame 23
_parent.gotoAndStop("paci_standing");
Symbol 415 MovieClip Frame 43
Symbol 415 MovieClip Frame 48
if (Key.isDown(32)) {
this.gotoAndPlay("braid3");
}
Symbol 415 MovieClip Frame 49
this.gotoAndPlay(50);
Symbol 415 MovieClip Frame 55
_parent.gotoAndStop("paci_standing");
Symbol 415 MovieClip Frame 71
Symbol 415 MovieClip Frame 86
_parent.gotoAndStop("paci_standing");
Symbol 418 MovieClip Frame 1
_parent.style = "p_standing";
Symbol 418 MovieClip Frame 4
i = 0;
while (i < 10) {
if (_global.extraI >= 30) {
_global.extraI = 0;
} else {
_global.extraI++;
}
thePoint = {x:-220, y:0};
this.localToGlobal(thePoint);
shotName = "shot1EF" + _global.extraI;
_root.attachMovie("lineLeaser", shotName, 15 + _global.extraI);
_root[shotName]._x = thePoint.x;
_root[shotName]._y = thePoint.y;
i++;
}
Symbol 418 MovieClip Frame 6
if (Key.isDown(69)) {
}
Symbol 418 MovieClip Frame 15
_parent.style = "p_standing";
_parent.gotoAndPlay("paci_standing");
Symbol 423 MovieClip Frame 2
this.braid.OpenHeadBraid(1);
Symbol 423 MovieClip Frame 16
_parent.style = "overGun";
Symbol 423 MovieClip Frame 18
this.braid.OpenHeadBraid(0);
this.stop();
_parent.gotoAndStop("overGun");
Instance of Symbol 400 MovieClip "braid" in Symbol 423 MovieClip Frame 18
onClipEvent (load) {
this.gotoAndStop("close");
}
Symbol 428 MovieClip Frame 1
waitFlag = 0;
this.onEnterFrame = function () {
if (Key.isDown(32) && (waitFlag == 0)) {
waitFlag = 1;
this.gotoAndPlay("attack1");
}
};
Instance of Symbol 400 MovieClip "braid" in Symbol 428 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("open");
}
Symbol 428 MovieClip Frame 30
this.gotoAndPlay("wait");
Symbol 428 MovieClip Frame 40
Instance of Symbol 400 MovieClip "braid" in Symbol 428 MovieClip Frame 40
onClipEvent (load) {
this.gotoAndStop("open");
}
Symbol 428 MovieClip Frame 50
any = 15;
i = 0;
while (i < any) {
efName = "effect" + i;
_root.attachMovie("effect_baidSarcle", efName, i + 500);
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 428 MovieClip Frame 69
waitFlag = 0;
this.gotoAndPlay("wait");
Symbol 432 MovieClip Frame 1
this.onEnterFrame = function () {
if (Key.isDown(68)) {
} else {
_parent.gotoAndStop("paci_standing");
}
};
Symbol 432 MovieClip Frame 6
this.stop();
Symbol 433 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Symbol 434 MovieClip [A_SET_Char2re] Frame 1
function damage(dmgPoint, dmgType, Nouse1, Nouse2, Nouse3) {
s1++;
_root.mainHp.ChangeHp(dmgPoint);
dmgName = "dmg" + s1;
this.attachMovie("dmg", dmgName, s1);
}
function gard() {
this.gotoAndStop("paci_gard");
}
function braidmodeChange(Bmode) {
if (Bmode == 1) {
braidmode = "braidOpen";
} else {
braidmode = "braidClose";
}
}
function getBraidmode() {
return(braidmode);
}
function getDirection() {
return(direction);
}
function boostMove(flag) {
if (flag == 1) {
this.gotoAndPlay("boost");
theBoostSE.start();
i = 0;
while (i <= 20) {
EFname = "boost" + i;
_root.attachMovie("boostEF", EFname, i + 170);
_root[EFname]._rotation = Math.random() * 360;
_root[EFname]._xscale = (_root[EFname]._yscale = (Math.random() * 50) + 100);
_root[EFname]._x = 275;
_root[EFname]._y = 200;
i++;
}
speedDownCnt = 5;
tempKakudo = (_rotation * Math.PI) / 180;
XaddSpeed = boostSpeed * Math.cos(tempKakudo);
YaddSpeed = boostSpeed * Math.sin(tempKakudo);
XnowSpeed = XnowSpeed + XaddSpeed;
YnowSpeed = YnowSpeed + YaddSpeed;
} else if (speedDownCnt >= 1) {
XnowSpeed = XnowSpeed / boostDownExt;
YnowSpeed = YnowSpeed / boostDownExt;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
speedDownCnt--;
if (speedDownCnt == 0) {
boostMode = "No";
}
}
}
function SpeedUP() {
if (boostMode != "yes") {
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)");
}
tempKakudo = (_rotation * Math.PI) / 180;
XaddSpeed = addSpeed * Math.cos(tempKakudo);
YaddSpeed = addSpeed * Math.sin(tempKakudo);
tempXspeed = XnowSpeed + XaddSpeed;
tempYspeed = YnowSpeed + YaddSpeed;
tempnowSpeed = Math.abs(tempXspeed) + Math.abs(tempYspeed);
if (tempnowSpeed <= maxSpeed) {
XnowSpeed = XnowSpeed + XaddSpeed;
YnowSpeed = YnowSpeed + YaddSpeed;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
}
}
}
function normal() {
this.gotoAndStop("paci_standing");
}
function SpeedDown() {
XnowSpeed = XnowSpeed - (addSpeed / 2);
if (XnowSpeed <= 0) {
XnowSpeed = 0;
}
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
}
function openBraid() {
_root.mainChar.char.handF.braid.open();
}
function change() {
if ((style == "p_normal") || (style == "p_standing")) {
braidmode = "braidClose";
this.gotoAndStop("change(p->s)");
} else {
this.gotoAndStop("change(s->p)");
}
}
function GunChange() {
if ((style == "p_normal") || (style == "p_standing")) {
braidmode = "braidClose";
this.gotoAndStop("paci(n->over)");
}
}
function atkStart() {
if (style == "s") {
this.shot_s1();
} else if ((braidmode == "braidClose") && (style == "p_normal")) {
this.shot_n1();
} else if (braidmode == "braidClose") {
this.shot_p1();
} else {
this.braid1();
}
}
function atkEnd() {
if (style == "s") {
this.gotoAndStop("sky_normal");
} else if (braidmode == "braidClose") {
if (nowSpeed <= 25) {
this.gotoAndStop("paci_standing");
} else {
this.gotoAndStop("paci_normal");
}
}
shotMode = "ready";
}
function shot_p1() {
this.gotoAndStop("paci_s(shot1)");
}
function shot_n1() {
this.gotoAndStop("paci_n(shot1)");
}
function shot_s1() {
this.gotoAndStop("sky_shot1");
}
function braid1() {
this.gotoAndStop("paci_s(braid1)");
}
function openWepon1() {
this.gotoAndStop("paci_openWepon1");
}
_global.extraI = 0;
mcn = "c2re";
SmaxSpeed = _global[mcn + "SmaxSpeed"];
PmaxSpeed = _global[mcn + "PmaxSpeed"];
EmaxSpeed = _global[mcn + "EmaxSpeed"];
SaddSpeed = _global[mcn + "SaddSpeed"];
PaddSPeed = _global[mcn + "PaddSpeed"];
EaddSpeed = _global[mcn + "EaddSpeed"];
Sxdown = _global[mcn + "Sxdown"];
Sydown = _global[mcn + "Sydown"];
Pxdown = _global[mcn + "Pxdown"];
Pydown = _global[mcn + "Pydown"];
BoostSpeed = _global[mcn + "BoostSpeed"];
boostDownExt = _global[mcn + "BoostDownExt"];
XaddSpeed = 0;
YaddSpeed = 0;
nowSpeed = 0;
XnowSpeed = 0;
YnowSpeed = 0;
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
Xdown = Pxdown;
Ydown = Pydown;
braidmode = "braidClose";
style = "p_standing";
scale = _xscale;
direction = "right";
shotMode = "ready";
speedmode = "-";
boostMode = "No";
getDC = 0;
DCtime = 3;
boostCnt = 0;
theBoostSE = new Sound();
theBoostSE.attachSound("boostSE3");
this.gotoAndStop("paci_standing");
s1 = 0;
_global.hp = 5000;
this.onEnterFrame = function () {
if (Key.isDown(32)) {
if (style != "overGun") {
shotMode = "shot";
}
} else if (shotMode == "shot") {
shotMode = "stop";
}
if (Key.isDown(68)) {
this.gard();
}
if (speedMode == "up") {
this.speedUP();
} else if (nowSpeed <= 25) {
if ((_currentframe == 11) || (_currentframe == 51)) {
this.normal();
}
}
if (Key.isDown(90)) {
this.GunChange();
}
if (Key.isDown(67)) {
this.SpeedDown();
}
if (Key.isDown(65)) {
}
if (Key.isDown(83)) {
this.openBraid();
}
if (Key.isDown(69)) {
this.openWepon1();
}
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();
}
if (boostCnt > 0) {
if (boostCnt == 6) {
getNowXspeed = XnowSpeed;
getNowYspeed = YnowSpeed;
this.boostMove(1);
}
if (boostCnt != 1) {
this.boostMove(0);
}
boostCnt--;
}
if (getDC >= 0) {
getDC--;
}
if (Key.isDown(33)) {
}
};
this.onMouseDown = function () {
if ((getDC >= 0) && (boostCnt == 0)) {
boostMode = "yes";
boostCnt = 6;
speedmode = "up";
} else {
speedmode = "up";
getDC = DCtime;
}
};
this.onMouseUp = function () {
speedmode = "-";
};
this.onMouseMove = function () {
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;
}
};
Symbol 434 MovieClip [A_SET_Char2re] Frame 11
this.stop();
Symbol 434 MovieClip [A_SET_Char2re] Frame 20
this.stop();
Symbol 434 MovieClip [A_SET_Char2re] Frame 30
this.stop();
Symbol 434 MovieClip [A_SET_Char2re] Frame 40
this.stop();
Symbol 434 MovieClip [A_SET_Char2re] Frame 50
this.stop();
Symbol 434 MovieClip [A_SET_Char2re] Frame 60
this.stop();
Symbol 434 MovieClip [A_SET_Char2re] Frame 70
this.stop();
Symbol 434 MovieClip [A_SET_Char2re] Frame 80
this.stop();
Symbol 434 MovieClip [A_SET_Char2re] Frame 90
this.stop();
Symbol 434 MovieClip [A_SET_Char2re] Frame 100
this.stop();
Symbol 434 MovieClip [A_SET_Char2re] Frame 110
this.stop();
Symbol 434 MovieClip [A_SET_Char2re] Frame 120
this.stop();
Symbol 434 MovieClip [A_SET_Char2re] Frame 130
this.stop();
Symbol 434 MovieClip [A_SET_Char2re] Frame 140
this.stop();
Symbol 434 MovieClip [A_SET_Char2re] Frame 150
this.stop();
Symbol 434 MovieClip [A_SET_Char2re] Frame 160
this.stop();
Symbol 435 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 436 MovieClip Frame 1
_parent.style = "p_standing";
Symbol 437 MovieClip Frame 1
function overShotEnd() {
this.gotoAndPlay(1);
}
EFsize = 100;
if (Key.isDown(32)) {
this.gotoAndPlay("charge");
}
Symbol 437 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 2);
Symbol 437 MovieClip Frame 7
this.attachMovie("sarcleEF", "sarcleEF", 600);
this.sarcleEF._x = 266;
this.sarcleEF._y = 5;
Symbol 437 MovieClip Frame 8
if (Key.isDown(32)) {
EFsize = EFsize + 5;
this.sarcleEF._xscale = (this.sarcleEF._yscale = EFsize);
} else {
this.gotoAndStop("shot");
}
Symbol 437 MovieClip Frame 9
this.gotoAndPlay(_currentframe - 1);
Symbol 437 MovieClip Frame 15
name = "hitArea_b1";
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 438 MovieClip [A_SET_Char1sb] Frame 1
function TuShot() {
}
function damage(dmgPoint, dmgType, Nouse1, Nouse2, Nouse3) {
s1++;
_root.mainHp.ChangeHp(dmgPoint);
dmgName = "dmg" + s1;
this.attachMovie("dmg", dmgName, s1);
}
function gard() {
this.gotoAndStop("paci_gard");
}
function braidmodeChange(Bmode) {
if (Bmode == 1) {
braidmode = "braidOpen";
} else {
braidmode = "braidClose";
}
}
function getBraidmode() {
return(braidmode);
}
function getDirection() {
return(direction);
}
function boostMove(flag) {
if (flag == 1) {
this.gotoAndPlay("boost");
theBoostSE.start();
i = 0;
while (i <= 20) {
EFname = "boost" + i;
_root.attachMovie("boostEF", EFname, i + 170);
_root[EFname]._rotation = Math.random() * 360;
_root[EFname]._xscale = (_root[EFname]._yscale = (Math.random() * 50) + 100);
_root[EFname]._x = 275;
_root[EFname]._y = 200;
i++;
}
speedDownCnt = 5;
tempKakudo = (_rotation * Math.PI) / 180;
XaddSpeed = boostSpeed * Math.cos(tempKakudo);
YaddSpeed = boostSpeed * Math.sin(tempKakudo);
XnowSpeed = XnowSpeed + XaddSpeed;
YnowSpeed = YnowSpeed + YaddSpeed;
} else if (speedDownCnt >= 1) {
XnowSpeed = XnowSpeed / boostDownExt;
YnowSpeed = YnowSpeed / boostDownExt;
nowSpeed = Math.abs(XnowSpeed) + Math.abs(YnowSpeed);
speedDownCnt--;
if (speedDownCnt == 0) {
boostMode = "No";
}
}
}
function SpeedUP() {
if (boostMode != "yes") {
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)");
}
tempKakudo = (_rotation * Math.PI) / 180;
XaddSpeed = addSpeed * Math.cos(tempKakudo);
YaddSpeed = addSpeed * Math.sin(tempKakudo);
tempXspeed = XnowSpeed + XaddSpeed;
tempYspeed = YnowSpeed + YaddSpeed;
tempnowSpeed = Math.abs(tempXspeed) + Math.abs(tempYspeed);
if (tempnowSpeed <= maxSpeed) {
XnowSpeed = tempXspeed;
YnowSpeed = tempYspeed;
nowSpeed = tempnowSpeed;
}
}
}
function DownSpeed() {
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 normal() {
this.gotoAndStop("paci_standing");
}
function openBraid() {
_root.mainChar.char.handF.braid.open();
}
function change() {
if ((style == "p_normal") || (style == "p_standing")) {
braidmode = "braidClose";
this.gotoAndStop("change(p->s)");
} else {
this.gotoAndStop("change(s->p)");
}
}
function GunChange() {
if ((style == "p_normal") || (style == "p_standing")) {
braidmode = "braidClose";
this.gotoAndStop("paci(n->over)");
}
}
function atkStart() {
if (style == "s") {
this.shot_s1();
} else if (braidmode == "braidClose") {
this.shot_p1();
} else {
this.braid1();
}
}
function atkEnd() {
if (style == "s") {
this.gotoAndStop("sky_normal");
} else if (braidmode == "braidClose") {
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() {
this.gotoAndStop("paci_openWepon1");
}
SmaxSpeed = _global.c1sbSmaxSpeed;
PmaxSpeed = _global.c1sbPmaxSpeed;
EmaxSpeed = _global.c1sbEmaxSpeed;
SaddSpeed = _global.c1sbSaddSpeed;
PaddSPeed = _global.c1sbPaddSpeed;
EaddSpeed = _global.c1sbEaddSpeed;
Sxdown = _global.c1sbSxdown;
Sydown = _global.c1sbSydown;
Pxdown = _global.c1sbPxdown;
Pydown = _global.c1sbPydown;
BoostSpeed = _global.c1sbBoostSpeed;
boostDownExt = _global.c1sbBoostDownExt;
XaddSpeed = 0;
YaddSpeed = 0;
nowSpeed = 0;
XnowSpeed = 0;
YnowSpeed = 0;
maxSpeed = PmaxSpeed;
addSpeed = PaddSpeed;
Xdown = Pxdown;
Ydown = Pydown;
braidmode = "braidClose";
style = "p_standing";
scale = _xscale;
direction = "right";
shotMode = "ready";
speedmode = "-";
boostMode = "No";
getDC = 0;
DCtime = 3;
boostCnt = 0;
theBoostSE = new Sound();
theBoostSE.attachSound("boostSE3");
this.gotoAndStop("paci_standing");
s1 = 0;
_global.hp = 4500;
this.onEnterFrame = function () {
if (Key.isDown(32)) {
if (style != "overGun") {
shotMode = "shot";
}
} else if (shotMode == "shot") {
shotMode = "stop";
}
if (Key.isDown(68)) {
this.gard();
}
if (speedMode == "up") {
this.speedUP();
} else if (nowSpeed <= 25) {
if ((_currentframe == 11) || (_currentframe == 51)) {
this.normal();
}
}
if (Key.isDown(90)) {
this.GunChange();
}
if (Key.isDown(65)) {
this.change();
}
if (Key.isDown(83)) {
this.openBraid();
}
if (Key.isDown(69)) {
this.openWepon1();
}
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();
}
if (boostCnt > 0) {
if (boostCnt == 6) {
getNowXspeed = XnowSpeed;
getNowYspeed = YnowSpeed;
this.boostMove(1);
}
if (boostCnt != 1) {
this.boostMove(0);
}
boostCnt--;
}
if (Key.isDown(67)) {
this.DownSpeed();
}
if (getDC >= 0) {
getDC--;
}
};
this.onMouseDown = function () {
if ((getDC >= 0) && (boostCnt == 0)) {
boostMode = "yes";
boostCnt = 6;
speedmode = "up";
} else {
speedmode = "up";
getDC = DCtime;
}
};
this.onMouseUp = function () {
speedmode = "-";
};
this.onMouseMove = function () {
xDis = _root._xmouse - _x;
yDis = _root._ymouse - _y;
kakudo = Math.atan2(yDis, xDis) / (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;
}
};
Symbol 438 MovieClip [A_SET_Char1sb] Frame 11
this.stop();
Symbol 438 MovieClip [A_SET_Char1sb] Frame 20
this.stop();
Symbol 438 MovieClip [A_SET_Char1sb] Frame 30
this.stop();
Symbol 438 MovieClip [A_SET_Char1sb] Frame 40
this.stop();
Symbol 438 MovieClip [A_SET_Char1sb] Frame 50
this.stop();
Symbol 438 MovieClip [A_SET_Char1sb] Frame 60
this.stop();
Symbol 438 MovieClip [A_SET_Char1sb] Frame 70
this.stop();
Symbol 438 MovieClip [A_SET_Char1sb] Frame 80
this.stop();
Symbol 438 MovieClip [A_SET_Char1sb] Frame 90
this.stop();
Symbol 438 MovieClip [A_SET_Char1sb] Frame 100
this.stop();
Symbol 438 MovieClip [A_SET_Char1sb] Frame 110
this.stop();
Symbol 438 MovieClip [A_SET_Char1sb] Frame 120
this.stop();
Symbol 438 MovieClip [A_SET_Char1sb] Frame 130
this.stop();
Symbol 438 MovieClip [A_SET_Char1sb] Frame 140
this.stop();
Symbol 438 MovieClip [A_SET_Char1sb] Frame 150
this.stop();
Symbol 438 MovieClip [A_SET_Char1sb] Frame 160
this.stop();
Symbol 440 MovieClip Frame 1
total = 0;
speed = 80;
Symbol 440 MovieClip Frame 2
this._x = this._x + speed;
total = total + speed;
if (this.hitTest(_root.enemy010)) {
_root.enemy010.hit();
}
if (this.hitTest(_root.enemy020)) {
_root.enemy020.hit();
}
if (this.hitTest(_root.enemy030)) {
_root.enemy030.hit();
}
if (this.hitTest(_root.enemy040)) {
_root.enemy040.hit();
}
if (this.hitTest(_root.enemy050)) {
_root.enemy050.hit();
}
if (this.hitTest(_root.enemy060)) {
_root.enemy060.hit();
}
if (this.hitTest(_root.enemy070)) {
_root.enemy070.hit();
}
if (this.hitTest(_root.enemy080)) {
_root.enemy080.hit();
}
if (this.hitTest(_root.enemy090)) {
_root.enemy090.hit();
}
if (this.hitTest(_root.enemy100)) {
_root.enemy100.hit();
}
if (this.hitTest(_root.enemy110)) {
_root.enemy110.hit();
}
if (this.hitTest(_root.enemy120)) {
_root.enemy120.hit();
}
if (this.hitTest(_root.missileArea[1])) {
_root.missileArea[1].Hit(1);
}
if (this.hitTest(_root.missileArea[2])) {
_root.missileArea[2].Hit(1);
}
if (this.hitTest(_root.missileArea[3])) {
_root.missileArea[3].Hit(1);
}
if (this.hitTest(_root.missileArea[4])) {
_root.missileArea[4].Hit(1);
}
if (this.hitTest(_root.missileArea[5])) {
_root.missileArea[5].Hit(1);
}
if (this.hitTest(_root.missileArea[6])) {
_root.missileArea[6].Hit(1);
}
if (this.hitTest(_root.missileArea[7])) {
_root.missileArea[7].Hit(1);
}
if (this.hitTest(_root.missileArea[8])) {
_root.missileArea[8].Hit(1);
}
if (this.hitTest(_root.missileArea[9])) {
_root.missileArea[9].Hit(1);
}
if (this.hitTest(_root.missileArea[10])) {
_root.missileArea[10].Hit(1);
}
if (total >= 600) {
_parent.removeMovieClip();
}
Symbol 440 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 441 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 440 MovieClip in Symbol 441 MovieClip [c1sb_shot1EF_enemy] Frame 1
onClipEvent (enterFrame) {
speed = 120;
}
Symbol 441 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 441 MovieClip [c1sb_shot1EF_enemy] Frame 11
this.removeMovieClip();
Symbol 443 MovieClip Frame 1
total = 0;
speed = 80;
Symbol 443 MovieClip Frame 2
this._x = this._x + speed;
total = total + speed;
if (this.hitTest(_root.enemy010)) {
_root.enemy010.hit();
}
if (this.hitTest(_root.enemy020)) {
_root.enemy020.hit();
}
if (this.hitTest(_root.enemy030)) {
_root.enemy030.hit();
}
if (this.hitTest(_root.enemy040)) {
_root.enemy040.hit();
}
if (this.hitTest(_root.enemy050)) {
_root.enemy050.hit();
}
if (this.hitTest(_root.enemy060)) {
_root.enemy060.hit();
}
if (this.hitTest(_root.enemy070)) {
_root.enemy070.hit();
}
if (this.hitTest(_root.enemy080)) {
_root.enemy080.hit();
}
if (this.hitTest(_root.enemy090)) {
_root.enemy090.hit();
}
if (this.hitTest(_root.enemy100)) {
_root.enemy100.hit();
}
if (this.hitTest(_root.enemy110)) {
_root.enemy110.hit();
}
if (this.hitTest(_root.enemy120)) {
_root.enemy120.hit();
}
if (this.hitTest(_root.missileArea[1])) {
_root.missileArea[1].Hit(1);
}
if (this.hitTest(_root.missileArea[2])) {
_root.missileArea[2].Hit(1);
}
if (this.hitTest(_root.missileArea[3])) {
_root.missileArea[3].Hit(1);
}
if (this.hitTest(_root.missileArea[4])) {
_root.missileArea[4].Hit(1);
}
if (this.hitTest(_root.missileArea[5])) {
_root.missileArea[5].Hit(1);
}
if (this.hitTest(_root.missileArea[6])) {
_root.missileArea[6].Hit(1);
}
if (this.hitTest(_root.missileArea[7])) {
_root.missileArea[7].Hit(1);
}
if (this.hitTest(_root.missileArea[8])) {
_root.missileArea[8].Hit(1);
}
if (this.hitTest(_root.missileArea[9])) {
_root.missileArea[9].Hit(1);
}
if (this.hitTest(_root.missileArea[10])) {
_root.missileArea[10].Hit(1);
}
if (total >= 600) {
_parent.removeMovieClip();
}
Symbol 443 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 452 MovieClip [enemy_float(follow)] Frame 1
function hit() {
if (mode == 0) {
_root.mainHp.AddScore(800, "flo");
mode = 1;
this.gotoAndPlay("bomb");
}
}
function shot() {
i++;
if (i >= 30) {
i = 0;
}
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 = thePoint.x;
_root[shotName]._y = thePoint.y;
_root[shotName]._rotation = kakudo;
}
function reset() {
this._x = (Math.random() * 2000) - 1000;
this._y = (Math.random() * 2000) - 1000;
this.play();
}
mode = 0;
name = _name;
i = 10;
i2 = 0;
name = String(name);
No = name.slice(6, 7);
wait = 10;
cnt = 0;
shotMode = "-";
Instance of Symbol 49 MovieClip "hitArea" in Symbol 452 MovieClip [enemy_float(follow)] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
_parent.hit();
}
}
Symbol 452 MovieClip [enemy_float(follow)] Frame 2
this.onEnterFrame = function () {
if (cnt == 10) {
Shotmode = "shot";
}
cnt++;
if (shotMode == "shot") {
i2++;
if ((i2 == 3) && (mode != 1)) {
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.lerder0.lerder1.getCo(_name, this._x, this._y, 6);
};
this.stop();
Symbol 452 MovieClip [enemy_float(follow)] Frame 13
this.reset();
Symbol 452 MovieClip [enemy_float(follow)] Frame 14
this.reset();
Symbol 457 MovieClip [enemy_float(move)] Frame 1
function hit() {
if (mode == 0) {
_root.mainHp.AddScore(800, "flo");
mode = 1;
_root.pointer.point++;
this.gotoAndPlay(4);
}
}
mode = 0;
name = _name;
i = 0;
i2 = 0;
Symbol 457 MovieClip [enemy_float(move)] Frame 2
this.onEnterFrame = function () {
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
this.hit();
}
i2++;
if ((i2 == 30) && (mode != 1)) {
i2 = 0;
i++;
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 = thePoint.x;
_root[shotName]._y = thePoint.y;
_root[shotName]._rotation = kakudo;
}
this._x = this._x - (moveX + _root.mainChar.XnowSpeed);
this._y = this._y - (moveY + _root.mainChar.YnowSpeed);
DisX = this._x - _root.mainChar._x;
DisY = this._y - _root.mainChar._y;
if (Math.abs(DisX) >= 3000) {
moveX = moveX * -1;
}
if (Math.abs(DisY) >= 3000) {
moveY = moveY * -1;
}
if ((Math.abs(DisX) >= 3100) || (Math.abs(DisY) >= 3100)) {
this._x = (Math.random() * 2000) - 1000;
this._y = (Math.random() * 2000) - 1000;
}
_root.lerder0.lerder1.getCo(_name, this._x, this._y, 6);
};
this.stop();
Symbol 457 MovieClip [enemy_float(move)] Frame 14
this._x = (Math.random() * 2000) - 1000;
this._y = (Math.random() * 2000) - 1000;
Symbol 467 MovieClip [BGEF4] Frame 1
Symbol 467 MovieClip [BGEF4] Frame 100
this.removeMovieClip();
Symbol 478 MovieClip [BGEF3] Frame 10
this.removeMovieClip();
Symbol 481 MovieClip [BGEF2] Frame 40
this.removeMovieClip();
Symbol 482 MovieClip [BGEF1] Frame 40
this.removeMovieClip();
Symbol 485 MovieClip [WeponSystem1_sb] Frame 1
function pointChange() {
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;
}
}
i = 0;
i2 = 0;
mode = 0;
shotMode = 1;
Name = String(_name);
No = Name.slice(7, 8);
follow = 4 + (Math.random() * 3);
this.pointChange();
Symbol 485 MovieClip [WeponSystem1_sb] Frame 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);
this._rotation = _root.mainChar._rotation;
};
Symbol 485 MovieClip [WeponSystem1_sb] Frame 6
this.onEnterFrame = function () {
if (Key.isDown(85)) {
if (shotMode == 1) {
shotMode = 2;
} else {
shotMode = 1;
}
}
if (Key.isDown(32)) {
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 (shotMode == 2) {
this._rotation = _root.mainChar._rotation + 180;
} else {
this._rotation = _root.mainChar._rotation;
}
if (mode == 1) {
i2++;
if (i2 >= 10) {
i++;
thePoint = {x:100, y:0};
this.localToGlobal(thePoint);
shotName = ("WeponSystemEF" + i) + No;
_root.attachMovie("shot1EF", shotName, (16 * No) + i);
_root[shotName]._rotation = _rotation;
_root[shotName]._x = thePoint.x;
_root[shotName]._y = thePoint.y;
i2 = 0;
if (i >= 15) {
this.play();
}
}
}
};
this.stop();
Symbol 485 MovieClip [WeponSystem1_sb] Frame 20
this.removeMovieClip();
Symbol 488 MovieClip [overShotEF] Frame 1
Symbol 488 MovieClip [overShotEF] Frame 6
cnt = cnt - 40;
if (cnt <= 0) {
this._name = "end";
this.gotoAndPlay("end");
}
Symbol 488 MovieClip [overShotEF] Frame 8
this.gotoAndPlay(_currentframe - 2);
Symbol 488 MovieClip [overShotEF] Frame 23
_root.mainChar.char.overShotEnd();
this.removeMovieClip();
Symbol 490 MovieClip Frame 1
total = 0;
speed = 50;
dmgPoint = 15;
Symbol 490 MovieClip Frame 2
this._x = this._x + speed;
total = total + speed;
if (total >= 1500) {
_parent.removeMovieClip();
}
if (this.hitTest(_root.mainChar.damageArea)) {
_root.mainChar.damage(dmgPoint, dmgType);
_parent.removeMovieClip();
}
if (this.hitTest(_root.mainChar.char.hitArea_b1) || (this.hitTest(_root.mainChar.char.overShotEF))) {
_root.mainHp.AddScore(100, "sos");
this.gotoAndPlay("hit");
}
if (this.hitTest(_root.mainChar.char.gardArea)) {
_root.mainHp.AddScore(10, "gos");
this.gotoAndPlay("hit");
}
if (this.hitTest(_root.effect1)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect2)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect3)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect4)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect5)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect6)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect7)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect8)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect9)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect11)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect12)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect13)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect14)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect15)) {
this.gotoAndPlay("hit");
}
Symbol 490 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 490 MovieClip Frame 4
EliSound = new Sound();
EliSound.attachSound("noize3");
Elisound.start(0, 1);
Symbol 490 MovieClip Frame 13
_parent.removeMovieClip();
Symbol 491 MovieClip [enemy_shot1EF] Frame 1
this.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
};
Symbol 494 MovieClip [dmg] Frame 1
this.dmgC.dmg = 50;
Symbol 494 MovieClip [dmg] Frame 15
this.removeMovieClip();
Symbol 497 MovieClip [effect_baidSarcle] Frame 1
this.onEnterFrame = function () {
if (this.hitTest(_root.enemy010)) {
_root.enemy010.hit();
}
if (this.hitTest(_root.enemy020)) {
_root.enemy020.hit();
}
if (this.hitTest(_root.enemy030)) {
_root.enemy030.hit();
}
if (this.hitTest(_root.enemy040)) {
_root.enemy040.hit();
}
if (this.hitTest(_root.enemy050)) {
_root.enemy050.hit();
}
if (this.hitTest(_root.enemy060)) {
_root.enemy060.hit();
}
if (this.hitTest(_root.enemy070)) {
_root.enemy070.hit();
}
if (this.hitTest(_root.enemy080)) {
_root.enemy080.hit();
}
if (this.hitTest(_root.enemy090)) {
_root.enemy090.hit();
}
if (this.hitTest(_root.enemy100)) {
_root.enemy100.hit();
}
if (this.hitTest(_root.enemy110)) {
_root.enemy110.hit();
}
if (this.hitTest(_root.enemy120)) {
_root.enemy120.hit();
}
if (this.hitTest(_root.missileArea[1])) {
_root.missileArea[1].Hit(1);
}
if (this.hitTest(_root.missileArea[2])) {
_root.missileArea[2].Hit(1);
}
if (this.hitTest(_root.missileArea[3])) {
_root.missileArea[3].Hit(1);
}
if (this.hitTest(_root.missileArea[4])) {
_root.missileArea[4].Hit(1);
}
if (this.hitTest(_root.missileArea[5])) {
_root.missileArea[5].Hit(1);
}
if (this.hitTest(_root.missileArea[6])) {
_root.missileArea[6].Hit(1);
}
if (this.hitTest(_root.missileArea[7])) {
_root.missileArea[7].Hit(1);
}
if (this.hitTest(_root.missileArea[8])) {
_root.missileArea[8].Hit(1);
}
if (this.hitTest(_root.missileArea[9])) {
_root.missileArea[9].Hit(1);
}
if (this.hitTest(_root.missileArea[10])) {
_root.missileArea[10].Hit(1);
}
this._x = this._x - (moveX + _root.mainChar.XnowSpeed);
this._y = this._y - (moveY + _root.mainChar.YnowSpeed);
};
Symbol 497 MovieClip [effect_baidSarcle] Frame 19
this.removeMovieClip();
Symbol 499 MovieClip Frame 1
total = 0;
speed = 30;
dmgPoint = 20;
dmgType = "\u30A8\u30CD\u30EB\u30AE\u30FC";
Symbol 499 MovieClip Frame 2
this._x = this._x + speed;
total = total + speed;
if (total >= 1500) {
_parent.removeMovieClip();
}
if (this.hitTest(_root.mainChar.damageArea)) {
_root.mainChar.damage(dmgPoint, dmgType);
_parent.removeMovieClip();
}
if (this.hitTest(_root.mainChar.char.hitArea_b1) || (this.hitTest(_root.mainChar.char.overShotEF))) {
_root.mainHp.AddScore(100, "sos");
this.gotoAndPlay("hit");
}
if (this.hitTest(_root.mainChar.char.gardArea)) {
_root.mainHp.AddScore(10, "gos");
this.gotoAndPlay("hit");
}
if (this.hitTest(_root.effect1)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect2)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect3)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect4)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect5)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect6)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect7)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect8)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect9)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect11)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect12)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect13)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect14)) {
this.gotoAndPlay("hit");
} else if (this.hitTest(_root.effect15)) {
this.gotoAndPlay("hit");
}
Symbol 499 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 499 MovieClip Frame 4
sound1 = new Sound();
sound2 = new Sound();
sound3 = new Sound();
sound1.attachSound("noize1");
sound2.attachSound("noize2");
sound3.attachSound("noize3");
sound3.start(0, 1);
Symbol 499 MovieClip Frame 13
_parent.removeMovieClip();
Symbol 500 MovieClip [enemy_shot2EF] Frame 1
this.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
};
Symbol 502 MovieClip [missileTypeA] Frame 1
function Hit(param) {
if (mode == 0) {
if (param == 1) {
_root.mainHp.AddScore(1000, "mis");
} else if (param == 0) {
_root.mainChar.damage(80, 0);
} else {
_root.mainChar.damage(15, 0);
}
mode = 1;
_root.lerder0.lerder1.RemoveCoMissile(_name);
_root.warningDis.warning(0);
this.gotoAndPlay("bomb");
}
}
function DrowMissileSmoke() {
if (i >= removeLine) {
i = 0;
}
i++;
var deep = ((no * removeLine) + i);
var missileLineName = ("missile" + deep);
_parent.attachMovie("missileLine", missileLineName, deep + 200);
_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;
}
function MissileMove() {
var thePoint = {x:_root.mainChar._x, y:_root.mainChar._y};
_parent.globalToLocal(thePoint);
var xDis = (thePoint.x - this._x);
var yDis = (thePoint.y - this._y);
thePoint = {x:xDis, y:yDis};
var radian = Math.atan2(yDis, xDis);
var XaddSpeed = (addSpeed * Math.cos(radian));
var YaddSpeed = (addSpeed * Math.sin(radian));
this._x = this._x + XaddSpeed;
this._y = this._y + YaddSpeed;
var kakudo = (radian / (Math.PI/180));
this._rotation = kakudo;
}
function DisplayLerder() {
if (mode == 0) {
var thePoint = {x:this._x, y:this._y};
_parent.localToGlobal(thePoint);
_root.lerder0.lerder1.GetCoMissile(thePoint.x, thePoint.y, _name);
}
}
function HitCheck() {
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
this.Hit(1);
}
if (this.hitTest(_root.mainChar.damageArea)) {
this.Hit(0);
}
if (this.hitTest(_root.mainChar.char.gardArea)) {
this.Hit(2);
}
}
i = 0;
addSpeed = (Math.random() * 20) + 30;
no = _name;
oldX = this._x;
oldY = this._y;
removeLine = 20;
mode = 0;
_root.warningDis.warning(1);
this.onEnterFrame = function () {
this.MissileMove();
this.DrowMissileSmoke();
this.DisplayLerder();
this.HitCheck();
};
this.stop();
Symbol 502 MovieClip [missileTypeA] Frame 17
this.removeMovieClip();
Symbol 504 MovieClip [smokeLineTutorial] Frame 1
Symbol 509 MovieClip [smokeLine] Frame 30
this.removeMovieClip();
Symbol 512 MovieClip [missileLine2] Frame 8
this.removeMovieClip();
Symbol 515 MovieClip [missileLine] Frame 19
this.removeMovieClip();
Symbol 517 MovieClip [whiteMask] Frame 50
this.removeMovieClip();
Symbol 519 MovieClip [hitEF1] Frame 5
this.removeMovieClip();
Symbol 529 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 529 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 529 MovieClip [tutorial_shotItem] Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
_parent.HitExtra();
}
}
Symbol 529 MovieClip [tutorial_shotItem] Frame 12
this.gotoAndPlay(_currentframe - 2);
Symbol 529 MovieClip [tutorial_shotItem] Frame 25
this._x = Math.random() * 800;
this._y = Math.random() * 600;
this.gotoAndPlay("first");
Symbol 533 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 533 MovieClip [tutorial_enemy1] Frame 10
this.stop();
Instance of Symbol 49 MovieClip "hitArea" in Symbol 533 MovieClip [tutorial_enemy1] Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
_parent.HitExtra();
}
}
Symbol 533 MovieClip [tutorial_enemy1] Frame 28
_root.lerder0.lerder1.RemoveCoItem(_name);
_root.menu.inMenu.ResetEnemy();
this.removeMovieClip();
Symbol 533 MovieClip [tutorial_enemy1] Frame 35
_root.lerder0.lerder1.RemoveCoItem(_name);
this.removeMovieClip();
Symbol 540 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 59 MovieClip in Symbol 540 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 535 MovieClip in Symbol 540 MovieClip [tutorial_moveGoal] Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
}
Instance of Symbol 535 MovieClip in Symbol 540 MovieClip [tutorial_moveGoal] Frame 10
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
}
Symbol 540 MovieClip [tutorial_moveGoal] Frame 25
_root.menu.inMenu.SetMoveTutorial();
Symbol 541 MovieClip [removeItem] Frame 1
this.removeMovieClip();
Symbol 548 Button
on (release) {
_global.firstStage = "tutorial";
_root.SetMainChar();
this.removeMovieClip();
}
Symbol 551 Button
on (release) {
_global.firstStage = "Test";
_root.SetMainChar();
this.removeMovieClip();
}
Symbol 554 Button
on (release) {
_parent.play();
}
Symbol 556 MovieClip [selectWindow] Frame 8
this.stop();
Symbol 556 MovieClip [selectWindow] Frame 14
this.removeMovieClip();
Symbol 560 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 570 Button
on (release) {
this.removeMovieClip();
}
Symbol 574 MovieClip Frame 1
total = 0;
speed = 90;
Symbol 574 MovieClip Frame 2
this._x = this._x + speed;
total = total + speed;
if (this.hitTest(_root.enemy010)) {
_root.enemy010.hit();
}
if (this.hitTest(_root.enemy020)) {
_root.enemy020.hit();
}
if (this.hitTest(_root.enemy030)) {
_root.enemy030.hit();
}
if (this.hitTest(_root.enemy040)) {
_root.enemy040.hit();
}
if (this.hitTest(_root.enemy050)) {
_root.enemy050.hit();
}
if (this.hitTest(_root.enemy060)) {
_root.enemy060.hit();
}
if (this.hitTest(_root.enemy070)) {
_root.enemy070.hit();
}
if (this.hitTest(_root.enemy080)) {
_root.enemy080.hit();
}
if (this.hitTest(_root.enemy090)) {
_root.enemy090.hit();
}
if (this.hitTest(_root.enemy100)) {
_root.enemy100.hit();
}
if (this.hitTest(_root.enemy110)) {
_root.enemy110.hit();
}
if (this.hitTest(_root.enemy120)) {
_root.enemy120.hit();
}
if (this.hitTest(_root.missileArea[1])) {
_root.missileArea[1].Hit(1);
}
if (this.hitTest(_root.missileArea[2])) {
_root.missileArea[2].Hit(1);
}
if (this.hitTest(_root.missileArea[3])) {
_root.missileArea[3].Hit(1);
}
if (this.hitTest(_root.missileArea[4])) {
_root.missileArea[4].Hit(1);
}
if (this.hitTest(_root.missileArea[5])) {
_root.missileArea[5].Hit(1);
}
if (this.hitTest(_root.missileArea[6])) {
_root.missileArea[6].Hit(1);
}
if (this.hitTest(_root.missileArea[7])) {
_root.missileArea[7].Hit(1);
}
if (this.hitTest(_root.missileArea[8])) {
_root.missileArea[8].Hit(1);
}
if (this.hitTest(_root.missileArea[9])) {
_root.missileArea[9].Hit(1);
}
if (this.hitTest(_root.missileArea[10])) {
_root.missileArea[10].Hit(1);
}
if (total >= 600) {
_parent.removeMovieClip();
}
Symbol 574 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 601 Button
on (release) {
_root.SoundStop();
_root.gotoAndStop("Select");
this.removeMovieClip();
}
Symbol 605 MovieClip [gameOverDisplay] Frame 60
this.stop();
Symbol 627 MovieClip Frame 1
move = "ok";
this.stop();
Symbol 627 MovieClip Frame 10
move = "-";
this.stop();
Instance of Symbol 627 MovieClip in Symbol 628 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._yscale >= 100) && (move == "ok")) {
this.play();
}
}
Symbol 653 Button
on (press) {
_root.gotoAndStop("Top");
}
Symbol 654 MovieClip Frame 1
this.stop();
Symbol 654 MovieClip Frame 2
_root.gotoAndStop("title");
this.stop();
Symbol 655 MovieClip Frame 1
speed = 0;
time0 = getTimer();
dwonload = _root.getBytesLoaded;
forTime = "\u8A08\u6E2C\u4E2D";
Instance of Symbol 624 MovieClip "bar" in Symbol 655 MovieClip Frame 1
onClipEvent (load) {
function sizeChange(barSize) {
this._xscale = barSize;
}
this.sizeChange(0);
}
Instance of Symbol 654 MovieClip "anyBar" in Symbol 655 MovieClip Frame 1
onClipEvent (load) {
function sizeAll(tempi) {
i = 1;
while (i <= tempi) {
barName = "bar" + i;
this[barName]._yscale = 100;
i++;
}
}
function endMove() {
i = 1;
while (i <= 10) {
barName = "bar" + i;
this[barName]._xscale = 300;
i++;
}
}
function anyBarChange(barSize) {
if (barSize <= 10) {
this.bar1._yscale = barSize * 10;
} else if (barSize <= 20) {
this.sizeAll(1);
this.bar2._yscale = (barSize - 10) * 10;
} else if (barSize <= 30) {
this.sizeAll(2);
this.bar3._yscale = (barSize - 20) * 10;
} else if (barSize <= 40) {
this.sizeAll(3);
this.bar4._yscale = (barSize - 30) * 10;
} else if (barSize <= 50) {
this.sizeAll(4);
this.bar5._yscale = (barSize - 40) * 10;
} else if (barSize <= 60) {
this.sizeAll(5);
this.bar6._yscale = (barSize - 50) * 10;
} else if (barSize <= 70) {
this.sizeAll(6);
this.bar7._yscale = (barSize - 60) * 10;
} else if (barSize <= 80) {
this.sizeAll(7);
this.bar8._yscale = (barSize - 70) * 10;
} else if (barSize <= 90) {
this.sizeAll(8);
this.bar9._yscale = (barSize - 80) * 10;
} else if (barSize < 100) {
this.sizeAll(9);
this.bar10._yscale = (barSize - 90) * 10;
} else {
this.sizeAll(10);
this.gotoAndStop(2);
}
}
nextFrameName = "Top";
mode = "-";
i2 = 0;
i = 1;
while (i <= 10) {
barName = "bar" + i;
this[barName]._yscale = 0;
i++;
}
}
Symbol 655 MovieClip Frame 2
loadedSize = _root.getBytesLoaded();
totalSize = _root.getBytesTotal();
time = getTimer() - time0;
if (time >= 1000) {
time0 = getTimer();
speed = Math.floor((loadedSize - loadSize0) / 1000);
loadSize0 = loadedSize;
forTime = Math.floor(((totalSize - loadedSize) / 1000) / speed);
}
if (loadedSize >= totalSize) {
downloadParcent = 100;
this.display.sankaku.sizeChange(100);
this.bar.sizeChange(100);
this.anyBar.anyBarChange(100);
} else {
parcent = (loadedSize / totalSize) * 100;
this.display.sankaku.sizeChange(parcent);
this.bar.sizeChange(parcent);
downloadParcent = Math.round(parcent);
this.anyBar.anyBarChange(parcent);
_root.stop();
}
Symbol 655 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 670 Button
on (press) {
getURL ("http://www12.plala.or.jp/nextframe/");
}
Symbol 685 Button
on (press) {
_root.gotoAndStop("Select");
}
Symbol 693 MovieClip Frame 1
this.onEnterFrame = function () {
if (this._y > 600) {
this._y = 0 + (this._y - 600);
}
if (this._y < 0) {
this._y = 600 + this._y;
}
this._y = this._y - ((_root.mainChar.YnowSpeed + 0.5) / moveExt);
};
Symbol 695 MovieClip Frame 1
this.onEnterFrame = function () {
if (this._x > 800) {
this._x = this._x - 800;
}
if (this._x < 0) {
this._x = 800 + this._x;
}
this._x = this._x - ((_root.mainChar.XnowSpeed + 0.5) / moveExt);
};
Symbol 699 Button
on (release) {
_root.gotoAndStop("credit");
}
Symbol 705 Button
on (release) {
getURL ("http://www12.plala.or.jp/nextframe/");
}
Symbol 708 Button
on (release) {
_root.attachMovie("scene_cation", "scene_cation", 1);
}
Symbol 714 MovieClip Frame 5
this.stop();
Symbol 715 Button
on (release) {
_root.OpenSelectWindow("A_SET_Char1sb");
}
Symbol 716 Button
on (release) {
_root.OpenSelectWindow("A_SET_Char2re");
}
Symbol 717 Button
on (release) {
_root.OpenSelectWindow("A_SET_Char4db");
}
Symbol 720 MovieClip Frame 1
this.gotoAndPlay(7);
Symbol 724 Button
on (release) {
_root.OpenSelectWindow("A_SET_Char1or");
}
Symbol 732 MovieClip Frame 1
this.gotoAndPlay(2);
Symbol 732 MovieClip Frame 10
this.stop();
Symbol 734 MovieClip Frame 1
function DrowMissileSmoke() {
if (i >= removeLine) {
i = 0;
}
i++;
var deep = (baseDeep + i);
var missileLineName = ("smoke" + deep);
_parent.attachMovie("smokeLine", missileLineName, deep);
_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;
}
function FollowMain() {
var thePoint = {x:_root[charName]._x, y:_root[charName]._y};
_parent.globalToLocal(thePoint);
this._x = thePoint.x;
this._y = thePoint.y;
}
function StartFollow() {
this.FollowMain();
oldX = this._x;
oldY = this._y;
}
i = 0;
oldX = this._x;
oldY = this._y;
this.onEnterFrame = function () {
if (_global.mainCharSmokeFlag == 1) {
this.FollowMain();
this.DrowMissileSmoke();
}
};
this.stop();
Symbol 735 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.mainCharSmokeLine == 1) {
this.followSmoke1.StartFollow();
this.followSmoke2.StartFollow();
this.followSmoke3.StartFollow();
this.followSmoke4.StartFollow();
}
}
i = 0;
mode = 0;
this.onEnterFrame = function () {
this._x = this._x - _root.mainChar.XnowSpeed;
this._y = this._y - _root.mainChar.YnowSpeed;
if (Key.isDown(57)) {
this.SetMissile();
}
if (Key.isDown(56)) {
this.SetTraceLine(1);
}
if (Key.isDown(55)) {
this.SetTraceLine(0);
}
if (Key.isDown(54)) {
_root.SetBoss();
}
};
this.SetTraceLine();
Instance of Symbol 734 MovieClip "followSmoke1" in Symbol 735 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
charName = "mainChar";
baseDeep = 50;
removeLine = 30;
}
Instance of Symbol 734 MovieClip "followSmoke2" in Symbol 735 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
charName = "wepon1_10";
baseDeep = 100;
removeLine = 30;
}
Instance of Symbol 734 MovieClip "followSmoke3" in Symbol 735 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
charName = "wepon1_20";
baseDeep = 150;
removeLine = 30;
}
Instance of Symbol 734 MovieClip "followSmoke4" in Symbol 735 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
charName = "wepon1_30";
baseDeep = 200;
removeLine = 30;
}
Symbol 737 MovieClip Frame 1
this.onEnterFrame = function () {
this._rotation = this._rotation + 5;
};
Symbol 743 MovieClip Frame 1
function changeArea(cfsize) {
this.attachMovie("lerderArea", "lerderArea", 100);
this.lerderArea._xscale = (this.lerderArea._yscale = 100 / cfsize);
}
function getCo(getName, x, y, deep) {
var DisX = (((_root.mainChar._x - x) / cf) * -1);
var DisY = (((_root.mainChar._y - y) / cf) * -1);
var name = String(getName);
var No = Number(getName.slice(5, 7));
if ((Math.abs(DisX) <= 100) && (Math.abs(DisY) <= 100)) {
this.attachMovie("enemySymbol(y)", Name, No + 30);
this[name]._x = DisX;
this[name]._y = DisY;
this[name].No = No;
} else {
this[name].removeMovieClip();
}
}
function RemoveCoItem(getName) {
var name = String(getName);
this[name].removeMovieClip();
}
function RemoveAllCoItem() {
i = 0;
while (i < 100) {
this.attachMovie("removeItem", "item", i);
i++;
}
}
function GetCoMissile(x2, y2, deep) {
var DisX = (((_root.mainChar._x - x2) / cf) * -1);
var DisY = (((_root.mainChar._y - y2) / cf) * -1);
var deep = Number(deep);
var name = ("missile" + deep);
if ((Math.abs(DisX) <= 100) && (Math.abs(DisY) <= 100)) {
this.attachMovie("missileSymbol", name, deep + 50);
this[name]._x = DisX;
this[name]._y = DisY;
} else {
this[name].removeMovieClip();
}
}
function RemoveCoMissile(getName) {
var name = ("missile" + getName);
this[name].removeMovieClip();
}
cf1 = 8;
cf2 = 15;
cf3 = 30;
cf = cf2;
this.changeArea(cf);
displaycf = "\u30EC\u30FC\u30C0\u30FC\u7BC4\u56F2 [ \u901A\u5E38 ]";
this.onEnterFrame = function () {
if (Key.isDown(49)) {
cf = cf1;
displaycf = "\u30EC\u30FC\u30C0\u30FC\u7BC4\u56F2 [ \u8FD1\u63A5 ]";
this.changeArea(cf);
} else if (Key.isDown(50)) {
cf = cf2;
displaycf = "\u30EC\u30FC\u30C0\u30FC\u7BC4\u56F2 [ \u901A\u5E38 ]";
this.changeArea(cf);
} else if (Key.isDown(51)) {
cf = cf3;
displaycf = "\u30EC\u30FC\u30C0\u30FC\u7BC4\u56F2 [ \u5E83\u57DF ]";
this.changeArea(cf);
}
};
Instance of Symbol 745 MovieClip in Symbol 746 MovieClip Frame 1
onClipEvent (enterFrame) {
Xspeed = _root.mainChar.YnowSpeed * -1;
Yspeed = _root.mainChar.XnowSpeed;
totalSpeed = Math.atan2(Yspeed, Xspeed);
_rotation = (totalSpeed / (Math.PI/180));
_yscale = (Math.abs(Xspeed) + Math.abs(Yspeed));
_xscale = (Math.abs(Xspeed) + Math.abs(Yspeed));
}
Symbol 748 MovieClip Frame 1
this.onEnterFrame = function () {
this._rotation = _root.mainChar._rotation;
};
Symbol 754 Button
on (rollOver) {
_root.mes.inMes.ShowHelpMes("helpEnd");
}
on (rollOut) {
_root.mes.inMes.ShowHelpMes();
}
on (release) {
this.ChangeStage("end");
}
Symbol 757 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 760 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 763 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 766 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 767 MovieClip Frame 1
function ShowMes(tempMes) {
if (tempMes == "end") {
_root.mes.inMes.ShowHelpMes();
} else if (tempMes) {
_root.mes.inMes.ShowHelpMes(tempMes);
}
}
function ChangeStage(tempStage) {
if (tempStage == "end") {
this.RemoveAllEnemy(0);
this.RemoveCharMusic();
_root.gotoAndStop("Select");
} 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) {
if (tempTMode != 0) {
_global.SetEnemyTempMode = tempTMode;
}
_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") {
_root[enemyName].shotHit = 1;
_root[enemyName].braidHit = 0;
} else if (SetEnemyTempMode == "inFight") {
_root[enemyName].shotHit = 0;
_root[enemyName].braidHit = 1;
}
i++;
}
}
function RemoveAllEnemy(raeTemp) {
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() {
_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 774 Button
on (release) {
_root.mes.inMes.ShowHelpMes2("normal");
_parent.inMenu.RemoveAllEnemy(1);
_parent.play();
}
Symbol 775 MovieClip Frame 4
tutorialName = _global.tempTutorialName + "\u8A13\u7DF4";
Symbol 775 MovieClip Frame 10
this.stop();
Symbol 776 MovieClip Frame 1
function ChangeSWindow(tempMode) {
this.play();
}
Symbol 776 MovieClip Frame 7
this.stop();
Symbol 776 MovieClip Frame 13
this.stop();
Instance of Symbol 767 MovieClip "inMenu" in Symbol 776 MovieClip Frame 13
onClipEvent (load) {
this._visible = false;
}
Symbol 776 MovieClip Frame 20
this.gotoAndStop(7);
Symbol 803 MovieClip Frame 1
function ShowHelpMes(tempMes) {
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) {
this.gotoAndPlay(tempMes);
}
this.ShowHelpMes();
Symbol 803 MovieClip Frame 8
this.stop();
Symbol 803 MovieClip Frame 17
this.stop();
Symbol 803 MovieClip Frame 27
this.stop();
Symbol 803 MovieClip Frame 37
this.stop();
Symbol 803 MovieClip Frame 47
this.stop();
Symbol 804 MovieClip Frame 7
this.stop();
Symbol 808 MovieClip Frame 1
function warning(param) {
if (param == 1) {
misCount++;
this.gotoAndPlay(5);
} else {
misCount--;
}
}
misCount = 0;
this.stop();
Symbol 808 MovieClip Frame 8
if (misCount > 0) {
this.gotoAndPlay("warningMisRoop");
} else {
this.gotoAndStop(1);
}
Symbol 812 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 814 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 815 MovieClip 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 815 MovieClip Frame 10
function shot() {
i++;
if (i >= 30) {
i = 0;
mRand = Math.round(Math.random() * 4) - 1;
i2 = 0;
while (i2 < mRand) {
_root.missileArea.SetMissile();
i2++;
}
}
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 815 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainChar.char.hitArea_b1)) {
_parent.HitExtra();
}
}
Symbol 815 MovieClip Frame 12
this.gotoAndPlay(_currentframe - 2);
Symbol 815 MovieClip Frame 25
this._x = Math.random() * 800;
this._y = Math.random() * 600;
this.gotoAndPlay("first");
Symbol 822 MovieClip Frame 1
function ChangeHp(damage) {
nowHp = nowHp - damage;
this.gageHp._xscale = (nowHp / basicHp) * 100;
if ((nowHp < 0) && (mode == 1)) {
this.gageHp._xscale = 0;
mode = 0;
i = 0;
while (i < 600) {
_root.attachMovie("removeItem", "removeItem", i);
i++;
}
_root.attachMovie("gameOverDisplay", "gameOverDisplay", 599);
_root.gameOverDisplay._x = 400;
_root.gameOverDisplay._y = 300;
_root.gameOverDisplay.mis = mis;
_root.gameOverDisplay.flo = flo;
_root.gameOverDisplay.ship = ship;
_root.gameOverDisplay.gos = gos;
_root.gameOverDisplay.sos = sos;
_root.gameOverDisplay.score = score;
}
}
function AddScore(param, breakTargetName) {
this[breakTargetName]++;
score = score + param;
}
score = 0;
nowHp = (basicHp = _global.hp);
mode = 1;
mis = 0;
flo = 0;
ship = 0;
gos = 0;
sos = 0;
Symbol 827 Button
on (release) {
_quality = "LOW";
}
Symbol 830 Button
on (release) {
_quality = "MEDIUM";
}
Symbol 837 Button
on (release) {
_global.mainCharSmokeFlag = 0;
}
Symbol 841 Button
on (release) {
_global.mainCharSmokeFlag = 1;
}
Symbol 850 Button
on (release) {
_root.SetBoss();
}
Symbol 858 Button
on (release) {
_root.FirstSetEnemy();
}
Symbol 865 Button
on (release) {
i = 0;
while (i < 10) {
x = (Math.random() * 3000) - 1500;
y = (Math.random() * 2000) - 1000;
_root.missileArea.SetPointMissile(x, y);
i++;
}
}
Symbol 866 Button
on (release) {
i = 0;
while (i < 600) {
_root.attachMovie("removeItem", "removeItem", i);
i++;
}
_root.SoundStop();
_root.gotoAndStop("Select");
}
Symbol 869 MovieClip Frame 1
extraX = 50;
extraY = 50;
follow = 10;
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);
};
this.stop();
Symbol 869 MovieClip Frame 10
this.stop();
Symbol 869 MovieClip Frame 20
this.stop();
Symbol 869 MovieClip Frame 30
this.stop();
Symbol 869 MovieClip Frame 40
this.stop();
Symbol 869 MovieClip Frame 50
this.stop();
Symbol 869 MovieClip Frame 60
this.stop();
Symbol 869 MovieClip Frame 70
this.stop();
Symbol 869 MovieClip Frame 80
this.stop();
Symbol 869 MovieClip Frame 90
this.stop();
Symbol 869 MovieClip Frame 100
this.stop();
Symbol 869 MovieClip Frame 110
this.stop();
Symbol 869 MovieClip Frame 120
this.stop();
Symbol 869 MovieClip Frame 130
this.stop();
Symbol 869 MovieClip Frame 140
this.stop();
Symbol 871 Button
on (press) {
getURL ("http://www.yonao.com/asobeat/");
}
Symbol 873 Button
on (press) {
getURL ("http://www.fleshbone.com/");
}
Symbol 875 Button
on (press) {
getURL ("http://www12.plala.or.jp/nextframe/");
}
Symbol 877 Button
on (press) {
getURL ("http://kikyou.sakura.ne.jp/~osabisi/index.html");
}
Symbol 885 Button
on (press) {
_root.gotoAndStop("select");
}
Symbol 891 MovieClip Frame 1
_root.theSound.stop();
Symbol 891 MovieClip Frame 9
this.stop();