Frame 1
function fncShowIntro() {
mcText.nextFrame();
}
grupzer0 = new Object();
grupzer0.Message = " ***** N O T I C E ***** ";
grupzer0.Message = "WE, HERE AT GRUPZER0, USED TO DO WHAT YOU DO...";
grupzer0.Message = "BUT WE DO NOT COPY THE CODES. WE STUDY THE ";
grupzer0.Message = "IDEA BEHIND IT. REMEMBER: COPYING ANY IDEAS ARE";
grupzer0.Message = "NOT PUNISHABLE BY LAW. EXPRESSING DOES. THIS ";
grupzer0.Message = "GAME WAS HARDLY CODED WITH ALL OUR TIME WASTED.";
grupzer0.Message = "WE KNOW YOU CAN READ THIS. THE PROGRAM YOU USE ";
grupzer0.Message = "IS CURRENTLY INSTALLED IN OUR PC. WE SEE YOURS ";
grupzer0.Message = "AS YOU SEE OURS. FOR MUTUAL UNDERSTANDING, DONT";
grupzer0.Message = "COPY OUR CODE. WE KNOW OUR CODE IS STUPID, BUT ";
grupzer0.Message = "COPYING SHOWS MORE STUPIDITY. WE ACCEPT FLAMES,";
grupzer0.Message = "PLEASE SEND YOURS AT grupzer0@yahoo.com. -creek";
delete grupzer0;
fscommand ("fullscreen", true);
fscommand ("showmenu", false);
fscommand ("trapallkeys", true);
Stage.showMenu = false;
Stage.scaleMode = "showAll";
sndSteam = new Sound(_root);
sndSteam.attachSound("sndSteam");
fightboss = new Sound(_root);
fightboss.attachSound("fightboss");
sndAmbience = new Sound(_root);
sndAmbience.attachSound("sndAmbience");
sndHit = new Sound(_root);
sndHit.attachSound("sndHit");
mcBak._alpha = 0;
stop();
Instance of Symbol 11 MovieClip "mcBak" in Frame 1
/* no clip actions */
Instance of Symbol 13 MovieClip "mcSun" in Frame 1
onClipEvent (enterFrame) {
ifFrameLoaded (1) {
intLoad = _parent.getBytesLoaded();
loadingVar = intLoad / intTotal;
intHave = loadingVar * 100;
loadingVar = Math.round(intHave);
if (boolPlayedBgm == false) {
_parent.fight3.start(0, 100);
boolPlayedBgm = true;
}
if (boolShowedIntro == false) {
var tmrIntro = setInterval(_parent.fncShowIntro, 5000);
boolShowedIntro = true;
}
if (_x < 1000) {
_x = (loadingVar * 10);
_parent.mcBak._alpha = loadingVar;
}
}
ifFrameLoaded (2) {
if (_parent._currentframe == 1) {
_parent.nextFrame();
}
}
ifFrameLoaded (3) {
if (boolOKtoGo and (_parent._currentframe == 2)) {
_parent.nextFrame();
}
}
ifFrameLoaded (90) {
boolOKtoGo = true;
}
}
onClipEvent (load) {
intTotal = _parent.getBytesTotal();
loadingVar = 0;
boolOKtoGo = false;
boolPlayedBgm = false;
boolShowedIntro = false;
stop();
}
Frame 4
stopAllSounds();
Frame 36
Mouse.hide();
gotoAndPlay (37);
Frame 37
sndItem = new Sound(_root);
sndItem.attachSound("sndItem");
sndFire = new Sound(_root);
sndFire.attachSound("sndFire");
sndKill = new Sound(_root);
sndKill.attachSound("sndKill");
sndPunch = new Sound(_root);
sndPunch.attachSound("sndPunch");
Frame 40
var strPlayerNAME = "Mj Mendoza";
var strPlayerPASS = "grupzer0";
var intPlayerPLV = 0;
var intPlayerLV = 0;
var intPlayerG = 0;
var intPlayerHP = 0;
var intPlayerHPMax = 0;
var intPlayerMP = 0;
var intPlayerMPMax = 0;
var intPlayerXP = 0;
var intPlayerXPNext = 0;
var intPlayerXPPrev = 0;
var intPlayerXPAim = 0;
var intPlayerSTR = 0;
var intPlayerVIT = 0;
var intPlayerAGI = 0;
var intPlayerINT = 0;
var intPlayerDEX = 0;
var intPlayerLUK = 0;
var intPlayerPTS = 0;
var intPlayerJPTS = 0;
var intPlayerITEM1 = 0;
var intPlayerITEM2 = 0;
var intPlayerITEM3 = 0;
var intPlayerITEM4 = 0;
var intPlayerITEM5 = 0;
var intPlayerITEM6 = 0;
var intPlayerJS1 = 0;
var intPlayerJS2 = 0;
var intPlayerJS3 = 0;
var intPlayerJS4 = 0;
var intPlayerJS5 = 0;
var intPlayerQST = 0;
var intPlayerX = 0;
var intPlayerY = 0;
var intPlayerPos = 0;
var strPlayerLoc = "";
var boolPlayerCHEATED = false;
Frame 43
arrIntXPos = new Array(20);
arrIntYPos = new Array(15);
arrIntTracePos = new Array(266);
arrIntGridPos = new Array(266);
var boolGamePaused = false;
var boolGenerating = false;
var strXYPos = "";
var intEnemCtr = 0;
var intEnemMAX = 0;
var intCtr = 0;
var intCtr1 = 0;
var intCtr2 = 0;
var strTEMP = "";
var strGRUPZERO = "";
var boolGeneratedBoss = false;
gz0TIME = new Date();
Frame 46
function fncUpdateXP() {
var intTemp = 0;
while (intPlayerXP >= intPlayerXPNext) {
intPlayerXPPrev = 0;
intPlayerXP = intPlayerXP - intPlayerXPNext;
intPlayerXPNext = Math.floor(intPlayerXPNext * 1.35);
intPlayerLV++;
intTemp = intTemp + random(intPlayerLV);
if (intTemp < 5) {
intTemp = intTemp + 4;
}
if ((intPlayerLV % 2) eq 0) {
intPlayerPLV++;
intPlayerJPTS++;
CS.gotoAndStop("SKILL");
} else {
CS.gotoAndStop("stat");
}
intPlayerPTS = intPlayerPTS + intTemp;
intTemp = 0;
}
intPlayerXPAim = Math.floor(((intPlayerXP - intPlayerXPPrev) / (intPlayerXPNext - intPlayerXPPrev)) * 100);
if (CS._currentframe > 1) {
if (CS.barXP._xscale ne intPlayerXPAim) {
CS.barXP._xscale = intPlayerXPAim;
}
}
if ((intEnemCtr >= intEnemMAX) and (intEnemMAX >= 800)) {
intPlayerXP = intPlayerXP + int((intPlayerXPNext - intPlayerXPPrev) / 3);
intPlayerPLV++;
intPlayerJPTS++;
intEnemCtr = 270;
intEnemMAX = 271;
CS.gotoAndStop("SKILL");
}
}
function fncUpdateHP(intDMG) {
var intMJ = 0;
intMJ = Math.floor((intPlayerHP / intPlayerHPMax) * 100);
if (intMJ <= 0) {
intMJ = 0;
}
if (intMJ > 99) {
intMJ = 100;
}
if (CS._currentframe > 1) {
if (CS.barHP._xscale ne intMJ) {
CS.barHP._xscale = intMJ;
}
}
if (PLAYER.LIFE.numI.NUM._currentframe eq 1) {
var intM = int(intDMG / 1000);
var intL = (int((intDMG % 1000) - (intDMG % 100)) / 100);
var intX = (int((intDMG % 100) - (intDMG % 10)) / 10);
var intI = int(intDMG % 10);
if (intM > 0) {
PLAYER.LIFE.numM.NUM.gotoAndStop(intM + 1);
PLAYER.LIFE.numM.play();
}
if ((intL > 0) and (intDMG > 99)) {
PLAYER.LIFE.numL.NUM.gotoAndStop(intL + 1);
PLAYER.LIFE.numL.play();
}
if ((intX > 0) and (intDMG > 9)) {
PLAYER.LIFE.numX.NUM.gotoAndStop(intX + 1);
PLAYER.LIFE.numX.play();
}
if (intI > 0) {
PLAYER.LIFE.numI.NUM.gotoAndStop(intI + 1);
PLAYER.LIFE.numI.play();
}
}
if (intDMG > 0) {
sndHit.start(0);
if (PLAYER.boolHitting_P) {
PLAYER.boolHitting_P = false;
}
}
}
function fncUpdateMP() {
var intMJ = 0;
intMJ = Math.round((intPlayerMP / intPlayerMPMax) * 100);
if (intMJ > 100) {
intMJ = 100;
}
if (CS._currentframe > 1) {
if (CS.barMP._xscale ne intMJ) {
CS.barMP._xscale = intMJ;
}
}
}
function fncPlayerMove_UP() {
arrIntGridPos[PLAYER.intPos] = 1;
PLAYER.intPos = PLAYER.intPos - 19;
arrIntGridPos[PLAYER.intPos] = 1;
PLAYER.boolWalking = true;
PLAYER.gotoAndPlay("UP");
}
function fncPlayerMove_LEFT() {
arrIntGridPos[PLAYER.intPos] = 1;
PLAYER.intPos--;
fncMoveMEMO();
PLAYER.gotoAndPlay("LEFT");
}
function fncPlayerMove_DOWN() {
arrIntGridPos[PLAYER.intPos] = 1;
PLAYER.intPos = PLAYER.intPos + 19;
fncMoveMEMO();
PLAYER.gotoAndPlay("DOWN");
}
function fncPlayerMove_RIGHT() {
arrIntGridPos[PLAYER.intPos] = 1;
PLAYER.intPos++;
fncMoveMEMO();
PLAYER.gotoAndPlay("RIGHT");
}
function fncMoveMEMO() {
PLAYER.swapDepths(PLAYER.intPos);
arrIntGridPos[PLAYER.intPos] = 1;
PLAYER.boolWalking = true;
}
function fncGenerateENEMY() {
var intGenEnemX = 0;
var intGenEnemY = 0;
var intPos = 0;
var boolPlaceIT = false;
duplicateMovieClip (mainEnem, "enem" + intEnemCtr, intEnemCtr);
while (boolPlaceIT == false) {
intGenEnemX = random(17) + 2;
intGenEnemY = random(11) + 2;
strXYPos = (arrIntXPos[intGenEnemX] + "|") + arrIntYPos[intGenEnemY];
intPos = 1;
while (intPos < 265) {
if (strXYPos eq arrIntTracePos[intPos]) {
if (arrIntGridPos[intPos] eq 0) {
arrIntGridPos[intPos] = intEnemCtr;
_root["enem" + intEnemCtr].intPosReg = intEnemCtr;
_root["enem" + intEnemCtr].intCrntPos = intPos;
_root["enem" + intEnemCtr]._x = arrIntXPos[intGenEnemX];
_root["enem" + intEnemCtr]._y = arrIntYPos[intGenEnemY];
intPos = 265;
boolPlaceIT = true;
}
}
intPos++;
}
}
intEnemCtr++;
}
function fncReGenerateENEMY() {
var intGenEnemX = 0;
var intGenEnemY = 0;
var intPos = 0;
var intGenTHIS = 0;
var boolPlaceIT = false;
boolGenerating = true;
intCtr = 1;
while (intCtr < 265) {
if (arrIntGridPos[intCtr] >= 266) {
if (_root["item" + arrIntGridPos[intCtr]]._currentframe eq undefined) {
removeMovieClip("enem" + arrIntGridPos[intCtr]);
duplicateMovieClip (mainEnem, "enem" + arrIntGridPos[intCtr], arrIntGridPos[intCtr]);
boolPlaceIT = false;
while (boolPlaceIT eq false) {
intGenEnemX = random(17) + 2;
intGenEnemY = random(11) + 2;
strXYPos = (arrIntXPos[intGenEnemX] + "|") + arrIntYPos[intGenEnemY];
intPos = 1;
while (intPos < 265) {
if (strXYPos eq arrIntTracePos[intPos]) {
if (arrIntGridPos[intPos] eq 0) {
_root["enem" + arrIntGridPos[intCtr]].intPosReg = arrIntGridPos[intCtr];
_root["enem" + arrIntGridPos[intCtr]].intCrntPos = intPos;
_root["enem" + arrIntGridPos[intCtr]]._x = arrIntXPos[intGenEnemX];
_root["enem" + arrIntGridPos[intCtr]]._y = arrIntYPos[intGenEnemY];
arrIntGridPos[intPos] = arrIntGridPos[intCtr];
intPos = 265;
boolPlaceIT = true;
}
}
intPos++;
}
}
arrIntGridPos[intCtr] = 0;
} else {
removeMovieClip("item" + arrIntGridPos[intCtr]);
arrIntGridPos[intCtr] = 0;
}
}
intCtr++;
}
boolGenerating = false;
}
function fncGenerateITEM(intItemPosReg, intItemX, intItemY, intItemP) {
removeMovieClip(_root["enem" + intItemPosReg]);
if (random(intPlayerLUK / 2) > random(50)) {
duplicateMovieClip (ITEM, "item" + intItemPosReg, intItemPosReg);
_root["item" + intItemPosReg]._x = intItemX;
_root["item" + intItemPosReg]._y = intItemY;
_root["item" + intItemPosReg].intCrntPos = intItemP;
} else {
arrIntGridPos[intItemP] = 0;
}
}
function fncUpdateEnemHP(strNAME, intDMG) {
if (_root[strNAME].LIFE.numI.NUM._currentframe eq 1) {
var intM = int(intDMG / 1000);
var intL = (int((intDMG % 1000) - (intDMG % 100)) / 100);
var intX = (int((intDMG % 100) - (intDMG % 10)) / 10);
var intI = int(intDMG % 10);
if (intM > 0) {
_root[strNAME].LIFE.numM.NUM.gotoAndStop(intM + 1);
_root[strNAME].LIFE.numM.play();
}
if ((intL > 0) and (intDMG > 99)) {
_root[strNAME].LIFE.numL.NUM.gotoAndStop(intL + 1);
_root[strNAME].LIFE.numL.play();
}
if ((intX > 0) and (intDMG > 9)) {
_root[strNAME].LIFE.numX.NUM.gotoAndStop(intX + 1);
_root[strNAME].LIFE.numX.play();
}
if (intI > -1) {
_root[strNAME].LIFE.numI.NUM.gotoAndStop(intI + 1);
_root[strNAME].LIFE.numI.play();
}
}
}
Frame 48
function fncEnemMoveBfr(strEnemName) {
_root[strEnemName].boolWalking = true;
arrIntGridPos[_root[strEnemName].intCrntPos] = 1;
}
function fncEnemMoveAfr(strEnemName) {
arrIntGridPos[_root[strEnemName].intCrntPos] = 1;
_root[strEnemName].swapDepths(_root[strEnemName].intCrntPos);
}
function fncHitPlayer(strENEMYname) {
var intDmg;
intDmg = random(_root[strENEMYname].intHit / 2) + int(_root[strENEMYname].intHit / 3);
intDmg = intDmg - Math.floor(random(intPlayerAGI / 3) + (intPlayerAGI / 2));
if (intDmg > 0) {
intPlayerHP = intPlayerHP - intDmg;
fncUpdateHP(intDmg);
}
}
function fncEnemMoveRIGHT(strEN) {
fncEnemMoveBfr(strEN);
_root[strEN].intCrntPos++;
fncEnemMoveAfr(strEN);
_root[strEN].enem.gotoAndPlay("RIGHT");
}
function fncEnemMoveLEFT(strEN) {
fncEnemMoveBfr(strEN);
_root[strEN].intCrntPos--;
fncEnemMoveAfr(strEN);
_root[strEN].enem.gotoAndPlay("LEFT");
}
function fncEnemMoveDOWN(strEN) {
fncEnemMoveBfr(strEN);
_root[strEN].intCrntPos = _root[strEN].intCrntPos + 19;
fncEnemMoveAfr(strEN);
_root[strEN].enem.gotoAndPlay("DOWN");
}
function fncEnemMoveUP(strEN) {
fncEnemMoveBfr(strEN);
_root[strEN].intCrntPos = _root[strEN].intCrntPos - 19;
arrIntGridPos[_root[strEN].intCrntPos] = 1;
_root[strEN].enem.gotoAndPlay("UP");
}
Frame 50
function fncPMU(boolMouse) {
if (boolGamePaused ne true) {
if ((PLAYER.boolHitting_P ne true) and (PLAYER.boolWalking ne true)) {
if (boolMouse) {
if (intPlayerATK eq 2) {
PLAYER.boolHitting_P = true;
PLAYER.gotoAndPlay("Attk_U_Frost");
} else if ((arrIntGridPos[PLAYER.intPos - 19] > 265) or (arrIntGridPos[PLAYER.intPos - 19] eq 1)) {
ICON.gotoAndStop("ATTACK");
PLAYER.boolHitting_P = true;
if (intPlayerATK eq 1) {
PLAYER.gotoAndPlay("Attk_U_Normal");
} else if (intPlayerATK eq 3) {
if (_root["enem" + arrIntGridPos[PLAYER.intPos - 19]]._currentframe > 0) {
PLAYER.gotoAndPlay("Attk_U_Ice");
} else if (_root["item" + arrIntGridPos[PLAYER.intPos - 19]]._currentframe > 0) {
PLAYER.gotoAndPlay("Attk_U_Normal");
} else if ((_root["enem" + arrIntGridPos[PLAYER.intPos - 19]]._currentframe eq undefined) or (_root["item" + arrIntGridPos[PLAYER.intPos - 19]]._currentframe eq undefined)) {
PLAYER.boolHitting_P = false;
}
} else if (intPlayerATK eq 4) {
if (_root["enem" + arrIntGridPos[PLAYER.intPos - 19]]._currentframe > 0) {
PLAYER.gotoAndPlay("Attk_U_Burden");
} else if (_root["item" + arrIntGridPos[PLAYER.intPos - 19]]._currentframe > 0) {
PLAYER.gotoAndPlay("Attk_U_Normal");
} else if ((_root["enem" + arrIntGridPos[PLAYER.intPos - 19]]._currentframe eq undefined) or (_root["item" + arrIntGridPos[PLAYER.intPos - 19]]._currentframe eq undefined)) {
PLAYER.boolHitting_P = false;
}
}
} else {
fncMIU();
}
} else {
fncMIU();
}
}
}
}
function fncMIU() {
if (PLAYER.boolWalking ne true) {
if (arrIntGridPos[PLAYER.intPos - 19] eq 4) {
if ((intPlayerQST eq 0) and (_root.NPC4._currentframe < 2)) {
_root.NPC4.nextFrame();
}
if (intPlayerQST eq 1) {
_root.NPC4.play();
}
} else if (((arrIntGridPos[PLAYER.intPos - 19] eq 5) and (intPlayerQST eq 2)) and (_root.NPC5._currentframe < 2)) {
_root.NPC5.nextFrame();
} else {
ICON.gotoAndStop("NORMAL");
if (PLAYER.intPos > 18) {
if (arrIntGridPos[PLAYER.intPos - 19] == 0) {
PLAYER.boolWalking = true;
fncPlayerMove_UP();
} else {
PLAYER.gotoAndStop("UP");
}
} else if ((((((((((PLAYER.strMapLoc != "E1 [2]") && (PLAYER.strMapLoc != "E1 [5]")) && (PLAYER.strMapLoc != "E1 [7]")) && (PLAYER.strMapLoc != "E1 [11]")) && (PLAYER.strMapLoc != "E1 [20]")) && (PLAYER.strMapLoc != "E1 [6]")) && (PLAYER.strMapLoc != "E1 [10]")) && (PLAYER.strMapLoc != "E1 [12]")) && (PLAYER.strMapLoc != "E1 [14]")) && (PLAYER.strMapLoc != "E1 [17]")) {
if (PLAYER.strMapLoc eq "E1 [1]") {
_root.gotoAndStop("grsdrt_1/2");
PLAYER.strMapLoc = "E1 [2]";
} else if (PLAYER.strMapLoc eq "E1 [8]") {
_root.gotoAndStop("dirt");
PLAYER.strMapLoc = "E1 [10]";
} else if (PLAYER.strMapLoc eq "E1 [3]") {
_root.gotoAndStop("grsdrt_1/2");
PLAYER.strMapLoc = "E1 [4]";
} else if (PLAYER.strMapLoc eq "E1 [4]") {
_root.gotoAndStop("dirt");
PLAYER.strMapLoc = "E1 [6]";
} else if (PLAYER.strMapLoc eq "E1 [15]") {
_root.gotoAndStop("grsdrt_3/4");
PLAYER.strMapLoc = "E1 [18]";
} else if (PLAYER.strMapLoc eq "E1 [18]") {
_root.gotoAndStop("dirt");
PLAYER.strMapLoc = "E1 [14]";
} else if (PLAYER.strMapLoc eq "E1 [13]") {
_root.gotoAndStop("mix");
PLAYER.strMapLoc = "E1 [16]";
} else if (PLAYER.strMapLoc eq "E1 [16]") {
_root.gotoAndStop("stndrt_1/2");
PLAYER.strMapLoc = "E1 [17]";
} else if (PLAYER.strMapLoc eq "E1 [9]") {
PLAYER.strMapLoc = "E1 [11]";
} else if (PLAYER.strMapLoc eq "E1 [19]") {
if (intPlayerQST eq 3) {
_root.gotoAndStop("boss");
PLAYER.strMapLoc = "E1 [20]";
boolGenerating = true;
fncGenerateENEMY();
} else {
CS.txtInfo.text = "You can not proceed yet!";
grupzeroID = setInterval(function () {
CS.txtInfo.text = "";
clearInterval(grupzeroID);
}, 10000);
}
}
if (PLAYER.strMapLoc ne "E1 [19]") {
PLAYER._y = 560;
arrIntGridPos[PLAYER.intPos] = 0;
PLAYER.intPos = PLAYER.intPos + 247;
PLAYER.swapDepths(PLAYER.intPos);
arrIntGridPos[PLAYER.intPos] = 2;
fncReGenerateENEMY();
}
CS.fncPosICO();
}
}
}
}
function fncPML(boolMouse) {
if (boolGamePaused ne true) {
if ((PLAYER.boolHitting_P ne true) and (PLAYER.boolWalking ne true)) {
if (boolMouse) {
if (intPlayerATK eq 2) {
PLAYER.boolHitting_P = true;
PLAYER.gotoAndPlay("Attk_L_Frost");
} else if ((arrIntGridPos[PLAYER.intPos - 1] > 265) or (arrIntGridPos[PLAYER.intPos - 1] eq 1)) {
PLAYER.boolHitting_P = true;
ICON.gotoAndStop("ATTACK");
if (intPlayerATK eq 1) {
PLAYER.gotoAndPlay("Attk_L_Normal");
} else if (intPlayerATK eq 3) {
if (_root["enem" + arrIntGridPos[PLAYER.intPos - 1]]._currentframe > 0) {
PLAYER.gotoAndPlay("Attk_L_Ice");
} else if (_root["item" + arrIntGridPos[PLAYER.intPos - 1]]._currentframe > 0) {
PLAYER.gotoAndPlay("Attk_L_Normal");
} else if ((_root["enem" + arrIntGridPos[PLAYER.intPos - 1]]._currentframe eq undefined) or (_root["item" + arrIntGridPos[PLAYER.intPos - 1]]._currentframe eq undefined)) {
PLAYER.boolHitting_P = false;
}
} else if (intPlayerATK eq 4) {
if (_root["enem" + arrIntGridPos[PLAYER.intPos - 1]]._currentframe > 0) {
PLAYER.gotoAndPlay("Attk_L_Burden");
} else if (_root["item" + arrIntGridPos[PLAYER.intPos - 1]]._currentframe > 0) {
PLAYER.gotoAndPlay("Attk_L_Normal");
} else if ((_root["enem" + arrIntGridPos[PLAYER.intPos - 1]]._currentframe eq undefined) or (_root["item" + arrIntGridPos[PLAYER.intPos - 1]]._currentframe eq undefined)) {
PLAYER.boolHitting_P = false;
}
}
} else {
fncMIL();
}
} else {
fncMIL();
}
}
}
}
function fncMIL() {
if (PLAYER.boolWalking ne true) {
if (((arrIntGridPos[PLAYER.intPos - 1] eq 5) and (intPlayerQST eq 2)) and (_root.NPC5._currentframe < 2)) {
_root.NPC5.nextFrame();
} else {
ICON.gotoAndStop("NORMAL");
if ((PLAYER.intPos % 19) > 0) {
if (arrIntGridPos[PLAYER.intPos - 1] == 0) {
PLAYER.boolWalking = true;
fncPlayerMove_LEFT();
} else {
PLAYER.gotoAndStop("LEFT");
}
} else if ((((((((PLAYER.strMapLoc ne "E1 [4]") && (PLAYER.strMapLoc ne "E1 [6]")) && (PLAYER.strMapLoc ne "E1 [18]")) && (PLAYER.strMapLoc ne "E1 [17]")) && (PLAYER.strMapLoc ne "E1 [9]")) && (PLAYER.strMapLoc ne "E1 [11]")) && (PLAYER.strMapLoc ne "E1 [19]")) && (PLAYER.strMapLoc ne "E1 [20]")) {
PLAYER._x = 760;
arrIntGridPos[PLAYER.intPos] = 0;
PLAYER.intPos = PLAYER.intPos + 18;
PLAYER.swapDepths(PLAYER.intPos);
arrIntGridPos[PLAYER.intPos] = 2;
if (PLAYER.strMapLoc == "E1 [1]") {
PLAYER.strMapLoc = "E1 [3]";
} else if (PLAYER.strMapLoc == "E1 [3]") {
PLAYER.strMapLoc = "E1 [5]";
} else if (PLAYER.strMapLoc == "E1 [5]") {
PLAYER.strMapLoc = "E1 [7]";
} else if (PLAYER.strMapLoc == "E1 [7]") {
PLAYER.strMapLoc = "E1 [9]";
} else if (PLAYER.strMapLoc == "E1 [2]") {
PLAYER.strMapLoc = "E1 [4]";
} else if (PLAYER.strMapLoc == "E1 [15]") {
_root.gotoAndStop("grass");
PLAYER.strMapLoc = "E1 [13]";
} else if (PLAYER.strMapLoc == "E1 [13]") {
PLAYER.strMapLoc = "E1 [11]";
} else if (PLAYER.strMapLoc == "E1 [8]") {
PLAYER.strMapLoc = "E1 [6]";
} else if (PLAYER.strMapLoc == "E1 [16]") {
_root.gotoAndStop("stngrs_1/2");
PLAYER.strMapLoc = "E1 [19]";
} else if (PLAYER.strMapLoc == "E1 [10]") {
PLAYER.strMapLoc = "E1 [12]";
} else if (PLAYER.strMapLoc == "E1 [12]") {
PLAYER.strMapLoc = "E1 [14]";
} else if (PLAYER.strMapLoc == "E1 [14]") {
_root.gotoAndStop("stndrt_1/2");
PLAYER.strMapLoc = "E1 [17]";
}
CS.fncPosICO();
fncReGenerateENEMY();
}
}
}
}
Frame 52
function fncPMR(boolMouse) {
if (boolGamePaused ne true) {
if ((PLAYER.boolHitting_P ne true) and (PLAYER.boolWalking ne true)) {
if (boolMouse) {
if (intPlayerATK eq 2) {
PLAYER.boolHitting_P = true;
PLAYER.gotoAndPlay("Attk_R_Frost");
} else if ((arrIntGridPos[PLAYER.intPos + 1] > 265) or (arrIntGridPos[PLAYER.intPos + 1] eq 1)) {
PLAYER.boolHitting_P = true;
ICON.gotoAndStop("ATTACK");
if (intPlayerATK eq 1) {
PLAYER.gotoAndPlay("Attk_R_Normal");
} else if (intPlayerATK eq 3) {
if (_root["enem" + arrIntGridPos[PLAYER.intPos + 1]]._currentframe > 0) {
PLAYER.gotoAndPlay("Attk_R_Ice");
} else if (_root["item" + arrIntGridPos[PLAYER.intPos + 1]]._currentframe > 0) {
PLAYER.gotoAndPlay("Attk_R_Normal");
} else if ((_root["enem" + arrIntGridPos[PLAYER.intPos + 1]]._currentframe eq undefined) or (_root["item" + arrIntGridPos[PLAYER.intPos + 1]]._currentframe eq undefined)) {
PLAYER.boolHitting_P = false;
}
} else if (intPlayerATK eq 4) {
if (_root["enem" + arrIntGridPos[PLAYER.intPos + 1]]._currentframe > 0) {
PLAYER.gotoAndPlay("Attk_R_Burden");
} else if (_root["item" + arrIntGridPos[PLAYER.intPos + 1]]._currentframe > 0) {
PLAYER.gotoAndPlay("Attk_R_Normal");
} else if ((_root["enem" + arrIntGridPos[PLAYER.intPos + 1]]._currentframe eq undefined) or (_root["item" + arrIntGridPos[PLAYER.intPos + 1]]._currentframe eq undefined)) {
PLAYER.boolHitting_P = false;
}
}
} else {
fncMIR();
}
} else {
fncMIR();
}
}
}
}
function fncMIR() {
if (PLAYER.boolWalking ne true) {
if ((arrIntGridPos[PLAYER.intPos + 1] eq 3) and (intPlayerQST eq 0)) {
_root.NPC3.play();
} else if (arrIntGridPos[PLAYER.intPos + 1] eq 4) {
if ((intPlayerQST eq 0) and (_root.NPC4._currentframe < 2)) {
_root.NPC4.nextFrame();
}
if (intPlayerQST eq 1) {
_root.NPC4.play();
}
} else {
ICON.gotoAndStop("NORMAL");
if ((PLAYER.intPos % 19) != 18) {
if (arrIntGridPos[PLAYER.intPos + 1] == 0) {
PLAYER.boolWalking = true;
fncPlayerMove_RIGHT();
} else {
PLAYER.gotoAndStop("RIGHT");
}
} else if ((((((((PLAYER.strMapLoc ne "E1 [1]") && (PLAYER.strMapLoc ne "E1 [2]")) && (PLAYER.strMapLoc ne "E1 [8]")) && (PLAYER.strMapLoc ne "E1 [10]")) && (PLAYER.strMapLoc ne "E1 [15]")) && (PLAYER.strMapLoc ne "E1 [16]")) && (PLAYER.strMapLoc ne "E1 [18]")) && (PLAYER.strMapLoc ne "E1 [20]")) {
PLAYER._x = 40;
arrIntGridPos[PLAYER.intPos] = 0;
PLAYER.intPos = PLAYER.intPos - 18;
PLAYER.swapDepths(PLAYER.intPos);
arrIntGridPos[PLAYER.intPos] = 2;
if (PLAYER.strMapLoc == "E1 [9]") {
PLAYER.strMapLoc = "E1 [7]";
} else if (PLAYER.strMapLoc == "E1 [7]") {
PLAYER.strMapLoc = "E1 [5]";
} else if (PLAYER.strMapLoc == "E1 [5]") {
PLAYER.strMapLoc = "E1 [3]";
} else if (PLAYER.strMapLoc == "E1 [3]") {
PLAYER.strMapLoc = "E1 [1]";
} else if (PLAYER.strMapLoc == "E1 [11]") {
PLAYER.strMapLoc = "E1 [13]";
} else if (PLAYER.strMapLoc == "E1 [13]") {
_root.gotoAndStop("grsdrt_1/4");
PLAYER.strMapLoc = "E1 [15]";
} else if (PLAYER.strMapLoc == "E1 [4]") {
PLAYER.strMapLoc = "E1 [2]";
} else if (PLAYER.strMapLoc == "E1 [19]") {
_root.gotoAndStop("mix");
PLAYER.strMapLoc = "E1 [16]";
} else if (PLAYER.strMapLoc == "E1 [6]") {
PLAYER.strMapLoc = "E1 [8]";
} else if (PLAYER.strMapLoc == "E1 [17]") {
_root.gotoAndStop("dirt");
PLAYER.strMapLoc = "E1 [14]";
} else if (PLAYER.strMapLoc == "E1 [14]") {
PLAYER.strMapLoc = "E1 [12]";
} else if (PLAYER.strMapLoc == "E1 [12]") {
PLAYER.strMapLoc = "E1 [10]";
}
CS.fncPosICO();
fncReGenerateENEMY();
}
}
}
}
function fncPMD(boolMouse) {
if (boolGamePaused ne true) {
if ((PLAYER.boolHitting_P ne true) and (PLAYER.boolWalking ne true)) {
if (boolMouse) {
if (intPlayerATK eq 2) {
PLAYER.boolHitting_P = true;
PLAYER.gotoAndPlay("Attk_D_Frost");
} else if ((arrIntGridPos[PLAYER.intPos + 19] > 265) or (arrIntGridPos[PLAYER.intPos + 19] eq 1)) {
PLAYER.boolHitting_P = true;
ICON.gotoAndStop("ATTACK");
if (intPlayerATK eq 1) {
PLAYER.gotoAndPlay("Attk_D_Normal");
} else if (intPlayerATK eq 3) {
if (_root["enem" + arrIntGridPos[PLAYER.intPos + 19]]._currentframe > 0) {
PLAYER.gotoAndPlay("Attk_D_Ice");
} else if (_root["item" + arrIntGridPos[PLAYER.intPos + 19]]._currentframe > 0) {
PLAYER.gotoAndPlay("Attk_D_Normal");
} else if ((_root["enem" + arrIntGridPos[PLAYER.intPos + 19]]._currentframe eq undefined) or (_root["item" + arrIntGridPos[PLAYER.intPos + 19]]._currentframe eq undefined)) {
PLAYER.boolHitting_P = false;
}
} else if (intPlayerATK eq 4) {
if (_root["enem" + arrIntGridPos[PLAYER.intPos + 19]]._currentframe > 0) {
PLAYER.gotoAndPlay("Attk_D_Burden");
} else if (_root["item" + arrIntGridPos[PLAYER.intPos + 19]]._currentframe > 0) {
PLAYER.gotoAndPlay("Attk_D_Normal");
} else if ((_root["enem" + arrIntGridPos[PLAYER.intPos + 19]]._currentframe eq undefined) or (_root["item" + arrIntGridPos[PLAYER.intPos + 19]]._currentframe eq undefined)) {
PLAYER.boolHitting_P = false;
}
}
} else {
fncMID();
}
} else {
fncMID();
}
}
}
}
function fncMID() {
if (PLAYER.boolWalking ne true) {
if ((arrIntGridPos[PLAYER.intPos + 19] eq 3) and (intPlayerQST eq 0)) {
_root.NPC3.play();
} else if (arrIntGridPos[PLAYER.intPos + 19] eq 4) {
if ((intPlayerQST eq 0) and (_root.NPC4._currentframe < 2)) {
_root.NPC4.nextFrame();
}
if (intPlayerQST eq 1) {
_root.NPC4.play();
}
} else if (((arrIntGridPos[PLAYER.intPos + 19] eq 5) and (intPlayerQST eq 2)) and (_root.NPC5._currentframe < 2)) {
_root.NPC5.nextFrame();
} else {
ICON.gotoAndStop("NORMAL");
if (PLAYER.intPos < 247) {
if (arrIntGridPos[PLAYER.intPos + 19] == 0) {
PLAYER.boolWalking = true;
fncPlayerMove_DOWN();
} else {
PLAYER.gotoAndStop("DOWN");
}
} else if ((((((((((PLAYER.strMapLoc != "E1 [1]") && (PLAYER.strMapLoc != "E1 [3]")) && (PLAYER.strMapLoc != "E1 [5]")) && (PLAYER.strMapLoc != "E1 [7]")) && (PLAYER.strMapLoc != "E1 [9]")) && (PLAYER.strMapLoc != "E1 [13]")) && (PLAYER.strMapLoc != "E1 [15]")) && (PLAYER.strMapLoc != "E1 [8]")) && (PLAYER.strMapLoc != "E1 [19]")) && (PLAYER.strMapLoc != "E1 [12]")) {
if (PLAYER.strMapLoc ne "E1 [20]") {
PLAYER._y = 40;
arrIntGridPos[PLAYER.intPos] = 0;
PLAYER.intPos = PLAYER.intPos - 247;
PLAYER.swapDepths(PLAYER.intPos);
arrIntGridPos[PLAYER.intPos] = 2;
fncReGenerateENEMY();
}
if (PLAYER.strMapLoc == "E1 [10]") {
PLAYER.strMapLoc = "E1 [8]";
} else if (PLAYER.strMapLoc == "E1 [2]") {
_root.gotoAndStop("grass");
PLAYER.strMapLoc = "E1 [1]";
} else if (PLAYER.strMapLoc == "E1 [6]") {
_root.gotoAndStop("grsdrt_1/2");
PLAYER.strMapLoc = "E1 [4]";
} else if (PLAYER.strMapLoc == "E1 [4]") {
_root.gotoAndStop("grass");
PLAYER.strMapLoc = "E1 [3]";
} else if (PLAYER.strMapLoc == "E1 [14]") {
_root.gotoAndStop("grsdrt_3/4");
PLAYER.strMapLoc = "E1 [18]";
} else if (PLAYER.strMapLoc == "E1 [18]") {
_root.gotoAndStop("grsdrt_1/4");
PLAYER.strMapLoc = "E1 [15]";
} else if (PLAYER.strMapLoc == "E1 [17]") {
_root.gotoAndStop("mix");
PLAYER.strMapLoc = "E1 [16]";
} else if (PLAYER.strMapLoc == "E1 [16]") {
_root.gotoAndStop("grass");
PLAYER.strMapLoc = "E1 [13]";
} else if (PLAYER.strMapLoc == "E1 [11]") {
PLAYER.strMapLoc = "E1 [9]";
}
CS.fncPosICO();
}
}
}
}
Frame 54
function fncGZOencodeSTR(charBit) {
if (charBit eq "a") {
charBit = "\u2020\u2020\u2020\u2020\u2020";
} else if (charBit eq "b") {
charBit = "\u2020\u2020\u2020\u2020\u017E";
} else if (charBit eq "c") {
charBit = "\u2020\u2020\u2020\u017E\u2020";
} else if (charBit eq "d") {
charBit = "\u2020\u2020\u017E\u2020\u2020";
} else if (charBit eq "e") {
charBit = "\u2020\u017E\u2020\u2020\u2020";
} else if (charBit eq "f") {
charBit = "\u017E\u2020\u2020\u2020\u2020";
} else if (charBit eq "g") {
charBit = "\u2020\u2020\u2020\u017E\u017E";
} else if (charBit eq "h") {
charBit = "\u2020\u2020\u017E\u017E\u2020";
} else if (charBit eq "i") {
charBit = "\u2020\u017E\u017E\u2020\u2020";
} else if (charBit eq "j") {
charBit = "\u017E\u017E\u2020\u2020\u2020";
} else if (charBit eq "k") {
charBit = "\u2020\u2020\u017E\u2020\u017E";
} else if (charBit eq "l") {
charBit = "\u2020\u017E\u2020\u017E\u2020";
} else if (charBit eq "m") {
charBit = "\u017E\u2020\u017E\u2020\u2020";
} else if (charBit eq "n") {
charBit = "\u2020\u017E\u2020\u2020\u017E";
} else if (charBit eq "o") {
charBit = "\u017E\u2020\u2020\u017E\u2020";
} else if (charBit eq "p") {
charBit = "\u017E\u2020\u2020\u2020\u017E";
} else if (charBit eq "q") {
charBit = "\u2020\u2020\u017E\u017E\u017E";
} else if (charBit eq "r") {
charBit = "\u2020\u017E\u017E\u017E\u2020";
} else if (charBit eq "s") {
charBit = "\u017E\u017E\u017E\u2020\u2020";
} else if (charBit eq "t") {
charBit = "\u2020\u017E\u2020\u017E\u017E";
} else if (charBit eq "u") {
charBit = "\u017E\u2020\u017E\u017E\u2020";
} else if (charBit eq "v") {
charBit = "\u2020\u017E\u017E\u2020\u017E";
} else if (charBit eq "w") {
charBit = "\u017E\u017E\u2020\u017E\u2020";
} else if (charBit eq "x") {
charBit = "\u017E\u017E\u2020\u2020\u017E";
} else if (charBit eq "y") {
charBit = "\u017E\u2020\u2020\u017E\u017E";
} else if (charBit eq "z") {
charBit = "\u017E\u2020\u017E\u2020\u017E";
} else if (charBit eq "A") {
charBit = "\u2020\u017E\u017E\u017E\u017E";
} else if (charBit eq "B") {
charBit = "\u017E\u017E\u017E\u2020\u017E";
} else if (charBit eq "C") {
charBit = "\u017E\u017E\u017E\u017E\u2020";
} else if (charBit eq "D") {
charBit = "\u017E\u2020\u017E\u017E\u017E";
} else if (charBit eq "E") {
charBit = "\u017E\u017E\u2020\u017E\u017E";
} else if (charBit eq "F") {
charBit = "\u017E\u017E\u017E\u017E\u017E";
} else if (charBit eq "G") {
charBit = "\u017E\u017E\u017E\u017E\u00A4";
} else if (charBit eq "H") {
charBit = "\u017E\u017E\u017E\u00A4\u017E";
} else if (charBit eq "I") {
charBit = "\u017E\u017E\u00A4\u017E\u017E";
} else if (charBit eq "J") {
charBit = "\u017E\u00A4\u017E\u017E\u017E";
} else if (charBit eq "K") {
charBit = "\u00A4\u017E\u017E\u017E\u017E";
} else if (charBit eq "L") {
charBit = "\u017E\u017E\u017E\u00A4\u00A4";
} else if (charBit eq "M") {
charBit = "\u017E\u017E\u00A4\u00A4\u017E";
} else if (charBit eq "N") {
charBit = "\u017E\u00A4\u00A4\u017E\u017E";
} else if (charBit eq "O") {
charBit = "\u00A4\u00A4\u017E\u017E\u017E";
} else if (charBit eq "P") {
charBit = "\u017E\u017E\u00A4\u017E\u00A4";
} else if (charBit eq "Q") {
charBit = "\u017E\u00A4\u017E\u00A4\u017E";
} else if (charBit eq "R") {
charBit = "\u00A4\u017E\u00A4\u017E\u017E";
} else if (charBit eq "S") {
charBit = "\u017E\u00A4\u017E\u017E\u00A4";
} else if (charBit eq "T") {
charBit = "\u00A4\u017E\u017E\u00A4\u017E";
} else if (charBit eq "U") {
charBit = "\u00A4\u017E\u017E\u017E\u00A4";
} else if (charBit eq "V") {
charBit = "\u017E\u017E\u00A4\u00A4\u00A4";
} else if (charBit eq "W") {
charBit = "\u017E\u00A4\u00A4\u00A4\u017E";
} else if (charBit eq "X") {
charBit = "\u00A4\u00A4\u00A4\u017E\u017E";
} else if (charBit eq "Y") {
charBit = "\u017E\u00A4\u017E\u00A4\u00A4";
} else if (charBit eq "Z") {
charBit = "\u00A4\u017E\u00A4\u00A4\u017E";
} else if (charBit eq "!") {
charBit = "\u00A4\u00A4\u00A4\u2020\u00A4";
} else if (charBit eq "@") {
charBit = "\u00A4\u00A4\u2020\u00A4\u00A4";
} else if (charBit eq "#") {
charBit = "\u00A4\u2020\u00A4\u00A4\u00A4";
} else if (charBit eq "$") {
charBit = "\u2020\u00A4\u00A4\u00A4\u00A4";
} else if (charBit eq "%") {
charBit = "\u00A4\u00A4\u00A4\u2020\u2020";
} else if (charBit eq "^") {
charBit = "\u00A4\u00A4\u2020\u2020\u00A4";
} else if (charBit eq "&") {
charBit = "\u00A4\u2020\u2020\u00A4\u00A4";
} else if (charBit eq "*") {
charBit = "\u2020\u2020\u00A4\u00A4\u00A4";
} else if (charBit eq "(") {
charBit = "\u00A4\u00A4\u2020\u00A4\u2020";
} else if (charBit eq ")") {
charBit = "\u00A4\u2020\u00A4\u2020\u00A4";
} else if (charBit eq "_") {
charBit = "\u2020\u00A4\u2020\u00A4\u00A4";
} else if (charBit eq "+") {
charBit = "\u00A4\u2020\u00A4\u00A4\u2020";
} else if (charBit eq "-") {
charBit = "\u2020\u00A4\u00A4\u2020\u00A4";
} else if (charBit eq "=") {
charBit = "\u2020\u00A4\u00A4\u00A4\u2020";
} else if (charBit eq ",") {
charBit = "\u00A4\u00A4\u2020\u2020\u2020";
} else if (charBit eq ".") {
charBit = "\u00A4\u2020\u2020\u2020\u00A4";
} else if (charBit eq "<") {
charBit = "\u2020\u2020\u2020\u00A4\u00A4";
} else if (charBit eq ">") {
charBit = "\u00A4\u2020\u00A4\u2020\u2020";
} else if (charBit eq "/") {
charBit = "\u2020\u00A4\u2020\u2020\u00A4";
} else if (charBit eq "?") {
charBit = "\u00A4\u2020\u2020\u00A4\u2020";
} else if (charBit eq ";") {
charBit = "\u2020\u2020\u00A4\u2020\u00A4";
} else if (charBit eq "'") {
charBit = "\u2020\u00A4\u2020\u00A4\u2020";
} else if (charBit eq ":") {
charBit = "\u00A4\u2020\u2020\u2020\u2020";
} else if (charBit eq "[") {
charBit = "\u2020\u2020\u2020\u2020\u00A4";
} else if (charBit eq "]") {
charBit = "\u2020\u00A4\u2020\u2020\u2020";
} else if (charBit eq "|") {
charBit = "\u2020\u2020\u2020\u00A4\u2020";
} else if (charBit eq "1") {
charBit = "\u017E\u00A4\u00A4\u017E\u00A4";
} else if (charBit eq "2") {
charBit = "\u00A4\u00A4\u017E\u00A4\u017E";
} else if (charBit eq "3") {
charBit = "\u00A4\u017E\u00A4\u017E\u00A4";
} else if (charBit eq "4") {
charBit = "\u017E\u00A4\u00A4\u00A4\u00A4";
} else if (charBit eq "5") {
charBit = "\u00A4\u00A4\u00A4\u00A4\u017E";
} else if (charBit eq "6") {
charBit = "\u00A4\u017E\u00A4\u00A4\u00A4";
} else if (charBit eq "7") {
charBit = "\u00A4\u00A4\u00A4\u017E\u00A4";
} else if (charBit eq "8") {
charBit = "\u00A4\u00A4\u017E\u00A4\u00A4";
} else if (charBit eq "9") {
charBit = "\u00A4\u00A4\u00A4\u00A4\u00A4";
} else if (charBit eq "0") {
charBit = "\u00A4\u00A4\u00A4\u00A4\u2020";
} else {
charBit = "\u2020\u2020\u00A4\u2020\u2020";
}
CS.txtSave.text = CS.txtSave.text + charBit;
}
function fncGZOencodeINT(charBit) {
if (charBit eq 1) {
charBit = "\u017E\u00A4\u00A4\u017E\u00A4";
} else if (charBit eq 2) {
charBit = "\u00A4\u00A4\u017E\u00A4\u017E";
} else if (charBit eq 3) {
charBit = "\u00A4\u017E\u00A4\u017E\u00A4";
} else if (charBit eq 4) {
charBit = "\u017E\u00A4\u00A4\u00A4\u00A4";
} else if (charBit eq 5) {
charBit = "\u00A4\u00A4\u00A4\u00A4\u017E";
} else if (charBit eq 6) {
charBit = "\u00A4\u017E\u00A4\u00A4\u00A4";
} else if (charBit eq 7) {
charBit = "\u00A4\u00A4\u00A4\u017E\u00A4";
} else if (charBit eq 8) {
charBit = "\u00A4\u00A4\u017E\u00A4\u00A4";
} else if (charBit eq 9) {
charBit = "\u00A4\u00A4\u00A4\u00A4\u00A4";
} else if (charBit eq 0) {
charBit = "\u00A4\u00A4\u00A4\u00A4\u2020";
}
CS.txtSave.text = CS.txtSave.text + charBit;
}
function fncGZOdecodeSTR(charBit) {
if (charBit eq "\u2020\u2020\u2020\u2020\u2020") {
charBit = "a";
} else if (charBit eq "\u2020\u2020\u2020\u2020\u017E") {
charBit = "b";
} else if (charBit eq "\u2020\u2020\u2020\u017E\u2020") {
charBit = "c";
} else if (charBit eq "\u2020\u2020\u017E\u2020\u2020") {
charBit = "d";
} else if (charBit eq "\u2020\u017E\u2020\u2020\u2020") {
charBit = "e";
} else if (charBit eq "\u017E\u2020\u2020\u2020\u2020") {
charBit = "f";
} else if (charBit eq "\u2020\u2020\u2020\u017E\u017E") {
charBit = "g";
} else if (charBit eq "\u2020\u2020\u017E\u017E\u2020") {
charBit = "h";
} else if (charBit eq "\u2020\u017E\u017E\u2020\u2020") {
charBit = "i";
} else if (charBit eq "\u017E\u017E\u2020\u2020\u2020") {
charBit = "j";
} else if (charBit eq "\u2020\u2020\u017E\u2020\u017E") {
charBit = "k";
} else if (charBit eq "\u2020\u017E\u2020\u017E\u2020") {
charBit = "l";
} else if (charBit eq "\u017E\u2020\u017E\u2020\u2020") {
charBit = "m";
} else if (charBit eq "\u2020\u017E\u2020\u2020\u017E") {
charBit = "n";
} else if (charBit eq "\u017E\u2020\u2020\u017E\u2020") {
charBit = "o";
} else if (charBit eq "\u017E\u2020\u2020\u2020\u017E") {
charBit = "p";
} else if (charBit eq "\u2020\u2020\u017E\u017E\u017E") {
charBit = "q";
} else if (charBit eq "\u2020\u017E\u017E\u017E\u2020") {
charBit = "r";
} else if (charBit eq "\u017E\u017E\u017E\u2020\u2020") {
charBit = "s";
} else if (charBit eq "\u2020\u017E\u2020\u017E\u017E") {
charBit = "t";
} else if (charBit eq "\u017E\u2020\u017E\u017E\u2020") {
charBit = "u";
} else if (charBit eq "\u2020\u017E\u017E\u2020\u017E") {
charBit = "v";
} else if (charBit eq "\u017E\u017E\u2020\u017E\u2020") {
charBit = "w";
} else if (charBit eq "\u017E\u017E\u2020\u2020\u017E") {
charBit = "x";
} else if (charBit eq "\u017E\u2020\u2020\u017E\u017E") {
charBit = "y";
} else if (charBit eq "\u017E\u2020\u017E\u2020\u017E") {
charBit = "z";
} else if (charBit eq "\u2020\u017E\u017E\u017E\u017E") {
charBit = "A";
} else if (charBit eq "\u017E\u017E\u017E\u2020\u017E") {
charBit = "B";
} else if (charBit eq "\u017E\u017E\u017E\u017E\u2020") {
charBit = "C";
} else if (charBit eq "\u017E\u2020\u017E\u017E\u017E") {
charBit = "D";
} else if (charBit eq "\u017E\u017E\u2020\u017E\u017E") {
charBit = "E";
} else if (charBit eq "\u017E\u017E\u017E\u017E\u017E") {
charBit = "F";
} else if (charBit eq "\u017E\u017E\u017E\u017E\u00A4") {
charBit = "G";
} else if (charBit eq "\u017E\u017E\u017E\u00A4\u017E") {
charBit = "H";
} else if (charBit eq "\u017E\u017E\u00A4\u017E\u017E") {
charBit = "I";
} else if (charBit eq "\u017E\u00A4\u017E\u017E\u017E") {
charBit = "J";
} else if (charBit eq "\u00A4\u017E\u017E\u017E\u017E") {
charBit = "K";
} else if (charBit eq "\u017E\u017E\u017E\u00A4\u00A4") {
charBit = "L";
} else if (charBit eq "\u017E\u017E\u00A4\u00A4\u017E") {
charBit = "M";
} else if (charBit eq "\u017E\u00A4\u00A4\u017E\u017E") {
charBit = "N";
} else if (charBit eq "\u00A4\u00A4\u017E\u017E\u017E") {
charBit = "O";
} else if (charBit eq "\u017E\u017E\u00A4\u017E\u00A4") {
charBit = "P";
} else if (charBit eq "\u017E\u00A4\u017E\u00A4\u017E") {
charBit = "Q";
} else if (charBit eq "\u00A4\u017E\u00A4\u017E\u017E") {
charBit = "R";
} else if (charBit eq "\u017E\u00A4\u017E\u017E\u00A4") {
charBit = "S";
} else if (charBit eq "\u00A4\u017E\u017E\u00A4\u017E") {
charBit = "T";
} else if (charBit eq "\u00A4\u017E\u017E\u017E\u00A4") {
charBit = "U";
} else if (charBit eq "\u017E\u017E\u00A4\u00A4\u00A4") {
charBit = "V";
} else if (charBit eq "\u017E\u00A4\u00A4\u00A4\u017E") {
charBit = "W";
} else if (charBit eq "\u00A4\u00A4\u00A4\u017E\u017E") {
charBit = "X";
} else if (charBit eq "\u017E\u00A4\u017E\u00A4\u00A4") {
charBit = "Y";
} else if (charBit eq "\u00A4\u017E\u00A4\u00A4\u017E") {
charBit = "Z";
} else if (charBit eq "\u00A4\u00A4\u00A4\u2020\u00A4") {
charBit = "!";
} else if (charBit eq "\u00A4\u00A4\u2020\u00A4\u00A4") {
charBit = "@";
} else if (charBit eq "\u00A4\u2020\u00A4\u00A4\u00A4") {
charBit = "#";
} else if (charBit eq "\u2020\u00A4\u00A4\u00A4\u00A4") {
charBit = "$";
} else if (charBit eq "\u00A4\u00A4\u00A4\u2020\u2020") {
charBit = "%";
} else if (charBit eq "\u00A4\u00A4\u2020\u2020\u00A4") {
charBit = "^";
} else if (charBit eq "\u00A4\u2020\u2020\u00A4\u00A4") {
charBit = "&";
} else if (charBit eq "\u2020\u2020\u00A4\u00A4\u00A4") {
charBit = "*";
} else if (charBit eq "\u00A4\u00A4\u2020\u00A4\u2020") {
charBit = "(";
} else if (charBit eq "\u00A4\u2020\u00A4\u2020\u00A4") {
charBit = ")";
} else if (charBit eq "\u2020\u00A4\u2020\u00A4\u00A4") {
charBit = "_";
} else if (charBit eq "\u00A4\u2020\u00A4\u00A4\u2020") {
charBit = "+";
} else if (charBit eq "\u2020\u00A4\u00A4\u2020\u00A4") {
charBit = "-";
} else if (charBit eq "\u2020\u00A4\u00A4\u00A4\u2020") {
charBit = "=";
} else if (charBit eq "\u00A4\u00A4\u2020\u2020\u2020") {
charBit = ",";
} else if (charBit eq "\u00A4\u2020\u2020\u2020\u00A4") {
charBit = ".";
} else if (charBit eq "\u2020\u2020\u2020\u00A4\u00A4") {
charBit = "<";
} else if (charBit eq "\u00A4\u2020\u00A4\u2020\u2020") {
charBit = ">";
} else if (charBit eq "\u2020\u00A4\u2020\u2020\u00A4") {
charBit = "/";
} else if (charBit eq "\u00A4\u2020\u2020\u00A4\u2020") {
charBit = "?";
} else if (charBit eq "\u2020\u2020\u00A4\u2020\u00A4") {
charBit = ";";
} else if (charBit eq "\u2020\u00A4\u2020\u00A4\u2020") {
charBit = "'";
} else if (charBit eq "\u00A4\u2020\u2020\u2020\u2020") {
charBit = ":";
} else if (charBit eq "\u2020\u2020\u2020\u2020\u00A4") {
charBit = "[";
} else if (charBit eq "\u2020\u00A4\u2020\u2020\u2020") {
charBit = "]";
} else if (charBit eq "\u2020\u2020\u2020\u00A4\u2020") {
charBit = "|";
} else if (charBit eq "\u017E\u00A4\u00A4\u017E\u00A4") {
charBit = "1";
} else if (charBit eq "\u00A4\u00A4\u017E\u00A4\u017E") {
charBit = "2";
} else if (charBit eq "\u00A4\u017E\u00A4\u017E\u00A4") {
charBit = "3";
} else if (charBit eq "\u017E\u00A4\u00A4\u00A4\u00A4") {
charBit = "4";
} else if (charBit eq "\u00A4\u00A4\u00A4\u00A4\u017E") {
charBit = "5";
} else if (charBit eq "\u00A4\u017E\u00A4\u00A4\u00A4") {
charBit = "6";
} else if (charBit eq "\u00A4\u00A4\u00A4\u017E\u00A4") {
charBit = "7";
} else if (charBit eq "\u00A4\u00A4\u017E\u00A4\u00A4") {
charBit = "8";
} else if (charBit eq "\u00A4\u00A4\u00A4\u00A4\u00A4") {
charBit = "9";
} else if (charBit eq "\u00A4\u00A4\u00A4\u00A4\u2020") {
charBit = "0";
} else if (charBit eq "\u2020\u2020\u00A4\u2020\u2020") {
charBit = " ";
} else {
charBit = "ERROR";
}
if (charBit eq "ERROR") {
txtLoad.text = "There is a problem with your Untold Secrets Code [USC]...";
} else {
txtLoad.text = txtLoad.text + charBit;
}
}
function fncGZOdecodeINT(charBit) {
if (charBit eq "\u017E\u00A4\u00A4\u017E\u00A4") {
charBit = 1;
} else if (charBit eq "\u00A4\u00A4\u017E\u00A4\u017E") {
charBit = 2;
} else if (charBit eq "\u00A4\u017E\u00A4\u017E\u00A4") {
charBit = 3;
} else if (charBit eq "\u017E\u00A4\u00A4\u00A4\u00A4") {
charBit = 4;
} else if (charBit eq "\u00A4\u00A4\u00A4\u00A4\u017E") {
charBit = 5;
} else if (charBit eq "\u00A4\u017E\u00A4\u00A4\u00A4") {
charBit = 6;
} else if (charBit eq "\u00A4\u00A4\u00A4\u017E\u00A4") {
charBit = 7;
} else if (charBit eq "\u00A4\u00A4\u017E\u00A4\u00A4") {
charBit = 8;
} else if (charBit eq "\u00A4\u00A4\u00A4\u00A4\u00A4") {
charBit = 9;
} else if (charBit eq "\u00A4\u00A4\u00A4\u00A4\u2020") {
charBit = 0;
} else {
charBit = "ERROR";
}
if (charBit eq "ERROR") {
txtLoad.text = "There is a problem with your Untold Secrets Code [USC]...";
} else {
txtLoad.text = txtLoad.text + charBit;
}
}
function fncGZOdeleteCHR(intDEL, intCOPY) {
txtLoad.text = "";
strTEMP = strTEMP.substr(intDEL * 5);
strGRUPZERO = strTEMP.substr(0, intCOPY * 5);
}
Frame 56
function fncGZOLoad() {
var intCTR = 0;
strTEMP = txtLoad.text;
fncGZOdeleteCHR(0, 15);
intCTR = 0;
while (intCTR < 15) {
fncGZOdecodeSTR(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
if (txtLoad.text eq "USE1T_1.0 ") {
fncGZOdeleteCHR(25, 20);
intCTR = 0;
while (intCTR < 20) {
fncGZOdecodeSTR(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
strPlayerNAME = txtLoad.text;
fncGZOdeleteCHR(21, 20);
intCTR = 0;
while (intCTR < 20) {
fncGZOdecodeSTR(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
strPlayerPASS = txtLoad.text;
fncGZOdeleteCHR(21, 20);
intCTR = 0;
while (intCTR < 20) {
fncGZOdecodeSTR(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
fncGZOdeleteCHR(21, 3);
intCTR = 0;
while (intCTR < 3) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerLV = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(4, 3);
intCTR = 0;
while (intCTR < 3) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerPLV = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(4, 9);
intCTR = 0;
while (intCTR < 9) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerG = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(10, 4);
intCTR = 0;
while (intCTR < 4) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerHP = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(5, 4);
intCTR = 0;
while (intCTR < 4) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerHPMax = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(5, 4);
intCTR = 0;
while (intCTR < 4) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerMP = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(5, 4);
intCTR = 0;
while (intCTR < 4) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerMPMax = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(5, 9);
intCTR = 0;
while (intCTR < 9) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerXP = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(10, 9);
intCTR = 0;
while (intCTR < 9) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerXPNext = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(10, 9);
intCTR = 0;
while (intCTR < 9) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerXPPrev = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(10, 3);
intCTR = 0;
while (intCTR < 3) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerSTR = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(4, 3);
intCTR = 0;
while (intCTR < 3) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerAGI = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(4, 3);
intCTR = 0;
while (intCTR < 3) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerVIT = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(4, 3);
intCTR = 0;
while (intCTR < 3) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerINT = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(4, 3);
intCTR = 0;
while (intCTR < 3) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerDEX = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(4, 3);
intCTR = 0;
while (intCTR < 3) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerLUK = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(4, 3);
intCTR = 0;
while (intCTR < 3) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerPTS = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(4, 3);
intCTR = 0;
while (intCTR < 3) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerJPTS = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(4, 3);
intCTR = 0;
while (intCTR < 3) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerITEM1 = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(4, 3);
intCTR = 0;
while (intCTR < 3) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerITEM2 = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(4, 3);
intCTR = 0;
while (intCTR < 3) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerITEM3 = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(4, 3);
intCTR = 0;
while (intCTR < 3) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerITEM4 = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(4, 3);
intCTR = 0;
while (intCTR < 3) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerITEM5 = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(4, 3);
intCTR = 0;
while (intCTR < 3) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerITEM6 = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(4, 2);
intCTR = 0;
while (intCTR < 2) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerJS1 = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(3, 2);
intCTR = 0;
while (intCTR < 2) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerJS2 = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(3, 2);
intCTR = 0;
while (intCTR < 2) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerJS3 = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(3, 2);
intCTR = 0;
while (intCTR < 2) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerJS4 = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(3, 2);
intCTR = 0;
while (intCTR < 2) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerJS5 = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(3, 2);
intCTR = 0;
while (intCTR < 2) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerQST = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(3, 3);
intCTR = 0;
while (intCTR < 3) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerX = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(4, 3);
intCTR = 0;
while (intCTR < 3) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerY = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(4, 3);
intCTR = 0;
while (intCTR < 3) {
fncGZOdecodeINT(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
intPlayerPos = parseInt(txtLoad.text, 10);
fncGZOdeleteCHR(4, 10);
intCTR = 0;
while (intCTR < 10) {
fncGZOdecodeSTR(strGRUPZERO.substr(intCTR * 5, 5));
intCTR++;
}
strLOC = new String(txtLoad.text);
intCtr1 = 0;
while (intCtr1 < strLOC.length) {
if (strLOC.charAt(intCtr1) eq "]") {
strLOC = strLOC.substr(0, intCtr1 + 1);
}
intCtr1++;
}
strPlayerLoc = strLOC;
fncGZOdeleteCHR(11, 1);
fncGZOdecodeSTR(strGRUPZERO.substr(0));
if (parseInt(txtLoad.text, 10) eq 1) {
boolPlayerCHEATED = true;
} else if (parseInt(txtLoad.text, 10) eq 0) {
boolPlayerCHEATED = false;
}
}
}
Frame 58
function fncGZOSave() {
var strBIT = "";
var strBYTE = "";
var intNUM = 0;
txtSave.text = "";
strBYTE = "USE1T_1.0";
intNUM = 0;
while (intNUM < 15) {
fncGZOencodeSTR(strBYTE.substr(intNUM, 1));
intNUM++;
}
intNUM = 0;
while (intNUM < 10) {
fncGZOencodeINT(random(10));
intNUM++;
}
strBYTE = strPlayerNAME;
intNUM = 0;
while (intNUM < 20) {
fncGZOencodeSTR(strBYTE.substr(intNUM, 1));
intNUM++;
}
fncGZOencodeINT(random(10));
strBYTE = strPlayerPASS;
intNUM = 0;
while (intNUM < 20) {
fncGZOencodeSTR(strBYTE.substr(intNUM, 1));
intNUM++;
}
fncGZOencodeINT(random(10));
strBYTE = "Paladin";
intNUM = 0;
while (intNUM < 20) {
fncGZOencodeSTR(strBYTE.substr(intNUM, 1));
intNUM++;
}
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerLV / 100));
fncGZOencodeINT(int(((intPlayerLV % 100) - (intPlayerLV % 10)) / 10));
fncGZOencodeINT(int(intPlayerLV % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerPLV / 100));
fncGZOencodeINT(int(((intPlayerPLV % 100) - (intPlayerPLV % 10)) / 10));
fncGZOencodeINT(int(intPlayerPLV % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerG / 10000000));
fncGZOencodeINT(int(((intPlayerG % 100000000) - (intPlayerG % 10000000)) / 10000000));
fncGZOencodeINT(int(((intPlayerG % 10000000) - (intPlayerG % 1000000)) / 1000000));
fncGZOencodeINT(int(((intPlayerG % 1000000) - (intPlayerG % 100000)) / 100000));
fncGZOencodeINT(int(((intPlayerG % 100000) - (intPlayerG % 10000)) / 10000));
fncGZOencodeINT(int(((intPlayerG % 10000) - (intPlayerG % 1000)) / 1000));
fncGZOencodeINT(int(((intPlayerG % 1000) - (intPlayerG % 100)) / 100));
fncGZOencodeINT(int(((intPlayerG % 100) - (intPlayerG % 10)) / 10));
fncGZOencodeINT(int(intPlayerG % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerHP / 1000));
fncGZOencodeINT(int(((intPlayerHP % 1000) - (intPlayerHP % 100)) / 100));
fncGZOencodeINT(int(((intPlayerHP % 100) - (intPlayerHP % 10)) / 10));
fncGZOencodeINT(int(intPlayerHP % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerHPMax / 1000));
fncGZOencodeINT(int(((intPlayerHPMax % 1000) - (intPlayerHPMax % 100)) / 100));
fncGZOencodeINT(int(((intPlayerHPMax % 100) - (intPlayerHPMax % 10)) / 10));
fncGZOencodeINT(int(intPlayerHPMax % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerMP / 1000));
fncGZOencodeINT(int(((intPlayerMP % 1000) - (intPlayerMP % 100)) / 100));
fncGZOencodeINT(int(((intPlayerMP % 100) - (intPlayerMP % 10)) / 10));
fncGZOencodeINT(int(intPlayerMP % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerMPMax / 1000));
fncGZOencodeINT(int(((intPlayerMPMax % 1000) - (intPlayerMPMax % 100)) / 100));
fncGZOencodeINT(int(((intPlayerMPMax % 100) - (intPlayerMPMax % 10)) / 10));
fncGZOencodeINT(int(intPlayerMPMax % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerXP / 10000000));
fncGZOencodeINT(int(((intPlayerXP % 100000000) - (intPlayerXP % 10000000)) / 10000000));
fncGZOencodeINT(int(((intPlayerXP % 10000000) - (intPlayerXP % 1000000)) / 1000000));
fncGZOencodeINT(int(((intPlayerXP % 1000000) - (intPlayerXP % 100000)) / 100000));
fncGZOencodeINT(int(((intPlayerXP % 100000) - (intPlayerXP % 10000)) / 10000));
fncGZOencodeINT(int(((intPlayerXP % 10000) - (intPlayerXP % 1000)) / 1000));
fncGZOencodeINT(int(((intPlayerXP % 1000) - (intPlayerXP % 100)) / 100));
fncGZOencodeINT(int(((intPlayerXP % 100) - (intPlayerXP % 10)) / 10));
fncGZOencodeINT(int(intPlayerXP % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerXPNext / 10000000));
fncGZOencodeINT(int(((intPlayerXPNext % 100000000) - (intPlayerXPNext % 10000000)) / 10000000));
fncGZOencodeINT(int(((intPlayerXPNext % 10000000) - (intPlayerXPNext % 1000000)) / 1000000));
fncGZOencodeINT(int(((intPlayerXPNext % 1000000) - (intPlayerXPNext % 100000)) / 100000));
fncGZOencodeINT(int(((intPlayerXPNext % 100000) - (intPlayerXPNext % 10000)) / 10000));
fncGZOencodeINT(int(((intPlayerXPNext % 10000) - (intPlayerXPNext % 1000)) / 1000));
fncGZOencodeINT(int(((intPlayerXPNext % 1000) - (intPlayerXPNext % 100)) / 100));
fncGZOencodeINT(int(((intPlayerXPNext % 100) - (intPlayerXPNext % 10)) / 10));
fncGZOencodeINT(int(intPlayerXPNext % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerXPPrev / 10000000));
fncGZOencodeINT(int(((intPlayerXPPrev % 100000000) - (intPlayerXPPrev % 10000000)) / 10000000));
fncGZOencodeINT(int(((intPlayerXPPrev % 10000000) - (intPlayerXPPrev % 1000000)) / 1000000));
fncGZOencodeINT(int(((intPlayerXPPrev % 1000000) - (intPlayerXPPrev % 100000)) / 100000));
fncGZOencodeINT(int(((intPlayerXPPrev % 100000) - (intPlayerXPPrev % 10000)) / 10000));
fncGZOencodeINT(int(((intPlayerXPPrev % 10000) - (intPlayerXPPrev % 1000)) / 1000));
fncGZOencodeINT(int(((intPlayerXPPrev % 1000) - (intPlayerXPPrev % 100)) / 100));
fncGZOencodeINT(int(((intPlayerXPPrev % 100) - (intPlayerXPPrev % 10)) / 10));
fncGZOencodeINT(int(intPlayerXPPrev % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerSTR / 100));
fncGZOencodeINT(int(((intPlayerSTR % 100) - (intPlayerSTR % 10)) / 10));
fncGZOencodeINT(int(intPlayerSTR % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerAGI / 100));
fncGZOencodeINT(int(((intPlayerAGI % 100) - (intPlayerAGI % 10)) / 10));
fncGZOencodeINT(int(intPlayerAGI % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerVIT / 100));
fncGZOencodeINT(int(((intPlayerVIT % 100) - (intPlayerVIT % 10)) / 10));
fncGZOencodeINT(int(intPlayerVIT % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerINT / 100));
fncGZOencodeINT(int(((intPlayerINT % 100) - (intPlayerINT % 10)) / 10));
fncGZOencodeINT(int(intPlayerINT % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerDEX / 100));
fncGZOencodeINT(int(((intPlayerDEX % 100) - (intPlayerDEX % 10)) / 10));
fncGZOencodeINT(int(intPlayerDEX % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerLUK / 100));
fncGZOencodeINT(int(((intPlayerLUK % 100) - (intPlayerLUK % 10)) / 10));
fncGZOencodeINT(int(intPlayerLUK % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerPTS / 100));
fncGZOencodeINT(int(((intPlayerPTS % 100) - (intPlayerPTS % 10)) / 10));
fncGZOencodeINT(int(intPlayerPTS % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerJPTS / 100));
fncGZOencodeINT(int(((intPlayerJPTS % 100) - (intPlayerJPTS % 10)) / 10));
fncGZOencodeINT(int(intPlayerJPTS % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerITEM1 / 100));
fncGZOencodeINT(int(((intPlayerITEM1 % 100) - (intPlayerITEM1 % 10)) / 10));
fncGZOencodeINT(int(intPlayerITEM1 % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerITEM2 / 100));
fncGZOencodeINT(int(((intPlayerITEM2 % 100) - (intPlayerITEM2 % 10)) / 10));
fncGZOencodeINT(int(intPlayerITEM2 % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerITEM3 / 100));
fncGZOencodeINT(int(((intPlayerITEM3 % 100) - (intPlayerITEM3 % 10)) / 10));
fncGZOencodeINT(int(intPlayerITEM3 % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerITEM4 / 100));
fncGZOencodeINT(int(((intPlayerITEM4 % 100) - (intPlayerITEM4 % 10)) / 10));
fncGZOencodeINT(int(intPlayerITEM4 % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerITEM5 / 100));
fncGZOencodeINT(int(((intPlayerITEM5 % 100) - (intPlayerITEM5 % 10)) / 10));
fncGZOencodeINT(int(intPlayerITEM5 % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerITEM6 / 100));
fncGZOencodeINT(int(((intPlayerITEM6 % 100) - (intPlayerITEM6 % 10)) / 10));
fncGZOencodeINT(int(intPlayerITEM6 % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerJS1 / 10));
fncGZOencodeINT(int(intPlayerJS1 % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerJS2 / 10));
fncGZOencodeINT(int(intPlayerJS2 % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerJS3 / 10));
fncGZOencodeINT(int(intPlayerJS3 % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerJS4 / 10));
fncGZOencodeINT(int(intPlayerJS4 % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerJS5 / 10));
fncGZOencodeINT(int(intPlayerJS5 % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerQST / 10));
fncGZOencodeINT(int(intPlayerQST % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerX / 100));
fncGZOencodeINT(int(((intPlayerX % 100) - (intPlayerX % 10)) / 10));
fncGZOencodeINT(int(intPlayerX % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerY / 100));
fncGZOencodeINT(int(((intPlayerY % 100) - (intPlayerY % 10)) / 10));
fncGZOencodeINT(int(intPlayerY % 10));
fncGZOencodeINT(random(10));
fncGZOencodeINT(int(intPlayerPos / 100));
fncGZOencodeINT(int(((intPlayerPos % 100) - (intPlayerPos % 10)) / 10));
fncGZOencodeINT(int(intPlayerPos % 10));
fncGZOencodeINT(random(10));
strBYTE = strPlayerLoc;
intNUM = 0;
while (intNUM < 10) {
fncGZOencodeSTR(strBYTE.substr(intNUM, 1));
intNUM++;
}
fncGZOencodeINT(random(10));
if (boolPlayerCHEATED) {
fncGZOencodeINT(1);
} else {
fncGZOencodeINT(2);
}
intNUM = 0;
while (intNUM < 10) {
fncGZOencodeINT(random(10));
intNUM++;
}
}
Instance of Symbol 280 MovieClip "ICON" in Frame 58
onClipEvent (load) {
swapDepths(1001);
_x = 400;
_y = 300;
}
onClipEvent (mouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 60
stopAllSounds();
bPLY.tabEnabled = false;
bCON.tabEnabled = false;
bCDT.tabEnabled = false;
bEXT.tabEnabled = false;
stop();
Frame 61
bCNL.tabEnabled = false;
bOK.tabEnabled = false;
Instance of Symbol 331 MovieClip "creditation" in Frame 62
onClipEvent (load) {
var creek;
var mizmout;
creek = setInterval(function () {
nextFrame();
}, 824);
stop();
}
Frame 63
bCNL.tabEnabled = false;
bOK.tabEnabled = false;
Frame 64
txtName.text = "Jan Modish";
txtPass.text = "";
intPlayerPLV = 1;
intPlayerLV = 1;
intPlayerG = 0;
intPlayerHP = 20;
intPlayerHPMax = 20;
intPlayerMP = 10;
intPlayerMPMax = 10;
intPlayerXP = 0;
intPlayerXPNext = 3;
intPlayerXPPrev = 0;
intPlayerXPAim = 0;
intPlayerSTR = 1;
intPlayerVIT = 1;
intPlayerAGI = 1;
intPlayerINT = 1;
intPlayerDEX = 1;
intPlayerLUK = 1;
intPlayerPTS = 50;
intPlayerJPTS = 1;
intPlayerITEM1 = 10;
intPlayerITEM2 = 10;
intPlayerITEM3 = 5;
intPlayerITEM4 = 2;
intPlayerITEM5 = 5;
intPlayerITEM6 = 2;
intPlayerJS1 = 0;
intPlayerJS2 = 0;
intPlayerJS3 = 0;
intPlayerJS4 = 0;
intPlayerJS5 = 0;
intPlayerQST = 0;
bSTR.tabEnabled = false;
bAGI.tabEnabled = false;
bVIT.tabEnabled = false;
bINT.tabEnabled = false;
bDEX.tabEnabled = false;
bLUK.tabEnabled = false;
bOK.tabEnabled = false;
bCNL.tabEnabled = false;
Frame 65
bCNL.tabEnabled = false;
bOK.tabEnabled = false;
txtLoad.text = "";
txtPass.text = "";
Frame 66
bOK.tabEnabled = false;
Frame 67
var grupzeroID;
var grupzeroMus;
Mouse.hide();
grupzeroMus = setInterval(function () {
sndAmbience.start(0, 82499);
clearInterval(grupzeroMus);
}, 5000);
boolGenerating = true;
intCtr = 1;
while (intCtr < 20) {
arrIntXPos[intCtr] = intCtr * 40;
if (intCtr < 15) {
arrIntYPos[intCtr] = intCtr * 40;
}
intCtr++;
}
intCtr1 = 0;
intCtr2 = 1;
while (intCtr2 < 15) {
intCtr = 1;
while (intCtr < 20) {
strXYPos = (arrIntXPos[intCtr] + "|") + arrIntYPos[intCtr2];
arrIntTracePos[intCtr1] = strXYPos;
arrIntGridPos[intCtr1] = 0;
intCtr1++;
intCtr++;
}
intCtr2++;
}
intPlayerATK = 1;
intPlayerDMG = intPlayerSTR * 2;
intPlayerMIN_DMG = int(intPlayerSTR / 2) + (intPlayerJS1 * 2);
intPlayerPLUS_DMG = 3;
PLAYER.intFace = 1;
PLAYER.useHandCursor = false;
PLAYER._x = intPlayerX;
PLAYER._y = intPlayerY;
PLAYER.intPos = intPlayerPos;
arrIntGridPos[PLAYER.intPos] = 2;
PLAYER.strMapLoc = strPlayerLoc;
Instance of Symbol 685 MovieClip "CS" in Frame 67
onClipEvent (load) {
this.swapDepths(1000);
}
Instance of Symbol 847 MovieClip "PLAYER" in Frame 67
onClipEvent (keyDown) {
intKeyCode = Key.getCode();
if (_parent.boolGamePaused ne true) {
if (intKeyCode eq 16) {
if (boolAuto) {
boolAuto = false;
_parent.CS.txtInfo.text = "Auto Attack OFF";
} else {
boolAuto = true;
_parent.CS.txtInfo.text = "Auto Attack ON";
}
} else if (intKeyCode eq 32) {
if (_parent.CS._currentframe eq 1) {
_parent.CS.gotoAndStop("BELT");
} else {
_parent.CS.gotoAndStop(1);
}
} else if (intKeyCode eq 37) {
_parent.fncPML(false);
} else if (intKeyCode eq 38) {
_parent.fncPMU(false);
} else if (intKeyCode eq 39) {
_parent.fncPMR(false);
} else if (intKeyCode eq 40) {
_parent.fncPMD(false);
} else if (intKeyCode eq 49) {
if ((_parent.intPlayerITEM1 > 0) and (_parent.intPlayerQST ne 1)) {
_parent.intPlayerITEM1--;
_parent.intPlayerHP = _parent.intPlayerHP + 10;
if (_parent.intPlayerHP > _parent.intPlayerHPMax) {
_parent.intPlayerHP = _parent.intPlayerHPMax;
}
_parent.fncUpdateHP(0);
}
if ((_parent.intPlayerITEM1 > 5) and (_parent.intPlayerQST eq 1)) {
_parent.intPlayerITEM1--;
_parent.intPlayerHP = _parent.intPlayerHP + 10;
if (_parent.intPlayerHP > _parent.intPlayerHPMax) {
_parent.intPlayerHP = _parent.intPlayerHPMax;
}
_parent.fncUpdateHP(0);
}
} else if (intKeyCode eq 50) {
if (_parent.intPlayerITEM2 > 0) {
_parent.intPlayerITEM2--;
_parent.intPlayerHP = _parent.intPlayerHP + 15;
if (_parent.intPlayerHP > _parent.intPlayerHPMax) {
_parent.intPlayerHP = _parent.intPlayerHPMax;
}
_parent.fncUpdateHP(0);
}
} else if (intKeyCode eq 51) {
if (_parent.intPlayerITEM3 > 0) {
_parent.intPlayerITEM3--;
_parent.intPlayerHP = _parent.intPlayerHP + 75;
if (_parent.intPlayerHP > _parent.intPlayerHPMax) {
_parent.intPlayerHP = _parent.intPlayerHPMax;
}
_parent.fncUpdateHP(0);
}
} else if (intKeyCode eq 52) {
if (_parent.intPlayerITEM4 > 0) {
_parent.intPlayerITEM4--;
_parent.intPlayerHP = _parent.intPlayerHP + 240;
if (_parent.intPlayerHP > _parent.intPlayerHPMax) {
_parent.intPlayerHP = _parent.intPlayerHPMax;
}
_parent.fncUpdateHP(0);
}
} else if (intKeyCode eq 53) {
if (_parent.intPlayerITEM5 > 0) {
_parent.intPlayerITEM5--;
_parent.intPlayerMP = _parent.intPlayerMP + 75;
if (_parent.intPlayerMP > _parent.intPlayerMPMax) {
_parent.intPlayerMP = _parent.intPlayerMPMax;
}
_parent.fncUpdateMP();
}
} else if (intKeyCode eq 54) {
if (_parent.intPlayerITEM6 > 0) {
_parent.intPlayerITEM6--;
_parent.intPlayerMP = _parent.intPlayerMP + 240;
if (_parent.intPlayerMP > _parent.intPlayerMPMax) {
_parent.intPlayerMP = _parent.intPlayerMPMax;
}
_parent.fncUpdateMP();
}
} else if (intKeyCode eq 55) {
if ((_parent.intPlayerMP >= (_parent.intPlayerJS2 * 5)) and (_parent.intPlayerJS2 ne 0)) {
_parent.intPlayerATK = 3;
}
} else if (intKeyCode eq 56) {
if ((_parent.intPlayerMP >= (_parent.intPlayerJS3 * 3)) and (_parent.intPlayerJS3 ne 0)) {
_parent.intPlayerATK = 2;
}
} else if (intKeyCode eq 57) {
if ((_parent.intPlayerMP >= (_parent.intPlayerJS4 * 5)) and (_parent.intPlayerJS4 ne 0)) {
_parent.intPlayerATK = 1;
_parent.PLAYER.boolLeech = true;
}
} else if (intKeyCode eq 48) {
if ((_parent.intPlayerMP >= (_parent.intPlayerJS5 * 5)) and (_parent.intPlayerJS5 ne 0)) {
_parent.intPlayerATK = 4;
_parent.PLAYER.boolLeech = true;
}
} else if (intKeyCode eq 65) {
if (_parent.CS._currentframe ne 8) {
_parent.CS.gotoAndStop("stat");
} else {
_parent.CS.gotoAndStop(2);
}
} else if (intKeyCode eq 67) {
if (_parent.CS._currentframe ne 4) {
_parent.boolGamePaused = true;
_parent.CS.gotoAndStop("CHEATS");
} else {
_parent.CS.gotoAndStop(2);
}
} else if (intKeyCode eq 69) {
if (_parent.CS._currentframe ne 5) {
_parent.CS.gotoAndStop("ITEM");
} else {
_parent.CS.gotoAndStop(2);
}
} else if (intKeyCode eq 71) {
_parent.CS.txtInfo.text = ("You need to kill around " + (800 - _parent.intEnemCtr)) + " more monsters. Good luck !!";
} else if (intKeyCode eq 77) {
if (_parent.CS._currentframe ne 3) {
_parent.CS.gotoAndStop("map");
} else {
_parent.CS.gotoAndStop(2);
}
} else if (intKeyCode eq 83) {
if (_parent.CS._currentframe ne 10) {
_parent.CS.gotoAndStop("SKILL");
} else {
_parent.CS.gotoAndStop(2);
}
}
}
if ((intKeyCode eq 80) and (_parent.CS._currentframe ne 4)) {
if (_parent.CS._currentframe eq 11) {
_parent.boolGamePaused = false;
_parent.CS.gotoAndStop(1);
} else if (_parent.boolGamePaused ne true) {
_parent.boolGamePaused = true;
_parent.CS.gotoAndStop("gamepause");
}
} else if (((intKeyCode eq 84) and (_parent.intPlayerQST > 0)) and (_parent.CS._currentframe ne 4)) {
if (_parent.CS._currentframe ne 16) {
_parent.boolGamePaused = true;
_parent.CS.gotoAndStop("TRADE");
} else {
_parent.boolGamePaused = false;
_parent.CS.gotoAndStop(2);
}
}
}
onClipEvent (load) {
var boolWalking = false;
var boolHitting_P = false;
var boolLeech = false;
var intKeyCode = 0;
var boolAuto = false;
swapDepths(intPos);
bUP.tabEnabled = false;
bLEFT.tabEnabled = false;
bDOWN.tabEnabled = false;
bRIGHT.tabEnabled = false;
stop();
}
Frame 69
fncUpdateXP();
boolGeneratedBoss = false;
_root._quality = "MEDIUM";
CS.gotoAndStop("SKILL");
intEnemCtr = 266;
intEnemMAX = 273;
intCtr = 0;
while (intCtr < 5) {
fncGenerateENEMY();
intCtr++;
}
boolGenerating = false;
boolGamePaused = false;
if (((((((strPlayerLoc eq "E1 [1]") or (strPlayerLoc eq "E1 [3]")) or (strPlayerLoc eq "E1 [5]")) or (strPlayerLoc eq "E1 [7]")) or (strPlayerLoc eq "E1 [9]")) or (strPlayerLoc eq "E1 [11]")) or (strPlayerLoc eq "E1 [13]")) {
gotoAndStop (72);
} else if ((strPlayerLoc eq "E1 [2]") or (strPlayerLoc eq "E1 [4]")) {
gotoAndStop (74);
} else if (((((strPlayerLoc eq "E1 [6]") or (strPlayerLoc eq "E1 [8]")) or (strPlayerLoc eq "E1 [10]")) or (strPlayerLoc eq "E1 [12]")) or (strPlayerLoc eq "E1 [14]")) {
gotoAndStop (73);
} else if (strPlayerLoc eq "E1 [15]") {
gotoAndStop (75);
} else if (strPlayerLoc eq "E1 [16]") {
gotoAndStop (76);
} else if (strPlayerLoc eq "E1 [17]") {
gotoAndStop (78);
} else if (strPlayerLoc eq "E1 [18]") {
gotoAndStop (77);
} else if (strPlayerLoc eq "E1 [19]") {
gotoAndStop (79);
}
Instance of Symbol 849 MovieClip "ITEM" in Frame 69
onClipEvent (load) {
if (_name eq "ITEM") {
stop();
} else {
this.swapDepths(intCrntPos);
_parent.intCtr2 = random(_parent.intPlayerLUK / 3) + 1;
while (_parent.intCtr2 > 6) {
_parent.intCtr2 = _parent.intCtr2 - (random(5) + 1);
}
this.gotoAndStop(_parent.intCtr2);
_root.sndItem.start(0);
}
}
Instance of Symbol 1241 MovieClip "mainEnem" in Frame 69
onClipEvent (load) {
if (_name eq "mainEnem") {
var intGenEnem = 0;
var intGenCtr = 0;
stop();
} else {
var intAImove = 0;
var intEnemLife = 0;
var intHit = 0;
var intAI = 0;
var intEnemLifeMax;
var boolHit = false;
var boolWalking = false;
var boolHitting = false;
creekTime = new Object();
creekTime.TIME = new Date();
creekTime.intEnemFrame = 1;
this.swapDepths(intCrntPos);
if ((_parent.PLAYER.strMapLoc eq "E1 [20]") and (_parent.boolGeneratedBoss ne true)) {
_parent.boolGeneratedBoss = true;
this.gotoAndStop(32);
} else if (random(824) eq 24) {
creekTime.intEnemFrame = random(6) + 33;
this.gotoAndStop(creekTime.intEnemFrame);
} else if (_parent.PLAYER.strMapLoc eq "E1 [1]") {
this.gotoAndStop(1);
} else if ((_parent.PLAYER.strMapLoc eq "E1 [20]") and (random(10) < 7)) {
creekTime.intEnemFrame = random(3) + 29;
this.gotoAndStop(creekTime.intEnemFrame);
} else if (_parent.PLAYER.strMapLoc eq "E1 [19]") {
creekTime.intEnemFrame = random(3) + 27;
this.gotoAndStop(creekTime.intEnemFrame);
} else if ((_parent.PLAYER.strMapLoc eq "E1 [8]") and (random(10) < 7)) {
creekTime.intEnemFrame = random(3) + 8;
this.gotoAndStop(creekTime.intEnemFrame);
} else if ((_parent.PLAYER.strMapLoc eq "E1 [6]") and (random(10) < 7)) {
creekTime.intEnemFrame = random(3) + 8;
this.gotoAndStop(creekTime.intEnemFrame);
} else if ((_parent.PLAYER.strMapLoc eq "E1 [17]") and (random(10) < 7)) {
creekTime.intEnemFrame = random(3) + 15;
this.gotoAndStop(creekTime.intEnemFrame);
} else if ((_parent.PLAYER.strMapLoc eq "E1 [9]") and (random(10) < 7)) {
creekTime.intEnemFrame = random(3) + 3;
this.gotoAndStop(creekTime.intEnemFrame);
} else if ((_parent.PLAYER.strMapLoc eq "E1 [14]") and (random(10) < 7)) {
creekTime.intEnemFrame = random(3) + 20;
this.gotoAndStop(creekTime.intEnemFrame);
} else if (creekTime.TIME.getHours() > 0) {
creekTime.intEnemFrame = random(_parent.intPlayerLV / 2) + 1;
while (creekTime.intEnemFrame > 31) {
creekTime.intEnemFrame = creekTime.intEnemFrame - (random(30) + 1);
}
this.gotoAndStop(creekTime.intEnemFrame);
} else {
creekTime.intEnemFrame = random(6) + 33;
this.gotoAndStop(creekTime.intEnemFrame);
}
delete creekTime;
intEnemLifeMax = intEnemLife;
}
}
onClipEvent (enterFrame) {
if (_parent.boolGamePaused ne true) {
if ((_name eq "mainEnem") and (_parent.PLAYER.strMapLoc ne "E1 [20]")) {
if (_parent.boolGenerating ne true) {
intGenEnem = random(25);
if ((intGenEnem eq 24) and (_parent.intEnemCtr < _parent.intEnemMAX)) {
_parent.boolGenerating = true;
intGenEnem = random(5) + 1;
intGenCtr = 0;
while (intGenCtr < intGenEnem) {
_parent.fncGenerateENEMY();
intGenCtr++;
}
}
_parent.boolGenerating = false;
}
} else if (_name ne "mainEnem") {
if (enem._currentframe > 1) {
if ((intAI > 5) and (boolWalking ne true)) {
if ((((((_parent.PLAYER.intPos - intCrntPos) >= -3) and (_parent.arrIntGridPos[intCrntPos - 1] eq 0)) and (_y eq _parent.PLAYER._y)) and ((intCrntPos % 19) > 2)) and ((_parent.PLAYER.intPos - intCrntPos) < -1)) {
_parent.fncEnemMoveLEFT(_name);
} else if ((((((_parent.PLAYER.intPos - intCrntPos) <= 3) and (_parent.arrIntGridPos[intCrntPos + 1] eq 0)) and (_y eq _parent.PLAYER._y)) and ((intCrntPos % 19) < 16)) and ((_parent.PLAYER.intPos - intCrntPos) > 1)) {
_parent.fncEnemMoveRIGHT(_name);
} else if ((((((_parent.PLAYER.intPos - intCrntPos) <= 57) and (_parent.arrIntGridPos[intCrntPos + 19] eq 0)) and (_x eq _parent.PLAYER._x)) and (intCrntPos < 209)) and ((_parent.PLAYER.intPos - intCrntPos) > 1)) {
_parent.fncEnemMoveDOWN(_name);
} else if ((((((_parent.PLAYER.intPos - intCrntPos) >= -57) and (_parent.arrIntGridPos[intCrntPos - 19] eq 0)) and (_x eq _parent.PLAYER._x)) and (intCrntPos > 56)) and ((_parent.PLAYER.intPos - intCrntPos) < -1)) {
_parent.fncEnemMoveUP(_name);
} else if ((intAI < 8000) and ((intAI % 5) eq 1)) {
intAImove = random(4);
if ((((((_parent.PLAYER.intPos % 19) < (intCrntPos % 19)) and (_parent.arrIntGridPos[intCrntPos - 1] eq 0)) and ((intCrntPos % 19) > 1)) and ((_parent.PLAYER.intPos - intCrntPos) < -1)) and (intAImove eq 0)) {
_parent.fncEnemMoveLEFT(_name);
} else if ((((((_parent.PLAYER.intPos % 19) > (intCrntPos % 19)) and (_parent.arrIntGridPos[intCrntPos + 1] eq 0)) and ((intCrntPos % 19) < 17)) and ((_parent.PLAYER.intPos - intCrntPos) > 1)) and (intAImove eq 1)) {
_parent.fncEnemMoveRIGHT(_name);
} else if ((((((_parent.PLAYER.intPos > intCrntPos) and (_parent.arrIntGridPos[intCrntPos + 19] eq 0)) and (_parent.PLAYER._y != _y)) and (intCrntPos < 226)) and ((_parent.PLAYER.intPos - intCrntPos) > 1)) and (intAImove eq 2)) {
_parent.fncEnemMoveDOWN(_name);
} else if ((((((_parent.PLAYER.intPos < (intCrntPos + (intCrntPos % 19))) and (_parent.arrIntGridPos[intCrntPos - 19] eq 0)) and (_parent.PLAYER._y != _y)) and (intCrntPos > 37)) and ((_parent.PLAYER.intPos - intCrntPos) < -1)) and (intAImove eq 3)) {
_parent.fncEnemMoveUP(_name);
}
} else if ((intAI < 8000) and ((intAI % 5) eq 0)) {
intAImove = random(20 - enem._currentframe);
if (intAImove eq 0) {
if (((((_parent.PLAYER.intPos > intCrntPos) and (_parent.arrIntGridPos[intCrntPos + 19] eq 0)) and (_parent.PLAYER._y != _y)) and (intCrntPos < 226)) and ((_parent.PLAYER.intPos - intCrntPos) > 1)) {
_parent.fncEnemMoveDOWN(_name);
} else if (((((_parent.PLAYER.intPos < intCrntPos) and (_parent.arrIntGridPos[intCrntPos - 19] eq 0)) and (_parent.PLAYER._y != _y)) and (intCrntPos > 37)) and ((_parent.PLAYER.intPos - intCrntPos) < -1)) {
_parent.fncEnemMoveUP(_name);
} else if (((((_parent.PLAYER.intPos % 19) > (intCrntPos % 19)) and (_parent.arrIntGridPos[intCrntPos + 1] eq 0)) and ((intCrntPos % 19) < 17)) and ((_parent.PLAYER.intPos - intCrntPos) > 1)) {
_parent.fncEnemMoveRIGHT(_name);
} else if (((((_parent.PLAYER.intPos % 19) < (intCrntPos % 19)) and (_parent.arrIntGridPos[intCrntPos - 1] eq 0)) and ((intCrntPos % 19) > 1)) and ((_parent.PLAYER.intPos - intCrntPos) < -1)) {
_parent.fncEnemMoveLEFT(_name);
}
} else if (intAImove eq 1) {
if (((((_parent.PLAYER.intPos % 19) > (intCrntPos % 19)) and (_parent.arrIntGridPos[intCrntPos + 1] eq 0)) and ((intCrntPos % 19) < 17)) and ((_parent.PLAYER.intPos - intCrntPos) > 1)) {
_parent.fncEnemMoveRIGHT(_name);
} else if (((((_parent.PLAYER.intPos < intCrntPos) and (_parent.arrIntGridPos[intCrntPos - 19] eq 0)) and (_parent.PLAYER._y != _y)) and (intCrntPos > 37)) and ((_parent.PLAYER.intPos - intCrntPos) < -1)) {
_parent.fncEnemMoveUP(_name);
} else if (((((_parent.PLAYER.intPos % 19) < (intCrntPos % 19)) and (_parent.arrIntGridPos[intCrntPos - 1] eq 0)) and ((intCrntPos % 19) > 1)) and ((_parent.PLAYER.intPos - intCrntPos) < -1)) {
_parent.fncEnemMoveLEFT(_name);
} else if (((((_parent.PLAYER.intPos > intCrntPos) and (_parent.arrIntGridPos[intCrntPos + 19] eq 0)) and (_parent.PLAYER._y != _y)) and (intCrntPos < 226)) and ((_parent.PLAYER.intPos - intCrntPos) > 1)) {
_parent.fncEnemMoveDOWN(_name);
}
} else if (intAImove eq 2) {
if (((((_parent.PLAYER.intPos < intCrntPos) and (_parent.arrIntGridPos[intCrntPos - 19] eq 0)) and (_parent.PLAYER._y != _y)) and (intCrntPos > 37)) and ((_parent.PLAYER.intPos - intCrntPos) < -1)) {
_parent.fncEnemMoveUP(_name);
} else if (((((_parent.PLAYER.intPos > intCrntPos) and (_parent.arrIntGridPos[intCrntPos + 19] eq 0)) and (_parent.PLAYER._y != _y)) and (intCrntPos < 226)) and ((_parent.PLAYER.intPos - intCrntPos) > 1)) {
_parent.fncEnemMoveDOWN(_name);
} else if (((((_parent.PLAYER.intPos % 19) > (intCrntPos % 19)) and (_parent.arrIntGridPos[intCrntPos + 1] eq 0)) and ((intCrntPos % 19) < 17)) and ((_parent.PLAYER.intPos - intCrntPos) > 1)) {
_parent.fncEnemMoveRIGHT(_name);
} else if (((((_parent.PLAYER.intPos % 19) < (intCrntPos % 19)) and (_parent.arrIntGridPos[intCrntPos - 1] eq 0)) and ((intCrntPos % 19) > 1)) and ((_parent.PLAYER.intPos - intCrntPos) < -1)) {
_parent.fncEnemMoveLEFT(_name);
}
}
}
}
if ((boolHitting ne true) and (boolWalking ne true)) {
intAImove = random(25000 - intAI);
if (intAImove < 5000) {
if (_parent.arrIntGridPos[intCrntPos + 1] eq 2) {
boolHitting = true;
enem.gotoAndPlay("Attk_R");
} else if (_parent.arrIntGridPos[intCrntPos - 1] eq 2) {
boolHitting = true;
enem.gotoAndPlay("Attk_L");
}
if (_parent.arrIntGridPos[intCrntPos + 19] eq 2) {
boolHitting = true;
enem.gotoAndPlay("Attk_D");
} else if (_parent.arrIntGridPos[intCrntPos - 19] eq 2) {
boolHitting = true;
enem.gotoAndPlay("Attk_U");
}
} else if (intAImove > 5000) {
intAImove = random(100);
if (((intAImove eq 20) and (_x lt 720)) and (_parent.arrIntGridPos[intCrntPos + 1] eq 0)) {
_parent.fncEnemMoveRIGHT(_name);
} else if (((intAImove eq 40) and (_x > 80)) and (_parent.arrIntGridPos[intCrntPos - 1] eq 0)) {
_parent.fncEnemMoveLEFT(_name);
} else if (((intAImove eq 60) and (_y lt 520)) and (_parent.arrIntGridPos[intCrntPos + 19] eq 0)) {
_parent.fncEnemMoveDOWN(_name);
} else if (((intAImove eq 80) and (_y > 80)) and (_parent.arrIntGridPos[intCrntPos - 19] eq 0)) {
_parent.fncEnemMoveUP(_name);
}
}
}
}
}
}
}
Instance of Symbol 463 MovieClip "playerHPchecker" in Frame 69
onClipEvent (enterFrame) {
if ((_parent.intPlayerHP < 1) and (_parent.PLAYER._currentframe < 153)) {
_parent.intPlayerHP = 0;
_parent.PLAYER.gotoAndPlay("DIE");
_parent.boolGamePaused = true;
_parent.arrIntGridPos[PLAYER.intPos] = 1;
}
}
Frame 71
nextFrame();
Instance of Symbol 1252 MovieClip "Ellen" in Frame 73
onClipEvent (load) {
_y = 200;
_name = "NPC4";
stop();
}
onClipEvent (enterFrame) {
if (((_parent.intPlayerQST < 2) and (_root.PLAYER.strMapLoc eq "E1 [10]")) and (_x ne 760)) {
_x = 760;
_parent.arrIntGridPos[94] = 4;
swapDepths(94);
if (_parent.intPlayerQST eq 1) {
nextFrame();
}
} else if ((((_root.PLAYER.strMapLoc eq "E1 [6]") or (_root.PLAYER.strMapLoc eq "E1 [8]")) or (_root.PLAYER.strMapLoc eq "E1 [12]")) or (_root.PLAYER.strMapLoc eq "E1 [14]")) {
_x = 860;
_parent.arrIntGridPos[94] = 0;
swapDepths(999);
} else if (((((_root.PLAYER.strMapLoc ne "E1 [6]") and (_root.PLAYER.strMapLoc ne "E1 [8]")) and (_root.PLAYER.strMapLoc ne "E1 [10]")) and (_root.PLAYER.strMapLoc ne "E1 [12]")) and (_root.PLAYER.strMapLoc ne "E1 [14]")) {
trace(_root.PLAYER.strMapLoc);
removeMovieClip(this);
}
}
Instance of Symbol 1258 MovieClip "Czana" in Frame 75
onClipEvent (load) {
stop();
if (_parent.intPlayerQST eq 0) {
_x = 760;
_y = 560;
_parent.arrIntGridPos[265] = 3;
swapDepths(265);
_name = "NPC3";
trace(_root.PLAYER.strMapLoc);
} else {
removeMovieClip(this);
}
}
onClipEvent (enterFrame) {
if (_root.PLAYER.strMapLoc ne "E1 [15]") {
_parent.arrIntGridPos[265] = 0;
trace(_root.PLAYER.strMapLoc);
removeMovieClip(this);
}
}
Instance of Symbol 1269 MovieClip "Karo" in Frame 79
onClipEvent (load) {
if ((_parent.intPlayerQST eq 2) and (random(10) < 9)) {
_x = 40;
_y = 360;
_parent.arrIntGridPos[152] = 5;
swapDepths(152);
_name = "NPC5";
_parent.CS.txtInfo.text = "MAN: i see your pursuing your dreams, you're here for Gaed. but with your skills, it appears that you can't beat him. i suggest that you train more. come back to let me see how well you've improved.";
_parent.grupzeroID = setInterval(function () {
_parent.CS.txtInfo.text = "";
clearInterval(_parent.grupzeroID);
}, 15000);
} else if (_parent.intPlayerQST ne 2) {
removeMovieClip(this);
}
stop();
}
onClipEvent (enterFrame) {
if (_root.PLAYER.strMapLoc ne "E1 [19]") {
_parent.arrIntGridPos[152] = 0;
removeMovieClip(this);
}
}
Frame 80
sndAmbience.stop();
fightboss.start(0, 82499);
Frame 81
stopAllSounds();
intCtr1 = 0;
while (intCtr1 < 256) {
arrIntGridPos[intCtr1] = 0;
intCtr1++;
}
gotoAndStop (60);
Frame 82
stopAllSounds();
intCtr1 = 0;
while (intCtr1 < 256) {
arrIntGridPos[intCtr1] = 0;
intCtr1++;
}
gotoAndStop (65);
Frame 83
gotoAndPlay (85);
Instance of Symbol 1423 MovieClip "PLAYER" in Frame 84
onClipEvent (keyDown) {
intKeyCode = Key.getCode();
if (_parent.boolGamePaused ne true) {
if (intKeyCode eq 32) {
if (_parent.CS._currentframe eq 1) {
_parent.CS.gotoAndStop("BELT");
} else {
_parent.CS.gotoAndStop(1);
}
} else if (intKeyCode eq 49) {
if (_parent.intPlayerITEM1 > 0) {
_parent.intPlayerITEM1--;
_parent.intPlayerHP = _parent.intPlayerHP + 10;
if (_parent.intPlayerHP > _parent.intPlayerHPMax) {
_parent.intPlayerHP = _parent.intPlayerHPMax;
}
_parent.fncUpdateHP(0);
}
} else if (intKeyCode eq 50) {
if (_parent.intPlayerITEM2 > 0) {
_parent.intPlayerITEM2--;
_parent.intPlayerHP = _parent.intPlayerHP + 15;
if (_parent.intPlayerHP > _parent.intPlayerHPMax) {
_parent.intPlayerHP = intPlayerHPMax;
}
_parent.fncUpdateHP(0);
}
} else if (intKeyCode eq 51) {
if (_parent.intPlayerITEM3 > 0) {
_parent.intPlayerITEM3--;
_parent.intPlayerHP = _parent.intPlayerHP + 75;
if (_parent.intPlayerHP > _parent.intPlayerHPMax) {
_parent.intPlayerHP = _parent.intPlayerHPMax;
}
_parent.fncUpdateHP(0);
}
} else if (intKeyCode eq 52) {
if (_parent.intPlayerITEM4 > 0) {
_parent.intPlayerITEM4--;
_parent.intPlayerHP = _parent.intPlayerHP + 240;
if (_parent.intPlayerHP > _parent.intPlayerHPMax) {
_parent.intPlayerHP = _parent.intPlayerHPMax;
}
_parent.fncUpdateHP(0);
}
} else if (intKeyCode eq 53) {
if (_parent.intPlayerITEM5 > 0) {
_parent.intPlayerITEM5--;
_parent.intPlayerMP = _parent.intPlayerMP + 75;
if (_parent.intPlayerMP > _parent.intPlayerMPMax) {
_parent.intPlayerMP = _parent.intPlayerMPMax;
}
_parent.fncUpdateMP();
}
} else if (intKeyCode eq 54) {
if (_parent.intPlayerITEM6 > 0) {
_parent.intPlayerITEM6--;
_parent.intPlayerMP = _parent.intPlayerMP + 240;
if (_parent.intPlayerMP > _parent.intPlayerMPMax) {
_parent.intPlayerMP = _parent.intPlayerMPMax;
}
_parent.fncUpdateMP();
}
} else if (intKeyCode eq 55) {
if ((_parent.intPlayerMP >= (_parent.intPlayerJS2 * 5)) and (_parent.intPlayerJS2 ne 0)) {
_parent.intPlayerATK = 3;
}
} else if (intKeyCode eq 56) {
if ((_parent.intPlayerMP >= (_parent.intPlayerJS3 * 3)) and (_parent.intPlayerJS3 ne 0)) {
_parent.intPlayerATK = 2;
}
} else if (intKeyCode eq 57) {
if ((_parent.intPlayerMP >= (_parent.intPlayerJS4 * 5)) and (_parent.intPlayerJS4 ne 0)) {
_parent.intPlayerATK = 1;
_parent.PLAYER.boolLeech = true;
}
} else if (intKeyCode eq 58) {
if ((_parent.intPlayerMP >= (_parent.intPlayerJS5 * 5)) and (_parent.intPlayerJS5 ne 0)) {
_parent.intPlayerATK = 4;
_parent.PLAYER.boolLeech = true;
}
} else if (intKeyCode eq 65) {
if (_parent.CS._currentframe ne 8) {
_parent.CS.gotoAndStop("stat");
} else {
_parent.CS.gotoAndStop(2);
}
} else if (intKeyCode eq 67) {
if (_parent.CS._currentframe ne 4) {
_parent.CS.gotoAndStop("CHEATS");
} else {
_parent.CS.gotoAndStop(2);
}
} else if (intKeyCode eq 69) {
if (_parent.CS._currentframe ne 9) {
_parent.CS.gotoAndStop("ITEM");
} else {
_parent.CS.gotoAndStop(2);
}
} else if (intKeyCode eq 77) {
if (_parent.CS._currentframe ne 3) {
_parent.CS.gotoAndStop("map");
} else {
_parent.CS.gotoAndStop(2);
}
} else if (intKeyCode eq 83) {
if (_parent.CS._currentframe ne 10) {
_parent.CS.gotoAndStop("SKILL");
} else {
_parent.CS.gotoAndStop(2);
}
} else if ((intKeyCode eq 84) and (_parent.intPlayerQST > 0)) {
if (_parent.CS._currentframe ne 16) {
_parent.CS.gotoAndStop("TRADE");
} else {
_parent.CS.gotoAndStop(2);
}
}
}
if (intKeyCode eq 80) {
if (_parent.CS._currentframe eq 11) {
_parent.boolGamePaused = false;
_parent.CS.gotoAndStop(1);
} else if (_parent.boolGamePaused ne true) {
_parent.boolGamePaused = true;
_parent.CS.gotoAndStop("gamepause");
}
}
}
onClipEvent (load) {
var boolWalking = false;
var boolLeech = false;
var intKeyCode = 0;
swapDepths(intPos);
bUP.tabEnabled = false;
bLEFT.tabEnabled = false;
bDOWN.tabEnabled = false;
bRIGHT.tabEnabled = false;
bUP.useHandCursor = false;
bLEFT.useHandCursor = false;
bDOWN.useHandCursor = false;
bRIGHT.useHandCursor = false;
stop();
}
Instance of Symbol 1241 MovieClip "mainEnem" in Frame 84
onClipEvent (load) {
if (_name eq "mainEnem") {
var intGenEnem = 0;
var intGenCtr = 0;
stop();
} else {
var intAImove = 0;
var intEnemLife = 0;
var intHit = 0;
var intAI = 0;
var intEnemLifeMax;
var boolHit = false;
var boolWalking = false;
var boolHitting = false;
creekTime = new Object();
creekTime.TIME = new Date();
creekTime.intEnemFrame = 1;
this.swapDepths(intCrntPos);
if ((_parent.PLAYER.strMapLoc eq "E1 [20]") and (_parent.boolGeneratedBoss ne true)) {
_parent.boolGeneratedBoss = true;
this.gotoAndStop(18);
} else if (random(824) eq 24) {
creekTime.intEnemFrame = random(6) + 19;
this.gotoAndStop(creekTime.intEnemFrame);
} else if (creekTime.TIME.getHours() > 0) {
creekTime.intEnemFrame = random(_parent.intPlayerLV / 2) + 1;
while (creekTime.intEnemFrame > 17) {
creekTime.intEnemFrame = creekTime.intEnemFrame - (random(16) + 1);
}
this.gotoAndStop(creekTime.intEnemFrame);
} else {
creekTime.intEnemFrame = random(6) + 19;
this.gotoAndStop(creekTime.intEnemFrame);
}
delete creekTime;
intEnemLifeMax = intEnemLife;
}
}
onClipEvent (enterFrame) {
if (_parent.boolGamePaused ne true) {
if ((_name eq "mainEnem") and (_parent.PLAYER.strMapLoc ne "E1 [20]")) {
if (_parent.boolGenerating ne true) {
intGenEnem = random(25);
if ((intGenEnem eq 24) and (_parent.intEnemCtr < _parent.intEnemMAX)) {
_parent.boolGenerating = true;
intGenEnem = random(5) + 1;
intGenCtr = 0;
while (intGenCtr < intGenEnem) {
_parent.fncGenerateENEMY();
intGenCtr++;
}
}
_parent.boolGenerating = false;
}
} else if (_name ne "mainEnem") {
if (enem._currentframe > 1) {
if ((intAI >= 30) and (boolWalking ne true)) {
if ((((((_parent.PLAYER.intPos - intCrntPos) >= -3) and (_parent.arrIntGridPos[intCrntPos - 1] eq 0)) and (_y eq _parent.PLAYER._y)) and ((intCrntPos % 19) > 2)) and ((_parent.PLAYER.intPos - intCrntPos) < -1)) {
_parent.fncEnemMoveLEFT(_name);
} else if ((((((_parent.PLAYER.intPos - intCrntPos) <= 3) and (_parent.arrIntGridPos[intCrntPos + 1] eq 0)) and (_y eq _parent.PLAYER._y)) and ((intCrntPos % 19) < 16)) and ((_parent.PLAYER.intPos - intCrntPos) > 1)) {
_parent.fncEnemMoveRIGHT(_name);
} else if ((((((_parent.PLAYER.intPos - intCrntPos) <= 57) and (_parent.arrIntGridPos[intCrntPos + 19] eq 0)) and (_x eq _parent.PLAYER._x)) and (intCrntPos < 209)) and ((_parent.PLAYER.intPos - intCrntPos) > 1)) {
_parent.fncEnemMoveDOWN(_name);
} else if ((((((_parent.PLAYER.intPos - intCrntPos) >= -57) and (_parent.arrIntGridPos[intCrntPos - 19] eq 0)) and (_x eq _parent.PLAYER._x)) and (intCrntPos > 56)) and ((_parent.PLAYER.intPos - intCrntPos) < -1)) {
_parent.fncEnemMoveUP(_name);
} else if ((intAI < 540) and ((intAI % 2) eq 0)) {
if (((((_parent.PLAYER.intPos % 19) < (intCrntPos % 19)) and (_parent.arrIntGridPos[intCrntPos - 1] eq 0)) and ((intCrntPos % 19) > 1)) and ((_parent.PLAYER.intPos - intCrntPos) < -1)) {
_parent.fncEnemMoveLEFT(_name);
} else if (((((_parent.PLAYER.intPos % 19) > (intCrntPos % 19)) and (_parent.arrIntGridPos[intCrntPos + 1] eq 0)) and ((intCrntPos % 19) < 17)) and ((_parent.PLAYER.intPos - intCrntPos) > 1)) {
_parent.fncEnemMoveRIGHT(_name);
} else if ((((_parent.PLAYER.intPos > intCrntPos) and (_parent.arrIntGridPos[intCrntPos + 19] eq 0)) and (intCrntPos < 226)) and ((_parent.PLAYER.intPos - intCrntPos) > 1)) {
_parent.fncEnemMoveDOWN(_name);
} else if ((((_parent.PLAYER.intPos < intCrntPos) and (_parent.arrIntGridPos[intCrntPos - 19] eq 0)) and (intCrntPos > 37)) and ((_parent.PLAYER.intPos - intCrntPos) < -1)) {
_parent.fncEnemMoveUP(_name);
}
}
}
if ((boolHitting ne true) and (boolWalking ne true)) {
intAImove = random(25000 - intAI);
if (intAImove < 5000) {
if (_parent.arrIntGridPos[intCrntPos + 1] eq 2) {
boolHitting = true;
enem.gotoAndPlay("Attk_R");
} else if (_parent.arrIntGridPos[intCrntPos - 1] eq 2) {
boolHitting = true;
enem.gotoAndPlay("Attk_L");
}
if (_parent.arrIntGridPos[intCrntPos + 19] eq 2) {
boolHitting = true;
enem.gotoAndPlay("Attk_D");
} else if (_parent.arrIntGridPos[intCrntPos - 19] eq 2) {
boolHitting = true;
enem.gotoAndPlay("Attk_U");
}
} else if (intAImove > 5000) {
intAImove = random(100);
if (((intAImove eq 20) and (_x lt 720)) and (_parent.arrIntGridPos[intCrntPos + 1] eq 0)) {
_parent.fncEnemMoveRIGHT(_name);
} else if (((intAImove eq 40) and (_x > 80)) and (_parent.arrIntGridPos[intCrntPos - 1] eq 0)) {
_parent.fncEnemMoveLEFT(_name);
} else if (((intAImove eq 60) and (_y lt 520)) and (_parent.arrIntGridPos[intCrntPos + 19] eq 0)) {
_parent.fncEnemMoveDOWN(_name);
} else if (((intAImove eq 80) and (_y > 80)) and (_parent.arrIntGridPos[intCrntPos - 19] eq 0)) {
_parent.fncEnemMoveUP(_name);
}
}
}
}
}
}
}
Frame 85
Stage.scaleMode = "showAll";
fightboss.stop();
sndAmbience.start(0, 82499);
intCtr = 265;
while (intCtr < 800) {
if (("enem" + intCtr) ne _parent._name) {
removeMovieClip(_root["enem" + intCtr]);
}
removeMovieClip(_root["item" + intCtr]);
intCtr++;
}
ICON._visible = false;
Frame 247
sndPunch.start(0);
Frame 256
stopAllSounds();
sndPunch.start(0);
sndPunch.start(0);
sndHit.start(0);
sndHit.start(0);
fightboss.start(0, 82499);
Frame 261
sndPunch.start(0);
sndPunch.start(0);
Frame 268
sndPunch.start(0);
Frame 273
sndPunch.start(0);
sndHit.start(0);
Frame 277
sndPunch.start(0);
Frame 283
sndPunch.start(0);
Frame 288
sndPunch.start(0);
sndHit.start(0);
sndHit.start(0);
Frame 291
sndPunch.start(0);
Frame 298
sndPunch.start(0);
sndPunch.start(0);
sndHit.start(0);
sndHit.start(0);
Frame 301
sndPunch.start(0);
Frame 333
sndHit.start(0);
sndHit.start(0);
sndKill.start(0);
Frame 351
sndHit.start(0);
sndHit.start(0);
sndKill.start(0);
Frame 353
stopAllSounds();
Frame 592
sndAmbience.start(0, 82499);
Frame 1521
stopAllSounds();
Frame 1690
sndHit.setVolume(100);
sndHit.start(0);
sndHit.start(0);
Frame 1723
sndKill.start(0);
sndKill.start(0);
Frame 1813
sndAmbience.start(0, 892499);
stop();
Instance of Symbol 1862 MovieClip "mcBak" in Frame 1813
onClipEvent (load) {
_alpha = 50;
stop();
}
onClipEvent (enterFrame) {
_alpha = (_alpha + 3);
}
Instance of Symbol 1863 MovieClip in Frame 1813
onClipEvent (enterFrame) {
if (_x > 400) {
_parent.play();
} else {
_x = (_x + 2);
}
}
Frame 1830
ICON._visible = true;
gotoAndStop (62);
Symbol 11 MovieClip Frame 1
stop();
Symbol 11 MovieClip Frame 5
_alpha = (_alpha + 1);
Symbol 65 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 35
clearInterval(_parent.tmrIntro);
Symbol 229 Button
on (release) {
gotoAndPlay (1);
}
Symbol 231 MovieClip Frame 1
stopAllSounds();
_parent.sndAmbience.setVolume(100);
_parent.sndAmbience.start(0, 20);
_parent.sndAmbience.start(0, 20);
Symbol 231 MovieClip Frame 133
stopAllSounds();
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
Symbol 231 MovieClip Frame 137
stopAllSounds();
Symbol 231 MovieClip Frame 139
_parent.fightboss.setVolume(75);
_parent.fightboss.start(0, 20);
Symbol 231 MovieClip Frame 168
stopAllSounds();
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
stopAllSounds();
Symbol 231 MovieClip Frame 169
stopAllSounds();
_parent.sndAmbience.setVolume(100);
_parent.sndAmbience.start(0, 20);
_parent.sndAmbience.start(0, 20);
Symbol 231 MovieClip Frame 257
stopAllSounds();
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
Symbol 231 MovieClip Frame 261
stopAllSounds();
Symbol 231 MovieClip Frame 263
_parent.fightboss.setVolume(75);
_parent.fightboss.start(0, 20);
Symbol 231 MovieClip Frame 292
stopAllSounds();
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
stopAllSounds();
Symbol 231 MovieClip Frame 293
stopAllSounds();
_parent.sndAmbience.setVolume(100);
_parent.sndAmbience.start(0, 20);
_parent.sndAmbience.start(0, 20);
Symbol 231 MovieClip Frame 346
stopAllSounds();
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
Symbol 231 MovieClip Frame 350
stopAllSounds();
Symbol 231 MovieClip Frame 352
_parent.fightboss.setVolume(75);
_parent.fightboss.start(0, 20);
Symbol 231 MovieClip Frame 373
stopAllSounds();
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
stopAllSounds();
Symbol 231 MovieClip Frame 374
stopAllSounds();
_parent.sndAmbience.setVolume(100);
_parent.sndAmbience.start(0, 20);
_parent.sndAmbience.start(0, 20);
Symbol 231 MovieClip Frame 408
stopAllSounds();
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
Symbol 231 MovieClip Frame 412
stopAllSounds();
Symbol 231 MovieClip Frame 414
_parent.fightboss.setVolume(75);
_parent.fightboss.start(0, 20);
Symbol 231 MovieClip Frame 435
stopAllSounds();
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
stopAllSounds();
Symbol 231 MovieClip Frame 436
stopAllSounds();
_parent.sndAmbience.setVolume(100);
_parent.sndAmbience.start(0, 20);
_parent.sndAmbience.start(0, 20);
Symbol 231 MovieClip Frame 454
stopAllSounds();
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
Symbol 231 MovieClip Frame 458
stopAllSounds();
Symbol 231 MovieClip Frame 460
_parent.fightboss.setVolume(75);
_parent.fightboss.start(0, 20);
Symbol 231 MovieClip Frame 481
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
Symbol 231 MovieClip Frame 482
stopAllSounds();
_parent.sndAmbience.setVolume(100);
_parent.sndAmbience.start(0, 20);
_parent.sndAmbience.start(0, 20);
Symbol 231 MovieClip Frame 492
stopAllSounds();
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
Symbol 231 MovieClip Frame 496
stopAllSounds();
Symbol 231 MovieClip Frame 498
_parent.fightboss.setVolume(75);
_parent.fightboss.start(0, 20);
Symbol 231 MovieClip Frame 521
stopAllSounds();
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
stopAllSounds();
Symbol 231 MovieClip Frame 522
stopAllSounds();
_parent.sndAmbience.setVolume(100);
_parent.sndAmbience.start(0, 20);
_parent.sndAmbience.start(0, 20);
Symbol 231 MovieClip Frame 531
stopAllSounds();
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
_parent.sndSteam.start(0);
Symbol 231 MovieClip Frame 534
stopAllSounds();
Symbol 231 MovieClip Frame 537
_parent.fightboss.setVolume(75);
_parent.fightboss.start(0, 20);
Symbol 231 MovieClip Frame 575
stopAllSounds();
Symbol 231 MovieClip Frame 614
_parent.sndHit.setVolume(100);
_parent.sndHit.start(0);
_parent.sndHit.start(0);
Symbol 231 MovieClip Frame 787
stopAllSounds();
_parent.sndAmbience.setVolume(100);
_parent.sndAmbience.start(0, 999);
_parent.sndAmbience.start(0, 999);
stop();
Symbol 235 Button
on (release) {
play();
}
Symbol 280 MovieClip Frame 1
stop();
Symbol 286 Button
on (release) {
gotoAndStop (63);
}
Symbol 290 Button
on (release) {
gotoAndStop (62);
}
Symbol 294 Button
on (release) {
gotoAndStop (61);
}
Symbol 298 Button
on (release) {
gotoAndStop (66);
}
Symbol 307 Button
on (release, keyPress "<Enter>") {
fscommand ("quit", true);
unloadMovie (_root);
}
Symbol 311 Button
on (release) {
gotoAndStop (60);
}
Symbol 312 Button
on (release, keyPress "<Enter>") {
clearInterval(creditation.creek);
gotoAndStop (60);
}
Symbol 331 MovieClip Frame 66
clearInterval(creek);
_parent.gotoAndStop("mainMenu");
Symbol 335 Button
on (release, keyPress "<Enter>") {
nextFrame();
}
Symbol 336 Button
on (release) {
gotoAndStop (65);
}
Symbol 341 Button
on (release, keyPress "<Enter>") {
if ((txtName.text eq "") or (txtName.text eq "Your Name Here")) {
txtName.text = "Your Name Here";
} else if (txtPass.length < 6) {
txtPass.text = "";
} else if (intPlayerPTS < 1) {
strPlayerNAME = txtName.text;
strPlayerPASS = txtPass.text;
intPlayerHP = intPlayerHP + (intPlayerVIT * 5);
intPlayerMP = intPlayerMP + (intPlayerINT * 3);
intPlayerHPMax = intPlayerHP;
intPlayerMPMax = intPlayerMP;
intPlayerXP = 0;
intPlayerXPNext = 3;
intPlayerXPPrev = 0;
intPlayerX = 400;
intPlayerY = 480;
intPlayerPos = 218;
strPlayerLoc = "E1 [1]";
boolPlayerCHEATED = false;
strTEMP = (((gz0TIME.getMonth() + ".") + gz0TIME.getDate()) + ".") + gz0TIME.getFullYear();
if (strTEMP eq "7.24.99") {
intPlayerSTR = 100;
intPlayerAGI = 100;
intPlayerVIT = 100;
intPlayerINT = 100;
intPlayerDEX = 100;
intPlayerLUK = 100;
intPlayerPTS = 100;
intPlayerJPTS = 100;
intPlayerHPMax = 500;
intPlayerMPMax = 500;
}
gotoAndPlay (67);
}
}
Symbol 342 Button
on (release) {
prevFrame();
}
Symbol 364 Button
on (release) {
if (intPlayerPTS > 0) {
intPlayerPTS--;
intPlayerSTR++;
}
}
Symbol 365 Button
on (release) {
if (intPlayerPTS > 0) {
intPlayerPTS--;
intPlayerAGI++;
}
}
Symbol 366 Button
on (release) {
if (intPlayerPTS > 0) {
intPlayerPTS--;
intPlayerVIT++;
}
}
Symbol 367 Button
on (release) {
if (intPlayerPTS > 0) {
intPlayerPTS--;
intPlayerINT++;
}
}
Symbol 368 Button
on (release) {
if (intPlayerPTS > 0) {
intPlayerPTS--;
intPlayerDEX++;
}
}
Symbol 369 Button
on (release) {
if (intPlayerPTS > 0) {
intPlayerPTS--;
intPlayerLUK++;
}
}
Symbol 371 Button
on (release) {
if (intPlayerSTR > 1) {
intPlayerSTR--;
intPlayerPTS++;
}
}
Symbol 372 Button
on (release) {
if (intPlayerAGI > 1) {
intPlayerAGI--;
intPlayerPTS++;
}
}
Symbol 373 Button
on (release) {
if (intPlayerVIT > 1) {
intPlayerVIT--;
intPlayerPTS++;
}
}
Symbol 374 Button
on (release) {
if (intPlayerINT > 1) {
intPlayerINT--;
intPlayerPTS++;
}
}
Symbol 375 Button
on (release) {
if (intPlayerDEX > 1) {
intPlayerDEX--;
intPlayerPTS++;
}
}
Symbol 376 Button
on (release) {
if (intPlayerLUK > 1) {
intPlayerLUK--;
intPlayerPTS++;
}
}
Symbol 381 Button
on (release, keyPress "<Enter>") {
if (txtLoad.length eq 1320) {
if (txtPass.text ne "") {
fncGZOLoad();
strTEMP = strPlayerPASS.substr(0, txtPass.length);
if (strTEMP eq txtPass.text) {
gotoAndPlay (67);
} else {
txtPass.text = "";
txtLoad.text = "";
}
}
} else {
txtLoad.text = "There is a problem with your Untold Secrets Code [USC]...";
}
}
Symbol 442 Button
on (release, keyPress "<Enter>") {
gotoAndStop (60);
}
Symbol 458 Button
on (release) {
nextFrame();
}
Symbol 463 MovieClip Frame 1
stop();
Symbol 472 Button
on (release) {
gotoAndStop (1);
}
Symbol 486 Button
on (release) {
if (_currentframe eq 8) {
gotoAndStop (2);
} else {
gotoAndStop (8);
}
}
Symbol 487 Button
on (release) {
if (_currentframe eq 5) {
gotoAndStop (2);
} else {
gotoAndStop (5);
}
}
Symbol 488 Button
on (release) {
if (_currentframe eq 10) {
gotoAndStop (2);
} else {
gotoAndStop (10);
}
}
Symbol 489 Button
on (release) {
if (_currentframe eq 3) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
}
Symbol 492 Button
on (release) {
if (txtPass.text eq "billgatesmostwanted") {
_parent.intPlayerSTR = 100;
_parent.intPlayerINT = 100;
_parent.intPlayerLUK = 100;
_parent.intPlayerJPTS = 24;
_parent.intPlayerHPMax = 250;
_parent.intPlayerMPMax = 500;
_parent.boolPlayerCHEATED = true;
} else if (txtPass.text eq "sponsoredbygrupzer0") {
_parent.intPlayerITEM1 = 99;
_parent.intPlayerITEM2 = 99;
_parent.intPlayerITEM3 = 99;
_parent.intPlayerITEM4 = 99;
_parent.intPlayerITEM5 = 99;
_parent.intPlayerITEM6 = 99;
_parent.boolPlayerCHEATED = true;
} else if (txtPass.text eq "beadscrossandbibles") {
_parent.intPlayerJS1 = 5;
_parent.intPlayerJS2 = 5;
_parent.intPlayerJS3 = 5;
_parent.intPlayerJS4 = 5;
_parent.intPlayerJS5 = 5;
_parent.boolPlayerCHEATED = true;
} else if (txtPass.text eq "www.levelupgames.ph") {
_parent.intPlayerVIT = 100;
_parent.intPlayerJPTS = 20;
_parent.boolPlayerCHEATED = true;
} else if (txtPass.text eq "ragnarokfeverforever") {
_parent.intPlayerAGI = 75;
_parent.intPlayerHPMax = 500;
_parent.boolPlayerCHEATED = true;
} else if (txtPass.text eq "gravityincorporated") {
_parent.intPlayerLUK = 250;
_parent.intPlayerDEX = 100;
_parent.intPlayerMPMax = 250;
_parent.boolPlayerCHEATED = true;
}
txtPass.text = "";
_parent.boolGamePaused = false;
gotoAndStop (2);
}
Symbol 495 Button
on (release) {
_parent.boolGamePaused = false;
gotoAndStop (2);
}
Symbol 512 MovieClip Frame 25
gotoAndPlay (1);
Symbol 512 MovieClip Frame 30
_root.intPlayerITEM1++;
_root.arrIntGridPos[_parent.intCrntPos] = 0;
removeMovieClip(_parent);
Symbol 515 MovieClip Frame 25
gotoAndPlay (1);
Symbol 515 MovieClip Frame 30
_root.intPlayerITEM2++;
_root.arrIntGridPos[_parent.intCrntPos] = 0;
removeMovieClip(_parent);
Symbol 518 MovieClip Frame 25
gotoAndPlay (1);
Symbol 518 MovieClip Frame 30
_root.intPlayerITEM3++;
_root.arrIntGridPos[_parent.intCrntPos] = 0;
removeMovieClip(_parent);
Symbol 520 MovieClip Frame 25
gotoAndPlay (1);
Symbol 520 MovieClip Frame 30
_root.intPlayerITEM4++;
_root.arrIntGridPos[_parent.intCrntPos] = 0;
removeMovieClip(_parent);
Symbol 522 MovieClip Frame 25
gotoAndPlay (1);
Symbol 522 MovieClip Frame 30
_root.intPlayerITEM5++;
_root.arrIntGridPos[_parent.intCrntPos] = 0;
removeMovieClip(_parent);
Symbol 524 MovieClip Frame 25
gotoAndPlay (1);
Symbol 524 MovieClip Frame 30
_root.intPlayerITEM6++;
_root.arrIntGridPos[_parent.intCrntPos] = 0;
removeMovieClip(_parent);
Symbol 525 Button
on (release) {
gotoAndStop (2);
}
Symbol 546 Button
on (release) {
with (_parent) {
if (intPlayerPTS > 0) {
intPlayerPTS--;
intPlayerSTR++;
intPlayerDMG = intPlayerSTR * 2;
intPlayerMIN_DMG = int(intPlayerSTR / 2) + (intPlayerJS1 * 4);
}
}
}
Symbol 547 Button
on (release) {
if (_parent.intPlayerPTS > 0) {
_parent.intPlayerPTS--;
_parent.intPlayerAGI++;
}
}
Symbol 548 Button
on (release) {
with (_parent) {
if (intPlayerPTS > 0) {
intPlayerPTS--;
intPlayerVIT++;
intPlayerHPMax = intPlayerHPMax + 5;
fncUpdateHP(0);
}
}
}
Symbol 549 Button
on (release) {
if (_parent.intPlayerPTS > 0) {
_parent.intPlayerPTS--;
_parent.intPlayerINT++;
_parent.intPlayerMPMax = _parent.intPlayerMPMax + 3;
barXP._xscale = Math.round((_parent.intPlayerMP / _parent.intPlayerMPMax) * 100);
}
}
Symbol 550 Button
on (release) {
if (_parent.intPlayerPTS > 0) {
_parent.intPlayerPTS--;
_parent.intPlayerDEX++;
}
}
Symbol 551 Button
on (release) {
if (_parent.intPlayerPTS > 0) {
_parent.intPlayerPTS--;
_parent.intPlayerLUK++;
}
}
Symbol 563 Button
on (release) {
if ((_root.intPlayerMP >= (_root.intPlayerJS2 * 5)) and (_root.intPlayerJS2 ne 0)) {
_root.intPlayerATK = 3;
}
}
Symbol 567 Button
on (release) {
if ((_root.intPlayerMP >= (_root.intPlayerJS3 * 3)) and (_root.intPlayerJS3 ne 0)) {
_root.intPlayerATK = 2;
}
}
Symbol 571 Button
on (release) {
if ((_root.intPlayerMP >= (_root.intPlayerJS4 * 5)) and (_root.intPlayerJS4 ne 0)) {
_root.intPlayerATK = 1;
_root.PLAYER.boolLeech = true;
}
}
Symbol 575 Button
on (release) {
if ((_root.intPlayerMP >= (_root.intPlayerJS5 * 5)) and (_root.intPlayerJS5 ne 0)) {
_root.intPlayerATK = 4;
_root.PLAYER.boolLeech = true;
}
}
Symbol 600 Button
on (release) {
with (_parent) {
if ((intPlayerJPTS > 0) and (intPlayerJS1 < 10)) {
intPlayerJPTS--;
intPlayerJS1++;
intPlayerMIN_DMG = int(intPlayerSTR / 2) + (intPlayerJS1 * 2);
intPlayerPLUS_DMG = (intPlayerJS1 + intPlayerJS2) + (intPlayerJS3 * 3);
}
}
}
Symbol 601 Button
on (release) {
with (_parent) {
if ((((intPlayerJPTS > 0) and (intPlayerJS1 > 3)) and (intPlayerJS2 > 3)) and (intPlayerJS3 < 10)) {
intPlayerJPTS--;
intPlayerJS3++;
intPlayerPLUS_DMG = (intPlayerJS1 + intPlayerJS2) + (intPlayerJS3 * 3);
CS.JSDmg3.text = -(intPlayerJS3 * 3);
}
}
}
Symbol 602 Button
on (release) {
with (_parent) {
if (((intPlayerJPTS > 0) and (intPlayerJS2 < 10)) and (intPlayerJS1 > 2)) {
intPlayerJPTS--;
intPlayerJS2++;
intPlayerPLUS_DMG = (intPlayerJS1 + intPlayerJS2) + (intPlayerJS3 * 3);
CS.JSDmg2.text = -(intPlayerJS2 * 5);
}
}
}
Symbol 603 Button
on (release) {
with (_parent) {
if (((intPlayerJPTS > 0) and (intPlayerJS1 > 6)) and (intPlayerJS4 < 10)) {
intPlayerJPTS--;
intPlayerJS4++;
CS.JSDmg4.text = -(intPlayerJS4 * 4);
}
}
}
Symbol 604 Button
on (release) {
with (_parent) {
if ((((intPlayerJPTS > 0) and (intPlayerJS3 > 5)) and (intPlayerJS4 > 5)) and (intPlayerJS5 < 10)) {
intPlayerJPTS--;
intPlayerJS5++;
CS.JSDmg5.text = -(intPlayerJS5 * 5);
}
}
}
Symbol 613 Button
on (release) {
if (_parent.PLAYER.strMapLoc eq "E1 [20]") {
gotoAndStop (17);
} else {
nextFrame();
}
}
Symbol 614 Button
on (release) {
_parent.boolGamePaused = false;
gotoAndStop (1);
}
Symbol 615 Button
on (release) {
gotoAndStop (19);
}
Symbol 617 Button
on (release) {
gotoAndStop (14);
}
Symbol 619 Button
on (release) {
gotoAndStop (18);
}
Symbol 621 Button
on (release) {
getURL ("http://grupzer0.bravehost.com", "_blank");
}
Symbol 623 Button
on (release) {
if (_root._quality eq "MEDIUM") {
_root._quality = "HIGH";
} else if (_root._quality eq "HIGH") {
_root._quality = "LOW";
} else if (_root._quality eq "LOW") {
_root._quality = "MEDIUM";
}
}
Symbol 628 Button
on (release) {
_parent.strPlayerLoc = _parent.PLAYER.strMapLoc;
_parent.intPlayerX = _parent.PLAYER._x;
_parent.intPlayerY = _parent.PLAYER._y;
_parent.intPlayerPos = _parent.PLAYER.intPos;
nextFrame();
}
Symbol 632 Button
on (release) {
gotoAndStop (11);
}
Symbol 634 Button
on (release) {
fscommand ("quit", true);
unloadMovie (_root);
}
Symbol 635 Button
on (release) {
gotoAndStop (11);
}
Symbol 640 Button
on (release) {
gotoAndStop (20);
}
Symbol 641 Button
on (release) {
with (_parent) {
fncUpdateXP();
boolGamePaused = false;
boolGeneratedBoss = false;
strPlayerLoc = "E1 [1]";
PLAYER.strMapLoc = "E1 [1]";
gotoAndStop("grass");
intPlayerX = 400;
intPlayerY = 480;
PLAYER._x = intPlayerX;
PLAYER._y = intPlayerY;
fncReGenerateENEMY();
arrIntGridPos[PLAYER.intPos] = 0;
PLAYER.intPos = 218;
intPlayerPos = intPos;
arrIntGridPos[intPlayerPos] = 2;
PLAYER.boolWalking = false;
PLAYER.gotoAndStop("UP");
intPlayerHP = int(intPlayerHPMax / 2);
intPlayerXP = intPlayerXP - (intPlayerXP * 0.05);
if (intPlayerXP < intPlayerXPPrev) {
intPlayerXP = intPlayerXPPrev;
}
}
fncPosICO();
txtInfo.text = "";
gotoAndStop (2);
}
Symbol 642 Button
on (release) {
if (_parent.intPlayerG > (_parent.intPlayerLV * 750)) {
_parent.intPlayerG = _parent.intPlayerG - (_parent.intPlayerLV * 750);
_parent.intPlayerHP = _parent.intPlayerHPMax;
_parent.intPlayerXP = _parent.intPlayerXP - (_parent.intPlayerXP * 0.05);
if (_parent.intPlayerXP < _parent.intPlayerXPPrev) {
_parent.intPlayerXP = _parent.intPlayerXPPrev;
}
_parent.fncUpdateXP();
_parent.boolGamePaused = false;
_parent.PLAYER.boolWalking = false;
txtInfo.text = "";
_parent.PLAYER.gotoAndStop("UP");
gotoAndStop (2);
} else {
txtInfo.text = ("sorry, you need " + (_parent.intPlayerLV * 750)) + "Z to pay for your death";
}
}
Symbol 644 Button
on (release) {
if (_parent.intPlayerG > (_parent.intPlayerLV * 1000)) {
_parent.intPlayerG = _parent.intPlayerG - (_parent.intPlayerLV * 1000);
_parent.intPlayerHP = _parent.intPlayerHPMax;
_parent.boolGamePaused = false;
_parent.PLAYER.boolWalking = false;
txtInfo.text = "";
_parent.PLAYER.gotoAndStop("UP");
gotoAndStop (2);
} else {
txtInfo.text = ("sorry, you need " + (_parent.intPlayerLV * 1000)) + "Z to pay for your death and XP";
}
}
Symbol 648 Button
on (release) {
_parent.boolGamePaused = false;
gotoAndStop (2);
}
Symbol 667 Button
on (release) {
_parent.intCtr1 = parseInt(txtITEM1.text, 10);
if ((_parent.intPlayerG >= 50) and (_parent.intCtr1 > 0)) {
_parent.intPlayerITEM1++;
_parent.intPlayerG = _parent.intPlayerG - 50;
_parent.intCtr1--;
txtITEM1.text = _parent.intCtr1;
_parent.sndItem.start(0);
}
}
Symbol 669 Button
on (release) {
_parent.intCtr1 = parseInt(txtITEM2.text, 10);
if ((_parent.intPlayerG >= 70) and (_parent.intCtr1 > 0)) {
_parent.intPlayerITEM2++;
_parent.intPlayerG = _parent.intPlayerG - 70;
_parent.intCtr1--;
txtITEM2.text = _parent.intCtr1;
_parent.sndItem.start(0);
}
}
Symbol 670 Button
on (release) {
_parent.intCtr1 = parseInt(txtITEM3.text, 10);
if ((_parent.intPlayerG >= 120) and (_parent.intCtr1 > 0)) {
_parent.intPlayerITEM3++;
_parent.intPlayerG = _parent.intPlayerG - 120;
_parent.intCtr1--;
txtITEM3.text = _parent.intCtr1;
_parent.sndItem.start(0);
}
}
Symbol 671 Button
on (release) {
_parent.intCtr1 = parseInt(txtITEM4.text, 10);
if ((_parent.intPlayerG >= 250) and (_parent.intCtr1 > 0)) {
_parent.intPlayerITEM4++;
_parent.intPlayerG = _parent.intPlayerG - 250;
_parent.intCtr1--;
txtITEM4.text = _parent.intCtr1;
_parent.sndItem.start(0);
}
}
Symbol 672 Button
on (release) {
_parent.intCtr1 = parseInt(txtITEM5.text, 10);
if ((_parent.intPlayerG >= 150) and (_parent.intCtr1 > 0)) {
_parent.intPlayerITEM5++;
_parent.intPlayerG = _parent.intPlayerG - 150;
_parent.intCtr1--;
txtITEM5.text = _parent.intCtr1;
_parent.sndItem.start(0);
}
}
Symbol 673 Button
on (release) {
_parent.intCtr1 = parseInt(txtITEM6.text, 10);
if ((_parent.intPlayerG >= 300) and (_parent.intCtr1 > 0)) {
_parent.intPlayerITEM6++;
_parent.intPlayerG = _parent.intPlayerG - 300;
_parent.intCtr1--;
txtITEM6.text = _parent.intCtr1;
_parent.sndItem.start(0);
}
}
Symbol 680 Button
on (release) {
intCtr = 265;
while (intCtr < 800) {
removeMovieClip(_root["enem" + intCtr]);
removeMovieClip(_root["item" + intCtr]);
intCtr++;
}
removeMovieClip(_root.PLAYER);
removeMovieClip(this);
_root.gotoAndStop("LoadFrame");
}
Symbol 682 Button
on (release) {
intCtr = 265;
while (intCtr < 800) {
removeMovieClip(_root["enem" + intCtr]);
removeMovieClip(_root["item" + intCtr]);
intCtr++;
}
removeMovieClip(_root.PLAYER);
removeMovieClip(this);
_root.gotoAndStop("backToMain");
}
Symbol 684 Button
on (release) {
gotoAndStop (15);
}
Symbol 685 MovieClip Frame 1
function fncPosICO() {
if (((((_parent.PLAYER.strMapLoc == "E1 [1]") or (_parent.PLAYER.strMapLoc == "E1 [3]")) or (_parent.PLAYER.strMapLoc == "E1 [5]")) or (_parent.PLAYER.strMapLoc == "E1 [7]")) or (_parent.PLAYER.strMapLoc == "E1 [9]")) {
PlayerICO._y = 76;
} else if (((((_parent.PLAYER.strMapLoc == "E1 [2]") or (_parent.PLAYER.strMapLoc == "E1 [4]")) or (_parent.PLAYER.strMapLoc == "E1 [15]")) or (_parent.PLAYER.strMapLoc == "E1 [13]")) or (_parent.PLAYER.strMapLoc == "E1 [11]")) {
PlayerICO._y = 53;
} else if (((((_parent.PLAYER.strMapLoc == "E1 [8]") or (_parent.PLAYER.strMapLoc == "E1 [6]")) or (_parent.PLAYER.strMapLoc == "E1 [18]")) or (_parent.PLAYER.strMapLoc == "E1 [16]")) or (_parent.PLAYER.strMapLoc == "E1 [19]")) {
PlayerICO._y = 28;
} else if (((((_parent.PLAYER.strMapLoc == "E1 [10]") or (_parent.PLAYER.strMapLoc == "E1 [12]")) or (_parent.PLAYER.strMapLoc == "E1 [14]")) or (_parent.PLAYER.strMapLoc == "E1 [17]")) or (_parent.PLAYER.strMapLoc == "E1 [20]")) {
PlayerICO._y = 4;
}
if ((((_parent.PLAYER.strMapLoc == "E1 [1]") or (_parent.PLAYER.strMapLoc == "E1 [2]")) or (_parent.PLAYER.strMapLoc == "E1 [8]")) or (_parent.PLAYER.strMapLoc == "E1 [10]")) {
PlayerICO._x = 586;
} else if ((((_parent.PLAYER.strMapLoc == "E1 [3]") or (_parent.PLAYER.strMapLoc == "E1 [4]")) or (_parent.PLAYER.strMapLoc == "E1 [6]")) or (_parent.PLAYER.strMapLoc == "E1 [12]")) {
PlayerICO._x = 561;
} else if ((((_parent.PLAYER.strMapLoc == "E1 [5]") or (_parent.PLAYER.strMapLoc == "E1 [15]")) or (_parent.PLAYER.strMapLoc == "E1 [18]")) or (_parent.PLAYER.strMapLoc == "E1 [14]")) {
PlayerICO._x = 534;
} else if ((((_parent.PLAYER.strMapLoc == "E1 [7]") or (_parent.PLAYER.strMapLoc == "E1 [13]")) or (_parent.PLAYER.strMapLoc == "E1 [16]")) or (_parent.PLAYER.strMapLoc == "E1 [17]")) {
PlayerICO._x = 507;
} else if ((((_parent.PLAYER.strMapLoc == "E1 [9]") or (_parent.PLAYER.strMapLoc == "E1 [11]")) or (_parent.PLAYER.strMapLoc == "E1 [19]")) or (_parent.PLAYER.strMapLoc == "E1 [20]")) {
PlayerICO._x = 482;
}
}
fncPosICO();
bMAX.tabEnabled = false;
Mouse.hide();
stop();
Symbol 685 MovieClip Frame 2
if (barXP._xscale ne _parent.intPlayerXPAim) {
barXP._xscale = _parent.intPlayerXPAim;
}
bMIN.tabEnabled = false;
bSTAT.tabEnabled = false;
bITEM.tabEnabled = false;
bSKILL.tabEnabled = false;
bMAP.tabEnabled = false;
_root.fncUpdateHP(0);
_root.fncUpdateHP();
Mouse.hide();
Symbol 685 MovieClip Frame 3
if (barXP._xscale ne _parent.intPlayerXPAim) {
barXP._xscale = _parent.intPlayerXPAim;
}
bMIN.tabEnabled = false;
bJS5.tabEnabled = false;
bSTAT.tabEnabled = false;
bITEM.tabEnabled = false;
bSKILL.tabEnabled = false;
bMAP.tabEnabled = false;
_root.fncUpdateHP(0);
_root.fncUpdateMP();
fncPosICO();
Symbol 685 MovieClip Frame 4
txtPass.text = "";
if (barXP._xscale ne _parent.intPlayerXPAim) {
barXP._xscale = _parent.intPlayerXPAim;
}
bMIN.tabEnabled = false;
bJS5.tabEnabled = false;
bSTAT.tabEnabled = false;
bITEM.tabEnabled = false;
bSKILL.tabEnabled = false;
bMAP.tabEnabled = false;
bOK.tabEnabled = false;
bCNL.tabEnabled = false;
_root.fncUpdateHP(0);
_root.fncUpdateMP();
fncPosICO();
Symbol 685 MovieClip Frame 5
if (barXP._xscale ne _parent.intPlayerXPAim) {
barXP._xscale = _parent.intPlayerXPAim;
}
bMIN.tabEnabled = false;
bEXT.tabEnabled = false;
item1.tabEnabled = false;
item2.tabEnabled = false;
item3.tabEnabled = false;
item4.tabEnabled = false;
item5.tabEnabled = false;
item6.tabEnabled = false;
bSTAT.tabEnabled = false;
bITEM.tabEnabled = false;
bSKILL.tabEnabled = false;
bMAP.tabEnabled = false;
_root.fncUpdateHP(0);
_root.fncUpdateMP();
Instance of Symbol 512 MovieClip "item1" in Symbol 685 MovieClip Frame 5
onClipEvent (load) {
stop();
}
on (release, keyPress "1") {
with (_root) {
if ((intPlayerITEM1 > 0) and (intPlayerQST ne 1)) {
intPlayerITEM1--;
intPlayerHP = intPlayerHP + 10;
if (intPlayerHP > intPlayerHPMax) {
intPlayerHP = intPlayerHPMax;
}
fncUpdateHP(0);
} else if ((intPlayerITEM1 > 5) and (intPlayerQST eq 1)) {
intPlayerITEM1--;
intPlayerHP = intPlayerHP + 10;
if (intPlayerHP > intPlayerHPMax) {
intPlayerHP = intPlayerHPMax;
}
fncUpdateHP(0);
}
}
}
Instance of Symbol 515 MovieClip "item2" in Symbol 685 MovieClip Frame 5
onClipEvent (load) {
stop();
}
on (release, keyPress "2") {
with (_root) {
if (intPlayerITEM2 > 0) {
intPlayerITEM2--;
intPlayerHP = intPlayerHP + 15;
if (intPlayerHP > intPlayerHPMax) {
intPlayerHP = intPlayerHPMax;
}
fncUpdateHP(0);
}
}
}
Instance of Symbol 518 MovieClip "item3" in Symbol 685 MovieClip Frame 5
onClipEvent (load) {
stop();
}
on (release, keyPress "3") {
with (_root) {
if (intPlayerITEM3 > 0) {
intPlayerITEM3--;
intPlayerHP = intPlayerHP + 75;
if (intPlayerHP > intPlayerHPMax) {
intPlayerHP = intPlayerHPMax;
}
fncUpdateHP(0);
}
}
}
Instance of Symbol 520 MovieClip "item4" in Symbol 685 MovieClip Frame 5
onClipEvent (load) {
stop();
}
on (release, keyPress "4") {
with (_root) {
if (intPlayerITEM4 > 0) {
intPlayerITEM4--;
intPlayerHP = intPlayerHP + 240;
if (intPlayerHP > intPlayerHPMax) {
intPlayerHP = intPlayerHPMax;
}
fncUpdateHP(0);
}
}
}
Instance of Symbol 522 MovieClip "item5" in Symbol 685 MovieClip Frame 5
onClipEvent (load) {
stop();
}
on (release, keyPress "5") {
with (_root) {
if (intPlayerITEM5 > 0) {
intPlayerITEM5--;
intPlayerMP = intPlayerMP + 75;
if (intPlayerMP > intPlayerMPMax) {
intPlayerMP = intPlayerMPMax;
}
fncUpdateMP(0);
}
}
}
Instance of Symbol 524 MovieClip "item6" in Symbol 685 MovieClip Frame 5
onClipEvent (load) {
stop();
}
on (release, keyPress "6") {
with (_root) {
if (intPlayerITEM6 > 0) {
intPlayerITEM6--;
intPlayerMP = intPlayerMP + 240;
if (intPlayerMP > intPlayerMPMax) {
intPlayerMP = intPlayerMPMax;
}
fncUpdateMP(0);
}
}
}
Symbol 685 MovieClip Frame 8
if (barXP._xscale ne _parent.intPlayerXPAim) {
barXP._xscale = _parent.intPlayerXPAim;
}
bMIN.tabEnabled = false;
bSTR.tabEnabled = false;
bAGI.tabEnabled = false;
bVIT.tabEnabled = false;
bINT.tabEnabled = false;
bDEX.tabEnabled = false;
bLUK.tabEnabled = false;
bEXT.tabEnabled = false;
bSTAT.tabEnabled = false;
bITEM.tabEnabled = false;
bSKILL.tabEnabled = false;
bMAP.tabEnabled = false;
_root.fncUpdateHP(0);
_root.fncUpdateMP();
Symbol 685 MovieClip Frame 9
if (barXP._xscale ne _parent.intPlayerXPAim) {
barXP._xscale = _parent.intPlayerXPAim;
}
bMIN.tabEnabled = false;
item1.tabEnabled = false;
item2.tabEnabled = false;
item3.tabEnabled = false;
item4.tabEnabled = false;
item5.tabEnabled = false;
item6.tabEnabled = false;
bJS2.tabEnabled = false;
bJS3.tabEnabled = false;
bJS4.tabEnabled = false;
bJS5.tabEnabled = false;
bSTAT.tabEnabled = false;
bITEM.tabEnabled = false;
bSKILL.tabEnabled = false;
bMAP.tabEnabled = false;
_root.fncUpdateHP(0);
_root.fncUpdateMP();
Instance of Symbol 512 MovieClip "item1" in Symbol 685 MovieClip Frame 9
onClipEvent (load) {
stop();
}
on (release, keyPress "1") {
with (_root) {
if ((intPlayerITEM1 > 0) and (intPlayerQST ne 1)) {
intPlayerITEM1--;
intPlayerHP = intPlayerHP + 10;
if (intPlayerHP > intPlayerHPMax) {
intPlayerHP = intPlayerHPMax;
}
fncUpdateHP(0);
} else if ((intPlayerITEM1 > 5) and (intPlayerQST eq 1)) {
intPlayerITEM1--;
intPlayerHP = intPlayerHP + 10;
if (intPlayerHP > intPlayerHPMax) {
intPlayerHP = intPlayerHPMax;
}
fncUpdateHP(0);
}
}
}
Instance of Symbol 515 MovieClip "item2" in Symbol 685 MovieClip Frame 9
onClipEvent (load) {
stop();
}
on (release, keyPress "2") {
with (_root) {
if (intPlayerITEM2 > 0) {
intPlayerITEM2--;
intPlayerHP = intPlayerHP + 15;
if (intPlayerHP > intPlayerHPMax) {
intPlayerHP = intPlayerHPMax;
}
fncUpdateHP(0);
}
}
}
Instance of Symbol 518 MovieClip "item3" in Symbol 685 MovieClip Frame 9
onClipEvent (load) {
stop();
}
on (release, keyPress "3") {
with (_root) {
if (intPlayerITEM3 > 0) {
intPlayerITEM3--;
intPlayerHP = intPlayerHP + 75;
if (intPlayerHP > intPlayerHPMax) {
intPlayerHP = intPlayerHPMax;
}
fncUpdateHP(0);
}
}
}
Instance of Symbol 520 MovieClip "item4" in Symbol 685 MovieClip Frame 9
onClipEvent (load) {
stop();
}
on (release, keyPress "4") {
with (_root) {
if (intPlayerITEM4 > 0) {
intPlayerITEM4--;
intPlayerHP = intPlayerHP + 240;
if (intPlayerHP > intPlayerHPMax) {
intPlayerHP = intPlayerHPMax;
}
fncUpdateHP(0);
}
}
}
Instance of Symbol 522 MovieClip "item5" in Symbol 685 MovieClip Frame 9
onClipEvent (load) {
stop();
}
on (release, keyPress "5") {
with (_root) {
if (intPlayerITEM5 > 0) {
intPlayerITEM5--;
intPlayerMP = intPlayerMP + 75;
if (intPlayerMP > intPlayerMPMax) {
intPlayerMP = intPlayerMPMax;
}
fncUpdateMP();
}
}
}
Instance of Symbol 524 MovieClip "item6" in Symbol 685 MovieClip Frame 9
onClipEvent (load) {
stop();
}
on (release, keyPress "6") {
with (_root) {
if (intPlayerITEM6 > 0) {
intPlayerITEM6--;
intPlayerMP = intPlayerMP + 240;
if (intPlayerMP > intPlayerMPMax) {
intPlayerMP = intPlayerMPMax;
}
fncUpdateMP();
}
}
}
Symbol 685 MovieClip Frame 10
if (barXP._xscale ne _parent.intPlayerXPAim) {
barXP._xscale = _parent.intPlayerXPAim;
}
bMIN.tabEnabled = false;
bEXT.tabEnabled = false;
bJS1.tabEnabled = false;
bJS2.tabEnabled = false;
bJS3.tabEnabled = false;
bJS4.tabEnabled = false;
bJS5.tabEnabled = false;
bSTAT.tabEnabled = false;
bITEM.tabEnabled = false;
bSKILL.tabEnabled = false;
bMAP.tabEnabled = false;
_root.fncUpdateHP(0);
_root.fncUpdateMP();
JSDmg2.text = -(_parent.intPlayerJS2 * 5);
JSDmg3.text = -(_parent.intPlayerJS3 * 3);
JSDmg4.text = -(_parent.intPlayerJS4 * 4);
JSDmg5.text = -(_parent.intPlayerJS5 * 5);
Symbol 685 MovieClip Frame 11
bSVE.tabEnabled = false;
bLOD.tabEnabled = false;
bRES.tabEnabled = false;
bMNU.tabEnabled = false;
bEXT.tabEnabled = false;
bHLP.tabEnabled = false;
bQTY.tabEnabled = false;
Symbol 685 MovieClip Frame 12
bOK.tabEnabled = false;
Symbol 685 MovieClip Frame 13
txtSave.text = "";
bOK.tabEnabled = false;
_root.fncGZOSave();
Symbol 685 MovieClip Frame 14
bCNL.tabEnabled = false;
bOK.tabEnabled = false;
Symbol 685 MovieClip Frame 15
bLOD.tabEnabled = false;
bRES.tabEnabled = false;
bPFD.tabEnabled = false;
bPDX.tabEnabled = false;
Symbol 685 MovieClip Frame 16
item1.tabEnabled = false;
item2.tabEnabled = false;
item3.tabEnabled = false;
item4.tabEnabled = false;
item5.tabEnabled = false;
item6.tabEnabled = false;
BUY1.tabEnabled = false;
BUY2.tabEnabled = false;
BUY3.tabEnabled = false;
BUY4.tabEnabled = false;
BUY5.tabEnabled = false;
BUY6.tabEnabled = false;
bOK.tabEnabled = false;
txtITEM1.text = random(_parent.intPlayerLUK);
txtITEM2.text = random(_parent.intPlayerLUK);
txtITEM3.text = random(_parent.intPlayerLUK);
txtITEM4.text = random(_parent.intPlayerLUK);
txtITEM5.text = random(_parent.intPlayerLUK);
txtITEM6.text = random(_parent.intPlayerLUK);
Instance of Symbol 512 MovieClip "item1" in Symbol 685 MovieClip Frame 16
onClipEvent (load) {
stop();
}
on (release) {
with (_root) {
if ((intPlayerITEM1 > 0) and (intPlayerQST ne 1)) {
intPlayerITEM1--;
intPlayerG = intPlayerG + 30;
sndItem.start(0);
} else if ((intPlayerITEM1 > 5) and (intPlayerQST eq 1)) {
intPlayerITEM1--;
intPlayerG = intPlayerG + 30;
sndItem.start(0);
}
}
}
Instance of Symbol 515 MovieClip "item2" in Symbol 685 MovieClip Frame 16
onClipEvent (load) {
stop();
}
on (release) {
with (_root) {
if (intPlayerITEM2 > 0) {
intPlayerITEM2--;
intPlayerG = intPlayerG + 50;
sndItem.start(0);
}
}
}
Instance of Symbol 518 MovieClip "item3" in Symbol 685 MovieClip Frame 16
onClipEvent (load) {
stop();
}
on (release) {
with (_root) {
if (intPlayerITEM3 > 0) {
intPlayerITEM3--;
intPlayerG = intPlayerG + 100;
sndItem.start(0);
}
}
}
Instance of Symbol 520 MovieClip "item4" in Symbol 685 MovieClip Frame 16
onClipEvent (load) {
stop();
}
on (release) {
with (_root) {
if (intPlayerITEM4 > 0) {
intPlayerITEM4--;
intPlayerG = intPlayerG + 200;
sndItem.start(0);
}
}
}
Instance of Symbol 522 MovieClip "item5" in Symbol 685 MovieClip Frame 16
onClipEvent (load) {
stop();
}
on (release) {
with (_root) {
if (intPlayerITEM5 > 0) {
intPlayerITEM5--;
intPlayerG = intPlayerG + 150;
sndItem.start(0);
}
}
}
Instance of Symbol 524 MovieClip "item6" in Symbol 685 MovieClip Frame 16
onClipEvent (load) {
stop();
}
on (release) {
with (_root) {
if (intPlayerITEM6 > 0) {
intPlayerITEM6--;
intPlayerG = intPlayerG + 250;
sndItem.start(0);
}
}
}
Symbol 685 MovieClip Frame 17
bOK.tabEnabled = false;
Symbol 685 MovieClip Frame 18
bCNL.tabEnabled = false;
bOK.tabEnabled = false;
Symbol 685 MovieClip Frame 19
bCNL.tabEnabled = false;
bOK.tabEnabled = false;
Symbol 685 MovieClip Frame 20
bCNL.tabEnabled = false;
bOK.tabEnabled = false;
Symbol 687 Button
on (rollOver, release) {
if (((boolHitting_P ne true) and (boolWalking ne true)) and (_parent.boolGamePaused ne true)) {
_parent.PLAYER.gotoAndStop("LEFT");
_parent.CS.PlayerICO._rotation = 90;
}
if (_parent.arrIntGridPos[intPos - 1] > 265) {
_parent.ICON.gotoAndStop("ATTACK");
} else {
_parent.ICON.gotoAndStop("NORMAL");
}
}
on (rollOut) {
_parent.ICON.gotoAndStop("NORMAL");
}
on (press) {
_parent.fncPML(true);
}
Symbol 688 Button
on (rollOver, release) {
if (((boolHitting_P ne true) and (boolWalking ne true)) and (_parent.boolGamePaused ne true)) {
_parent.PLAYER.gotoAndStop("RIGHT");
_parent.CS.PlayerICO._rotation = 270;
}
if (_parent.arrIntGridPos[intPos + 1] > 265) {
_parent.ICON.gotoAndStop("ATTACK");
} else {
_parent.ICON.gotoAndStop("NORMAL");
}
}
on (rollOut) {
_parent.ICON.gotoAndStop("NORMAL");
}
on (press) {
_parent.fncPMR(true);
}
Symbol 689 Button
on (rollOver, release) {
if (((boolHitting_P ne true) and (boolWalking ne true)) and (_parent.boolGamePaused ne true)) {
_parent.PLAYER.gotoAndStop("DOWN");
_parent.CS.PlayerICO._rotation = 0;
}
if (_parent.arrIntGridPos[intPos + 19] > 265) {
_parent.ICON.gotoAndStop("ATTACK");
} else {
_parent.ICON.gotoAndStop("NORMAL");
}
}
on (rollOut) {
_parent.ICON.gotoAndStop("NORMAL");
}
on (press) {
_parent.fncPMD(true);
}
Symbol 690 Button
on (rollOver, release) {
if (((boolHitting_P ne true) and (boolWalking ne true)) and (_parent.boolGamePaused ne true)) {
_parent.PLAYER.gotoAndStop("UP");
_parent.CS.PlayerICO._rotation = 180;
}
if (_parent.arrIntGridPos[intPos - 19] > 265) {
_parent.ICON.gotoAndStop("ATTACK");
} else {
_parent.ICON.gotoAndStop("NORMAL");
}
}
on (rollOut) {
_parent.ICON.gotoAndStop("NORMAL");
}
on (press) {
_parent.fncPMU(true);
}
Symbol 693 MovieClip Frame 25
if (_root.boolGamePaused ne true) {
if (_root.intPlayerMP < _root.intPlayerMPMax) {
_root.intPlayerMP = _root.intPlayerMP + random(_root.intPlayerLV);
if (_root.intPlayerMP > _root.intPlayerMPMax) {
_root.intPlayerMP = _root.intPlayerMPMax;
}
_root.fncUpdateMP();
}
if (_root.intPlayerHP < _root.intPlayerHPMax) {
_root.intPlayerHP++;
if (_root.intPlayerHP > _root.intPlayerHPMax) {
_root.intPlayerHP = _root.intPlayerHPMax;
}
_root.fncUpdateHP(0);
}
}
Symbol 704 MovieClip Frame 1
stop();
Symbol 705 MovieClip Frame 1
stop();
Symbol 705 MovieClip Frame 14
gotoAndStop (1);
Symbol 706 MovieClip Frame 1
stop();
Symbol 847 MovieClip Frame 7
_y = (_y - 40);
boolWalking = false;
swapDepths(intPos);
_parent.arrIntGridPos[intPos + 19] = 0;
_parent.arrIntGridPos[intPos] = 2;
gotoAndStop (1);
Symbol 847 MovieClip Frame 8
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos - 19];
if (_root[_root.strTEMP].boolWalking ne true) {
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_root[_root.strTEMP].intAI / random(_root[_root.strTEMP].intHit + _root[_root.strTEMP]._currentframe))) {
_root[_root.strTEMP].boolWalking = true;
_root[_root.strTEMP].boolHit = true;
if (random((_parent.intPlayerAGI + _parent.intPlayerLV) / 5) > random(5)) {
gotoAndPlay(_currentframe + 3);
}
}
}
Symbol 847 MovieClip Frame 12
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos - 19] > 265) {
if (_parent[_root.strTEMP].boolHit or ((_parent[_root.strTEMP].ICE._currentframe < 21) and (_parent[_root.strTEMP].ICE._currentframe > 1))) {
_parent[_root.strTEMP].boolHit = false;
_parent[_root.strTEMP].enem.gotoAndPlay("HIT");
}
_parent["item" + _parent.arrIntGridPos[intPos - 19]].item.gotoAndPlay("HIT");
}
Symbol 847 MovieClip Frame 15
if (((_root[_root.strTEMP]._currentframe ne undefined) and boolAuto) and (_parent.boolGamePaused ne true)) {
gotoAndPlay (8);
} else {
boolHitting_P = false;
gotoAndStop (1);
}
Symbol 847 MovieClip Frame 16
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos - 19];
if (_root[_root.strTEMP].boolWalking ne true) {
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 3)) > (_root[_root.strTEMP].intAI / random(_root[_root.strTEMP].intHit + _root[_root.strTEMP]._currentframe))) {
_root[_root.strTEMP].boolWalking = true;
_root[_root.strTEMP].boolHit = true;
if (random((_parent.intPlayerAGI + _parent.intPlayerLV) / 5) > random(5)) {
gotoAndPlay(_currentframe + 3);
}
}
}
Symbol 847 MovieClip Frame 20
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos - 19] > 265) {
if (_parent[_root.strTEMP].boolHit or ((_parent[_root.strTEMP].ICE._currentframe < 21) and (_parent[_root.strTEMP].ICE._currentframe > 1))) {
_parent[_root.strTEMP].boolHit = false;
_parent[_root.strTEMP].ICE.intCtr = _root.intPlayerJS2 - 1;
_parent[_root.strTEMP].enem.gotoAndPlay("ICED");
_root.intCtr2 = (random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG) + _root.intPlayerPLUS_DMG;
}
_parent["item" + _parent.arrIntGridPos[intPos - 19]].item.gotoAndPlay("HIT");
}
Symbol 847 MovieClip Frame 23
_root.intPlayerATK = 1;
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS2 * 5);
_root.fncUpdateMP();
boolHitting_P = false;
gotoAndStop (1);
Symbol 847 MovieClip Frame 24
if (intPos > 18) {
intHitCtr = intPos % 19;
intCtr = 1;
while (intCtr > intHitCtr) {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intCtr];
if (((_parent.arrIntGridPos[intCtr] > 265) and (_parent[_root.strTEMP]._y < _y)) and (_parent[_root.strTEMP]._x eq _x)) {
if (_parent[_root.strTEMP].boolWalking ne true) {
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_root[_root.strTEMP].intAI / random(_root[_root.strTEMP].intHit + _root[_root.strTEMP]._currentframe))) {
_root[_root.strTEMP].boolWalking = true;
_root[_root.strTEMP].boolHit = true;
}
}
}
intCtr = intCtr - 19;
}
}
intHitCtr = 10 - _parent.intPlayerJS3;
Symbol 847 MovieClip Frame 28
if (intHitCtr > 0) {
gotoAndPlay(_currentframe - 2);
intHitCtr--;
} else {
gotoAndPlay(_currentframe + 1);
}
Symbol 847 MovieClip Frame 29
_root.sndPunch.start(0);
intCtr = 1;
while (intCtr < 265) {
if ((((_parent.arrIntGridPos[intCtr] > 265) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._y < _y)) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._x eq _x)) and _parent["enem" + _parent.arrIntGridPos[intCtr]].boolHit) {
_parent["enem" + _parent.arrIntGridPos[intCtr]].boolHit = false;
_parent["enem" + _parent.arrIntGridPos[intCtr]].ICE.intCtr = _root.intPlayerJS3 - 1;
_parent["enem" + _parent.arrIntGridPos[intCtr]].enem.gotoAndPlay("ICED");
_root.intCtr2 = ((random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG) + _root.intPlayerPLUS_DMG) / 3;
}
intCtr++;
}
Symbol 847 MovieClip Frame 32
_root.intPlayerATK = 1;
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS3 * 3);
_root.fncUpdateMP();
boolHitting_P = false;
gotoAndStop (1);
Symbol 847 MovieClip Frame 33
intHitCtr = _parent.intPlayerJS5 - 1;
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos - 19];
Symbol 847 MovieClip Frame 34
_root.sndPunch.start(0);
if ((_parent[_root.strTEMP].boolWalking ne true) or (_parent[_root.strTEMP].boolWalking and (_parent[_root.strTEMP].ICE._currentframe > 1))) {
if ((random(_parent.intPlayerDEX) + _parent.intPlayerDEX) > (_root[_root.strTEMP].intAI / random(_root[_root.strTEMP].intHit + _root[_root.strTEMP]._currentframe))) {
_parent[_root.strTEMP].boolWalking = true;
_parent[_root.strTEMP].boolHit = true;
_parent[_root.strTEMP].enem.gotoAndPlay("HIT");
}
}
Symbol 847 MovieClip Frame 36
_root.sndPunch.start(0);
if ((_parent[_root.strTEMP].boolWalking ne true) or (_parent[_root.strTEMP].boolWalking and (_parent[_root.strTEMP].ICE._currentframe > 1))) {
if ((random(_parent.intPlayerDEX) + _parent.intPlayerDEX) > (_root[_root.strTEMP].intAI / random(_root[_root.strTEMP].intHit + _root[_root.strTEMP]._currentframe))) {
_parent[_root.strTEMP].boolWalking = true;
_parent[_root.strTEMP].boolHit = true;
_parent[_root.strTEMP].enem.gotoAndPlay("HIT");
}
}
Symbol 847 MovieClip Frame 38
if (intHitCtr <= 0) {
_root.intPlayerATK = 1;
_root.fncUpdateMP();
if (((_root[_root.strTEMP]._currentframe ne undefined) and boolAuto) and (_parent.boolGamePaused ne true)) {
gotoAndPlay (8);
} else {
boolHitting_P = false;
gotoAndStop (1);
}
} else {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos - 19];
_parent[_root.strTEMP].boolHit = true;
_parent.PLAYER.boolLeech = true;
_root.intPlayerMP = _root.intPlayerMP - 5;
intHitCtr--;
gotoAndPlay(_currentframe - 4);
}
Symbol 847 MovieClip Frame 45
_x = (_x - 40);
boolWalking = false;
_parent.arrIntGridPos[intPos + 1] = 0;
_parent.arrIntGridPos[intPos] = 2;
gotoAndStop (39);
Symbol 847 MovieClip Frame 46
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos - 1];
if (_root[_root.strTEMP].boolWalking ne true) {
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_root[_root.strTEMP].intHit + _root[_root.strTEMP]._currentframe))) {
_root[_root.strTEMP].boolWalking = true;
_root[_root.strTEMP].boolHit = true;
if (random((_parent.intPlayerAGI + _parent.intPlayerLV) / 5) > random(5)) {
gotoAndPlay(_currentframe + 3);
}
}
}
Symbol 847 MovieClip Frame 50
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos - 1] > 265) {
if (_parent[_root.strTEMP].boolHit or ((_parent[_root.strTEMP].ICE._currentframe < 21) and (_parent[_root.strTEMP].ICE._currentframe > 1))) {
_parent[_root.strTEMP].boolHit = false;
_parent[_root.strTEMP].enem.gotoAndPlay("HIT");
}
_parent["item" + _parent.arrIntGridPos[intPos - 1]].item.gotoAndPlay("HIT");
}
Symbol 847 MovieClip Frame 53
if (((_root[_root.strTEMP]._currentframe ne undefined) and boolAuto) and (_parent.boolGamePaused ne true)) {
gotoAndPlay (46);
} else {
boolHitting_P = false;
gotoAndStop (39);
}
Symbol 847 MovieClip Frame 54
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos - 1];
if (_parent[_root.strTEMP].boolWalking ne true) {
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 3)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent[_root.strTEMP].boolWalking = true;
_parent[_root.strTEMP].boolHit = true;
if (random((_parent.intPlayerAGI + _parent.intPlayerLV) / 5) > random(5)) {
gotoAndPlay(_currentframe + 3);
}
}
}
Symbol 847 MovieClip Frame 58
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos - 1] > 265) {
if (_parent[_root.strTEMP].boolHit or ((_parent[_root.strTEMP].ICE._currentframe < 21) and (_parent[_root.strTEMP].ICE._currentframe > 1))) {
_parent[_root.strTEMP].boolHit = false;
_parent[_root.strTEMP].ICE.intCtr = _root.intPlayerJS2 - 1;
_parent[_root.strTEMP].enem.gotoAndPlay("ICED");
_root.intCtr2 = (random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG) + _root.intPlayerPLUS_DMG;
}
_parent["item" + _parent.arrIntGridPos[intPos - 1]].item.gotoAndPlay("HIT");
}
Symbol 847 MovieClip Frame 61
_root.intPlayerATK = 1;
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS2 * 5);
_root.fncUpdateMP();
boolHitting_P = false;
gotoAndStop (39);
Symbol 847 MovieClip Frame 62
if ((intPos % 19) ne 0) {
intHitCtr = intPos - (intPos % 19);
intCtr = intPos;
while (intCtr > intHitCtr) {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intCtr];
if (((_parent.arrIntGridPos[intCtr] > 265) and (_parent[_root.strTEMP]._y == _y)) and (_parent[_root.strTEMP]._x < _x)) {
if (_parent[_root.strTEMP].boolWalking ne true) {
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent[_root.strTEMP].boolWalking = true;
_parent[_root.strTEMP].boolHit = true;
}
}
}
intCtr--;
}
}
intHitCtr = 10 - _parent.intPlayerJS3;
Symbol 847 MovieClip Frame 66
if (intHitCtr > 0) {
gotoAndPlay(_currentframe - 2);
intHitCtr--;
} else {
gotoAndPlay(_currentframe + 1);
}
Symbol 847 MovieClip Frame 67
_root.sndPunch.start(0);
intCtr = 1;
while (intCtr < 265) {
if ((((_parent.arrIntGridPos[intCtr] > 265) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._y == _y)) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._x < _x)) and (_parent["enem" + _parent.arrIntGridPos[intCtr]].boolHit eq true)) {
_parent["enem" + _parent.arrIntGridPos[intCtr]].boolHit = false;
_parent["enem" + _parent.arrIntGridPos[intCtr]].ICE.intCtr = _root.intPlayerJS3 - 1;
_parent["enem" + _parent.arrIntGridPos[intCtr]].enem.gotoAndPlay("ICED");
_root.intCtr2 = ((random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG) + _root.intPlayerPLUS_DMG) / 3;
}
intCtr++;
}
Symbol 847 MovieClip Frame 70
_root.intPlayerATK = 1;
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS3 * 3);
_root.fncUpdateMP();
boolHitting_P = false;
gotoAndStop (39);
Symbol 847 MovieClip Frame 71
intHitCtr = _parent.intPlayerJS5 - 1;
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos - 1];
Symbol 847 MovieClip Frame 72
_root.sndPunch.start(0);
if ((_parent[_root.strTEMP].boolWalking ne true) or (_parent[_root.strTEMP].boolWalking and (_parent[_root.strTEMP].ICE._currentframe > 1))) {
if ((random(_parent.intPlayerDEX) + _parent.intPlayerDEX) > (_root[_root.strTEMP].intAI / random(_root[_root.strTEMP].intHit + _root[_root.strTEMP]._currentframe))) {
_parent[_root.strTEMP].boolWalking = true;
_parent[_root.strTEMP].boolHit = true;
_parent[_root.strTEMP].enem.gotoAndPlay("HIT");
}
}
Symbol 847 MovieClip Frame 74
_root.sndPunch.start(0);
if ((_parent[_root.strTEMP].boolWalking ne true) or (_parent[_root.strTEMP].boolWalking and (_parent[_root.strTEMP].ICE._currentframe > 1))) {
if ((random(_parent.intPlayerDEX) + _parent.intPlayerDEX) > (_root[_root.strTEMP].intAI / random(_root[_root.strTEMP].intHit + _root[_root.strTEMP]._currentframe))) {
_parent[_root.strTEMP].boolWalking = true;
_parent[_root.strTEMP].boolHit = true;
_parent[_root.strTEMP].enem.gotoAndPlay("HIT");
}
}
Symbol 847 MovieClip Frame 76
if (intHitCtr <= 0) {
_root.intPlayerATK = 1;
_root.fncUpdateMP();
if (((_root[_root.strTEMP]._currentframe ne undefined) and boolAuto) and (_parent.boolGamePaused ne true)) {
gotoAndPlay (46);
} else {
boolHitting_P = false;
gotoAndStop (39);
}
} else {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos - 1];
_parent[_root.strTEMP].boolHit = true;
_parent.PLAYER.boolLeech = true;
_root.intPlayerMP = _root.intPlayerMP - 5;
intHitCtr--;
gotoAndPlay(_currentframe - 4);
}
Symbol 847 MovieClip Frame 83
_y = (_y + 40);
boolWalking = false;
_parent.arrIntGridPos[intPos - 19] = 0;
_parent.arrIntGridPos[intPos] = 2;
gotoAndStop (77);
Symbol 847 MovieClip Frame 84
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos + 19];
if (_parent[_root.strTEMP].boolWalking ne true) {
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent[_root.strTEMP].boolWalking = true;
_parent[_root.strTEMP].boolHit = true;
if (random((_parent.intPlayerAGI + _parent.intPlayerLV) / 5) > random(5)) {
gotoAndPlay(_currentframe + 3);
}
}
}
Symbol 847 MovieClip Frame 88
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos + 19] > 265) {
if (_parent[_root.strTEMP].boolHit or ((_parent[_root.strTEMP].ICE._currentframe < 21) and (_parent[_root.strTEMP].ICE._currentframe > 1))) {
_parent[_root.strTEMP].boolHit = false;
_parent[_root.strTEMP].enem.gotoAndPlay("HIT");
}
_parent["item" + _parent.arrIntGridPos[intPos + 19]].item.gotoAndPlay("HIT");
}
Symbol 847 MovieClip Frame 91
if (((_root[_root.strTEMP]._currentframe ne undefined) and boolAuto) and (_parent.boolGamePaused ne true)) {
gotoAndPlay (84);
} else {
boolHitting_P = false;
gotoAndStop (77);
}
Symbol 847 MovieClip Frame 92
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos + 19];
if (_parent[_root.strTEMP].boolWalking ne true) {
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 3)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent[_root.strTEMP].boolWalking = true;
_parent[_root.strTEMP].boolHit = true;
if (random((_parent.intPlayerAGI + _parent.intPlayerLV) / 5) > random(5)) {
gotoAndPlay(_currentframe + 3);
}
}
}
Symbol 847 MovieClip Frame 96
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos + 19] > 265) {
if (_parent[_root.strTEMP].boolHit or ((_parent[_root.strTEMP].ICE._currentframe < 21) and (_parent[_root.strTEMP].ICE._currentframe > 1))) {
_parent[_root.strTEMP].boolHit = false;
_parent[_root.strTEMP].ICE.intCtr = _root.intPlayerJS2 - 1;
_parent[_root.strTEMP].enem.gotoAndPlay("ICED");
_root.intCtr2 = (random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG) + _root.intPlayerPLUS_DMG;
}
_parent["item" + _parent.arrIntGridPos[intPos + 19]].item.gotoAndPlay("HIT");
}
Symbol 847 MovieClip Frame 99
_root.intPlayerATK = 1;
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS2 * 5);
_root.fncUpdateMP();
boolHitting_P = false;
gotoAndStop (77);
Symbol 847 MovieClip Frame 100
if (intPos < 247) {
intHitCtr = 247 + (intPos % 19);
intCtr = intPos;
while (intCtr < intHitCtr) {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intCtr];
if (((_parent.arrIntGridPos[intCtr] > 265) and (_parent[_root.strTEMP]._y > _y)) and (_parent[_root.strTEMP]._x eq _x)) {
if (_parent[_root.strTEMP].boolWalking ne true) {
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent[_root.strTEMP].boolWalking = true;
_parent[_root.strTEMP].boolHit = true;
}
}
}
intCtr = intCtr + 19;
}
}
intHitCtr = 10 - _parent.intPlayerJS3;
Symbol 847 MovieClip Frame 104
if (intHitCtr > 0) {
gotoAndPlay(_currentframe - 2);
intHitCtr--;
} else {
gotoAndPlay(_currentframe + 1);
}
Symbol 847 MovieClip Frame 105
_root.sndPunch.start(0);
intCtr = 1;
while (intCtr < 265) {
if ((((_parent.arrIntGridPos[intCtr] > 265) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._y > _y)) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._x eq _x)) and (_parent["enem" + _parent.arrIntGridPos[intCtr]].boolHit eq true)) {
_parent["enem" + _parent.arrIntGridPos[intCtr]].boolHit = false;
_parent["enem" + _parent.arrIntGridPos[intCtr]].ICE.intCtr = _root.intPlayerJS3 - 1;
_parent["enem" + _parent.arrIntGridPos[intCtr]].enem.gotoAndPlay("ICED");
_root.intCtr2 = ((random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG) + _root.intPlayerPLUS_DMG) / 3;
}
intCtr++;
}
Symbol 847 MovieClip Frame 108
_root.intPlayerATK = 1;
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS3 * 3);
_root.fncUpdateMP();
boolHitting_P = false;
gotoAndStop (77);
Symbol 847 MovieClip Frame 109
intHitCtr = _parent.intPlayerJS5 - 1;
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos + 19];
Symbol 847 MovieClip Frame 110
_root.sndPunch.start(0);
if ((_parent[_root.strTEMP].boolWalking ne true) or (_parent[_root.strTEMP].boolWalking and (_parent[_root.strTEMP].ICE._currentframe > 1))) {
if ((random(_parent.intPlayerDEX) + _parent.intPlayerDEX) > (_root[_root.strTEMP].intAI / random(_root[_root.strTEMP].intHit + _root[_root.strTEMP]._currentframe))) {
_parent[_root.strTEMP].boolWalking = true;
_parent[_root.strTEMP].boolHit = true;
_parent[_root.strTEMP].enem.gotoAndPlay("HIT");
}
}
Symbol 847 MovieClip Frame 112
_root.sndPunch.start(0);
if ((_parent[_root.strTEMP].boolWalking ne true) or (_parent[_root.strTEMP].boolWalking and (_parent[_root.strTEMP].ICE._currentframe > 1))) {
if ((random(_parent.intPlayerDEX) + _parent.intPlayerDEX) > (_root[_root.strTEMP].intAI / random(_root[_root.strTEMP].intHit + _root[_root.strTEMP]._currentframe))) {
_parent[_root.strTEMP].boolWalking = true;
_parent[_root.strTEMP].boolHit = true;
_parent[_root.strTEMP].enem.gotoAndPlay("HIT");
}
}
Symbol 847 MovieClip Frame 114
if (intHitCtr <= 0) {
_root.intPlayerATK = 1;
_root.fncUpdateMP();
if (((_root[_root.strTEMP]._currentframe ne undefined) and boolAuto) and (_parent.boolGamePaused ne true)) {
gotoAndPlay (84);
} else {
boolHitting_P = false;
gotoAndStop (77);
}
} else {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos + 19];
_parent[_root.strTEMP].boolHit = true;
_parent.PLAYER.boolLeech = true;
_root.intPlayerMP = _root.intPlayerMP - 5;
intHitCtr--;
gotoAndPlay(_currentframe - 4);
}
Symbol 847 MovieClip Frame 121
_x = (_x + 40);
boolWalking = false;
_parent.arrIntGridPos[intPos - 1] = 0;
_parent.arrIntGridPos[intPos] = 2;
gotoAndStop (115);
Symbol 847 MovieClip Frame 122
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos + 1];
if (_parent[_root.strTEMP].boolWalking ne true) {
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent[_root.strTEMP].boolWalking = true;
_parent[_root.strTEMP].boolHit = true;
if (random((_parent.intPlayerAGI + _parent.intPlayerLV) / 5) > random(5)) {
gotoAndPlay(_currentframe + 3);
}
}
}
Symbol 847 MovieClip Frame 126
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos + 1] > 265) {
if (_parent[_root.strTEMP].boolHit or ((_parent[_root.strTEMP].ICE._currentframe < 21) and (_parent[_root.strTEMP].ICE._currentframe > 1))) {
_parent[_root.strTEMP].boolHit = false;
_parent[_root.strTEMP].enem.gotoAndPlay("HIT");
}
_parent["item" + _parent.arrIntGridPos[intPos + 1]].item.gotoAndPlay("HIT");
}
Symbol 847 MovieClip Frame 129
if (((_root[_root.strTEMP]._currentframe ne undefined) and boolAuto) and (_parent.boolGamePaused ne true)) {
gotoAndPlay (122);
} else {
boolHitting_P = false;
gotoAndStop (115);
}
Symbol 847 MovieClip Frame 130
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos + 1];
if (_parent[_root.strTEMP].boolWalking ne true) {
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 3)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent[_root.strTEMP].boolWalking = true;
_parent[_root.strTEMP].boolHit = true;
if (random((_parent.intPlayerAGI + _parent.intPlayerLV) / 5) > random(5)) {
gotoAndPlay(_currentframe + 3);
}
}
}
Symbol 847 MovieClip Frame 134
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos + 1] > 265) {
if (_parent[_root.strTEMP].boolHit or ((_parent[_root.strTEMP].ICE._currentframe < 21) and (_parent[_root.strTEMP].ICE._currentframe > 1))) {
_parent[_root.strTEMP].boolHit = false;
_parent[_root.strTEMP].ICE.intCtr = _root.intPlayerJS2 - 1;
_parent[_root.strTEMP].enem.gotoAndPlay("ICED");
_root.intCtr2 = (random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG) + _root.intPlayerPLUS_DMG;
}
_parent["item" + _parent.arrIntGridPos[intPos + 1]].item.gotoAndPlay("HIT");
}
Symbol 847 MovieClip Frame 137
_root.intPlayerATK = 1;
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS2 * 5);
_root.fncUpdateMP();
boolHitting_P = false;
gotoAndStop (115);
Symbol 847 MovieClip Frame 138
if ((intPos % 19) ne 18) {
intHitCtr = intPos + (18 - (intPos % 19));
intCtr = intPos;
while (intCtr < intHitCtr) {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intCtr];
if (((_parent.arrIntGridPos[intCtr] > 265) and (_parent[_root.strTEMP]._y eq _y)) and (_parent[_root.strTEMP]._x > _x)) {
if (_parent[_root.strTEMP].boolWalking ne true) {
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent[_root.strTEMP].boolWalking = true;
_parent[_root.strTEMP].boolHit = true;
}
}
}
intCtr++;
}
}
intHitCtr = 10 - _parent.intPlayerJS3;
Symbol 847 MovieClip Frame 142
if (intHitCtr > 0) {
gotoAndPlay(_currentframe - 2);
intHitCtr--;
} else {
gotoAndPlay(_currentframe + 1);
}
Symbol 847 MovieClip Frame 143
_root.sndPunch.start(0);
intCtr = 1;
while (intCtr < 265) {
if ((((_parent.arrIntGridPos[intCtr] > 265) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._y eq _y)) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._x > _x)) and (_parent["enem" + _parent.arrIntGridPos[intCtr]].boolHit eq true)) {
_parent["enem" + _parent.arrIntGridPos[intCtr]].boolHit = false;
_parent["enem" + _parent.arrIntGridPos[intCtr]].ICE.intCtr = _root.intPlayerJS3 - 1;
_parent["enem" + _parent.arrIntGridPos[intCtr]].enem.gotoAndPlay("ICED");
_root.intCtr2 = ((random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG) + _root.intPlayerPLUS_DMG) / 3;
}
intCtr++;
}
Symbol 847 MovieClip Frame 146
_root.intPlayerATK = 1;
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS3 * 3);
_root.fncUpdateMP();
boolHitting_P = false;
gotoAndStop (115);
Symbol 847 MovieClip Frame 147
intHitCtr = _parent.intPlayerJS5 - 1;
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos + 1];
Symbol 847 MovieClip Frame 148
_root.sndPunch.start(0);
if ((_parent[_root.strTEMP].boolWalking ne true) or (_parent[_root.strTEMP].boolWalking and (_parent[_root.strTEMP].ICE._currentframe > 1))) {
if ((random(_parent.intPlayerDEX) + _parent.intPlayerDEX) > (_root[_root.strTEMP].intAI / random(_root[_root.strTEMP].intHit + _root[_root.strTEMP]._currentframe))) {
_parent[_root.strTEMP].boolWalking = true;
_parent[_root.strTEMP].boolHit = true;
_parent[_root.strTEMP].enem.gotoAndPlay("HIT");
}
}
Symbol 847 MovieClip Frame 150
_root.sndPunch.start(0);
if ((_parent[_root.strTEMP].boolWalking ne true) or (_parent[_root.strTEMP].boolWalking and (_parent[_root.strTEMP].ICE._currentframe > 1))) {
if ((random(_parent.intPlayerDEX) + _parent.intPlayerDEX) > (_root[_root.strTEMP].intAI / random(_root[_root.strTEMP].intHit + _root[_root.strTEMP]._currentframe))) {
_parent[_root.strTEMP].boolWalking = true;
_parent[_root.strTEMP].boolHit = true;
_parent[_root.strTEMP].enem.gotoAndPlay("HIT");
}
}
Symbol 847 MovieClip Frame 152
if (intHitCtr <= 0) {
_root.intPlayerATK = 1;
_root.fncUpdateMP();
if (((_root[_root.strTEMP]._currentframe ne undefined) and boolAuto) and (_parent.boolGamePaused ne true)) {
gotoAndPlay (122);
} else {
boolHitting_P = false;
gotoAndStop (115);
}
} else {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos + 1];
_parent[_root.strTEMP].boolHit = true;
_parent.PLAYER.boolLeech = true;
_root.intPlayerMP = _root.intPlayerMP - 5;
intHitCtr--;
gotoAndPlay(_currentframe - 4);
}
Symbol 847 MovieClip Frame 153
_parent.intPlayerATK = 1;
Symbol 847 MovieClip Frame 158
_root.CS.gotoAndStop("DEAD");
stop();
Symbol 849 MovieClip Frame 1
stop();
Symbol 854 MovieClip Frame 6
_parent.play();
Symbol 903 MovieClip Frame 1
stop();
Symbol 903 MovieClip Frame 10
gotoAndPlay (2);
Symbol 903 MovieClip Frame 17
_parent._y = _parent._y - 40;
_root.arrIntGridPos[_parent.intCrntPos + 19] = 0;
_parent.swapDepths(_parent.intCrntPos);
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndPlay (2);
Symbol 903 MovieClip Frame 21
_root.sndPunch.start(0);
Symbol 903 MovieClip Frame 25
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 4) + (_root.intPlayerAGI / 2)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
gotoAndPlay (2);
Symbol 903 MovieClip Frame 32
_parent._y = _parent._y + 40;
_root.arrIntGridPos[_parent.intCrntPos - 19] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndPlay (2);
Symbol 903 MovieClip Frame 36
_root.sndPunch.start(0);
Symbol 903 MovieClip Frame 40
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 4) + (_root.intPlayerAGI / 2)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
gotoAndPlay (2);
Symbol 903 MovieClip Frame 47
_parent._x = _parent._x - 40;
_root.arrIntGridPos[_parent.intCrntPos + 1] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndPlay (2);
Symbol 903 MovieClip Frame 51
_root.sndPunch.start(0);
Symbol 903 MovieClip Frame 55
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 4) + (_root.intPlayerAGI / 2)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
gotoAndPlay (2);
Symbol 903 MovieClip Frame 62
_parent._x = _parent._x + 40;
_root.arrIntGridPos[_parent.intCrntPos - 1] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndPlay (2);
Symbol 903 MovieClip Frame 66
_root.sndPunch.start(0);
Symbol 903 MovieClip Frame 70
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 4) + (_root.intPlayerAGI / 2)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
gotoAndPlay (2);
Symbol 903 MovieClip Frame 71
_root.intCtr2 = random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG;
_parent.intEnemLife = _parent.intEnemLife - _root.intCtr2;
if (_root.PLAYER.boolLeech) {
_root.PLAYER.boolLeech = false;
if (_root.intPlayerATK < 4) {
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS4 * 4);
}
_root.fncUpdateMP();
_root.intPlayerHP = _root.intPlayerHP + int(_root.intCtr2 / (11 - _root.intPlayerJP4));
if (_root.intPlayerHP > _root.intPlayerHPMax) {
_root.intPlayerHP = _root.intPlayerHPMax;
}
_root.fncUpdateHP(0);
}
_root.fncUpdateEnemHP(_parent._name, _root.intCtr2);
_root.sndHit.start(0);
Symbol 903 MovieClip Frame 75
_parent.boolHitting = false;
if (_parent.intEnemLife < 1) {
gotoAndPlay (76);
} else if (_parent.ICE._currentframe eq 1) {
_parent.boolWalking = false;
gotoAndPlay (2);
} else {
gotoAndStop(_currentframe + 7);
}
Symbol 903 MovieClip Frame 76
_root.sndKill.start(0);
Symbol 903 MovieClip Frame 80
_parent.intHit = random(_parent.intAI) + (_parent.intAI * 1.5);
_root.intPlayerXP = _root.intPlayerXP + _parent.intHit;
if (random(_root.intPlayerLUK) > 10) {
_root.intPlayerG = _root.intPlayerG + Math.floor(random(_parent.intHit) + (_parent.intHit / 2));
}
if ((_root.gz0TIME.getDay() % 6) eq 0) {
_root.intPlayerXP = _root.intPlayerXP + (_parent.intHit * 2);
}
_root.fncUpdateXP();
if (_root.intEnemMAX < 800) {
_root.intEnemMAX++;
}
_root.fncGenerateITEM(_parent.intPosReg, _parent._x, _parent._y, _parent.intCrntPos);
stop();
Symbol 903 MovieClip Frame 81
_parent.ICE.play();
stop();
Symbol 903 MovieClip Frame 83
_parent.intEnemLife = _parent.intEnemLife - _root.intCtr2;
_root.fncUpdateEnemHP(_parent._name, _root.intCtr2);
_root.sndHit.start(0);
Symbol 903 MovieClip Frame 86
if (_parent.intEnemLife < 1) {
gotoAndPlay (76);
} else {
_parent.boolWalking = false;
gotoAndPlay (2);
}
Symbol 911 MovieClip Frame 1
stop();
Symbol 911 MovieClip Frame 2
_root.sndFire.start(0);
_parent.boolWalking = true;
Symbol 911 MovieClip Frame 21
if (intCtr > 0) {
intCtr--;
gotoAndPlay (5);
} else {
gotoAndPlay (22);
}
Symbol 911 MovieClip Frame 25
_parent.enem.play();
Symbol 959 MovieClip Frame 1
stop();
Symbol 959 MovieClip Frame 6
gotoAndPlay (2);
Symbol 959 MovieClip Frame 13
_parent._y = _parent._y - 40;
_root.arrIntGridPos[_parent.intCrntPos + 19] = 0;
_parent.swapDepths(_parent.intCrntPos);
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndPlay (2);
Symbol 959 MovieClip Frame 16
_root.sndPunch.start(0);
Symbol 959 MovieClip Frame 20
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 4) + (_root.intPlayerAGI / 2)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
gotoAndPlay (2);
Symbol 959 MovieClip Frame 27
_parent._y = _parent._y + 40;
_root.arrIntGridPos[_parent.intCrntPos - 19] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndPlay (2);
Symbol 959 MovieClip Frame 30
_root.sndPunch.start(0);
Symbol 959 MovieClip Frame 34
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 4) + (_root.intPlayerAGI / 2)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
gotoAndPlay (2);
Symbol 959 MovieClip Frame 41
_parent._x = _parent._x - 40;
_root.arrIntGridPos[_parent.intCrntPos + 1] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndPlay (2);
Symbol 959 MovieClip Frame 44
_root.sndPunch.start(0);
Symbol 959 MovieClip Frame 48
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 4) + (_root.intPlayerAGI / 2)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
gotoAndPlay (2);
Symbol 959 MovieClip Frame 55
_parent._x = _parent._x + 40;
_root.arrIntGridPos[_parent.intCrntPos - 1] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndPlay (2);
Symbol 959 MovieClip Frame 58
_root.sndPunch.start(0);
Symbol 959 MovieClip Frame 62
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 4) + (_root.intPlayerAGI / 2)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
gotoAndPlay (2);
Symbol 959 MovieClip Frame 63
_root.intCtr2 = random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG;
_parent.intEnemLife = _parent.intEnemLife - _root.intCtr2;
if (_root.PLAYER.boolLeech) {
_root.PLAYER.boolLeech = false;
if (_root.intPlayerATK < 4) {
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS4 * 4);
}
_root.fncUpdateMP();
_root.intPlayerHP = _root.intPlayerHP + int(_root.intCtr2 / (11 - _root.intPlayerJP4));
if (_root.intPlayerHP > _root.intPlayerHPMax) {
_root.intPlayerHP = _root.intPlayerHPMax;
}
_root.fncUpdateHP(0);
}
_root.fncUpdateEnemHP(_parent._name, _root.intCtr2);
_root.sndHit.start(0);
Symbol 959 MovieClip Frame 67
_parent.boolHitting = false;
if (_parent.intEnemLife < 1) {
gotoAndPlay (68);
} else if (_parent.ICE._currentframe eq 1) {
_parent.boolWalking = false;
gotoAndPlay (2);
} else {
gotoAndStop(_currentframe + 7);
}
Symbol 959 MovieClip Frame 68
_root.sndKill.start(0);
Symbol 959 MovieClip Frame 72
_parent.intHit = random(_parent.intAI) + (_parent.intAI * 1.5);
_root.intPlayerXP = _root.intPlayerXP + _parent.intHit;
if (random(_root.intPlayerLUK) > 10) {
_root.intPlayerG = _root.intPlayerG + Math.floor(random(_parent.intHit) + (_parent.intHit / 2));
}
if ((_root.gz0TIME.getDay() % 6) eq 0) {
_root.intPlayerXP = _root.intPlayerXP + (_parent.intHit * 2);
}
_root.fncUpdateXP();
if (_root.intEnemMAX < 800) {
_root.intEnemMAX++;
}
_root.fncGenerateITEM(_parent.intPosReg, _parent._x, _parent._y, _parent.intCrntPos);
stop();
Symbol 959 MovieClip Frame 73
_parent.ICE.play();
stop();
Symbol 959 MovieClip Frame 75
_parent.intEnemLife = _parent.intEnemLife - _root.intCtr2;
_root.fncUpdateEnemHP(_parent._name, _root.intCtr2);
_root.sndHit.start(0);
Symbol 959 MovieClip Frame 78
if (_parent.intEnemLife < 1) {
gotoAndPlay (68);
} else {
_parent.boolWalking = false;
gotoAndPlay (2);
}
Symbol 1021 MovieClip Frame 1
stop();
Symbol 1021 MovieClip Frame 3
stop();
Symbol 1021 MovieClip Frame 14
_parent._y = _parent._y + 40;
_root.arrIntGridPos[_parent.intCrntPos - 19] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndStop (4);
Symbol 1021 MovieClip Frame 16
_root.sndPunch.start(0);
Symbol 1021 MovieClip Frame 20
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 4) + (_root.intPlayerAGI / 3)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
gotoAndStop (4);
Symbol 1021 MovieClip Frame 31
_parent._y = _parent._y - 40;
_root.arrIntGridPos[_parent.intCrntPos + 19] = 0;
_parent.swapDepths(_parent.intCrntPos);
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndStop (21);
Symbol 1021 MovieClip Frame 33
_root.sndPunch.start(0);
Symbol 1021 MovieClip Frame 37
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 4) + (_root.intPlayerAGI / 3)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
gotoAndStop (21);
Symbol 1021 MovieClip Frame 48
_parent._x = _parent._x - 40;
_root.arrIntGridPos[_parent.intCrntPos + 1] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndStop (38);
Symbol 1021 MovieClip Frame 50
_root.sndPunch.start(0);
Symbol 1021 MovieClip Frame 54
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 4) + (_root.intPlayerAGI / 3)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
gotoAndStop (38);
Symbol 1021 MovieClip Frame 65
_parent._x = _parent._x + 40;
_root.arrIntGridPos[_parent.intCrntPos - 1] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndStop (55);
Symbol 1021 MovieClip Frame 67
_root.sndPunch.start(0);
Symbol 1021 MovieClip Frame 71
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 4) + (_root.intPlayerAGI / 3)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
gotoAndStop (55);
Symbol 1021 MovieClip Frame 72
_root.intCtr2 = random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG;
_parent.intEnemLife = _parent.intEnemLife - _root.intCtr2;
if (_root.PLAYER.boolLeech) {
_root.PLAYER.boolLeech = false;
if (_root.intPlayerATK < 4) {
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS4 * 4);
}
_root.fncUpdateMP();
_root.intPlayerHP = _root.intPlayerHP + int(_root.intCtr2 / (10 - _root.intPlayerJP4));
if (_root.intPlayerHP > _root.intPlayerHPMax) {
_root.intPlayerHP = _root.intPlayerHPMax;
}
_root.fncUpdateHP(0);
}
_root.fncUpdateEnemHP(_parent._name, _root.intCtr2);
_root.sndHit.start(0);
Symbol 1021 MovieClip Frame 75
_parent.boolHitting = false;
if (_parent.intEnemLife < 1) {
gotoAndPlay (76);
} else if (_parent.ICE._currentframe eq 1) {
_parent.boolWalking = false;
gotoAndStop (4);
} else {
gotoAndStop(_currentframe + 7);
}
Symbol 1021 MovieClip Frame 76
_root.sndKill.start(0);
Symbol 1021 MovieClip Frame 80
_parent.intHit = random(_parent.intAI) + (_parent.intAI * 1.5);
_root.intPlayerXP = _root.intPlayerXP + _parent.intHit;
if (random(_root.intPlayerLUK) > 10) {
_root.intPlayerG = _root.intPlayerG + Math.floor(random(_parent.intHit) + (_parent.intHit / 2));
}
if ((_root.gz0TIME.getDay() % 6) eq 0) {
_root.intPlayerXP = _root.intPlayerXP + (_parent.intHit * 2);
}
_root.fncUpdateXP();
if (_root.intEnemMAX < 800) {
_root.intEnemMAX++;
}
_root.fncGenerateITEM(_parent.intPosReg, _parent._x, _parent._y, _parent.intCrntPos);
stop();
Symbol 1021 MovieClip Frame 81
_parent.ICE.play();
stop();
Symbol 1021 MovieClip Frame 83
_parent.intEnemLife = _parent.intEnemLife - _root.intCtr2;
_root.fncUpdateEnemHP(_parent._name, _root.intCtr2);
_root.sndHit.start(0);
Symbol 1021 MovieClip Frame 85
if (_parent.intEnemLife < 1) {
gotoAndPlay (76);
} else {
_parent.boolWalking = false;
gotoAndPlay (1);
}
Symbol 1079 MovieClip Frame 1
stop();
Symbol 1079 MovieClip Frame 3
stop();
Symbol 1079 MovieClip Frame 14
_parent._y = _parent._y + 40;
_root.arrIntGridPos[_parent.intCrntPos - 19] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndStop (4);
Symbol 1079 MovieClip Frame 16
_root.sndPunch.start(0);
Symbol 1079 MovieClip Frame 20
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 4) + (_root.intPlayerAGI / 3)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
gotoAndStop (4);
Symbol 1079 MovieClip Frame 31
_parent._y = _parent._y - 40;
_root.arrIntGridPos[_parent.intCrntPos + 19] = 0;
_parent.swapDepths(_parent.intCrntPos);
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndStop (21);
Symbol 1079 MovieClip Frame 33
_root.sndPunch.start(0);
Symbol 1079 MovieClip Frame 37
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 4) + (_root.intPlayerAGI / 3)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
gotoAndStop (21);
Symbol 1079 MovieClip Frame 48
_parent._x = _parent._x - 40;
_root.arrIntGridPos[_parent.intCrntPos + 1] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndStop (38);
Symbol 1079 MovieClip Frame 50
_root.sndPunch.start(0);
Symbol 1079 MovieClip Frame 54
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 4) + (_root.intPlayerAGI / 3)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
gotoAndStop (38);
Symbol 1079 MovieClip Frame 65
_parent._x = _parent._x + 40;
_root.arrIntGridPos[_parent.intCrntPos - 1] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndStop (55);
Symbol 1079 MovieClip Frame 67
_root.sndPunch.start(0);
Symbol 1079 MovieClip Frame 71
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 4) + (_root.intPlayerAGI / 3)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
gotoAndStop (55);
Symbol 1079 MovieClip Frame 72
_root.intCtr2 = random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG;
_parent.intEnemLife = _parent.intEnemLife - _root.intCtr2;
if (_root.PLAYER.boolLeech) {
_root.PLAYER.boolLeech = false;
if (_root.intPlayerATK < 4) {
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS4 * 4);
}
_root.fncUpdateMP();
_root.intPlayerHP = _root.intPlayerHP + int(_root.intCtr2 / (10 - _root.intPlayerJP4));
if (_root.intPlayerHP > _root.intPlayerHPMax) {
_root.intPlayerHP = _root.intPlayerHPMax;
}
_root.fncUpdateHP(0);
}
_root.fncUpdateEnemHP(_parent._name, _root.intCtr2);
_root.sndHit.start(0);
Symbol 1079 MovieClip Frame 75
_parent.boolHitting = false;
if (_parent.intEnemLife < 1) {
gotoAndPlay (76);
} else if (_parent.ICE._currentframe eq 1) {
_parent.boolWalking = false;
gotoAndStop (4);
} else {
gotoAndStop(_currentframe + 7);
}
Symbol 1079 MovieClip Frame 76
_root.sndKill.start(0);
Symbol 1079 MovieClip Frame 80
_parent.intHit = random(_parent.intAI) + (_parent.intAI * 1.5);
_root.intPlayerXP = _root.intPlayerXP + _parent.intHit;
if (random(_root.intPlayerLUK) > 10) {
_root.intPlayerG = _root.intPlayerG + Math.floor(random(_parent.intHit) + (_parent.intHit / 2));
}
if ((_root.gz0TIME.getDay() % 6) eq 0) {
_root.intPlayerXP = _root.intPlayerXP + (_parent.intHit * 2);
}
_root.fncUpdateXP();
if (_root.intEnemMAX < 800) {
_root.intEnemMAX++;
}
_root.fncGenerateITEM(_parent.intPosReg, _parent._x, _parent._y, _parent.intCrntPos);
stop();
Symbol 1079 MovieClip Frame 81
_parent.ICE.play();
stop();
Symbol 1079 MovieClip Frame 83
_parent.intEnemLife = _parent.intEnemLife - _root.intCtr2;
_root.fncUpdateEnemHP(_parent._name, _root.intCtr2);
_root.sndHit.start(0);
Symbol 1079 MovieClip Frame 85
if (_parent.intEnemLife < 1) {
gotoAndPlay (76);
} else {
_parent.boolWalking = false;
gotoAndPlay (1);
}
Symbol 1137 MovieClip Frame 1
stop();
Symbol 1137 MovieClip Frame 3
stop();
Symbol 1137 MovieClip Frame 14
_parent._y = _parent._y + 40;
_root.arrIntGridPos[_parent.intCrntPos - 19] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndStop (4);
Symbol 1137 MovieClip Frame 16
_root.sndPunch.start(0);
Symbol 1137 MovieClip Frame 20
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 4) + (_root.intPlayerAGI / 3)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
gotoAndStop (4);
Symbol 1137 MovieClip Frame 31
_parent._y = _parent._y - 40;
_root.arrIntGridPos[_parent.intCrntPos + 19] = 0;
_parent.swapDepths(_parent.intCrntPos);
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndStop (21);
Symbol 1137 MovieClip Frame 33
_root.sndPunch.start(0);
Symbol 1137 MovieClip Frame 37
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 4) + (_root.intPlayerAGI / 3)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
gotoAndStop (21);
Symbol 1137 MovieClip Frame 48
_parent._x = _parent._x - 40;
_root.arrIntGridPos[_parent.intCrntPos + 1] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndStop (38);
Symbol 1137 MovieClip Frame 50
_root.sndPunch.start(0);
Symbol 1137 MovieClip Frame 54
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 4) + (_root.intPlayerAGI / 3)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
gotoAndStop (38);
Symbol 1137 MovieClip Frame 65
_parent._x = _parent._x + 40;
_root.arrIntGridPos[_parent.intCrntPos - 1] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndStop (55);
Symbol 1137 MovieClip Frame 67
_root.sndPunch.start(0);
Symbol 1137 MovieClip Frame 71
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 4) + (_root.intPlayerAGI / 3)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
gotoAndStop (55);
Symbol 1137 MovieClip Frame 72
_root.intCtr2 = random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG;
_parent.intEnemLife = _parent.intEnemLife - _root.intCtr2;
if (_root.PLAYER.boolLeech) {
_root.PLAYER.boolLeech = false;
if (_root.intPlayerATK < 4) {
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS4 * 4);
}
_root.fncUpdateMP();
_root.intPlayerHP = _root.intPlayerHP + int(_root.intCtr2 / (10 - _root.intPlayerJP4));
if (_root.intPlayerHP > _root.intPlayerHPMax) {
_root.intPlayerHP = _root.intPlayerHPMax;
}
_root.fncUpdateHP(0);
}
_root.fncUpdateEnemHP(_parent._name, _root.intCtr2);
_root.sndHit.start(0);
Symbol 1137 MovieClip Frame 75
_parent.boolHitting = false;
if (_parent.intEnemLife < 1) {
gotoAndPlay (76);
} else if (_parent.ICE._currentframe eq 1) {
_parent.boolWalking = false;
gotoAndStop (4);
} else {
gotoAndStop(_currentframe + 7);
}
Symbol 1137 MovieClip Frame 76
_root.sndKill.start(0);
Symbol 1137 MovieClip Frame 80
_parent.intHit = random(_parent.intAI) + (_parent.intAI * 1.5);
_root.intPlayerXP = _root.intPlayerXP + _parent.intHit;
if (random(_root.intPlayerLUK) > 10) {
_root.intPlayerG = _root.intPlayerG + Math.floor(random(_parent.intHit) + (_parent.intHit / 2));
}
if ((_root.gz0TIME.getDay() % 6) eq 0) {
_root.intPlayerXP = _root.intPlayerXP + (_parent.intHit * 2);
}
_root.fncUpdateXP();
if (_root.intEnemMAX < 800) {
_root.intEnemMAX++;
}
_root.fncGenerateITEM(_parent.intPosReg, _parent._x, _parent._y, _parent.intCrntPos);
stop();
Symbol 1137 MovieClip Frame 81
_parent.ICE.play();
stop();
Symbol 1137 MovieClip Frame 83
_parent.intEnemLife = _parent.intEnemLife - _root.intCtr2;
_root.fncUpdateEnemHP(_parent._name, _root.intCtr2);
_root.sndHit.start(0);
Symbol 1137 MovieClip Frame 85
if (_parent.intEnemLife < 1) {
gotoAndPlay (76);
} else {
_parent.boolWalking = false;
gotoAndPlay (1);
}
Symbol 1190 MovieClip Frame 15
gotoAndStop (11);
Symbol 1190 MovieClip Frame 20
_parent._y = _parent._y - 40;
_root.arrIntGridPos[_parent.intCrntPos + 19] = 0;
_parent.swapDepths(_parent.intCrntPos);
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndPlay (11);
Symbol 1190 MovieClip Frame 24
_root.sndPunch.start(0);
Symbol 1190 MovieClip Frame 27
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 5) + (_root.intPlayerAGI / 4)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
if (((_parent._x lt 720) and (_root.arrIntGridPos[_parent.intCrntPos + 1] eq 0)) and (_parent.boolWalking ne true)) {
_parent.boolWalking = true;
_root.arrIntGridPos[_parent.intCrntPos] = 1;
_parent.intCrntPos++;
_root.arrIntGridPos[_parent.intCrntPos] = 1;
_parent.swapDepths(_parent.intCrntPos);
gotoAndPlay (52);
} else if (((_parent._x > 80) and (_root.arrIntGridPos[_parent.intCrntPos - 1] eq 0)) and (_parent.boolWalking ne true)) {
_parent.boolWalking = true;
_root.arrIntGridPos[_parent.intCrntPos] = 1;
_parent.intCrntPos--;
_root.arrIntGridPos[_parent.intCrntPos] = 1;
_parent.swapDepths(_parent.intCrntPos);
gotoAndPlay (40);
} else {
gotoAndPlay (11);
}
Symbol 1190 MovieClip Frame 32
_parent._y = _parent._y + 40;
_root.arrIntGridPos[_parent.intCrntPos - 19] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndPlay (11);
Symbol 1190 MovieClip Frame 36
_root.sndPunch.start(0);
Symbol 1190 MovieClip Frame 39
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 5) + (_root.intPlayerAGI / 4)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
if (((_parent._x > 80) and (_root.arrIntGridPos[_parent.intCrntPos - 1] eq 0)) and (_parent.boolWalking ne true)) {
_parent.boolWalking = true;
_root.arrIntGridPos[_parent.intCrntPos] = 1;
_parent.intCrntPos--;
_root.arrIntGridPos[_parent.intCrntPos] = 1;
_parent.swapDepths(_parent.intCrntPos);
gotoAndPlay (40);
} else if (((_parent._x lt 720) and (_root.arrIntGridPos[_parent.intCrntPos + 1] eq 0)) and (_parent.boolWalking ne true)) {
_parent.boolWalking = true;
_root.arrIntGridPos[_parent.intCrntPos] = 1;
_parent.intCrntPos++;
_root.arrIntGridPos[_parent.intCrntPos] = 1;
_parent.swapDepths(_parent.intCrntPos);
gotoAndPlay (52);
} else {
gotoAndPlay (11);
}
Symbol 1190 MovieClip Frame 44
_parent._x = _parent._x - 40;
_root.arrIntGridPos[_parent.intCrntPos + 1] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndPlay (11);
Symbol 1190 MovieClip Frame 48
_root.sndPunch.start(0);
Symbol 1190 MovieClip Frame 51
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 5) + (_root.intPlayerAGI / 4)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
if (((_parent._y lt 520) and (_root.arrIntGridPos[_parent.intCrntPos + 19] eq 0)) and (_parent.boolWalking ne true)) {
_parent.boolWalking = true;
_root.arrIntGridPos[_parent.intCrntPos] = 1;
_parent.intCrntPos = _parent.intCrntPos + 19;
_root.arrIntGridPos[_parent.intCrntPos] = 1;
_parent.swapDepths(_parent.intCrntPos);
gotoAndPlay (28);
} else if (((_parent._y > 80) and (_root.arrIntGridPos[_parent.intCrntPos - 19] eq 0)) and (_parent.boolWalking ne true)) {
_parent.boolWalking = true;
_root.arrIntGridPos[_parent.intCrntPos] = 1;
_parent.intCrntPos = _parent.intCrntPos - 19;
_root.arrIntGridPos[_parent.intCrntPos] = 1;
gotoAndPlay (16);
} else {
gotoAndPlay (11);
}
Symbol 1190 MovieClip Frame 56
_parent._x = _parent._x + 40;
_root.arrIntGridPos[_parent.intCrntPos - 1] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
gotoAndPlay (11);
Symbol 1190 MovieClip Frame 60
_root.sndPunch.start(0);
Symbol 1190 MovieClip Frame 63
_parent.boolHitting = false;
if ((Math.floor(random(_root.intPlayerAGI / 5) + (_root.intPlayerAGI / 4)) < random(_parent.intHit)) and (_root.PLAYER.boolWalking ne true)) {
_root.fncHitPlayer(_parent._name);
}
if (((_parent._y > 80) and (_root.arrIntGridPos[_parent.intCrntPos - 19] eq 0)) and (_parent.boolWalking ne true)) {
_parent.boolWalking = true;
_root.arrIntGridPos[_parent.intCrntPos] = 1;
_parent.intCrntPos = _parent.intCrntPos - 19;
_root.arrIntGridPos[_parent.intCrntPos] = 1;
gotoAndPlay (16);
} else if (((_parent._y lt 520) and (_root.arrIntGridPos[_parent.intCrntPos + 19] eq 0)) and (_parent.boolWalking ne true)) {
_parent.boolWalking = true;
_root.arrIntGridPos[_parent.intCrntPos] = 1;
_parent.intCrntPos = _parent.intCrntPos + 19;
_root.arrIntGridPos[_parent.intCrntPos] = 1;
_parent.swapDepths(_parent.intCrntPos);
gotoAndPlay (28);
} else {
gotoAndPlay (11);
}
Symbol 1190 MovieClip Frame 64
_root.intCtr2 = random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG;
_parent.intEnemLife = _parent.intEnemLife - _root.intCtr2;
if (_root.PLAYER.boolLeech) {
_root.PLAYER.boolLeech = false;
if (_root.intPlayerATK < 4) {
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS4 * 4);
}
_root.fncUpdateMP();
_root.intPlayerHP = _root.intPlayerHP + int(_root.intCtr2 / (10 - _root.intPlayerJP4));
if (_root.intPlayerHP > _root.intPlayerHPMax) {
_root.intPlayerHP = _root.intPlayerHPMax;
}
_root.fncUpdateHP(0);
}
_root.fncUpdateEnemHP(_parent._name, _root.intCtr2);
_root.sndHit.start(0);
Symbol 1190 MovieClip Frame 67
_parent.boolHitting = false;
if (_parent.intEnemLife < 1) {
gotoAndPlay (68);
} else if (_parent.ICE._currentframe eq 1) {
_parent.boolWalking = false;
gotoAndPlay (11);
} else {
gotoAndStop(_currentframe + 5);
}
Symbol 1190 MovieClip Frame 68
_root.sndKill.start(0);
Symbol 1190 MovieClip Frame 70
_parent.intHit = random(_parent.intAI) + (_parent.intAI * 1.5);
_root.intPlayerXP = _root.intPlayerXP + _parent.intHit;
if (random(_root.intPlayerLUK) > 10) {
_root.intPlayerG = _root.intPlayerG + Math.floor(random(_parent.intHit) + (_parent.intHit / 2));
}
if ((_root.gz0TIME.getDay() % 6) eq 0) {
_root.intPlayerXP = _root.intPlayerXP + (_parent.intHit * 2);
}
_root.fncUpdateXP();
if (_root.intEnemMAX < 800) {
_root.intEnemMAX++;
}
_root.fncGenerateITEM(_parent.intPosReg, _parent._x, _parent._y, _parent.intCrntPos);
stop();
Symbol 1190 MovieClip Frame 71
_parent.ICE.play();
stop();
Symbol 1190 MovieClip Frame 73
_parent.intEnemLife = _parent.intEnemLife - _root.intCtr2;
_root.fncUpdateEnemHP(_parent._name, _root.intCtr2);
_root.sndHit.start(0);
Symbol 1190 MovieClip Frame 75
if (_parent.intEnemLife < 1) {
gotoAndPlay (68);
} else {
_parent.boolWalking = false;
gotoAndPlay (11);
}
Symbol 1233 MovieClip Frame 1
stop();
Symbol 1233 MovieClip Frame 23
gotoAndPlay (2);
Symbol 1233 MovieClip Frame 32
_parent._y = _parent._y - 40;
_root.arrIntGridPos[_parent.intCrntPos + 19] = 0;
_parent.swapDepths(_parent.intCrntPos);
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
trace("UP");
gotoAndPlay (2);
Symbol 1233 MovieClip Frame 36
_root.sndPunch.start(0);
Symbol 1233 MovieClip Frame 40
_parent.boolHitting = false;
with (_parent) {
if ((random(_parent.intPlayerAGI / 10) < random(intHit)) and (_parent.PLAYER.boolWalking eq false)) {
_parent.fncHitPlayer(_name);
}
trace("attack UP");
fncMoveX();
}
Symbol 1233 MovieClip Frame 49
_parent._y = _parent._y + 40;
_root.arrIntGridPos[_parent.intCrntPos - 19] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
trace("DOWN");
gotoAndPlay (2);
Symbol 1233 MovieClip Frame 53
_root.sndPunch.start(0);
Symbol 1233 MovieClip Frame 57
_parent.boolHitting = false;
with (_parent) {
if ((random(_parent.intPlayerAGI / 10) < random(intHit)) and (_root.PLAYER.boolWalking eq false)) {
_parent.fncHitPlayer(_name);
}
trace("attack DOWN");
fncMoveX();
}
Symbol 1233 MovieClip Frame 66
_parent._x = _parent._x - 40;
_root.arrIntGridPos[_parent.intCrntPos + 1] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
trace("LEFT");
gotoAndPlay (2);
Symbol 1233 MovieClip Frame 70
_root.sndPunch.start(0);
Symbol 1233 MovieClip Frame 74
_parent.boolHitting = false;
with (_parent) {
if ((random(_parent.intPlayerAGI / 10) < random(intHit)) and (_root.PLAYER.boolWalking eq false)) {
_parent.fncHitPlayer(_name);
}
trace("attack LEFT");
fncMoveY();
}
Symbol 1233 MovieClip Frame 83
_parent._x = _parent._x + 40;
_root.arrIntGridPos[_parent.intCrntPos - 1] = 0;
_root.arrIntGridPos[_parent.intCrntPos] = _parent.intPosReg;
_parent.boolWalking = false;
trace("RIGHT");
gotoAndPlay (2);
Symbol 1233 MovieClip Frame 87
_root.sndPunch.start(0);
Symbol 1233 MovieClip Frame 91
_parent.boolHitting = false;
with (_parent) {
if ((random(_parent.intPlayerAGI / 10) < random(intHit)) and (_root.PLAYER.boolWalking eq false)) {
_parent.fncHitPlayer(_name);
}
trace("attack RIGHT");
fncMoveY();
}
Symbol 1233 MovieClip Frame 92
_root.intCtr2 = random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG;
_parent.intEnemLife = _parent.intEnemLife - _root.intCtr2;
_parent.intAI = _parent.intAI - (_root.intCtr2 / 3);
if (_root.PLAYER.boolLeech) {
_root.PLAYER.boolLeech = false;
if (_root.intPlayerATK < 4) {
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS4 * 4);
}
_root.fncUpdateMP();
_root.intPlayerHP = _root.intPlayerHP + int(_root.intCtr2 / (10 - _root.intPlayerJP4));
if (_root.intPlayerHP > _root.intPlayerHPMax) {
_root.intPlayerHP = _root.intPlayerHPMax;
}
_root.fncUpdateHP(0);
}
_root.fncUpdateEnemHP(_parent._name, _root.intCtr2);
_root.sndHit.start(0);
Symbol 1233 MovieClip Frame 95
_parent.boolHitting = false;
trace("HIT");
if (_parent.intEnemLife < 1) {
gotoAndPlay (96);
} else if (_parent.ICE._currentframe eq 1) {
_parent.boolWalking = false;
gotoAndPlay (2);
} else {
gotoAndStop(_currentframe + 10);
}
Symbol 1233 MovieClip Frame 96
_root.sndKill.start(0);
Symbol 1233 MovieClip Frame 103
_parent.intHit = random(_parent.intAI) + (_parent.intAI * 1.5);
_root.intPlayerXP = _root.intPlayerXP + _parent.intHit;
if (random(_root.intPlayerLUK) > 10) {
_root.intPlayerG = _root.intPlayerG + Math.floor(random(_parent.intHit) + (_parent.intHit / 2));
}
if ((_root.gz0TIME.getDay() % 6) eq 0) {
_root.intPlayerXP = _root.intPlayerXP + (_parent.intHit * 2);
}
_root.fncUpdateXP();
if (_root.intEnemMAX < 800) {
_root.intEnemMAX++;
}
removeMovieClip(_root.PLAYER);
removeMovieClip(_root.CS);
_root.gotoAndPlay("playFinale");
stop();
Symbol 1233 MovieClip Frame 104
_parent.ICE.play();
stop();
Symbol 1233 MovieClip Frame 107
_parent.intEnemLife = _parent.intEnemLife - _root.intCtr2;
_parent.intAI = _parent.intAI - (_root.intCtr2 / 3);
_root.fncUpdateEnemHP(_parent._name, _root.intCtr2);
_root.sndHit.start(0);
Symbol 1233 MovieClip Frame 109
if (_parent.intEnemLife < 1) {
gotoAndPlay (96);
} else {
_parent.boolWalking = false;
gotoAndPlay (2);
}
Symbol 1240 MovieClip Frame 1
stop();
Symbol 1240 MovieClip Frame 6
_root.intCtr2 = random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG;
_parent.intEnemLife = _parent.intEnemLife - _root.intCtr2;
if (_root.PLAYER.boolLeech) {
_root.PLAYER.boolLeech = false;
if (_root.intPlayerATK < 4) {
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS4 * 4);
}
_root.fncUpdateMP();
_root.intPlayerHP = _root.intPlayerHP + int(_root.intCtr2 / (11 - _root.intPlayerJP4));
if (_root.intPlayerHP > _root.intPlayerHPMax) {
_root.intPlayerHP = _root.intPlayerHPMax;
}
_root.fncUpdateHP(0);
}
_root.fncUpdateEnemHP(_parent._name, _root.intCtr2);
_root.sndHit.start(0);
Symbol 1240 MovieClip Frame 10
_parent.boolHitting = false;
if (_parent.intEnemLife < 1) {
gotoAndPlay (11);
} else if (_parent.ICE._currentframe eq 1) {
_parent.boolWalking = false;
gotoAndPlay (2);
} else {
gotoAndStop(_currentframe + 7);
}
Symbol 1240 MovieClip Frame 11
_root.sndKill.start(0);
Symbol 1240 MovieClip Frame 15
_parent.intHit = random(_parent.intAI) + (_parent.intAI * 1.5);
_root.intPlayerXP = _root.intPlayerXP + _parent.intHit;
if (random(_root.intPlayerLUK) > 10) {
_root.intPlayerG = _root.intPlayerG + Math.floor(random(_parent.intHit) + (_parent.intHit / 2));
}
if ((_root.gz0TIME.getDay() % 6) eq 0) {
_root.intPlayerXP = _root.intPlayerXP + (_parent.intHit * 2);
}
_root.fncUpdateXP();
if (_root.intEnemMAX < 800) {
_root.intEnemMAX++;
}
_root.fncGenerateITEM(_parent.intPosReg, _parent._x, _parent._y, _parent.intCrntPos);
stop();
Symbol 1240 MovieClip Frame 16
_parent.ICE.play();
stop();
Symbol 1240 MovieClip Frame 18
_parent.intEnemLife = _parent.intEnemLife - _root.intCtr2;
_root.fncUpdateEnemHP(_parent._name, _root.intCtr2);
_root.sndHit.start(0);
Symbol 1240 MovieClip Frame 21
if (_parent.intEnemLife < 1) {
gotoAndPlay (11);
} else {
_parent.boolWalking = false;
gotoAndPlay (2);
}
Symbol 1241 MovieClip Frame 1
intAI = random(2) + 1;
intHit = int(intAI * 3);
intEnemLife = int(intAI * 5) + 50;
Symbol 1241 MovieClip Frame 2
intAI = random(2) + 3;
intHit = int(intAI * 3);
intEnemLife = int(intAI * 5) + 50;
Symbol 1241 MovieClip Frame 3
intAI = random(3) + 4;
intHit = int(intAI * 3);
intEnemLife = int(intAI * 5) + 50;
Symbol 1241 MovieClip Frame 4
intAI = random(2) + 5;
intHit = int(intAI * 3);
intEnemLife = int(intAI * 5) + 50;
Symbol 1241 MovieClip Frame 5
intAI = random(5) + 6;
intHit = int(intAI * 3);
intEnemLife = int(intAI * 5) + 50;
Symbol 1241 MovieClip Frame 6
intAI = random(2) + 9;
intHit = int(intAI * 3);
intEnemLife = int(intAI * 5) + 50;
Symbol 1241 MovieClip Frame 7
intAI = random(4) + 15;
intHit = int(intAI * 3);
intEnemLife = int(intAI * 5) + 50;
Symbol 1241 MovieClip Frame 8
intAI = random(3) + 30;
intHit = int(intAI / 2);
intEnemLife = int(intAI / 3) + 200;
Symbol 1241 MovieClip Frame 9
intAI = random(2) + 41;
intHit = int(intAI / 2);
intEnemLife = int(intAI / 3) + 200;
Symbol 1241 MovieClip Frame 10
intAI = 52;
intHit = int(intAI / 2);
intEnemLife = int(intAI / 3) + 200;
Symbol 1241 MovieClip Frame 11
intAI = random(8) + 50;
intHit = int(intAI / 2);
intEnemLife = int(intAI / 3) + 200;
Symbol 1241 MovieClip Frame 12
intAI = random(3) + 70;
intHit = int(intAI / 2);
intEnemLife = int(intAI / 3) + 200;
Symbol 1241 MovieClip Frame 13
intAI = 87;
intHit = int(intAI / 2);
intEnemLife = int(intAI / 3) + 200;
Symbol 1241 MovieClip Frame 14
intAI = random(11) + 90;
intHit = int(intAI / 2);
intEnemLife = int(intAI / 3) + 200;
Symbol 1241 MovieClip Frame 15
intAI = random(4) + 112;
intHit = int(intAI / 2);
intEnemLife = int(intAI / 3) + 200;
Symbol 1241 MovieClip Frame 16
intAI = 130;
intHit = int(intAI / 2);
intEnemLife = int(intAI / 3) + 200;
Symbol 1241 MovieClip Frame 17
intAI = random(6) + 170;
intHit = int(intAI / 2);
intEnemLife = int(intAI / 3) + 200;
Symbol 1241 MovieClip Frame 18
intAI = random(4) + 197;
intHit = int(intAI / 2);
intEnemLife = int(intAI / 3) + 200;
Symbol 1241 MovieClip Frame 19
intAI = 210;
intHit = int(intAI / 2);
intEnemLife = int(intAI / 3) + 200;
Symbol 1241 MovieClip Frame 20
intAI = random(8) + 300;
intHit = int(intAI / 2);
intEnemLife = int(intAI / 3) + 200;
Symbol 1241 MovieClip Frame 21
intAI = random(3) + 335;
intHit = int(intAI / 2);
intEnemLife = int(intAI / 3) + 200;
Symbol 1241 MovieClip Frame 22
intAI = 347;
intHit = int(intAI / 2);
intEnemLife = int(intAI / 3) + 200;
Symbol 1241 MovieClip Frame 23
intAI = random(19) + 520;
intHit = int(intAI / 2);
intEnemLife = int(intAI / 3) + 200;
Symbol 1241 MovieClip Frame 24
intAI = random(9) + 565;
intHit = int(intAI / 2);
intEnemLife = int(intAI / 3) + 200;
Symbol 1241 MovieClip Frame 25
intAI = 608;
intHit = int(intAI / 2);
intEnemLife = int(intAI / 3) + 200;
Symbol 1241 MovieClip Frame 26
intAI = random(43) + 900;
intHit = int(intAI / 25);
intEnemLife = int(intAI / 3) + 70;
Symbol 1241 MovieClip Frame 27
intAI = random(51) + 1600;
intHit = int(intAI / 25);
intEnemLife = int(intAI / 3) + 70;
Symbol 1241 MovieClip Frame 28
intAI = random(38) + 2850;
intHit = int(intAI / 25);
intEnemLife = int(intAI / 3) + 70;
Symbol 1241 MovieClip Frame 29
intAI = random(54) + 5000;
intHit = int(intAI / 25);
intEnemLife = int(intAI / 3) + 70;
Symbol 1241 MovieClip Frame 30
intAI = random(44) + 8800;
intHit = int(intAI / 25);
intEnemLife = int(intAI / 3) + 70;
Symbol 1241 MovieClip Frame 31
intAI = random(76) + 15400;
intHit = int(intAI / 25);
intEnemLife = int(intAI / 3) + 70;
Symbol 1241 MovieClip Frame 32
function fncStay() {
boolWalking = false;
enem.gotoAndPlay("STAND");
}
function fncMoveX() {
intDmg = random(intHit);
if ((intDmg % 2) eq 0) {
if ((_x < 720) and (_parent.arrIntGridPos[intCrntPos + 1] eq 0)) {
_parent.fncEnemMoveBfr(_name);
intCrntPos++;
_parent.arrIntGridPos[intCrntPos] = 1;
swapDepths(intCrntPos);
enem.gotoAndPlay("RIGHT");
} else if ((_x > 80) and (_parent.arrIntGridPos[intCrntPos - 1] eq 0)) {
_parent.fncEnemMoveBfr(_name);
intCrntPos--;
_parent.arrIntGridPos[intCrntPos] = 1;
swapDepths(intCrntPos);
enem.gotoAndPlay("LEFT");
} else {
fncStay();
}
} else if ((intDmg % 2) eq 1) {
if ((_x > 80) and (_parent.arrIntGridPos[intCrntPos - 1] eq 0)) {
_parent.fncEnemMoveBfr(_name);
intCrntPos--;
_parent.arrIntGridPos[intCrntPos] = 1;
swapDepths(intCrntPos);
enem.gotoAndPlay("LEFT");
} else if ((_x < 720) and (_parent.arrIntGridPos[intCrntPos + 1] eq 0)) {
_parent.fncEnemMoveBfr(_name);
intCrntPos++;
_parent.arrIntGridPos[intCrntPos] = 1;
swapDepths(intCrntPos);
enem.gotoAndPlay("RIGHT");
} else {
fncStay();
}
}
}
function fncMoveY() {
intDmg = random(intHit);
if ((intDmg % 2) eq 0) {
if ((_y > 80) and (_parent.arrIntGridPos[intCrntPos - 19] eq 0)) {
_parent.fncEnemMoveBfr(_name);
intCrntPos = intCrntPos - 19;
_parent.arrIntGridPos[intCrntPos] = 1;
enem.gotoAndPlay("UP");
} else if ((_y < 520) and (_parent.arrIntGridPos[intCrntPos + 19] eq 0)) {
_parent.fncEnemMoveBfr(_name);
intCrntPos = intCrntPos + 19;
_parent.arrIntGridPos[intCrntPos] = 1;
swapDepths(intCrntPos);
enem.gotoAndPlay("DOWN");
} else {
fncStay();
}
} else if ((intDmg % 2) eq 1) {
if ((_y < 520) and (_parent.arrIntGridPos[intCrntPos + 19] eq 0)) {
_parent.fncEnemMoveBfr(_name);
intCrntPos = intCrntPos + 19;
_parent.arrIntGridPos[intCrntPos] = 1;
swapDepths(intCrntPos);
enem.gotoAndPlay("DOWN");
} else if ((_y > 80) and (_parent.arrIntGridPos[intCrntPos - 19] eq 0)) {
_parent.fncEnemMoveBfr(_name);
intCrntPos = intCrntPos - 19;
_parent.arrIntGridPos[intCrntPos] = 1;
enem.gotoAndPlay("UP");
} else {
fncStay();
}
}
}
intEnemLife = 50000;
intHit = 500;
intAI = 20000;
Symbol 1241 MovieClip Frame 33
intAI = random(5000) + 10000;
intHit = int(intAI / 150);
intEnemLife = int(intAI / 20);
Symbol 1241 MovieClip Frame 34
intAI = random(5000) + 10000;
intHit = int(intAI / 150);
intEnemLife = int(intAI / 20);
Symbol 1241 MovieClip Frame 35
intAI = random(5000) + 10000;
intHit = int(intAI / 150);
intEnemLife = int(intAI / 20);
Symbol 1241 MovieClip Frame 36
intAI = random(5000) + 10000;
intHit = int(intAI / 150);
intEnemLife = int(intAI / 20);
Symbol 1241 MovieClip Frame 37
intAI = random(5000) + 10000;
intHit = int(intAI / 150);
intEnemLife = int(intAI / 20);
Symbol 1241 MovieClip Frame 38
intAI = random(5000) + 10000;
intHit = int(intAI / 150);
intEnemLife = int(intAI / 20);
Symbol 1241 MovieClip Frame 40
intAI = random(3) + 30;
intHit = int(intAI / 2);
intEnemLife = int(intAI / 3) + 200;
Symbol 1241 MovieClip Frame 41
intAI = random(6) + 170;
intHit = int(intAI / 2);
intEnemLife = int(intAI / 3) + 200;
Symbol 1252 MovieClip Frame 2
_parent.CS.txtInfo.text = "GIRL: please help me... im scared, will you buy me some apples? the merchant is somewhere in central area, but i did not find her. i did not have the time to look for her 'cause there are many evil creatures around.";
_parent.grupzeroID = setInterval(function () {
_parent.CS.txtInfo.text = "";
clearInterval(_parent.grupzeroID);
}, 15000);
Symbol 1252 MovieClip Frame 3
_parent.intPlayerQST = 2;
_parent.intPlayerJPTS++;
_parent.intPlayerPLV++;
_parent.intPlayerITEM1 = _parent.intPlayerITEM1 - 5;
_parent.CS.txtInfo.text = "GIRL: thank you very much... you are a very kind adventurer. please, take this scroll as my gratitude. press S";
_parent.grupzeroID = setInterval(function () {
_parent.CS.txtInfo.text = "";
clearInterval(_parent.grupzeroID);
}, 15000);
Symbol 1252 MovieClip Frame 66
_parent.arrIntGridPos[94] = 0;
removeMovieClip(this);
Symbol 1258 MovieClip Frame 2
_parent.intPlayerQST = 1;
_parent.intPlayerITEM1 = _parent.intPlayerITEM1 + 10;
_parent.intPlayerHP = _parent.intPlayerHPMax;
_parent.CS.txtInfo.text = "MERCHANT: oh thank you! you found me. i was scared of the monsters and lost running away. take these apples as my appreciation. eat some. press T...";
_parent.grupzeroID = setInterval(function () {
_parent.CS.txtInfo.text = "";
clearInterval(_parent.grupzeroID);
}, 15000);
Symbol 1258 MovieClip Frame 66
_parent.arrIntGridPos[265] = 0;
removeMovieClip(this);
Symbol 1269 MovieClip Frame 2
_parent.CS.txtInfo.text = ("MAN: you need " + (20 - _parent.intPlayerPLV)) + " more Skill points. but if you really want to finish him quick, you need twice.";
_parent.grupzeroID = setInterval(function () {
_parent.CS.txtInfo.text = "";
clearInterval(_parent.grupzeroID);
}, 15000);
if (_parent.intPlayerPLV >= 15) {
nextFrame();
}
Symbol 1269 MovieClip Frame 3
_parent.intPlayerQST = 3;
_parent.intPlayerJPTS = _parent.intPlayerJPTS + 5;
_parent.intPlayerPLV = _parent.intPlayerPLV + 5;
_parent.intPlayerPTS = _parent.intPlayerPTS + 20;
_parent.CS.txtInfo.text = "MAN: i see you're ready now... take this five scrolls and i suggest that you use it to burden strike. before proceeding try to maximize all your skills, it would be a great help.";
_parent.grupzeroID = setInterval(function () {
_parent.CS.txtInfo.text = "";
clearInterval(_parent.grupzeroID);
}, 10000);
Symbol 1269 MovieClip Frame 66
_parent.arrIntGridPos[152] = 0;
removeMovieClip(this);
Symbol 1271 Button
on (rollOver, release) {
if (_parent.arrIntGridPos[intPos - 1] > 265) {
_parent.ICON.gotoAndStop("ATTACK");
} else {
_parent.ICON.gotoAndStop("NORMAL");
}
}
on (rollOut) {
_parent.ICON.gotoAndStop("NORMAL");
}
on (press) {
if (_parent.boolGamePaused ne true) {
if (boolWalking != true) {
_parent.CS.PlayerICO._rotation = 90;
if (_parent.intPlayerATK eq 2) {
boolWalking = true;
gotoAndPlay (79);
} else if (_parent.arrIntGridPos[intPos - 1] > 265) {
boolWalking = true;
_parent.ICON.gotoAndStop("ATTACK");
if (_parent.intPlayerATK eq 1) {
gotoAndPlay (61);
} else if (_parent.intPlayerATK eq 3) {
gotoAndPlay (70);
} else if (_parent.intPlayerATK eq 4) {
gotoAndPlay (91);
}
} else {
_parent.ICON.gotoAndStop("NORMAL");
if ((intPos % 19) > 0) {
if (_parent.arrIntGridPos[intPos - 1] == 0) {
boolWalking = true;
_parent.fncPlayerMove_LEFT();
} else {
_parent.PLAYER.gotoAndStop("LEFT");
}
} else if ((((((((strMapLoc != "E1 [4]") && (strMapLoc != "E1 [6]")) && (strMapLoc != "E1 [18]")) && (strMapLoc != "E1 [17]")) && (strMapLoc != "E1 [9]")) && (strMapLoc != "E1 [11]")) && (strMapLoc != "E1 [19]")) && (strMapLoc != "E1 [20]")) {
_x = 760;
_parent.arrIntGridPos[intPos] = 0;
intPos = intPos + 18;
this.swapDepths(intPos);
_parent.arrIntGridPos[intPos] = 2;
if (strMapLoc == "E1 [1]") {
strMapLoc = "E1 [3]";
} else if (strMapLoc == "E1 [3]") {
strMapLoc = "E1 [5]";
} else if (strMapLoc == "E1 [5]") {
strMapLoc = "E1 [7]";
} else if (strMapLoc == "E1 [7]") {
strMapLoc = "E1 [9]";
} else if (strMapLoc == "E1 [2]") {
strMapLoc = "E1 [4]";
} else if (strMapLoc == "E1 [15]") {
_parent.gotoAndStop("grass");
strMapLoc = "E1 [13]";
} else if (strMapLoc == "E1 [13]") {
strMapLoc = "E1 [11]";
} else if (strMapLoc == "E1 [8]") {
strMapLoc = "E1 [6]";
} else if (strMapLoc == "E1 [16]") {
_parent.gotoAndStop("stngrs_1/2");
strMapLoc = "E1 [19]";
} else if (strMapLoc == "E1 [10]") {
strMapLoc = "E1 [12]";
} else if (strMapLoc == "E1 [12]") {
strMapLoc = "E1 [14]";
} else if (strMapLoc == "E1 [14]") {
_parent.gotoAndStop("stndrt_1/2");
strMapLoc = "E1 [17]";
}
_parent.CS.fncPosICO();
_root.fncReGenerateENEMY();
}
}
}
}
}
Symbol 1272 Button
on (rollOver, release) {
if (_parent.arrIntGridPos[intPos + 1] > 265) {
_parent.ICON.gotoAndStop("ATTACK");
} else {
_parent.ICON.gotoAndStop("NORMAL");
}
}
on (rollOut) {
_parent.ICON.gotoAndStop("NORMAL");
}
on (press) {
if (_parent.boolGamePaused ne true) {
if (boolWalking != true) {
_parent.CS.PlayerICO._rotation = 270;
if (_parent.intPlayerATK eq 2) {
boolWalking = true;
gotoAndPlay (175);
} else if (_parent.arrIntGridPos[intPos + 1] > 265) {
boolWalking = true;
_parent.ICON.gotoAndStop("ATTACK");
if (_parent.intPlayerATK eq 1) {
gotoAndPlay (157);
} else if (_parent.intPlayerATK eq 3) {
gotoAndPlay (166);
} else if (_parent.intPlayerATK eq 4) {
gotoAndPlay (187);
}
} else if ((_parent.arrIntGridPos[intPos + 1] eq 3) and (_parent.intPlayerQST eq 0)) {
_root.NPC3.play();
} else if (_parent.arrIntGridPos[intPos + 1] eq 4) {
if ((_parent.intPlayerQST eq 0) and (_root.NPC4._currentframe < 2)) {
_root.NPC4.nextFrame();
}
if (_parent.intPlayerQST eq 1) {
_root.NPC4.play();
}
} else {
_parent.ICON.gotoAndStop("NORMAL");
if ((intPos % 19) != 18) {
if (_parent.arrIntGridPos[intPos + 1] == 0) {
boolWalking = true;
_parent.fncPlayerMove_RIGHT();
} else {
_parent.PLAYER.gotoAndStop("RIGHT");
}
} else if ((((((((strMapLoc != "E1 [1]") && (strMapLoc != "E1 [2]")) && (strMapLoc != "E1 [8]")) && (strMapLoc != "E1 [10]")) && (strMapLoc != "E1 [15]")) && (strMapLoc != "E1 [16]")) && (strMapLoc != "E1 [18]")) && (strMapLoc != "E1 [20]")) {
_x = 40;
_parent.arrIntGridPos[intPos] = 0;
intPos = intPos - 18;
this.swapDepths(intPos);
_parent.arrIntGridPos[intPos] = 2;
if (strMapLoc == "E1 [9]") {
strMapLoc = "E1 [7]";
} else if (strMapLoc == "E1 [7]") {
strMapLoc = "E1 [5]";
} else if (strMapLoc == "E1 [5]") {
strMapLoc = "E1 [3]";
} else if (strMapLoc == "E1 [3]") {
strMapLoc = "E1 [1]";
} else if (strMapLoc == "E1 [11]") {
strMapLoc = "E1 [13]";
} else if (strMapLoc == "E1 [13]") {
_parent.gotoAndStop("grsdrt_1/4");
strMapLoc = "E1 [15]";
} else if (strMapLoc == "E1 [4]") {
strMapLoc = "E1 [2]";
} else if (strMapLoc == "E1 [19]") {
_parent.gotoAndStop("mix");
strMapLoc = "E1 [16]";
} else if (strMapLoc == "E1 [6]") {
strMapLoc = "E1 [8]";
} else if (strMapLoc == "E1 [17]") {
_parent.gotoAndStop("dirt");
strMapLoc = "E1 [14]";
} else if (strMapLoc == "E1 [14]") {
strMapLoc = "E1 [12]";
} else if (strMapLoc == "E1 [12]") {
strMapLoc = "E1 [10]";
}
_parent.CS.fncPosICO();
_root.fncReGenerateENEMY();
}
}
}
}
}
Symbol 1273 Button
on (rollOver, release) {
if (_parent.arrIntGridPos[intPos + 19] > 265) {
_parent.ICON.gotoAndStop("ATTACK");
} else {
_parent.ICON.gotoAndStop("NORMAL");
}
}
on (rollOut) {
_parent.ICON.gotoAndStop("NORMAL");
}
on (press) {
if (_parent.boolGamePaused ne true) {
if (boolWalking != true) {
_parent.CS.PlayerICO._rotation = 0;
if (_parent.intPlayerATK eq 2) {
boolWalking = true;
gotoAndPlay (128);
} else if (_parent.arrIntGridPos[intPos + 19] > 265) {
boolWalking = true;
_parent.ICON.gotoAndStop("ATTACK");
if (_parent.intPlayerATK eq 1) {
gotoAndPlay (110);
} else if (_parent.intPlayerATK eq 3) {
gotoAndPlay (119);
} else if (_parent.intPlayerATK eq 4) {
gotoAndPlay (140);
}
} else if ((_parent.arrIntGridPos[intPos + 19] eq 3) and (_parent.intPlayerQST eq 0)) {
_root.NPC3.play();
} else if (_parent.arrIntGridPos[intPos + 19] eq 4) {
if ((_parent.intPlayerQST eq 0) and (_root.NPC4._currentframe < 2)) {
_root.NPC4.nextFrame();
}
if (_parent.intPlayerQST eq 1) {
_root.NPC4.play();
}
} else {
_parent.ICON.gotoAndStop("NORMAL");
if (intPos < 247) {
if (_parent.arrIntGridPos[intPos + 19] == 0) {
boolWalking = true;
_parent.fncPlayerMove_DOWN();
} else {
_parent.PLAYER.gotoAndStop("DOWN");
}
} else if ((((((((((strMapLoc != "E1 [1]") && (strMapLoc != "E1 [3]")) && (strMapLoc != "E1 [5]")) && (strMapLoc != "E1 [7]")) && (strMapLoc != "E1 [9]")) && (strMapLoc != "E1 [13]")) && (strMapLoc != "E1 [15]")) && (strMapLoc != "E1 [8]")) && (strMapLoc != "E1 [19]")) && (strMapLoc != "E1 [12]")) {
_y = 40;
_parent.arrIntGridPos[intPos] = 0;
intPos = intPos - 247;
this.swapDepths(intPos);
_parent.arrIntGridPos[intPos] = 2;
if (strMapLoc == "E1 [10]") {
strMapLoc = "E1 [8]";
} else if (strMapLoc == "E1 [2]") {
_parent.gotoAndStop("grass");
strMapLoc = "E1 [1]";
} else if (strMapLoc == "E1 [6]") {
_parent.gotoAndStop("grsdrt_1/2");
strMapLoc = "E1 [4]";
} else if (strMapLoc == "E1 [4]") {
_parent.gotoAndStop("grass");
strMapLoc = "E1 [3]";
} else if (strMapLoc == "E1 [14]") {
_parent.gotoAndStop("grsdrt_3/4");
strMapLoc = "E1 [18]";
} else if (strMapLoc == "E1 [18]") {
_parent.gotoAndStop("grsdrt_1/4");
strMapLoc = "E1 [15]";
} else if (strMapLoc == "E1 [17]") {
_parent.gotoAndStop("mix");
strMapLoc = "E1 [16]";
} else if (strMapLoc == "E1 [16]") {
_parent.gotoAndStop("grass");
strMapLoc = "E1 [13]";
} else if (strMapLoc == "E1 [20]") {
_parent.gotoAndStop("stngrs_1/2");
strMapLoc = "E1 [19]";
} else if (strMapLoc == "E1 [11]") {
strMapLoc = "E1 [9]";
}
_parent.CS.fncPosICO();
_root.fncReGenerateENEMY();
}
}
}
}
}
Symbol 1274 Button
on (rollOver, release) {
if (_parent.arrIntGridPos[intPos - 19] > 265) {
_parent.ICON.gotoAndStop("ATTACK");
} else {
_parent.ICON.gotoAndStop("NORMAL");
}
}
on (rollOut) {
_parent.ICON.gotoAndStop("NORMAL");
}
on (press) {
if (_parent.boolGamePaused ne true) {
if (boolWalking != true) {
_parent.CS.PlayerICO._rotation = 180;
if (_parent.intPlayerATK eq 2) {
boolWalking = true;
gotoAndPlay (32);
} else if (_parent.arrIntGridPos[intPos - 19] > 265) {
_parent.ICON.gotoAndStop("ATTACK");
boolWalking = true;
if (_parent.intPlayerATK eq 1) {
gotoAndPlay (14);
} else if (_parent.intPlayerATK eq 3) {
gotoAndPlay (23);
} else if (_parent.intPlayerATK eq 4) {
gotoAndPlay (44);
}
} else if (_parent.arrIntGridPos[intPos - 19] eq 4) {
if ((_parent.intPlayerQST eq 0) and (_root.NPC4._currentframe < 2)) {
_root.NPC4.nextFrame();
}
if (_parent.intPlayerQST eq 1) {
_root.NPC4.play();
}
} else {
_parent.ICON.gotoAndStop("NORMAL");
if (intPos > 18) {
if (_parent.arrIntGridPos[intPos - 19] == 0) {
boolWalking = true;
_parent.fncPlayerMove_UP();
} else {
_parent.PLAYER.gotoAndStop("UP");
}
} else if ((((((((((strMapLoc != "E1 [2]") && (strMapLoc != "E1 [5]")) && (strMapLoc != "E1 [7]")) && (strMapLoc != "E1 [11]")) && (strMapLoc != "E1 [20]")) && (strMapLoc != "E1 [6]")) && (strMapLoc != "E1 [10]")) && (strMapLoc != "E1 [12]")) && (strMapLoc != "E1 [14]")) && (strMapLoc != "E1 [17]")) {
if (strMapLoc ne "E1 [19]") {
_y = 560;
_parent.arrIntGridPos[intPos] = 0;
intPos = intPos + 247;
this.swapDepths(intPos);
_parent.arrIntGridPos[intPos] = 2;
}
if (strMapLoc == "E1 [1]") {
_parent.gotoAndStop("grsdrt_1/2");
strMapLoc = "E1 [2]";
} else if (strMapLoc == "E1 [8]") {
_parent.gotoAndStop("dirt");
strMapLoc = "E1 [10]";
} else if (strMapLoc == "E1 [3]") {
_parent.gotoAndStop("grsdrt_1/2");
strMapLoc = "E1 [4]";
} else if (strMapLoc == "E1 [4]") {
_parent.gotoAndStop("dirt");
strMapLoc = "E1 [6]";
} else if (strMapLoc == "E1 [15]") {
_parent.gotoAndStop("grsdrt_3/4");
strMapLoc = "E1 [18]";
} else if (strMapLoc == "E1 [18]") {
_parent.gotoAndStop("dirt");
strMapLoc = "E1 [14]";
} else if (strMapLoc == "E1 [13]") {
_parent.gotoAndStop("mix");
strMapLoc = "E1 [16]";
} else if (strMapLoc == "E1 [16]") {
_parent.gotoAndStop("stndrt_1/2");
strMapLoc = "E1 [17]";
} else if (strMapLoc == "E1 [9]") {
strMapLoc = "E1 [11]";
} else if (strMapLoc == "E1 [19]") {
if (_parent.intPlayerQST eq 3) {
_parent.gotoAndStop("boss");
strMapLoc = "E1 [20]";
} else {
_parent.CS.txtGameInfo.text = "You can not proceed yet!";
var mj = setInterval(function () {
_parent.CS.txtGameInfo.text = "";
clearInterval(mj);
}, 5000);
}
}
_parent.CS.fncPosICO();
_root.fncReGenerateENEMY();
}
}
}
}
}
Symbol 1423 MovieClip Frame 13
_y = (_y - 40);
boolWalking = false;
gotoAndStop (1);
Symbol 1423 MovieClip Frame 14
if ((_parent.arrIntGridPos[intPos - 19] > 265) and (_parent["enem" + _parent.arrIntGridPos[intPos - 19]].boolWalking ne true)) {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos - 19];
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent["enem" + _parent.arrIntGridPos[intPos - 19]].boolWalking = true;
_parent["enem" + _parent.arrIntGridPos[intPos - 19]].boolHit = true;
}
}
Symbol 1423 MovieClip Frame 18
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos - 19] > 265) {
if (_parent["enem" + _parent.arrIntGridPos[intPos - 19]].boolHit or ((_parent["enem" + _parent.arrIntGridPos[intPos - 19]].ICE._currentframe < 21) and (_parent["enem" + _parent.arrIntGridPos[intPos - 19]].ICE._currentframe > 1))) {
_parent["enem" + _parent.arrIntGridPos[intPos - 19]].boolHit = false;
_parent["enem" + _parent.arrIntGridPos[intPos - 19]].enem.gotoAndPlay("HIT");
}
_parent["item" + _parent.arrIntGridPos[intPos - 19]].item.gotoAndPlay("HIT");
}
Symbol 1423 MovieClip Frame 22
boolWalking = false;
gotoAndStop (1);
Symbol 1423 MovieClip Frame 23
if ((_parent.arrIntGridPos[intPos - 19] > 265) and (_parent["enem" + _parent.arrIntGridPos[intPos - 19]].boolWalking ne true)) {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos - 19];
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent["enem" + _parent.arrIntGridPos[intPos - 19]].boolWalking = true;
_parent["enem" + _parent.arrIntGridPos[intPos - 19]].boolHit = true;
}
}
Symbol 1423 MovieClip Frame 27
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos - 19] > 265) {
if (_parent["enem" + _parent.arrIntGridPos[intPos - 19]].boolHit or ((_parent["enem" + _parent.arrIntGridPos[intPos - 19]].ICE._currentframe < 21) and (_parent["enem" + _parent.arrIntGridPos[intPos - 19]].ICE._currentframe > 1))) {
_parent["enem" + _parent.arrIntGridPos[intPos - 19]].boolHit = false;
_parent["enem" + _parent.arrIntGridPos[intPos - 19]].ICE.intCtr = _root.intPlayerJS2 - 1;
_parent["enem" + _parent.arrIntGridPos[intPos - 19]].enem.gotoAndPlay("ICED");
_root.intCtr2 = (random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG) + _root.intPlayerPLUS_DMG;
}
_parent["item" + _parent.arrIntGridPos[intPos - 19]].item.gotoAndPlay("HIT");
}
Symbol 1423 MovieClip Frame 31
_root.intPlayerATK = 1;
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS2 * 5);
_root.fncUpdateMP();
boolWalking = false;
gotoAndStop (1);
Symbol 1423 MovieClip Frame 32
intCtr = 1;
while (intCtr < 265) {
if (((_parent.arrIntGridPos[intCtr] > 265) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._y < _y)) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._x eq _x)) {
if (_parent["enem" + _parent.arrIntGridPos[intCtr]].boolWalking ne true) {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intCtr];
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent["enem" + _parent.arrIntGridPos[intCtr]].boolWalking = true;
_parent["enem" + _parent.arrIntGridPos[intCtr]].boolHit = true;
}
}
}
intCtr++;
}
Symbol 1423 MovieClip Frame 40
_root.sndPunch.start(0);
intCtr = 1;
while (intCtr < 265) {
if ((((_parent.arrIntGridPos[intCtr] > 265) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._y < _y)) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._x eq _x)) and _parent["enem" + _parent.arrIntGridPos[intCtr]].boolHit) {
_parent["enem" + _parent.arrIntGridPos[intCtr]].boolHit = false;
_parent["enem" + _parent.arrIntGridPos[intCtr]].ICE.intCtr = _root.intPlayerJS3 - 1;
_parent["enem" + _parent.arrIntGridPos[intCtr]].enem.gotoAndPlay("ICED");
_root.intCtr2 = ((random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG) + _root.intPlayerPLUS_DMG) / 3;
}
intCtr++;
}
Symbol 1423 MovieClip Frame 43
_root.intPlayerATK = 1;
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS3 * 3);
_root.fncUpdateMP();
boolWalking = false;
gotoAndStop (1);
Symbol 1423 MovieClip Frame 44
if ((_parent.arrIntGridPos[intPos - 19] > 265) and (_parent["enem" + _parent.arrIntGridPos[intPos - 19]].boolWalking ne true)) {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos - 19];
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent["enem" + _parent.arrIntGridPos[intPos - 19]].boolWalking = true;
_parent["enem" + _parent.arrIntGridPos[intPos - 19]].boolHit = true;
}
}
Symbol 1423 MovieClip Frame 45
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos - 19] > 265) {
if (_parent["enem" + _parent.arrIntGridPos[intPos - 19]].boolHit or ((_parent["enem" + _parent.arrIntGridPos[intPos - 19]].ICE._currentframe < 21) and (_parent["enem" + _parent.arrIntGridPos[intPos - 19]].ICE._currentframe > 1))) {
_parent["enem" + _parent.arrIntGridPos[intPos - 19]].enem.gotoAndPlay("HIT");
}
_parent["item" + _parent.arrIntGridPos[intPos - 19]].item.gotoAndPlay("HIT");
}
Symbol 1423 MovieClip Frame 47
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos - 19] > 265) {
if (_parent["enem" + _parent.arrIntGridPos[intPos - 19]].boolHit or ((_parent["enem" + _parent.arrIntGridPos[intPos - 19]].ICE._currentframe < 21) and (_parent["enem" + _parent.arrIntGridPos[intPos - 19]].ICE._currentframe > 1))) {
_parent["enem" + _parent.arrIntGridPos[intPos - 19]].boolHit = false;
_parent["enem" + _parent.arrIntGridPos[intPos - 19]].enem.gotoAndPlay("HIT");
}
_parent["item" + _parent.arrIntGridPos[intPos - 19]].item.gotoAndPlay("HIT");
}
Symbol 1423 MovieClip Frame 49
if (intCtr eq 0) {
_root.intPlayerATK = 1;
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS5 * 5);
_root.fncUpdateMP();
boolWalking = false;
gotoAndStop (1);
} else {
_parent["enem" + _parent.arrIntGridPos[intPos - 19]].boolHit = true;
_parent.PLAYER.boolLeech = true;
intCtr--;
gotoAndPlay(_currentframe - 4);
}
Symbol 1423 MovieClip Frame 60
_x = (_x - 40);
boolWalking = false;
gotoAndStop (50);
Symbol 1423 MovieClip Frame 61
if ((_parent.arrIntGridPos[intPos - 1] > 265) and (_parent["enem" + _parent.arrIntGridPos[intPos - 1]].boolWalking ne true)) {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos - 1];
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent["enem" + _parent.arrIntGridPos[intPos - 1]].boolWalking = true;
_parent["enem" + _parent.arrIntGridPos[intPos - 1]].boolHit = true;
}
}
Symbol 1423 MovieClip Frame 65
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos - 1] > 265) {
if (_parent["enem" + _parent.arrIntGridPos[intPos - 1]].boolHit or ((_parent["enem" + _parent.arrIntGridPos[intPos - 1]].ICE._currentframe < 21) and (_parent["enem" + _parent.arrIntGridPos[intPos - 1]].ICE._currentframe > 1))) {
_parent["enem" + _parent.arrIntGridPos[intPos - 1]].boolHit = false;
_parent["enem" + _parent.arrIntGridPos[intPos - 1]].enem.gotoAndPlay("HIT");
}
_parent["item" + _parent.arrIntGridPos[intPos - 1]].item.gotoAndPlay("HIT");
}
Symbol 1423 MovieClip Frame 69
boolWalking = false;
gotoAndStop (50);
Symbol 1423 MovieClip Frame 70
if ((_parent.arrIntGridPos[intPos - 1] > 265) and (_parent["enem" + _parent.arrIntGridPos[intPos - 1]].boolWalking ne true)) {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos - 1];
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent["enem" + _parent.arrIntGridPos[intPos - 1]].boolWalking = true;
_parent["enem" + _parent.arrIntGridPos[intPos - 1]].boolHit = true;
}
}
Symbol 1423 MovieClip Frame 74
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos - 1] > 265) {
if (_parent["enem" + _parent.arrIntGridPos[intPos - 1]].boolHit or ((_parent["enem" + _parent.arrIntGridPos[intPos - 1]].ICE._currentframe < 21) and (_parent["enem" + _parent.arrIntGridPos[intPos - 1]].ICE._currentframe > 1))) {
_parent["enem" + _parent.arrIntGridPos[intPos - 1]].boolHit = false;
_parent["enem" + _parent.arrIntGridPos[intPos - 1]].ICE.intCtr = _root.intPlayerJS2 - 1;
_parent["enem" + _parent.arrIntGridPos[intPos - 1]].enem.gotoAndPlay("ICED");
_root.intCtr2 = (random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG) + _root.intPlayerPLUS_DMG;
}
_parent["item" + _parent.arrIntGridPos[intPos - 1]].item.gotoAndPlay("HIT");
}
Symbol 1423 MovieClip Frame 78
_root.intPlayerATK = 1;
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS2 * 5);
_root.fncUpdateMP();
boolWalking = false;
gotoAndStop (50);
Symbol 1423 MovieClip Frame 79
intCtr = 1;
while (intCtr < 265) {
if (((_parent.arrIntGridPos[intCtr] > 265) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._y == _y)) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._x < _x)) {
if (_parent["enem" + _parent.arrIntGridPos[intCtr]].boolWalking ne true) {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intCtr];
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent["enem" + _parent.arrIntGridPos[intCtr]].boolWalking = true;
_parent["enem" + _parent.arrIntGridPos[intCtr]].boolHit = true;
}
}
}
intCtr++;
}
Symbol 1423 MovieClip Frame 87
_root.sndPunch.start(0);
intCtr = 1;
while (intCtr < 265) {
if ((((_parent.arrIntGridPos[intCtr] > 265) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._y == _y)) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._x < _x)) and (_parent["enem" + _parent.arrIntGridPos[intCtr]].boolHit eq true)) {
_parent["enem" + _parent.arrIntGridPos[intCtr]].boolHit = false;
_parent["enem" + _parent.arrIntGridPos[intCtr]].ICE.intCtr = _root.intPlayerJS3 - 1;
_parent["enem" + _parent.arrIntGridPos[intCtr]].enem.gotoAndPlay("ICED");
_root.intCtr2 = ((random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG) + _root.intPlayerPLUS_DMG) / 3;
}
intCtr++;
}
Symbol 1423 MovieClip Frame 90
_root.intPlayerATK = 1;
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS3 * 3);
_root.fncUpdateMP();
boolWalking = false;
gotoAndStop (50);
Symbol 1423 MovieClip Frame 91
if ((_parent.arrIntGridPos[intPos - 1] > 265) and (_parent["enem" + _parent.arrIntGridPos[intPos - 1]].boolWalking ne true)) {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos - 1];
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent["enem" + _parent.arrIntGridPos[intPos - 1]].boolWalking = true;
_parent["enem" + _parent.arrIntGridPos[intPos - 1]].boolHit = true;
intCtr = _parent.intPlayerJS5;
}
}
Symbol 1423 MovieClip Frame 92
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos - 1] > 265) {
if (_parent["enem" + _parent.arrIntGridPos[intPos - 1]].boolHit or ((_parent["enem" + _parent.arrIntGridPos[intPos - 1]].ICE._currentframe < 21) and (_parent["enem" + _parent.arrIntGridPos[intPos - 1]].ICE._currentframe > 1))) {
_parent["enem" + _parent.arrIntGridPos[intPos - 1]].enem.gotoAndPlay("HIT");
}
_parent["item" + _parent.arrIntGridPos[intPos - 1]].item.gotoAndPlay("HIT");
}
Symbol 1423 MovieClip Frame 94
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos - 1] > 265) {
if (_parent["enem" + _parent.arrIntGridPos[intPos - 1]].boolHit or ((_parent["enem" + _parent.arrIntGridPos[intPos - 1]].ICE._currentframe < 21) and (_parent["enem" + _parent.arrIntGridPos[intPos - 1]].ICE._currentframe > 1))) {
_parent["enem" + _parent.arrIntGridPos[intPos - 1]].boolHit = false;
_parent["enem" + _parent.arrIntGridPos[intPos - 1]].enem.gotoAndPlay("HIT");
}
_parent["item" + _parent.arrIntGridPos[intPos - 1]].item.gotoAndPlay("HIT");
}
Symbol 1423 MovieClip Frame 96
if (intCtr eq 0) {
_root.intPlayerATK = 1;
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS5 * 5);
_root.fncUpdateMP();
boolWalking = false;
gotoAndStop (50);
} else {
_parent["enem" + _parent.arrIntGridPos[intPos - 1]].boolHit = true;
_parent.PLAYER.boolLeech = true;
intCtr--;
gotoAndPlay(_currentframe - 4);
}
Symbol 1423 MovieClip Frame 109
_y = (_y + 40);
boolWalking = false;
gotoAndStop (97);
Symbol 1423 MovieClip Frame 110
if ((_parent.arrIntGridPos[intPos + 19] > 265) and (_parent["enem" + _parent.arrIntGridPos[intPos + 19]].boolWalking ne true)) {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos + 19];
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent["enem" + _parent.arrIntGridPos[intPos + 19]].boolWalking = true;
_parent["enem" + _parent.arrIntGridPos[intPos + 19]].boolHit = true;
}
}
Symbol 1423 MovieClip Frame 114
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos + 19] > 265) {
if (_parent["enem" + _parent.arrIntGridPos[intPos + 19]].boolHit or ((_parent["enem" + _parent.arrIntGridPos[intPos + 19]].ICE._currentframe < 21) and (_parent["enem" + _parent.arrIntGridPos[intPos + 19]].ICE._currentframe > 1))) {
_parent["enem" + _parent.arrIntGridPos[intPos + 19]].boolHit = false;
_parent["enem" + _parent.arrIntGridPos[intPos + 19]].enem.gotoAndPlay("HIT");
}
_parent["item" + _parent.arrIntGridPos[intPos + 19]].item.gotoAndPlay("HIT");
}
Symbol 1423 MovieClip Frame 118
boolWalking = false;
gotoAndStop (97);
Symbol 1423 MovieClip Frame 119
if ((_parent.arrIntGridPos[intPos + 19] > 265) and (_parent["enem" + _parent.arrIntGridPos[intPos + 19]].boolWalking ne true)) {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos + 19];
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent["enem" + _parent.arrIntGridPos[intPos + 19]].boolWalking = true;
_parent["enem" + _parent.arrIntGridPos[intPos + 19]].boolHit = true;
}
}
Symbol 1423 MovieClip Frame 123
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos + 19] > 265) {
if (_parent["enem" + _parent.arrIntGridPos[intPos + 19]].boolHit or ((_parent["enem" + _parent.arrIntGridPos[intPos + 19]].ICE._currentframe < 21) and (_parent["enem" + _parent.arrIntGridPos[intPos + 19]].ICE._currentframe > 1))) {
_parent["enem" + _parent.arrIntGridPos[intPos + 19]].boolHit = false;
_parent["enem" + _parent.arrIntGridPos[intPos + 19]].ICE.intCtr = _root.intPlayerJS2 - 1;
_parent["enem" + _parent.arrIntGridPos[intPos + 19]].enem.gotoAndPlay("ICED");
_root.intCtr2 = (random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG) + _root.intPlayerPLUS_DMG;
}
_parent["item" + _parent.arrIntGridPos[intPos + 19]].item.gotoAndPlay("HIT");
}
Symbol 1423 MovieClip Frame 127
_root.intPlayerATK = 1;
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS2 * 5);
_root.fncUpdateMP();
boolWalking = false;
gotoAndStop (97);
Symbol 1423 MovieClip Frame 128
intCtr = 1;
while (intCtr < 265) {
if (((_parent.arrIntGridPos[intCtr] > 265) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._y > _y)) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._x eq _x)) {
if (_parent["enem" + _parent.arrIntGridPos[intCtr]].boolWalking ne true) {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intCtr];
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent["enem" + _parent.arrIntGridPos[intCtr]].boolWalking = true;
_parent["enem" + _parent.arrIntGridPos[intCtr]].boolHit = true;
}
}
}
intCtr++;
}
Symbol 1423 MovieClip Frame 136
_root.sndPunch.start(0);
intCtr = 1;
while (intCtr < 265) {
if ((((_parent.arrIntGridPos[intCtr] > 265) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._y > _y)) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._x eq _x)) and (_parent["enem" + _parent.arrIntGridPos[intCtr]].boolHit eq true)) {
_parent["enem" + _parent.arrIntGridPos[intCtr]].boolHit = false;
_parent["enem" + _parent.arrIntGridPos[intCtr]].ICE.intCtr = _root.intPlayerJS3 - 1;
_parent["enem" + _parent.arrIntGridPos[intCtr]].enem.gotoAndPlay("ICED");
_root.intCtr2 = ((random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG) + _root.intPlayerPLUS_DMG) / 3;
}
intCtr++;
}
Symbol 1423 MovieClip Frame 139
_root.intPlayerATK = 1;
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS3 * 3);
_root.fncUpdateMP();
boolWalking = false;
gotoAndStop (97);
Symbol 1423 MovieClip Frame 140
if ((_parent.arrIntGridPos[intPos + 19] > 265) and (_parent["enem" + _parent.arrIntGridPos[intPos + 19]].boolWalking ne true)) {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos + 19];
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent["enem" + _parent.arrIntGridPos[intPos + 19]].boolWalking = true;
_parent["enem" + _parent.arrIntGridPos[intPos + 19]].boolHit = true;
}
}
Symbol 1423 MovieClip Frame 141
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos + 19] > 265) {
if (_parent["enem" + _parent.arrIntGridPos[intPos + 19]].boolHit or ((_parent["enem" + _parent.arrIntGridPos[intPos + 19]].ICE._currentframe < 21) and (_parent["enem" + _parent.arrIntGridPos[intPos + 19]].ICE._currentframe > 1))) {
_parent["enem" + _parent.arrIntGridPos[intPos + 19]].enem.gotoAndPlay("HIT");
}
_parent["item" + _parent.arrIntGridPos[intPos + 19]].item.gotoAndPlay("HIT");
}
Symbol 1423 MovieClip Frame 143
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos + 19] > 265) {
if (_parent["enem" + _parent.arrIntGridPos[intPos + 19]].boolHit or ((_parent["enem" + _parent.arrIntGridPos[intPos + 19]].ICE._currentframe < 21) and (_parent["enem" + _parent.arrIntGridPos[intPos + 19]].ICE._currentframe > 1))) {
_parent["enem" + _parent.arrIntGridPos[intPos + 19]].boolHit = false;
_parent["enem" + _parent.arrIntGridPos[intPos + 19]].enem.gotoAndPlay("HIT");
}
_parent["item" + _parent.arrIntGridPos[intPos + 19]].item.gotoAndPlay("HIT");
}
Symbol 1423 MovieClip Frame 145
if (intCtr eq 0) {
_root.intPlayerATK = 1;
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS5 * 5);
_root.fncUpdateMP();
boolWalking = false;
gotoAndStop (97);
} else {
_parent["enem" + _parent.arrIntGridPos[intPos + 19]].boolHit = true;
_parent.PLAYER.boolLeech = true;
intCtr--;
gotoAndPlay(_currentframe - 4);
}
Symbol 1423 MovieClip Frame 156
_x = (_x + 40);
boolWalking = false;
gotoAndStop (146);
Symbol 1423 MovieClip Frame 157
if ((_parent.arrIntGridPos[intPos + 1] > 265) and (_parent["enem" + _parent.arrIntGridPos[intPos + 1]].boolWalking ne true)) {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos + 1];
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent["enem" + _parent.arrIntGridPos[intPos + 1]].boolWalking = true;
_parent["enem" + _parent.arrIntGridPos[intPos + 1]].boolHit = true;
}
}
Symbol 1423 MovieClip Frame 161
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos + 1] > 265) {
if (_parent["enem" + _parent.arrIntGridPos[intPos + 1]].boolHit or ((_parent["enem" + _parent.arrIntGridPos[intPos + 1]].ICE._currentframe < 21) and (_parent["enem" + _parent.arrIntGridPos[intPos + 1]].ICE._currentframe > 1))) {
_parent["enem" + _parent.arrIntGridPos[intPos + 1]].boolHit = false;
_parent["enem" + _parent.arrIntGridPos[intPos + 1]].enem.gotoAndPlay("HIT");
}
_parent["item" + _parent.arrIntGridPos[intPos + 1]].item.gotoAndPlay("HIT");
}
Symbol 1423 MovieClip Frame 165
boolWalking = false;
gotoAndStop (146);
Symbol 1423 MovieClip Frame 166
if ((_parent.arrIntGridPos[intPos + 1] > 265) and (_parent["enem" + _parent.arrIntGridPos[intPos + 1]].boolWalking ne true)) {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos + 1];
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent["enem" + _parent.arrIntGridPos[intPos + 1]].boolWalking = true;
_parent["enem" + _parent.arrIntGridPos[intPos + 1]].boolHit = true;
}
}
Symbol 1423 MovieClip Frame 170
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos + 1] > 265) {
if (_parent["enem" + _parent.arrIntGridPos[intPos + 1]].boolHit or ((_parent["enem" + _parent.arrIntGridPos[intPos + 1]].ICE._currentframe < 21) and (_parent["enem" + _parent.arrIntGridPos[intPos + 1]].ICE._currentframe > 1))) {
_parent["enem" + _parent.arrIntGridPos[intPos + 1]].boolHit = false;
_parent["enem" + _parent.arrIntGridPos[intPos + 1]].ICE.intCtr = _root.intPlayerJS2 - 1;
_parent["enem" + _parent.arrIntGridPos[intPos + 1]].enem.gotoAndPlay("ICED");
_root.intCtr2 = (random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG) + _root.intPlayerPLUS_DMG;
}
_parent["item" + _parent.arrIntGridPos[intPos + 1]].item.gotoAndPlay("HIT");
}
Symbol 1423 MovieClip Frame 174
_root.intPlayerATK = 1;
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS2 * 5);
_root.fncUpdateMP();
boolWalking = false;
gotoAndStop (146);
Symbol 1423 MovieClip Frame 175
intCtr = 1;
while (intCtr < 265) {
if (((_parent.arrIntGridPos[intCtr] > 265) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._y eq _y)) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._x > _x)) {
if (_parent["enem" + _parent.arrIntGridPos[intCtr]].boolWalking ne true) {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intCtr];
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent["enem" + _parent.arrIntGridPos[intCtr]].boolWalking = true;
_parent["enem" + _parent.arrIntGridPos[intCtr]].boolHit = true;
}
}
}
intCtr++;
}
Symbol 1423 MovieClip Frame 183
_root.sndPunch.start(0);
intCtr = 1;
while (intCtr < 265) {
if ((((_parent.arrIntGridPos[intCtr] > 265) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._y eq _y)) and (_parent["enem" + _parent.arrIntGridPos[intCtr]]._x > _x)) and (_parent["enem" + _parent.arrIntGridPos[intCtr]].boolHit eq true)) {
_parent["enem" + _parent.arrIntGridPos[intCtr]].boolHit = false;
_parent["enem" + _parent.arrIntGridPos[intCtr]].ICE.intCtr = _root.intPlayerJS3 - 1;
_parent["enem" + _parent.arrIntGridPos[intCtr]].enem.gotoAndPlay("ICED");
_root.intCtr2 = ((random(_root.intPlayerDMG) + _root.intPlayerMIN_DMG) + _root.intPlayerPLUS_DMG) / 3;
}
intCtr++;
}
Symbol 1423 MovieClip Frame 186
_root.intPlayerATK = 1;
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS3 * 3);
_root.fncUpdateMP();
boolWalking = false;
gotoAndStop (146);
Symbol 1423 MovieClip Frame 187
if ((_parent.arrIntGridPos[intPos + 1] > 265) and (_parent["enem" + _parent.arrIntGridPos[intPos + 1]].boolWalking ne true)) {
_root.strTEMP = "enem" + _parent.arrIntGridPos[intPos + 1];
if ((random(_parent.intPlayerDEX) + (_parent.intPlayerDEX / 4)) > (_parent[_root.strTEMP].intAI / random(_parent[_root.strTEMP].intHit + _parent[_root.strTEMP]._currentframe))) {
_parent["enem" + _parent.arrIntGridPos[intPos + 1]].boolWalking = true;
_parent["enem" + _parent.arrIntGridPos[intPos + 1]].boolHit = true;
}
}
Symbol 1423 MovieClip Frame 188
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos + 1] > 265) {
if (_parent["enem" + _parent.arrIntGridPos[intPos + 1]].boolHit or ((_parent["enem" + _parent.arrIntGridPos[intPos + 1]].ICE._currentframe < 21) and (_parent["enem" + _parent.arrIntGridPos[intPos + 1]].ICE._currentframe > 1))) {
_parent["enem" + _parent.arrIntGridPos[intPos + 1]].enem.gotoAndPlay("HIT");
}
_parent["item" + _parent.arrIntGridPos[intPos + 1]].item.gotoAndPlay("HIT");
}
Symbol 1423 MovieClip Frame 190
_root.sndPunch.start(0);
if (_parent.arrIntGridPos[intPos + 1] > 265) {
if (_parent["enem" + _parent.arrIntGridPos[intPos + 1]].boolHit or ((_parent["enem" + _parent.arrIntGridPos[intPos + 1]].ICE._currentframe < 21) and (_parent["enem" + _parent.arrIntGridPos[intPos + 1]].ICE._currentframe > 1))) {
_parent["enem" + _parent.arrIntGridPos[intPos + 1]].boolHit = false;
_parent["enem" + _parent.arrIntGridPos[intPos + 1]].enem.gotoAndPlay("HIT");
}
_parent["item" + _parent.arrIntGridPos[intPos + 1]].item.gotoAndPlay("HIT");
}
Symbol 1423 MovieClip Frame 192
if (intCtr eq 0) {
_root.intPlayerATK = 1;
_root.intPlayerMP = _root.intPlayerMP - (_root.intPlayerJS5 * 5);
_root.fncUpdateMP();
boolWalking = false;
gotoAndStop (146);
} else {
_parent["enem" + _parent.arrIntGridPos[intPos + 1]].boolHit = true;
_parent.PLAYER.boolLeech = true;
intCtr--;
gotoAndPlay(_currentframe - 4);
}
Symbol 1423 MovieClip Frame 193
_root.boolGamePaused = true;
Symbol 1423 MovieClip Frame 198
_root.CS.gotoAndStop("DEAD");
stop();
Symbol 1862 MovieClip Frame 1
stop();
Symbol 1862 MovieClip Frame 5
_alpha = (_alpha + 1);