Frame 1
this.stop();
Frame 10
this.stop();
Frame 20
function setQuality(quality) {
_quality = quality;
}
_quality = "MEDIUM";
this.stop();
Frame 29
this.stop();
Instance of Symbol 258 MovieClip "stage" in Frame 29
onClipEvent (load) {
function zoomin() {
if (_xscale <= 160) {
_root.backMainBG._xscale = _root.backMainBG._xscale + 1;
_root.backMainBG._yscale = _root.backMainBG._yscale + 1;
_root.frontBG._xscale = _root.frontBG._xscale + 5;
_root.frontBG._yscale = _root.frontBG._yscale + 2;
this._xscale = this._xscale + 10;
this._yscale = this._yscale + 10;
}
}
function zoomout() {
if (_xscale >= 40) {
_root.backMainBG._xscale = _root.backMainBG._xscale - 1;
_root.backMainBG._yscale = _root.backMainBG._yscale - 1;
_root.frontBG._xscale = _root.frontBG._xscale - 5;
_root.frontBG._yscale = _root.frontBG._yscale - 2;
this._xscale = this._xscale - 10;
this._yscale = this._yscale - 10;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(81)) {
this.zoomin();
}
if (Key.isDown(87)) {
this.zoomout();
}
}
Instance of Symbol 171 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (Key.isDown(36)) {
}
}
Instance of Symbol 288 MovieClip "maindis" in Frame 29
onClipEvent (load) {
function Reload() {
StaObj = _root.stage.topmain.main.getStatas();
}
StaObj = new Object();
start = 0;
}
onClipEvent (enterFrame) {
if (start == 0) {
this.Reload();
start++;
}
hp = StaObj.hp;
en = StaObj.en;
nowen = StaObj.nowen;
nowhp = StaObj.nowhp;
}
Symbol 4 MovieClip [tama] Frame 1
nok = 0.3;
dmgpoint = 5;
atkby = _root.stage.topmain.main.getAtkby();
dmgpoint = dmgpoint * atkby;
nokYN = 0;
sys1 = 0;
sys2 = 0;
allmove = 0;
endFrame = 4;
if (_root.stage.topmain.main.StaObj.muki == "right") {
move = 60;
} else {
move = -60;
}
Symbol 4 MovieClip [tama] Frame 2
this._x = this._x + move;
allmove = allmove + move;
if ((allmove >= 1500) || (allmove <= -1500)) {
this.removeMovieClip();
}
if (this.hitTest(_root.stage.enemy01.enemy)) {
_root.stage.enemy01.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
this.gotoAndPlay(endFrame);
}
if (this.hitTest(_root.stage.enemy02.enemy)) {
_root.stage.enemy02.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
this.gotoAndPlay(endFrame);
}
if (this.hitTest(_root.stage.enemy03.enemy)) {
_root.stage.enemy03.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
this.gotoAndPlay(endFrame);
}
if (this.hitTest(_root.stage.enemy04.enemy)) {
_root.stage.enemy04.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
this.gotoAndPlay(endFrame);
}
if (this.hitTest(_root.stage.enemy05.enemy)) {
_root.stage.enemy05.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
this.gotoAndPlay(endFrame);
}
if (this.hitTest(_root.stage.enemy06.enemy)) {
_root.stage.enemy06.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
this.gotoAndPlay(endFrame);
}
if (this.hitTest(_root.stage.enemy07.enemy)) {
_root.stage.enemy07.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
this.gotoAndPlay(endFrame);
}
if (this.hitTest(_root.stage.enemy08.enemy)) {
_root.stage.enemy08.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
this.gotoAndPlay(endFrame);
}
if (this.hitTest(_root.stage.enemy09.enemy)) {
_root.stage.enemy09.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
this.gotoAndPlay(endFrame);
}
if (this.hitTest(_root.stage.enemy10.enemy)) {
_root.stage.enemy10.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
this.gotoAndPlay(endFrame);
}
Symbol 4 MovieClip [tama] Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 4 MovieClip [tama] Frame 7
this.removeMovieClip();
Symbol 7 MovieClip [tama3] Frame 1
nok = 40;
dmgpoint = 20;
atkby = _root.stage.topmain.main.getAtkby();
dmgpoint = dmgpoint * atkby;
nokYN = 1;
sys1 = 0;
sys2 = 0;
allmove = 0;
endFrame = 4;
if (_root.stage.topmain.main.StaObj.muki == "right") {
move = 60;
} else {
move = -60;
}
Symbol 7 MovieClip [tama3] Frame 2
this._x = this._x + move;
allmove = allmove + move;
if ((allmove >= 1500) || (allmove <= -1500)) {
this.removeMovieClip();
}
if (this.hitTest(_root.stage.enemy01.enemy)) {
_root.stage.enemy01.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy02.enemy)) {
_root.stage.enemy02.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy03.enemy)) {
_root.stage.enemy03.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy04.enemy)) {
_root.stage.enemy04.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy05.enemy)) {
_root.stage.enemy05.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy06.enemy)) {
_root.stage.enemy06.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy07.enemy)) {
_root.stage.enemy07.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy08.enemy)) {
_root.stage.enemy08.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy09.enemy)) {
_root.stage.enemy09.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy10.enemy)) {
_root.stage.enemy10.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
Symbol 7 MovieClip [tama3] Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 7 MovieClip [tama3] Frame 4
this.removeMovieClip();
Symbol 9 MovieClip [tama2] Frame 1
nok = 10;
dmgpoint = 20;
atkby = _root.stage.topmain.main.getAtkby();
dmgpoint = dmgpoint * atkby;
nokYN = 0;
sys1 = 0;
sys2 = 0;
allmove = 0;
endFrame = 4;
if (_root.stage.topmain.main.StaObj.muki == "right") {
move = 60;
} else {
move = -60;
}
Symbol 9 MovieClip [tama2] Frame 2
this._x = this._x + move;
allmove = allmove + move;
if ((allmove >= 1500) || (allmove <= -1500)) {
this.removeMovieClip();
}
if (this.hitTest(_root.stage.enemy01.enemy)) {
_root.stage.enemy01.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
this.gotoAndPlay(endFrame);
}
if (this.hitTest(_root.stage.enemy02.enemy)) {
_root.stage.enemy02.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
this.gotoAndPlay(endFrame);
}
if (this.hitTest(_root.stage.enemy03.enemy)) {
_root.stage.enemy03.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
this.gotoAndPlay(endFrame);
}
if (this.hitTest(_root.stage.enemy04.enemy)) {
_root.stage.enemy04.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
this.gotoAndPlay(endFrame);
}
if (this.hitTest(_root.stage.enemy05.enemy)) {
_root.stage.enemy05.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
this.gotoAndPlay(endFrame);
}
if (this.hitTest(_root.stage.enemy06.enemy)) {
_root.stage.enemy06.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
this.gotoAndPlay(endFrame);
}
if (this.hitTest(_root.stage.enemy07.enemy)) {
_root.stage.enemy07.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
this.gotoAndPlay(endFrame);
}
if (this.hitTest(_root.stage.enemy08.enemy)) {
_root.stage.enemy08.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
this.gotoAndPlay(endFrame);
}
if (this.hitTest(_root.stage.enemy09.enemy)) {
_root.stage.enemy09.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
this.gotoAndPlay(endFrame);
}
if (this.hitTest(_root.stage.enemy10.enemy)) {
_root.stage.enemy10.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
this.gotoAndPlay(endFrame);
}
Symbol 9 MovieClip [tama2] Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 9 MovieClip [tama2] Frame 10
this.removeMovieClip();
Symbol 34 MovieClip Frame 40
this.gotoAndPlay(1);
Symbol 35 MovieClip Frame 10
_parent.first();
_parent.gotoAndStop(5);
Symbol 40 MovieClip Frame 2
_parent._name = "000";
Symbol 40 MovieClip Frame 49
_parent._parent._visible = false;
Symbol 40 MovieClip Frame 69
_root.stage.SetEnemy(_parent._parent.no);
Symbol 40 MovieClip Frame 75
_root.stage.SetEnemy(_parent._parent.no);
Symbol 41 MovieClip Frame 1
no = 0;
arm = 0;
Symbol 41 MovieClip Frame 4
no++;
if (arm == 1) {
setX = _parent._x - 100;
setY = _parent._y - 80;
arm = 0;
} else {
setX = _parent._x - 90;
setY = _parent._y - 70;
arm++;
}
thePoint = {x:setX, y:setY};
this.localToGlobal(thePoint);
_root.stage.globalToLocal(thePoint);
tamaname = no + _parent._parent._name;
_root.stage.attachMovie("Eshot", tamaname, 5 + no);
if (_parent._parent.muki == "right") {
_root.stage[tamaname]._x = thePoint.x;
_root.stage[tamaname]._y = thePoint.y;
} else {
_root.stage[tamaname]._x = thePoint.x;
_root.stage[tamaname]._y = thePoint.y;
}
Symbol 41 MovieClip Frame 9
haba = Math.abs(_parent._parent._x) - Math.abs(_root.stage.topmain.main._x);
if (haba > 2000) {
_root.stage.SetEnemy(_parent._parent.no);
}
this.gotoAndPlay(4);
Symbol 42 MovieClip Frame 5
this.stop();
Symbol 42 MovieClip Frame 10
this.stop();
Symbol 42 MovieClip Frame 15
this.stop();
Symbol 42 MovieClip Frame 20
this.stop();
Symbol 42 MovieClip Frame 25
this.stop();
Symbol 52 MovieClip [enemy] Frame 1
function mainMove(moveSpeed, moveSpeedY, x, y, rePotion) {
if (rePotion == 1) {
this._y = getY;
} else if (rePotion == 2) {
this._x = getX;
} else if (rePotion == 3) {
this._x = getX;
this._y = getY;
} else {
this._x = this._x - moveSpeed;
this._y = this._y - moveSpeedY;
this._x = x;
this._y = y;
}
}
function getP() {
getX = this._x;
getY = this._y;
}
Instance of Symbol 42 MovieClip "enemy" in Symbol 52 MovieClip [enemy] Frame 7
onClipEvent (load) {
function first() {
mode = "normal";
}
function shot() {
mode = "\u5C04\u6483";
this.gotoAndPlay(25);
}
function dmg(nok, dmgpoint, noksw) {
if (mode != "end") {
nowhp = nowhp - dmgpoint;
if (nowhp <= 0) {
mode = "end";
this.gotoAndStop(20);
}
if ((noksw == 1) && (mode != "end")) {
mode = "nok";
this.gotoAndStop(15);
}
sa = _root.stage.topmain._x - _parent._x;
if (sa < 0) {
EFmuki = "right";
} else {
EFmuki = "left";
}
if (EFmuki == "right") {
_parent._x = _parent._x + nok;
} else {
_parent._x = _parent._x - nok;
}
}
}
mode = "normal";
muki = "left";
move = -0.5;
hp = 600;
nowhp = hp;
}
onClipEvent (enterFrame) {
if (mode == "normal") {
rand = Math.random() * 100;
if (rand <= 5) {
this.shot();
}
}
if (mode == "normal") {
this.gotoAndStop(10);
_parent._x = _parent._x + move;
}
}
Instance of Symbol 46 MovieClip in Symbol 52 MovieClip [enemy] Frame 7
onClipEvent (load) {
nowhp = _parent.enemy.nowhp;
}
onClipEvent (enterFrame) {
if (nowhp <= 0) {
nowhp = "broken";
} else {
nowhp = _parent.enemy.nowhp;
}
}
Instance of Symbol 48 MovieClip "hpSarcle" in Symbol 52 MovieClip [enemy] Frame 7
onClipEvent (load) {
maxhp = (nowhp = _parent.enemy.hp);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 2);
nowhp = _parent.enemy.nowhp;
_yscale = ((nowhp / maxhp) * 100);
_xscale = ((nowhp / maxhp) * 100);
}
Symbol 52 MovieClip [enemy] Frame 15
this.stop();
Symbol 58 MovieClip [Eshot] Frame 1
move = -60;
cnt = 0;
nok = 0.3;
dmgpoint = 20;
atkby = 1;
dmgpoint = dmgpoint * atkby;
nokYN = 0;
sys1 = 0;
sys2 = 0;
allmove = 0;
endFrame = 4;
thePos = _name.indexOf("e");
theString = _name.substring(thePos, thePos + 7);
Smuki = _root.stage[theString].enemy.muki;
if (Smuki == "right") {
this._xscale = 100;
move = 30;
} else {
this._xscale = -100;
move = -30;
}
Symbol 58 MovieClip [Eshot] Frame 2
this._x = this._x + move;
allmove = allmove + move;
if (this.hitTest(_root.stage.topmain.hitArea)) {
_root.stage.topmain.main.dmg(dmgpoint, nok, nokYN);
this.gotoAndPlay(endFrame);
}
if ((allmove >= 1000) || (allmove <= -1000)) {
this.removeMovieClip();
}
Symbol 58 MovieClip [Eshot] Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 58 MovieClip [Eshot] Frame 9
this.removeMovieClip();
Symbol 64 MovieClip [b_arms_shot1] Frame 1
function shot() {
no = 0;
this.gotoAndPlay(3);
}
Symbol 64 MovieClip [b_arms_shot1] Frame 2
this.gotoAndPlay(_currentframe - 1);
Symbol 64 MovieClip [b_arms_shot1] Frame 3
if (Key.isDown(90)) {
_parent._parent._parent.endrain(3, 0);
_parent._parent._parent._parent.endrain(3, 0);
no++;
setX = _x + 130;
setY = _y - 6;
thePoint = {x:setX, y:setY};
this.localToGlobal(thePoint);
_root.stage.globalToLocal(thePoint);
tamaname = "tama" + no;
_root.stage.attachMovie("tama", tamaname, 5 + no);
if (_root.stage.topmain.main.muki == "right") {
_root.stage[tamaname]._x = thePoint.x;
_root.stage[tamaname]._y = thePoint.y;
} else {
_root.stage[tamaname]._x = thePoint.x;
_root.stage[tamaname]._y = thePoint.y;
}
} else {
this.gotoAndStop(1);
}
Symbol 64 MovieClip [b_arms_shot1] Frame 5
this.gotoAndPlay(3);
Symbol 87 MovieClip Frame 1
move = "ok";
this.stop();
Symbol 87 MovieClip Frame 10
move = "-";
this.stop();
Instance of Symbol 87 MovieClip in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._yscale >= 100) && (move == "ok")) {
this.play();
}
}
Symbol 113 Button
on (press) {
_root.gotoAndStop("Top");
}
Symbol 114 MovieClip Frame 1
this.stop();
Symbol 114 MovieClip Frame 2
_root.gotoAndStop("logo");
this.stop();
Symbol 115 MovieClip Frame 1
speed = 0;
time0 = getTimer();
loadSize0 = _root.getBytesLoaded;
dwonload = 0;
forTime = "\u8A08\u6E2C\u4E2D";
Instance of Symbol 83 MovieClip "bar" in Symbol 115 MovieClip Frame 1
onClipEvent (load) {
function sizeChange(barSize) {
this._xscale = barSize;
}
this.sizeChange(0);
}
Instance of Symbol 114 MovieClip "anyBar" in Symbol 115 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 115 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 115 MovieClip Frame 3
this.gotoAndPlay(_currentframe - 1);
Symbol 130 Button
on (press) {
getURL ("http://www12.plala.or.jp/nextframe/", _top);
}
Symbol 144 Button
on (release) {
_root.gotoAndPlay("title");
}
Symbol 148 Button
on (press) {
this.gotoAndStop("game");
}
Symbol 159 MovieClip Frame 1
this._x = this._x - 0.6;
if (this._x <= -500) {
this._x = 240;
}
Symbol 159 MovieClip Frame 2
this.gotoAndPlay(_currentframe - 1);
Symbol 161 MovieClip Frame 1
this._x = this._x - 0.3;
if (this._x <= -550) {
this._x = 240;
}
Symbol 161 MovieClip Frame 2
this.gotoAndPlay(_currentframe - 1);
Symbol 169 MovieClip Frame 1
function mainMove(moveSpeedx, moveSpeedY, x, y, rePotion) {
if (rePotion == 1) {
this._y = getY;
} else if (rePotion == 2) {
this._x = getX;
} else if (rePotion == 3) {
this._x = getX;
this._y = getY;
} else {
this._x = this._x - moveSpeed;
this._y = this._y - moveSpeedY;
this._x = x;
this._y = y;
}
}
function getP() {
getX = this._x;
getY = this._y;
}
Symbol 171 MovieClip Frame 1
_visible = false;
Symbol 172 MovieClip Frame 1
this.stop();
Instance of Symbol 210 MovieClip in Symbol 211 MovieClip Frame 1
/* no clip actions */
Symbol 218 MovieClip Frame 1
this.stop();
Instance of Symbol 216 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(8)) {
_parent.gotoAndStop(_currentframe + 1);
}
}
Symbol 228 MovieClip Frame 1
_visible = false;
Symbol 233 MovieClip Frame 1
moveBack = 8;
this.gotoAndPlay(9);
Symbol 233 MovieClip Frame 11
_parent.endrain(120, 0);
Instance of Symbol 228 MovieClip in Symbol 233 MovieClip Frame 11
onClipEvent (load) {
nok = 10;
dmgpoint = 50;
atkby = _root.stage.topmain.main.getAtkby();
dmgpoint = dmgpoint * atkby;
nokYN = 0;
sys1 = 0;
sys2 = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.stage.enemy01.enemy)) {
_root.stage.enemy01.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy02.enemy)) {
_root.stage.enemy02.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy03.enemy)) {
_root.stage.enemy03.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy04.enemy)) {
_root.stage.enemy04.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy05.enemy)) {
_root.stage.enemy05.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy06.enemy)) {
_root.stage.enemy06.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy07.enemy)) {
_root.stage.enemy07.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy08.enemy)) {
_root.stage.enemy08.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy09.enemy)) {
_root.stage.enemy09.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy10.enemy)) {
_root.stage.enemy10.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
}
Symbol 233 MovieClip Frame 15
if (Key.isDown(32)) {
this.gotoAndPlay(54);
}
Symbol 233 MovieClip Frame 20
_parent.first();
_parent.gotoAndStop(5);
Symbol 233 MovieClip Frame 36
_parent.endrain(120, 0);
moveSpeed = 60;
if (_parent.StaObj.muki == "right") {
setmoveSpeed = moveSpeed;
_root.stage.enemy01.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy02.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy03.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy04.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy05.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy06.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy07.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy08.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy09.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy10.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.frontBG.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
} else {
setmoveSpeed = -moveSpeed;
_root.stage.enemy01.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy02.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy03.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy04.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy05.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy06.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy07.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy08.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy09.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy10.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.frontBG.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
}
Instance of Symbol 228 MovieClip in Symbol 233 MovieClip Frame 36
onClipEvent (load) {
nok = 30;
dmgpoint = 100;
atkby = _root.stage.topmain.main.getAtkby();
dmgpoint = dmgpoint * atkby;
nokYN = 1;
sys1 = 0;
sys2 = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.stage.enemy01.enemy)) {
_root.stage.enemy01.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy02.enemy)) {
_root.stage.enemy02.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy03.enemy)) {
_root.stage.enemy03.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy04.enemy)) {
_root.stage.enemy04.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy05.enemy)) {
_root.stage.enemy05.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy06.enemy)) {
_root.stage.enemy06.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy07.enemy)) {
_root.stage.enemy07.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy08.enemy)) {
_root.stage.enemy08.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy09.enemy)) {
_root.stage.enemy09.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy10.enemy)) {
_root.stage.enemy10.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
}
Symbol 233 MovieClip Frame 53
_parent.first();
_parent.gotoAndStop(5);
Instance of Symbol 228 MovieClip in Symbol 233 MovieClip Frame 54
onClipEvent (load) {
nok = 10;
dmgpoint = 50;
atkby = _root.stage.topmain.main.getAtkby();
dmgpoint = dmgpoint * atkby;
nokYN = 0;
sys1 = 0;
sys2 = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.stage.enemy01.enemy)) {
_root.stage.enemy01.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy02.enemy)) {
_root.stage.enemy02.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy03.enemy)) {
_root.stage.enemy03.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy04.enemy)) {
_root.stage.enemy04.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy05.enemy)) {
_root.stage.enemy05.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy06.enemy)) {
_root.stage.enemy06.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy07.enemy)) {
_root.stage.enemy07.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy08.enemy)) {
_root.stage.enemy08.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy09.enemy)) {
_root.stage.enemy09.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy10.enemy)) {
_root.stage.enemy10.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
}
Symbol 233 MovieClip Frame 55
_parent.endrain(60, 0);
Symbol 233 MovieClip Frame 60
if (Key.isDown(32)) {
this.gotoAndPlay(33);
}
Symbol 233 MovieClip Frame 70
_parent.first();
_parent.gotoAndStop(5);
Symbol 234 MovieClip Frame 2
this.Barm.main.shot();
Symbol 234 MovieClip Frame 3
if (Key.isDown(90)) {
} else {
this.gotoAndPlay(5);
}
Symbol 234 MovieClip Frame 4
this.gotoAndPlay(_currentframe - 1);
Symbol 234 MovieClip Frame 7
_parent.first();
_parent.gotoAndStop(5);
Symbol 238 MovieClip Frame 1
no = 0;
Symbol 238 MovieClip Frame 4
if (Key.isDown(88)) {
} else {
_parent.first();
_parent.gotoAndStop(5);
}
Symbol 238 MovieClip Frame 6
_parent.endrain(15, 0);
no++;
setX = _x + 150;
setY = _y - 65;
thePoint = {x:setX, y:setY};
this.localToGlobal(thePoint);
_root.stage.globalToLocal(thePoint);
tamaname = "tama2" + no;
_root.stage.attachMovie("tama2", tamaname, 5 + no);
if (_root.stage.topmain.main.muki == "right") {
_root.stage[tamaname]._x = thePoint.x;
_root.stage[tamaname]._y = thePoint.y;
} else {
_root.stage[tamaname]._x = thePoint.x;
_root.stage[tamaname]._y = thePoint.y;
}
Symbol 238 MovieClip Frame 15
this.gotoAndPlay(4);
Symbol 243 MovieClip Frame 1
no = 0;
endown = 10;
moveSpeed = 10;
Symbol 243 MovieClip Frame 6
if (Key.isDown(67)) {
} else {
_parent.first();
_parent.gotoAndStop(5);
}
Symbol 243 MovieClip Frame 7
if (Key.isDown(67)) {
} else {
_parent.first();
_parent.gotoAndStop(5);
}
Symbol 243 MovieClip Frame 8
if (Key.isDown(67)) {
} else {
_parent.first();
_parent.gotoAndStop(5);
}
Symbol 243 MovieClip Frame 9
if (Key.isDown(67)) {
} else {
_parent.first();
_parent.gotoAndStop(5);
}
Symbol 243 MovieClip Frame 10
if (Key.isDown(67)) {
_parent.endrain(endown, 0);
} else {
_parent.first();
_parent.gotoAndStop(5);
}
Symbol 243 MovieClip Frame 11
if (Key.isDown(67)) {
_parent.endrain(endown, 0);
} else {
_parent.first();
_parent.gotoAndStop(5);
}
Symbol 243 MovieClip Frame 12
if (Key.isDown(67)) {
_parent.endrain(endown, 0);
} else {
_parent.first();
_parent.gotoAndStop(5);
}
Symbol 243 MovieClip Frame 13
if (Key.isDown(67)) {
_parent.endrain(endown, 0);
} else {
_parent.first();
_parent.gotoAndStop(5);
}
Symbol 243 MovieClip Frame 14
if (Key.isDown(67)) {
_parent.endrain(endown, 0);
} else {
_parent.first();
_parent.gotoAndStop(5);
}
Symbol 243 MovieClip Frame 15
if (Key.isDown(67)) {
_parent.endrain(endown, 0);
} else {
_parent.first();
_parent.gotoAndStop(5);
}
Symbol 243 MovieClip Frame 16
if (Key.isDown(67)) {
_parent.endrain(endown, 0);
} else {
_parent.first();
_parent.gotoAndStop(5);
}
Symbol 243 MovieClip Frame 17
if (Key.isDown(67)) {
_parent.endrain(endown, 0);
} else {
_parent.first();
_parent.gotoAndStop(5);
}
Symbol 243 MovieClip Frame 18
if (Key.isDown(67)) {
_parent.endrain(endown, 0);
} else {
_parent.first();
_parent.gotoAndStop(5);
}
Symbol 243 MovieClip Frame 19
if (Key.isDown(67)) {
_parent.endrain(endown, 0);
} else {
_parent.first();
_parent.gotoAndStop(5);
}
Symbol 243 MovieClip Frame 20
if (Key.isDown(67)) {
_parent.endrain(endown, 0);
} else {
_parent.first();
_parent.gotoAndStop(5);
}
Symbol 243 MovieClip Frame 21
if (Key.isDown(67)) {
_parent.endrain(endown, 0);
} else {
_parent.first();
_parent.gotoAndStop(5);
}
Symbol 243 MovieClip Frame 22
if (Key.isDown(67)) {
_parent.endrain(endown, 0);
} else {
_parent.first();
_parent.gotoAndStop(5);
}
Symbol 243 MovieClip Frame 23
if (Key.isDown(67)) {
_parent.endrain(endown, 0);
} else {
_parent.first();
_parent.gotoAndStop(5);
}
Symbol 243 MovieClip Frame 24
_parent.endrain(400, 0);
no++;
setX = _x + 200;
setY = _y - 80;
thePoint = {x:setX, y:setY};
this.localToGlobal(thePoint);
_root.stage.globalToLocal(thePoint);
nokX = 0;
nokY = 0;
if (_parent.StaObj.muki == "right") {
setmoveSpeed = -moveSpeed;
_root.stage.enemy01.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy02.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy03.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy04.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy05.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy06.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy07.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy08.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy09.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy10.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.frontBG.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
} else {
setmoveSpeed = moveSpeed;
_root.stage.enemy01.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy02.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy03.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy04.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy05.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy06.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy07.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy08.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy09.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy10.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.frontBG.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
}
tamaname = "tama3" + no;
_root.stage.attachMovie("tama3", tamaname, 5 + no);
if (_root.stage.topmain.main.muki == "right") {
_root.stage[tamaname]._x = thePoint.x;
_root.stage[tamaname]._y = thePoint.y;
} else {
_root.stage[tamaname]._x = thePoint.x;
_root.stage[tamaname]._y = thePoint.y;
}
Symbol 243 MovieClip Frame 33
this.gotoAndPlay(6);
Symbol 244 MovieClip Frame 1
function getFrame() {
frame = this._currentFrame;
return(frame);
}
Symbol 244 MovieClip Frame 24
this.gotoAndPlay(1);
Symbol 244 MovieClip Frame 32
this.Barm.main.shot();
Symbol 244 MovieClip Frame 33
if (Key.isDown(90)) {
} else {
this.gotoAndPlay(35);
}
Symbol 244 MovieClip Frame 34
this.gotoAndPlay(_currentframe - 1);
Symbol 244 MovieClip Frame 37
_parent.box.first();
_parent.first();
this.gotoAndPlay(1);
Instance of Symbol 171 MovieClip "box" in Symbol 246 MovieClip Frame 1
onClipEvent (load) {
function first() {
shotmode = 0;
}
function shot() {
if (shotmode == 0) {
nowFrame = _parent.arm.getFrame();
shotmode = 1;
_parent.arm.gotoAndPlay(30);
}
}
nowFrame = 0;
shotmode = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(90)) {
this.shot();
}
}
Symbol 246 MovieClip Frame 24
this.gotoAndPlay(1);
Symbol 248 MovieClip Frame 1
no = 0;
Instance of Symbol 228 MovieClip in Symbol 248 MovieClip Frame 8
onClipEvent (load) {
nok = 50;
dmgpoint = 5;
nokYN = 1;
sys1 = 0;
sys2 = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.stage.enemy01.enemy)) {
_root.stage.enemy01.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy02.enemy)) {
_root.stage.enemy02.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy03.enemy)) {
_root.stage.enemy03.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy04.enemy)) {
_root.stage.enemy04.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy05.enemy)) {
_root.stage.enemy05.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy06.enemy)) {
_root.stage.enemy06.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy07.enemy)) {
_root.stage.enemy07.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy08.enemy)) {
_root.stage.enemy08.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy09.enemy)) {
_root.stage.enemy09.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
if (this.hitTest(_root.stage.enemy10.enemy)) {
_root.stage.enemy10.enemy.dmg(nok, dmgpoint, nokYN, sys1, sys2);
}
}
Symbol 248 MovieClip Frame 14
_parent.first();
_parent.gotoAndStop(5);
Symbol 249 MovieClip Frame 3
if (Key.isDown(40)) {
} else {
this.gotoAndPlay(_currentframe + 2);
_parent.first();
}
Symbol 249 MovieClip Frame 4
this.gotoAndPlay(_currentframe - 1);
Symbol 249 MovieClip Frame 7
_parent.gotoAndStop(5);
Symbol 254 MovieClip Frame 1
function sword(Frame) {
getFrame = Frame;
}
Instance of Symbol 171 MovieClip in Symbol 254 MovieClip Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_parent.sword(_parent._currentFrame);
_parent.gotoAndPlay(55);
}
}
Symbol 254 MovieClip Frame 31
this.stop();
Symbol 254 MovieClip Frame 48
this.gotoAndPlay(getFrame + 8);
Symbol 254 MovieClip Frame 63
this.gotoAndPlay(getFrame + 8);
Symbol 255 MovieClip Frame 1
getY = _parent._parent._y;
_root.stage.enemy01.getP();
_root.stage.enemy02.getP();
_root.stage.enemy03.getP();
_root.stage.enemy04.getP();
_root.stage.enemy05.getP();
_root.stage.enemy06.getP();
_root.stage.enemy07.getP();
_root.stage.enemy08.getP();
_root.stage.enemy09.getP();
_root.stage.enemy10.getP();
_root.frontBG.getP();
Symbol 255 MovieClip Frame 4
_parent.StaObj.mode = "jump1";
Instance of Symbol 171 MovieClip in Symbol 255 MovieClip Frame 4
onClipEvent (load) {
move = 50;
}
onClipEvent (enterFrame) {
_parent._parent._parent._y = _parent._parent._parent._y - move;
moveSpeed = -move;
_parent.StaObj.muki = "left";
setmoveSpeedY = moveSpeed;
_root.stage.enemy01.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy02.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy03.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy04.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy05.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy06.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy07.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy08.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy09.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy10.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.frontBG.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
move = move / 1.5;
}
Instance of Symbol 171 MovieClip in Symbol 255 MovieClip Frame 16
onClipEvent (load) {
move = -0.9;
}
onClipEvent (enterFrame) {
_parent._parent._parent._y = _parent._parent._parent._y - move;
moveSpeed = -move;
setmoveSpeedY = moveSpeed;
_root.stage.enemy01.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy02.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy03.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy04.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy05.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy06.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy07.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy08.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy09.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy10.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.frontBG.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
move = move * 1.5;
}
Symbol 255 MovieClip Frame 29
REP = 1;
_root.stage.enemy01.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy02.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy03.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy04.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy05.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy06.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy07.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy08.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy09.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy10.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.frontBG.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
Symbol 255 MovieClip Frame 30
_parent._parent._y = getY;
_parent.first();
Symbol 255 MovieClip Frame 31
_parent.first();
_parent.gotoAndStop(5);
Symbol 256 MovieClip Frame 1
this.gotoAndStop(5);
Symbol 256 MovieClip Frame 5
this.stop();
Symbol 256 MovieClip Frame 10
this.stop();
Symbol 256 MovieClip Frame 15
this.stop();
Symbol 256 MovieClip Frame 20
this.stop();
Symbol 256 MovieClip Frame 25
this.stop();
Symbol 256 MovieClip Frame 30
this.stop();
Instance of Symbol 246 MovieClip in Symbol 256 MovieClip Frame 30
onClipEvent (load) {
function walkLeft() {
_parent.StaObj.muki = "left";
_parent._xscale = -100;
setmoveSpeed = moveSpeed;
_root.stage.enemy01.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy02.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy03.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy04.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy05.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy06.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy07.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy08.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy09.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy10.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.frontBG.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
}
function walkRight() {
_parent.StaObj.muki = "right";
_parent._xscale = 100;
setmoveSpeed = -moveSpeed;
_root.stage.enemy01.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy02.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy03.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy04.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy05.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy06.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy07.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy08.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy09.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy10.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.frontBG.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
}
moveSpeed = -_parent.StaObj.moveSpeed;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.walkRight();
} else if (Key.isDown(37)) {
this.walkLeft();
} else {
_parent.first();
_parent.gotoAndStop(5);
}
}
Symbol 256 MovieClip Frame 35
this.stop();
Symbol 256 MovieClip Frame 40
this.stop();
Symbol 256 MovieClip Frame 45
this.stop();
Instance of Symbol 256 MovieClip "main" in Symbol 257 MovieClip Frame 1
onClipEvent (load) {
function first() {
StaObj.mode = "normal";
}
function getStatas() {
return(StaObj);
}
function getAtkby() {
return(StaObj.atkby);
}
function jumpLeft() {
StaObj.muki = "left";
this._xscale = -100;
setmoveSpeed = -StaObj.moveSpeed;
_root.stage.enemy01.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy02.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy03.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy04.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy05.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy06.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy07.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy08.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy09.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy10.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.frontBG.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
}
function jumpRight() {
StaObj.muki = "right";
this._xscale = 100;
setmoveSpeed = StaObj.moveSpeed;
_root.stage.enemy01.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy02.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy03.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy04.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy05.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy06.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy07.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy08.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy09.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.stage.enemy10.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
_root.frontBG.mainMove(setmoveSpeed, setmoveSpeedY, x, y, REP);
}
function dmg(plusHPpoint, nok, nokYN) {
if (StaObj.mode == "gard") {
plusHPpoint = plusHPpoint - (staObj.DEF * 3);
} else {
plusHPpoint = plusHPpoint - StaObj.DEF;
}
if (plusHPpoint <= 0) {
plusHPpoint = 0;
}
this.hpplus(plusHPpoint);
}
function hpplus(plusHPpoint, max) {
if (max == 1) {
StaObj.hp = StaObj.hp + plusHPpoint;
StaObj.nowhp = StaObj.hp;
} else {
StaObj.nowhp = StaObj.nowhp - plusHPpoint;
if (StaObj.nowhp <= 0) {
StaObj.nowhp = 0;
} else if (StaObj.nowhp >= StaObj.hp) {
StaObj.nowhp = StaObj.hp;
}
}
_root.maindis.colordis.getdata(StaObj.nowhp, StaObj.hp);
}
function enplus(plusENpoint, max) {
if (max == 1) {
StaObj.en = StaObj.en + plusENpoint;
StaObj.nowen = StaObj.en;
} else {
StaObj.nowen = StaObj.nowen - plusENpoint;
if (StaObj.nowen <= 0) {
StaObj.nowen = 0;
} else if (StaObj.nowen >= StaObj.en) {
StaObj.nowen = StaObj.en;
}
}
}
function changeBoot(boot) {
if (boot == 0) {
StaObj.enmode = 1;
StaObj.atkby = StaObj.baseAtkBy;
} else if (boot == 1) {
StaObj.enmode = 3;
StaObj.atkby = StaObj.baseAtkBy * 2;
}
}
function endrain(plusPoint, max) {
plusPoint = plusPoint * StaObj.enmode;
this.enplus(plusPoint, 0);
}
function gard() {
StaObj.mode = "gard";
this.gotoAndStop(40);
}
function sword1() {
StaObj.mode = "sw1";
this.gotoAndStop(10);
}
function shot1() {
StaObj.mode = "sh1";
this.gotoAndStop(15);
}
function shot2() {
StaObj.mode = "sh2";
this.gotoAndStop(20);
}
function shot3() {
StaObj.mode = "sh3";
this.gotoAndStop(25);
}
function kick1() {
StaObj.mode = "kick1";
this.gotoAndStop(35);
}
function jump() {
this.gotoAndStop(45);
}
function walkRight() {
StaObj.mode = "walk";
StaObj.muki = "right";
this.gotoAndStop(30);
this._xscale = 100;
}
function walkLeft() {
StaObj.mode = "walk";
StaObj.muki = "left";
this.gotoAndStop(30);
this._xscale = -100;
}
leclerObj = new Object();
leclerObj.Ename = "LECLER ";
leclerObj.Jname = "\u30EB\u30AF\u30EC\u30FC\u30EB";
leclerObj.hp = 5700;
leclerObj.nowhp = 5700;
leclerObj.en = 43500;
leclerObj.nowen = 43500;
leclerObj.alwaysENplus = -15;
leclerObj.under25 = 5;
leclerObj.DEF = 10;
leclerObj.mode = "normal";
leclerObj.muki = "right";
leclerObj.moveSpeed = 20;
leclerObj.enmode = 1;
leclerObj.baseAtkBy = 1;
leclerObj.atkby = leclerObj.baseAtkBy;
leclerObj.defby = 1;
leclerObj2 = new Object();
leclerObj2.Ename = "LECLER ";
leclerObj2.Jname = "\u30EB\u30AF\u30EC\u30FC\u30EB";
leclerObj2.hp = 15700;
leclerObj2.nowhp = 15700;
leclerObj2.en = 143500 /* 0x02308C */;
leclerObj2.nowen = 143500 /* 0x02308C */;
leclerObj2.alwaysENplus = -30;
leclerObj2.under25 = 5;
leclerObj2.DEF = 10;
leclerObj2.mode = "normal";
leclerObj2.muki = "right";
leclerObj2.moveSpeed = 30;
leclerObj2.enmode = 1;
leclerObj2.baseAtkBy = 4;
leclerObj2.atkby = leclerObj2.baseAtkBy;
StaObj = new Object();
StaObj = leclerObj2;
}
onClipEvent (enterFrame) {
i++;
if (i == 3) {
if (((StaObj.nowen / StaObj.en) * 100) <= 25) {
this.enplus(StaObj.alwaysEnplus * StaObj.under25, 0);
} else {
this.enplus(StaObj.alwaysENplus, 0);
}
i = 0;
}
if (StaObj.atkby != 1) {
this.endrain(8, max);
}
if (StaObj.mode == "normal") {
if (Key.isDown(90)) {
this.shot1();
}
}
if (((StaObj.mode == "normal") || (StaObj.mode == "walk")) || (StaObj.mode == "takeDown")) {
if (Key.isDown(32)) {
this.sword1();
}
if (Key.isDown(88)) {
this.shot2();
}
if (Key.isDown(67)) {
this.shot3();
}
if (Key.isDown(65)) {
this.kick1();
}
}
if ((StaObj.mode == "normal") || (StaObj.mode == "walk")) {
if (Key.isDown(38)) {
this.jump();
}
if (Key.isDown(40)) {
this.gard();
}
}
if (StaObj.mode == "normal") {
if (Key.isDown(37)) {
this.walkLeft();
}
if (Key.isDown(39)) {
this.walkRight();
}
}
if (StaObj.mode == "jump1") {
if (Key.isDown(37)) {
this.jumpLeft();
}
if (Key.isDown(39)) {
this.jumpRight();
}
}
if (Key.isDown(8)) {
this.hpplus(50, 0);
}
}
Symbol 258 MovieClip Frame 1
function SetEnemy(no) {
enemyName = "enemy0" + no;
this.attachMovie("enemy", enemyName, no);
this[enemyName]._x = (this.topMain._x + (Math.random() * 600)) - 300;
this[enemyName]._y = -65.3;
this[enemyName]._xscale = 60;
this[enemyName]._yscale = 60;
this[enemyName].no = no;
}
i = 1;
this.SetEnemy(1);
this.SetEnemy(2);
Symbol 266 MovieClip Frame 1
this.stop();
Instance of Symbol 171 MovieClip "asBOX" in Symbol 266 MovieClip Frame 1
onClipEvent (load) {
function reWait() {
wait = 0;
}
mode = 0;
wait = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(83)) {
if ((mode == 0) && (wait == 0)) {
mode = 1;
wait = 1;
_root.stage.topmain.main.changeBoot(1);
_parent.gotoAndPlay(2);
} else if ((mode == 1) && (wait == 0)) {
mode = 0;
wait = 1;
_root.stage.topmain.main.changeBoot(0);
_parent.gotoAndPlay(19);
}
}
}
Symbol 266 MovieClip Frame 12
this.asBOX.reWait();
Symbol 266 MovieClip Frame 15
this._rotation = this._rotation - 0.5;
Symbol 266 MovieClip Frame 16
this.gotoAndPlay(_currentframe - 1);
Symbol 266 MovieClip Frame 25
this.asBOX.reWait();
Instance of Symbol 270 MovieClip in Symbol 272 MovieClip Frame 1
onClipEvent (load) {
theColor = new Color(this);
theColor.setRGB(255);
}
onClipEvent (enterFrame) {
rand = (Math.random() * 2) - 1;
hpPer = (_parent._parent.StaObj.nowen / _parent._parent.StaObj.en) * 100;
if (hpPer <= 25) {
theColor.setRGB(16711680);
} else {
theColor.setRGB(255);
}
this._xscale = hpPer + rand;
}
Instance of Symbol 274 MovieClip "colordis" in Symbol 288 MovieClip Frame 1
onClipEvent (load) {
function getdata(nowhp, hp) {
i = hp / nowhp;
if (i < 2) {
theColor.setRGB(255);
} else if (i >= 4) {
theColor.setRGB(16720384);
} else if (i >= 2) {
theColor.setRGB(16759552);
}
}
theColor = new Color(this);
theColor.setRGB(255);
}
Instance of Symbol 283 MovieClip in Symbol 288 MovieClip Frame 1
onClipEvent (load) {
kaiten = 2;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + kaiten);
this._yscale = (this._xscale = (_parent.StaObj.nowhp / _parent.StaObj.hp) * 100);
}
Symbol 291 Button
on (press) {
this.setQuality("LOW");
}
Symbol 294 Button
on (press) {
this.setQuality("MEDIUM");
}
Symbol 297 Button
on (press) {
this.setQuality("HIGH");
}
Symbol 303 Button
on (release) {
this.play();
}
Symbol 342 Button
on (release) {
_parent.play();
}
Symbol 345 MovieClip Frame 1
this.stop();
Symbol 345 MovieClip Frame 6
this.stop();