Combined Code
movieClip 34 mainprog {
frame 1 {
var Gs = new duplex.Game_system(this);
}
frame 2 {
Gs.gameMain();
}
frame 3 {
this.gotoAndPlay(2);
}
}
movieClip 37 LineMC {
frame 11 {
stop();
}
}
movieClip 39 {
frame 10 {
stop();
}
}
movieClip 41 {
frame 16 {
stop();
}
}
movieClip 42 life_rose {
frame 1 {
stop();
}
}
movieClip 44 {
frame 10 {
stop();
}
}
movieClip 45 life_camellia {
frame 1 {
stop();
}
}
movieClip 48 mcText_win {
frame 30 {
stop();
}
}
movieClip 51 mcText_start {
frame 30 {
stop();
}
}
movieClip 54 mcText_lose {
frame 30 {
stop();
}
}
button 58 {
on (release) {
_root.game.Gs.game_st = 0;
_root.game.Gs.allkill();
}
}
movieClip 59 mcText_gameover {
frame 30 {
stop();
}
}
frame 1 {
stop();
}
movieClip 685 __Packages.duplex.Game_systemB {
#initclip
if (!_global.duplex) {
_global.duplex = new Object();
}
if (!_global.duplex.Game_systemB) {
var v1 = function () {};
duplex.Game_systemB = v1;
var v2 = v1.prototype;
v2.battle_ini = function (num) {
var v4;
var v3;
this.enemyFc = 0;
if (this.ura_f == 0) {
this.at.inidata(this, num);
} else {
this.bt.inidata(this, num);
}
this.soundSet(num + 5 * this.ura_f);
};
v2.soundSet = function (num) {
this.n_hit = this.soundObj[duplex.data.SoundLib.CHAR_SOUND[num][0]];
this.c_hit = this.soundObj[duplex.data.SoundLib.CHAR_SOUND[num][1]];
this.miss = this.soundObj[duplex.data.SoundLib.CHAR_SOUND[num][2]];
this.finish = this.soundObj[duplex.data.SoundLib.CHAR_SOUND[num][3]];
};
v2.delMc = function (tk) {
this.mcm[this.task[tk].sys[0]].removeMovieClip();
this.reSetMcNum(this.task[tk].sys[0]);
this.task[tk].sys[0] = -1;
};
v2.reSetMcNum = function (num) {
this.mcb[num] = false;
};
v2.fo = function (i) {
this.data.buff[0] = i;
this.data.buff[1] = 100;
this.setEvent(this.BGMCHECKER, this.data);
};
v2.bgmloop = function (i) {
this.task[i].buff[1] -= this.task[i].buff[0];
if (this.task[i].buff[1] < 0) {
this.task[i].buff[0] = 0;
}
this.musicObj[this.nowBGM].setVolume(this.task[i].buff[1]);
if (this.task[i].buff[1] < 1) {
this.killtask(i);
}
};
v2.enemy_dmg = function (i) {
var v4 = false;
if (this.task[i].sys[2] == 2) {
this.enemyHp -= Math.floor(this.subMath.pointLength(this.bak_x, this.bak_y, this.now_x, this.now_y)) * 2 * this.damage_keisu;
if (this.enemyHp < 1) {
if (this.enemyNum == 1) {
_root.enemy.enemy1.gotoAndStop(7);
this.task[i].buff[0] = 0;
this.task[i].state = 100;
this.setBgm(0);
} else {
_root.enemy.enemy1.gotoAndStop(8);
this.task[i].state = 40;
}
if (this.soundflag == false) {
this.playSE(13);
}
v4 = true;
} else {
if (this.soundflag == false) {
this.playSE(15);
}
_root.enemy.enemy1.gotoAndStop(7);
}
} else {
this.enemyHp -= Math.floor(this.subMath.pointLength(this.bak_x, this.bak_y, this.now_x, this.now_y)) * this.damage_keisu;
if (this.enemyHp < 1) {
if (this.enemyNum == 1) {
_root.enemy.enemy1.gotoAndStop(7);
this.task[i].state = 100;
this.task[i].buff[0] = 0;
this.setBgm(0);
} else {
_root.enemy.enemy1.gotoAndStop(8);
this.task[i].state = 40;
}
if (this.soundflag == false) {
this.playSE(13);
}
v4 = true;
} else {
if (this.soundflag == false) {
this.playSE(14);
}
_root.enemy.enemy1.gotoAndStop(6);
}
}
switch (this.enemyFc) {
case 0:
if (this.enemyMh * 0.8 > this.enemyHp) {
this.enemyFc = 1;
}
break;
case 1:
if (this.enemyMh * 0.6 > this.enemyHp) {
this.enemyFc = 2;
}
break;
case 2:
if (this.enemyMh * 0.4 > this.enemyHp) {
this.enemyFc = 3;
}
break;
case 3:
if (this.enemyMh * 0.2 > this.enemyHp) {
this.enemyFc = 4;
}
break;
case 4:
}
if (v4) {
this.fo(5);
}
return v4;
};
v2.enemyFace = function () {
if (_root.enemy.enemy1._currentframe == 1 || _root.enemy.enemy1._currentframe == 2 || _root.enemy.enemy1._currentframe == 3) {
switch (this.enemyFc) {
case 1:
if (_root.enemy.enemy1.hitarea._currentframe != 2) {
_root.enemy.enemy1.hitarea.gotoAndStop(2);
}
break;
case 2:
if (_root.enemy.enemy1.hitarea._currentframe != 3) {
_root.enemy.enemy1.hitarea.gotoAndStop(3);
}
break;
case 3:
if (_root.enemy.enemy1.hitarea._currentframe != 4) {
_root.enemy.enemy1.hitarea.gotoAndStop(4);
}
break;
case 4:
if (_root.enemy.enemy1.hitarea._currentframe != 5) {
_root.enemy.enemy1.hitarea.gotoAndStop(5);
}
}
} else {
if (_root.enemy.enemy1.hitarea._currentframe != 1) {
_root.enemy.enemy1.hitarea.gotoAndStop(1);
}
}
};
v2.reikoDmg = function (i) {
var v3 = false;
if (this.enemyLk > Math.random() * 100) {
this.reikoHp -= this.enemyPw * (2 + this.game_lv / 2.5);
_root.enemy.enemy1.gotoAndStop(4);
if (this.reikoHp < 1) {
if (this.muteki == false) {
_root.player.gotoAndStop(7);
this.task[i].state = 30;
if (this.soundflag == false) {
this.finish.start(0);
}
v3 = true;
}
} else {
_root.player.gotoAndStop(6);
if (this.soundflag == false) {
this.c_hit.start(0);
}
}
return v3;
}
this.reikoHp -= this.enemyPw + this.enemyPw * Math.random() / 2;
_root.enemy.enemy1.gotoAndStop(3);
if (this.reikoHp < 1) {
if (this.muteki == false) {
_root.player.gotoAndStop(7);
if (this.soundflag == false) {
this.finish.start(0);
}
this.task[i].state = 30;
v3 = true;
}
return v3;
}
if (this.soundflag == false) {
this.n_hit.start(0);
}
_root.player.gotoAndStop(5);
return v3;
};
v2.gameMainProg = function (i) {
switch (this.task[i].state) {
case 0:
this.task[i].buff[0] = 0;
this.task[i].sys[3] = -1;
this.battle_ini(this.enemy_num);
this.setHp();
this.task[i].state = 1;
break;
case 1:
++this.task[i].buff[0];
if (this.task[i].buff[0] == 15) {
this.task[i].buff[19] = this.setEvent(this.KOBARA, this.data);
this.task[i].state = 2;
this.task[i].buff[0] = 0;
}
break;
case 2:
if (this.callMain() != 0) {
this.task[i].state = 3;
this.data.buff[0] = i;
this.task[i].buff[18] = this.setEvent(this.TIME, this.data);
}
break;
case 3:
_root.mc_evasion.gotoAndStop(1);
_root.mc_counter.gotoAndStop(1);
_root.player.gotoAndStop(1);
_root.enemy.enemy1.gotoAndStop(1);
_root.mc_attack.gotoAndStop(2);
if (this.soundflag == false) {
this.playSE(0);
}
this.callMain();
this.task[i].state = 4;
this.out_of_wait_flag = false;
this.out_of_wait_break = false;
break;
case 4:
if (this.callMain() != 0) {
this.out_of_wait_flag = false;
this.out_of_wait_break = false;
this.data.buff[1] = 0;
this.task[i].buff[17] = this.setEvent(this.GUID, this.data);
if (this.soundflag == false) {
this.playSE(2);
}
this.data.buff[0] = 0;
this.data.buff[1] = 5;
this.task[i].sys[4] = this.setEvent(this.MOUSELINEDRAW, this.data);
this.task[i].state = 5;
this.task[i].sys[2] = 0;
this.data.buff[0] = i;
this.data.buff[1] = 0;
this.data.buff[2] = 5;
this.task[i].buff[16] = this.setEvent(this.HITLINE, this.data);
_root.mc_attack.gotoAndStop(1);
} else {
if (this.game_lv >= this.out_of_wait_lv) {
if (this.out_of_wait_flag == false) {
this.out_of_wait_flag = true;
switch (this.game_lv) {
case 1:
this.out_of_wait = 0;
this.out_of_wait_counter = 2 * this.out_of_wait_lv1;
break;
case 2:
this.out_of_wait = 0;
this.out_of_wait_counter = 2 * this.out_of_wait_lv2;
break;
case 3:
this.out_of_wait = 0;
this.out_of_wait_counter = 2 * this.out_of_wait_lv3;
break;
case 4:
this.out_of_wait = 0;
this.out_of_wait_counter = 2 * this.out_of_wait_lv4;
break;
case 5:
this.out_of_wait = 0;
this.out_of_wait_counter = 2 * this.out_of_wait_lv5;
}
} else {
this.out_of_wait += this.enemyTm;
if (this.out_of_wait >= this.out_of_wait_counter) {
trace('out_of_wait' + this.out_of_wait);
trace('enemyTm' + this.enemyTm);
trace('out_of_wait_counter' + this.out_of_wait_counter);
this.task[i].state = 600;
_root.mc_attack.gotoAndStop(1);
this.task[i].buff[0] = 0;
}
}
}
}
break;
case 600:
++this.task[i].buff[0];
if (this.task[i].buff[0] >= 5) {
this.task[i].buff[0] = 0;
_root.enemy.enemy1.gotoAndStop(2);
this.task[i].state = 601;
}
break;
case 601:
++this.task[i].buff[0];
if (this.task[i].buff[0] == 3) {
_root.enemy.enemy1.gotoAndStop(3);
if (this.reikoDmg(i)) {
} else {
this.task[i].buff[0] = 0;
this.task[i].state = 602;
break;
case 602:
++this.task[i].buff[0];
if (this.task[i].buff[0] >= 15) {
this.task[i].state = 603;
this.out_of_wait_break = true;
}
break;
break;
case 603:
case 5:
++this.task[i].buff[0];
if (this.task[i].sys[2] > 0) {
this.task[this.task[i].sys[4]].state = 2;
this.task[i].sys[4] = -1;
this.task[i].buff[0] = 0;
this.task[i].state = 6;
_root.player.gotoAndStop(3);
} else {
this.task[i].buff[0] = 0;
_root.enemy.enemy1.gotoAndStop(5);
if (this.soundflag == false) {
this.playSE(7);
}
this.task[i].state = 60;
if (this.subMath.pointLength(this.bak_x, this.bak_y, this.now_x, this.now_y) < this.enemyTs) {
if (this.enemyLk > Math.random() * 100) {
_root.enemy.enemy1.gotoAndStop(5);
if (this.soundflag == false) {
this.playSE(7);
}
} else {
if (this.enemy_dmg(i)) {
return undefined;
}
}
} else {
if (this.now_x < this.enemyXX) {
this.task[this.task[i].sys[4]].state = 2;
this.task[i].sys[4] = -1;
_root.player.gotoAndStop(3);
_root.enemy.enemy1.gotoAndStop(5);
if (this.soundflag == false) {
this.playSE(7);
}
this.task[i].buff[0] = 0;
this.task[i].state = 6;
}
if (this.task[i].buff[0] > this.enemyCt) {
this.task[this.task[i].sys[4]].state = 2;
this.task[i].sys[4] = -1;
this.task[i].buff[0] = 4;
this.task[i].state = 60;
}
break;
case 60:
++this.task[i].buff[0];
if (this.task[i].buff[0] >= 5) {
this.task[i].buff[0] = 0;
_root.enemy.enemy1.gotoAndStop(2);
this.task[i].state = 61;
}
break;
case 61:
++this.task[i].buff[0];
if (this.task[i].buff[0] == 3) {
_root.enemy.enemy1.gotoAndStop(3);
if (this.reikoDmg(i)) {
} else {
this.task[i].buff[0] = 0;
this.task[i].state = 6;
break;
case 6:
++this.task[i].buff[0];
if (this.task[i].buff[0] >= 15) {
if (this.turnON) {
this.task[i].state = 300;
} else {
this.task[i].state = 3;
}
}
break;
break;
case 300:
case 10:
_root.mc_evasion.gotoAndStop(2);
_root.player.gotoAndStop(1);
if (this.soundflag == false) {
this.playSE(0);
}
this.callMain();
_root.enemy.enemy1.gotoAndStop(2);
_root.mc_attack.gotoAndStop(1);
this.task[i].buff[0] = 0;
this.task[i].buff[1] = 0;
this.task[i].buff[2] = 0;
this.task[i].buff[3] = 0;
this.task[i].buff[4] = 0;
this.task[i].state = 11;
break;
case 11:
++this.task[i].buff[0];
switch (this.task[i].buff[2]) {
case 0:
this.task[i].buff[1] = this.callMain();
if (this.task[i].buff[1] == 1) {
this.data.buff[0] = 1;
this.data.buff[1] = 5;
this.task[i].sys[4] = this.setEvent(this.MOUSELINEDRAW, this.data);
this.task[i].buff[2] = 1;
_root.mc_evasion.gotoAndStop(1);
_root.mc_counter.gotoAndStop(1);
if (this.soundflag == false) {
this.playSE(2);
}
this.data.buff[1] = 1;
this.task[i].buff[17] = this.setEvent(this.GUID, this.data);
}
break;
case 1:
if (this.subMath.lineCrossPoint(this.swLine, 362, this.swLine, 480, this.bak_x, this.bak_y, this.now_x, this.now_y)) {
if (this.bak_x < this.now_x) {
this.task[this.task[i].sys[4]].state = 2;
this.task[i].sys[4] = -1;
this.task[i].buff[4] = 1;
this.task[i].buff[2] = 100;
}
}
break;
default:
}
if (this.task[i].buff[0] > this.enemyDr - this.enemyRr) {
_root.mc_evasion.gotoAndStop(1);
_root.mc_counter.gotoAndStop(1);
this.task[i].buff[0] = 0;
this.task[i].state = 12;
}
break;
case 12:
++this.task[i].buff[0];
switch (this.task[i].buff[2]) {
case 0:
break;
case 1:
if (this.subMath.lineCrossPoint(this.swLine, 362, this.swLine, 480, this.bak_x, this.bak_y, this.now_x, this.now_y)) {
if (this.bak_x < this.now_x) {
this.task[i].buff[4] = 1;
this.task[i].buff[2] = 100;
}
}
break;
default:
}
if (this.task[i].buff[0] > this.enemyRr) {
this.task[this.task[i].sys[4]].state = 2;
this.task[i].sys[4] = -1;
this.task[i].buff[0] = 0;
this.task[i].state = 13;
}
break;
case 13:
if (this.task[i].buff[4]) {
_root.enemy.enemy1.gotoAndStop(3);
if (this.soundflag == false) {
this.playSE(7);
}
_root.player.gotoAndStop(4);
_root.mc_counter.gotoAndStop(2);
if (this.soundflag == false) {
this.playSE(0);
}
this.task[i].buff[0] = 0;
this.task[i].state = 70;
break;
} else {
if (this.reikoDmg(i)) {
} else {
this.task[i].buff[0] = 0;
this.task[i].state = 20;
if (this.enemyKC > Math.random() * 100) {
this.task[i].state = 50;
}
break;
case 70:
++this.task[i].buff[0];
if (this.task[i].buff[0] > this.hangeki) {
_root.enemy.enemy1.gotoAndStop(1);
_root.mc_counter.gotoAndStop(1);
this.task[i].state = 20;
this.task[i].buff[0] = 10;
} else {
if (this.callMain() == 2) {
this.data.buff[1] = 0;
this.task[i].buff[17] = this.setEvent(this.GUID, this.data);
_root.mc_counter.gotoAndStop(1);
this.data.buff[0] = 0;
this.data.buff[1] = 5;
this.task[i].sys[4] = this.setEvent(this.MOUSELINEDRAW, this.data);
if (this.soundflag == false) {
this.playSE(2);
}
this.task[i].state = 72;
this.task[i].sys[2] = 0;
this.data.buff[0] = i;
this.data.buff[1] = 0;
this.data.buff[2] = 72;
this.task[i].buff[16] = this.setEvent(this.HITLINE, this.data);
}
break;
case 72:
++this.task[i].buff[0];
if (this.task[i].buff[0] > this.hangeki) {
this.task[this.task[i].sys[4]].state = 2;
this.task[i].sys[4] = -1;
_root.enemy.enemy1.gotoAndStop(2);
this.task[i].state = 80;
this.task[i].buff[0] = 0;
} else {
if (this.task[i].sys[2] > 0) {
this.task[this.task[i].sys[4]].state = 2;
this.task[i].sys[4] = -1;
_root.player.gotoAndStop(3);
if (this.enemy_dmg(i)) {
return undefined;
}
this.task[i].state = 20;
this.task[i].buff[0] = 5;
}
break;
case 80:
++this.task[i].buff[0];
if (this.task[i].buff[0] > 5) {
_root.enemy.enemy1.gotoAndStop(3);
if (this.reikoDmg(i)) {
} else {
this.task[i].state = 20;
this.task[i].buff[0] = 0;
break;
case 20:
++this.task[i].buff[0];
if (this.task[i].buff[0] > 15) {
_root.player.gotoAndStop(1);
this.task[i].buff[0] = 0;
if (this.turnON) {
this.task[i].state = 200;
} else {
this.task[i].state = 10;
}
}
break;
case 200:
break;
case 30:
this.data.buff[0] = 10;
this.data.buff[2] = 60;
this.task[this.task[i].buff[18]].state = 100;
this.setBgm(0);
this.setEvent(this.BADEND, this.data);
this.task[i].state = 31;
break;
case 31:
if (this.callMain()) {
this.data.buff[0] = 30;
this.setEvent(this.GAMEOVER, this.data);
this.task[i].state = 32;
}
break;
case 32:
break;
case 100:
++this.task[i].buff[0];
if (this.task[i].buff[0] == 60) {
_root.enemy.enemy1.gotoAndStop(8);
this.task[i].state = 40;
if (this.soundflag == false) {
}
}
break;
case 40:
this.data.buff[0] = 30;
if (this.enemy_num == 4 or this.enemy_num == 2) {
this.data.buff[2] = 240;
} else {
this.data.buff[2] = 60;
}
this.task[this.task[i].buff[18]].state = 100;
this.setBgm(0);
this.setEvent(this.WINER, this.data);
this.task[i].state = 41;
break;
case 41:
if (this.callMain()) {
this.task[this.task[i].buff[18]].state = 3;
this.task[this.task[i].buff[19]].state = 2;
this.allkill();
this.game_st = 1;
switch (this.game_lv) {
case 1:
this.reikoHp += 100;
break;
case 2:
this.reikoHp += 50;
break;
default:
}
if (this.reikoHp > this.reikomax) {
this.reikoHp = this.reikomax;
}
_root.gotoAndStop(this.f_name[2][this.ura_f]);
this.demoNo = this.enemy_num + 2;
this.setBgm(4);
}
break;
case 50:
++this.task[i].buff[0];
if (this.task[i].buff[0] == 10) {
this.task[i].buff[0] = 0;
this.task[i].state = 51;
_root.enemy.enemy1.gotoAndStop(2);
_root.player.gotoAndStop(1);
}
break;
case 51:
++this.task[i].buff[0];
if (this.task[i].buff[0] == 5) {
this.task[i].buff[0] = 0;
this.task[i].state = 52;
_root.enemy.enemy1.gotoAndStop(3);
}
break;
case 52:
if (this.reikoDmg(i)) {
} else {
this.task[i].buff[0] = 0;
this.task[i].state = 20;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
this.enemyFace();
};
v2.talkMain = function (i) {
this.flag = i;
};
v2.callMain = function () {
var v2;
v2 = this.flag;
this.flag = 0;
return v2;
};
v2.timebar = function (i) {
switch (this.task[i].state) {
case 0:
this.out_of_wait_break = false;
_root.time_bar.time_barMC.myber._x = 210;
_root.time_bar.time_barMC.enemybar._x = 10;
_root.marker_flower._x = 278;
_root.time_bar.time_barMC.myber.gotoAndPlay(2);
_root.marker_flower.gotoAndStop(2);
_root.guidance_text.gotoAndStop(2);
this.task[i].state = 1;
case 1:
_root.time_bar.time_barMC.myber._x -= this.enemyTm;
_root.time_bar.time_barMC.enemybar._x -= this.enemyTm;
_root.marker_flower._x -= this.enemyTm;
if (_root.time_bar.time_barMC.myber._x <= 10) {
_root.time_bar.time_barMC.myber._x = 10;
_root.time_bar.time_barMC.enemybar._x = -190;
_root.marker_flower._x = 88;
this.task[i].state = 4;
this.out_of_wait_flag = false;
this.out_of_wait_break = false;
}
if (this.out_of_wait_break) {
this.out_of_wait_break = false;
_root.time_bar.time_barMC.myber._x = 10;
_root.time_bar.time_barMC.enemybar._x = -190;
_root.marker_flower._x = 88;
this.task[i].state = 4;
this.out_of_wait_flag = false;
}
break;
case 2:
_root.time_bar.time_barMC.myber._x += this.enemyTm;
_root.time_bar.time_barMC.enemybar._x += this.enemyTm;
_root.marker_flower._x += this.enemyTm;
if (_root.time_bar.time_barMC.enemybar._x >= 10) {
_root.time_bar.time_barMC.myber._x = 210;
_root.time_bar.time_barMC.enemybar._x = 10;
_root.marker_flower._x = 288;
this.task[i].state = 5;
}
break;
case 3:
this.killtask(i);
break;
case 4:
if (this.turnON) {
if (this.task[this.task[i].buff[0]].state == 300) {
this.ret4(i);
}
} else {
if (this.task[this.task[i].buff[0]].state == 4 || this.task[this.task[i].buff[0]].state == 603) {
this.ret4(i);
}
}
break;
case 5:
if (this.turnON) {
if (this.task[this.task[i].buff[0]].state == 200) {
this.ret5(i);
}
} else {
if (this.task[this.task[i].buff[0]].state == 11) {
this.ret5(i);
}
}
break;
case 100:
}
};
v2.getGameLv = function () {
return this.game_lv;
};
v2.setGameLv = function (lv) {
this.game_lv = lv;
};
v2.setEvent = function (job, setbuff) {
var v2;
var v3;
v3 = this.settask(job);
if (v3 < 0) {
return -1;
}
v2 = 0;
while (v2 != duplex.Buffer.MAXBUFF) {
this.task[v3].buff[v2] = setbuff.buff[v2];
++v2;
}
this.task[v3].myNum = v3;
this.task[v3].state = 0;
return v3;
};
v2.killtask = function (i) {
if (this.task[i].sys[0] > -1) {
this.delMc(i);
}
this.taskobj[i] = -1;
};
v2.setBgm = function (no) {
--no;
if (no < 0) {
this.bgmstop(this.nowBGM);
return undefined;
} else {
if (this.nowBGM != no) {
this.bgmstop(this.nowBGM);
} else {
return undefined;
}
}
this.musicObj[no].initPlay();
this.musicObj[no].setLoopPoint(duplex.data.MusicLib.MusLoopPoint[no]);
this.musicObj[no].startPlay(0);
this.nowBGM = no;
};
v2.playSE = function (i) {
this.soundObj[i].start(0);
};
v2.ret4 = function (i) {
this.task[i].state = 2;
_root.time_bar.time_barMC.myber.gotoAndStop(1);
_root.time_bar.time_barMC.enemybar.gotoAndPlay(2);
_root.marker_flower.gotoAndStop(3);
_root.guidance_text.gotoAndStop(3);
this.task[this.task[i].buff[0]].state = 10;
_root.mc_evasion.gotoAndStop(1);
_root.mc_counter.gotoAndStop(1);
_root.mc_attack.gotoAndStop(1);
this.task[this.task[this.task[i].buff[0]].sys[4]].state = 2;
this.task[this.task[i].buff[0]].sys[4] = -1;
};
v2.ret5 = function (i) {
this.task[i].state = 1;
_root.time_bar.time_barMC.myber.gotoAndPlay(2);
_root.time_bar.time_barMC.enemybar.gotoAndStop(1);
_root.marker_flower.gotoAndStop(2);
_root.guidance_text.gotoAndStop(2);
this.task[this.task[i].buff[0]].state = 3;
_root.mc_evasion.gotoAndStop(1);
_root.mc_counter.gotoAndStop(1);
_root.mc_attack.gotoAndStop(1);
this.task[this.task[this.task[i].buff[0]].sys[4]].state = 2;
this.task[this.task[i].buff[0]].sys[4] = -1;
};
v2.settask = function (job) {
var v2;
v2 = 0;
while (v2 != duplex.Game_systemB.maxtask) {
if (this.taskobj[v2] < 0) {
this.taskobj[v2] = job;
return v2;
}
++v2;
}
return -1;
};
v2.allkill = function () {
var v2;
v2 = 0;
while (v2 != duplex.Game_systemB.maxtask) {
this.taskobj[v2] = -1;
if (this.mcb[v2] == true) {
this.mcm[v2].removeMovieClip();
this.mcb[v2] = false;
}
++v2;
}
v2 = 0;
while (v2 != duplex.Game_systemB.maxlayer) {
this.mckaisou[v2] = false;
++v2;
}
};
v2.bgmstop = function (no) {
if (no == -1) {
return undefined;
}
this.musicObj[this.nowBGM].stop();
this.nowBGM = -1;
};
v2.setHp = function () {
var v5;
var v6;
var v2 = 1;
var v4 = 28;
var v3 = 15;
while (this.enemyHp > v2) {
this.data.buff[0] = v2;
this.data.buff[1] = v3;
v5 = this.setEvent(this.TUBAKI, this.data);
this.setMcEvent(v5, this.TUBAKI, v4, 446);
v2 += this.hpwari;
v3 += 2;
v4 += 30;
}
v2 = 1;
v4 = 685;
v3 = 15;
while (this.reikoHp > v2) {
this.data.buff[0] = v2;
this.data.buff[1] = v3;
v5 = this.setEvent(this.BARA, this.data);
this.setMcEvent(v5, this.BARA, v4, 446);
v2 += this.myhpwari;
v3 += 2;
v4 -= 30;
}
};
v2.setMcEvent = function (tk, num, x, y) {
var v3;
var v6;
var v4 = false;
switch (num) {
case this.TUBAKI:
v3 = this.getMcNum();
if (v3 > -1) {
this.mcm[v3] = this.defaultMC.attachMovie('life_camellia', 'life_camellia' + this.defaultMC.getNextHighestDepth(), this.defaultMC.getNextHighestDepth());
v4 = true;
}
break;
case this.BARA:
v3 = this.getMcNum();
if (v3 > -1) {
this.mcm[v3] = this.defaultMC.attachMovie('life_rose', 'life_rose' + this.defaultMC.getNextHighestDepth(), this.defaultMC.getNextHighestDepth());
v4 = true;
}
break;
case this.START:
v3 = this.getMcNum();
if (v3 > -1) {
this.mcm[v3] = this.defaultMC.attachMovie('mcText_start', 'mcText_start' + this.defaultMC.getNextHighestDepth(), this.defaultMC.getNextHighestDepth());
v4 = true;
}
break;
case this.KOBARA:
v3 = this.getMcNum();
if (v3 > -1) {
this.mcm[v3] = _root.LevelMC.attachMovie('life_rose', 'life_rose' + _root.LevelMC.getNextHighestDepth(), _root.LevelMC.getNextHighestDepth());
this.mcm[v3].gotoAndStop('Birth');
this.mcm[v3]._height = 14.9;
this.mcm[v3]._width = 15.3;
v4 = true;
}
break;
case this.BADEND:
v3 = this.getMcNum();
if (v3 > -1) {
this.mcm[v3] = this.defaultMC.attachMovie('mcText_lose', 'mcText_lose' + this.defaultMC.getNextHighestDepth(), this.defaultMC.getNextHighestDepth());
v4 = true;
}
break;
case this.WINER:
v3 = this.getMcNum();
if (v3 > -1) {
this.mcm[v3] = this.defaultMC.attachMovie('mcText_win', 'mcText_win' + this.defaultMC.getNextHighestDepth(), this.defaultMC.getNextHighestDepth());
v4 = true;
}
break;
case this.GAMEOVER:
v3 = this.getMcNum();
if (v3 > -1) {
this.mcm[v3] = this.defaultMC.attachMovie('mcText_gameover', 'mcText_gameover' + this.defaultMC.getNextHighestDepth(), this.defaultMC.getNextHighestDepth());
v4 = true;
}
}
if (v4) {
this.mcm[v3]._x = x;
this.mcm[v3]._y = y;
this.task[tk].sys[0] = v3;
this.task[tk].sys[1] = v6;
}
return v4;
};
v2.getMcNum = function () {
var v2;
v2 = 0;
while (v2 != duplex.Game_systemB.maxtask) {
if (this.mcb[v2] == false) {
this.mcb[v2] = true;
return v2;
}
++v2;
}
return -1;
};
v2.hpwari = 1000;
v2.myhpwari = 250;
v2.criticalhit = 5;
v2.swLine = 500;
v2.reikomax = 1500;
v2.debug = false;
v2.turnON = false;
v2.TUBAKI = 1;
v2.BARA = 2;
v2.START = 3;
v2.KOBARA = 4;
v2.GAMEMAIN = 5;
v2.TIME = 6;
v2.BADEND = 7;
v2.WINER = 8;
v2.GUID = 9;
v2.MYCHAR = 10;
v2.TEKI = 11;
v2.HITLINE = 12;
v2.BGMCHECKER = 13;
v2.GAMEOVER = 14;
v2.MOUSELINEDRAW = 15;
v1.maxtask = 100;
v1.maxlayer = 100;
v2.out_of_wait_lv = 4;
v2.out_of_wait_lv1 = 100;
v2.out_of_wait_lv2 = 100;
v2.out_of_wait_lv3 = 100;
v2.out_of_wait_lv4 = 70;
v2.out_of_wait_lv5 = 50;
ASSetPropFlags(duplex.Game_systemB.prototype, null, 1);
}
#endinitclip
}
movieClip 686 __Packages.duplex.Buffer {
#initclip
if (!_global.duplex) {
_global.duplex = new Object();
}
if (!_global.duplex.Buffer) {
var v1 = function () {
var v2;
this.buff = new Array(duplex.Buffer.MAXBUFF);
this.sys = new Array(duplex.Buffer.SYSTEM);
v2 = 0;
while (v2 != duplex.Buffer.MAXBUFF) {
this.buff[v2] = 0;
++v2;
}
v2 = 0;
while (v2 != duplex.Buffer.SYSTEM) {
this.sys[v2] = 0;
++v2;
}
this.myNum = -1;
this.state = -1;
};
duplex.Buffer = v1;
var v2 = v1.prototype;
v1.MAXBUFF = 20;
v1.SYSTEM = 5;
ASSetPropFlags(duplex.Buffer.prototype, null, 1);
}
#endinitclip
}
movieClip 687 __Packages.duplex.Sub {
#initclip
if (!_global.duplex) {
_global.duplex = new Object();
}
if (!_global.duplex.Sub) {
var v1 = function () {};
duplex.Sub = v1;
var v2 = v1.prototype;
v2.lineCrossPoint = function (sx1, sy1, sx2, sy2, dx1, dy1, dx2, dy2) {
var v6;
var v5;
v6 = dx2 - dx1;
v5 = dy2 - dy1;
var v18 = sx2 - sx1;
var v14 = sy2 - sy1;
var v2 = -v14;
var v1 = v18;
var v3 = Math.sqrt(v2 * v2 + v1 * v1);
if (v3 > 0) {
v3 = 1 / v3;
}
v2 *= v3;
v1 *= v3;
var v9 = -(sx1 * v2 + sy1 * v1);
var v4 = -(v2 * dx1 + v1 * dy1 + v9) / (v2 * v6 + v1 * v5);
var v8 = dx1 + v6 * v4;
var v7 = dy1 + v5 * v4;
var v15 = v8 - sx1;
var v11 = v7 - sy1;
var v20 = v8 - sx2;
var v19 = v7 - sy2;
var v10 = v15 * v20 + v11 * v19;
if (v10 < 0) {
if (v4 > 0 && v4 <= 1) {
return true;
}
}
return false;
};
v2.pointLength = function (ax, ay, bx, by) {
var v2 = bx - ax;
var v1 = by - ay;
return Math.sqrt(v2 * v2 + v1 * v1);
};
v2.getC = function (x1, y1, x2, y2) {
var v1;
x1 = x2 - x1;
y1 = y2 - y1;
v1 = Math.atan2(y1, x1);
v1 /= Math.PI;
v1 *= 180;
return v1;
};
v2.getBezPoint = function (p0, p1, p2, d) {
var v2 = {'x': 0, 'y': 0};
var v1 = (1 - d) * (1 - d);
v2.x += v1 * p0.x;
v2.y += v1 * p0.y;
v1 = 2 * d * (1 - d);
v2.x += v1 * p1.x;
v2.y += v1 * p1.y;
v1 = d * d;
v2.x += v1 * p2.x;
v2.y += v1 * p2.y;
return v2;
};
ASSetPropFlags(duplex.Sub.prototype, null, 1);
}
#endinitclip
}
movieClip 688 __Packages.duplex.ATask {
#initclip
if (!_global.duplex) {
_global.duplex = new Object();
}
if (!_global.duplex.ATask) {
var v1 = function () {};
duplex.ATask = v1;
var v2 = v1.prototype;
v2.inidata = function (ob, no) {
switch (no) {
case 0:
ob.enemyHp = 3000;
ob.enemyMh = 3000;
ob.enemyLk = 5;
ob.enemyPw = 20;
ob.enemyTs = 80;
ob.enemyCt = 60;
ob.enemyDr = 35;
ob.enemyRr = 2;
ob.enemyX1 = 248;
ob.enemyY1 = 127;
ob.enemyX2 = 240;
ob.enemyY2 = 237;
ob.enemyX1b = 263;
ob.enemyY1b = 145;
ob.enemyX2b = 256;
ob.enemyY2b = 227;
ob.enemyX1c = 312;
ob.enemyY1c = 211;
ob.enemyX2c = 306;
ob.enemyY2c = 233;
ob.enemyXX = 150;
ob.enemyKC = 40;
ob.hangeki = 35;
ob.enemyTm = 3;
_root.background.gotoAndStop('St1');
ob.setBgm(1);
ob.enemyNum = 0;
break;
case 1:
ob.enemyHp = 4000;
ob.enemyMh = 4000;
ob.enemyLk = 8;
ob.enemyPw = 50;
ob.enemyTs = 110;
ob.enemyCt = 50;
ob.enemyDr = 35;
ob.enemyRr = 3;
ob.enemyX1 = 247;
ob.enemyY1 = 128;
ob.enemyX2 = 235;
ob.enemyY2 = 207;
ob.enemyX1b = 270;
ob.enemyY1b = 116;
ob.enemyX2b = 254;
ob.enemyY2b = 204;
ob.enemyX1c = 331;
ob.enemyY1c = 173;
ob.enemyX2c = 328;
ob.enemyY2c = 189;
ob.enemyXX = 100;
ob.enemyKC = 8;
ob.hangeki = 40;
ob.enemyTm = 3;
_root.background.gotoAndStop('St2');
ob.setBgm(1);
ob.enemyNum = 0;
break;
case 2:
ob.enemyHp = 3500;
ob.enemyMh = 3500;
ob.enemyLk = 20;
ob.enemyPw = 110;
ob.enemyTs = 130;
ob.enemyCt = 40;
ob.enemyDr = 40;
ob.enemyRr = 4;
ob.enemyX1 = 362;
ob.enemyY1 = 59;
ob.enemyX2 = 341;
ob.enemyY2 = 142;
ob.enemyX1b = 390;
ob.enemyY1b = 89;
ob.enemyX2b = 361;
ob.enemyY2b = 146;
ob.enemyX1c = 453;
ob.enemyY1c = 98;
ob.enemyX2c = 452;
ob.enemyY2c = 117;
ob.enemyXX = 120;
ob.enemyKC = 5;
ob.hangeki = 35;
ob.enemyTm = 2;
_root.background.gotoAndStop('St3');
ob.setBgm(1);
ob.enemyNum = 1;
break;
case 3:
ob.enemyHp = 4500;
ob.enemyMh = 4500;
ob.enemyLk = 25;
ob.enemyPw = 70;
ob.enemyTs = 150;
ob.enemyCt = 30;
ob.enemyDr = 30;
ob.enemyRr = 5;
ob.enemyX1 = 200;
ob.enemyY1 = 96;
ob.enemyX2 = 210;
ob.enemyY2 = 184;
ob.enemyX1b = 235;
ob.enemyY1b = 128;
ob.enemyX2b = 232;
ob.enemyY2b = 172;
ob.enemyX1c = 297;
ob.enemyY1c = 187;
ob.enemyX2c = 291;
ob.enemyY2c = 202;
ob.enemyXX = 150;
ob.enemyKC = 20;
ob.hangeki = 30;
ob.enemyTm = 4;
_root.background.gotoAndStop('St4');
ob.setBgm(2);
ob.enemyNum = 0;
break;
case 4:
ob.enemyHp = 7500;
ob.enemyMh = 7500;
ob.enemyLk = 30;
ob.enemyPw = 130;
ob.enemyTs = 160;
ob.enemyCt = 25;
ob.enemyDr = 35;
ob.enemyRr = 6;
ob.enemyX1 = 256;
ob.enemyY1 = 97;
ob.enemyX2 = 239;
ob.enemyY2 = 162;
ob.enemyX1b = 272;
ob.enemyY1b = 122;
ob.enemyX2b = 259;
ob.enemyY2b = 149;
ob.enemyX1c = 376;
ob.enemyY1c = 128;
ob.enemyX2c = 376;
ob.enemyY2c = 147;
ob.enemyXX = 150;
ob.enemyKC = 10;
ob.hangeki = 30;
ob.enemyTm = 4;
_root.background.gotoAndStop('St5');
ob.setBgm(3);
ob.enemyNum = 0;
break;
ob.enemyNum = 2;
}
ob.data.buff[0] = 30;
ob.data.buff[2] = 30;
ob.setEvent(ob.START, ob.data);
_root.enemy.gotoAndStop(no + 1);
_root.enemyname.enemynameMC.gotoAndStop(no + 1);
ob.guid_esc = false;
ob.guid_atk = false;
ob.enemyHp += (ob.enemyHp / 4) * (ob.game_lv - 1);
ob.enemyLk += (ob.enemyLk / 4) * (ob.game_lv - 1);
ob.enemyPw += (ob.enemyPw / 10) * (ob.game_lv - 1);
ob.enemyDr -= 2 * (ob.game_lv - 1);
ob.hangeki -= 2 * (ob.game_lv - 1);
};
ASSetPropFlags(duplex.ATask.prototype, null, 1);
}
#endinitclip
}
movieClip 689 __Packages.duplex.BTask {
#initclip
if (!_global.duplex) {
_global.duplex = new Object();
}
if (!_global.duplex.BTask) {
var v1 = function () {};
duplex.BTask = v1;
var v2 = v1.prototype;
v2.inidata = function (ob, no) {
switch (no) {
case 0:
ob.enemyHp = 3500;
ob.enemyMh = 3500;
ob.enemyLk = 8;
ob.enemyPw = 50;
ob.enemyTs = 100;
ob.enemyCt = 45;
ob.enemyDr = 30;
ob.enemyRr = 4;
ob.enemyX1 = 292;
ob.enemyY1 = 110;
ob.enemyX2 = 277;
ob.enemyY2 = 218;
ob.enemyX1b = 302;
ob.enemyY1b = 157;
ob.enemyX2b = 297;
ob.enemyY2b = 192;
ob.enemyX1c = 349;
ob.enemyY1c = 178;
ob.enemyX2c = 346;
ob.enemyY2c = 193;
ob.enemyXX = 150;
ob.enemyKC = 25;
ob.hangeki = 30;
ob.enemyTm = 2;
_root.background.gotoAndStop('Nomal');
ob.setBgm(2);
ob.enemyNum = 0;
break;
case 1:
ob.enemyHp = 4200;
ob.enemyMh = 4200;
ob.enemyLk = 15;
ob.enemyPw = 70;
ob.enemyTs = 130;
ob.enemyCt = 50;
ob.enemyDr = 35;
ob.enemyRr = 4;
ob.enemyX1 = 286;
ob.enemyY1 = 138;
ob.enemyX2 = 245;
ob.enemyY2 = 245;
ob.enemyX1b = 292;
ob.enemyY1b = 211;
ob.enemyX2b = 268;
ob.enemyY2b = 235;
ob.enemyX1c = 332;
ob.enemyY1c = 236;
ob.enemyX2c = 324;
ob.enemyY2c = 251;
ob.enemyXX = 150;
ob.enemyKC = 6;
ob.hangeki = 45;
ob.enemyTm = 3;
_root.background.gotoAndStop('Nomal');
ob.setBgm(2);
ob.enemyNum = 0;
break;
case 2:
ob.enemyHp = 4000;
ob.enemyMh = 4000;
ob.enemyLk = 20;
ob.enemyPw = 40;
ob.enemyTs = 100;
ob.enemyCt = 50;
ob.enemyDr = 30;
ob.enemyRr = 4;
ob.enemyX1 = 342;
ob.enemyY1 = 132;
ob.enemyX2 = 333;
ob.enemyY2 = 233;
ob.enemyX1b = 373;
ob.enemyY1b = 183;
ob.enemyX2b = 371;
ob.enemyY2b = 217;
ob.enemyX1c = 408;
ob.enemyY1c = 196;
ob.enemyX2c = 407;
ob.enemyY2c = 218;
ob.enemyXX = 90;
ob.enemyKC = 30;
ob.hangeki = 30;
ob.enemyTm = 3;
_root.background.gotoAndStop('Nomal');
ob.setBgm(2);
ob.enemyNum = 0;
break;
case 3:
ob.enemyHp = 4500;
ob.enemyMh = 4500;
ob.enemyLk = 30;
ob.enemyPw = 120;
ob.enemyTs = 160;
ob.enemyCt = 40;
ob.enemyDr = 40;
ob.enemyRr = 5;
ob.enemyX1 = 306;
ob.enemyY1 = 68;
ob.enemyX2 = 268;
ob.enemyY2 = 176;
ob.enemyX1b = 319;
ob.enemyY1b = 67;
ob.enemyX2b = 312;
ob.enemyY2b = 98;
ob.enemyX1c = 363;
ob.enemyY1c = 78;
ob.enemyX2c = 355;
ob.enemyY2c = 108;
ob.enemyXX = 90;
ob.enemyKC = 4;
ob.hangeki = 40;
ob.enemyTm = 2;
_root.background.gotoAndStop('Nomal');
ob.setBgm(2);
ob.enemyNum = 1;
break;
case 4:
ob.enemyHp = 3500;
ob.enemyMh = 3500;
ob.enemyLk = 40;
ob.enemyPw = 160;
ob.enemyTs = 180;
ob.enemyCt = 30;
ob.enemyDr = 25;
ob.enemyRr = 6;
ob.enemyX1 = 304;
ob.enemyY1 = 117;
ob.enemyX2 = 296;
ob.enemyY2 = 198;
ob.enemyX1b = 342;
ob.enemyY1b = 178;
ob.enemyX2b = 340;
ob.enemyY2b = 190;
ob.enemyX1c = 392;
ob.enemyY1c = 202;
ob.enemyX2c = 391;
ob.enemyY2c = 210;
ob.enemyXX = 80;
ob.enemyKC = 15;
ob.hangeki = 25;
ob.enemyTm = 5;
_root.background.gotoAndStop('Boss');
ob.setBgm(3);
ob.enemyNum = 2;
break;
ob.enemyNum = 2;
}
ob.data.buff[0] = 30;
ob.data.buff[2] = 30;
ob.setEvent(ob.START, ob.data);
_root.enemy.gotoAndStop(no + 1);
_root.enemyname.enemynameMC.gotoAndStop(no + 1);
ob.guid_esc = false;
ob.guid_atk = false;
ob.enemyHp += (ob.enemyHp / 4) * (ob.game_lv - 1);
ob.enemyLk += (ob.enemyLk / 4) * (ob.game_lv - 1);
ob.enemyPw += 3 * (ob.game_lv - 1);
ob.enemyDr -= 2 * (ob.game_lv - 1);
ob.hangeki -= 2 * (ob.game_lv - 1);
};
ASSetPropFlags(duplex.BTask.prototype, null, 1);
}
#endinitclip
}
movieClip 690 __Packages.duplex.MouseLine {
#initclip
if (!_global.duplex) {
_global.duplex = new Object();
}
if (!_global.duplex.MouseLine) {
var v1 = function (myMC, st, nm, dep) {
var v2;
var v3;
this.po = new Array(3);
v2 = 0;
while (v2 < 3) {
this.po[v2] = {'x': 0, 'y': 0};
++v2;
}
this.ob = {'x': -1, 'y': -1};
this.name = nm;
this.defaultMC = myMC.createEmptyMovieClip(st, dep);
v3 = this.defaultMC.attachMovie(this.name, this.name + this.defaultMC.getNextHighestDepth(), this.defaultMC.getNextHighestDepth());
this.maxFrame = v3._totalframes;
v3.removeMovieClip();
this.lineMc = new Array(4);
v2 = 0;
while (v2 != 4) {
this.lineMc[v2] = new Array(this.maxFrame + 2);
++v2;
}
this.lineFl = new Array(this.maxFrame + 2);
v2 = 0;
while (v2 != this.maxFrame + 2) {
this.lineFl[v2] = -1;
++v2;
}
this.myMath = new duplex.Sub();
};
duplex.MouseLine = v1;
var v2 = v1.prototype;
v2.drawLine = function (x1, y1, x2, y2) {
var v3;
var v11;
var v10;
var v9;
var v2 = {'x': 0, 'y': 0};
var v4 = {'x': 0, 'y': 0};
v3 = 0;
while (v3 != this.maxFrame + 2) {
if (this.lineFl[v3] == -1) {
this.lineFl[v3] = this.maxFrame - 1;
if (this.ob.x == -1) {
this.po[1].x = x1;
this.po[0].x = this.po[1].x;
this.po[1].y = y1;
this.po[0].y = this.po[1].y;
this.po[2].x = x2;
this.po[2].y = y2;
} else {
this.po[0].x = x1;
this.po[0].y = y1;
this.po[1].x = this.ob.x;
this.po[1].y = this.ob.y;
this.po[2].x = x2;
this.po[2].y = y2;
}
this.lineMc[0][v3] = this.defaultMC.attachMovie(this.name, this.name + this.defaultMC.getNextHighestDepth(), this.defaultMC.getNextHighestDepth());
v2 = this.myMath.getBezPoint(this.po[0], this.po[1], this.po[2], 0.25);
this.sumPoint(x1, y1, v2.x, v2.y, 0, v3);
v4.x = v2.x;
v4.y = v2.y;
this.lineMc[1][v3] = this.defaultMC.attachMovie(this.name, this.name + this.defaultMC.getNextHighestDepth(), this.defaultMC.getNextHighestDepth());
v2 = this.myMath.getBezPoint(this.po[0], this.po[1], this.po[2], 0.5);
this.sumPoint(v4.x, v4.y, v2.x, v2.y, 1, v3);
v4.x = v2.x;
v4.y = v2.y;
this.lineMc[2][v3] = this.defaultMC.attachMovie(this.name, this.name + this.defaultMC.getNextHighestDepth(), this.defaultMC.getNextHighestDepth());
v2 = this.myMath.getBezPoint(this.po[0], this.po[1], this.po[2], 0.75);
this.sumPoint(v4.x, v4.y, v2.x, v2.y, 2, v3);
v4.x = v2.x;
v4.y = v2.y;
this.lineMc[3][v3] = this.defaultMC.attachMovie(this.name, this.name + this.defaultMC.getNextHighestDepth(), this.defaultMC.getNextHighestDepth());
v2 = this.myMath.getBezPoint(this.po[0], this.po[1], this.po[2], 1);
this.sumPoint(v4.x, v4.y, v2.x, v2.y, 3, v3);
v10 = x2 - v4.x;
v9 = y2 - v4.y;
this.ob.x = x2 + v10;
this.ob.y = y2 + v9;
break;
}
++v3;
}
v3 = 0;
while (v3 != this.maxFrame + 2) {
if (this.lineFl[v3] > 0) {
this.lineLife(v3);
}
++v3;
}
};
v2.sumPoint = function (x1, y1, x2, y2, j, i) {
this.lineMc[j][i].blendMode = 8;
this.lineMc[j][i]._alpha = 60;
this.lineMc[j][i]._height = this.myMath.pointLength(x1, y1, x2, y2) + this.lineMc[j][i]._width / 2;
this.lineMc[j][i]._rotation = this.myMath.getC(x1, y1, x2, y2) + 90;
this.lineMc[j][i]._x = Math.abs((x2 + x1) / 2);
this.lineMc[j][i]._y = Math.abs((y2 + y1) / 2);
};
v2.lineLife = function (i) {
--this.lineFl[i];
if (this.lineFl[i] == 0) {
this.lineMc[0][i].removeMovieClip();
this.lineMc[1][i].removeMovieClip();
this.lineMc[2][i].removeMovieClip();
this.lineMc[3][i].removeMovieClip();
this.lineFl[i] = -1;
}
};
v2.setAlpha = function (i) {
this.defaultMC._alpha = i;
};
v2.final = function () {
var v2;
v2 = 0;
while (v2 != this.maxFrame + 2) {
if (this.lineFl[v2] > -1) {
this.lineMc[0][v2].removeMovieClip();
this.lineMc[1][v2].removeMovieClip();
this.lineMc[2][v2].removeMovieClip();
this.lineMc[3][v2].removeMovieClip();
this.lineFl[v2] = -1;
}
++v2;
}
this.defaultMC._alpha = 100;
this.ob.x = -1;
this.ob.y = -1;
};
ASSetPropFlags(duplex.MouseLine.prototype, null, 1);
}
#endinitclip
}
movieClip 691 __Packages.duplex.data.SoundLib {
#initclip
if (!_global.duplex) {
_global.duplex = new Object();
}
if (!_global.duplex.data) {
_global.duplex.data = new Object();
}
if (!_global.duplex.data.SoundLib) {
var v1 = function () {};
duplex.data.SoundLib = v1;
var v2 = v1.prototype;
v1.SOUNDS = ['clickok', 'doorwav', 'drugok', 'hanae_finalhit', 'hanae_hit1', 'hanae_hit2', 'hanae_miss', 'miss', 'mita_finalhit', 'mita_hit1', 'mita_hit2', 'mita_miss', 'reiko_down', 'reiko_finalhit', 'reiko_hit1', 'reiko_hit2', 'saori_finalhit', 'saori_hit1', 'saori_hit2', 'tsubaki_finalhit', 'tsubaki_hit1', 'tsubaki_hit2', 'tsubaki_hit3', 'tsubaki_miss', 'tsubaki_out', 'turn_start.wav', 'kaminari', 'kasuga_hit2', 'm_miss'];
v1.CHAR_SOUND = [[17, 18, 7, 16], [17, 18, 7, 16], [9, 10, 11, 8], [4, 27, 6, 3], [20, 26, 28, 19]];
ASSetPropFlags(duplex.data.SoundLib.prototype, null, 1);
}
#endinitclip
}
movieClip 692 __Packages.duplex.data.MusicLib {
#initclip
if (!_global.duplex) {
_global.duplex = new Object();
}
if (!_global.duplex.data) {
_global.duplex.data = new Object();
}
if (!_global.duplex.data.MusicLib) {
var v1 = function () {};
duplex.data.MusicLib = v1;
var v2 = v1.prototype;
v1.MUSICS = ['nf', 'jizel', 'bf', 'titlebgm', 'demobgm'];
v1.MusLoopPoint = [58, 44, 187, 105, 14];
ASSetPropFlags(duplex.data.MusicLib.prototype, null, 1);
}
#endinitclip
}
movieClip 693 __Packages.duplex.Game_system {
#initclip
if (!_global.duplex) {
_global.duplex = new Object();
}
if (!_global.duplex.Game_system) {
var v1 = function (mmc) {
super();
var v4;
if (this.debug) {
this.damage_keisu = 10;
} else {
this.damage_keisu = 1;
}
this.defaultMC = mmc;
this.at = new duplex.ATask();
this.bt = new duplex.BTask();
this.mline = new duplex.MouseLine(mmc, 'paunch', 'LineMC', 100);
this.mlinef = -1;
this.eline = new duplex.MouseLine(mmc, 'escape', 'LineMC', 500);
this.elinef = -1;
this.game_st = 0;
this.game_lv = 3;
this.muteki = false;
this.counter = 0;
this.taskobj = new Array(duplex.Game_systemB.maxtask);
this.task = new Array(duplex.Game_systemB.maxtask);
this.mcm = new Array(duplex.Game_systemB.maxtask);
this.mcb = new Array(duplex.Game_systemB.maxtask);
v4 = 0;
while (v4 != duplex.Game_systemB.maxtask) {
this.taskobj[v4] = -1;
this.task[v4] = new duplex.Buffer();
this.task[v4].sys[0] = -1;
this.task[v4].sys[1] = -1;
this.task[v4].sys[2] = -1;
this.task[v4].sys[3] = -1;
this.task[v4].sys[4] = -1;
this.mcb[v4] = false;
++v4;
}
this.mckaisou = new Array(duplex.Game_systemB.maxlayer);
v4 = 0;
while (v4 != duplex.Game_systemB.maxlayer) {
this.mckaisou[v4] = false;
++v4;
}
this.data = new duplex.Buffer();
this.bak_x = _root._xmouse;
this.now_x = this.bak_x;
this.bak_y = _root._ymouse;
this.now_y = this.bak_y;
this.soundflag = false;
this.bgmMC = (nigoro.lib.samieru.NigoroFlashManager.getBgmLayer()).createEmptyMovieClip('BGMMC', this.defaultMC.getNextHighestDepth());
this.soundMC = this.defaultMC.createEmptyMovieClip('SMC', this.defaultMC.getNextHighestDepth());
this.musicObj = new Array(duplex.data.MusicLib.MUSICS.length);
v4 = 0;
while (v4 < duplex.data.MusicLib.MUSICS.length) {
this.musicObj[v4] = new nigoro.lib.samieru.sound.MusicPlayer(this.bgmMC);
this.musicObj[v4].attachSound(duplex.data.MusicLib.MUSICS[v4]);
++v4;
}
this.soundObj = new Array(duplex.data.SoundLib.SOUNDS.length);
v4 = 0;
while (v4 < duplex.data.SoundLib.SOUNDS.length) {
this.soundObj[v4] = new Sound(this.soundMC);
this.soundObj[v4].attachSound(duplex.data.SoundLib.SOUNDS[v4]);
++v4;
}
this.nowBGM = -1;
this.demoNo = 1;
this.subMath = new duplex.Sub();
if (this.debug) {
this.line_mc = this.defaultMC.createEmptyMovieClip('line_mc', 1);
}
this.ura_f = 0;
this.f_name = [['main', 'main2'], ['title', 'title2'], ['demo', 'demo2']];
};
duplex.Game_system = v1;
duplex.Game_system extends duplex.Game_systemB;
var v2 = v1.prototype;
v2.gameMain = function () {
var v3;
this.bak_x = this.now_x;
this.bak_y = this.now_y;
this.now_x = _root._xmouse;
this.now_y = _root._ymouse;
switch (this.game_st) {
case 0:
if (this.ura_f == 0) {
this.enemy_num = 0;
} else {
this.enemy_num = 5;
}
this.flag = 0;
this.muteki = false;
this.reikoHp = 1000;
this.out_of_num = 0;
_root.gotoAndStop(this.f_name[1][this.ura_f]);
this.setBgm(4);
this.demoNo = 1;
this.game_st = 1;
break;
case 1:
if (this.debug) {
if (Key.isDown(49)) {
this.enemy_num = 0;
this.playSE(12);
this.game_st = 50;
} else {
if (Key.isDown(50)) {
this.enemy_num = 1;
this.playSE(12);
this.game_st = 50;
} else {
if (Key.isDown(51)) {
this.enemy_num = 2;
this.playSE(12);
this.game_st = 50;
} else {
if (Key.isDown(52)) {
this.enemy_num = 3;
this.playSE(12);
this.game_st = 50;
} else {
if (Key.isDown(53)) {
this.enemy_num = 4;
this.playSE(12);
this.game_st = 50;
} else {
if (Key.isDown(69)) {
this.playSE(2);
this.muteki = true;
} else {
if (Key.isDown(82)) {
this.playSE(3);
this.muteki = false;
} else {
if (this.ura_f == 0) {
this.enemy_num = 0;
} else {
this.enemy_num = 5;
}
break;
case 2:
this.setEvent2(this.GAMEMAIN, this.data, 50);
_root.gotoAndStop(this.f_name[0][this.ura_f]);
this.game_st = 100;
break;
case 50:
this.game_st = 100;
_root.gotoAndStop(this.f_name[0][this.ura_f]);
this.setEvent2(this.GAMEMAIN, this.data, 50);
break;
case 100:
this.game_st = 101;
break;
case 101:
}
}
}
}
}
}
}
}
}
this.taskloop();
};
v2.taskloop = function () {
var v2;
v2 = 0;
while (v2 != duplex.Game_systemB.maxtask) {
switch (this.taskobj[v2]) {
case this.TUBAKI:
this.tubakiHpDraw(v2);
break;
case this.BARA:
this.barahpDraw(v2);
break;
case this.START:
this.startDraw(v2);
break;
case this.KOBARA:
this.kobaraKanri(v2);
break;
case this.GAMEMAIN:
this.gameMainProg(v2);
break;
case this.TIME:
this.timebar(v2);
break;
case this.BADEND:
this.badendDraw(v2);
break;
case this.WINER:
this.winerDraw(v2);
break;
case this.GUID:
this.guidance(v2);
break;
case this.HITLINE:
this.nagurikiseki(v2);
break;
case this.BGMCHECKER:
this.bgmloop(v2);
break;
case this.GAMEOVER:
this.gameoverDraw(v2);
break;
case this.MOUSELINEDRAW:
this.dlkanri(v2);
break;
break;
case -1:
default:
}
++v2;
}
};
v2.settask2 = function (job, st) {
var v2;
v2 = st;
while (v2 < duplex.Game_systemB.maxtask) {
if (this.taskobj[v2] < 0) {
this.taskobj[v2] = job;
return v2;
}
++v2;
}
return -1;
};
v2.setEvent2 = function (job, setbuff, st) {
var v2;
var v3;
v3 = this.settask2(job, st);
if (v3 < 0) {
return -1;
}
v2 = 0;
while (v2 != duplex.Buffer.MAXBUFF) {
this.task[v3].buff[v2] = setbuff.buff[v2];
++v2;
}
this.task[v3].myNum = v3;
this.task[v3].state = 0;
return v3;
};
v2.dlkanri = function (i) {
if (this.task[i].buff[0] == 0) {
switch (this.task[i].state) {
case 0:
this.task[i].buff[2] = 100;
this.task[i].state = 1;
if (this.mlinef != -1) {
this.killtask(this.mlinef);
this.mline.final();
}
this.mlinef = i;
case 1:
this.mline.drawLine(this.bak_x, this.bak_y, this.now_x, this.now_y);
break;
case 2:
this.mline.drawLine(this.bak_x, this.bak_y, this.now_x, this.now_y);
this.task[i].state = 10;
case 10:
this.task[i].buff[2] -= this.task[i].buff[1];
if (this.task[i].buff[2] < 1) {
this.task[i].buff[2] = 0;
this.task[i].state = 3;
}
this.mline.setAlpha(this.task[i].buff[2]);
break;
case 3:
this.mline.final();
this.killtask(i);
this.mlinef = -1;
}
} else {
switch (this.task[i].state) {
case 0:
this.task[i].buff[2] = 100;
this.task[i].state = 1;
if (this.elinef != -1) {
this.killtask(this.elinef);
this.eline.final();
}
this.elinef = i;
case 1:
this.eline.drawLine(this.bak_x, this.bak_y, this.now_x, this.now_y);
break;
case 2:
this.eline.drawLine(this.bak_x, this.bak_y, this.now_x, this.now_y);
this.task[i].state = 10;
case 10:
this.task[i].buff[2] -= this.task[i].buff[1];
if (this.task[i].buff[2] < 1) {
this.task[i].buff[2] = 0;
this.task[i].state = 3;
}
this.eline.setAlpha(this.task[i].buff[2]);
break;
case 3:
this.eline.final();
this.killtask(i);
this.elinef = -1;
}
}
};
v2.guidance = function (i) {
if (this.enemy_num != 0) {
this.killtask(i);
return undefined;
}
if (this.enemyHp < this.enemyMh / 2) {
this.killtask(i);
}
switch (this.task[i].state) {
case 0:
this.task[i].buff[0] = 0;
if (this.task[i].buff[1] == 0) {
_root.guide_attack.gotoAndStop(2);
} else {
_root.guide_escape.gotoAndStop(2);
}
this.task[i].state = 1;
break;
case 1:
++this.task[i].buff[0];
if (this.task[i].buff[0] == 50) {
if (this.task[i].buff[1] == 0) {
_root.guide_attack.gotoAndStop(1);
} else {
_root.guide_escape.gotoAndStop(1);
}
this.killtask(i);
}
}
};
v2.kobaraKanri = function (i) {
var v4;
var v5 = 50.4;
var v2 = 0;
switch (this.task[i].state) {
case 0:
v4 = 0;
while (v4 != this.game_lv) {
v2 = 0;
this.setMcEvent(i, this.KOBARA, 46.4 + 17.1 * v4, 2);
this.task[i].buff[v2] = this.task[i].sys[0];
++v2;
this.task[i].buff[v2] = this.task[i].sys[1];
++v2;
++v4;
}
this.task[i].state = 1;
break;
case 1:
break;
case 2:
this.task[i].sys[0] = -1;
this.task[i].sys[1] = -1;
v2 = 0;
v4 = 0;
while (v4 != this.game_lv) {
v2 = 0;
this.mcm[this.task[i].buff[v2]].removeMovieClip();
this.reSetMcNum(this.task[i].sys[v2]);
++v2;
++v2;
++v4;
}
this.killtask(i);
}
};
v2.startDraw = function (i) {
switch (this.task[i].state) {
case 0:
this.task[i].buff[1] = 0;
this.task[i].state = 1;
case 1:
++this.task[i].buff[1];
if (this.task[i].buff[1] >= this.task[i].buff[0]) {
this.setMcEvent(i, this.START, 364, 240);
if (this.soundflag == false) {
this.playSE(12);
}
this.task[i].state = 2;
this.task[i].buff[1] = 0;
}
break;
case 2:
++this.task[i].buff[1];
if (this.task[i].buff[1] == 30 + this.task[i].buff[2]) {
this.killtask(i);
this.talkMain(1);
}
}
};
v2.barahpDraw = function (my) {
switch (this.task[my].state) {
case 0:
--this.task[my].buff[1];
if (this.task[my].buff[1] < 1) {
this.task[my].state = 1;
this.mcm[this.task[my].sys[0]].gotoAndStop('Birth');
this.task[my].buff[1] = 0;
}
break;
case 1:
++this.task[my].buff[1];
if (this.task[my].buff[1] == 10) {
this.mcm[this.task[my].sys[0]].gotoAndStop('Life');
this.task[my].state = 2;
}
break;
case 2:
if (this.task[my].buff[0] > this.reikoHp) {
this.task[my].state = 3;
this.mcm[this.task[my].sys[0]].gotoAndStop('Death');
this.task[my].buff[1] = 0;
}
break;
case 3:
++this.task[my].buff[1];
if (this.task[my].buff[1] == 15) {
this.killtask(my);
}
}
};
v2.tubakiHpDraw = function (my) {
switch (this.task[my].state) {
case 0:
--this.task[my].buff[1];
if (this.task[my].buff[1] < 1) {
this.task[my].state = 1;
this.mcm[this.task[my].sys[0]].gotoAndStop('Birth');
this.task[my].buff[1] = 0;
}
break;
case 1:
++this.task[my].buff[1];
if (this.task[my].buff[1] == 10) {
this.task[my].state = 2;
}
break;
case 2:
if (this.task[my].buff[0] > this.enemyHp) {
this.task[my].state = 3;
this.mcm[this.task[my].sys[0]].gotoAndStop('Death');
this.task[my].buff[1] = 0;
}
break;
case 3:
++this.task[my].buff[1];
if (this.task[my].buff[1] == 15) {
this.killtask(my);
}
}
};
v2.getSoundFlag = function () {
return this.soundflag;
};
v2.setSoundFlag = function (f) {
this.soundflag = f;
if (f == true) {
this.bgmstop(this.nowBGM);
} else {
this.setBgm(this.nowBGM);
}
};
v2.stage = function (no) {
this.enemy_num = no;
this.game_st = 2;
};
v2.getDemoNo = function () {
return this.demoNo;
};
v2.allClear = function () {
this.game_st = 0;
};
v2.resetSystemBuffer = function (i) {
this.task[i].sys[0] = -1;
this.task[i].sys[1] = -1;
this.task[i].sys[2] = -1;
this.task[i].sys[3] = -1;
this.task[i].sys[4] = -1;
this.mcb[i] = false;
};
v2.setBgmVolume = function (bgmNo, volume) {
if (bgmNo < 0) {
if (this.nowBGM >= 0) {
this.musicObj[this.nowBGM].setVolume(volume);
}
} else {
this.musicObj[bgmNo].setVolume(volume);
}
};
v2.winerDraw = function (i) {
switch (this.task[i].state) {
case 0:
this.task[i].buff[1] = 0;
this.task[i].state = 1;
case 1:
++this.task[i].buff[1];
if (this.task[i].buff[1] >= this.task[i].buff[0]) {
if (this.enemy_num != 4) {
this.setMcEvent(i, this.WINER, 364, 240);
}
if (this.soundflag == false) {
this.playSE(12);
}
this.task[i].state = 2;
this.task[i].buff[1] = 0;
}
break;
case 2:
++this.task[i].buff[1];
if (this.task[i].buff[1] == 30 + this.task[i].buff[2]) {
++this.out_of_num;
this.killtask(i);
this.talkMain(1);
}
}
};
v2.gameoverDraw = function (i) {
switch (this.task[i].state) {
case 0:
this.task[i].buff[1] = 0;
this.task[i].state = 1;
case 1:
++this.task[i].buff[1];
if (this.task[i].buff[1] >= this.task[i].buff[0]) {
this.setMcEvent(i, this.GAMEOVER, 364, 240);
this.task[i].state = 2;
this.task[i].buff[1] = 0;
}
break;
case 2:
}
};
v2.badendDraw = function (i) {
switch (this.task[i].state) {
case 0:
this.task[i].buff[1] = 0;
this.task[i].state = 1;
case 1:
++this.task[i].buff[1];
if (this.task[i].buff[1] >= this.task[i].buff[0]) {
this.setMcEvent(i, this.BADEND, 364, 240);
if (this.soundflag == false) {
this.playSE(12);
}
this.task[i].state = 2;
this.task[i].buff[1] = 0;
}
break;
case 2:
++this.task[i].buff[1];
if (this.task[i].buff[1] == 30 + this.task[i].buff[2]) {
this.killtask(i);
this.talkMain(1);
}
}
};
v2.nagurikiseki = function (i) {
switch (this.task[i].state) {
case 0:
if (this.subMath.lineCrossPoint(this.enemyX1c, this.enemyY1c, this.enemyX2c, this.enemyY2c, this.bak_x, this.bak_y, this.now_x, this.now_y)) {
if (this.now_x < this.bak_x) {
this.task[i].state = 1;
if (this.debug) {
trace('P1_Dmg = ' + Math.floor(this.subMath.pointLength(this.bak_x, this.bak_y, this.now_x, this.now_y)));
}
if (this.subMath.lineCrossPoint(this.enemyX1b, this.enemyY1b, this.enemyX2b, this.enemyY2b, this.bak_x, this.bak_y, this.now_x, this.now_y)) {
if (this.now_x < this.bak_x) {
this.task[i].state = 2;
this.task[i].buff[1] = 1;
if (this.debug) {
trace('P2_Dmg = ' + Math.floor(this.subMath.pointLength(this.bak_x, this.bak_y, this.now_x, this.now_y)));
}
}
}
}
}
break;
case 1:
if (this.subMath.lineCrossPoint(this.enemyX1b, this.enemyY1b, this.enemyX2b, this.enemyY2b, this.bak_x, this.bak_y, this.now_x, this.now_y)) {
if (this.now_x < this.bak_x) {
this.task[i].state = 2;
this.task[i].buff[1] = 1;
if (this.debug) {
trace('P2_Dmg = ' + Math.floor(this.subMath.pointLength(this.bak_x, this.bak_y, this.now_x, this.now_y)));
}
}
}
break;
case 2:
break;
case 3:
this.killtask(i);
return undefined;
}
if (this.task[i].buff[2] != this.task[this.task[i].buff[0]].state) {
this.killtask(i);
return undefined;
}
if (this.subMath.lineCrossPoint(this.enemyX1, this.enemyY1, this.enemyX2, this.enemyY2, this.bak_x, this.bak_y, this.now_x, this.now_y)) {
if (this.now_x < this.bak_x) {
this.task[i].state = 1;
if (this.task[i].buff[1] == 1) {
this.task[this.task[i].buff[0]].sys[2] = 2;
} else {
this.task[this.task[i].buff[0]].sys[2] = 1;
}
this.killtask(i);
}
}
};
ASSetPropFlags(duplex.Game_system.prototype, null, 1);
}
#endinitclip
}
movieClip 694 __Packages.nigoro.lib.samieru.NigoroFlashManager {
#initclip
if (!_global.nigoro) {
_global.nigoro = new Object();
}
if (!_global.nigoro.lib) {
_global.nigoro.lib = new Object();
}
if (!_global.nigoro.lib.samieru) {
_global.nigoro.lib.samieru = new Object();
}
if (!_global.nigoro.lib.samieru.NigoroFlashManager) {
var v1 = function () {};
nigoro.lib.samieru.NigoroFlashManager = v1;
var v2 = v1.prototype;
v1.startSystem = function (base_mc) {
nigoro.lib.samieru.NigoroFlashManager.BGM_LAYER = base_mc.createEmptyMovieClip('music_layer', base_mc.getNextHighestDepth());
nigoro.lib.samieru.NigoroFlashManager.GAME_LEVEL = 0;
nigoro.lib.samieru.NigoroFlashManager.GAME_ID = '';
nigoro.lib.samieru.NigoroFlashManager.PLAYER_NAME = '';
nigoro.lib.samieru.NigoroFlashManager.SYSTEM_STARTED = true;
if (flash.external.ExternalInterface.available) {
flash.external.ExternalInterface.addCallback('outOfSwf', null, nigoro.lib.samieru.NigoroFlashManager.outOfSwf);
}
};
v1.setPlayerName = function (namestr) {
nigoro.lib.samieru.NigoroFlashManager.PLAYER_NAME = namestr;
};
v1.getPlayerName = function () {
if (nigoro.lib.samieru.NigoroFlashManager.PLAYER_NAME != undefined && nigoro.lib.samieru.NigoroFlashManager.PLAYER_NAME.length > 0) {
return nigoro.lib.samieru.NigoroFlashManager.PLAYER_NAME;
} else {
return '';
}
};
v1.setFlashQuality = function (qt) {
_quality = qt;
};
v1.isSystemStarted = function () {
return nigoro.lib.samieru.NigoroFlashManager.SYSTEM_STARTED;
};
v1.getBgmLayer = function () {
return nigoro.lib.samieru.NigoroFlashManager.BGM_LAYER;
};
v1.setBgmMute = function (flag) {
var v1 = new Sound(nigoro.lib.samieru.NigoroFlashManager.getBgmLayer());
if (flag) {
v1.setVolume(0);
} else {
v1.setVolume(100);
}
};
v1.isMute = function () {
return nigoro.lib.samieru.NigoroFlashManager.MUTE;
};
v1.setMute = function (flag) {
nigoro.lib.samieru.NigoroFlashManager.MUTE = flag;
if (nigoro.lib.samieru.NigoroFlashManager.MUTE) {
nigoro.lib.samieru.NigoroFlashManager.MASTER_SOUND.setVolume(0);
} else {
nigoro.lib.samieru.NigoroFlashManager.MASTER_SOUND.setVolume(nigoro.lib.samieru.NigoroFlashManager.MASTER_VOLUME);
}
};
v1.setMasterVolume = function (vol) {
if (nigoro.lib.samieru.NigoroFlashManager.MUTE) {
nigoro.lib.samieru.NigoroFlashManager.MASTER_SOUND.setVolume(0);
} else {
nigoro.lib.samieru.NigoroFlashManager.MASTER_SOUND.setVolume(vol);
}
nigoro.lib.samieru.NigoroFlashManager.MASTER_VOLUME = vol;
};
v1.setSWFFlag = function (flag) {
nigoro.lib.samieru.NigoroFlashManager.OUT_OF_SWF = flag;
};
v1.isPause = function () {
return nigoro.lib.samieru.NigoroFlashManager.PAUSED;
};
v1.setPause = function (pause_flag) {
nigoro.lib.samieru.NigoroFlashManager.PAUSED = pause_flag;
};
v1.outOfSwf = function () {
nigoro.lib.samieru.NigoroFlashManager.setSWFFlag(true);
};
v1.getGameLevel = function () {
return nigoro.lib.samieru.NigoroFlashManager.GAME_LEVEL;
};
v1.getGameID = function () {
return nigoro.lib.samieru.NigoroFlashManager.GAME_ID;
};
v1.setGameLevel = function (level) {
nigoro.lib.samieru.NigoroFlashManager.GAME_LEVEL = level;
};
v1.setGameID = function (id) {
nigoro.lib.samieru.NigoroFlashManager.GAME_ID = id;
};
v1.getAccessStatus = function () {
return nigoro.lib.samieru.NigoroFlashManager.ACCESS_STATUS;
};
v1.setAccessStatus = function (status) {
nigoro.lib.samieru.NigoroFlashManager.ACCESS_STATUS = status;
};
v1.checkGameClear = function () {
var v2 = new nigoro.lib.samieru.event.GameClearListener();
var v1 = new LoadVars();
v1.id = nigoro.lib.samieru.NigoroFlashManager.GAME_ID;
v1.level = nigoro.lib.samieru.NigoroFlashManager.GAME_LEVEL;
nigoro.lib.samieru.NigoroFlashManager.ACCESS_STATUS = 1;
nigoro.lib.samieru.NigoroFlashManager.NIGORO_SESSION_ID = '';
v1.sendAndLoad('/register/clearcheck.php', v2, 'POST');
};
v1.setNigoroSession = function (sid) {
nigoro.lib.samieru.NigoroFlashManager.NIGORO_SESSION_ID = sid;
};
v1.getNigoroSession = function () {
return nigoro.lib.samieru.NigoroFlashManager.NIGORO_SESSION_ID;
};
v1.MASTER_SOUND = new Sound();
v1.OUT_OF_SWF = false;
v1.PAUSED = false;
v1.ACCESS_STATUS_OK = 0;
v1.ACCESS_STATUS_RUNNING = 1;
v1.ACCESS_STATUS_ERROR = 2;
v1.SYSTEM_STARTED = false;
v1.MUTE = false;
ASSetPropFlags(nigoro.lib.samieru.NigoroFlashManager.prototype, null, 1);
}
#endinitclip
}
movieClip 695 __Packages.nigoro.lib.samieru.event.GameClearListener {
#initclip
if (!_global.nigoro) {
_global.nigoro = new Object();
}
if (!_global.nigoro.lib) {
_global.nigoro.lib = new Object();
}
if (!_global.nigoro.lib.samieru) {
_global.nigoro.lib.samieru = new Object();
}
if (!_global.nigoro.lib.samieru.event) {
_global.nigoro.lib.samieru.event = new Object();
}
if (!_global.nigoro.lib.samieru.event.GameClearListener) {
var v1 = function () {
super();
};
nigoro.lib.samieru.event.GameClearListener = v1;
nigoro.lib.samieru.event.GameClearListener extends LoadVars;
var v2 = v1.prototype;
v2.onLoad = function (success) {
if (success) {
if (this.NIGORO != '' && this.NIGORO != 'ERROR') {
nigoro.lib.samieru.NigoroFlashManager.setNigoroSession(this.NIGORO);
nigoro.lib.samieru.NigoroFlashManager.setAccessStatus(nigoro.lib.samieru.NigoroFlashManager.ACCESS_STATUS_OK);
} else {
nigoro.lib.samieru.NigoroFlashManager.setAccessStatus(nigoro.lib.samieru.NigoroFlashManager.ACCESS_STATUS_ERROR);
}
} else {
nigoro.lib.samieru.NigoroFlashManager.setAccessStatus(nigoro.lib.samieru.NigoroFlashManager.ACCESS_STATUS_ERROR);
}
};
ASSetPropFlags(nigoro.lib.samieru.event.GameClearListener.prototype, null, 1);
}
#endinitclip
}
movieClip 696 __Packages.nigoro.lib.samieru.sound.MusicPlayer {
#initclip
if (!_global.nigoro) {
_global.nigoro = new Object();
}
if (!_global.nigoro.lib) {
_global.nigoro.lib = new Object();
}
if (!_global.nigoro.lib.samieru) {
_global.nigoro.lib.samieru = new Object();
}
if (!_global.nigoro.lib.samieru.sound) {
_global.nigoro.lib.samieru.sound = new Object();
}
if (!_global.nigoro.lib.samieru.sound.MusicPlayer) {
var v1 = function (mc) {
super(mc);
this.loop_point = 0;
};
nigoro.lib.samieru.sound.MusicPlayer = v1;
nigoro.lib.samieru.sound.MusicPlayer extends Sound;
var v2 = v1.prototype;
v2.initPlay = function () {
this.vol = 100;
this.count = 0;
this.start_point = 0;
this.playing = false;
};
v2.isPlaying = function () {
return this.playing;
};
v2.setLoopPoint = function (ms) {
this.loop_point = ms;
};
v2.startPlay = function (lp) {
this.loops = lp;
this.lp_cnt = 0;
this.setVolume(this.vol);
this.start(0);
this.playing = true;
};
v2.fadeOut = function (speed) {
this.vol -= speed;
if (this.vol < 0) {
this.vol = 0;
}
if (this.vol > 0) {
this.setVolume(this.vol);
} else {
stop();
}
};
v2.fadeIn = function (speed) {
this.setVolume(this.vol + speed);
};
v2.onSoundComplete = function () {
if (this.loops > 0) {
if (++this.lp_cnt >= this.loops) {
stop();
return undefined;
}
}
this.start(this.loop_point);
};
v2.start = function (point) {
this.playing = true;
super.start(point);
};
v2.stop = function () {
this.playing = false;
super.stop();
};
v2.setVolume = function (volume) {
if (volume < 0) {
this.vol = 0;
}
if (volume > 100) {
volume = 100;
}
super.setVolume(volume);
};
ASSetPropFlags(nigoro.lib.samieru.sound.MusicPlayer.prototype, null, 1);
}
#endinitclip
}
frame 2 {
this._lockroot = true;
var countflag;
if (countflag == null) {
countflag = 100;
game = _root.attachMovie('mainprog', 'mainprog1', 1);
game.gotoAndPlay(1);
} else {
game.Gs.allkill();
game.Gs.game_st = 0;
}
}
frame 3 {
}
button 68 {
on (release) {
_root.game.Gs.setGameLv(1);
}
}
button 69 {
on (release) {
_root.game.Gs.setGameLv(2);
}
}
button 70 {
on (release) {
_root.game.Gs.setGameLv(3);
}
}
button 71 {
on (release) {
_root.game.Gs.setGameLv(4);
}
}
button 72 {
on (release) {
_root.game.Gs.setGameLv(5);
}
}
button 78 {
on (release) {
getURL('http://novect.net/top2.html', '_blank');
}
}
movieClip 79 {
frame 60 {
stop();
}
}
button 82 {
on (release) {
this.level_changer.enabled = false;
this.play();
_root.game.Gs.playSE(12);
}
}
movieClip 83 {
frame 1 {
NowLv = _root.game.Gs.getGameLv();
i = 1;
while (i <= 5) {
obj = eval('this.lv' + i);
obj._alpha = 100 - 60 * (i > NowLv);
++i;
}
}
}
movieClip 84 {
frame 1 {
_root.game.Gs.setBgm(4);
}
frame 99 {
stop();
}
frame 100 {
}
frame 143 {
}
frame 143 {
this._parent.gotoAndStop('demo');
}
}
frame 4 {
stop();
this.demo.gotoAndStop(game.Gs.getDemoNo());
}
movieClip 92 {
frame 22 {
_parent.nextFrame();
}
}
movieClip 96 {
}
button 98 {
on (release) {
_root.game.Gs.stage(0);
}
}
movieClip 100 {
}
movieClip 103 {
frame 58 {
_parent.nextFrame();
}
}
movieClip 106 {
frame 54 {
_parent.nextFrame();
}
}
movieClip 109 {
frame 49 {
_parent.nextFrame();
}
}
movieClip 112 {
frame 32 {
stop();
}
}
movieClip 115 {
frame 15 {
stop();
}
}
movieClip 118 {
frame 77 {
_parent.nextFrame();
}
}
movieClip 121 {
frame 41 {
_parent.nextFrame();
}
}
movieClip 126 {
frame 45 {
_parent.nextFrame();
}
}
movieClip 131 {
frame 30 {
stop();
}
}
movieClip 134 {
frame 59 {
_parent.nextFrame();
}
}
movieClip 136 {
frame 39 {
stop();
}
}
movieClip 139 {
frame 62 {
_parent.nextFrame();
}
}
movieClip 142 {
frame 64 {
_parent.nextFrame();
}
}
movieClip 147 {
frame 45 {
_parent.nextFrame();
}
}
movieClip 150 {
frame 23 {
_parent.nextFrame();
}
}
movieClip 156 {
frame 79 {
_parent.nextFrame();
}
}
movieClip 159 {
frame 16 {
_parent.nextFrame();
}
}
movieClip 164 {
frame 19 {
_parent.nextFrame();
}
}
movieClip 165 {
}
movieClip 166 {
frame 3 {
stop();
}
}
movieClip 171 {
frame 70 {
_parent.nextFrame();
}
}
movieClip 174 {
frame 64 {
_parent.nextFrame();
}
}
movieClip 177 {
frame 35 {
stop();
}
}
movieClip 180 {
frame 47 {
_parent.nextFrame();
}
}
movieClip 183 {
frame 47 {
_parent.nextFrame();
}
}
movieClip 186 {
frame 74 {
_parent.nextFrame();
}
}
movieClip 187 {
frame 54 {
stop();
}
}
button 188 {
on (release) {
this.play();
}
}
button 189 {
on (release) {
this.play();
}
}
movieClip 190 {
frame 60 {
stop();
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.nextFrame();
}
}
frame 68 {
play();
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.gotoAndStop(83);
}
}
frame 83 {
stop();
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.nextFrame();
}
}
frame 99 {
play();
}
frame 120 {
_root.game.Gs.playSE(1);
}
frame 160 {
stop();
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.nextFrame();
}
}
frame 164 {
play();
}
frame 225 {
stop();
_root.game.Gs.playSE(22);
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.nextFrame();
}
}
frame 227 {
play();
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.gotoAndStop(242);
}
}
frame 242 {
stop();
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.nextFrame();
}
}
frame 252 {
_root.game.Gs.fo(5);
}
frame 273 {
_root.game.Gs.stage(0);
}
}
movieClip 193 {
frame 59 {
_parent.nextFrame();
}
}
button 194 {
on (release) {
_root.game.Gs.stage(1);
}
}
movieClip 197 {
frame 53 {
_parent.nextFrame();
}
}
movieClip 198 {
frame 40 {
stop();
}
}
movieClip 201 {
frame 15 {
stop();
}
}
movieClip 204 {
frame 80 {
_parent.nextFrame();
}
}
movieClip 205 {
frame 200 {
stop();
}
}
movieClip 208 {
frame 88 {
_parent.nextFrame();
}
}
movieClip 211 {
frame 23 {
_parent.nextFrame();
}
}
movieClip 212 {
frame 11 {
stop();
}
}
movieClip 213 {
frame 15 {
stop();
}
}
movieClip 216 {
frame 37 {
_parent.nextFrame();
}
}
movieClip 219 {
frame 21 {
_parent.nextFrame();
}
}
movieClip 222 {
frame 1 {
stop();
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.nextFrame();
}
}
frame 5 {
play();
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.gotoAndStop(20);
}
}
frame 20 {
stop();
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.nextFrame();
}
}
frame 24 {
_root.game.Gs.playSE(22);
}
frame 28 {
_root.game.Gs.playSE(22);
}
frame 30 {
_root.game.Gs.fo(5);
}
frame 51 {
_root.game.Gs.stage(1);
}
}
movieClip 225 {
frame 63 {
_parent.nextFrame();
}
}
button 226 {
on (release) {
_root.game.Gs.stage(2);
}
}
movieClip 229 {
frame 46 {
_parent.nextFrame();
}
}
movieClip 232 {
frame 15 {
stop();
}
}
movieClip 235 {
frame 50 {
_parent.nextFrame();
}
}
movieClip 238 {
frame 54 {
_parent.nextFrame();
}
}
movieClip 241 {
frame 48 {
_parent.nextFrame();
}
}
movieClip 244 {
frame 100 {
_parent.nextFrame();
}
}
movieClip 247 {
}
movieClip 248 {
}
movieClip 251 {
frame 70 {
_root.game.Gs.setBgmVolume(-1, 0);
_root.game.Gs.playSE(26);
}
frame 101 {
stop();
}
}
movieClip 254 {
frame 35 {
_parent.nextFrame();
}
}
movieClip 255 {
frame 1 {
stop();
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.nextFrame();
}
}
frame 5 {
play();
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.gotoAndStop(20);
}
}
frame 20 {
stop();
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.nextFrame();
}
}
frame 30 {
_root.game.Gs.fo(5);
}
frame 51 {
_root.game.Gs.stage(2);
}
}
movieClip 258 {
frame 80 {
_parent.nextFrame();
}
}
button 261 {
on (release) {
_root.game.Gs.stage(3);
}
}
movieClip 264 {
frame 75 {
_parent.nextFrame();
}
}
movieClip 269 {
frame 73 {
_parent.nextFrame();
}
}
movieClip 274 {
}
movieClip 277 {
}
movieClip 280 {
}
movieClip 283 {
frame 64 {
_parent.nextFrame();
}
}
movieClip 286 {
frame 19 {
_parent.nextFrame();
}
}
movieClip 289 {
frame 44 {
_parent.nextFrame();
}
}
movieClip 292 {
frame 30 {
_parent.nextFrame();
}
}
movieClip 295 {
frame 58 {
_parent.nextFrame();
}
}
movieClip 296 {
frame 47 {
stop();
}
}
movieClip 297 {
frame 1 {
stop();
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.nextFrame();
}
}
frame 17 {
_root.game.Gs.fo(5);
}
frame 38 {
_root.game.Gs.stage(3);
}
}
movieClip 300 {
frame 74 {
_parent.nextFrame();
}
}
button 301 {
on (release) {
_root.game.Gs.stage(4);
}
}
movieClip 304 {
frame 97 {
_parent.nextFrame();
}
}
movieClip 309 {
}
movieClip 310 {
}
movieClip 311 {
frame 3 {
stop();
}
}
movieClip 312 {
frame 30 {
stop();
}
}
movieClip 315 {
}
movieClip 318 {
frame 13 {
_parent.nextFrame();
}
}
movieClip 319 {
frame 21 {
_parent.nextFrame();
}
}
movieClip 322 {
frame 82 {
_parent.nextFrame();
}
}
movieClip 325 {
}
movieClip 328 {
frame 41 {
_parent.nextFrame();
}
}
movieClip 333 {
}
movieClip 334 {
frame 25 {
_root.game.Gs.playSE(26);
}
frame 35 {
stop();
}
}
movieClip 337 {
frame 79 {
_parent.nextFrame();
}
}
movieClip 338 {
frame 15 {
stop();
}
}
movieClip 341 {
frame 69 {
_parent.nextFrame();
}
}
movieClip 342 {
frame 1 {
stop();
_root.game.Gs.setBgm(-1);
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.nextFrame();
}
}
frame 3 {
_root.game.Gs.setBgm(3);
}
frame 5 {
play();
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.gotoAndStop(35);
}
}
frame 20 {
_root.game.Gs.playSE(26);
}
frame 35 {
stop();
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.nextFrame();
}
}
frame 47 {
}
frame 115 {
_root.game.Gs.stage(4);
}
}
movieClip 345 {
frame 42 {
_parent.nextFrame();
}
}
button 346 {
on (release) {
gotoAndPlay(179);
}
}
movieClip 349 {
frame 54 {
_parent.nextFrame();
}
}
movieClip 352 {
frame 6 {
stop();
}
}
movieClip 355 {
frame 66 {
_parent.nextFrame();
}
}
movieClip 356 {
frame 19 {
stop();
}
}
movieClip 359 {
frame 35 {
_parent.nextFrame();
}
}
movieClip 362 {
frame 74 {
_parent.nextFrame();
}
}
movieClip 365 {
frame 15 {
_parent.nextFrame();
}
}
movieClip 368 {
frame 41 {
_parent.nextFrame();
}
}
movieClip 369 {
frame 73 {
_parent.nextFrame();
}
}
movieClip 370 {
frame 60 {
stop();
}
}
// unknown tag 88 length 164
// unknown tag 88 length 84
movieClip 395 {
frame 1065 {
stop();
}
}
movieClip 396 {
frame 1 {
stop();
_root.game.Gs.setBgm(5);
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.nextFrame();
}
}
frame 5 {
play();
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.gotoAndStop(140);
}
}
frame 140 {
stop();
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.nextFrame();
}
}
frame 248 {
stop();
}
instance of movieClip 96 {
onClipEvent (release) {
_parent.gotoAndPlay(249);
}
}
frame 249 {
}
frame 314 {
stop();
_root.game.Gs.allClear();
_root.gotoAndStop('title');
}
frame 315 {
}
}
movieClip 397 {
frame 1 {
stop();
}
}
frame 5 {
_root.game.Gs.setBgmVolume(-1, 100);
}
movieClip 409 {
frame 1 {
stop();
}
}
movieClip 420 {
frame 1 {
stop();
}
}
movieClip 427 {
}
movieClip 430 {
}
movieClip 433 {
}
movieClip 436 {
frame 120 {
stop();
}
}
movieClip 437 {
frame 1 {
stop();
}
}
movieClip 448 {
frame 1 {
stop();
}
}
movieClip 455 {
}
movieClip 458 {
}
movieClip 461 {
}
movieClip 464 {
frame 120 {
stop();
}
}
movieClip 465 {
frame 1 {
stop();
}
}
movieClip 468 {
}
movieClip 471 {
}
movieClip 472 {
}
movieClip 473 {
frame 1 {
stop();
}
}
movieClip 482 {
}
movieClip 485 {
}
movieClip 490 {
}
movieClip 493 {
}
movieClip 496 {
}
movieClip 499 {
frame 1 {
_root.game.Gs.playSE(24);
}
frame 120 {
stop();
}
}
movieClip 500 {
frame 1 {
stop();
}
}
movieClip 511 {
frame 1 {
stop();
}
}
movieClip 518 {
}
movieClip 521 {
}
movieClip 526 {
}
movieClip 529 {
}
movieClip 532 {
frame 4 {
stop();
}
}
movieClip 535 {
}
movieClip 538 {
}
movieClip 541 {
}
movieClip 544 {
frame 180 {
stop();
}
}
movieClip 545 {
frame 1 {
stop();
}
}
movieClip 546 {
}
movieClip 557 {
frame 1 {
stop();
}
}
movieClip 564 {
}
movieClip 567 {
}
movieClip 568 {
frame 16 {
stop();
}
}
movieClip 571 {
}
movieClip 572 {
frame 20 {
stop();
}
}
movieClip 575 {
}
movieClip 578 {
frame 30 {
stop();
}
}
movieClip 581 {
}
movieClip 584 {
}
movieClip 587 {
}
movieClip 590 {
}
movieClip 591 {
}
movieClip 594 {
}
movieClip 597 {
}
movieClip 600 {
frame 180 {
stop();
}
}
movieClip 601 {
frame 1 {
stop();
}
}
movieClip 602 {
frame 1 {
stop();
}
}
movieClip 611 {
}
movieClip 614 {
}
movieClip 617 {
}
movieClip 618 {
frame 11 {
stop();
}
}
movieClip 621 {
frame 120 {
stop();
}
}
movieClip 622 {
frame 1 {
stop();
}
}
movieClip 627 {
frame 1 {
stop();
}
}
movieClip 629 {
frame 27 {
stop();
}
}
movieClip 630 {
frame 1 {
stop();
}
frame 3 {
stop();
}
}
movieClip 632 {
frame 27 {
stop();
}
}
movieClip 633 {
frame 1 {
stop();
}
frame 3 {
stop();
}
}
movieClip 636 {
}
movieClip 637 {
frame 15 {
stop();
}
}
movieClip 639 {
}
movieClip 640 {
frame 15 {
_parent.nextFrame();
}
}
button 641 {
on (press) {
_root.game.Gs.talkMain(1);
_root.player.gotoAndStop(2);
this.gotoAndStop(1);
}
}
movieClip 642 {
frame 1 {
stop();
}
instance of movieClip 640 {
onClipEvent (press) {
_root.game.Gs.talkMain(1);
_root.player.gotoAndStop(2);
this.gotoAndStop(1);
}
}
}
movieClip 644 {
}
movieClip 645 {
frame 15 {
_parent.nextFrame();
}
}
button 646 {
on (press) {
_root.game.Gs.talkMain(1);
}
}
movieClip 647 {
frame 1 {
stop();
}
instance of movieClip 645 {
onClipEvent (press) {
_root.game.Gs.talkMain(1);
}
}
}
movieClip 649 {
}
movieClip 650 {
frame 15 {
_parent.nextFrame();
}
}
button 651 {
on (press) {
_root.game.Gs.talkMain(2);
}
}
movieClip 652 {
frame 1 {
stop();
}
instance of movieClip 650 {
onClipEvent (press) {
_root.game.Gs.talkMain(2);
}
}
}
movieClip 659 {
frame 1 {
stop();
}
frame 11 {
gotoAndPlay(2);
}
}
movieClip 665 {
frame 1 {
stop();
}
frame 11 {
gotoAndPlay(2);
}
}
movieClip 667 {
}
movieClip 668 {
frame 15 {
stop();
}
}
movieClip 679 {
frame 1 {
stop();
}
}
movieClip 680 {
frame 15 {
stop();
}
}
movieClip 682 {
}
movieClip 683 {
frame 15 {
stop();
}
}
movieClip 684 {
frame 1 {
stop();
}
}