Frame 2
_global.debug = 0;
_global.Game = new GameLib();
Game.attach("00");
_global.Gmath = new GmathClass();
Gmath.dowbleRotation(0, 0, 1, 1);
soundRoot = new Sound();
soundRoot.stop();
if (_global.debug == 1) {
this.gotoAndStop("game");
}
this.stop();
Frame 10
bgm = new Sound();
bgm.stop();
_quality = "HIGH";
this.stop();
Frame 20
_quality = "MEDIUM";
bgm.stop();
_root.bgm.setVolume(100);
_root.BGM.soundPlay("\u30E1\u30CB\u30E5\u30FC");
Frame 22
this.stop();
Frame 31
_global.debug = 0;
_global.Game = new GameLib();
Game.attach("00");
_global.Gmath = new GmathClass();
Gmath.dowbleRotation(0, 0, 1, 1);
soundRoot = new Sound();
soundRoot.stop();
if (_global.debug == 1) {
this.gotoAndStop("game");
}
this.stop();
this.gotoAndPlay("game");
Frame 39
bgm = new Sound();
bgm.stop();
_quality = "HIGH";
Frame 49
_quality = "MEDIUM";
bgm.stop();
_root.bgm.setVolume(100);
_root.BGM.soundPlay("\u30E1\u30CB\u30E5\u30FC");
Frame 51
this.stop();
Frame 60
bgm.stop();
_root.bgm.setVolume(100);
Frame 61
function setStatas() {
mainSta = new Object();
mainSta.fuseRate = 70;
mainSta.hpCore = 300;
mainSta.hpArmor = 2000;
mainSta.mental = 50;
mainSta.enMax = (mainSta.enOut = (mainSta.enExt = (mainSta.defPh = 20)));
mainSta.defPy = 10;
mainSta.defIn = 10;
mainSta.defEt = 2;
mainSta.atkInf = (baseSkill.infight / 100) + 1;
mainSta.atkShot = (baseSkill.shot / 100) + 1;
mainSta.atkCon = (baseSkill.contorol / 100) + 1;
mainSta.atkEth = (mainSta.spdMax = (mainSta.spdAdd = (mainSta.spdDush = (mainSta.spdDown = (subSta.guardExt = 5)))));
subSta.freeExt = 2;
}
function setSoundEngine() {
_root.attachMovie("-\uFF7B\uFF73\uFF9D\uFF84\uFF9E\uFF74\uFF9D\uFF7C\uFF9E\uFF9D_BGM", "BGM", 10001);
_root.BGM._y = -200;
_root.attachMovie("-\uFF7B\uFF73\uFF9D\uFF84\uFF9E\uFF74\uFF9D\uFF7C\uFF9E\uFF9D_\u74B0\u5883\u97F3", "ENVSE", 10002);
_root.BGM._y = -300;
}
function setDisHp() {
var _local2 = (nowSta.hpCore / mainSta.hpCore) * 30;
var _local3 = ((nowSta.hpArmor / mainSta.hpArmor) * 70) + _local2;
_root.MC_display.disHp.core._xscale = (_root.MC_display.disHp.core._yscale = _local2);
_root.MC_display.disHp.armor._xscale = (_root.MC_display.disHp.armor._yscale = _local3);
}
function attachWindow(wName) {
_root.attachMovie(wName, "window", 100);
_root.window._x = 275;
_root.window._y = 200;
}
function setEffect(ta, id, rotation, x, y, xscale, yscale) {
var _local3 = ta.EffectDeep.getDeep();
var _local1 = "ef" + _local3;
ta.attachMovie(id, _local1, _local3);
ta[_local1]._rotation = rotaion;
ta[_local1]._x = x;
ta[_local1]._y = y;
ta[_local1]._xscale = xscale;
ta[_local1]._yscale = yscale;
}
function hitEffect(efName, r, x, y) {
efName = "hitEffect_" + efName;
var _local3 = _root.MC_mainchar.EffectDeep.getDeep();
var _local4 = "ef" + _local3;
_root.MC_mainchar.attachMovie(efName, _local4, _local3);
var _local2 = _root.MC_mainchar[_local4];
_local2._x = (x + (Math.random() * 20)) - 10;
_local2._y = (y + (Math.random() * 20)) - 10;
_local2._rotation = r;
}
function setStage(nowStage) {
this.startBGM(stageDataAry[nowStage][1], undefined);
this.startENVSE(stageDataAry[nowStage][3], stageDataAry[nowStage][4]);
this.setBG(stageDataAry[nowStage][5]);
this.setBack(stageDataAry[nowStage][6]);
colorTop = 7;
this.setColor(_root.MC_mainchar, nowStage, colorTop);
this.setColor(_root.MC_enemy, nowStage, colorTop + 6);
this.setColor(_root.MC_back, nowStage, colorTop + 12);
}
function setColor(target, nowStage, no) {
this.removeColor(target);
if (stageDataAry[nowStage][no] == "non") {
return(undefined);
}
var _local2 = new Object();
_local2.ra = stageDataAry[nowStage][no];
_local2.rb = stageDataAry[nowStage][no + 1];
_local2.ga = stageDataAry[nowStage][no + 2];
_local2.gb = stageDataAry[nowStage][no + 3];
_local2.ba = stageDataAry[nowStage][no + 4];
_local2.bb = stageDataAry[nowStage][no + 5];
_local2.aa = 100;
_local2.ab = 0;
theColor = new Color(target);
theColor.setTransform(_local2);
}
function setBack(backName) {
_root.MC_back.back.removeMovieClip();
_root.MC_back.attachMovie("MC_back_in_" + backName, "back", 1);
}
function removeColor(target) {
var _local1 = new Object();
_local1.ra = 100;
_local1.rb = 0;
_local1.ga = 100;
_local1.gb = 0;
_local1.ba = 100;
_local1.bb = 0;
_local1.aa = 100;
_local1.ab = 0;
theColor = new Color(target);
theColor.setTransform(_local1);
}
function setBG(bgName) {
_root.MC_BG.BG.removeMovieClip();
_root.MC_BG.attachMovie(bgName, "BG", 1);
}
function startBGM(bgm, vol) {
_root.BGM.soundPlay(bgm, vol);
}
function startENVSE(envse, vol) {
_root.ENVSE.soundPlay(envse, vol);
}
function screenMagCon(setMag, addMag) {
screenCMode = true;
if (setMag != null) {
screenMagNext = setMag;
} else {
screenMagNext = screenMagNext + addMag;
}
if (screenMagNext < 0.1) {
screenMagNext = 0.01;
} else if (screenMagNext > 2) {
screenMagNext = 2;
}
}
function getKeyScreenMag() {
if (Key.isDown(36)) {
this.screenMagCon(1, null);
} else if (Key.isDown(33)) {
this.screenMagCon(null, 0.05);
} else if (Key.isDown(34)) {
this.screenMagCon(null, -0.05);
}
}
function exeScreenMag() {
if (screenCMode) {
screenMag = screenMag + ((screenMagNext - screenMag) / screenCExt);
var _local2 = screenMag * 100;
_root.MC_mainchar._xscale = (_root.MC_mainchar._yscale = _local2);
_root.MC_enemy._xscale = (_root.MC_enemy._yscale = _local2);
_root.MC_back._xscale = (_root.MC_back._yscale = _local2);
_root.MC_ef._xscale = (_root.MC_ef._yscale = _local2);
if (Math.abs(screenMag - screenMagNext) < 0.005) {
screenMag = screenMagNext;
screenCMode = false;
}
}
}
function exeMapMove() {
_root.MC_mainchar._x = (_root.MC_enemy._x = (_root.MC_back._x = (_root.MC_ef._x = 275 - (_root.MC_mainchar.mainchar.nowSpeedx / ex))));
_root.MC_mainchar._y = (_root.MC_enemy._y = (_root.MC_back._y = (_root.MC_ef._y = 200 - (_root.MC_mainchar.mainchar.nowSpeedy / ex))));
}
function exeMapMoveToMouse() {
tx = tx - ((tx - _root._xmouse) / 6);
ty = ty - ((ty - _root._ymouse) / 6);
_root.MC_mainchar._x = (_root.MC_enemy._x = (_root.MC_back._x = (_root.MC_ef._x = (((-tx) + 550) / 2) + 137.5)));
_root.MC_mainchar._y = (_root.MC_enemy._y = (_root.MC_back._y = (_root.MC_ef._y = (((-ty) + 400) / 2) + 100)));
}
function setEnemys() {
i = 0;
while (i < 8) {
var _local3 = _root.MC_enemy.DeepMain.getDeep();
var _local4 = "e" + _local3;
_root.MC_enemy.attachMovie("enemy_float1", _local4, _local3);
_root.MC_enemy[_local4]._x = (Math.random() * 2000) - 1000;
_root.MC_enemy[_local4]._y = (Math.random() * 1000) - 500;
this.setMarker(_local4);
i++;
}
var _local3 = _root.MC_enemy.DeepMain.getDeep();
var _local4 = "e" + _local3;
_root.MC_enemy.attachMovie("enemy_float_extra1", _local4, _local3);
}
function setMarker(n) {
var _local2 = _root.MC_mainchar.NaviDeep.getDeep();
_root.MC_mainchar.attachMovie("navi_marker", n, _local2);
}
function removeMarker(n) {
_root.MC_mainchar[n].remove();
}
function attack(address, r, weponNo) {
var _local10 = enemyList.length;
var _local3;
var _local6 = new Object();
var _local11 = false;
var _local4 = new Array();
_local3 = 0;
while (_local3 < _local10) {
_local4[_local3] = enemyList[_local3];
_local3++;
}
_local3 = 0;
while (_local3 < _local10) {
var _local8 = this.MC_enemy._xscale / 100;
_local6.x = (this.MC_enemy[_local4[_local3]]._x * _local8) + this.MC_enemy._x;
_local6.y = (this.MC_enemy[_local4[_local3]]._y * _local8) + this.MC_enemy._y;
if (address.hitTest(_local6.x, _local6.y, true)) {
if (weponAry[weponNo][2] == 1) {
r = (Math.atan2(_root.MC_mainchar.mainchar._y - this.MC_enemy[_local4[_local3]]._y, _root.MC_mainchar.mainchar._x - this.MC_enemy[_local4[_local3]]._x) / (Math.PI/180)) + 180;
} else if (weponAry[weponNo][2] == 2) {
r = (Math.atan2(address._y - this.MC_enemy[_local4[_local3]]._y, address._x - this.MC_enemy[_local4[_local3]]._x) / (Math.PI/180)) + 180;
}
this.MC_enemy[_local4[_local3]].Enemy.hit(r, weponAry[weponNo][0], weponAry[weponNo][1], weponAry[weponNo][2], weponAry[weponNo][3], weponAry[weponNo][4]);
_local11 = true;
}
_local3++;
}
if (_local11) {
return(true);
}
}
function absAttack(address, r, weponNo) {
var _local8 = enemyList.length;
var _local3;
var _local7 = new Object();
var _local10 = false;
var _local4 = new Array();
_local3 = 0;
while (_local3 < _local8) {
_local4[_local3] = enemyList[_local3];
_local3++;
}
_local3 = 0;
while (_local3 < _local8) {
var _local6 = this.MC_enemy._xscale / 100;
_local7.x = (this.MC_enemy[_local4[_local3]]._x * _local6) + this.MC_enemy._x;
_local7.y = (this.MC_enemy[_local4[_local3]]._y * _local6) + this.MC_enemy._y;
r = (Math.atan2(_root.MC_mainchar.mainchar._y - this.MC_enemy[_local4[_local3]]._y, _root.MC_mainchar.mainchar._x - this.MC_enemy[_local4[_local3]]._x) / (Math.PI/180)) + 180;
this.MC_enemy[_local4[_local3]].Enemy.hit(r, weponAry[weponNo][0], weponAry[weponNo][1], weponAry[weponNo][2], weponAry[weponNo][3], weponAry[weponNo][4]);
_local3++;
}
return(true);
}
function hitCheck(ad) {
if (_root.MC_mainchar.mainchar.damageArea.hitTest(ad)) {
return(true);
}
return(false);
}
function hit(r, dmg, power, powerType, attackType, aef) {
var _local5 = Math.cos((r * Math.PI) / 180) * power;
var _local4 = Math.sin((r * Math.PI) / 180) * power;
_root.MC_mainchar.mainchar.addSpeed(_local5, _local4);
this.damage(dmg);
_root.hitEffect(aef, r + 180, (Math.random() * 40) - 20, (Math.random() * 40) - 20);
}
function damage(dmg) {
dmg = dmg - nowSta.defPh;
if (dmg < 0) {
if (dmg < (now.Sta.defPh / 3)) {
dmg = 0;
} else {
dmg = 1;
}
}
var _local6 = ((nowSta.hpArmor / mainSta.hpArmor) * 1.2) - 0.03;
if (Math.random() > _local6) {
nowSta.hpCore = nowSta.hpCore - dmg;
var _local4 = new Sound();
var _local5 = ("\u88AB\u5F3E_0" + Math.ceil(Math.random() * 3)) + ".wav";
_local4.attachSound(_local5);
_local4.start(0, 1);
} else {
nowSta.hpArmor = nowSta.hpArmor - dmg;
var _local4 = new Sound();
var _local5 = "metalHit0" + Math.ceil(Math.random() * 6);
_local4.attachSound(_local5);
_local4.start(0, 1);
}
this.setDisHp();
if (nowSta.hpCore <= 0) {
nowSta.hpCore = 0;
_root.MC_mainchar.mainchar.breakDown();
}
}
function addList(targetList, n) {
this[targetList].push(n);
}
function delList(targetList, n) {
i = 0;
while (i < this[targetList].length) {
if (this[targetList][i] == n) {
this[targetList].splice(i, 1);
}
i++;
}
}
function chachRelative() {
rrx = _root.MC_mainchar._x;
rry = _root.MC_mainchar._y;
}
function menu_preWithdrawal() {
}
function menu_acWithdrawal() {
}
function menu_cancel() {
}
function menu_support() {
}
function menu_thinking() {
}
this.setDisHp();
this.setSoundEngine();
weponList_shot = new Array();
weponList_infight = new Array();
weponList_para = new Array();
weponList_float = new Array();
weponList_shot = new Array();
weponList_shot[0] = ["\u30D5\u30A3\u30FC\u30BA\u30FB\u30AC\u30F3", 100, 5, 0, "p", "white"];
weponList_shot[1] = ["\u30D1\u30B7\u30D5\u30A3\u30AF\u30B9\u30FB\u30DE\u30B7\u30F3\u30AC\u30F3", 70, 20, 0, "p", "bomb"];
weponList_shot[2] = ["\u30D5\u30A3\u30FC\u30BA\u30FB\u30D6\u30E9\u30B9\u30BF\u30FC", 350, 10, 0, "p", "white"];
stageDataAry = new Array();
stageDataAry[9] = ["\u30B7\u30DF\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3", "\u30B7\u30DF\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3", 100, "\u8EFD\u3044\u99C6\u52D5\u97F3", 100, "BG_MF071", "line", "non", 0, 0, 0, 0, 0, "non", 0, 0, 0, 0, 0, "non", 0, 0, 0, 0, 0];
stageDataAry[10] = ["\u6D77\u4E0A", "\u6D77\u4E0A", 100, "\u6D77", 50, "BG_SK016", "clouds", "non", 0, 0, 0, 0, 0, "non", 0, 0, 0, 0, 0, 80, 51, 80, 51, 80, 51];
stageDataAry[11] = ["\u9AD8\u9AD8\u5EA6\u7A7A\u57DF", "\u9AD8\u9AD8\u5EA6\u7A7A\u57DF", 100, "\u98A8", 40, "BG_SK031", "clouds", "non", 0, 0, 0, 0, 0, "non", 0, 0, 0, 0, 0, "non", 0, 0, 0, 0, 0];
stageDataAry[12] = ["\u5E02\u8857\u4E0A\u7A7A", "\u5E02\u8857\u4E0A\u7A7A", 100, "\u4F4E\u97F3", 50, "BG_MF161", "clouds", 70, 45, 70, 44, 70, 15, 70, 45, 70, 44, 70, 15, 70, 45, 70, 44, 70, 15];
stageDataAry[13] = ["\u7206\u5FC3\u5730", "\u7206\u5FC3\u5730", 100, "\u98A8", 80, "BG_SK106_2", "clouds", 75, 0, 75, 0, 75, 0, 75, 0, 75, 0, 75, 0, 44, 0, 44, 0, 44, 30];
baseSta = new Object();
baseSta.react = 10;
base.sta.output = 10;
base.doll = 10;
base.mental = 50;
baseSkill = new Object();
baseSkill.infight = 0;
baseSkill.shot = 0;
baseSkill.contorol = 0;
baseSkill.defense = 0;
baseSkill.avoid = 0;
baseSkill.mov = 0;
baseSkill.energyCon = 0;
baseSkill.view = 0;
baseSkill.damageCon = 0;
baseSkill.mentalCon = 0;
baseSkill.dush = 0;
baseSkill.tackle = 0;
baseSkill.etherCon = 0;
baseSkill.etherInd = 0;
baseSkill.recovery = 0;
baseSkill.mindCon = 0;
baseSkill.emotion = 0;
baseSkill.talk = 0;
baseSkill.wisdom = 0;
baseSkill.world = 0;
baseSkill.game = 0;
var eatherExt = ((((baseSkill.etherInd + ((baseSkill.emotion + baseSkill.talk) / 3)) + base.mental) / 100) * (base.mental / 33));
staAry = ["hpCore", "hpArmor", "hpExtra", "hpRep", "enMax", "enOut", "enExt", "defPh", "defPy", "defIn", "defEt", "atkInf", "atkShot", "atkCon", "atkEth", "spdMax", "spdAdd", "spdDush", "spdDown"];
frame = new Object();
frame.hpCore = 300;
frame.hpArmor = 2000;
sMag_inFinght = 0.7;
sMag_shot = 0.3;
sMag_extra = 0.01;
_quality = "MEDIUM";
screenMag = sMag_shot;
screenMagNext = screenMag;
screenCMode = false;
screenCExt = 5;
_root.screenMagCon(screenMag, null);
_global.mainchar = _root.MC_mainchar.mainchar;
ex = 0.8;
tx = 275;
ty = 200;
this.setEnemys();
equipAry = [];
weponAry = new Array();
weponAry[0] = [100, 20, 0, "p", "bomb"];
weponAry[1] = [250, 5, 0, "p", "white"];
weponAry[10] = [300, 15, 0, "in_p", "brade1"];
weponAry[11] = [350, 20, 0, "in_p", "brade1"];
weponAry[12] = [400, 30, 0, "in_p", "brade1"];
weponAry[13] = [500, 40, 0, "in_p", "brade1"];
weponAry[15] = [800, 80, 0, "in_p", "brade1"];
weponAry[16] = [400, 40, 0, "in_p", "brade1"];
weponAry[20] = [25, 15, 0, "p", "bomb"];
weponAry[20] = [250, 5, 0, "p", "white"];
weponAry[30] = [3000, 100, 1, "p", "bradeX"];
weponAry[31] = [1500, 60, 1, "p", "bluePa"];
weponAry[32] = [1500, 60, 1, "p", "bluePa"];
weponAry[33] = [3500, 20, 1, "in_p", "bradeX"];
weponAry[34] = [1500, 60, 1, "p", "bluePa"];
weponAry[35] = [310, 170, 1, "p", "bluePa_se"];
weponAry[99] = [3000, 140, 1, "p", "bomb2"];
weponAry[100] = [0, 0, 0, "p", "non"];
weponAry[101] = [320, 80, 2, "p", "non"];
weponAry[102] = [70, 80, 2, "p", "non"];
weponAry[110] = [200, 40, 0, "p", "white"];
weponAry[900] = [320, 30, 0, "p", "white"];
weponAry[999] = [9990, 100, 99, "p", "bluePa"];
mainShot = "shot_g_mg";
enemyList = new Array();
this.onEnterFrame = function () {
this.exeScreenMag();
this.exeMapMoveToMouse();
if (enemyList.length == 0) {
this.setEnemys();
}
if (Key.isDown(33)) {
this.gotoAndStop("end2");
}
this.chachRelative();
};
menu_cm = new ContextMenu();
menu_cm.builtInItems.forward_back = false;
menu_cm.builtInItems.loop = false;
menu_cm.builtInItems.play = false;
menu_cm.builtInItems.print = false;
menu_cm.builtInItems.quality = false;
menu_cm.builtInItems.rewind = false;
menu_cm.builtInItems.save = false;
menu_cm.builtInItems.zoom = false;
MenuItem = new ContextMenuItem();
MenuItem.caption = "\u00D7 \u4E2D\u6B62 / cancel";
MenuItem.enabled = true;
MenuItem.onSelect = menu_cancel;
MenuItem.separatorBefore = true;
MenuItem.visible = true;
MenuItem2 = new ContextMenuItem();
MenuItem2.caption = "\u25A0 \u652F\u63F4\u653B\u6483\u3092\u8981\u8ACB / Support request";
MenuItem2.enabled = true;
MenuItem2.onSelect = menu_support;
MenuItem2.separatorBefore = true;
MenuItem2.visible = true;
MenuItem3 = new ContextMenuItem();
MenuItem3.caption = "\u25A0 \u8003\u3048\u308B / thinking";
MenuItem3.enabled = true;
MenuItem3.onSelect = menu_thinking;
MenuItem3.separatorBefore = true;
MenuItem3.visible = true;
MenuItem4 = new ContextMenuItem();
MenuItem4.caption = "\u25A0 \u64A4\u9000 / withdrawal";
MenuItem4.enabled = true;
MenuItem4.onSelect = menu_preWithdrawal;
MenuItem4.separatorBefore = true;
MenuItem4.visible = true;
MenuItem5 = new ContextMenuItem();
MenuItem5.caption = "\u3000\u3000\u3000\u3000\u3000";
MenuItem5.enabled = false;
MenuItem5.onSelect = saisei;
MenuItem5.separatorBefore = true;
MenuItem5.visible = true;
menu_cm.customItems.push(MenuItem);
menu_cm.customItems.push(MenuItem2);
menu_cm.customItems.push(MenuItem3);
menu_cm.customItems.push(MenuItem4);
menu_cm.customItems.push(MenuItem5);
_root.menu = menu_cm;
Frame 62
this.setStatas();
nowSta = new Object();
i = 0;
while (i < staAry.length) {
nowSta[staAry[i]] = mainSta[staAry[i]];
i++;
}
i = 10;
while (i < 20) {
i++;
}
this.setStage(12);
this.stop();
Frame 67
_root.gotoAndStop("priLoad");
Frame 235
_root.gotoAndStop("pri_load");
Symbol 33 MovieClip [lineLeaserLineLow] Frame 9
this.removeMovieClip();
Symbol 35 MovieClip [ext_lineLeaesrLine] Frame 9
this.removeMovieClip();
Symbol 37 MovieClip Frame 1
_visible = false;
Symbol 54 MovieClip Frame 1
function DrowMissileSmoke() {
i++;
var _local3 = "missile" + i;
_parent.attachMovie(efName, _local3, i);
_parent[_local3]._xscale = this._x - oldX;
_parent[_local3]._yscale = this._y - oldY;
_parent[_local3]._x = oldX;
_parent[_local3]._y = oldY;
oldX = this._x;
oldY = this._y;
}
addSpeed = 4 + (Math.random() * 2);
ext = 1.3;
YnowSpeed = (Math.random() * 60) - 30;
XnowSpeed = (Math.random() * 80) - 90;
oldX = this._x;
oldY = this._y;
radian = 0;
i = 0;
i3 = 0;
removeLine = 10;
efName = "ext_lineLeaesrLine";
this.onEnterFrame = function () {
i3++;
if (i3 < 40) {
this.DrowMissileSmoke();
} else {
_parent.removeMovieClip();
}
ext = ext * 1.15;
XnowSpeed = XnowSpeed + ((addSpeed * Math.cos(radian)) * ext);
YnowSpeed = YnowSpeed + ((addSpeed * Math.sin(radian)) * ext);
this._x = this._x + XnowSpeed;
this._y = this._y + YnowSpeed;
};
Instance of Symbol 37 MovieClip in Symbol 54 MovieClip Frame 2
//component parameters
onClipEvent (construct) {
dmgType = 0;
efType = 0;
}
onClipEvent (load) {
if (_root.attack(_parent, _global.mainchar._rotation, 110) == true) {
_parent.onEnterFrame = null;
_parent.gotoAndPlay("end");
}
}
Symbol 54 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 54 MovieClip Frame 10
_parent.removeMovieClip();
Symbol 55 MovieClip [ext_lineLeaser] Frame 1
this._rotation = _root.MC_mainchar.mainchar._rotation;
this.onEnterFrame = function () {
this._x = this._x + (-_root.MC_mainchar.mainchar.nowSpeedx);
this._y = this._y + (-_root.MC_mainchar.mainchar.nowSpeedy);
};
Symbol 65 MovieClip [floatGun] Frame 1
Enemy = new SsEnemyLib(this);
Enemy.autoPropertySet();
this.onEnterFrame = function () {
Enemy.exeMoveTrace();
};
this.stop();
Symbol 65 MovieClip [floatGun] Frame 20
this.stop();
this.Enemy.remove();
Symbol 69 MovieClip [para_typerRocket] Frame 1
function movePoint() {
if (targetName == null) {
taAd = _root.MC_mainchar.mainchar;
moveX = (moveY = 0);
} else {
targetName = _root.enemyList[Math.floor(Math.random() * _root.enemyList.length)];
taAd = _root.MC_enemy[targetName];
moveX = (Math.random() * 4) - 2;
moveY = (Math.random() * 4) - 2;
extraX = (Math.random() * 500) + 50;
if ((Math.random() * 2) >= 1) {
extraX = extraX * -1;
}
extraY = (Math.random() * 500) + 40;
if ((Math.random() * 2) >= 1) {
extraY = extraY * -1;
}
}
}
function fff() {
thisAd.play();
}
_yscale = 50;
_xscale = 50;
var time0 = getTimer();
var battleTime = 10000;
battleTime = battleTime + time0;
var mode = 0;
var attackMode = 1;
var follow = (2 + (Math.random() * 4));
var i = Math.round(Math.random() * 10);
extraX = (Math.random() * 50) + 50;
if ((Math.random() * 2) >= 1) {
extraX = extraX * -1;
}
extraY = (Math.random() * 50) + 40;
if ((Math.random() * 2) >= 1) {
extraY = extraY * -1;
}
thisAd = this;
targetName = _root.enemyList[Math.floor(Math.random() * _root.enemyList.length)];
shotMode = 2;
this.movePoint();
inter_move = setInterval(movePoint, 2000);
inter_shot = setInterval(fff, 1500);
this.onEnterFrame = function () {
if ((getTimer() > battleTime) && (follow > 2)) {
targetName = null;
this.movePoint();
clearInterval(inter_move);
clearInterval(inter_shot);
extraX = (extraY = 0);
follow = 1.5;
this.gotoAndPlay("end");
}
if (shotMode == 1) {
} else if (shotMode == 2) {
_rotation = (Math.atan2(_root.MC_enemy[targetName]._y - _y, _root.MC_enemy[targetName]._x - _x) / (Math.PI/180));
}
if (Key.isDown(16)) {
if (bCnt < 1) {
bCnt = 1;
this.ChangeMode();
}
} else {
bCnt = 0;
}
if (Key.isDown(_global.keyCas[1])) {
mode = 1;
} else {
mode = 0;
}
this._x = this._x + ((((taAd._x + extraX) - _x) / follow) - _root.MC_mainchar.mainchar.nowSpeedx);
this._y = this._y + ((((taAd._y + extraY) - _y) / follow) - _root.MC_mainchar.mainchar.nowSpeedy);
};
Symbol 69 MovieClip [para_typerRocket] Frame 7
this.stop();
Symbol 69 MovieClip [para_typerRocket] Frame 8
function fire(n, r, speed) {
var _local4 = _root.MC_mainchar.Deep.getDeep();
var _local3 = "amo" + _local4;
_root.MC_mainchar.attachMovie(n, _local3, _local4);
_root.MC_mainchar[_local3]._x = this._x;
_root.MC_mainchar[_local3]._y = this._y;
_root.MC_mainchar[_local3]._rotation = this._rotation;
}
this.fire("wepon_amo_locket2", _rotation, 10);
Instance of Symbol 61 MovieClip in Symbol 69 MovieClip [para_typerRocket] Frame 8
onClipEvent (enterFrame) {
_rotation = (Math.random() * 360);
}
Symbol 69 MovieClip [para_typerRocket] Frame 36
this.gotoAndStop(7);
Symbol 69 MovieClip [para_typerRocket] Frame 45
this.removeMovieClip();
this.stop();
Symbol 72 MovieClip [para_typeMG] Frame 1
function movePoint() {
if (targetName == null) {
taAd = _root.MC_mainchar.mainchar;
moveX = (moveY = 0);
} else {
targetName = _root.enemyList[Math.floor(Math.random() * _root.enemyList.length)];
taAd = _root.MC_enemy[targetName];
moveX = (Math.random() * 4) - 2;
moveY = (Math.random() * 4) - 2;
extraX = (Math.random() * 500) + 50;
if ((Math.random() * 2) >= 1) {
extraX = extraX * -1;
}
extraY = (Math.random() * 500) + 40;
if ((Math.random() * 2) >= 1) {
extraY = extraY * -1;
}
}
}
function fff() {
thisAd.play();
}
_yscale = 50;
_xscale = 50;
var time0 = getTimer();
var battleTime = 10000;
battleTime = battleTime + time0;
var mode = 0;
var attackMode = 1;
var follow = (2 + (Math.random() * 4));
var i = Math.round(Math.random() * 10);
extraX = (Math.random() * 50) + 50;
if ((Math.random() * 2) >= 1) {
extraX = extraX * -1;
}
extraY = (Math.random() * 50) + 40;
if ((Math.random() * 2) >= 1) {
extraY = extraY * -1;
}
thisAd = this;
targetName = _root.enemyList[Math.floor(Math.random() * _root.enemyList.length)];
shotMode = 2;
this.movePoint();
inter_move = setInterval(movePoint, 2000);
inter_shot = setInterval(fff, 1500);
this.onEnterFrame = function () {
if ((getTimer() > battleTime) && (follow > 2)) {
targetName = null;
this.movePoint();
clearInterval(inter_move);
clearInterval(inter_shot);
extraX = (extraY = 0);
follow = 1.5;
this.gotoAndPlay("end");
}
if (shotMode == 1) {
} else if (shotMode == 2) {
_rotation = (Math.atan2(_root.MC_enemy[targetName]._y - _y, _root.MC_enemy[targetName]._x - _x) / (Math.PI/180));
}
if (Key.isDown(16)) {
if (bCnt < 1) {
bCnt = 1;
this.ChangeMode();
}
} else {
bCnt = 0;
}
if (Key.isDown(_global.keyCas[1])) {
mode = 1;
} else {
mode = 0;
}
this._x = this._x + ((((taAd._x + extraX) - _x) / follow) - _root.MC_mainchar.mainchar.nowSpeedx);
this._y = this._y + ((((taAd._y + extraY) - _y) / follow) - _root.MC_mainchar.mainchar.nowSpeedy);
};
Symbol 72 MovieClip [para_typeMG] Frame 7
this.stop();
Instance of Symbol 37 MovieClip in Symbol 72 MovieClip [para_typeMG] Frame 8
//component parameters
onClipEvent (construct) {
dmgType = 0;
efType = 0;
}
onClipEvent (load) {
_root.attack(this, _parent._rotation, 20);
}
Instance of Symbol 61 MovieClip in Symbol 72 MovieClip [para_typeMG] Frame 8
onClipEvent (enterFrame) {
_rotation = (Math.random() * 360);
}
Instance of Symbol 37 MovieClip in Symbol 72 MovieClip [para_typeMG] Frame 10
//component parameters
onClipEvent (construct) {
dmgType = 0;
efType = 0;
}
onClipEvent (load) {
_root.attack(this, _parent._rotation, 20);
}
Instance of Symbol 37 MovieClip in Symbol 72 MovieClip [para_typeMG] Frame 12
//component parameters
onClipEvent (construct) {
dmgType = 0;
efType = 0;
}
onClipEvent (load) {
_root.attack(this, _parent._rotation, 20);
}
Symbol 72 MovieClip [para_typeMG] Frame 18
this.gotoAndStop(7);
Symbol 72 MovieClip [para_typeMG] Frame 31
this.removeMovieClip();
this.stop();
Symbol 75 MovieClip Frame 1
this.stop();
Symbol 76 MovieClip Frame 1
i = 1;
while (i < _global.SetMaxEnemyNo) {
if (this.hitTest(_root[i]._x, _root[i]._y, true)) {
_root[i].hit(dmgType, efType);
}
i++;
}
i = 21;
while (i < (21 + _global.setMaxMisNo)) {
if (this.hitTest(_root[i]._x, _root[i]._y, true)) {
_root[i].hit(dmgType, efType);
}
i++;
}
_visible = false;
Instance of Symbol 76 MovieClip "shotArea" in Symbol 80 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
dmgType = 3;
efType = 0;
}
Symbol 88 MovieClip [para_typeLeaser] Frame 1
function movePoint() {
if (targetName == null) {
taAd = _root.MC_mainchar.mainchar;
moveX = (moveY = 0);
} else {
targetName = _root.enemyList[Math.floor(Math.random() * _root.enemyList.length)];
taAd = _root.MC_enemy[targetName];
moveX = (Math.random() * 4) - 2;
moveY = (Math.random() * 4) - 2;
extraX = (Math.random() * 500) + 50;
if ((Math.random() * 2) >= 1) {
extraX = extraX * -1;
}
extraY = (Math.random() * 500) + 40;
if ((Math.random() * 2) >= 1) {
extraY = extraY * -1;
}
}
}
function fff() {
thisAd.play();
}
_yscale = 50;
_xscale = 50;
var time0 = getTimer();
var battleTime = 10000;
battleTime = battleTime + time0;
var mode = 0;
var attackMode = 1;
var follow = (2 + (Math.random() * 4));
var i = Math.round(Math.random() * 10);
extraX = (Math.random() * 50) + 50;
if ((Math.random() * 2) >= 1) {
extraX = extraX * -1;
}
extraY = (Math.random() * 50) + 40;
if ((Math.random() * 2) >= 1) {
extraY = extraY * -1;
}
thisAd = this;
targetName = _root.enemyList[Math.floor(Math.random() * _root.enemyList.length)];
shotMode = 2;
this.movePoint();
inter_move = setInterval(movePoint, 2000);
inter_shot = setInterval(fff, 1500);
this.onEnterFrame = function () {
if ((getTimer() > battleTime) && (follow > 2)) {
targetName = null;
this.movePoint();
clearInterval(inter_move);
clearInterval(inter_shot);
extraX = (extraY = 0);
follow = 1.5;
this.gotoAndPlay("end");
}
if (shotMode == 1) {
} else if (shotMode == 2) {
_rotation = (Math.atan2(_root.MC_enemy[targetName]._y - _y, _root.MC_enemy[targetName]._x - _x) / (Math.PI/180));
}
if (Key.isDown(16)) {
if (bCnt < 1) {
bCnt = 1;
this.ChangeMode();
}
} else {
bCnt = 0;
}
if (Key.isDown(_global.keyCas[1])) {
mode = 1;
} else {
mode = 0;
}
this._x = this._x + ((((taAd._x + extraX) - _x) / follow) - _root.MC_mainchar.mainchar.nowSpeedx);
this._y = this._y + ((((taAd._y + extraY) - _y) / follow) - _root.MC_mainchar.mainchar.nowSpeedy);
};
Symbol 88 MovieClip [para_typeLeaser] Frame 7
this.stop();
Instance of Symbol 80 MovieClip in Symbol 88 MovieClip [para_typeLeaser] Frame 8
onClipEvent (load) {
_root.attack(this, _parent._rotation, 20);
}
Symbol 88 MovieClip [para_typeLeaser] Frame 12
this.gotoAndStop(7);
Symbol 88 MovieClip [para_typeLeaser] Frame 22
this.removeMovieClip();
this.stop();
Instance of Symbol 37 MovieClip in Symbol 93 MovieClip [shot_g_mg] Frame 1
//component parameters
onClipEvent (construct) {
dmgType = 0;
efType = 0;
}
onClipEvent (load) {
_root.attack(this, _global.mainchar._rotation, 0);
}
Instance of Symbol 91 MovieClip in Symbol 93 MovieClip [shot_g_mg] Frame 1
onClipEvent (load) {
_rotation = (Math.random() * 360);
}
Symbol 93 MovieClip [shot_g_mg] Frame 2
_parent.gotoAndPlay("end");
this.removeMovieClip();
Instance of Symbol 37 MovieClip in Symbol 101 MovieClip [shot_p_fire] Frame 1
//component parameters
onClipEvent (construct) {
dmgType = 0;
efType = 0;
}
onClipEvent (load) {
_root.attack(this, _global.mainchar._rotation, 900);
}
Instance of Symbol 87 MovieClip in Symbol 101 MovieClip [shot_p_fire] Frame 1
onClipEvent (load) {
_rotation = (Math.random() * 360);
}
Instance of Symbol 100 MovieClip in Symbol 101 MovieClip [shot_p_fire] Frame 2
onClipEvent (load) {
_rotation = (Math.random() * 360);
}
Instance of Symbol 37 MovieClip in Symbol 101 MovieClip [shot_p_fire] Frame 3
//component parameters
onClipEvent (construct) {
dmgType = 0;
efType = 0;
}
onClipEvent (load) {
_root.attack(this, _global.mainchar._rotation, 900);
}
Symbol 101 MovieClip [shot_p_fire] Frame 12
_parent.gotoAndPlay("end");
_root.removeMovieClip();
Symbol 108 MovieClip Frame 1
_yscale = (100 * (2.5 - moveXext));
_xscale = (100 * (2.5 - moveXext));
this.onEnterFrame = function () {
this._x = this._x - (moveX + (_root.MC_mainchar.mainchar.nowSpeedx / moveXext));
this._y = this._y - (moveY + (_root.MC_mainchar.mainchar.nowSpeedy / moveYext));
if (this._x < (-400 / _root.screenMag)) {
this._x = 300 / _root.screenMag;
} else if (this._x > (400 / _root.screenMag)) {
this._x = -300 / _root.screenMag;
}
if (this._y > (400 / _root.screenMag)) {
this._y = -300 / _root.screenMag;
}
if (this._y < (-400 / _root.screenMag)) {
this._y = 300 / _root.screenMag;
}
};
Instance of Symbol 108 MovieClip in Symbol 109 MovieClip [MC_back_in_line] Frame 1
onClipEvent (load) {
moveX = 0.008;
moveY = 0;
moveXext = 0.4;
moveYext = 0.4;
}
Instance of Symbol 108 MovieClip in Symbol 109 MovieClip [MC_back_in_line] Frame 1
onClipEvent (load) {
moveX = 0.001;
moveY = 0;
moveXext = 0.3;
moveYext = 0.3;
}
Instance of Symbol 108 MovieClip in Symbol 109 MovieClip [MC_back_in_line] Frame 1
onClipEvent (load) {
moveX = 0.7;
moveY = 0.05;
moveXext = 0.7;
moveYext = 0.7;
}
Instance of Symbol 108 MovieClip in Symbol 109 MovieClip [MC_back_in_line] Frame 1
onClipEvent (load) {
moveX = 0.3;
moveY = 0;
moveXext = 0.9;
moveYext = 0.9;
}
Instance of Symbol 108 MovieClip in Symbol 109 MovieClip [MC_back_in_line] Frame 1
onClipEvent (load) {
moveX = 2.6;
moveY = 0.1;
moveXext = 1.1;
moveYext = 1.1;
}
Instance of Symbol 108 MovieClip in Symbol 109 MovieClip [MC_back_in_line] Frame 1
onClipEvent (load) {
moveX = 0.7;
moveY = 0.05;
moveXext = 0.4;
moveYext = 0.4;
}
Symbol 119 MovieClip [enemy_float1_inBreak2] Frame 2
Enemy = new BreakBodyLib(this, nowSpeedx, nowSpeedy);
Symbol 119 MovieClip [enemy_float1_inBreak2] Frame 3
_rotation = (_rotation + (Math.random() * 20));
this.onEnterFrame = function () {
Enemy.nowSpeedy++;
Enemy.exeMoveTrace();
};
Symbol 119 MovieClip [enemy_float1_inBreak2] Frame 4
this.gotoAndPlay(_currentframe + Math.floor(Math.random() * 6));
Symbol 119 MovieClip [enemy_float1_inBreak2] Frame 31
this.stop();
this.Enemy.remove();
Symbol 121 MovieClip [enemy_float1_inBreak1] Frame 2
Enemy = new BreakBodyLib(this, nowSpeedx, nowSpeedy);
Symbol 121 MovieClip [enemy_float1_inBreak1] Frame 3
_rotation = (_rotation + (Math.random() * 20));
this.onEnterFrame = function () {
Enemy.nowSpeedy++;
Enemy.exeMoveTrace();
};
Symbol 121 MovieClip [enemy_float1_inBreak1] Frame 4
this.gotoAndPlay(_currentframe + Math.floor(Math.random() * 10));
Symbol 121 MovieClip [enemy_float1_inBreak1] Frame 35
this.stop();
this.Enemy.remove();
Symbol 128 MovieClip [enemy_float_extra1] Frame 1
Enemy = new SsEnemyLib(this);
Enemy.autoPropertySet();
Enemy.setStatus(3000, 30);
this.onEnterFrame = function () {
Enemy.exeTraceRotation();
Enemy.exeMoveTrace();
};
this.gotoAndPlay(Math.floor((Math.random() * 40) + 1));
Symbol 128 MovieClip [enemy_float_extra1] Frame 26
Enemy.attack("attack_beam1");
Symbol 128 MovieClip [enemy_float_extra1] Frame 28
Enemy.attack("attack_beam1");
Symbol 128 MovieClip [enemy_float_extra1] Frame 30
Enemy.attack("attack_beam1");
Symbol 128 MovieClip [enemy_float_extra1] Frame 32
Enemy.attack("attack_beam1");
Symbol 128 MovieClip [enemy_float_extra1] Frame 51
this.gotoAndPlay(3);
Symbol 128 MovieClip [enemy_float_extra1] Frame 60
_rotation = (Math.random() * 360);
this.onEnterFrame = function () {
Enemy.nowSpeedy++;
Enemy.exeMoveTrace();
};
Symbol 128 MovieClip [enemy_float_extra1] Frame 61
this.gotoAndPlay(_currentframe + Math.floor(Math.random() * 6));
Symbol 128 MovieClip [enemy_float_extra1] Frame 90
this.stop();
this.Enemy.remove();
Symbol 129 MovieClip [enemy_float1] Frame 1
Enemy = new SsEnemyLib(this);
Enemy.autoPropertySet();
this.onEnterFrame = function () {
Enemy.exeMoveTrace();
};
this.gotoAndPlay(Math.floor((Math.random() * 40) + 1));
Symbol 129 MovieClip [enemy_float1] Frame 26
Enemy.attack("attack_beam1");
Symbol 129 MovieClip [enemy_float1] Frame 51
this.gotoAndPlay(3);
Symbol 129 MovieClip [enemy_float1] Frame 60
_rotation = (Math.random() * 360);
this.onEnterFrame = function () {
Enemy.nowSpeedy++;
Enemy.exeMoveTrace();
};
Symbol 129 MovieClip [enemy_float1] Frame 61
this.gotoAndPlay(_currentframe + Math.floor(Math.random() * 6));
Symbol 129 MovieClip [enemy_float1] Frame 90
this.stop();
this.Enemy.remove();
Symbol 132 MovieClip [shot] Frame 1
this.onEnterFrame = function () {
this.s._x = this.s._x + 50;
};
Symbol 132 MovieClip [shot] Frame 45
this.removeMovieClip();
Symbol 136 MovieClip [ef_line] Frame 1
Symbol 136 MovieClip [ef_line] Frame 19
this.removeMovieClip();
Symbol 143 MovieClip [hitEffect_bradeX] Frame 1
_rotation = (Math.random() * 360);
Symbol 143 MovieClip [hitEffect_bradeX] Frame 5
this.removeMovieClip();
Symbol 144 MovieClip [hitEffect_brade1] Frame 1
_rotation = (Math.random() * 360);
se = new Sound();
se.attachSound("brade0" + Math.ceil(Math.random() * 3));
se.start(0, 1);
Symbol 144 MovieClip [hitEffect_brade1] Frame 5
this.removeMovieClip();
Symbol 146 MovieClip [hitEffect_bluePa_se] Frame 1
see = new Sound();
var n = ("hm" + Math.round(Math.random() * 6));
see.attachSound(n);
see.start(0, 1);
Symbol 146 MovieClip [hitEffect_bluePa_se] Frame 8
this.removeMovieClip();
Symbol 147 MovieClip [hitEffect_bluePa] Frame 8
this.removeMovieClip();
Symbol 149 MovieClip [hitEffect_bomb2] Frame 13
this.removeMovieClip();
Symbol 150 MovieClip [hitEffect_bomb] Frame 1
see = new Sound();
var n = ("hm" + Math.round(Math.random() * 6));
see.attachSound(n);
see.start(0, 1);
Symbol 150 MovieClip [hitEffect_bomb] Frame 6
this.removeMovieClip();
Symbol 154 MovieClip [hitEffect_shotRed] Frame 5
this.removeMovieClip();
Symbol 158 MovieClip [hitEffect_white] Frame 1
see = new Sound();
var n = ("hm" + Math.round(Math.random() * 6));
see.attachSound(n);
see.start(0, 1);
Symbol 158 MovieClip [hitEffect_white] Frame 8
this.removeMovieClip();
Instance of Symbol 37 MovieClip in Symbol 163 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
dmgType = 0;
efType = 0;
}
Symbol 166 MovieClip [wepon_float_bigGun] Frame 1
if (_name == "mainfloat0") {
WF = new WeponFloatLib(this, -105, 15, 2.5);
} else {
WF = new WeponFloatLib(this, -95, -15, 2.5);
}
this.onEnterFrame = function () {
WF.traceMouse();
WF.movement();
};
Instance of Symbol 163 MovieClip in Symbol 166 MovieClip [wepon_float_bigGun] Frame 2
onClipEvent (load) {
_root.attack(this, _global.mainchar._rotation, 99);
}
Symbol 172 MovieClip [wepon_float_wideLeaser] Frame 1
function fire() {
i = 0;
while (i < 8) {
var _local2 = _root.MC_mainchar.EffectDeep.getDeep();
shotName = "shot1EF" + _local2;
_root.MC_mainchar.attachMovie("ext_lineLeaser", shotName, _local2);
_root.MC_mainchar[shotName]._x = _x;
_root.MC_mainchar[shotName]._y = _y;
i++;
}
}
if (_name == "mainfloat0") {
WF = new WeponFloatLib(this, -55, 15, 2.5);
} else {
WF = new WeponFloatLib(this, -30, -15, 2.5);
}
this.onEnterFrame = function () {
WF.traceMouse();
WF.movement();
};
Symbol 172 MovieClip [wepon_float_wideLeaser] Frame 10
this.fire();
Symbol 185 MovieClip [wepon_amo_locket2] Frame 2
function move() {
_x = (_x + sx);
_y = (_y + sy);
timer++;
if (timer > cnt) {
this.removeMovieClip();
}
}
cnt = 30;
timer = 0;
accelSpeed = 100;
var tk = ((_rotation * Math.PI) / 180);
sx = accelSpeed * Math.cos(tk);
sy = accelSpeed * Math.sin(tk);
delete tk;
this.onEnterFrame = function () {
this.move();
};
this.stop();
Instance of Symbol 163 MovieClip in Symbol 185 MovieClip [wepon_amo_locket2] Frame 2
onClipEvent (enterFrame) {
if (_root.attack(this, _global.mainchar._rotation, 100) == true) {
_parent.play();
_parent.onEnterFrame = null;
}
}
Instance of Symbol 37 MovieClip in Symbol 185 MovieClip [wepon_amo_locket2] Frame 3
//component parameters
onClipEvent (construct) {
dmgType = 0;
efType = 0;
}
onClipEvent (load) {
_root.attack(_parent, _global.mainchar._rotation, 101);
}
Instance of Symbol 37 MovieClip in Symbol 185 MovieClip [wepon_amo_locket2] Frame 6
//component parameters
onClipEvent (construct) {
dmgType = 0;
efType = 0;
}
onClipEvent (load) {
_root.attack(_parent, _global.mainchar._rotation, 102);
}
Symbol 185 MovieClip [wepon_amo_locket2] Frame 15
this.removeMovieClip();
Symbol 186 MovieClip [wepon_amo_locket] Frame 2
function move() {
_x = (_x + sx);
_y = (_y + sy);
timer++;
if (timer > cnt) {
this.removeMovieClip();
}
}
cnt = 30;
timer = 0;
accelSpeed = 100;
var tk = ((_rotation * Math.PI) / 180);
sx = accelSpeed * Math.cos(tk);
sy = accelSpeed * Math.sin(tk);
delete tk;
this.onEnterFrame = function () {
this.move();
};
this.stop();
Instance of Symbol 163 MovieClip in Symbol 186 MovieClip [wepon_amo_locket] Frame 2
onClipEvent (enterFrame) {
if (_root.attack(this, _global.mainchar._rotation, 100) == true) {
_parent.play();
_parent.onEnterFrame = null;
}
}
Instance of Symbol 37 MovieClip in Symbol 186 MovieClip [wepon_amo_locket] Frame 3
//component parameters
onClipEvent (construct) {
dmgType = 0;
efType = 0;
}
onClipEvent (load) {
_root.attack(_parent, _global.mainchar._rotation, 101);
}
Instance of Symbol 37 MovieClip in Symbol 186 MovieClip [wepon_amo_locket] Frame 6
//component parameters
onClipEvent (construct) {
dmgType = 0;
efType = 0;
}
onClipEvent (load) {
_root.attack(_parent, _global.mainchar._rotation, 102);
}
Symbol 186 MovieClip [wepon_amo_locket] Frame 15
this.removeMovieClip();
Symbol 200 MovieClip [wepon_float_locket1] Frame 1
function fire(n, r, speed) {
var _local4 = _root.MC_mainchar.Deep.getDeep();
var _local3 = "amo" + _local4;
_root.MC_mainchar.attachMovie(n, _local3, _local4);
_root.MC_mainchar[_local3]._x = this._x;
_root.MC_mainchar[_local3]._y = this._y;
_root.MC_mainchar[_local3]._rotation = this._rotation;
}
WF = new WeponFloatLib(this, -55, 15, 2.5);
this.onEnterFrame = function () {
WF.traceMouse();
WF.movement();
};
Symbol 200 MovieClip [wepon_float_locket1] Frame 2
this.fire("wepon_amo_locket", r, speed);
Symbol 206 MovieClip Frame 1
this.stop();
Symbol 206 MovieClip Frame 11
_parent.removeMovieClip();
Symbol 207 MovieClip [navi_marker] Frame 1
function remove() {
this.mark.play();
}
x1 = _root.MC_mainchar._x;
x2 = _root.MC_mainchar._y;
this.onEnterFrame = function () {
var _local3 = Math.abs(_root.MC_enemy[_name]._y) + Math.abs(_root.MC_enemy[_name]._x);
if (_local3 > 500) {
_visible = true;
this.mark._x = (_local3 / 6) + 50;
_rotation = (((Math.atan2(-_root.MC_enemy[_name]._y, -_root.MC_enemy[_name]._x) * 180) / Math.PI) + 180);
} else {
_visible = false;
}
};
Symbol 211 MovieClip Frame 1
_rotation = (Math.random() * 360);
Symbol 216 MovieClip [attack_beam1] Frame 2
function hit() {
this.removeMovieClip();
}
this.onEnterFrame = function () {
this.amo._x = this.amo._x + speed;
if (_root.hitCheck(this)) {
_root.hit(_rotation, 40, 10, 0, 0, "shotRed");
this.hit();
}
};
Symbol 216 MovieClip [attack_beam1] Frame 30
this.removeMovieClip();
Symbol 253 MovieClip Frame 2
i = 0;
wait = 1;
this.onEnterFrame = function () {
i++;
if (i > wait) {
i = 0;
this.gotoAndStop(_currentframe + 1);
}
};
this.stop();
Symbol 253 MovieClip Frame 19
this.onEnterFrame = null;
this.removeMovieClip();
this.stop();
Symbol 254 MovieClip [effect_大爆発01] Frame 1
this.onEnterFrame = function () {
this._x = this._x - _root.MC_mainchar.mainchar.nowSpeedx;
this._y = this._y - _root.MC_mainchar.mainchar.nowSpeedy;
};
Symbol 256 MovieClip [window_breakDown] Frame 45
_root.gotoAndPlay("briefingEnd");
this.removeMovieClip();
Symbol 301 MovieClip Frame 1
function braidChange(tempMode) {
if (tempMode) {
this.gotoAndPlay("open");
} else {
this.gotoAndPlay("close");
}
}
if (_root.MC_mainchar.mainchar.attackMode == "inFight") {
this.gotoAndStop("oa");
} else {
this.stop();
}
Symbol 301 MovieClip Frame 11
Symbol 301 MovieClip Frame 15
this.stop();
Symbol 301 MovieClip Frame 16
Symbol 301 MovieClip Frame 19
this.gotoAndStop("non");
Symbol 310 MovieClip Frame 8
this.stop();
Symbol 314 MovieClip Frame 1
this._visible = false;
Symbol 315 MovieClip Frame 1
_parent.style = "p_standing";
Symbol 316 MovieClip Frame 4
this.attachMovie(_root.mainShot, "m", 1);
this.m._x = 240;
this.m._y = 0;
this.m._xscale = (this.m._yscale = 300);
Symbol 316 MovieClip Frame 20
if (Key.isDown(_parent.key.mainAttack)) {
this.gotoAndPlay("shot");
} else {
_parent.endAction();
}
Symbol 318 MovieClip Frame 1
i = 1;
while (i < _global.SetMaxEnemyNo) {
if (this.hitTest(_root[i])) {
_root[i].hit(1, 1);
}
i++;
}
i = 21;
while (i < (21 + _global.setMaxMisNo)) {
if (this.hitTest(_root[i])) {
_root[i].hit(1, 1);
}
i++;
}
this._visible = false;
Symbol 357 MovieClip Frame 3
_parent.ChangeAttackDmg(3);
Instance of Symbol 318 MovieClip "hitArea_b1" in Symbol 357 MovieClip Frame 4
onClipEvent (load) {
_root.attack(this, _global.mainchar._rotation, 10);
}
Symbol 357 MovieClip Frame 7
if (Key.isDown(_parent.key.mainAttack)) {
this.gotoAndPlay("braid2");
}
Symbol 357 MovieClip Frame 12
_parent.endAction();
Symbol 357 MovieClip Frame 24
_parent.ChangeAttackDmg(4);
Instance of Symbol 318 MovieClip "hitArea_b1" in Symbol 357 MovieClip Frame 26
onClipEvent (load) {
_root.attack(this, _global.mainchar._rotation, 11);
}
Symbol 357 MovieClip Frame 31
if (Key.isDown(_parent.key.mainAttack)) {
this.gotoAndPlay("braid3");
}
Symbol 357 MovieClip Frame 36
_parent.endAction();
Symbol 357 MovieClip Frame 53
_parent.ChangeAttackDmg(5);
Instance of Symbol 318 MovieClip "hitArea_b1" in Symbol 357 MovieClip Frame 54
onClipEvent (load) {
_root.attack(this, _global.mainchar._rotation, 12);
}
Instance of Symbol 318 MovieClip "hitArea_b1" in Symbol 357 MovieClip Frame 58
onClipEvent (load) {
_root.attack(this, _global.mainchar._rotation, 13);
}
Symbol 357 MovieClip Frame 65
_parent.endAction();
Symbol 366 MovieClip [openWeponEF1] Frame 6
this.removeMovieClip();
this.stop();
Symbol 367 MovieClip Frame 1
function setWeponSystem1() {
Game.attach(0, 0, 100, 100, 0, _root.MC_mainchar, _root.paraName, null, null);
}
Symbol 367 MovieClip Frame 7
this.setWeponSystem1();
Symbol 367 MovieClip Frame 9
this.setWeponSystem1();
Symbol 367 MovieClip Frame 11
this.setWeponSystem1();
Symbol 367 MovieClip Frame 22
_parent.endAction();
Symbol 369 MovieClip Frame 1
this.onEnterFrame = function () {
this._rotation = this._rotation + _parent.ro;
};
Symbol 372 MovieClip Frame 1
this._visible = false;
Symbol 374 MovieClip Frame 1
this.onEnterFrame = function () {
if (!Key.isDown(_parent.key.guard)) {
_parent.endAction();
}
};
Instance of Symbol 370 MovieClip in Symbol 374 MovieClip Frame 1
onClipEvent (load) {
ro = 5;
}
Instance of Symbol 370 MovieClip in Symbol 374 MovieClip Frame 1
onClipEvent (load) {
ro = -5;
}
Symbol 374 MovieClip Frame 8
this.stop();
Symbol 377 MovieClip Frame 1
_parent.ChangeAttackDmg(1);
Symbol 377 MovieClip Frame 25
Game.attach(0, 0, 100, 100, _parent._rotation, _root.MC_mainchar, "shot", null, null);
Symbol 377 MovieClip Frame 32
_parent.endAction();
Instance of Symbol 37 MovieClip in Symbol 381 MovieClip Frame 3
//component parameters
onClipEvent (construct) {
dmgType = 0;
efType = 0;
}
onClipEvent (load) {
_root.attack(this, _global.mainchar._rotation, 35);
}
Symbol 381 MovieClip Frame 5
_parent.endAction();
Symbol 385 MovieClip Frame 1
this.onEnterFrame = function () {
_rotation = (Math.random() * 360);
};
Symbol 389 MovieClip Frame 1
_visible = false;
Instance of Symbol 389 MovieClip in Symbol 394 MovieClip Frame 32
onClipEvent (load) {
_root.attack(_parent, _global.mainchar._rotation, 33);
}
Instance of Symbol 389 MovieClip in Symbol 394 MovieClip Frame 33
onClipEvent (load) {
_root.attack(_parent, _global.mainchar._rotation, 33);
}
Symbol 394 MovieClip Frame 57
_parent.endAction();
Instance of Symbol 318 MovieClip "hitArea_b1" in Symbol 400 MovieClip Frame 2
onClipEvent (load) {
_root.attack(this, _global.mainchar._rotation, 15);
}
Instance of Symbol 318 MovieClip "hitArea_b1" in Symbol 400 MovieClip Frame 4
onClipEvent (load) {
_root.attack(this, _global.mainchar._rotation, 16);
}
Symbol 400 MovieClip Frame 13
_parent.endAction();
Symbol 401 MovieClip Frame 1
_parent.setSpeed(undefined, 0);
_parent._rotation = 0;
this.onEnterFrame = function () {
_parent.addSpeed(0, 1);
_rotation = (_rotation - 0.5);
};
Symbol 401 MovieClip Frame 10
_root.setEffect(_root.MC_mainchar, "effect_\u5927\u7206\u767A01", 0, _parent._x, _parent._y, 170, 170);
Symbol 401 MovieClip Frame 25
_root.attachWindow("window_breakDown");
_root.setEffect(_root.MC_mainchar, "effect_\u5927\u7206\u767A01", 0, _parent._x, _parent._y, 130, 130);
Symbol 401 MovieClip Frame 40
_root.setEffect(_root.MC_mainchar, "effect_\u5927\u7206\u767A01", 0, _parent._x, _parent._y, 100, 100);
Symbol 401 MovieClip Frame 55
_root.setEffect(_root.MC_mainchar, "effect_\u5927\u7206\u767A01", 0, _parent._x, _parent._y, 70, 70);
Symbol 401 MovieClip Frame 59
this.stop();
Symbol 405 MovieClip Frame 5
Symbol 405 MovieClip Frame 7
_parent.style = "s";
Symbol 405 MovieClip Frame 15
_parent.gotoAndStop("sky_normal");
Symbol 406 MovieClip Frame 4
Symbol 406 MovieClip Frame 6
_parent.style = "p_normal";
Symbol 406 MovieClip Frame 14
_parent.gotoAndStop("paci_normal");
Symbol 408 MovieClip Frame 1
_parent.style = "p_normal";
Symbol 408 MovieClip Frame 5
_parent.gotoAndStop("paci_normal");
Instance of Symbol 37 MovieClip in Symbol 412 MovieClip [shot_p_mg] Frame 1
//component parameters
onClipEvent (construct) {
dmgType = 0;
efType = 0;
}
onClipEvent (load) {
_root.attack(this, _global.mainchar._rotation, 1);
}
Instance of Symbol 87 MovieClip in Symbol 412 MovieClip [shot_p_mg] Frame 1
onClipEvent (load) {
_rotation = (Math.random() * 360);
}
Symbol 412 MovieClip [shot_p_mg] Frame 2
_parent.gotoAndPlay("end");
_root.removeMovieClip();
Symbol 413 MovieClip Frame 1
_parent.ChangeAttackDmg(1);
Symbol 413 MovieClip Frame 5
this.gotoAndPlay(_currentframe - 2);
Symbol 415 MovieClip Frame 1
_root.textDisplay.mesRecord("\u30AA\u30FC\u30D0\u30FC\u30AC\u30F3\u30E2\u30FC\u30C9\u3078\u79FB\u884C");
Symbol 415 MovieClip Frame 14
_parent.style = "overGun";
Symbol 415 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 415 MovieClip Frame 17
_parent.gotoAndStop("overGun");
Symbol 416 MovieClip Frame 1
function overShotEnd() {
this.gotoAndPlay(1);
}
EFsize = 100;
if (Key.isDown(_global.keyCas[1])) {
this.gotoAndPlay("charge");
}
Symbol 416 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 2);
Symbol 416 MovieClip Frame 7
this.attachMovie("sarcleEF", "sarcleEF", 600);
this.sarcleEF._x = 266;
this.sarcleEF._y = 5;
Symbol 416 MovieClip Frame 8
if (Key.isDown(_global.keyCas[1])) {
EFsize = EFsize + 5;
this.sarcleEF._xscale = (this.sarcleEF._yscale = EFsize);
} else {
this.gotoAndStop("shot");
}
Symbol 416 MovieClip Frame 9
this.gotoAndPlay(_currentframe - 1);
Symbol 416 MovieClip Frame 15
_parent.ChangeAttackDmg(2);
name = "shotArea";
this.attachMovie("overShotEF", name, 600);
this[name]._x = 260;
this[name]._y = 6;
this[name]._xscale = EFsize * 2;
this[name]._yscale = EFsize * 2;
this[name].cnt = EFsize;
Symbol 417 MovieClip [char1] Frame 2
function traceMouse() {
_rotation = (Math.atan2(_root._ymouse - _parent._y, _root._xmouse - _parent._x) / (Math.PI/180));
if ((_rotation > -90) && (_rotation < 90)) {
direction = -1;
_yscale = scale;
} else {
direction = 1;
_yscale = (-scale);
}
}
function setSpeed(x, y) {
if (x != undefined) {
nowSpeedx = x;
}
if (y != undefined) {
nowSpeedy = y;
}
}
function addSpeed(x, y) {
nowSpeedx = nowSpeedx + x;
nowSpeedy = nowSpeedy + y;
}
function speedUp() {
if (!boostMode) {
var _local2 = (_rotation * Math.PI) / 180;
var _local4 = accelSpeed * Math.cos(_local2);
var _local3 = accelSpeed * Math.sin(_local2);
temps = Math.abs(nowSpeedx) + Math.abs(nowSpeedy);
this.addSpeed(_local4, _local3);
}
}
function breakDown() {
if (active) {
active = false;
this.gotoAndStop("breakDown");
_root.setEffect(_root.MC_mainchar, "effect_\u5927\u7206\u767A01", 0, _x, _y, 200, 200);
this.onMouseDown = null;
this.onMouseUp = null;
}
}
function dush() {
nowAc = "boost";
var _local2 = (_rotation * Math.PI) / 180;
var _local4 = dushAccelSpeed * Math.cos(_local2);
var _local3 = dushAccelSpeed * Math.sin(_local2);
temps = Math.abs(nowSpeedx) + Math.abs(nowSpeedy);
this.addSpeed(_local4, _local3);
this.gotoAndStop("boost");
}
function accelCon(m) {
accelMode = m;
}
function natSpeedDown() {
if (nowSpeed < maxSpeed) {
speedRes = 1.02;
nowSpeedx = nowSpeedx / speedRes;
nowSpeedy = nowSpeedy / speedRes;
nowSpeed = Math.abs(nowSpeedx) + Math.abs(nowSpeedy);
} else {
speedRes = 1.3;
nowSpeedx = nowSpeedx / speedRes;
nowSpeedy = nowSpeedy / speedRes;
nowSpeed = Math.abs(nowSpeedx) + Math.abs(nowSpeedy);
}
}
function changeMotion() {
if (nowAc == "non") {
if (nowSpeed < 10) {
this.gotoAndStop("p_stand");
} else {
this.gotoAndStop("p_flight");
}
}
}
function acExt1() {
_root.MC_mainchar.mainfloat0.WF.fire();
_root.MC_mainchar.mainfloat1.WF.fire();
}
function acExt2() {
nowAc = "ext";
this.gotoAndStop("p_ext");
}
function acExt3() {
nowAc = "ext";
this.gotoAndStop("splash");
}
function dushBraid() {
nowAc = "ext";
this.gotoAndStop("dushBraid");
}
function acInfight() {
nowAc = "infight";
this.gotoAndStop("p_infight");
}
function acShot() {
nowAc = "shot";
this.gotoAndStop("p_shot");
}
function acShot2() {
nowAc = "shot2";
this.gotoAndStop("p_shot2");
}
function acGuard() {
nowAc = "guard";
this.gotoAndStop("p_guard");
}
function endAction() {
var _local2 = nowAc;
nowAc = "non";
if (_local2 == "boost") {
this.gotoAndStop("p_flight");
this.char.gotoAndStop(8);
} else {
this.changeMotion();
}
}
function changeAttack() {
if (attackMode == "inFight") {
attackMode = "shot";
this.char.handF.braid.braidChange(false);
_root.screenMagCon(_root.sMag_shot, null);
} else {
attackMode = "inFight";
this.char.handF.braid.braidChange(true);
_root.screenMagCon(_root.sMag_inFinght, null);
}
}
function getKeyMain() {
if (Key.isDown(key.mainAttack)) {
if (nowAc != "ext") {
if (attackMode == "inFight") {
if (nowAc == "boost") {
this.dushBraid();
} else {
this.acInfight();
}
} else {
this.acShot();
}
}
}
if (Key.isDown(key.changeMode)) {
if (getKeyMain.tk == 1) {
this.changeAttack();
getKeyMain.tk = 0;
}
} else {
getKeyMain.tk = 1;
}
if (Key.isDown(key.subAttack1)) {
this.acExt1();
}
if (Key.isDown(key.subAttack2)) {
this.acExt2();
}
if (Key.isDown(key.subAttack3)) {
this.acExt3();
}
if (Key.isDown(key.guard)) {
this.acGuard();
}
}
function checkMouseDown() {
if (checkMouseDown.cnt < 0) {
checkMouseDown.cnt = checkMouseDown.dcWait;
} else {
this.dush();
}
}
var active = true;
var nowAc = "non";
var scale = _xscale;
key = new Object();
key.mainAttack = 32;
key.subAttack1 = 83;
key.subAttack2 = 68;
key.subAttack3 = 65;
key.changeMode = 16;
key.ext = 88;
var accelMode = false;
var accelSpeed = 7;
var maxSpeed = 120;
var dushAccelSpeed = 80;
var nowSpeed = 0;
var nowSpeedx = 0;
var nowSpeedy = 0;
speedRes = 1.05;
getKeyMain.tk = 1;
doubleClickWait = 5;
checkMouseDown.cnt = 0;
checkMouseDown.dcWait = doubleClickWait;
delete doubleClickWait;
this.onEnterFrame = function () {
if (active) {
this.traceLine();
this.traceMouse();
this.getKeyMain();
this.natSpeedDown();
this.changeMotion();
checkMouseDown.cnt--;
if (accelMode) {
this.speedUp();
}
}
};
this.onMouseUp = function () {
this.accelCon(false);
};
this.onMouseDown = function () {
this.accelCon(true);
this.checkMouseDown();
};
Symbol 417 MovieClip [char1] Frame 10
this.stop();
Symbol 417 MovieClip [char1] Frame 20
this.stop();
Symbol 417 MovieClip [char1] Frame 30
this.stop();
Symbol 417 MovieClip [char1] Frame 40
this.stop();
Symbol 417 MovieClip [char1] Frame 50
this.stop();
Symbol 417 MovieClip [char1] Frame 60
this.stop();
Symbol 417 MovieClip [char1] Frame 80
this.stop();
Symbol 417 MovieClip [char1] Frame 120
this.stop();
Symbol 417 MovieClip [char1] Frame 130
this.stop();
Symbol 417 MovieClip [char1] Frame 140
this.stop();
Symbol 417 MovieClip [char1] Frame 150
this.stop();
Symbol 417 MovieClip [char1] Frame 171
this.stop();
Symbol 417 MovieClip [char1] Frame 181
this.stop();
Symbol 417 MovieClip [char1] Frame 191
this.stop();
Symbol 417 MovieClip [char1] Frame 201
this.stop();
Symbol 420 MovieClip Frame 1
_visible = false;
Symbol 421 MovieClip [MC_mainchar] Frame 1
NaviDeep = new DeepControlLib(this, 1001, 1500);
EffectDeep = new DeepControlLib(this, 500, 1000);
Deep = new DeepControlLib(this, 100, 300);
_root.mainShot = "shot_g_mg";
_root.paraName = "para_typeMG";
ary_p = new Array();
ary_p = ["para_typerRocket", "para_typeLeaser", "para_typeMG"];
pno = 0;
flg2 = true;
ary_main = new Array();
ary_main = ["shot_p_mg", "shot_p_fire", "shot_g_mg"];
mno = 0;
flg3 = true;
ary = new Array();
ary = ["wepon_float_wideLeaser", "wepon_float_locket1", "wepon_float_bigGun"];
wno = 0;
flg = true;
this.onEnterFrame = function () {
if (Key.isDown(90)) {
if (flg) {
flg = false;
wno++;
if (wno > 2) {
wno = 0;
}
this.attachMovie(ary[wno], "mainfloat0", 10);
}
} else {
flg = true;
}
if (Key.isDown(88)) {
if (flg2) {
flg2 = false;
mno++;
if (mno > 2) {
mno = 0;
}
_root.mainShot = ary_main[mno];
}
} else {
flg2 = true;
}
if (Key.isDown(67)) {
if (flg3) {
flg3 = false;
pno++;
if (pno > 2) {
pno = 0;
}
_root.paraName = ary_p[pno];
}
} else {
flg3 = true;
}
};
this.attachMovie(ary[wno], "mainfloat0", 10);
Symbol 423 MovieClip Frame 1
_visible = false;
Symbol 424 MovieClip [MC_enemy] Frame 1
DeepMain = new DeepControlLib(this, 30, 99);
Deep = new DeepControlLib(this, 100, 300);
Symbol 430 MovieClip Frame 1
this.onEnterFrame = function () {
this._x = this._x - (moveX + (_root.MC_mainchar.mainchar.nowSpeedx * moveXext));
this._y = this._y - (moveY + (_root.MC_mainchar.mainchar.nowSpeedy * moveYext));
if (this._x < (-400 / _root.screenMag)) {
this._x = 300 / _root.screenMag;
} else if (this._x > (400 / _root.screenMag)) {
this._x = -300 / _root.screenMag;
}
if (this._y > (400 / _root.screenMag)) {
this._y = -300 / _root.screenMag;
}
if (this._y < (-400 / _root.screenMag)) {
this._y = 300 / _root.screenMag;
}
if (Key.isDown(87)) {
if (flg) {
flg = false;
aaa._visible = !aaa._visible;
}
} else {
flg = true;
}
};
aaa._visible = false;
flg = true;
Symbol 433 MovieClip Frame 1
this.onEnterFrame = function () {
this._x = this._x - (moveX + (_root.MC_mainchar.mainchar.nowSpeedx / moveXext));
this._y = this._y - (moveY + (_root.MC_mainchar.mainchar.nowSpeedy / moveYext));
if (this._x < (-400 / _root.screenMag)) {
this._x = 300 / _root.screenMag;
} else if (this._x > (400 / _root.screenMag)) {
this._x = -300 / _root.screenMag;
}
if (this._y > (400 / _root.screenMag)) {
this._y = -300 / _root.screenMag;
}
if (this._y < (-400 / _root.screenMag)) {
this._y = 300 / _root.screenMag;
}
if (Key.isDown(87)) {
if (flg) {
flg = false;
aaa._visible = !aaa._visible;
}
} else {
flg = true;
}
};
aaa._visible = false;
flg = true;
Instance of Symbol 430 MovieClip in Symbol 434 MovieClip [MC_back_in_clouds] Frame 1
onClipEvent (load) {
moveX = 0.008;
moveY = 0;
moveXext = 0.4;
moveYext = 0.4;
}
Instance of Symbol 433 MovieClip in Symbol 434 MovieClip [MC_back_in_clouds] Frame 1
onClipEvent (load) {
moveX = 0.001;
moveY = 0;
moveXext = 0.3;
moveYext = 0.3;
}
Instance of Symbol 430 MovieClip in Symbol 434 MovieClip [MC_back_in_clouds] Frame 1
onClipEvent (load) {
moveX = 0.7;
moveY = 0.05;
moveXext = 1;
moveYext = 1;
}
Instance of Symbol 430 MovieClip in Symbol 434 MovieClip [MC_back_in_clouds] Frame 1
onClipEvent (load) {
moveX = 0.3;
moveY = 0;
moveXext = 1;
moveYext = 1;
}
Instance of Symbol 433 MovieClip in Symbol 434 MovieClip [MC_back_in_clouds] Frame 1
onClipEvent (load) {
moveX = 2.6;
moveY = 0.1;
moveXext = 1;
moveYext = 1;
}
Symbol 458 MovieClip [-サウンドエンジン_環境音] Frame 2
function soundPlay(n, vol) {
this.soundStop();
if (vol != undefined) {
sound_obj.setVolume(vol);
} else {
sound_obj.setVolume(100);
}
this.gotoAndStop(n);
}
function soundStop() {
sound_obj.stop();
}
function soundSetVol(vol) {
if (vol != undefined) {
this.sound_obj.setVolume(vol);
} else {
this.sound_obj.setVolume(100);
}
sound_obj.stop();
}
function soundIsNow() {
return(nowSound);
}
nowSound = "";
sound_obj = new Sound(this);
this.stop();
Symbol 459 MovieClip [-サウンドエンジン_BGM] Frame 2
function soundPlay(n, vol) {
this.soundStop();
if (vol != undefined) {
sound_obj.setVolume(vol);
}
this.gotoAndStop(n);
}
function soundStop() {
sound_obj.stop();
}
function soundSetVol(vol) {
if (vol != undefined) {
this.sound_obj.setVolume(vol);
} else {
this.sound_obj.setVolume(100);
}
sound_obj.stop();
}
function soundIsNow() {
return(nowSound);
}
nowSound = "";
sound_obj = new Sound(this);
this.soundSetVol(140);
this.stop();
Symbol 481 MovieClip Frame 1
this.stop();
Symbol 485 MovieClip Frame 1
this.stop();
Symbol 486 MovieClip Frame 3
this.sv.play();
Symbol 486 MovieClip Frame 22
this.pc.play();
Symbol 495 Button
on (release) {
_root.gotoAndPlay("title");
}
Symbol 501 MovieClip Frame 1
function addNumDec(n) {
if (String(n).indexOf(".", 0) == -1) {
n = n + ".0";
}
return(n);
}
loadedSize = 0;
totalSize = _root.getBytesTotal();
this.onEnterFrame = function () {
loadedSize = _root.getBytesLoaded();
if (loadedSize >= totalSize) {
this.gotoAndStop("end");
this.onEnterFrame = null;
} else {
downloadParcent = Math.round((loadedSize / totalSize) * 1000) / 10;
downloadParcent = addNumDec(downloadParcent);
this.gageIn.gage.bar._xscale = downloadParcent;
}
};
this.stop();
Symbol 501 MovieClip Frame 20
_root.gotoAndStop("title");
Symbol 669 MovieClip [__Packages.SsEnemyLib] Frame 0
class SsEnemyLib
{
var myAd, myID, nowSpeedx, nowSpeedy, hp, def, see, active, extrax, extray, follow, taAd;
function SsEnemyLib (t) {
myAd = t;
myID = "enemy_float1";
nowSpeedx = 0;
nowSpeedy = 0;
hp = 300;
def = 3;
see = new Sound();
active = true;
_root.addList("enemyList", myAd._name);
}
function setStatus(thp, tdef) {
hp = thp;
def = tdef;
}
function autoPropertySet(hp, def) {
extrax = (Math.random() * 200) + 50;
if ((Math.random() * 2) >= 1) {
extrax = extrax * -1;
}
extray = (Math.random() * 150) + 50;
if ((Math.random() * 2) >= 1) {
extray = extray * -1;
}
follow = (Math.random() * 10) + 70;
taAd = _root.MC_mainchar.mainchar;
}
function attack(an) {
var _local5 = _root.MC_mainchar.mainchar;
var _local3 = _root.MC_ef.MC_ef_in;
var _local6 = _local3.Deep.getDeep();
var _local4 = "a" + _local6;
_local3.attachMovie(an, _local4, _local6);
_local3[_local4]._rotation = Math.atan2(_local5._y - myAd._y, _local5._x - myAd._x) / (Math.PI/180);
_local3[_local4]._x = myAd._x - _local3._x;
_local3[_local4]._y = myAd._y - _local3._y;
_local3[_local4].speed = 50;
}
function hit(r, dmg, power, powerType, attackType, aef) {
if (active) {
var _local4 = dmg - def;
if (_local4 > 0) {
hp = hp - (_local4 + 1);
} else {
hp = hp - 1;
}
r = r + 180;
_root.hitEffect(aef, r, myAd._x, myAd._y);
r = r + ((Math.random() * 20) - 10);
var _local7 = Math.cos((r * Math.PI) / 180) * power;
var _local6 = Math.sin((r * Math.PI) / 180) * power;
addSpeed(-_local7, -_local6);
if (hp < 0) {
breakDown(attackType);
}
}
}
function breakDown(attackType) {
follow = 999999 /* 0x0F423F */;
active = false;
_root.removeMarker(myAd._name);
_root.delList("enemyList", myAd._name);
if ((attackType == "in_p") || (attackType == "in_")) {
breakInfight();
} else {
myAd.gotoAndPlay("dead");
}
}
function breakInfight() {
breakBody(1);
breakBody(2);
remove();
}
function breakBody(no) {
var _local4 = _root.MC_enemy.DeepMain.getDeep();
var _local3 = "body" + _local4;
var _local6 = (myID + "_inBreak") + no;
_root.MC_enemy.attachMovie(_local6, _local3, _local4);
if (no == 1) {
_root.MC_enemy[_local3]._x = myAd._x;
_root.MC_enemy[_local3]._y = (myAd._y + (Math.random() * 5)) + 5;
_root.MC_enemy[_local3].nowSpeedx = nowSpeedx + ((Math.random() * nowSpeedx) / 2);
_root.MC_enemy[_local3].nowSpeedy = nowSpeedy + ((Math.random() * nowSpeedy) / 2);
} else if (no == 2) {
_root.MC_enemy[_local3]._x = myAd._x;
_root.MC_enemy[_local3]._x = (myAd._y - (Math.random() * 5)) - 5;
_root.MC_enemy[_local3].nowSpeedx = nowSpeedx + ((Math.random() * nowSpeedx) / 2);
_root.MC_enemy[_local3].nowSpeedy = nowSpeedy + ((Math.random() * nowSpeedy) / 2);
}
}
function remove() {
myAd.removeMovieClip();
}
function addSpeed(x, y) {
nowSpeedx = nowSpeedx + x;
nowSpeedy = nowSpeedy + y;
}
function setTraceTarget(tempTa) {
taAd = tempTa;
}
function setFollow(tempFo) {
follow = tempFo;
}
function exeMove() {
myAd._x = myAd._x - (_root.MC_mainchar.mainchar.nowSpeedx + nowSpeedx);
myAd._y = myAd._y - (_root.MC_mainchar.mainchar.nowSpeedy + nowSpeedy);
}
function exeTraceRotation() {
var _local3 = _root.MC_mainchar.mainchar;
myAd._rotation = Math.atan2(_local3._y - myAd._y, _local3._x - myAd._x) / (Math.PI/180);
}
function exeMoveTrace() {
nowSpeedx = nowSpeedx + (((taAd._x + extrax) - myAd._x) / follow);
nowSpeedy = nowSpeedy + (((taAd._y + extray) - myAd._y) / follow);
nowSpeedx = nowSpeedx * 0.9;
nowSpeedy = nowSpeedy * 0.9;
myAd._x = myAd._x + (nowSpeedx - _root.MC_mainchar.mainchar.nowSpeedx);
myAd._y = myAd._y + (nowSpeedy - _root.MC_mainchar.mainchar.nowSpeedy);
}
}
Symbol 670 MovieClip [__Packages.BreakBodyLib] Frame 0
class BreakBodyLib
{
var myAd, nowSpeedx, nowSpeedy, extrax, extray, follow, taAd, rrr;
function BreakBodyLib (t, nsx, nsy) {
myAd = t;
nowSpeedx = nsx / 5;
nowSpeedy = nsy / 2;
extrax = 0;
extray = 0;
follow = 9999999 /* 0x98967F */;
taAd = _root.MC_mainchar.mainchar;
rrr = (Math.random() * 40) - 20;
}
function remove() {
_root.removeMarker(myAd._name);
myAd.removeMovieClip();
}
function exeMove() {
myAd._x = myAd._x - (_root.MC_mainchar.mainchar.nowSpeedx + nowSpeedx);
myAd._y = myAd._y - (_root.MC_mainchar.mainchar.nowSpeedy + nowSpeedy);
}
function exeMoveTrace() {
myAd._rotation = myAd._rotation + rrr;
nowSpeedx = nowSpeedx + (((taAd._x + extrax) - myAd._x) / follow);
nowSpeedy = nowSpeedy + (((taAd._y + extray) - myAd._y) / follow);
nowSpeedx = nowSpeedx * 0.9;
nowSpeedy = nowSpeedy * 0.9;
myAd._x = myAd._x + (nowSpeedx - _root.MC_mainchar.mainchar.nowSpeedx);
myAd._y = myAd._y + (nowSpeedy - _root.MC_mainchar.mainchar.nowSpeedy);
}
}
Symbol 671 MovieClip [__Packages.WeponFloatLib] Frame 0
class WeponFloatLib
{
var _ta, basex, basey, follow, scale, direction;
function WeponFloatLib (vta, vbasex, vbasey, vfollow) {
_ta = vta;
basex = vbasex;
basey = vbasey;
follow = vfollow;
scale = _ta._xscale;
direction = "";
_ta.stop();
}
function traceMouse() {
_ta._rotation = Math.atan2(_root.MC_mainchar._ymouse - _ta._y, _root.MC_mainchar._xmouse - _ta._x) / (Math.PI/180);
if ((_ta._rotation > -90) && (_ta._rotation < 90)) {
direction = "left";
_ta._yscale = scale;
} else {
direction = "left";
_ta._yscale = -scale;
}
}
function movement() {
_ta._x = _ta._x + ((((_root.MC_mainchar.mainchar._x + ((-basex) * _root.MC_mainchar.mainchar.direction)) - _ta._x) / follow) - _root.MC_mainchar.mainchar.nowSpeedx);
_ta._y = _ta._y + ((((_root.MC_mainchar.mainchar._y + basey) - _ta._y) / follow) - _root.MC_mainchar.mainchar.nowSpeedy);
}
function fire() {
_ta.play();
}
}
Symbol 672 MovieClip [__Packages.DeepControlLib] Frame 0
class DeepControlLib
{
var minDeep, deep, maxDeep;
function DeepControlLib (n, d, md) {
minDeep = (deep = d);
maxDeep = md;
}
function getDeep() {
deep++;
if (deep > maxDeep) {
deep = minDeep;
}
return(deep);
}
}
Symbol 673 MovieClip [__Packages.GmathClass] Frame 0
class GmathClass
{
function GmathClass () {
}
function dowbleRotation(x1, y1, x2, y2) {
return((Math.atan2(y2 - y1, x2 - x1) * 180) / Math.PI);
}
function amongLoopNumber(varNo, max, min) {
if (varNo > max) {
varNo = min;
}
if (varNo < min) {
varNo = max;
}
return(varNo);
}
function amongNumber(varNo, max, min) {
if (varNo > max) {
varNo = max;
}
if (varNo < min) {
varNo = min;
}
return(varNo);
}
}
Symbol 674 MovieClip [__Packages.GameLib] Frame 0
class GameLib
{
function GameLib () {
}
function attach(x, y, xsc, ysc, r, ta, type, name, deep) {
var _local3 = ta.Deep.getDeep();
if (name == null) {
name = _local3;
}
if (deep != null) {
var _local4 = deep;
} else {
var _local4 = _local3;
}
ta.attachMovie(type, name, _local4);
ta[name]._x = x;
ta[name]._y = y;
ta[name]._xscale = xsc;
ta[name]._yscale = ysc;
ta[name]._rotation = r;
}
}
Symbol 518 MovieClip Frame 1
this.onEnterFrame = function () {
this._x = this._x - (moveX + (_root.MC_mainchar.mainchar.nowSpeedx / moveXext));
this._y = this._y - (moveY + (_root.MC_mainchar.mainchar.nowSpeedy / moveYext));
if (this._x < (-400 / _root.screenMag)) {
this._x = 300 / _root.screenMag;
} else if (this._x > (400 / _root.screenMag)) {
this._x = -300 / _root.screenMag;
}
if (this._y > (400 / _root.screenMag)) {
this._y = -300 / _root.screenMag;
}
if (this._y < (-400 / _root.screenMag)) {
this._y = 300 / _root.screenMag;
}
};
Symbol 519 MovieClip Frame 1
this.onEnterFrame = function () {
this._x = this._x - (moveX + (_root.MC_mainchar.mainchar.nowSpeedx * moveXext));
this._y = this._y - (moveY + (_root.MC_mainchar.mainchar.nowSpeedy * moveYext));
if (this._x < (-400 / _root.screenMag)) {
this._x = 300 / _root.screenMag;
} else if (this._x > (400 / _root.screenMag)) {
this._x = -300 / _root.screenMag;
}
if (this._y > (400 / _root.screenMag)) {
this._y = -300 / _root.screenMag;
}
if (this._y < (-400 / _root.screenMag)) {
this._y = 300 / _root.screenMag;
}
};
Symbol 520 MovieClip Frame 330
this.gotoAndPlay("s");
Symbol 533 Button
on (release) {
this.gotoAndPlay("nextScene");
}
on (rollOut, releaseOutside) {
this.out();
}
on (rollOver) {
this.roll();
}
Symbol 536 MovieClip Frame 94
_parent.reset();
Symbol 537 MovieClip Frame 1
function reset() {
_x = ((Math.random() * 650) - 50);
_y = ((Math.random() * 500) - 50);
}
function qMove() {
this.reset();
var _local2 = Math.round(Math.random() * 10);
this.inBar.gotoAndPlay(_local2);
}
if (Math.random() > 0.5) {
ex = 1;
} else {
ex = -1;
}
r = (Math.random() * 3) - 1.5;
s = (Math.random() * 200) + 200;
_xscale = (s * ex);
_yscale = s;
var f = Math.round(Math.random() * 10);
this.inBar.gotoAndPlay(f);
this.reset();
delete s;
delete ex;
this.stop();
this.firstSet();
this.onEnterFrame = function () {
_rotation = (_rotation + r);
};
Symbol 548 MovieClip Frame 1
function roll() {
i = 1;
while (i < 11) {
var _local2 = Math.round(Math.random() * 10);
this["b" + i].qMove();
i++;
}
}
function out() {
i = 1;
while (i < 11) {
var _local2 = 95 + Math.round(Math.random() * 10);
this["b" + i].inBar.gotoAndPlay(_local2);
i++;
}
}
Symbol 548 MovieClip Frame 10
this.stop();
Symbol 548 MovieClip Frame 11
v = 100;
this.onEnterFrame = function () {
v = v - 15;
};
_root.bgm.stop();
_root.bgm.setVolume(100);
Symbol 548 MovieClip Frame 17
this.onMouseDown = function () {
this.gotoAndPlay("end");
};
Symbol 548 MovieClip Frame 56
_root.gotoAndPlay("select");
Symbol 555 MovieClip Frame 1
this.stop();
Symbol 555 MovieClip Frame 8
this.stop();
Symbol 555 MovieClip Frame 17
this.stop();
Symbol 555 MovieClip Frame 26
this.stop();
Symbol 559 Button
on (release) {
getURL ("http://nextframe.jp", _blank);
}
on (rollOut, releaseOutside) {
this.gotoAndPlay(11);
_parent.out();
}
on (rollOver) {
_parent.roll();
this.gotoAndPlay(2);
_parent.selectStage("webSite");
}
Symbol 567 MovieClip Frame 1
this.stop();
Symbol 567 MovieClip Frame 10
this.stop();
Symbol 568 Button
on (release) {
_parent.nexts("credit");
}
on (rollOut, releaseOutside) {
this.gotoAndPlay(11);
_parent.out();
}
on (rollOver) {
_parent.roll();
this.gotoAndPlay(2);
_parent.selectStage("credit");
}
Symbol 574 MovieClip Frame 1
this.stop();
Symbol 574 MovieClip Frame 10
this.stop();
Symbol 575 Button
on (release) {
_parent.nexts("bombPoint");
}
on (rollOut, releaseOutside) {
this.gotoAndPlay(11);
_parent.out();
}
on (rollOver) {
_parent.roll();
this.gotoAndPlay(2);
_parent.selectStage("bombPoint");
}
Symbol 581 MovieClip Frame 1
this.stop();
Symbol 581 MovieClip Frame 10
this.stop();
Symbol 582 Button
on (release) {
_parent.nexts("skyBlue");
}
on (rollOut, releaseOutside) {
this.gotoAndPlay(11);
_parent.out();
}
on (rollOver) {
_parent.roll();
this.gotoAndPlay(2);
_parent.selectStage("skyBlue");
}
Symbol 588 MovieClip Frame 1
this.stop();
Symbol 588 MovieClip Frame 10
this.stop();
Symbol 589 Button
on (release) {
_parent.nexts("tutorial");
}
on (rollOut, releaseOutside) {
this.gotoAndPlay(11);
_parent.out();
}
on (rollOver) {
_parent.roll();
this.gotoAndPlay(2);
_parent.selectStage("tutorial");
}
Symbol 595 MovieClip Frame 1
this.stop();
Symbol 595 MovieClip Frame 10
this.stop();
Symbol 626 Button
on (release) {
_parent.play();
}
on (rollOut, releaseOutside) {
this.gotoAndPlay(11);
_parent.out();
}
on (rollOver) {
_parent.roll();
this.gotoAndPlay(2);
}
Symbol 630 MovieClip Frame 1
this.stop();
Symbol 630 MovieClip Frame 10
this.stop();
Symbol 631 MovieClip Frame 1
function roll() {
i = 1;
while (i < 6) {
var _local2 = Math.round(Math.random() * 10);
this["b" + i].qMove();
i++;
}
}
function out() {
this.mainBar.mes = "\u6226\u95D8\u7A7A\u57DF\u3092\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002";
i = 1;
while (i < 6) {
var _local2 = 95 + Math.round(Math.random() * 10);
this["b" + i].inBar.gotoAndPlay(_local2);
i++;
}
}
function nexts(nts) {
ns = nts;
if (nts == "credit") {
this.gotoAndPlay(nts);
} else {
this.gotoAndPlay("nextScene");
}
}
function selectStage(stage) {
this.mainBar.mes = mesObj[stage];
this.pd.bg.gotoAndPlay(stage);
}
mesObj = new Object();
mesObj.tutorial = "\u300C\u6D77\u4E0A\u7A7A\u57DF\u300D\u3000\u64CD\u4F5C\u6F14\u7FD2\u3092\u5B9F\u65BD\u3057\u307E\u3059\u3002(\u672A\u5B9F\u88C5)";
mesObj.skyBlue = "\u300C\u9AD8\u9AD8\u5EA6\u7A7A\u57DF\u300D";
mesObj.onCity = "\u300C\u5E02\u8857\u4E0A\u7A7A\u300D";
mesObj.credit = "\u5236\u4F5C\u8005\u30AF\u30EC\u30B8\u30C3\u30C8\u3092\u8868\u793A\u3057\u307E\u3059\u3002";
mesObj.webSite = "\u30A6\u30A7\u30D6\u30B5\u30A4\u30C8 nextframe(!)\u3078\u79FB\u52D5\u3057\u307E\u3059\u3002";
Instance of Symbol 556 MovieClip "pd" in Symbol 631 MovieClip Frame 11
onClipEvent (enterFrame) {
}
onClipEvent (load) {
function changeBg(page) {
}
}
Symbol 631 MovieClip Frame 19
this.stop();
Symbol 631 MovieClip Frame 22
v = 100;
this.onEnterFrame = function () {
v = v - 15;
if (v < 0) {
v = 0;
}
_root.bgm.setVolume(v);
};
Symbol 631 MovieClip Frame 31
_root.gotoAndPlay("game");
Symbol 631 MovieClip Frame 58
_quality = "HIGH";
this.stop();
Symbol 631 MovieClip Frame 64
_quality = "MEDIUM";
Symbol 631 MovieClip Frame 84
this.gotoAndStop("n");
Symbol 634 MovieClip Frame 1
xx = _x;
yy = _y;
this.onEnterFrame = function () {
mc = _parent.MC_mainchar;
_x = (xx - (mc._x / 17));
_y = (yy - (mc._y / 17));
};
this.stop();
Symbol 637 MovieClip Frame 2
xx = _x;
yy = _y;
this.onEnterFrame = function () {
if (Key.isDown(69)) {
if (flg) {
flg = false;
this._visible = !this._visible;
}
} else {
flg = true;
}
mc = _parent.MC_mainchar;
_x = (xx - (mc._x / 8));
_y = (yy - (mc._y / 8));
};
this._visible = false;
flg = true;
this.stop();
Symbol 640 MovieClip Frame 1
_visible = false;
Symbol 641 MovieClip Frame 1
Deep = new DeepControlLib(this, 30, 300);
Symbol 643 MovieClip Frame 2
xx = _x;
yy = _y;
this.onEnterFrame = function () {
if (Key.isDown(82)) {
if (flg) {
flg = false;
this._visible = !this._visible;
}
} else {
flg = true;
}
mc = _parent.MC_mainchar;
_x = (xx - (mc._x / 4));
_y = (yy - (mc._y / 4));
};
this._visible = false;
flg = true;
this.stop();
Symbol 646 MovieClip Frame 1
_visible = false;
Symbol 647 MovieClip Frame 1
Deep = new DeepControlLib(this, 300, 800);
this.onEnterFrame = function () {
this._x = this._x - _root.MC_mainchar.mainchar.nowSpeedx;
this._y = this._y - _root.MC_mainchar.mainchar.nowSpeedy;
};
Symbol 648 MovieClip Frame 1
Deep = new DeepControlLib(this, 300, 800);
Symbol 653 MovieClip Frame 4
this.stop();
Symbol 660 Button
on (release) {
this.stage();
}
Symbol 663 MovieClip Frame 1
function stage() {
_root.setStage(no);
}
e = true;
this.onEnterFrame = function () {
if (Key.isDown(13)) {
if (e == true) {
_root.setStage(no);
e = false;
}
} else {
e = true;
}
};
Symbol 668 Button
on (release) {
_root.gotoAndStop("priLoad");
}