Frame 1
stop();
Instance of Symbol 68 MovieClip in Frame 1
onClipEvent (load) {
if (_root.kuria) {
this.gotoAndStop(2);
}
}
Frame 2
_root.tekisaidai = new Array();
stop();
Instance of Symbol 70 MovieClip in Frame 2
//component parameters
onClipEvent (initialize) {
syutugenritu = 0.08;
teki = [];
teki[0] = 1;
kyori = 20;
saidai = 5;
}
Instance of Symbol 70 MovieClip in Frame 2
//component parameters
onClipEvent (initialize) {
syutugenritu = 0.007;
teki = [];
teki[0] = 2;
teki[1] = 2;
teki[2] = 3;
teki[3] = 3;
teki[4] = 1;
teki[5] = 2;
kyori = 40;
saidai = 4;
}
Instance of Symbol 70 MovieClip in Frame 2
//component parameters
onClipEvent (initialize) {
syutugenritu = 0.008;
teki = [];
teki[0] = 2;
teki[1] = 9;
teki[2] = 1;
teki[3] = 2;
kyori = 40;
saidai = 4;
}
Instance of Symbol 70 MovieClip in Frame 2
//component parameters
onClipEvent (initialize) {
syutugenritu = 0.008;
teki = [];
teki[0] = 9;
teki[1] = 1;
teki[2] = 2;
kyori = 40;
saidai = 4;
}
Instance of Symbol 70 MovieClip in Frame 2
//component parameters
onClipEvent (initialize) {
syutugenritu = 0.05;
teki = [];
teki[0] = 4;
kyori = 20;
saidai = 2;
}
Instance of Symbol 70 MovieClip in Frame 2
//component parameters
onClipEvent (initialize) {
syutugenritu = 0.05;
teki = [];
teki[0] = 4;
kyori = 20;
saidai = 2;
}
Instance of Symbol 70 MovieClip in Frame 2
//component parameters
onClipEvent (initialize) {
syutugenritu = 0.01;
teki = [];
teki[0] = 1;
teki[1] = 2;
kyori = 40;
saidai = 4;
}
Instance of Symbol 70 MovieClip in Frame 2
//component parameters
onClipEvent (initialize) {
syutugenritu = 0.04;
teki = [];
teki[0] = 4;
teki[1] = 5;
teki[2] = 5;
kyori = 40;
saidai = 4;
}
Instance of Symbol 70 MovieClip in Frame 2
//component parameters
onClipEvent (initialize) {
syutugenritu = 0.02;
teki = [];
teki[0] = 7;
teki[1] = 1;
teki[2] = 2;
kyori = 30;
saidai = 4;
}
Instance of Symbol 70 MovieClip in Frame 2
//component parameters
onClipEvent (initialize) {
syutugenritu = 0.05;
teki = [];
teki[0] = 6;
kyori = 23;
saidai = 4;
}
Instance of Symbol 70 MovieClip in Frame 2
//component parameters
onClipEvent (initialize) {
syutugenritu = 0.01;
teki = [];
teki[0] = 9;
teki[1] = 5;
kyori = 30;
saidai = 4;
}
Instance of Symbol 70 MovieClip in Frame 2
//component parameters
onClipEvent (initialize) {
syutugenritu = 0.01;
teki = [];
teki[0] = 8;
kyori = 25;
saidai = 1;
}
Instance of Symbol 70 MovieClip in Frame 2
//component parameters
onClipEvent (initialize) {
syutugenritu = 0.005;
teki = [];
teki[0] = 9;
kyori = 40;
saidai = 4;
}
Instance of Symbol 75 MovieClip "mati" in Frame 2
onClipEvent (enterFrame) {
if ((_root.hito.time % 30) == 0) {
if (this.hitTest(_root.hito._x, _root.hito._y, true)) {
if (_root.hito.hp < _root.hito.maxhp) {
_root.hito.hp = _root.hito.hp + Math.round(_root.hito.maxhp / 5);
}
if (_root.hito.hp > _root.hito.maxhp) {
_root.hito.hp = _root.hito.maxhp;
}
}
}
}
Instance of Symbol 77 MovieClip in Frame 2
onClipEvent (enterFrame) {
if ((_root.hito.time % 10) == 0) {
if (this.hitTest(_root.hito._x, _root.hito._y, true)) {
_root.hito.tikei = 0.5;
} else {
_root.hito.tikei = 1;
}
}
}
Instance of Symbol 93 MovieClip "hito" in Frame 2
onClipEvent (load) {
speed = 0.2;
dash = 1;
lv = 1;
ex = 0;
nextlv = 10;
hp = 100;
maxhp = 100;
ap = 10;
time = 0;
tikei = 1;
}
onClipEvent (enterFrame) {
time++;
if (hp > 0) {
radian = Math.atan2(_root.mato._y - _y, _root.mato._x - _x);
_x = (_x + (((Math.cos(radian) * speed) * dash) * tikei));
_y = (_y + (((Math.sin(radian) * speed) * dash) * tikei));
if ((dash >= 2) && ((time % 3) == 0)) {
hp--;
}
if (hp == 1) {
dash = 1;
}
}
}
onClipEvent (mouseDown) {
if (hp > 1) {
dash = 2;
if (_root.kuria) {
dash = 10;
}
}
}
onClipEvent (mouseUp) {
dash = 1;
}
onClipEvent (keyDown) {
if ((Key.getCode() == 32) && (_root.kuria == true)) {
_root.hito.lvup.play();
_root.hito.lv++;
_root.hito.ap = Math.round(_root.hito.ap * 1.15);
_root.hito.hp = _root.hito.hp + Math.round((_root.hito.maxhp * 1.15) - _root.hito.maxhp);
_root.hito.maxhp = Math.round(_root.hito.maxhp * 1.15);
if (_root.hito.hp > _root.hito.maxhp) {
_root.hito.hp = _root.hito.maxhp;
}
_root.hito.nextlv = Math.round(_root.hito.nextlv * 1.47);
}
}
Instance of Symbol 101 MovieClip "mato" in Frame 2
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (mouseMove) {
if ((_root._xmouse > 0) && (_root._xmouse < 400)) {
_x = _root._xmouse;
}
if ((_root._ymouse > 0) && (_root._ymouse < 300)) {
_y = _root._ymouse;
}
updateAfterEvent();
}
Frame 3
_root.hito._x = 380;
_root.hito._y = 280;
Mouse.show();
stop();
Symbol 11 MovieClip [teki] Frame 1
function tekifunc() {
if (_root.hito.hp > 0) {
radian = Math.atan2(_root.hito._y - _y, _root.hito._x - _x);
_x = (_x + (Math.cos(radian) * speed));
_y = (_y + (Math.sin(radian) * speed));
if (this.hitTest(_root.hito) && ((_root.hito.time % 20) == 0)) {
if (_root.hito._x < _x) {
_root.hito._xscale = -100;
_xscale = -100;
} else {
_root.hito._xscale = 100;
_xscale = 100;
}
_root.hito.hp = _root.hito.hp - ap;
if ((_root.hito.hp <= 0) && (_root.bosssi != true)) {
_root.hito.hp = 0;
_root.hito.gotoAndPlay(7);
}
_root.hito.play();
hp = hp - (_root.hito.ap * Math.ceil((_root.hito.lv + 1) / 10));
}
if (hp <= 0) {
_root.attachMovie("rei", "rei" + (++_root.rdep), _root.rdep);
_root["rei" + _root.rdep]._x = _x;
_root["rei" + _root.rdep]._y = _y;
_root.hito.ex = _root.hito.ex + myex;
if ((_root.hito.ex >= _root.hito.nextlv) && (_root.hito.hp > 0)) {
_root.hito.lvup.play();
_root.hito.lv++;
_root.hito.ap = Math.round(_root.hito.ap * 1.15);
_root.hito.hp = _root.hito.hp + Math.round((_root.hito.maxhp * 1.15) - _root.hito.maxhp);
_root.hito.maxhp = Math.round(_root.hito.maxhp * 1.15);
if (_root.hito.hp > _root.hito.maxhp) {
_root.hito.hp = _root.hito.maxhp;
}
_root.hito.nextlv = Math.round(_root.hito.nextlv * 1.47);
}
_root.tekisaidai[sai]--;
this.removeMovieClip();
}
if ((Math.sqrt(Math.pow(_root.hito._x - this._x, 2) + Math.pow(_root.hito._y - this._y, 2)) > 50) || (_root.mati.hitTest(_x, _y, true))) {
_root.tekisaidai[sai]--;
this.removeMovieClip();
}
}
}
stop();
hp = 100;
ap = 8;
myex = 10;
speed = 0.1;
this.onEnterFrame = function () {
tekifunc();
};
Symbol 11 MovieClip [teki] Frame 2
hp = 30;
ap = 4;
myex = 2;
speed = 0.1;
this.onEnterFrame = function () {
tekifunc();
};
Symbol 11 MovieClip [teki] Frame 3
hp = 80;
ap = 2;
myex = 3;
speed = 0.05;
this.onEnterFrame = function () {
tekifunc();
};
Symbol 11 MovieClip [teki] Frame 4
hp = 250;
ap = 30;
myex = 100;
speed = 0.2;
this.onEnterFrame = function () {
tekifunc();
};
Symbol 11 MovieClip [teki] Frame 5
hp = 150;
ap = 15;
myex = 60;
speed = 0.3;
this.onEnterFrame = function () {
tekifunc();
};
Symbol 11 MovieClip [teki] Frame 6
hp = 60;
ap = 16;
myex = 30;
speed = 0.5;
this.onEnterFrame = function () {
tekifunc();
};
Symbol 11 MovieClip [teki] Frame 7
hp = 200;
ap = 15;
myex = 50;
speed = 0.25;
this.onEnterFrame = function () {
tekifunc();
};
Symbol 11 MovieClip [teki] Frame 8
hp = 1000;
ap = 80;
myex = 800;
speed = 0.1;
this.onEnterFrame = function () {
tekifunc();
};
Symbol 11 MovieClip [teki] Frame 9
hp = 160;
ap = 12;
myex = 30;
speed = 0.15;
this.onEnterFrame = function () {
tekifunc();
};
Symbol 11 MovieClip [teki] Frame 10
hp = 6000;
ap = 100;
speed = 0.1;
_xscale = 130;
_yscale = 130;
this.onEnterFrame = function () {
if (hp > 0) {
if (_root.hito.hp > 0) {
radian = Math.atan2(_root.hito._y - _y, _root.hito._x - _x);
_x = (_x + (Math.cos(radian) * speed));
_y = (_y + (Math.sin(radian) * speed));
if (this.hitTest(_root.hito) && ((_root.hito.time % 20) == 0)) {
if (_root.hito._x < _x) {
_root.hito._xscale = -100;
} else {
_root.hito._xscale = 100;
}
_root.hito.hp = _root.hito.hp - ap;
if (_root.hito.hp <= 0) {
_root.hito.hp = 0;
_root.hito.gotoAndPlay(7);
}
_root.hito.play();
hp = hp - (_root.hito.ap * Math.ceil((_root.hito.lv + 1) / 10));
_xscale = (((hp / 6000) * 100) + 30);
_yscale = (((hp / 6000) * 100) + 30);
} else if ((_root.hito.time % 20) == 0) {
hp + 10;
if (hp > 6000) {
hp = 6000;
}
_xscale = (((hp / 6000) * 100) + 30);
_yscale = (((hp / 6000) * 100) + 30);
}
if (_root.mati.hitTest(this._x, this._y, true) && ((_root.hito.time % 30) == 0)) {
hp = hp + 400;
if (hp > 6000) {
hp = 6000;
}
_xscale = (((hp / 6000) * 100) + 30);
_yscale = (((hp / 6000) * 100) + 30);
}
if ((hp <= 0) && (_root.hito.hp > 0)) {
_root.bosssi = true;
_root.attachMovie("reiboss", "reiboss" + (++_root.rdep), _root.rdep);
_root["reiboss" + _root.rdep]._x = _x;
_root["reiboss" + _root.rdep]._y = _y;
_root.tekisaidai[sai]--;
this.removeMovieClip();
}
}
}
};
Symbol 18 MovieClip [reiboss] Frame 108
_root.attachMovie("end", "end", 20000);
_root.end._x = 80;
_root.end._y = 160;
this.removeMovieClip();
Symbol 20 MovieClip [rei] Frame 13
this.removeMovieClip();
Symbol 22 MovieClip [sikaku] Frame 1
koyu = Math.floor(Math.random() * 39);
this.onEnterFrame = function () {
if ((_root.hito.time % 40) == koyu) {
if (Math.sqrt(Math.pow(this._x - _root.hito._x, 2) + Math.pow(this._y - _root.hito._y, 2)) < this._alpha) {
this._alpha = Math.sqrt((Math.pow(this._x - _root.hito._x, 2) + Math.pow(this._y - _root.hito._y, 2)) - 50);
if (this._alpha < 20) {
this.removeMovieClip();
}
}
}
};
Symbol 50 MovieClip [end] Frame 1380
_root.kuria = true;
_root.gotoAndStop(1);
Mouse.show();
this.removeMovieClip();
Symbol 54 Button
on (release) {
_root.bosssi = false;
_root.nextFrame();
}
Symbol 68 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 1
_root.mysaidai++;
mysa = _root.mysaidai;
_root.tekisaidai[mysa] = 0;
this.onEnterFrame = function () {
if ((_root.hito.time % 10) == 0) {
if (_root.tekisaidai[mysa] < saidai) {
if (this.hitTest(_root.hito._x, _root.hito._y, true)) {
if (Math.random() < (syutugenritu * 10)) {
_root.tekisaidai[mysa]++;
_root.tf.attachMovie("teki", "teki" + (++_root.dep), _root.dep);
radian = (Math.random() * Math.PI) * 2;
xx = Math.cos(radian) * kyori;
yy = Math.sin(radian) * kyori;
_root.tf["teki" + _root.dep]._x = _root.hito._x + xx;
_root.tf["teki" + _root.dep]._y = _root.hito._y + yy;
tran = Math.floor(Math.random() * teki.length);
_root.tf["teki" + _root.dep].gotoAndStop(teki[tran]);
_root.tf["teki" + _root.dep].sai = mysa;
}
}
}
}
};
Symbol 72 MovieClip Frame 1
this.onEnterFrame = function () {
if (boss == undefined) {
if ((_root.hito.time % 10) == 0) {
if (this.hitTest(_root.hito._x, _root.hito._y, true)) {
_root.tf.attachMovie("teki", "teki" + (++_root.dep), _root.dep);
_root.tf["teki" + _root.dep]._x = 25;
_root.tf["teki" + _root.dep]._y = 270;
_root.tf["teki" + _root.dep].gotoAndStop(10);
boss = true;
}
}
}
};
Symbol 80 MovieClip Frame 1
xx = 20;
yy = 20;
i = 1;
while (i < 80) {
this.attachMovie("sikaku", "mask" + i, i);
this["mask" + i]._x = xx;
this["mask" + i]._y = yy;
xx = xx + 40;
if (xx > 385) {
xx = 20;
yy = yy + 40;
}
i++;
}
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 2
this._xscale = _parent._xscale;
Symbol 87 MovieClip Frame 27
this._xscale = _parent._xscale;
Symbol 93 MovieClip Frame 1
kaisuu = Math.ceil((lv + 1) / 10);
stop();
Symbol 93 MovieClip Frame 6
if ((--kaisuu) > 0) {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}
Symbol 93 MovieClip Frame 140
_root.gotoAndStop(3);
stop();
Symbol 105 Button
on (release) {
_root.hito.gotoAndStop(1);
_root.hito.hp = _root.hito.maxhp;
_root.gotoAndStop(2);
}