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 4
stop();
this.demo.gotoAndStop(game.Gs.getDemoNo());
Symbol 32 MovieClip [LineMC] Frame 11
stop();
Symbol 33 MovieClip [mainprog] Frame 1
var Gs = (new duplex.Game_system(this));
Symbol 33 MovieClip [mainprog] Frame 2
Gs.gameMain();
Symbol 33 MovieClip [mainprog] Frame 3
this.gotoAndPlay(2);
Symbol 35 MovieClip Frame 10
stop();
Symbol 37 MovieClip Frame 16
stop();
Symbol 38 MovieClip [life_rose] Frame 1
stop();
Symbol 40 MovieClip Frame 10
stop();
Symbol 41 MovieClip [life_camellia] Frame 1
stop();
Symbol 43 MovieClip [mcText_start] Frame 30
stop();
Symbol 45 MovieClip [mcText_win] Frame 30
stop();
Symbol 47 MovieClip [mcText_lose] Frame 30
stop();
Symbol 50 Button
on (release) {
_root.game.Gs.game_st = 0;
_root.game.Gs.allkill();
}
Symbol 51 MovieClip [mcText_gameover] Frame 30
stop();
Symbol 399 MovieClip [__Packages.duplex.Game_system] Frame 0
class duplex.Game_system
{
var defaultMC, at, mline, mlinef, eline, elinef, game_st, game_lv, muteki, counter, taskobj, task, mcm, mcb, mckaisou, data, now_x, bak_x, now_y, bak_y, soundflag, n_hit, c_hit, miss, finish, rdown, rhit1, rhit2, rfinal, rmiss, door, click, drug, tout, demobgm, nr_fight, bs_fight, tl_bgm, nowBGM, demoNo, subMath, line_mc, enemyFc, enemy_num, flag, reikoHp, enemyHp, enemyX1c, enemyY1c, enemyX2c, enemyY2c, enemyX1b, enemyY1b, enemyX2b, enemyY2b, enemyX1, enemyY1, enemyX2, enemyY2, enemyMh, enemyLk, enemyPw, enemyTs, enemyXX, enemyCt, enemyRr, enemyDr, enemyKC, hangeki, enemyTm;
function Game_system (mmc) {
var _local3;
defaultMC = mmc;
at = new duplex.ATask();
mline = new duplex.MouseLine(mmc, "paunch", "LineMC", 100);
mlinef = -1;
eline = new duplex.MouseLine(mmc, "escape", "LineMC", 500);
elinef = -1;
game_st = 0;
game_lv = 1;
muteki = false;
counter = 0;
taskobj = new Array(maxtask);
task = new Array(maxtask);
mcm = new Array(maxtask);
mcb = new Array(maxtask);
_local3 = 0;
while (_local3 != maxtask) {
taskobj[_local3] = -1;
task[_local3] = new duplex.Buffer();
task[_local3].sys[0] = -1;
task[_local3].sys[1] = -1;
task[_local3].sys[2] = -1;
task[_local3].sys[3] = -1;
task[_local3].sys[4] = -1;
mcb[_local3] = false;
_local3++;
}
mckaisou = new Array(maxlayer);
_local3 = 0;
while (_local3 != maxlayer) {
mckaisou[_local3] = false;
_local3++;
}
data = new duplex.Buffer();
now_x = (bak_x = _root._xmouse);
now_y = (bak_y = _root._ymouse);
soundflag = false;
n_hit = new Sound(defaultMC);
c_hit = new Sound(defaultMC);
miss = new Sound(defaultMC);
finish = new Sound(defaultMC);
rdown = new Sound(defaultMC);
rhit1 = new Sound(defaultMC);
rhit2 = new Sound(defaultMC);
rfinal = new Sound(defaultMC);
rmiss = new Sound(defaultMC);
door = new Sound(defaultMC);
rmiss.attachSound("miss");
rdown.attachSound("reiko_down");
rhit1.attachSound("reiko_hit1");
rhit2.attachSound("reiko_hit2");
rfinal.attachSound("reiko_finalhit");
click = new Sound(defaultMC);
drug = new Sound(defaultMC);
click.attachSound("clickok");
drug.attachSound("drugok");
door.attachSound("doorwav");
tout = new Sound(defaultMC);
tout.attachSound("tsubaki_out");
demobgm = new sanbiki.samieru.sound.MusicPlayer(defaultMC.createEmptyMovieClip("BGMMC", defaultMC.getNextHighestDepth()));
demobgm.attachSound("demobgm");
demobgm.initPlay();
demobgm.setLoopPoint(0);
nr_fight = new sanbiki.samieru.sound.MusicPlayer(defaultMC.createEmptyMovieClip("BGMMC", defaultMC.getNextHighestDepth()));
nr_fight.attachSound("nf");
nr_fight.initPlay();
nr_fight.setLoopPoint(0);
bs_fight = new sanbiki.samieru.sound.MusicPlayer(defaultMC.createEmptyMovieClip("BGMMC", defaultMC.getNextHighestDepth()));
bs_fight.attachSound("bf");
bs_fight.initPlay();
bs_fight.setLoopPoint(0);
tl_bgm = new sanbiki.samieru.sound.MusicPlayer(defaultMC.createEmptyMovieClip("BGMMC", defaultMC.getNextHighestDepth()));
tl_bgm.attachSound("titlebgm");
tl_bgm.initPlay();
tl_bgm.setLoopPoint(0);
nowBGM = 0;
demoNo = 1;
subMath = new duplex.Sub();
if (debug) {
line_mc = defaultMC.createEmptyMovieClip("line_mc", 1);
}
}
function battle_ini(num) {
var _local3;
enemyFc = 0;
at.inidata(this, num);
if (num < 4) {
setBgm(2);
} else {
setBgm(3);
}
soundSet(num);
}
function soundSet(num) {
switch (num) {
case 0 :
case 1 :
n_hit.attachSound("saori_hit1");
c_hit.attachSound("saori_hit2");
miss.attachSound("miss");
finish.attachSound("saori_finalhit");
break;
case 2 :
n_hit.attachSound("mita_hit1");
c_hit.attachSound("mita_hit2");
miss.attachSound("mita_miss");
finish.attachSound("mita_finalhit");
break;
case 3 :
n_hit.attachSound("hanae_hit1");
c_hit.attachSound("hanae_hit2");
miss.attachSound("hanae_miss");
finish.attachSound("hanae_finalhit");
break;
case 4 :
n_hit.attachSound("tsubaki_hit1");
c_hit.attachSound("tsubaki_hit2");
miss.attachSound("tsubaki_miss");
finish.attachSound("tsubaki_finalhit");
}
}
function gameMain() {
var _local3;
bak_x = now_x;
bak_y = now_y;
now_x = _root._xmouse;
now_y = _root._ymouse;
switch (game_st) {
case 0 :
enemy_num = 0;
flag = 0;
muteki = false;
reikoHp = 1000;
_root.gotoAndStop("title");
setBgm(4);
demoNo = 1;
game_st = 1;
break;
case 1 :
if (debug) {
if (Key.isDown(49)) {
enemy_num = 0;
muteki = true;
break;
}
if (Key.isDown(50)) {
enemy_num = 1;
muteki = true;
} else if (Key.isDown(51)) {
enemy_num = 2;
muteki = true;
} else if (Key.isDown(52)) {
enemy_num = 3;
muteki = true;
} else if (Key.isDown(53)) {
enemy_num = 4;
muteki = true;
} else {
if (muteki) {
rdown.start(0, 1);
game_st = 50;
}
break;
setEvent2(GAMEMAIN, data, 50);
_root.gotoAndStop("main");
game_st = 100;
break;
game_st = 100;
_root.gotoAndStop("main");
setEvent2(GAMEMAIN, data, 50);
break;
game_st = 101;
break;
}
}
break;
case 2 :
setEvent2(GAMEMAIN, data, 50);
_root.gotoAndStop("main");
game_st = 100;
break;
case 50 :
game_st = 100;
_root.gotoAndStop("main");
setEvent2(GAMEMAIN, data, 50);
break;
case 100 :
game_st = 101;
break;
case 101 :
}
taskloop();
}
function setHp() {
var _local5;
var _local6;
var _local2 = 1;
var _local3 = 28;
var _local4 = 15;
while (enemyHp > _local2) {
data.buff[0] = _local2;
data.buff[1] = _local4;
_local5 = setEvent(TUBAKI, data);
setMcEvent(_local5, TUBAKI, _local3, 446);
_local2 = _local2 + hpwari;
_local4 = _local4 + 2;
_local3 = _local3 + 30;
}
_local2 = 1;
_local3 = 685;
_local4 = 15;
while (reikoHp > _local2) {
data.buff[0] = _local2;
data.buff[1] = _local4;
_local5 = setEvent(BARA, data);
setMcEvent(_local5, BARA, _local3, 446);
_local2 = _local2 + myhpwari;
_local4 = _local4 + 2;
_local3 = _local3 - 30;
}
}
function setMcEvent(tk, num, x, y) {
var _local3;
var _local6;
var _local4 = false;
switch (num) {
case TUBAKI :
_local3 = getMcNum();
if (_local3 > -1) {
mcm[_local3] = defaultMC.attachMovie("life_camellia", "life_camellia" + defaultMC.getNextHighestDepth(), defaultMC.getNextHighestDepth());
_local4 = true;
}
break;
case BARA :
_local3 = getMcNum();
if (_local3 > -1) {
mcm[_local3] = defaultMC.attachMovie("life_rose", "life_rose" + defaultMC.getNextHighestDepth(), defaultMC.getNextHighestDepth());
_local4 = true;
}
break;
case START :
_local3 = getMcNum();
if (_local3 > -1) {
mcm[_local3] = defaultMC.attachMovie("mcText_start", "mcText_start" + defaultMC.getNextHighestDepth(), defaultMC.getNextHighestDepth());
_local4 = true;
}
break;
case KOBARA :
_local3 = getMcNum();
if (_local3 > -1) {
mcm[_local3] = _root.LevelMC.attachMovie("life_rose", "life_rose" + _root.LevelMC.getNextHighestDepth(), _root.LevelMC.getNextHighestDepth());
mcm[_local3].gotoAndStop("Birth");
mcm[_local3]._height = 14.9;
mcm[_local3]._width = 15.3;
_local4 = true;
}
break;
case BADEND :
_local3 = getMcNum();
if (_local3 > -1) {
mcm[_local3] = defaultMC.attachMovie("mcText_lose", "mcText_lose" + defaultMC.getNextHighestDepth(), defaultMC.getNextHighestDepth());
_local4 = true;
}
break;
case WINER :
_local3 = getMcNum();
if (_local3 > -1) {
mcm[_local3] = defaultMC.attachMovie("mcText_win", "mcText_win" + defaultMC.getNextHighestDepth(), defaultMC.getNextHighestDepth());
_local4 = true;
}
break;
case GAMEOVER :
_local3 = getMcNum();
if (_local3 <= -1) {
break;
}
mcm[_local3] = defaultMC.attachMovie("mcText_gameover", "mcText_gameover" + defaultMC.getNextHighestDepth(), defaultMC.getNextHighestDepth());
_local4 = true;
}
if (_local4) {
mcm[_local3]._x = x;
mcm[_local3]._y = y;
task[tk].sys[0] = _local3;
task[tk].sys[1] = _local6;
}
return(_local4);
}
function getMcNum() {
var _local2;
_local2 = 0;
while (_local2 != maxtask) {
if (mcb[_local2] == false) {
mcb[_local2] = true;
return(_local2);
}
_local2++;
}
return(-1);
}
function delMc(tk) {
mcm[task[tk].sys[0]].removeMovieClip();
reSetMcNum(task[tk].sys[0]);
task[tk].sys[0] = -1;
}
function reSetMcNum(num) {
mcb[num] = false;
}
function taskloop() {
var _local2;
_local2 = 0;
while (_local2 != maxtask) {
switch (taskobj[_local2]) {
case TUBAKI :
tubakiHpDraw(_local2);
break;
case BARA :
barahpDraw(_local2);
break;
case START :
startDraw(_local2);
break;
case KOBARA :
kobaraKanri(_local2);
break;
case GAMEMAIN :
gameMainProg(_local2);
break;
case TIME :
timebar(_local2);
break;
case BADEND :
badendDraw(_local2);
break;
case WINER :
winerDraw(_local2);
break;
case GUID :
guidance(_local2);
break;
case HITLINE :
nagurikiseki(_local2);
break;
case BGMCHECKER :
bgmloop(_local2);
break;
case GAMEOVER :
gameoverDraw(_local2);
break;
case MOUSELINEDRAW :
dlkanri(_local2);
break;
case -1 :
break;
default :
trace("task loop err No = " + _local2);
trace("err code No = " + taskobj[_local2]);
}
_local2++;
}
}
function settask(job) {
var _local2;
_local2 = 0;
while (_local2 != maxtask) {
if (taskobj[_local2] < 0) {
taskobj[_local2] = job;
return(_local2);
}
_local2++;
}
return(-1);
}
function killtask(i) {
if (task[i].sys[0] > -1) {
delMc(i);
}
taskobj[i] = -1;
}
function setEvent(job, setbuff) {
var _local2;
var _local3;
_local3 = settask(job);
if (_local3 < 0) {
return(-1);
}
_local2 = 0;
while (_local2 != duplex.Buffer.MAXBUFF) {
task[_local3].buff[_local2] = setbuff.buff[_local2];
_local2++;
}
task[_local3].myNum = _local3;
task[_local3].state = 0;
return(_local3);
}
function settask2(job, st) {
var _local2;
_local2 = st;
while (_local2 < maxtask) {
if (taskobj[_local2] < 0) {
taskobj[_local2] = job;
return(_local2);
}
_local2++;
}
return(-1);
}
function setEvent2(job, setbuff, st) {
var _local2;
var _local3;
_local3 = settask2(job, st);
if (_local3 < 0) {
return(-1);
}
_local2 = 0;
while (_local2 != duplex.Buffer.MAXBUFF) {
task[_local3].buff[_local2] = setbuff.buff[_local2];
_local2++;
}
task[_local3].myNum = _local3;
task[_local3].state = 0;
return(_local3);
}
function allkill() {
var _local2;
_local2 = 0;
while (_local2 != maxtask) {
taskobj[_local2] = -1;
if (mcb[_local2] == true) {
mcm[_local2].removeMovieClip();
mcb[_local2] = false;
}
_local2++;
}
_local2 = 0;
while (_local2 != maxlayer) {
mckaisou[_local2] = false;
_local2++;
}
}
function fo(i) {
data.buff[0] = i;
data.buff[1] = 100;
setEvent(BGMCHECKER, data);
}
function bgmloop(i) {
task[i].buff[1] = task[i].buff[1] - task[i].buff[0];
if (task[i].buff[1] < 0) {
task[i].buff[0] = 0;
}
switch (nowBGM) {
case 1 :
demobgm.setVolume(task[i].buff[1]);
break;
case 2 :
nr_fight.setVolume(task[i].buff[1]);
break;
case 3 :
bs_fight.setVolume(task[i].buff[1]);
}
if (task[i].buff[1] < 1) {
killtask(i);
}
}
function nagurikiseki(i) {
switch (task[i].state) {
case 0 :
if (subMath.lineCrossPoint(enemyX1c, enemyY1c, enemyX2c, enemyY2c, bak_x, bak_y, now_x, now_y)) {
if (now_x < bak_x) {
task[i].state = 1;
if (debug) {
trace("P1_Dmg = " + Math.floor(subMath.pointLength(bak_x, bak_y, now_x, now_y)));
}
if (subMath.lineCrossPoint(enemyX1b, enemyY1b, enemyX2b, enemyY2b, bak_x, bak_y, now_x, now_y)) {
if (now_x < bak_x) {
task[i].state = 2;
task[i].buff[1] = 1;
if (debug) {
trace("P2_Dmg = " + Math.floor(subMath.pointLength(bak_x, bak_y, now_x, now_y)));
}
}
}
}
}
break;
case 1 :
if (subMath.lineCrossPoint(enemyX1b, enemyY1b, enemyX2b, enemyY2b, bak_x, bak_y, now_x, now_y)) {
if (now_x < bak_x) {
task[i].state = 2;
task[i].buff[1] = 1;
if (debug) {
trace("P2_Dmg = " + Math.floor(subMath.pointLength(bak_x, bak_y, now_x, now_y)));
}
}
}
break;
case 2 :
break;
case 3 :
killtask(i);
return(undefined);
}
if (task[i].buff[2] != task[task[i].buff[0]].state) {
killtask(i);
return(undefined);
}
if (subMath.lineCrossPoint(enemyX1, enemyY1, enemyX2, enemyY2, bak_x, bak_y, now_x, now_y)) {
if (now_x < bak_x) {
task[i].state = 1;
if (task[i].buff[1] == 1) {
task[task[i].buff[0]].sys[2] = 2;
} else {
task[task[i].buff[0]].sys[2] = 1;
}
killtask(i);
}
}
}
function enemy_dmg(i) {
var _local4 = false;
if (task[i].sys[2] == 2) {
enemyHp = enemyHp - (Math.floor(subMath.pointLength(bak_x, bak_y, now_x, now_y)) * 2);
if (enemyHp < 1) {
if (enemy_num == 4) {
_root.enemy.enemy1.gotoAndStop(7);
task[i].buff[0] = 0;
task[i].state = 100;
setBgm(0);
} else {
_root.enemy.enemy1.gotoAndStop(8);
task[i].state = 40;
}
if (soundflag == false) {
rfinal.start(0, 1);
}
_local4 = true;
} else {
if (soundflag == false) {
rhit2.start(0, 1);
}
_root.enemy.enemy1.gotoAndStop(7);
}
} else {
enemyHp = enemyHp - Math.floor(subMath.pointLength(bak_x, bak_y, now_x, now_y));
if (enemyHp < 1) {
if (enemy_num == 4) {
_root.enemy.enemy1.gotoAndStop(7);
task[i].state = 100;
task[i].buff[0] = 0;
setBgm(0);
} else {
_root.enemy.enemy1.gotoAndStop(8);
task[i].state = 40;
}
if (soundflag == false) {
rfinal.start(0, 1);
}
_local4 = true;
} else {
if (soundflag == false) {
rhit1.start(0, 1);
}
_root.enemy.enemy1.gotoAndStop(6);
}
}
switch (enemyFc) {
case 0 :
if ((enemyMh * 0.8) > enemyHp) {
enemyFc = 1;
}
break;
case 1 :
if ((enemyMh * 0.6) > enemyHp) {
enemyFc = 2;
}
break;
case 2 :
if ((enemyMh * 0.4) > enemyHp) {
enemyFc = 3;
}
break;
case 3 :
if ((enemyMh * 0.2) > enemyHp) {
enemyFc = 4;
}
break;
case 4 :
}
if (_local4) {
fo(5);
}
return(_local4);
}
function enemyFace() {
if (((_root.enemy.enemy1._currentframe == 1) || (_root.enemy.enemy1._currentframe == 2)) || (_root.enemy.enemy1._currentframe == 3)) {
switch (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) {
break;
}
_root.enemy.enemy1.hitarea.gotoAndStop(5);
}
} else if (_root.enemy.enemy1.hitarea._currentframe != 1) {
_root.enemy.enemy1.hitarea.gotoAndStop(1);
}
}
function reikoDmg(i) {
var _local3 = false;
if (enemyLk > (Math.random() * 100)) {
reikoHp = reikoHp - (enemyPw * (2 + (game_lv / 2.5)));
if (reikoHp < 1) {
if (muteki == false) {
_root.player.gotoAndStop(7);
task[i].state = 30;
if (soundflag == false) {
finish.start(0, 1);
}
_local3 = true;
}
} else {
_root.player.gotoAndStop(6);
if (soundflag == false) {
c_hit.start(0, 1);
}
}
} else {
reikoHp = reikoHp - (enemyPw + ((enemyPw * Math.random()) / 2));
if (reikoHp < 1) {
if (muteki == false) {
_root.player.gotoAndStop(7);
if (soundflag == false) {
finish.start(0, 1);
}
task[i].state = 30;
_local3 = true;
}
} else {
if (soundflag == false) {
n_hit.start(0, 1);
}
_root.player.gotoAndStop(5);
}
}
return(_local3);
}
function dlkanri(i) {
if (task[i].buff[0] == 0) {
switch (task[i].state) {
case 0 :
task[i].buff[2] = 100;
task[i].state = 1;
if (mlinef != -1) {
killtask(mlinef);
mline.final();
}
mlinef = i;
case 1 :
mline.drawLine(bak_x, bak_y, now_x, now_y);
break;
case 2 :
mline.drawLine(bak_x, bak_y, now_x, now_y);
task[i].state = 10;
case 10 :
task[i].buff[2] = task[i].buff[2] - task[i].buff[1];
if (task[i].buff[2] < 1) {
task[i].buff[2] = 0;
task[i].state = 3;
}
mline.setAlpha(task[i].buff[2]);
break;
case 3 :
mline.final();
killtask(i);
mlinef = -1;
}
} else {
switch (task[i].state) {
case 0 :
task[i].buff[2] = 100;
task[i].state = 1;
if (elinef != -1) {
killtask(elinef);
eline.final();
}
elinef = i;
case 1 :
eline.drawLine(bak_x, bak_y, now_x, now_y);
break;
case 2 :
eline.drawLine(bak_x, bak_y, now_x, now_y);
task[i].state = 10;
case 10 :
task[i].buff[2] = task[i].buff[2] - task[i].buff[1];
if (task[i].buff[2] < 1) {
task[i].buff[2] = 0;
task[i].state = 3;
}
eline.setAlpha(task[i].buff[2]);
break;
case 3 :
eline.final();
killtask(i);
elinef = -1;
}
}
}
function gameMainProg(i) {
switch (task[i].state) {
case 0 :
task[i].buff[0] = 0;
task[i].sys[3] = -1;
battle_ini(enemy_num);
setHp();
task[i].state = 1;
break;
case 1 :
task[i].buff[0]++;
if (task[i].buff[0] == 15) {
task[i].buff[19] = setEvent(KOBARA, data);
task[i].state = 2;
task[i].buff[0] = 0;
}
break;
case 2 :
if (callMain() != 0) {
task[i].state = 3;
data.buff[0] = i;
task[i].buff[18] = setEvent(TIME, 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 (soundflag == false) {
click.start(0, 1);
}
callMain();
task[i].state = 4;
break;
case 4 :
if (callMain() != 0) {
data.buff[1] = 0;
task[i].buff[17] = setEvent(GUID, data);
if (soundflag == false) {
drug.start(0, 1);
}
data.buff[0] = 0;
data.buff[1] = 5;
task[i].sys[4] = setEvent(MOUSELINEDRAW, data);
task[i].state = 5;
task[i].sys[2] = 0;
data.buff[0] = i;
data.buff[1] = 0;
data.buff[2] = 5;
task[i].buff[16] = setEvent(HITLINE, data);
_root.mc_attack.gotoAndStop(1);
}
break;
case 5 :
task[i].buff[0]++;
if (task[i].sys[2] > 0) {
task[task[i].sys[4]].state = 2;
task[i].sys[4] = -1;
task[i].buff[0] = 0;
task[i].state = 6;
_root.player.gotoAndStop(3);
if (subMath.pointLength(bak_x, bak_y, now_x, now_y) < enemyTs) {
task[i].buff[0] = 0;
_root.enemy.enemy1.gotoAndStop(5);
if (soundflag == false) {
rmiss.start(0, 1);
}
task[i].state = 60;
break;
}
if (enemyLk > (Math.random() * 100)) {
_root.enemy.enemy1.gotoAndStop(5);
if (soundflag == false) {
rmiss.start(0, 1);
}
} else if (enemy_dmg(i)) {
return(undefined);
}
} else {
if (now_x < enemyXX) {
task[task[i].sys[4]].state = 2;
task[i].sys[4] = -1;
_root.player.gotoAndStop(3);
_root.enemy.enemy1.gotoAndStop(5);
if (soundflag == false) {
rmiss.start(0, 1);
}
task[i].buff[0] = 0;
task[i].state = 6;
}
if (task[i].buff[0] > enemyCt) {
task[task[i].sys[4]].state = 2;
task[i].sys[4] = -1;
task[i].buff[0] = 4;
task[i].state = 60;
}
}
break;
case 60 :
task[i].buff[0]++;
if (task[i].buff[0] >= 5) {
task[i].buff[0] = 0;
_root.enemy.enemy1.gotoAndStop(2);
task[i].state = 61;
}
break;
case 61 :
task[i].buff[0]++;
if (task[i].buff[0] == 3) {
_root.enemy.enemy1.gotoAndStop(3);
if (reikoDmg(i)) {
break;
}
task[i].buff[0] = 0;
task[i].state = 6;
}
break;
case 6 :
task[i].buff[0]++;
if (task[i].buff[0] >= 15) {
if (turnON) {
task[i].state = 300;
} else {
task[i].state = 3;
}
}
break;
case 300 :
break;
case 10 :
_root.mc_evasion.gotoAndStop(2);
_root.player.gotoAndStop(1);
if (soundflag == false) {
click.start(0, 1);
}
callMain();
_root.enemy.enemy1.gotoAndStop(2);
_root.mc_attack.gotoAndStop(1);
task[i].buff[0] = 0;
task[i].buff[1] = 0;
task[i].buff[2] = 0;
task[i].buff[3] = 0;
task[i].buff[4] = 0;
task[i].state = 11;
break;
case 11 :
task[i].buff[0]++;
switch (task[i].buff[2]) {
case 0 :
task[i].buff[1] = callMain();
if (task[i].buff[1] == 1) {
data.buff[0] = 1;
data.buff[1] = 5;
task[i].sys[4] = setEvent(MOUSELINEDRAW, data);
task[i].buff[2] = 1;
_root.mc_evasion.gotoAndStop(1);
_root.mc_counter.gotoAndStop(1);
if (soundflag == false) {
drug.start(0, 1);
}
data.buff[1] = 1;
task[i].buff[17] = setEvent(GUID, data);
}
break;
case 1 :
if (subMath.lineCrossPoint(swLine, 362, swLine, 480, bak_x, bak_y, now_x, now_y)) {
if (bak_x < now_x) {
task[task[i].sys[4]].state = 2;
task[i].sys[4] = -1;
task[i].buff[4] = 1;
task[i].buff[2] = 100;
}
}
break;
}
if (task[i].buff[0] > (enemyDr - enemyRr)) {
_root.mc_evasion.gotoAndStop(1);
_root.mc_counter.gotoAndStop(1);
task[i].buff[0] = 0;
task[i].state = 12;
}
break;
case 12 :
task[i].buff[0]++;
switch (task[i].buff[2]) {
case 0 :
break;
case 1 :
if (subMath.lineCrossPoint(swLine, 362, swLine, 480, bak_x, bak_y, now_x, now_y)) {
if (bak_x < now_x) {
task[i].buff[4] = 1;
task[i].buff[2] = 100;
}
}
break;
}
if (task[i].buff[0] > enemyRr) {
task[task[i].sys[4]].state = 2;
task[i].sys[4] = -1;
_root.enemy.enemy1.gotoAndStop(3);
task[i].buff[0] = 0;
task[i].state = 13;
}
break;
case 13 :
if (task[i].buff[4]) {
if (soundflag == false) {
miss.start(0, 1);
}
_root.player.gotoAndStop(4);
_root.mc_counter.gotoAndStop(2);
if (soundflag == false) {
click.start(0, 1);
}
task[i].buff[0] = 0;
task[i].state = 70;
} else if (reikoDmg(i)) {
} else {
task[i].buff[0] = 0;
task[i].state = 20;
if (enemyKC > (Math.random() * 100)) {
task[i].state = 50;
}
break;
task[i].buff[0]++;
trace(hangeki);
if (task[i].buff[0] > hangeki) {
_root.enemy.enemy1.gotoAndStop(1);
_root.mc_counter.gotoAndStop(1);
task[i].state = 20;
task[i].buff[0] = 10;
} else {
if (callMain() == 2) {
data.buff[1] = 0;
task[i].buff[17] = setEvent(GUID, data);
_root.mc_counter.gotoAndStop(1);
data.buff[0] = 0;
data.buff[1] = 5;
task[i].sys[4] = setEvent(MOUSELINEDRAW, data);
if (soundflag == false) {
drug.start(0, 1);
}
task[i].state = 72;
task[i].sys[2] = 0;
data.buff[0] = i;
data.buff[1] = 0;
data.buff[2] = 72;
task[i].buff[16] = setEvent(HITLINE, data);
}
break;
task[i].buff[0]++;
if (task[i].buff[0] > hangeki) {
task[task[i].sys[4]].state = 2;
task[i].sys[4] = -1;
_root.enemy.enemy1.gotoAndStop(2);
task[i].state = 80;
task[i].buff[0] = 0;
} else {
if (task[i].sys[2] > 0) {
task[task[i].sys[4]].state = 2;
task[i].sys[4] = -1;
_root.player.gotoAndStop(3);
if (enemy_dmg(i)) {
return(undefined);
}
task[i].state = 20;
task[i].buff[0] = 5;
}
break;
task[i].buff[0]++;
if (task[i].buff[0] > 5) {
_root.enemy.enemy1.gotoAndStop(3);
if (reikoDmg(i)) {
break;
}
task[i].state = 20;
task[i].buff[0] = 0;
}
break;
task[i].buff[0]++;
if (task[i].buff[0] > 15) {
_root.player.gotoAndStop(1);
task[i].buff[0] = 0;
if (turnON) {
task[i].state = 200;
} else {
task[i].state = 10;
}
}
break;
break;
data.buff[0] = 10;
data.buff[2] = 60;
task[task[i].buff[18]].state = 100;
setBgm(0);
setEvent(BADEND, data);
task[i].state = 31;
break;
if (callMain()) {
data.buff[0] = 30;
setEvent(GAMEOVER, data);
task[i].state = 32;
}
break;
break;
task[i].buff[0]++;
if (task[i].buff[0] == 60) {
_root.enemy.enemy1.gotoAndStop(8);
task[i].state = 40;
if (soundflag == false) {
tout.start(0, 1);
}
}
break;
data.buff[0] = 30;
if (enemy_num == 4) {
data.buff[2] = 240;
} else {
data.buff[2] = 60;
}
task[task[i].buff[18]].state = 100;
setBgm(0);
setEvent(WINER, data);
task[i].state = 41;
break;
if (callMain()) {
task[task[i].buff[18]].state = 3;
task[task[i].buff[19]].state = 2;
allkill();
game_st = 1;
switch (game_lv) {
case 1 :
reikoHp = reikoHp + 100;
break;
case 2 :
reikoHp = reikoHp + 50;
break;
}
if (reikoHp > reikomax) {
reikoHp = reikomax;
}
_root.gotoAndStop("demo");
demoNo = enemy_num + 2;
setBgm(1);
}
break;
task[i].buff[0]++;
if (task[i].buff[0] == 10) {
task[i].buff[0] = 0;
task[i].state = 51;
_root.enemy.enemy1.gotoAndStop(2);
_root.player.gotoAndStop(1);
}
break;
task[i].buff[0]++;
if (task[i].buff[0] == 5) {
task[i].buff[0] = 0;
task[i].state = 52;
_root.enemy.enemy1.gotoAndStop(3);
}
break;
if (reikoDmg(i)) {
} else {
task[i].buff[0] = 0;
task[i].state = 20;
}
}
}
}
case 70 :
task[i].buff[0]++;
trace(hangeki);
if (task[i].buff[0] > hangeki) {
_root.enemy.enemy1.gotoAndStop(1);
_root.mc_counter.gotoAndStop(1);
task[i].state = 20;
task[i].buff[0] = 10;
} else {
if (callMain() == 2) {
data.buff[1] = 0;
task[i].buff[17] = setEvent(GUID, data);
_root.mc_counter.gotoAndStop(1);
data.buff[0] = 0;
data.buff[1] = 5;
task[i].sys[4] = setEvent(MOUSELINEDRAW, data);
if (soundflag == false) {
drug.start(0, 1);
}
task[i].state = 72;
task[i].sys[2] = 0;
data.buff[0] = i;
data.buff[1] = 0;
data.buff[2] = 72;
task[i].buff[16] = setEvent(HITLINE, data);
}
break;
task[i].buff[0]++;
if (task[i].buff[0] > hangeki) {
task[task[i].sys[4]].state = 2;
task[i].sys[4] = -1;
_root.enemy.enemy1.gotoAndStop(2);
task[i].state = 80;
task[i].buff[0] = 0;
} else {
if (task[i].sys[2] > 0) {
task[task[i].sys[4]].state = 2;
task[i].sys[4] = -1;
_root.player.gotoAndStop(3);
if (enemy_dmg(i)) {
return(undefined);
}
task[i].state = 20;
task[i].buff[0] = 5;
}
break;
task[i].buff[0]++;
if (task[i].buff[0] > 5) {
_root.enemy.enemy1.gotoAndStop(3);
if (reikoDmg(i)) {
break;
}
task[i].state = 20;
task[i].buff[0] = 0;
}
break;
task[i].buff[0]++;
if (task[i].buff[0] > 15) {
_root.player.gotoAndStop(1);
task[i].buff[0] = 0;
if (turnON) {
task[i].state = 200;
} else {
task[i].state = 10;
}
}
break;
break;
data.buff[0] = 10;
data.buff[2] = 60;
task[task[i].buff[18]].state = 100;
setBgm(0);
setEvent(BADEND, data);
task[i].state = 31;
break;
if (callMain()) {
data.buff[0] = 30;
setEvent(GAMEOVER, data);
task[i].state = 32;
}
break;
break;
task[i].buff[0]++;
if (task[i].buff[0] == 60) {
_root.enemy.enemy1.gotoAndStop(8);
task[i].state = 40;
if (soundflag == false) {
tout.start(0, 1);
}
}
break;
data.buff[0] = 30;
if (enemy_num == 4) {
data.buff[2] = 240;
} else {
data.buff[2] = 60;
}
task[task[i].buff[18]].state = 100;
setBgm(0);
setEvent(WINER, data);
task[i].state = 41;
break;
if (callMain()) {
task[task[i].buff[18]].state = 3;
task[task[i].buff[19]].state = 2;
allkill();
game_st = 1;
switch (game_lv) {
case 1 :
reikoHp = reikoHp + 100;
break;
case 2 :
reikoHp = reikoHp + 50;
break;
}
if (reikoHp > reikomax) {
reikoHp = reikomax;
}
_root.gotoAndStop("demo");
demoNo = enemy_num + 2;
setBgm(1);
}
break;
task[i].buff[0]++;
if (task[i].buff[0] == 10) {
task[i].buff[0] = 0;
task[i].state = 51;
_root.enemy.enemy1.gotoAndStop(2);
_root.player.gotoAndStop(1);
}
break;
task[i].buff[0]++;
if (task[i].buff[0] == 5) {
task[i].buff[0] = 0;
task[i].state = 52;
_root.enemy.enemy1.gotoAndStop(3);
}
break;
if (reikoDmg(i)) {
} else {
task[i].buff[0] = 0;
task[i].state = 20;
}
}
}
case 72 :
task[i].buff[0]++;
if (task[i].buff[0] > hangeki) {
task[task[i].sys[4]].state = 2;
task[i].sys[4] = -1;
_root.enemy.enemy1.gotoAndStop(2);
task[i].state = 80;
task[i].buff[0] = 0;
} else {
if (task[i].sys[2] > 0) {
task[task[i].sys[4]].state = 2;
task[i].sys[4] = -1;
_root.player.gotoAndStop(3);
if (enemy_dmg(i)) {
return(undefined);
}
task[i].state = 20;
task[i].buff[0] = 5;
}
break;
task[i].buff[0]++;
if (task[i].buff[0] > 5) {
_root.enemy.enemy1.gotoAndStop(3);
if (reikoDmg(i)) {
break;
}
task[i].state = 20;
task[i].buff[0] = 0;
}
break;
task[i].buff[0]++;
if (task[i].buff[0] > 15) {
_root.player.gotoAndStop(1);
task[i].buff[0] = 0;
if (turnON) {
task[i].state = 200;
} else {
task[i].state = 10;
}
}
break;
break;
data.buff[0] = 10;
data.buff[2] = 60;
task[task[i].buff[18]].state = 100;
setBgm(0);
setEvent(BADEND, data);
task[i].state = 31;
break;
if (callMain()) {
data.buff[0] = 30;
setEvent(GAMEOVER, data);
task[i].state = 32;
}
break;
break;
task[i].buff[0]++;
if (task[i].buff[0] == 60) {
_root.enemy.enemy1.gotoAndStop(8);
task[i].state = 40;
if (soundflag == false) {
tout.start(0, 1);
}
}
break;
data.buff[0] = 30;
if (enemy_num == 4) {
data.buff[2] = 240;
} else {
data.buff[2] = 60;
}
task[task[i].buff[18]].state = 100;
setBgm(0);
setEvent(WINER, data);
task[i].state = 41;
break;
if (callMain()) {
task[task[i].buff[18]].state = 3;
task[task[i].buff[19]].state = 2;
allkill();
game_st = 1;
switch (game_lv) {
case 1 :
reikoHp = reikoHp + 100;
break;
case 2 :
reikoHp = reikoHp + 50;
break;
}
if (reikoHp > reikomax) {
reikoHp = reikomax;
}
_root.gotoAndStop("demo");
demoNo = enemy_num + 2;
setBgm(1);
}
break;
task[i].buff[0]++;
if (task[i].buff[0] == 10) {
task[i].buff[0] = 0;
task[i].state = 51;
_root.enemy.enemy1.gotoAndStop(2);
_root.player.gotoAndStop(1);
}
break;
task[i].buff[0]++;
if (task[i].buff[0] == 5) {
task[i].buff[0] = 0;
task[i].state = 52;
_root.enemy.enemy1.gotoAndStop(3);
}
break;
if (reikoDmg(i)) {
} else {
task[i].buff[0] = 0;
task[i].state = 20;
}
}
case 80 :
task[i].buff[0]++;
if (task[i].buff[0] > 5) {
_root.enemy.enemy1.gotoAndStop(3);
if (reikoDmg(i)) {
break;
}
task[i].state = 20;
task[i].buff[0] = 0;
}
break;
case 20 :
task[i].buff[0]++;
if (task[i].buff[0] > 15) {
_root.player.gotoAndStop(1);
task[i].buff[0] = 0;
if (turnON) {
task[i].state = 200;
} else {
task[i].state = 10;
}
}
break;
case 200 :
break;
case 30 :
data.buff[0] = 10;
data.buff[2] = 60;
task[task[i].buff[18]].state = 100;
setBgm(0);
setEvent(BADEND, data);
task[i].state = 31;
break;
case 31 :
if (callMain()) {
data.buff[0] = 30;
setEvent(GAMEOVER, data);
task[i].state = 32;
}
break;
case 32 :
break;
case 100 :
task[i].buff[0]++;
if (task[i].buff[0] == 60) {
_root.enemy.enemy1.gotoAndStop(8);
task[i].state = 40;
if (soundflag == false) {
tout.start(0, 1);
}
}
break;
case 40 :
data.buff[0] = 30;
if (enemy_num == 4) {
data.buff[2] = 240;
} else {
data.buff[2] = 60;
}
task[task[i].buff[18]].state = 100;
setBgm(0);
setEvent(WINER, data);
task[i].state = 41;
break;
case 41 :
if (callMain()) {
task[task[i].buff[18]].state = 3;
task[task[i].buff[19]].state = 2;
allkill();
game_st = 1;
switch (game_lv) {
case 1 :
reikoHp = reikoHp + 100;
break;
case 2 :
reikoHp = reikoHp + 50;
break;
}
if (reikoHp > reikomax) {
reikoHp = reikomax;
}
_root.gotoAndStop("demo");
demoNo = enemy_num + 2;
setBgm(1);
}
break;
case 50 :
task[i].buff[0]++;
if (task[i].buff[0] == 10) {
task[i].buff[0] = 0;
task[i].state = 51;
_root.enemy.enemy1.gotoAndStop(2);
_root.player.gotoAndStop(1);
}
break;
case 51 :
task[i].buff[0]++;
if (task[i].buff[0] == 5) {
task[i].buff[0] = 0;
task[i].state = 52;
_root.enemy.enemy1.gotoAndStop(3);
}
break;
case 52 :
if (reikoDmg(i)) {
} else {
task[i].buff[0] = 0;
task[i].state = 20;
}
}
enemyFace();
}
function guidance(i) {
if (enemy_num != 0) {
killtask(i);
return(undefined);
}
if (enemyHp < (enemyMh / 2)) {
killtask(i);
}
switch (task[i].state) {
case 0 :
task[i].buff[0] = 0;
if (task[i].buff[1] == 0) {
_root.guide_attack.gotoAndStop(2);
} else {
_root.guide_escape.gotoAndStop(2);
}
task[i].state = 1;
break;
case 1 :
task[i].buff[0]++;
if (task[i].buff[0] != 50) {
break;
}
if (task[i].buff[1] == 0) {
_root.guide_attack.gotoAndStop(1);
} else {
_root.guide_escape.gotoAndStop(1);
}
killtask(i);
}
}
function talkMain(i) {
flag = i;
}
function callMain() {
var _local2;
_local2 = flag;
flag = 0;
return(_local2);
}
function timebar(i) {
switch (task[i].state) {
case 0 :
_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);
task[i].state = 1;
case 1 :
_root.time_bar.time_barMC.myber._x = _root.time_bar.time_barMC.myber._x - enemyTm;
_root.time_bar.time_barMC.enemybar._x = _root.time_bar.time_barMC.enemybar._x - enemyTm;
_root.marker_flower._x = _root.marker_flower._x - 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;
task[i].state = 4;
}
break;
case 2 :
_root.time_bar.time_barMC.myber._x = _root.time_bar.time_barMC.myber._x + enemyTm;
_root.time_bar.time_barMC.enemybar._x = _root.time_bar.time_barMC.enemybar._x + enemyTm;
_root.marker_flower._x = _root.marker_flower._x + 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;
task[i].state = 5;
}
break;
case 3 :
killtask(i);
break;
case 4 :
if (turnON) {
if (task[task[i].buff[0]].state == 300) {
ret4(i);
}
} else if (task[task[i].buff[0]].state == 4) {
ret4(i);
}
break;
case 5 :
if (turnON) {
if (task[task[i].buff[0]].state == 200) {
ret5(i);
}
} else if (task[task[i].buff[0]].state == 11) {
ret5(i);
}
break;
case 100 :
}
}
function ret4(i) {
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);
task[task[i].buff[0]].state = 10;
_root.mc_evasion.gotoAndStop(1);
_root.mc_counter.gotoAndStop(1);
_root.mc_attack.gotoAndStop(1);
task[task[task[i].buff[0]].sys[4]].state = 2;
task[task[i].buff[0]].sys[4] = -1;
}
function ret5(i) {
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);
task[task[i].buff[0]].state = 3;
_root.mc_evasion.gotoAndStop(1);
_root.mc_counter.gotoAndStop(1);
_root.mc_attack.gotoAndStop(1);
task[task[task[i].buff[0]].sys[4]].state = 2;
task[task[i].buff[0]].sys[4] = -1;
}
function badendDraw(i) {
switch (task[i].state) {
case 0 :
task[i].buff[1] = 0;
task[i].state = 1;
case 1 :
task[i].buff[1]++;
if (task[i].buff[1] >= task[i].buff[0]) {
setMcEvent(i, BADEND, 364, 240);
if (soundflag == false) {
rdown.start(0, 1);
}
task[i].state = 2;
task[i].buff[1] = 0;
}
break;
case 2 :
task[i].buff[1]++;
if (task[i].buff[1] != (30 + task[i].buff[2])) {
break;
}
killtask(i);
talkMain(1);
}
}
function winerDraw(i) {
switch (task[i].state) {
case 0 :
task[i].buff[1] = 0;
task[i].state = 1;
case 1 :
task[i].buff[1]++;
if (task[i].buff[1] >= task[i].buff[0]) {
if (enemy_num != 4) {
setMcEvent(i, WINER, 364, 240);
}
if (soundflag == false) {
rdown.start(0, 1);
}
task[i].state = 2;
task[i].buff[1] = 0;
}
break;
case 2 :
task[i].buff[1]++;
if (task[i].buff[1] != (30 + task[i].buff[2])) {
break;
}
killtask(i);
talkMain(1);
}
}
function gameoverDraw(i) {
switch (task[i].state) {
case 0 :
task[i].buff[1] = 0;
task[i].state = 1;
case 1 :
task[i].buff[1]++;
if (task[i].buff[1] >= task[i].buff[0]) {
setMcEvent(i, GAMEOVER, 364, 240);
task[i].state = 2;
task[i].buff[1] = 0;
}
break;
case 2 :
}
}
function kobaraKanri(i) {
var _local4;
var _local5 = 50.4;
var _local2 = 0;
switch (task[i].state) {
case 0 :
_local4 = 0;
while (_local4 != game_lv) {
_local2 = 0;
setMcEvent(i, KOBARA, 46.4 + (17.1 * _local4), 2);
task[i].buff[_local2] = task[i].sys[0];
_local2++;
task[i].buff[_local2] = task[i].sys[1];
_local2++;
_local4++;
}
task[i].state = 1;
break;
case 1 :
break;
case 2 :
task[i].sys[0] = -1;
task[i].sys[1] = -1;
_local2 = 0;
_local4 = 0;
while (_local4 != game_lv) {
_local2 = 0;
mcm[task[i].buff[_local2]].removeMovieClip();
reSetMcNum(task[i].sys[_local2]);
_local2++;
_local2++;
_local4++;
}
killtask(i);
}
}
function startDraw(i) {
switch (task[i].state) {
case 0 :
task[i].buff[1] = 0;
task[i].state = 1;
case 1 :
task[i].buff[1]++;
if (task[i].buff[1] >= task[i].buff[0]) {
setMcEvent(i, START, 364, 240);
if (soundflag == false) {
rdown.start(0, 1);
}
task[i].state = 2;
task[i].buff[1] = 0;
}
break;
case 2 :
task[i].buff[1]++;
if (task[i].buff[1] != (30 + task[i].buff[2])) {
break;
}
killtask(i);
talkMain(1);
}
}
function barahpDraw(my) {
switch (task[my].state) {
case 0 :
task[my].buff[1]--;
if (task[my].buff[1] < 1) {
task[my].state = 1;
mcm[task[my].sys[0]].gotoAndStop("Birth");
task[my].buff[1] = 0;
}
break;
case 1 :
task[my].buff[1]++;
if (task[my].buff[1] == 10) {
mcm[task[my].sys[0]].gotoAndStop("Life");
task[my].state = 2;
}
break;
case 2 :
if (task[my].buff[0] > reikoHp) {
task[my].state = 3;
mcm[task[my].sys[0]].gotoAndStop("Death");
task[my].buff[1] = 0;
}
break;
case 3 :
task[my].buff[1]++;
if (task[my].buff[1] != 15) {
break;
}
killtask(my);
}
}
function tubakiHpDraw(my) {
switch (task[my].state) {
case 0 :
task[my].buff[1]--;
if (task[my].buff[1] < 1) {
task[my].state = 1;
mcm[task[my].sys[0]].gotoAndStop("Birth");
task[my].buff[1] = 0;
}
break;
case 1 :
task[my].buff[1]++;
if (task[my].buff[1] == 10) {
task[my].state = 2;
}
break;
case 2 :
if (task[my].buff[0] > enemyHp) {
task[my].state = 3;
mcm[task[my].sys[0]].gotoAndStop("Death");
task[my].buff[1] = 0;
}
break;
case 3 :
task[my].buff[1]++;
if (task[my].buff[1] != 15) {
break;
}
killtask(my);
}
}
function getGameLv() {
return(game_lv);
}
function setGameLv(lv) {
game_lv = lv;
}
function getSoundFlag() {
return(soundflag);
}
function setSoundFlag(f) {
soundflag = f;
if (f == true) {
bgmstop(nowBGM);
} else {
setBgm(nowBGM);
}
}
function setBgm(no) {
if (soundflag == false) {
if (no == 0) {
bgmstop(nowBGM);
} else {
if (nowBGM != 0) {
bgmstop(nowBGM);
}
switch (no) {
case 1 :
demobgm.setVolume(100);
demobgm.start();
break;
case 2 :
nr_fight.setVolume(100);
nr_fight.start();
break;
case 3 :
bs_fight.setVolume(100);
bs_fight.start();
break;
case 4 :
tl_bgm.setVolume(100);
tl_bgm.start();
}
}
}
nowBGM = no;
}
function bgmstop(no) {
switch (no) {
case 1 :
demobgm.stop();
break;
case 2 :
nr_fight.stop();
break;
case 3 :
bs_fight.stop();
break;
case 4 :
tl_bgm.stop();
}
}
function stage(no) {
enemy_num = no;
game_st = 2;
}
function getDemoNo() {
return(demoNo);
}
function allClear() {
game_st = 0;
}
function playSE(i) {
if (soundflag == false) {
if (i == 0) {
rdown.start(0, 1);
} else {
door.start(0, 1);
}
}
}
var hpwari = 1000;
var myhpwari = 250;
var criticalhit = 5;
var swLine = 500;
var reikomax = 1500;
var debug = true;
var turnON = false;
var TUBAKI = 1;
var BARA = 2;
var START = 3;
var KOBARA = 4;
var GAMEMAIN = 5;
var TIME = 6;
var BADEND = 7;
var WINER = 8;
var GUID = 9;
var MYCHAR = 10;
var TEKI = 11;
var HITLINE = 12;
var BGMCHECKER = 13;
var GAMEOVER = 14;
var MOUSELINEDRAW = 15;
static var maxtask = 100;
static var maxlayer = 100;
}
Symbol 400 MovieClip [__Packages.duplex.ATask] Frame 0
class duplex.ATask
{
function ATask () {
}
function inidata(ob, no) {
switch (no) {
case 0 :
ob.enemyMh = (ob.enemyHp = 3000);
ob.enemyLk = 5;
ob.enemyPw = 40;
ob.enemyTs = 80;
ob.enemyCt = 60;
ob.enemyDr = 40;
ob.enemyRr = 2;
ob.enemyX1 = 297;
ob.enemyY1 = 102;
ob.enemyX2 = 275;
ob.enemyY2 = 220;
ob.enemyX1b = 293;
ob.enemyY1b = 156;
ob.enemyX2b = 284;
ob.enemyY2b = 201;
ob.enemyX1c = 350;
ob.enemyY1c = 183;
ob.enemyX2c = 346;
ob.enemyY2c = 203;
ob.enemyXX = 150;
ob.enemyKC = 2;
ob.hangeki = 40;
ob.enemyTm = 3;
_root.background.gotoAndStop("Nomal");
break;
case 1 :
ob.enemyMh = (ob.enemyHp = 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");
break;
case 2 :
ob.enemyMh = (ob.enemyHp = 4500);
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");
break;
case 3 :
ob.enemyMh = (ob.enemyHp = 3300);
ob.enemyLk = 40;
ob.enemyPw = 120;
ob.enemyTs = 160;
ob.enemyCt = 30;
ob.enemyDr = 30;
ob.enemyRr = 4;
ob.enemyX1 = 282;
ob.enemyY1 = 87;
ob.enemyX2 = 264;
ob.enemyY2 = 210;
ob.enemyX1b = 297;
ob.enemyY1b = 157;
ob.enemyX2b = 293;
ob.enemyY2b = 179;
ob.enemyX1c = 366;
ob.enemyY1c = 150;
ob.enemyX2c = 363;
ob.enemyY2c = 170;
ob.enemyXX = 130;
ob.enemyKC = 15;
ob.hangeki = 25;
ob.enemyTm = 4;
_root.background.gotoAndStop("Nomal");
break;
case 4 :
ob.enemyMh = (ob.enemyHp = 7000);
ob.enemyLk = 30;
ob.enemyPw = 160;
ob.enemyTs = 170;
ob.enemyCt = 45;
ob.enemyDr = 40;
ob.enemyRr = 6;
ob.enemyX1 = 211;
ob.enemyY1 = 70;
ob.enemyX2 = 194;
ob.enemyY2 = 159;
ob.enemyX1b = 237;
ob.enemyY1b = 114;
ob.enemyX2b = 237;
ob.enemyY2b = 142;
ob.enemyX1c = 304;
ob.enemyY1c = 118;
ob.enemyX2c = 304;
ob.enemyY2c = 134;
ob.enemyXX = 50;
ob.enemyKC = 2;
ob.hangeki = 30;
ob.enemyTm = 5;
_root.background.gotoAndStop("Boss");
}
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 + ((ob.enemyHp / 4) * (ob.game_lv - 1));
ob.enemyLk = ob.enemyLk + ((ob.enemyLk / 4) * (ob.game_lv - 1));
ob.enemyPw = ob.enemyPw + (3 * (ob.game_lv - 1));
ob.enemyDr = ob.enemyDr - (2 * (ob.game_lv - 1));
ob.hangeki = ob.hangeki - (2 * (ob.game_lv - 1));
}
}
Symbol 401 MovieClip [__Packages.duplex.MouseLine] Frame 0
class duplex.MouseLine
{
var po, ob, name, defaultMC, maxFrame, lineMc, lineFl, myMath;
function MouseLine (myMC, st, nm, dep) {
var _local2;
var _local3;
po = new Array(3);
_local2 = 0;
while (_local2 < 3) {
po[_local2] = {x:0, y:0};
_local2++;
}
ob = {x:-1, y:-1};
name = nm;
defaultMC = myMC.createEmptyMovieClip(st, dep);
_local3 = defaultMC.attachMovie(name, name + defaultMC.getNextHighestDepth(), defaultMC.getNextHighestDepth());
maxFrame = _local3._totalframes;
_local3.removeMovieClip();
lineMc = new Array(4);
_local2 = 0;
while (_local2 != 4) {
lineMc[_local2] = new Array(maxFrame + 2);
_local2++;
}
lineFl = new Array(maxFrame + 2);
_local2 = 0;
while (_local2 != (maxFrame + 2)) {
lineFl[_local2] = -1;
_local2++;
}
myMath = new duplex.Sub();
}
function drawLine(x1, y1, x2, y2) {
var _local4;
var _local13;
var _local9;
var _local10;
var _local2 = {x:0, y:0};
var _local3 = {x:0, y:0};
_local4 = 0;
while (_local4 != (maxFrame + 2)) {
if (lineFl[_local4] == -1) {
lineFl[_local4] = maxFrame - 1;
if (ob.x == -1) {
po[0].x = (po[1].x = x1);
po[0].y = (po[1].y = y1);
po[2].x = x2;
po[2].y = y2;
} else {
po[0].x = x1;
po[0].y = y1;
po[1].x = ob.x;
po[1].y = ob.y;
po[2].x = x2;
po[2].y = y2;
}
lineMc[0][_local4] = defaultMC.attachMovie(name, name + defaultMC.getNextHighestDepth(), defaultMC.getNextHighestDepth());
_local2 = myMath.getBezPoint(po[0], po[1], po[2], 0.25);
sumPoint(x1, y1, _local2.x, _local2.y, 0, _local4);
_local3.x = _local2.x;
_local3.y = _local2.y;
lineMc[1][_local4] = defaultMC.attachMovie(name, name + defaultMC.getNextHighestDepth(), defaultMC.getNextHighestDepth());
_local2 = myMath.getBezPoint(po[0], po[1], po[2], 0.5);
sumPoint(_local3.x, _local3.y, _local2.x, _local2.y, 1, _local4);
_local3.x = _local2.x;
_local3.y = _local2.y;
lineMc[2][_local4] = defaultMC.attachMovie(name, name + defaultMC.getNextHighestDepth(), defaultMC.getNextHighestDepth());
_local2 = myMath.getBezPoint(po[0], po[1], po[2], 0.75);
sumPoint(_local3.x, _local3.y, _local2.x, _local2.y, 2, _local4);
_local3.x = _local2.x;
_local3.y = _local2.y;
lineMc[3][_local4] = defaultMC.attachMovie(name, name + defaultMC.getNextHighestDepth(), defaultMC.getNextHighestDepth());
_local2 = myMath.getBezPoint(po[0], po[1], po[2], 1);
sumPoint(_local3.x, _local3.y, _local2.x, _local2.y, 3, _local4);
_local9 = x2 - _local3.x;
_local10 = y2 - _local3.y;
ob.x = x2 + _local9;
ob.y = y2 + _local10;
break;
}
_local4++;
}
_local4 = 0;
while (_local4 != (maxFrame + 2)) {
if (lineFl[_local4] > 0) {
lineLife(_local4);
}
_local4++;
}
}
function sumPoint(x1, y1, x2, y2, j, i) {
lineMc[j][i].blendMode = 8;
lineMc[j][i]._alpha = 60;
lineMc[j][i]._height = myMath.pointLength(x1, y1, x2, y2) + (lineMc[j][i]._width / 2);
lineMc[j][i]._rotation = myMath.getC(x1, y1, x2, y2) + 90;
lineMc[j][i]._x = Math.abs((x2 + x1) / 2);
lineMc[j][i]._y = Math.abs((y2 + y1) / 2);
}
function lineLife(i) {
lineFl[i]--;
if (lineFl[i] == 0) {
lineMc[0][i].removeMovieClip();
lineMc[1][i].removeMovieClip();
lineMc[2][i].removeMovieClip();
lineMc[3][i].removeMovieClip();
lineFl[i] = -1;
}
}
function setAlpha(i) {
defaultMC._alpha = i;
}
function final() {
var _local2;
_local2 = 0;
while (_local2 != (maxFrame + 2)) {
if (lineFl[_local2] > -1) {
lineMc[0][_local2].removeMovieClip();
lineMc[1][_local2].removeMovieClip();
lineMc[2][_local2].removeMovieClip();
lineMc[3][_local2].removeMovieClip();
lineFl[_local2] = -1;
}
_local2++;
}
defaultMC._alpha = 100;
ob.x = -1;
ob.y = -1;
}
}
Symbol 402 MovieClip [__Packages.duplex.Sub] Frame 0
class duplex.Sub
{
function Sub () {
}
function lineCrossPoint(sx1, sy1, sx2, sy2, dx1, dy1, dx2, dy2) {
var _local7;
var _local8;
_local7 = dx2 - dx1;
_local8 = dy2 - dy1;
var _local19 = sx2 - sx1;
var _local9 = sy2 - sy1;
var _local1 = -_local9;
var _local2 = _local19;
var _local3 = Math.sqrt((_local1 * _local1) + (_local2 * _local2));
if (_local3 > 0) {
_local3 = 1 / _local3;
}
_local1 = _local1 * _local3;
_local2 = _local2 * _local3;
var _local12 = -((sx1 * _local1) + (sy1 * _local2));
var _local4 = (-(((_local1 * dx1) + (_local2 * dy1)) + _local12)) / ((_local1 * _local7) + (_local2 * _local8));
var _local5 = dx1 + (_local7 * _local4);
var _local6 = dy1 + (_local8 * _local4);
var _local20 = _local5 - sx1;
var _local10 = _local6 - sy1;
var _local11 = _local5 - sx2;
var _local18 = _local6 - sy2;
var _local13 = (_local20 * _local11) + (_local10 * _local18);
if (_local13 < 0) {
if ((_local4 > 0) && (_local4 <= 1)) {
return(true);
}
}
return(false);
}
function pointLength(ax, ay, bx, by) {
var _local1 = bx - ax;
var _local2 = by - ay;
return(Math.sqrt((_local1 * _local1) + (_local2 * _local2)));
}
function getC(x1, y1, x2, y2) {
var _local1;
x1 = x2 - x1;
y1 = y2 - y1;
_local1 = Math.atan2(y1, x1);
_local1 = _local1 / 3.141593;
_local1 = _local1 * 180;
return(_local1);
}
function getBezPoint(p0, p1, p2, d) {
var _local1 = {x:0, y:0};
var _local2 = (1 - d) * (1 - d);
_local1.x = _local1.x + (_local2 * p0.x);
_local1.y = _local1.y + (_local2 * p0.y);
_local2 = (2 * d) * (1 - d);
_local1.x = _local1.x + (_local2 * p1.x);
_local1.y = _local1.y + (_local2 * p1.y);
_local2 = d * d;
_local1.x = _local1.x + (_local2 * p2.x);
_local1.y = _local1.y + (_local2 * p2.y);
return(_local1);
}
}
Symbol 403 MovieClip [__Packages.duplex.Buffer] Frame 0
class duplex.Buffer
{
var buff, sys, myNum, state;
function Buffer () {
var _local2;
buff = new Array(MAXBUFF);
sys = new Array(SYSTEM);
_local2 = 0;
while (_local2 != MAXBUFF) {
buff[_local2] = 0;
_local2++;
}
_local2 = 0;
while (_local2 != SYSTEM) {
sys[_local2] = 0;
_local2++;
}
myNum = -1;
state = -1;
}
static var MAXBUFF = 20;
static var SYSTEM = 5;
}
Symbol 404 MovieClip [__Packages.sanbiki.samieru.sound.MusicPlayer] Frame 0
class sanbiki.samieru.sound.MusicPlayer extends Sound
{
var loop_point, vol, count, start_point, playing, loops, lp_cnt;
function MusicPlayer (mc) {
super(mc);
loop_point = 0;
}
function initPlay() {
vol = 100;
count = 0;
start_point = 0;
playing = false;
}
function isPlaying() {
return(playing);
}
function setLoopPoint(ms) {
loop_point = ms;
}
function startPlay(lp) {
loops = lp;
lp_cnt = 0;
setVolume(vol);
start(0);
playing = true;
}
function fadeOut(speed) {
vol = vol - speed;
if (vol < 0) {
vol = 0;
}
if (vol > 0) {
setVolume(vol);
} else {
stop();
}
}
function fadeIn(speed) {
setVolume(vol + speed);
}
function onSoundComplete() {
if (loops > 0) {
if ((++lp_cnt) >= loops) {
stop();
return(undefined);
}
}
start(loop_point);
}
function start(point) {
playing = true;
super.start(point);
}
function stop() {
playing = false;
super.stop();
}
function setVolume(volume) {
if (volume < 0) {
vol = 0;
}
if (volume > 100) {
volume = 100;
}
super.setVolume(volume);
}
}
Symbol 60 Button
on (release) {
_root.game.Gs.setGameLv(1);
}
Symbol 61 Button
on (release) {
_root.game.Gs.setGameLv(2);
}
Symbol 62 Button
on (release) {
_root.game.Gs.setGameLv(3);
}
Symbol 63 Button
on (release) {
_root.game.Gs.setGameLv(4);
}
Symbol 64 Button
on (release) {
_root.game.Gs.setGameLv(5);
}
Symbol 67 MovieClip Frame 1
stop();
Symbol 71 Button
on (release) {
this.level_changer.enabled = false;
this.play();
_root.game.Gs.playSE(0);
}
Symbol 72 MovieClip Frame 1
NowLv = _root.game.Gs.getGameLv();
i = 1;
while (i <= 5) {
obj = eval ("this.lv" + i);
obj._alpha = 100 - (60 * (i > NowLv));
i++;
}
Instance of Symbol 67 MovieClip "sound_switch" in Symbol 73 MovieClip Frame 25
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 80;
}
on (release) {
if (_root.SoundMute) {
_root.SoundMute = false;
this.gotoAndStop(1);
} else {
_root._root.SoundMute = true;
this.gotoAndStop(2);
}
}
Symbol 73 MovieClip Frame 36
stop();
Instance of Symbol 67 MovieClip "sound_switch" in Symbol 73 MovieClip Frame 36
onClipEvent (load) {
if (_root.game.Gs.getSoundFlag()) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 80;
}
on (release) {
if (_root.game.Gs.getSoundFlag()) {
_root.game.Gs.setSoundFlag(false);
this.gotoAndStop(1);
} else {
_root.game.Gs.setSoundFlag(true);
this.gotoAndStop(2);
}
}
Symbol 73 MovieClip Frame 37
_root.game.Gs.fo(3);
Instance of Symbol 67 MovieClip "sound_switch" in Symbol 73 MovieClip Frame 37
on (rollOver) {
this._alpha = 100;
}
on (rollOut) {
this._alpha = 80;
}
on (release) {
if (_root.SoundMute) {
_root.SoundMute = false;
this.gotoAndStop(1);
} else {
_root._root.SoundMute = true;
this.gotoAndStop(2);
}
}
Symbol 73 MovieClip Frame 80
_root.game.Gs.setBgm(1);
this._parent.gotoAndStop("demo");
Symbol 75 MovieClip Frame 96
_parent.nextFrame();
Symbol 101 Button
on (release) {
_root.game.Gs.stage(0);
}
Symbol 105 MovieClip Frame 77
_parent.nextFrame();
Symbol 114 MovieClip Frame 115
_parent.nextFrame();
Symbol 117 Button
on (release) {
this.play();
}
Symbol 118 Button
on (release) {
this.play();
}
Symbol 119 MovieClip Frame 1
stop();
Instance of Symbol 99 MovieClip in Symbol 119 MovieClip Frame 1
on (release) {
_parent.nextFrame();
}
Symbol 119 MovieClip Frame 9
_root.game.Gs.fo(5);
Symbol 119 MovieClip Frame 30
_root.game.Gs.stage(0);
Symbol 126 Button
on (release) {
_root.game.Gs.stage(1);
}
Symbol 132 MovieClip Frame 1
stop();
Instance of Symbol 99 MovieClip in Symbol 132 MovieClip Frame 1
on (release) {
_parent.nextFrame();
}
Symbol 132 MovieClip Frame 9
_root.game.Gs.fo(5);
Symbol 132 MovieClip Frame 30
_root.game.Gs.stage(1);
Symbol 134 Button
on (release) {
_root.game.Gs.stage(2);
}
Symbol 142 MovieClip Frame 5
stop();
Symbol 143 MovieClip Frame 1
stop();
Instance of Symbol 99 MovieClip in Symbol 143 MovieClip Frame 1
on (release) {
_parent.nextFrame();
}
Symbol 143 MovieClip Frame 9
_root.game.Gs.fo(5);
Symbol 143 MovieClip Frame 30
_root.game.Gs.stage(2);
Symbol 147 Button
on (release) {
_root.game.Gs.stage(3);
}
Symbol 149 MovieClip Frame 58
_parent.nextFrame();
Symbol 156 MovieClip Frame 1
stop();
Instance of Symbol 99 MovieClip in Symbol 156 MovieClip Frame 1
on (release) {
_parent.nextFrame();
}
Symbol 156 MovieClip Frame 9
_root.game.Gs.fo(5);
Symbol 156 MovieClip Frame 30
_root.game.Gs.stage(3);
Symbol 160 Button
on (release) {
gotoAndPlay (31);
}
Symbol 176 MovieClip Frame 34
stop();
Symbol 177 MovieClip Frame 1
stop();
Instance of Symbol 99 MovieClip in Symbol 177 MovieClip Frame 1
on (release) {
_parent.nextFrame();
}
Symbol 177 MovieClip Frame 9
_root.game.Gs.fo(15);
Symbol 177 MovieClip Frame 31
_root.game.Gs.playSE(1);
Symbol 177 MovieClip Frame 97
_root.game.Gs.stage(4);
Symbol 179 MovieClip Frame 39
_parent.nextFrame();
Symbol 183 MovieClip Frame 20
_parent.nextFrame();
Symbol 185 MovieClip Frame 1065
if (_root.game.Gs.getGameLv() < 3) {
this.stop();
_parent.gotoAndPlay("NOtestplayer");
} else {
_parent.gotoAndStop("testplayer");
}
Symbol 190 Button
on (release) {
gotoRegisterPage();
}
Symbol 192 MovieClip Frame 1
function gotoRegisterPage() {
var _local1 = NigoroFlashManager.getNigoroSession();
if (_local1) {
var _local2 = "http://nigoro.asterizm.net/register/nigoro_register.php?NIGORO=" + _local1;
getURL (_local2, "_blank");
}
}
NigoroFlashManager.setGameID("nigoro002");
NigoroFlashManager.setGameLevel(_root.game.Gs.getGameLv());
play();
Symbol 192 MovieClip Frame 2
nigoro.lib.samieru.NigoroFlashManager.checkGameClear();
Symbol 192 MovieClip Frame 3
play();
Symbol 192 MovieClip Frame 4
switch (NigoroFlashManager.getAccessStatus()) {
case NigoroFlashManager.ACCESS_STATUS_OK :
nextFrame();
break;
case NigoroFlashManager.ACCESS_STATUS_RUNNING :
gotoAndPlay ("Wait");
break;
case NigoroFlashManager.ACCESS_STATUS_ERROR :
gotoAndPlay ("Start");
}
Symbol 192 MovieClip Frame 5
stop();
Symbol 193 MovieClip Frame 1
stop();
Instance of Symbol 99 MovieClip in Symbol 193 MovieClip Frame 1
on (release) {
_parent.nextFrame();
}
Instance of Symbol 99 MovieClip in Symbol 193 MovieClip Frame 4
on (release) {
_parent.gotoAndPlay(5);
}
Symbol 193 MovieClip Frame 5
_root.game.Gs.fo(3);
Symbol 193 MovieClip Frame 42
_root.game.Gs.setBgm(2);
Symbol 193 MovieClip Frame 102
stop();
Symbol 193 MovieClip Frame 103
_root.game.Gs.fo(4);
Symbol 193 MovieClip Frame 144
stop();
_root.game.Gs.allClear();
Symbol 193 MovieClip Frame 145
stop();
Instance of Symbol 99 MovieClip in Symbol 193 MovieClip Frame 145
on (release) {
_root.game.Gs.allClear();
}
Symbol 194 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 2
stop();
Symbol 215 MovieClip Frame 11
stop();
Symbol 220 MovieClip Frame 120
stop();
Symbol 221 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 120
stop();
Symbol 246 MovieClip Frame 1
stop();
Symbol 255 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 120
stop();
Symbol 267 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 12
stop();
Symbol 287 MovieClip Frame 120
stop();
Symbol 292 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 180
stop();
Symbol 319 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 120
stop();
Symbol 336 MovieClip Frame 1
stop();
Symbol 339 MovieClip Frame 1
stop();
Symbol 341 MovieClip Frame 27
stop();
Symbol 342 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 3
stop();
Symbol 344 MovieClip Frame 27
stop();
Symbol 345 MovieClip Frame 1
stop();
Symbol 345 MovieClip Frame 3
stop();
Symbol 349 MovieClip Frame 15
stop();
Symbol 352 MovieClip Frame 15
_parent.nextFrame();
Symbol 353 Button
on (press) {
_root.game.Gs.talkMain(1);
_root.player.gotoAndStop(2);
this.gotoAndStop(1);
}
Symbol 354 MovieClip Frame 1
stop();
Instance of Symbol 352 MovieClip in Symbol 354 MovieClip Frame 2
on (press) {
_root.game.Gs.talkMain(1);
_root.player.gotoAndStop(2);
this.gotoAndStop(1);
}
Symbol 357 MovieClip Frame 15
_parent.nextFrame();
Symbol 358 Button
on (press) {
_root.game.Gs.talkMain(1);
}
Symbol 359 MovieClip Frame 1
stop();
Instance of Symbol 357 MovieClip in Symbol 359 MovieClip Frame 2
on (press) {
_root.game.Gs.talkMain(1);
}
Symbol 362 MovieClip Frame 15
_parent.nextFrame();
Symbol 363 Button
on (press) {
_root.game.Gs.talkMain(2);
}
Symbol 364 MovieClip Frame 1
stop();
Instance of Symbol 362 MovieClip in Symbol 364 MovieClip Frame 2
on (press) {
_root.game.Gs.talkMain(2);
}
Symbol 372 MovieClip Frame 1
stop();
Symbol 372 MovieClip Frame 11
gotoAndPlay (2);
Symbol 379 MovieClip Frame 1
stop();
Symbol 379 MovieClip Frame 11
gotoAndPlay (2);
Symbol 382 MovieClip Frame 15
stop();
Symbol 393 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 15
stop();
Symbol 397 MovieClip Frame 15
stop();
Symbol 398 MovieClip Frame 1
stop();