Frame 1
function agility(player, enemy) {
foo = 0;
foo = Math.random();
this.hensu = (50 + player) - enemy;
if (foo <= (((50 + player) - enemy) / 100)) {
return(0);
}
return(1);
}
function damaged(str, vit) {
return(Math.floor(((((str - vit) / ((vit / 10) + 1)) + ((str - vit) / 4.1)) + (Math.random() * 20)) - (Math.random() * 20)));
}
function enemyAI(enemyName) {
switch (enemyName) {
case "sefiria" :
if (this.enemyAtkPoint >= eAtk3Cost) {
this.enemyActionTxt = "\u6EC5\u754C";
this.enemyAtkPoint = this.enemyAtkPoint - eAtk3Cost;
this.enemyStr = this.enemyStr + 310;
return("atk3");
}
if (this.enemyAtkPoint >= (eAtk2Cost + 1)) {
if (this.enemyGudPoint >= eGud2Cost) {
this.enemyActionTxt = "\u685C\u821E";
this.enemyGudPoint = this.enemyGudPoint - eGud2Cost;
return("gud2");
}
if ((this.enemySpPoint >= eSp1Cost) && (this.enemyHP < 300)) {
this.enemyActionTxt = "\u304A\u8336";
this.enemySpPoint = this.enemySpPoint - eSp1Cost;
return("sp1");
}
if (this.enemyGudPoint >= eGud1Cost) {
this.enemyActionTxt = "\u9632\u5FA1";
this.enemyGudPoint = this.enemyGudPoint - eGud1Cost;
this.enemyVit = this.enemyVit + 60;
return("gud1");
}
} else {
if (this.enemyAtkPoint >= eAtk2Cost) {
this.enemyActionTxt = "\u96F7\u9706";
this.enemyAtkPoint = this.enemyAtkPoint - eAtk2Cost;
this.enemyStr = this.enemyStr + 210;
return("atk2");
}
if (this.enemyAtkPoint >= (eAtk2Cost - 1)) {
if (this.enemyGudPoint >= eGud2Cost) {
this.enemyActionTxt = "\u685C\u821E";
this.enemyGudPoint = this.enemyGudPoint - eGud2Cost;
return("gud2");
}
if ((this.enemySpPoint >= eSp1Cost) && (this.enemyHP < 300)) {
this.enemyActionTxt = "\u304A\u8336";
this.enemySpPoint = this.enemySpPoint - eSp1Cost;
return("sp1");
}
} else {
if (this.enemyAtkPoint >= eAtk4Cost) {
this.enemyActionTxt = "\u4E09\u9023\u65AC\u6483";
this.enemyAtkPoint = this.enemyAtkPoint - eAtk4Cost;
this.enemyStr = this.enemyStr + 90;
return("atk4");
}
if (this.enemyGudPoint >= eGud2Cost) {
this.enemyActionTxt = "\u685C\u821E";
this.enemyGudPoint = this.enemyGudPoint - eGud2Cost;
return("gud2");
}
if ((this.enemySpPoint >= eSp1Cost) && (this.enemyHP < 300)) {
this.enemyActionTxt = "\u304A\u8336";
this.enemySpPoint = this.enemySpPoint - eSp1Cost;
return("sp1");
}
if (this.enemyAtkPoint >= eAtk1Cost) {
this.enemyActionTxt = "\u65AC\u6483";
this.enemyAtkPoint = this.enemyAtkPoint - eAtk1Cost;
return("atk1");
}
if (this.enemyGudPoint >= eGud1Cost) {
this.enemyActionTxt = "\u9632\u5FA1";
this.enemyGudPoint = this.enemyGudPoint - eGud1Cost;
this.enemyVit = this.enemyVit + 60;
return("gud1");
}
this.enemyActionTxt = "\u884C\u52D5\u7121\u3057";
return("noAction");
}
}
case "kurido" :
if (((this.enemyAtkPoint < eAtk1Cost) && (this.enemyGudPoint < eGud1Cost)) && (this.enemySpPoint < eSp1Cost)) {
this.enemyActionTxt = "\u7121\u884C\u52D5";
return("noAction");
}
if ((this.enemyAtkPoint <= 0) && (this.enemyGudPoint >= eGud2Cost)) {
this.enemyActionTxt = "\u685C\u821E";
this.enemyGudPoint = this.enemyGudPoint - eGud2Cost;
return("gud2");
}
if (this.enemyAtkPoint >= eAtk3Cost) {
this.enemyActionTxt = "\u6EC5\u754C";
this.enemyAtkPoint = this.enemyAtkPoint - eAtk3Cost;
this.enemyStr = this.enemyStr + 200;
return("atk3");
}
if (this.enemyAtkPoint >= (eAtk3Cost - 2)) {
if (this.enemyGudPoint >= eGud2Cost) {
this.enemyActionTxt = "\u685C\u821E";
this.enemyGudPoint = this.enemyGudPoint - eGud2Cost;
return("gud2");
}
if (this.enemySpPoint >= eSp1Cost) {
this.enemyActionTxt = "\u304A\u8336";
this.enemySpPoint = this.enemySpPoint - eSp1Cost;
return("sp1");
}
if (this.enemyGudPoint >= eGud1Cost) {
this.enemyActionTxt = "\u9632\u5FA1";
this.enemyGudPoint = this.enemyGudPoint - eGud1Cost;
this.enemyVit = this.enemyVit + 60;
return("gud1");
}
} else {
if (this.enemyAtkPoint >= eAtk2Cost) {
this.enemyActionTxt = "\u96F7\u9706";
this.enemyAtkPoint = this.enemyAtkPoint - eAtk2Cost;
this.enemyStr = this.enemyStr + 100;
return("atk2");
}
if (this.enemyAtkPoint >= (eAtk3Cost - 2)) {
if (this.enemyGudPoint >= eGud2Cost) {
this.enemyActionTxt = "\u685C\u821E";
this.enemyGudPoint = this.enemyGudPoint - eGud2Cost;
return("gud2");
}
if (this.enemySpPoint >= eSp1Cost) {
this.enemyActionTxt = "\u304A\u8336";
this.enemySpPoint = this.enemySpPoint - eSp1Cost;
return("sp1");
}
if (this.enemyGudPoint > 0) {
this.enemyActionTxt = "\u9632\u5FA1";
this.enemyGudPoint = this.enemyGudPoint - eGud1Cost;
this.enemyVit = this.enemyVit + 60;
return("gud1");
}
} else {
if ((this.enemySpPoint >= eSp1Cost) && (this.enemyHP < 500)) {
this.enemyActionTxt = "\u304A\u8336";
this.enemySpPoint = this.enemySpPoint - eSp1Cost;
return("sp1");
}
if (this.enemyAtkPoint < eAtk1Cost) {
break;
}
this.enemyActionTxt = "\u65AC\u6483";
this.enemyAtkPoint = this.enemyAtkPoint - eAtk1Cost;
return("atk1");
}
}
}
return("noAction");
}
this._quality = "high";
this.stop();
stopAllSounds();
this.sefiriaAtk1Cost = 2;
this.sefiriaAtk2Cost = 6;
this.sefiriaAtk3Cost = 10;
this.sefiriaAtk4Cost = 4;
this.sefiriaGud1Cost = 2;
this.sefiriaGud2Cost = 6;
this.sefiriaSp1Cost = 6;
this.kuridoAtk1Cost = 2;
this.kuridoAtk2Cost = 4;
this.kuridoAtk3Cost = 6;
this.kuridoAtk4Cost = 10;
this.kuridoGud1Cost = 4;
this.kuridoGud2Cost = 5;
this.kuridoSp1Cost = 6;
this.zako1Atk1Cost = 2;
this.zako1Atk2Cost = 4;
this.zako1Gud1Cost = 2;
this.zako1Gud2Cost = 4;
this.zako1Sp1Cost = 3;
this.zako1Sp2Cost = 4;
this.zako2Atk1Cost = 1;
this.zako2Gud1Cost = 1;
this.zako2Sp1Cost = 2;
this.zako2Sp2Cost = 3;
Instance of Symbol 20 MovieClip in Frame 1
onClipEvent (load) {
this.numAni = 99999999 /* 0x5F5E0FF */;
this.numberAnime_txt.text = numAni;
}
onClipEvent (enterFrame) {
this.numberAnime_txt.text = Math.abs(numAni - Math.floor(Math.random() * 100000000));
}
onClipEvent (mouseDown) {
this._parent.nextFrame();
}
Frame 2
this.stop();
this.bgmon = 0;
this.turnNo = 0;
this.noAction = 0;
this.enemyMaxHP = 1000;
this.playerMaxHP = 1000;
this.enemyHP = 1000;
this.playerHP = 1000;
this.enemyAtkPoint = 0;
this.enemyGudPoint = 0;
this.enemySpPoint = 0;
this.playerAtkPoint = 0;
this.playerGudPoint = 0;
this.playerSpPoint = 0;
this.playerAgiDef = 100;
this.playerStrDef = 158;
this.playerVitDef = 6;
this.pflag = 0;
this.actionFlag = "";
this.eActionFlag = 0;
this.pActionFlag = 0;
this.hensu = 0;
this.popDamageRoot = 0;
this.popDamageFlag = 0;
this.playerActionTxt = "";
this.enemyActionTxt = "";
this.turn = -1;
this.permitP = false;
this.permitE = false;
this.pActionEnd = 0;
this.eActionEnd = 0;
this.playerAttacking = 0;
this.enemyAttacking = 0;
this.pShowActionEnd = 0;
this.eShowActionEnd = 0;
this.popDamageEnd = 0;
this.eHPBarFlag = 0;
this.pHPBarFlag = 0;
this.enemyActionGo = 0;
this.playerActionGo = 0;
this.rollFlag = 0;
Instance of Symbol 51 MovieClip in Frame 2
onClipEvent (enterFrame) {
this.point_txt.text = "x" + this._parent.playerSpPoint;
}
Instance of Symbol 51 MovieClip in Frame 2
onClipEvent (enterFrame) {
this.point_txt.text = "x" + this._parent.playerGudPoint;
}
Instance of Symbol 51 MovieClip in Frame 2
onClipEvent (enterFrame) {
this.point_txt.text = "x" + this._parent.playerAtkPoint;
}
Instance of Symbol 51 MovieClip in Frame 2
onClipEvent (enterFrame) {
this.point_txt.text = "x" + this._parent.enemySpPoint;
}
Instance of Symbol 51 MovieClip in Frame 2
onClipEvent (enterFrame) {
this.point_txt.text = "x" + this._parent.enemyGudPoint;
}
Instance of Symbol 51 MovieClip in Frame 2
onClipEvent (enterFrame) {
this.point_txt.text = "x" + this._parent.enemyAtkPoint;
}
Instance of Symbol 80 MovieClip in Frame 2
onClipEvent (load) {
this.var1 = 0;
}
onClipEvent (mouseDown) {
if (this.var1 == 0) {
this.var1 = 1;
this.gotoAndPlay("goBattle");
}
}
Frame 3
this.stop();
this._quality = "low";
if (this.bgmon == 0) {
bgm = new Sound();
bgm.attachSound("boss");
bgm.start(0, 999);
this.bgmon = 1;
}
this.playerAgi = this.playerAgiDef;
this.playerStr = this.playerStrDef;
this.playerVit = this.playerVitDef;
this.enemyAgi = 190;
this.enemyStr = 152;
this.enemyVit = 4;
this.pAtk1Cost = this.kuridoAtk1Cost;
this.pAtk2Cost = this.kuridoAtk2Cost;
this.pAtk3Cost = this.kuridoAtk3Cost;
this.pAtk4Cost = this.kuridoAtk4Cost;
this.pGud1Cost = this.kuridoGud1Cost;
this.pGud2Cost = this.kuridoGud2Cost;
this.pSp1Cost = this.kuridoSp1Cost;
this.eAtk1Cost = this.sefiriaAtk1Cost;
this.eAtk2Cost = this.sefiriaAtk2Cost;
this.eAtk3Cost = this.sefiriaAtk3Cost;
this.eAtk4Cost = this.sefiriaAtk4Cost;
this.eGud1Cost = this.sefiriaGud1Cost;
this.eGud2Cost = this.sefiriaGud2Cost;
this.eSp1Cost = this.sefiriaSp1Cost;
Instance of Symbol 74 MovieClip "pHPBar_mc" in Frame 3
onClipEvent (enterFrame) {
if (this._parent.pHPBarFlag == 1) {
this._parent.pHPBarFlag = 0;
this.play();
}
}
Instance of Symbol 73 MovieClip "eHPBar_mc" in Frame 3
onClipEvent (enterFrame) {
if (this._parent.eHPBarFlag == 1) {
this._parent.eHPBarFlag = 0;
this.play();
}
}
Instance of Symbol 397 MovieClip "start_mc" in Frame 3
onClipEvent (load) {
this._parent.turnNo++;
this.eap = 0;
this.egp = 0;
this.esp = 0;
this.pap = 0;
this.pgp = 0;
this.psp = 0;
this._parent.rollFlag = 0;
}
Frame 4
this._quality = "medium";
Instance of Symbol 817 MovieClip "pAction_mc" in Frame 5
onClipEvent (load) {
this._parent.playerAttacking = 0;
this._parent.enemyAttacking = 0;
this._parent.permitP = false;
this._parent.permitE = false;
this._parent.turn = -1;
this._parent.eActionFlag = 0;
this._parent.pActionFlag = 0;
this._parent.eActionEnd = 0;
this._parent.pActionEnd = 0;
this._parent.popDamageFlag = 0;
this.enemyActionGo = 0;
this.playerActionGo = 0;
}
Frame 6
this.stop();
this._quality = "high";
Instance of Symbol 823 MovieClip in Frame 6
onClipEvent (mouseDown) {
this._parent._parent.nextFrame();
}
Frame 7
this.stop();
this._quality = "high";
Instance of Symbol 841 MovieClip in Frame 7
onClipEvent (load) {
this.aaa = 0;
}
onClipEvent (mouseDown) {
if (this.aaa == 0) {
this.gotoAndPlay("cont");
}
}
Symbol 20 MovieClip Frame 110
this._parent.nextFrame();
Symbol 73 MovieClip Frame 1
this.stop();
Symbol 73 MovieClip Frame 2
this.damage = this._parent.popDamageRoot;
this.eHP = this._parent.enemyHP - this.damage;
playerHPFlag = 0;
count = 0;
if (damage <= 30) {
repeat = damage;
} else {
repeat = 30;
}
Symbol 73 MovieClip Frame 3
if (playerHPFlag == 1) {
playerHPFlag = 0;
if (this.eHP <= 0) {
this._parent.enemyHP = 0;
this._parent.eHPBar_mc._width = 0;
}
this.gotoAndStop(1);
} else if (damage <= 30) {
this._parent.enemyHP = this._parent.enemyHP - 1;
this._parent.pHPBar_mc._width = this._parent.pHPBar_mc._width - 0.3;
if (this._parent.enemyHP <= 0) {
this._parent.enemyHP = 0;
this._parent.eHPBar_mc._width = 0;
count = repeat + 1;
} else {
count++;
}
} else if (this._parent.enemyHP <= Math.floor(damage / 30)) {
this._parent.enemyHP = 0;
this._parent.eHPBar_mc._width = 0;
count = repeat + 1;
} else {
this._parent.enemyHP = this._parent.enemyHP - Math.floor(damage / 30);
this._parent.eHPBar_mc._width = this._parent.eHPBar_mc._width - (((245 / this._parent.enemyMaxHP) * damage) / 30);
if (this._parent.eHPBar_mc._width <= ((this.eHP / this._parent.enemyMaxHP) * 245)) {
this._parent.eHPBar_mc._width = (this.eHP / this._parent.enemyMaxHP) * 245;
}
count++;
}
Symbol 73 MovieClip Frame 4
if (count <= repeat) {
this.gotoAndPlay(_currentframe - 1);
} else {
playerHPFlag = 1;
this.gotoAndPlay(_currentframe - 1);
}
Symbol 74 MovieClip Frame 1
this.stop();
Symbol 74 MovieClip Frame 2
this.damage = this._parent.popDamageRoot;
this.eHP = this._parent.playerHP - this.damage;
playerHPFlag = 0;
count = 0;
if (damage <= 30) {
repeat = damage;
} else {
repeat = 30;
}
Symbol 74 MovieClip Frame 3
if (playerHPFlag == 1) {
playerHPFlag = 0;
if (this.eHP <= 0) {
this._parent.playerHP = 0;
this._parent.pHPBar_mc._width = 0;
}
this.gotoAndStop(1);
} else if (damage <= 30) {
this._parent.playerHP = this._parent.playerHP - 1;
this._parent.pHPBar_mc._width = this._parent.pHPBar_mc._width - 0.3;
if (this._parent.playerHP <= 0) {
this._parent.playerHP = 0;
this._parent.pHPBar_mc._width = 0;
count = repeat + 1;
} else {
count++;
}
} else if (this._parent.playerHP <= Math.floor(damage / 30)) {
this._parent.playerHP = 0;
this._parent.pHPBar_mc._width = 0;
count = repeat + 1;
} else {
this._parent.playerHP = this._parent.playerHP - Math.floor(damage / 30);
this._parent.pHPBar_mc._width = this._parent.pHPBar_mc._width - (((245 / this._parent.playerMaxHP) * damage) / 30);
if (this._parent.pHPBar_mc._width <= ((this.eHP / this._parent.playerMaxHP) * 245)) {
this._parent.pHPBar_mc._width = (this.eHP / this._parent.playerMaxHP) * 245;
}
count++;
}
Symbol 74 MovieClip Frame 4
if (count <= repeat) {
this.gotoAndPlay(_currentframe - 1);
} else {
playerHPFlag = 1;
this.gotoAndPlay(_currentframe - 1);
}
Symbol 80 MovieClip Frame 278
this.var1 = 1;
Symbol 80 MovieClip Frame 356
this.stop();
this._parent.nextFrame();
Symbol 101 Button
on (release) {
this.gotoAndPlay("playerRoll");
}
Symbol 108 MovieClip Frame 35
this.gotoAndPlay("roop");
Symbol 157 MovieClip Frame 60
stop();
Symbol 159 MovieClip Frame 63
this.stop();
if (this._parent._parent._parent._parent.rollFlag >= 4) {
this._parent._parent._parent.eap++;
} else {
this._parent._parent._parent.pap++;
}
this._parent._parent._parent._parent.rollFlag++;
Symbol 204 MovieClip Frame 60
stop();
Symbol 205 MovieClip Frame 63
this.stop();
if (this._parent._parent._parent._parent.rollFlag >= 4) {
this._parent._parent._parent.eap = this._parent._parent._parent.eap + 2;
} else {
this._parent._parent._parent.pap = this._parent._parent._parent.pap + 2;
}
this._parent._parent._parent._parent.rollFlag++;
Symbol 248 MovieClip Frame 60
stop();
Symbol 249 MovieClip Frame 63
this.stop();
if (this._parent._parent._parent._parent.rollFlag >= 4) {
this._parent._parent._parent.egp++;
} else {
this._parent._parent._parent.pgp++;
}
this._parent._parent._parent._parent.rollFlag++;
Symbol 294 MovieClip Frame 60
stop();
Symbol 295 MovieClip Frame 63
this.stop();
if (this._parent._parent._parent._parent.rollFlag >= 4) {
this._parent._parent._parent.egp = this._parent._parent._parent.egp + 2;
} else {
this._parent._parent._parent.pgp = this._parent._parent._parent.pgp + 2;
}
this._parent._parent._parent._parent.rollFlag++;
Symbol 340 MovieClip Frame 60
stop();
Symbol 341 MovieClip Frame 63
this.stop();
if (this._parent._parent._parent._parent.rollFlag >= 4) {
this._parent._parent._parent.esp++;
} else {
this._parent._parent._parent.psp++;
}
this._parent._parent._parent._parent.rollFlag++;
Symbol 386 MovieClip Frame 60
stop();
Symbol 387 MovieClip Frame 63
this.stop();
if (this._parent._parent._parent._parent.rollFlag >= 4) {
this._parent._parent._parent.esp = this._parent._parent._parent.esp + 2;
} else {
this._parent._parent._parent.psp = this._parent._parent._parent.psp + 2;
}
this._parent._parent._parent._parent.rollFlag++;
Symbol 388 MovieClip Frame 1
this.gotoAndStop(Math.floor(Math.random() * 6) + 2);
Symbol 393 MovieClip Frame 40
this.gotoAndStop(1);
this._parent.nextFrame();
Symbol 396 MovieClip Frame 1
this.stop();
Symbol 396 MovieClip Frame 22
this.stop();
Instance of Symbol 393 MovieClip "playerIcon_mc" in Symbol 396 MovieClip Frame 23
onClipEvent (enterFrame) {
this.atktxt_mc.hensu_txt.text = this._parent._parent.pap;
this.gudtxt_mc.hensu_txt.text = this._parent._parent.pgp;
this.sptxt_mc.hensu_txt.text = this._parent._parent.psp;
}
Symbol 396 MovieClip Frame 24
this._parent._parent.playerAtkPoint = this._parent._parent.playerAtkPoint + this._parent.pap;
this._parent._parent.playerGudPoint = this._parent._parent.playerGudPoint + this._parent.pgp;
this._parent._parent.playerSpPoint = this._parent._parent.playerSpPoint + this._parent.psp;
this.play();
Symbol 396 MovieClip Frame 59
this.stop();
Instance of Symbol 393 MovieClip "enemyIcon_mc" in Symbol 396 MovieClip Frame 60
onClipEvent (enterFrame) {
this.atktxt_mc.hensu_txt.text = this._parent._parent.eap;
this.gudtxt_mc.hensu_txt.text = this._parent._parent.egp;
this.sptxt_mc.hensu_txt.text = this._parent._parent.esp;
}
Symbol 396 MovieClip Frame 61
this._parent._parent.enemyAtkPoint = this._parent._parent.enemyAtkPoint + this._parent.eap;
this._parent._parent.enemyGudPoint = this._parent._parent.enemyGudPoint + this._parent.egp;
this._parent._parent.enemySpPoint = this._parent._parent.enemySpPoint + this._parent.esp;
this._parent._parent.gotoAndStop("playerAction");
this.stop();
Symbol 397 MovieClip Frame 1
this.stop();
Instance of Symbol 396 MovieClip "diceRoll_mc" in Symbol 397 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent._parent.rollFlag == 3) {
this._parent._parent.rollFlag++;
this.gotoAndStop("addPlayer");
} else if (this._parent._parent.rollFlag == 7) {
this._parent._parent.rollFlag = 0;
this.gotoAndStop("addEnemy");
}
}
Symbol 407 Button
on (press) {
this._parent._parent.actionFlag = "noAction";
this._parent._parent.playerActionTxt = "\u884C\u52D5\u7121\u3057";
this._parent._parent.gotoAndStop("battle");
}
Symbol 411 Button
on (press) {
this.gotoAndStop("special");
}
Symbol 415 Button
on (press) {
this.gotoAndStop("guard");
}
Symbol 422 Button
on (release) {
this._parent._parent.playerAtkPoint = this._parent._parent.playerAtkPoint - this._parent._parent.pAtk2Cost;
this._parent._parent.actionFlag = "atk2";
this._parent._parent.playerStr = this._parent._parent.playerStr + 95;
this._parent._parent.playerActionTxt = "\u4E09\u9023\u65AC\u6483";
this._parent._parent.gotoAndStop("battle");
}
Symbol 426 Button
on (release) {
this._parent._parent.playerAtkPoint = this._parent._parent.playerAtkPoint - this._parent._parent.pAtk3Cost;
this._parent._parent.actionFlag = "atk3";
this._parent._parent.playerStr = this._parent._parent.playerStr + 210;
this._parent._parent.playerActionTxt = "\u5E7B\u60F3\u864E\u5FB9\uFF2C\uFF36\uFF11";
this._parent._parent.gotoAndStop("battle");
}
Symbol 430 Button
on (release) {
this._parent._parent.playerAtkPoint = this._parent._parent.playerAtkPoint - this._parent._parent.pAtk4Cost;
this._parent._parent.actionFlag = "atk4";
this._parent._parent.playerStr = this._parent._parent.playerStr + 340;
this._parent._parent.playerActionTxt = "\u5E7B\u60F3\u864E\u5FB9\uFF2C\uFF36\uFF12";
this._parent._parent.gotoAndStop("battle");
}
Symbol 433 Button
on (release) {
this._parent._parent.playerAtkPoint = this._parent._parent.playerAtkPoint - this._parent._parent.pAtk1Cost;
this._parent._parent.actionFlag = "atk1";
this._parent._parent.playerActionTxt = "\u65AC\u6483";
this._parent._parent.gotoAndStop("battle");
}
Symbol 438 Button
on (press) {
this.gotoAndStop("attack");
}
Symbol 442 Button
on (release) {
this._parent._parent.playerGudPoint = this._parent._parent.playerGudPoint - this._parent._parent.pGud1Cost;
this._parent._parent.actionFlag = "gud1";
this._parent._parent.playerActionTxt = "\u30CA\u30CE\u30DC\u30C7\u30A3";
this._parent._parent.gotoAndStop("battle");
}
Symbol 445 Button
on (release) {
this._parent._parent.playerGudPoint = this._parent._parent.playerGudPoint - this._parent._parent.pGud2Cost;
this._parent._parent.actionFlag = "gud2";
this._parent._parent.playerActionTxt = "\u571F\u8718\u86DB";
this._parent._parent.gotoAndStop("battle");
}
Symbol 450 Button
on (release) {
this._parent._parent.playerSpPoint = this._parent._parent.playerSpPoint - this._parent._parent.pSp1Cost;
this._parent._parent.actionFlag = "sp1";
this._parent._parent.playerActionTxt = "\u30B4\u30C3\u30C9\u30D6\u30EC\u30B9";
this._parent._parent.gotoAndStop("battle");
}
Symbol 452 MovieClip Frame 1
this.stop();
Symbol 453 MovieClip Frame 1
this.stop();
Instance of Symbol 452 MovieClip "actionCommand_mc" in Symbol 453 MovieClip Frame 1
onClipEvent (enterFrame) {
this.atk1Cost_txt.text = this._parent._parent.pAtk1Cost;
this.atk2Cost_txt.text = this._parent._parent.pAtk2Cost;
this.atk3Cost_txt.text = this._parent._parent.pAtk3Cost;
this.atk4Cost_txt.text = this._parent._parent.pAtk4Cost;
this.gud1Cost_txt.text = this._parent._parent.pGud1Cost;
this.gud2Cost_txt.text = this._parent._parent.pGud2Cost;
this.sp1Cost_txt.text = this._parent._parent.pSp1Cost;
if (this._parent._parent.playerAtkPoint < this._parent._parent.pAtk1Cost) {
this.atk1Name_mc._alpha = 50;
this.atk1Name_mc.enabled = false;
}
if (this._parent._parent.playerAtkPoint < this._parent._parent.pAtk2Cost) {
this.atk2Name_mc._alpha = 50;
this.atk2Name_mc.enabled = false;
}
if (this._parent._parent.playerAtkPoint < this._parent._parent.pAtk3Cost) {
this.atk3Name_mc._alpha = 50;
this.atk3Name_mc.enabled = false;
}
if (this._parent._parent.playerAtkPoint < this._parent._parent.pAtk4Cost) {
this.atk4Name_mc._alpha = 50;
this.atk4Name_mc.enabled = false;
}
if (this._parent._parent.playerGudPoint < this._parent._parent.pGud1Cost) {
this.gud1Name_mc._alpha = 50;
this.gud1Name_mc.enabled = false;
}
if (this._parent._parent.playerGudPoint < this._parent._parent.pGud2Cost) {
this.gud2Name_mc._alpha = 50;
this.gud2Name_mc.enabled = false;
}
if (this._parent._parent.playerSpPoint < this._parent._parent.pSp1Cost) {
this.sp1Name_mc._alpha = 50;
this.sp1Name_mc.enabled = false;
}
}
Symbol 454 MovieClip Frame 30
this.stop();
this._parent._parent._parent.pActionEnd = 1;
Symbol 460 MovieClip Frame 1
this.stop();
Symbol 460 MovieClip Frame 6
this._parent._parent._parent.playerAttacking = 1;
Symbol 460 MovieClip Frame 36
this.stop();
Symbol 487 MovieClip Frame 1
this.stop();
Symbol 487 MovieClip Frame 10
this._parent._parent._parent.playerAttacking = 2;
Symbol 487 MovieClip Frame 34
this._parent._parent._parent.playerAttacking = 2;
Symbol 487 MovieClip Frame 68
this._parent._parent._parent.playerAttacking = 1;
Symbol 487 MovieClip Frame 95
this.stop();
Symbol 500 MovieClip Frame 1
this.stop();
Symbol 500 MovieClip Frame 140
this._parent._parent._parent.playerAttacking = 1;
Symbol 500 MovieClip Frame 169
this.stop();
Symbol 524 MovieClip Frame 1
this.stop();
Symbol 524 MovieClip Frame 90
this._parent._parent._parent.playerAttacking = 1;
Symbol 524 MovieClip Frame 123
this.stop();
Symbol 543 MovieClip Frame 7
this._parent._parent._parent.pActionEnd = 1;
Symbol 543 MovieClip Frame 8
if ((this._parent._parent._parent.noAction == 1) || (this._parent._parent._parent.eActionEnd == 1)) {
this._parent._parent._parent.popDamageEnd = 0;
this.gotoAndPlay("nomove");
}
if (this._parent._parent._parent.enemyAttacking == 1) {
var1 = 0;
if (((var1 = Math.random())) <= 0.7) {
this._parent._parent._parent.playerStr = this._parent._parent._parent.playerStr + 30;
this.gotoAndPlay("counter");
} else if (((var1 = Math.random())) < 0.5) {
this.gotoAndPlay("atked0");
} else {
this.gotoAndPlay("atked1");
}
}
Symbol 543 MovieClip Frame 9
this.gotoAndPlay(_currentframe - 1);
Symbol 543 MovieClip Frame 10
this._parent._parent._parent.enemyAttacking = 0;
this._parent._parent._parent.pActionFlag = 0;
Symbol 543 MovieClip Frame 13
this._parent._parent._parent.popDamageRoot = "MISS";
Symbol 543 MovieClip Frame 15
this._parent._parent._parent.popDamageFlag = 2;
Symbol 543 MovieClip Frame 21
if (this._parent._parent._parent.popDamageEnd == 2) {
this.gotoAndPlay(_currentframe + 2);
}
Symbol 543 MovieClip Frame 22
this.gotoAndPlay(_currentframe - 1);
Symbol 543 MovieClip Frame 40
this._parent._parent._parent.pActionEnd = 1;
this._parent._parent._parent.eActionEnd = 1;
this._parent._parent._parent.popDamageEnd = 1;
this.stop();
Symbol 543 MovieClip Frame 41
this._parent._parent._parent.enemyAttacking = 0;
this._parent._parent._parent.pActionFlag = 0;
Symbol 543 MovieClip Frame 44
this._parent._parent._parent.popDamageRoot = "MISS";
Symbol 543 MovieClip Frame 46
this._parent._parent._parent.popDamageFlag = 2;
Symbol 543 MovieClip Frame 52
if (this._parent._parent._parent.popDamageEnd == 2) {
this.gotoAndPlay(_currentframe + 2);
}
Symbol 543 MovieClip Frame 53
this.gotoAndPlay(_currentframe - 1);
Symbol 543 MovieClip Frame 136
this._parent._parent._parent.pActionEnd = 1;
this._parent._parent._parent.eActionEnd = 1;
this._parent._parent._parent.popDamageEnd = 1;
this.stop();
Symbol 543 MovieClip Frame 161
this._parent._parent._parent.pActionEnd = 1;
this._parent._parent._parent.popDamageEnd = 1;
this.stop();
Symbol 543 MovieClip Frame 162
this._parent._parent._parent.enemyAttacking = 0;
this._parent._parent._parent.pActionFlag = 0;
Symbol 543 MovieClip Frame 165
this._parent._parent._parent.popDamageRoot = "MISS";
Symbol 543 MovieClip Frame 167
this._parent._parent._parent.popDamageFlag = 2;
this._parent._parent._parent.eActionEnd = 1;
this._parent._parent._parent.pActionEnd = 0;
Symbol 543 MovieClip Frame 173
if (this._parent._parent._parent.popDamageEnd == 2) {
this.gotoAndPlay(_currentframe + 2);
}
Symbol 543 MovieClip Frame 174
this.gotoAndPlay(_currentframe - 1);
Symbol 543 MovieClip Frame 225
this._parent._parent._parent.playerAttacking = 1;
Symbol 543 MovieClip Frame 253
this.stop();
Symbol 557 MovieClip Frame 1
dead = 0;
this._parent._parent._parent.popDamageRoot = this._parent._parent._parent.damaged(this._parent._parent._parent.enemyStr, this._parent._parent._parent.playerVit);
if ((this._parent._parent._parent.playerHP - this._parent._parent._parent.popDamageRoot) <= 0) {
dead = 1;
}
Symbol 557 MovieClip Frame 7
this._parent._parent._parent.pActionEnd = 1;
Symbol 557 MovieClip Frame 8
if ((this._parent._parent._parent.noAction == 1) || (this._parent._parent._parent.eActionEnd == 1)) {
this.gotoAndPlay("nomove");
}
if (this._parent._parent._parent.enemyAttacking == 2) {
this.gotoAndPlay("atkedon");
}
if (this._parent._parent._parent.enemyAttacking == 1) {
if (dead == 1) {
this._parent.gotoAndStop("down");
} else if (((var1 = Math.random())) < 0.5) {
this.gotoAndPlay("gud0");
} else {
this.gotoAndPlay("gud1");
}
}
Symbol 557 MovieClip Frame 9
this.gotoAndPlay(_currentframe - 1);
Symbol 557 MovieClip Frame 10
this._parent._parent._parent.enemyAttacking = 0;
this._parent._parent._parent.pActionFlag = 0;
Symbol 557 MovieClip Frame 11
this.damage = this._parent._parent._parent.popDamageRoot;
this.cure = Math.floor(this.damage * 0.85);
this._parent._parent._parent.popDamageFlag = 2;
Symbol 557 MovieClip Frame 19
this.count = 0;
this.pHP = Math.floor(this._parent._parent._parent.playerHP - this.damage);
Symbol 557 MovieClip Frame 20
this.pHP20 = Math.floor(this._parent._parent._parent.playerHP - (this.damage / 20));
if (this._parent._parent._parent.playerHP > this.pHP) {
if (this.damage <= 20) {
this._parent._parent._parent.playerHP = this._parent._parent._parent.playerHP - 1;
this._parent._parent._parent.pHPBar_mc._width = this._parent._parent._parent.pHPBar_mc._width - 0.3;
} else {
this._parent._parent._parent.playerHP = this.pHP20;
this._parent._parent._parent.pHPBar_mc._width = this._parent._parent._parent.pHPBar_mc._width - (((245 / this._parent._parent._parent.playerMaxHP) * damage) / 20);
}
if (this._parent._parent._parent.pHPBar_mc._width <= ((this.pHP / this._parent._parent._parent.playerMaxHP) * 245)) {
this._parent._parent._parent.pHPBar_mc._width = (this.pHP / this._parent._parent._parent.playerMaxHP) * 245;
}
if (this._parent._parent._parent.playerHP <= this.pHP) {
this._parent._parent._parent.playerHP = this.pHP;
}
}
count++;
Symbol 557 MovieClip Frame 21
if (count < 21) {
this.gotoAndPlay(_currentframe - 1);
}
Symbol 557 MovieClip Frame 33
this._parent._parent._parent.popDamageRoot = this.cure;
Symbol 557 MovieClip Frame 34
this._parent._parent._parent.popDamageFlag = 20;
Symbol 557 MovieClip Frame 39
this.count = 0;
this.pHP = Math.floor(this._parent._parent._parent.playerHP + this.cure);
Symbol 557 MovieClip Frame 40
this.pHP20 = Math.floor(this._parent._parent._parent.playerHP + (this.cure / 20));
if (this._parent._parent._parent.playerHP < this.pHP) {
if (this.cure <= 20) {
this._parent._parent._parent.playerHP = this._parent._parent._parent.playerHP + 1;
this._parent._parent._parent.pHPBar_mc._width = this._parent._parent._parent.pHPBar_mc._width + 0.3;
} else {
this._parent._parent._parent.playerHP = this.pHP20;
this._parent._parent._parent.pHPBar_mc._width = this._parent._parent._parent.pHPBar_mc._width + (((245 / this._parent._parent._parent.playerMaxHP) * cure) / 20);
}
if (this._parent._parent._parent.pHPBar_mc._width >= ((this.pHP / this._parent._parent._parent.playerMaxHP) * 245)) {
this._parent._parent._parent.pHPBar_mc._width = (this.pHP / this._parent._parent._parent.playerMaxHP) * 245;
}
if (this._parent._parent._parent.playerHP >= this.pHP) {
this._parent._parent._parent.playerHP = this.pHP;
}
if (count == 20) {
if (this._parent._parent._parent.pHPBar_mc._width <= ((this.pHP / this._parent._parent._parent.playerMaxHP) * 245)) {
this._parent._parent._parent.pHPBar_mc._width = (this.pHP / this._parent._parent._parent.playerMaxHP) * 245;
}
if (this._parent._parent._parent.playerHP <= this.pHP) {
this._parent._parent._parent.playerHP = this.pHP;
}
}
}
count++;
Symbol 557 MovieClip Frame 41
if (count < 21) {
this.gotoAndPlay(_currentframe - 1);
}
Symbol 557 MovieClip Frame 51
this._parent._parent._parent.pActionEnd = 1;
this._parent._parent._parent.eActionEnd = 1;
this.stop();
Symbol 557 MovieClip Frame 52
this._parent._parent._parent.enemyAttacking = 0;
Symbol 557 MovieClip Frame 63
this.gotoAndPlay("pose");
Symbol 557 MovieClip Frame 81
this._parent._parent._parent.eActionEnd = 1;
this._parent._parent._parent.popDamageEnd = 1;
this.stop();
Symbol 557 MovieClip Frame 82
this._parent._parent._parent.enemyAttacking = 0;
this._parent._parent._parent.pActionFlag = 0;
Symbol 557 MovieClip Frame 83
this.damage = this._parent._parent._parent.popDamageRoot;
this.cure = Math.floor(this.damage * 0.85);
this._parent._parent._parent.popDamageFlag = 2;
Symbol 557 MovieClip Frame 91
this.count = 0;
this.pHP = Math.floor(this._parent._parent._parent.playerHP - this.damage);
Symbol 557 MovieClip Frame 92
this.pHP20 = Math.floor(this._parent._parent._parent.playerHP - (this.damage / 20));
if (this._parent._parent._parent.playerHP > this.pHP) {
if (this.damage <= 20) {
this._parent._parent._parent.playerHP = this._parent._parent._parent.playerHP - 1;
this._parent._parent._parent.pHPBar_mc._width = this._parent._parent._parent.pHPBar_mc._width - 0.3;
} else {
this._parent._parent._parent.playerHP = this.pHP20;
this._parent._parent._parent.pHPBar_mc._width = this._parent._parent._parent.pHPBar_mc._width - (((245 / this._parent._parent._parent.playerMaxHP) * damage) / 20);
}
if (this._parent._parent._parent.pHPBar_mc._width <= ((this.pHP / this._parent._parent._parent.playerMaxHP) * 245)) {
this._parent._parent._parent.pHPBar_mc._width = (this.pHP / this._parent._parent._parent.playerMaxHP) * 245;
}
if (this._parent._parent._parent.playerHP <= this.pHP) {
this._parent._parent._parent.playerHP = this.pHP;
}
}
count++;
Symbol 557 MovieClip Frame 93
if (count < 21) {
this.gotoAndPlay(_currentframe - 1);
}
Symbol 557 MovieClip Frame 102
this._parent._parent._parent.popDamageRoot = this.cure;
Symbol 557 MovieClip Frame 103
this._parent._parent._parent.popDamageFlag = 20;
Symbol 557 MovieClip Frame 110
this.count = 0;
this.pHP = Math.floor(this._parent._parent._parent.playerHP + this.cure);
if (this.pHP >= 1000) {
this.pHP = 1000;
}
Symbol 557 MovieClip Frame 111
this.pHP20 = Math.floor(this._parent._parent._parent.playerHP + (this.cure / 20));
if (this._parent._parent._parent.playerHP < this.pHP) {
if (this.cure <= 20) {
this._parent._parent._parent.playerHP = this._parent._parent._parent.playerHP + 1;
this._parent._parent._parent.pHPBar_mc._width = this._parent._parent._parent.pHPBar_mc._width + 0.3;
} else {
this._parent._parent._parent.playerHP = this.pHP20;
this._parent._parent._parent.pHPBar_mc._width = this._parent._parent._parent.pHPBar_mc._width + (((245 / this._parent._parent._parent.playerMaxHP) * cure) / 20);
}
if (this._parent._parent._parent.pHPBar_mc._width >= ((this.pHP / this._parent._parent._parent.playerMaxHP) * 245)) {
this._parent._parent._parent.pHPBar_mc._width = (this.pHP / this._parent._parent._parent.playerMaxHP) * 245;
}
if (this._parent._parent._parent.playerHP >= this.pHP) {
this._parent._parent._parent.playerHP = this.pHP;
}
if (count == 20) {
if (this._parent._parent._parent.pHPBar_mc._width <= ((this.pHP / this._parent._parent._parent.playerMaxHP) * 245)) {
this._parent._parent._parent.pHPBar_mc._width = (this.pHP / this._parent._parent._parent.playerMaxHP) * 245;
}
if (this._parent._parent._parent.playerHP <= this.pHP) {
this._parent._parent._parent.playerHP = this.pHP;
}
}
}
count++;
Symbol 557 MovieClip Frame 112
if (count < 21) {
this.gotoAndPlay(_currentframe - 1);
}
Symbol 557 MovieClip Frame 163
this._parent._parent._parent.pActionEnd = 1;
this._parent._parent._parent.eActionEnd = 1;
this.stop();
Symbol 569 MovieClip Frame 9
this._parent._parent._parent.popDamageRoot = (300 + Math.floor(Math.random() * 20)) - Math.floor(Math.random() * 20);
this.cure = this._parent._parent._parent.popDamageRoot;
Symbol 569 MovieClip Frame 10
this._parent._parent._parent.popDamageFlag = 20;
Symbol 569 MovieClip Frame 27
this.count = 0;
this.pHP = Math.floor(this._parent._parent._parent.playerHP + this.cure);
if (this.pHP >= this._parent._parent._parent.playerMaxHP) {
this.pHP = this._parent._parent._parent.playerMaxHP;
}
Symbol 569 MovieClip Frame 28
this.pHP20 = Math.floor(this._parent._parent._parent.playerHP + (this.cure / 20));
if (this._parent._parent._parent.playerHP < this.pHP) {
if (this.cure <= 20) {
this._parent._parent._parent.playerHP = this._parent._parent._parent.playerHP + 1;
this._parent._parent._parent.pHPBar_mc._width = this._parent._parent._parent.pHPBar_mc._width + 0.3;
} else {
this._parent._parent._parent.playerHP = this.pHP20;
this._parent._parent._parent.pHPBar_mc._width = this._parent._parent._parent.pHPBar_mc._width + (((245 / this._parent._parent._parent.playerMaxHP) * cure) / 20);
}
if (this._parent._parent._parent.pHPBar_mc._width >= ((this.pHP / this._parent._parent._parent.playerMaxHP) * 245)) {
this._parent._parent._parent.pHPBar_mc._width = (this.pHP / this._parent._parent._parent.playerMaxHP) * 245;
}
if (this._parent._parent._parent.playerHP >= this.pHP) {
this._parent._parent._parent.playerHP = this.pHP;
}
if (count == 20) {
if (this._parent._parent._parent.pHPBar_mc._width <= ((this.pHP / this._parent._parent._parent.playerMaxHP) * 245)) {
this._parent._parent._parent.pHPBar_mc._width = (this.pHP / this._parent._parent._parent.playerMaxHP) * 245;
}
if (this._parent._parent._parent.playerHP <= this.pHP) {
this._parent._parent._parent.playerHP = this.pHP;
}
}
}
count++;
Symbol 569 MovieClip Frame 29
if (count < 21) {
this.gotoAndPlay(_currentframe - 1);
}
Symbol 569 MovieClip Frame 89
this.stop();
this._parent._parent._parent.pActionEnd = 1;
Symbol 575 MovieClip Frame 2
this._parent._parent._parent.enemyAttacking = 0;
Symbol 575 MovieClip Frame 3
this._parent._parent._parent.popDamageFlag = 2;
this.damage = this._parent._parent._parent.popDamageRoot;
Symbol 575 MovieClip Frame 16
this.count = 0;
this.pHP = Math.floor(this._parent._parent._parent.playerHP - this.damage);
Symbol 575 MovieClip Frame 17
this.pHP20 = Math.floor(this._parent._parent._parent.playerHP - (this.damage / 20));
if (this._parent._parent._parent.playerHP > this.pHP) {
if (this.damage <= 20) {
this._parent._parent._parent.playerHP = this._parent._parent._parent.playerHP - 1;
this._parent._parent._parent.pHPBar_mc._width = this._parent._parent._parent.pHPBar_mc._width - 0.3;
} else {
this._parent._parent._parent.playerHP = this.pHP20;
this._parent._parent._parent.pHPBar_mc._width = this._parent._parent._parent.pHPBar_mc._width - (((245 / this._parent._parent._parent.playerMaxHP) * damage) / 20);
}
if (this._parent._parent._parent.pHPBar_mc._width <= ((this.pHP / this._parent._parent._parent.playerMaxHP) * 245)) {
this._parent._parent._parent.pHPBar_mc._width = (this.pHP / this._parent._parent._parent.playerMaxHP) * 245;
}
if (this._parent._parent._parent.playerHP <= this.pHP) {
this._parent._parent._parent.playerHP = this.pHP;
}
}
count++;
Symbol 575 MovieClip Frame 18
if (count < 20) {
this.gotoAndPlay(_currentframe - 1);
} else {
this._parent._parent._parent.eActionEnd = 1;
this.stop();
}
Symbol 576 MovieClip Frame 2
this._parent._parent._parent.enemyAttacking = 0;
Symbol 576 MovieClip Frame 3
this.damage = this._parent._parent._parent.popDamageRoot;
this._parent._parent._parent.popDamageFlag = 2;
Symbol 576 MovieClip Frame 16
this.count = 0;
this.pHP = Math.floor(this._parent._parent._parent.playerHP - this.damage);
Symbol 576 MovieClip Frame 17
this.pHP20 = Math.floor(this._parent._parent._parent.playerHP - (this.damage / 20));
if (this._parent._parent._parent.playerHP > this.pHP) {
if (this.damage <= 20) {
this._parent._parent._parent.playerHP = this._parent._parent._parent.playerHP - 1;
this._parent._parent._parent.pHPBar_mc._width = this._parent._parent._parent.pHPBar_mc._width - 0.3;
} else {
this._parent._parent._parent.playerHP = this.pHP20;
this._parent._parent._parent.pHPBar_mc._width = this._parent._parent._parent.pHPBar_mc._width - (((245 / this._parent._parent._parent.playerMaxHP) * damage) / 20);
}
if (this._parent._parent._parent.pHPBar_mc._width <= ((this.pHP / this._parent._parent._parent.playerMaxHP) * 245)) {
this._parent._parent._parent.pHPBar_mc._width = (this.pHP / this._parent._parent._parent.playerMaxHP) * 245;
}
if (this._parent._parent._parent.playerHP <= this.pHP) {
this._parent._parent._parent.playerHP = this.pHP;
}
}
count++;
Symbol 576 MovieClip Frame 18
if (count < 20) {
this.gotoAndPlay(_currentframe - 1);
} else {
this._parent._parent._parent.eActionEnd = 1;
this.stop();
}
Symbol 599 MovieClip Frame 2
this._parent._parent._parent.enemyAttacking = 0;
Symbol 599 MovieClip Frame 9
this._parent._parent._parent.popDamageFlag = 2;
this.damage = this._parent._parent._parent.popDamageRoot;
Symbol 599 MovieClip Frame 20
this.count = 0;
this.pHP = Math.floor(this._parent._parent._parent.playerHP - this.damage);
Symbol 599 MovieClip Frame 21
this.pHP20 = Math.floor(this._parent._parent._parent.playerHP - (this.damage / 20));
if (this._parent._parent._parent.playerHP > this.pHP) {
if (this.damage <= 20) {
this._parent._parent._parent.playerHP = this._parent._parent._parent.playerHP - 1;
this._parent._parent._parent.pHPBar_mc._width = this._parent._parent._parent.pHPBar_mc._width - 0.3;
} else {
this._parent._parent._parent.playerHP = this.pHP20;
this._parent._parent._parent.pHPBar_mc._width = this._parent._parent._parent.pHPBar_mc._width - (((245 / this._parent._parent._parent.playerMaxHP) * damage) / 20);
}
if (this._parent._parent._parent.pHPBar_mc._width <= ((this.pHP / this._parent._parent._parent.playerMaxHP) * 245)) {
this._parent._parent._parent.pHPBar_mc._width = (this.pHP / this._parent._parent._parent.playerMaxHP) * 245;
}
if (this._parent._parent._parent.playerHP <= this.pHP) {
this._parent._parent._parent.playerHP = this.pHP;
}
}
count++;
Symbol 599 MovieClip Frame 22
if (count < 20) {
this.gotoAndPlay(_currentframe - 1);
}
Symbol 599 MovieClip Frame 48
this._parent._parent._parent.eActionEnd = 1;
this.stop();
Symbol 600 MovieClip Frame 2
this._parent._parent._parent.enemyAttacking = 0;
Symbol 600 MovieClip Frame 12
this.gotoAndStop(1);
Symbol 602 MovieClip Frame 1
this._parent._parent._parent.enemyAttacking = 0;
Symbol 602 MovieClip Frame 3
this._parent._parent._parent.popDamageFlag = 2;
Symbol 602 MovieClip Frame 18
this._parent._parent._parent.pHPBarFlag = 1;
Symbol 602 MovieClip Frame 77
this.stop();
this._parent._parent._parent.gotoAndStop("gameOver");
Symbol 603 MovieClip Frame 1
this.stop();
Instance of Symbol 454 MovieClip in Symbol 603 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this._parent._parent._parent.playerActionGo == 1) {
this._parent._parent._parent.playerActionGo = 0;
this.play();
}
}
Instance of Symbol 460 MovieClip in Symbol 603 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this._parent._parent._parent.playerActionGo == 1) {
this._parent._parent._parent.playerActionGo = 0;
this.play();
}
}
Instance of Symbol 487 MovieClip in Symbol 603 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this._parent._parent._parent.playerActionGo == 1) {
this._parent._parent._parent.playerActionGo = 0;
this.play();
}
}
Instance of Symbol 500 MovieClip in Symbol 603 MovieClip Frame 5
onClipEvent (enterFrame) {
if (this._parent._parent._parent.playerActionGo == 1) {
this._parent._parent._parent.playerActionGo = 0;
this.play();
}
}
Instance of Symbol 524 MovieClip in Symbol 603 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this._parent._parent._parent.playerActionGo == 1) {
this._parent._parent._parent.playerActionGo = 0;
this.play();
}
}
Instance of Symbol 569 MovieClip in Symbol 603 MovieClip Frame 9
onClipEvent (enterFrame) {
if (this._parent._parent._parent.playerActionGo == 1) {
this._parent._parent._parent.playerActionGo = 0;
this.play();
}
}
Instance of Symbol 600 MovieClip in Symbol 603 MovieClip Frame 13
onClipEvent (enterFrame) {
if (this._parent._parent._parent.enemyAttacking == 2) {
this.play();
}
}
Symbol 604 MovieClip Frame 33
this.stop();
this._parent._parent._parent.eActionEnd = 1;
Symbol 614 MovieClip Frame 1
this.stop();
Symbol 614 MovieClip Frame 11
this._parent._parent._parent.enemyAttacking = 1;
Symbol 614 MovieClip Frame 50
this.stop();
Symbol 641 MovieClip Frame 1
this.stop();
Symbol 641 MovieClip Frame 122
this._parent._parent._parent.enemyAttacking = 1;
Symbol 641 MovieClip Frame 148
this.stop();
Symbol 685 MovieClip Frame 221
this._parent._parent._parent.enemyAttacking = 2;
Symbol 685 MovieClip Frame 239
this._parent._parent._parent.enemyAttacking = 2;
Symbol 685 MovieClip Frame 257
this._parent._parent._parent.enemyAttacking = 2;
Symbol 685 MovieClip Frame 275
this._parent._parent._parent.enemyAttacking = 2;
Symbol 685 MovieClip Frame 293
this._parent._parent._parent.enemyAttacking = 2;
Symbol 685 MovieClip Frame 366
this._parent._parent._parent.enemyAttacking = 1;
Symbol 685 MovieClip Frame 423
this.stop();
Symbol 721 MovieClip Frame 1
this.stop();
Symbol 721 MovieClip Frame 7
this._parent._parent._parent.enemyAttacking = 2;
Symbol 721 MovieClip Frame 27
this._parent._parent._parent.enemyAttacking = 2;
Symbol 721 MovieClip Frame 57
this._parent._parent._parent.enemyAttacking = 1;
Symbol 721 MovieClip Frame 75
this.stop();
Symbol 729 MovieClip Frame 1
dead = 0;
this._parent._parent._parent.popDamageRoot = this._parent._parent._parent.damaged(this._parent._parent._parent.playerStr, this._parent._parent._parent.enemyVit);
if ((this._parent._parent._parent.enemyHP - this._parent._parent._parent.popDamageRoot) <= 0) {
dead = 1;
}
Symbol 729 MovieClip Frame 7
this._parent._parent._parent.eActionEnd = 1;
Symbol 729 MovieClip Frame 8
if ((this._parent._parent._parent.noAction == 1) || (this._parent._parent._parent.pActionEnd == 1)) {
this.gotoAndPlay("nomove");
}
if (this._parent._parent._parent.playerAttacking == 1) {
if (dead == 1) {
this.stop();
this._parent.gotoAndStop("down");
} else {
this.gotoAndPlay("atked1");
}
}
if (this._parent._parent._parent.playerAttacking == 2) {
this.gotoAndPlay("atked2");
}
Symbol 729 MovieClip Frame 9
this.gotoAndPlay(_currentframe - 1);
Symbol 729 MovieClip Frame 10
this._parent._parent._parent.playerAttacking = 0;
this._parent._parent._parent.eActionFlag = 0;
Symbol 729 MovieClip Frame 11
this.damage = this._parent._parent._parent.popDamageRoot;
this._parent._parent._parent.popDamageFlag = 1;
Symbol 729 MovieClip Frame 18
this.count = 0;
this.eHP = Math.floor(this._parent._parent._parent.enemyHP - this.damage);
Symbol 729 MovieClip Frame 19
this.eHP20 = Math.floor(this._parent._parent._parent.enemyHP - (this.damage / 20));
if (this._parent._parent._parent.enemyHP > this.eHP) {
if (this.damage <= 20) {
this._parent._parent._parent.enemyHP = this._parent._parent._parent.enemyHP - 1;
this._parent._parent._parent.eHPBar_mc._width = this._parent._parent._parent.eHPBar_mc._width - 0.3;
} else {
this._parent._parent._parent.enemyHP = this.eHP20;
this._parent._parent._parent.eHPBar_mc._width = this._parent._parent._parent.eHPBar_mc._width - (((245 / this._parent._parent._parent.enemyMaxHP) * damage) / 20);
}
if (this._parent._parent._parent.eHPBar_mc._width <= ((this.eHP / this._parent._parent._parent.enemyMaxHP) * 245)) {
this._parent._parent._parent.eHPBar_mc._width = (this.eHP / this._parent._parent._parent.enemyMaxHP) * 245;
}
if (this._parent._parent._parent.enemyHP <= this.eHP) {
this._parent._parent._parent.enemyHP = this.eHP;
}
}
count++;
Symbol 729 MovieClip Frame 20
if (count < 20) {
this.gotoAndPlay(_currentframe - 1);
} else {
this._parent._parent._parent.pActionEnd = 1;
this._parent._parent._parent.eActionEnd = 1;
this.stop();
}
Symbol 729 MovieClip Frame 21
this._parent._parent._parent.playerAttacking = 0;
Symbol 729 MovieClip Frame 30
this.gotoAndPlay("pose");
Symbol 729 MovieClip Frame 55
this._parent._parent._parent.eActionEnd = 1;
this._parent._parent._parent.popDamageEnd = 1;
this.stop();
Symbol 746 MovieClip Frame 7
var1 = 0;
this._parent._parent._parent.eActionEnd = 1;
Symbol 746 MovieClip Frame 8
if ((this._parent._parent._parent.nomove == 1) || (this._parent._parent._parent.pActionEnd == 1)) {
this.gotoAndPlay("nomove");
}
if (this._parent._parent._parent.playerAttacking == 1) {
var1 = 0;
if (((var1 = Math.random())) <= 0.7) {
this._parent._parent._parent.enemyStr = this._parent._parent._parent.enemyStr + 30;
this.gotoAndPlay("atked4");
} else if (((var1 = Math.random())) < 0.5) {
this.gotoAndPlay("atked1");
} else {
this.gotoAndPlay("atked2");
}
}
if (this._parent._parent._parent.playerAttacking == 2) {
this.gotoAndPlay("atked3");
}
Symbol 746 MovieClip Frame 9
this.gotoAndPlay(_currentframe - 1);
Symbol 746 MovieClip Frame 10
this._parent._parent._parent.playerAttacking = 0;
Symbol 746 MovieClip Frame 11
this._parent._parent._parent.popDamageRoot = "MISS";
Symbol 746 MovieClip Frame 17
this._parent._parent._parent.popDamageFlag = 1;
this._parent._parent._parent.eActionFlag = 0;
Symbol 746 MovieClip Frame 138
this.stop();
this._parent._parent._parent.eActionEnd = 1;
this._parent._parent._parent.pActionEnd = 1;
this._parent._parent._parent.popDamageEnd = 1;
Symbol 746 MovieClip Frame 139
this._parent._parent._parent.playerAttacking = 0;
Symbol 746 MovieClip Frame 140
this._parent._parent._parent.popDamageRoot = "MISS";
Symbol 746 MovieClip Frame 146
this._parent._parent._parent.popDamageFlag = 1;
this._parent._parent._parent.eActionFlag = 0;
Symbol 746 MovieClip Frame 170
this.stop();
this._parent._parent._parent.eActionEnd = 1;
this._parent._parent._parent.pActionEnd = 1;
this._parent._parent._parent.popDamageEnd = 1;
Symbol 746 MovieClip Frame 171
this._parent._parent._parent.playerAttacking = 0;
Symbol 746 MovieClip Frame 180
this.gotoAndPlay("pose");
Symbol 746 MovieClip Frame 200
this._parent._parent._parent.eActionEnd = 1;
this._parent._parent._parent.popDamageEnd = 1;
this.stop();
Symbol 746 MovieClip Frame 201
this._parent._parent._parent.playerAttacking = 0;
Symbol 746 MovieClip Frame 202
this._parent._parent._parent.popDamageRoot = "MISS";
Symbol 746 MovieClip Frame 208
this._parent._parent._parent.popDamageFlag = 1;
this._parent._parent._parent.pActionEnd = 1;
this._parent._parent._parent.eActionEnd = 0;
Symbol 746 MovieClip Frame 270
this._parent._parent._parent.enemyAttacking = 1;
Symbol 746 MovieClip Frame 309
this.stop();
Symbol 763 MovieClip Frame 30
this._parent._parent._parent.popDamageRoot = Math.floor((300 + (Math.random() * 20)) - (Math.random() * 20));
Instance of Symbol 759 MovieClip "popCure_mc" in Symbol 763 MovieClip Frame 35
onClipEvent (enterFrame) {
this.popDamage_txt.text = this._parent._parent._parent._parent.popDamageRoot;
}
Symbol 763 MovieClip Frame 55
this.count = 0;
this.cure = this._parent._parent._parent.popDamageRoot;
this.eHP = Math.floor(this._parent._parent._parent.enemyHP + this.cure);
if (this.eHP > this._parent._parent._parent.enemyMaxHP) {
this.eHP = this._parent._parent._parent.enemyMaxHP;
}
Symbol 763 MovieClip Frame 56
this.eHP20 = Math.floor(this._parent._parent._parent.enemyHP + (this.cure / 20));
if (this._parent._parent._parent.enemyHP < this.eHP) {
this._parent._parent._parent.enemyHP = this.eHP20;
this._parent._parent._parent.eHPBar_mc._width = this._parent._parent._parent.eHPBar_mc._width + (((245 / this._parent._parent._parent.enemyMaxHP) * cure) / 20);
if (this._parent._parent._parent.eHPBar_mc._width >= ((this.eHP / this._parent._parent._parent.enemyMaxHP) * 245)) {
this._parent._parent._parent.eHPBar_mc._width = (this.eHP / this._parent._parent._parent.enemyMaxHP) * 245;
}
if (this._parent._parent._parent.enemyHP >= this.eHP) {
this._parent._parent._parent.enemyHP = this.eHP;
}
if (count == 20) {
if (this._parent._parent._parent.eHPBar_mc._width <= ((this.eHP / this._parent._parent._parent.enemyMaxHP) * 245)) {
this._parent._parent._parent.eHPBar_mc._width = (this.eHP / this._parent._parent._parent.enemyMaxHP) * 245;
}
if (this._parent._parent._parent.enemyHP <= this.eHP) {
this._parent._parent._parent.enemyHP = this.eHP;
}
}
if (this._parent._parent._parent.enemyHP >= this._parent._parent._parent.enemyMaxHP) {
this._parent._parent._parent.enemyHP = this._parent._parent._parent.enemyMaxHP;
this._parent._parent._parent.eHPBar_mc._width = 245;
}
}
count++;
Symbol 763 MovieClip Frame 57
if (count <= 20) {
this.gotoAndPlay(_currentframe - 1);
} else {
this.gotoAndPlay(_currentframe + 2);
}
Symbol 763 MovieClip Frame 163
this._parent._parent._parent.popDamageEnd = 1;
this._parent._parent._parent.eActionEnd = 1;
this.stop();
Symbol 769 MovieClip Frame 2
this._parent._parent._parent.playerAttacking = 0;
Symbol 769 MovieClip Frame 3
this.damage = this._parent._parent._parent.popDamageRoot;
this._parent._parent._parent.popDamageFlag = 1;
Symbol 769 MovieClip Frame 15
this.count = 0;
this.eHP = Math.floor(this._parent._parent._parent.enemyHP - this.damage);
Symbol 769 MovieClip Frame 16
this.eHP20 = Math.floor(this._parent._parent._parent.enemyHP - (this.damage / 20));
if (this._parent._parent._parent.enemyHP > this.eHP) {
if (this.damage <= 20) {
this._parent._parent._parent.enemyHP = this._parent._parent._parent.enemyHP - 1;
this._parent._parent._parent.eHPBar_mc._width = this._parent._parent._parent.eHPBar_mc._width - 0.3;
} else {
this._parent._parent._parent.enemyHP = this.eHP20;
this._parent._parent._parent.eHPBar_mc._width = this._parent._parent._parent.eHPBar_mc._width - (((245 / this._parent._parent._parent.enemyMaxHP) * damage) / 20);
}
if (this._parent._parent._parent.eHPBar_mc._width <= ((this.eHP / this._parent._parent._parent.enemyMaxHP) * 245)) {
this._parent._parent._parent.eHPBar_mc._width = (this.eHP / this._parent._parent._parent.enemyMaxHP) * 245;
}
if (this._parent._parent._parent.enemyHP <= this.eHP) {
this._parent._parent._parent.enemyHP = this.eHP;
}
}
count++;
Symbol 769 MovieClip Frame 17
if (count < 20) {
this.gotoAndPlay(_currentframe - 1);
} else {
this._parent._parent._parent.pActionEnd = 1;
this.stop();
}
Symbol 784 MovieClip Frame 2
this._parent._parent._parent.playerAttacking = 0;
Symbol 784 MovieClip Frame 3
this.damage = this._parent._parent._parent.popDamageRoot;
this._parent._parent._parent.popDamageFlag = 1;
Symbol 784 MovieClip Frame 15
this.count = 0;
this.eHP = Math.floor(this._parent._parent._parent.enemyHP - this.damage);
Symbol 784 MovieClip Frame 16
this.eHP20 = Math.floor(this._parent._parent._parent.enemyHP - (this.damage / 20));
if (this._parent._parent._parent.enemyHP > this.eHP) {
if (this.damage <= 20) {
this._parent._parent._parent.enemyHP = this._parent._parent._parent.enemyHP - 1;
this._parent._parent._parent.eHPBar_mc._width = this._parent._parent._parent.eHPBar_mc._width - 0.3;
} else {
this._parent._parent._parent.enemyHP = this.eHP20;
this._parent._parent._parent.eHPBar_mc._width = this._parent._parent._parent.eHPBar_mc._width - (((245 / this._parent._parent._parent.enemyMaxHP) * damage) / 20);
}
if (this._parent._parent._parent.eHPBar_mc._width <= ((this.eHP / this._parent._parent._parent.enemyMaxHP) * 245)) {
this._parent._parent._parent.eHPBar_mc._width = (this.eHP / this._parent._parent._parent.enemyMaxHP) * 245;
}
if (this._parent._parent._parent.enemyHP <= this.eHP) {
this._parent._parent._parent.enemyHP = this.eHP;
}
}
count++;
Symbol 784 MovieClip Frame 17
if (count < 20) {
this.gotoAndPlay(_currentframe - 1);
}
Symbol 784 MovieClip Frame 24
this._parent._parent._parent.pActionEnd = 1;
this.stop();
Symbol 785 MovieClip Frame 2
this._parent._parent._parent.playerAttacking = 0;
Symbol 785 MovieClip Frame 10
this.gotoAndStop(1);
Symbol 801 MovieClip Frame 1
this._parent._parent._parent.playerAttacking = 0;
Symbol 801 MovieClip Frame 7
this._parent._parent._parent.popDamageFlag = 1;
Symbol 801 MovieClip Frame 21
this._parent._parent._parent.eHPBarFlag = 1;
Symbol 801 MovieClip Frame 103
this.stop();
this._parent._parent._parent.gotoAndStop("gameClear");
Symbol 803 MovieClip Frame 1
this._parent._parent._parent.playerAttacking = 0;
Symbol 803 MovieClip Frame 13
this._parent._parent._parent.popDamageFlag = 1;
Symbol 803 MovieClip Frame 21
this._parent._parent._parent.eHPBarFlag = 1;
Symbol 803 MovieClip Frame 97
this.stop();
this._parent._parent._parent.gotoAndStop("gameClear");
Symbol 804 MovieClip Frame 1
this.stop();
Instance of Symbol 604 MovieClip in Symbol 804 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this._parent._parent._parent.enemyActionGo == 1) {
this._parent._parent._parent.enemyActionGo = 0;
this.play();
}
}
Instance of Symbol 614 MovieClip in Symbol 804 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this._parent._parent._parent.enemyActionGo == 1) {
this._parent._parent._parent.enemyActionGo = 0;
this.play();
}
}
Instance of Symbol 641 MovieClip in Symbol 804 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this._parent._parent._parent.enemyActionGo == 1) {
this._parent._parent._parent.enemyActionGo = 0;
this.play();
}
}
Instance of Symbol 685 MovieClip in Symbol 804 MovieClip Frame 5
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (this._parent._parent._parent.enemyActionGo == 1) {
this._parent._parent._parent.enemyActionGo = 0;
this.play();
}
}
Instance of Symbol 721 MovieClip in Symbol 804 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this._parent._parent._parent.enemyActionGo == 1) {
this._parent._parent._parent.enemyActionGo = 0;
this.play();
}
}
Instance of Symbol 763 MovieClip in Symbol 804 MovieClip Frame 9
onClipEvent (load) {
this._parent._parent._parent.eActionFlag = 0;
this.stop();
}
onClipEvent (enterFrame) {
this.popCure_mc.popDamage_txt.text = this._parent._parent._parent.popDamageRoot;
if (this._parent._parent._parent.enemyActionGo == 1) {
this._parent._parent._parent.enemyActionGo = 0;
this.play();
}
}
Instance of Symbol 785 MovieClip in Symbol 804 MovieClip Frame 12
onClipEvent (enterFrame) {
if (this._parent._parent._parent.playerAttacking == 2) {
this.play();
}
}
Symbol 809 MovieClip Frame 1
this.stop();
Symbol 809 MovieClip Frame 2
this._parent._parent.popDamageFlag = 0;
this._parent._parent.popDamageEnd = 0;
Symbol 809 MovieClip Frame 35
if (this._parent._parent.popDamageRoot == "MISS") {
this._parent._parent.popDamageEnd = 2;
} else {
this._parent._parent.popDamageEnd = 1;
}
this.gotoAndStop(1);
Symbol 809 MovieClip Frame 36
this._parent._parent.popDamageFlag = 0;
this._parent._parent.popDamageEnd = 0;
Symbol 809 MovieClip Frame 83
this._parent._parent.popDamageEnd = 1;
this.gotoAndStop(1);
Symbol 813 MovieClip Frame 1
this.stop();
Symbol 813 MovieClip Frame 2
this.stop();
Symbol 814 MovieClip Frame 1
this.stop();
Symbol 814 MovieClip Frame 25
this._parent._parent.enemyActionGo = 1;
Symbol 814 MovieClip Frame 26
if (this._parent._parent.eActionEnd == 1) {
this.gotoAndStop(1);
}
Symbol 814 MovieClip Frame 27
this.gotoAndPlay(_currentframe - 1);
Symbol 815 MovieClip Frame 1
this.stop();
Symbol 815 MovieClip Frame 24
this._parent._parent.playerActionGo = 1;
Symbol 815 MovieClip Frame 26
if (this._parent._parent.pActionEnd == 1) {
this.gotoAndStop(1);
}
Symbol 815 MovieClip Frame 27
this.gotoAndPlay(_currentframe - 1);
Symbol 817 MovieClip Frame 1
this.stop();
this._parent.noAction = 0;
this._parent.playerAttacking = 0;
this._parent.enemyAttacking = 0;
this._parent.permitP = false;
this._parent.permitE = false;
this._parent.turn = -1;
this._parent.eActionFlag = 0;
this._parent.pActionFlag = 0;
this._parent.eActionEnd = 0;
this._parent.pActionEnd = 0;
this._parent.popDamageEnd = 0;
this._parent.popDamageFlag = 0;
this.enemyActionGo = 0;
this.playerActionGo = 0;
this.enemypost = 0;
this.playerpost = 0;
this.enemyAction = this._parent.enemyAI("sefiria");
if (this._parent.agility(this._parent.playerAgi, this._parent.enemyAgi) == 0) {
this._parent.permitP = true;
this._parent.turn = 0;
} else {
this._parent.permitE = true;
this._parent.turn = 1;
}
if (((this.enemyAction == "gud1") || (this.enemyAction == "gud2")) && ((this._parent.actionFlag == "gud1") || (this._parent.actionFlag == "gud2"))) {
this._parent.noAction = 1;
}
if ((this.enemyAction == "noAction") && (this._parent.actionFlag == "noAction")) {
this._parent.popDamageEnd = 1;
}
nextFrame();
Symbol 817 MovieClip Frame 2
this.stop();
Instance of Symbol 603 MovieClip "zako1Action_mc" in Symbol 817 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this._parent._parent.actionFlag == "gud1") || (this._parent._parent.actionFlag == "gud2")) {
if (this._parent.playerpost == 0) {
this._parent.playerpost++;
this.gotoAndStop(this._parent._parent.actionFlag);
}
}
if (((this._parent._parent.enemyAttacking == 2) && (this._parent._parent.actionFlag != "gud1")) && (this._parent._parent.actionFlag != "gud2")) {
this.gotoAndStop("atkedon");
}
if (((this._parent._parent.enemyAttacking == 1) && (this._parent._parent.actionFlag != "gud1")) && (this._parent._parent.actionFlag != "gud2")) {
this._parent._parent.popDamageRoot = this._parent._parent.damaged(this._parent._parent.enemyStr, this._parent._parent.playerVit);
if ((this._parent._parent.playerHP - this._parent._parent.popDamageRoot) <= 0) {
this.gotoAndStop("down");
} else if (this._parent._parent.popDamageRoot > 300) {
this.gotoAndStop("atked3");
} else if (((var1 = Math.random())) < 0.5) {
this.gotoAndStop("atked1");
} else {
this.gotoAndStop("atked2");
}
}
if ((this._parent._parent.permitP == true) && (this._parent._parent.pActionEnd != 1)) {
if (!((this._parent._parent.actionFlag == "gud1") || (this._parent._parent.actionFlag == "gud2"))) {
this._parent._parent.pActionFlag = 1;
this.gotoAndStop(this._parent._parent.actionFlag);
}
}
}
Instance of Symbol 804 MovieClip "sefiriaAction_mc" in Symbol 817 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((this._parent.enemyAction == "gud1") || (this._parent.enemyAction == "gud2")) {
if (this._parent.enemypost == 0) {
this._parent.enemypost++;
this.gotoAndStop(this._parent.enemyAction);
}
}
if (((this._parent._parent.playerAttacking == 2) && (this._parent.enemyAction != "gud1")) && (this._parent.enemyAction != "gud2")) {
this.gotoAndStop("atkedon");
}
if (((this._parent._parent.playerAttacking == 1) && (this._parent.enemyAction != "gud1")) && (this._parent.enemyAction != "gud2")) {
this._parent._parent.popDamageRoot = this._parent._parent.damaged(this._parent._parent.playerStr, this._parent._parent.enemyVit);
if ((this._parent._parent.enemyHP - this._parent._parent.popDamageRoot) <= 0) {
this.gotoAndStop("down");
} else {
this.gotoAndStop("atked");
}
}
if (((this._parent._parent.playerAttacking == 3) && (this._parent.enemyAction != "gud1")) && (this._parent.enemyAction != "gud2")) {
this._parent._parent.popDamageRoot = this._parent._parent.damaged(this._parent._parent.playerStr, this._parent._parent.enemyVit);
if ((this._parent._parent.enemyHP - this._parent._parent.popDamageRoot) <= 0) {
this.gotoAndStop("down2");
} else {
this.gotoAndStop("atked2");
}
}
if ((this._parent._parent.permitE == true) && (this._parent._parent.eActionEnd != 1)) {
if (!((this._parent.enemyAction == "gud1") || (this._parent.enemyAction == "gud2"))) {
this._parent._parent.eActionFlag = 1;
this.gotoAndStop(this._parent.enemyAction);
}
}
}
Instance of Symbol 809 MovieClip "popUpDamage_mc" in Symbol 817 MovieClip Frame 2
onClipEvent (enterFrame) {
this.popUpDamageTxt_mc.popDamage_txt.text = this._parent._parent.popDamageRoot;
if (this._parent._parent.popDamageFlag == 1) {
this._x = 175.3;
this._y = 321.3;
this.gotoAndPlay("damage");
}
if (this._parent._parent.popDamageFlag == 10) {
this._x = 175.3;
this._y = 321.3;
this.gotoAndPlay("cure");
}
if (this._parent._parent.popDamageFlag == 2) {
this._x = 435.3;
this._y = 321.3;
this.gotoAndPlay("damage");
}
if (this._parent._parent.popDamageFlag == 20) {
this._x = 435.3;
this._y = 321.3;
this.gotoAndPlay("cure");
}
}
Instance of Symbol 814 MovieClip "showActionEnemy_mc" in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
this.flag = 0;
}
onClipEvent (enterFrame) {
this.showAction_mc.showAction_txt.text = this._parent._parent.enemyActionTxt;
if (((this._parent._parent.eActionFlag == 1) && (this.flag == 0)) && (this._parent._parent.turn != 0)) {
this._parent._parent.eActionFlag = 0;
this.flag++;
this.play();
}
}
Instance of Symbol 815 MovieClip "showActionPlayer_mc" in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
this.flag = 0;
}
onClipEvent (enterFrame) {
this.showAction_mc.showAction_txt.text = this._parent._parent.playerActionTxt;
if (((this._parent._parent.actionFlag == "atk3") || (this._parent._parent.actionFlag == "atk4")) || (this._parent._parent.actionFlag == "sp1")) {
this.showAction_mc.gotoAndStop(2);
}
if (((this._parent._parent.pActionFlag == 1) && (this.flag == 0)) && (this._parent._parent.turn != 1)) {
this._parent._parent.pActionFlag = 0;
this.flag++;
this.play();
}
}
Instance of Symbol 816 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (enterFrame) {
if (((this._parent._parent.pActionEnd == 1) && (this._parent._parent.eActionEnd == 1)) && (this._parent._parent.popDamageEnd == 1)) {
this._parent._parent.pActionEnd = 0;
this._parent._parent.eActionEnd = 0;
this._parent._parent.popDamageEnd = 0;
this._parent._parent.gotoAndStop("diceRoll");
} else {
if (this._parent._parent.pActionEnd == 1) {
this._parent._parent.permitE = true;
this._parent._parent.turn = -1;
}
if (this._parent._parent.eActionEnd == 1) {
this._parent._parent.permitP = true;
this._parent._parent.turn = -1;
}
}
}
Symbol 823 MovieClip Frame 1
stopAllSounds();
Symbol 823 MovieClip Frame 188
this.stop();
Symbol 835 Button
on (release) {
this._parent._parent.bgmon = 0;
this._parent._parent.gotoAndStop("conv");
}
Symbol 839 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 840 MovieClip Frame 15
this.stop();
Symbol 841 MovieClip Frame 1
stopAllSounds();
Symbol 841 MovieClip Frame 153
this.aaa = 1;
Symbol 841 MovieClip Frame 164
this.stop();