Frame 1
stop();
function chat(text, textLimit, textMaxLine) {
if (userLog == null) {
userLog = new Array();
z_Infotext_input = new Array();
}
var linLimit = 30;
linOutput = text;
var count = (count + 1);
z_Infotext_input.push(((name + "") + text) + count);
if (userLine >= textLimit) {
delete userLog[userLine - textLimit];
ch_display++;
userLine++;
userLog[userLine] = userLog[userLine] + linOutput;
} else if (userLine >= textMaxLine) {
ch_display++;
userLine++;
userLog[userLine] = userLog[userLine] + linOutput;
} else {
userLine++;
userLog[userLine] = userLog[userLine] + linOutput;
}
ch_display = _root.ch_display;
ch_display = userLine - textMaxLine;
chatOutput = ((((((((((((((((((((((userLog[1 + ch_display] + "<br>") + userLog[2 + ch_display]) + "<br>") + userLog[3 + ch_display]) + "<br>") + userLog[4 + ch_display]) + "<br>") + userLog[5 + ch_display]) + "<br>") + userLog[6 + ch_display]) + "<br>") + userLog[7 + ch_display]) + "<br>") + userLog[8 + ch_display]) + "<br>") + userLog[9 + ch_display]) + "<br>") + userLog[10 + ch_display]) + "<br>") + userLog[11 + ch_display]) + "<br>") + userLog[12 + ch_display]) + "<br>";
}
_root._xscale = 289;
_root._yscale = 289;
_root._x = -414;
_root._y = -206;
_root._xscale = 200;
_root._yscale = 200;
_root._x = -284;
_root._y = -149;
_root.chat("1", 30, 7);
_root.chat("2", 30, 7);
_root.chat("3", 30, 7);
_root.chat("4", 30, 7);
_root.chat("5", 30, 7);
_root.chat("6", 30, 7);
_root.chat("this is a test line of dialogue, blah blah blah blah", 30, 7);
_root.chat("Nexus Flash Clone: by DISCOPHRENIA", 30, 7);
_root.chat("11-21-2024: Added Chat Bar", 30, 7);
_root.onLoad = function () {
_root.soundbgm_.gotoAndStop(2);
_root._xscale = 289;
_root._yscale = 289;
_root._x = -414;
_root._y = -206;
};
_root.onEnterFrame = function () {
_root._xscale = 289;
_root._yscale = 289;
_root._x = -414;
_root._y = -206;
};
function mobReset() {
if (nmekoCount >= 8) {
if (Key.isDown(65)) {
delete resetmobTimer;
}
if (resetmobTimer >= 125) {
roomClear();
delete nmeCount;
delete nmekoCount;
delete reSpawn;
delete resetmobTimer;
} else {
resetmobTimer++;
}
}
}
function respawnFunc(mob, obj) {
if (strt == null) {
reSpawnArrayx = new Array();
reSpawnArrayy = new Array();
strt = 1;
}
debug = _root.mon1._x;
if (mob._x > (obj._x + 144)) {
if (_root.road.path.hitTest(mob._x + (obj._x - 96), mob._y, true)) {
mob._x = obj._x - 96;
} else {
mob._y = obj._y;
}
}
if (mob._x < (obj._x - 120)) {
if (_root.road.path.hitTest(mob._x + (obj._x - 120), mob._y, true)) {
mob._x = obj._x + 120;
} else {
mob._y = obj._y;
}
}
if (mob._y < (obj._y - 72)) {
if (_root.road.path.hitTest(mob._x, mob._y + (obj._y + 96), true)) {
mob._y = obj._y + 96;
} else {
mob._x = obj._x;
}
}
if (mob._y > (obj._y + 96)) {
if (_root.road.path.hitTest(mob._x, mob._y + (obj._y - 120), true)) {
mob._y = obj._y - 120;
} else {
mob._x = obj._x;
}
}
}
function doubleSpell(nme) {
cost = 5;
if ((attacks >= 2) && (_root.plyMana >= cost)) {
_root.plyMana = _root.plyMana - cost;
var doubleScan = 1;
while (doubleScan < (nmeCount + 1)) {
if ((Math.abs(_root.obj._x - _root["mon" + doubleScan]._x) < 72) && (Math.abs(_root.obj._y - _root["mon" + doubleScan]._y) < 72)) {
_root["mon" + doubleScan].vita = _root["mon" + doubleScan].vita - 20;
_root["mon" + doubleScan].nmeVitaTimer = 50;
mc_zerk.duplicateMovieClip("zerk" + doubleScan, 6000 + doubleScan);
_root["zerk" + doubleScan].gotoAndPlay(1);
_root["zerk" + doubleScan]._x = _root["mon" + doubleScan]._x;
_root["zerk" + doubleScan]._y = _root["mon" + doubleScan]._y - 12;
trace(_root["mon" + doubleScan]);
delete attacks;
_root.soundspell.gotoAndStop(8);
_root.soundmelee.gotoAndStop(2);
_root.obj.char.gotoAndStop(_root.obj.char._currentframe - 4);
_root.obj.char.anim.gotoAndPlay(1);
trace("DOUBLEATK");
}
doubleScan++;
}
}
if (attacks == 2) {
}
}
function colorFunc(nme, ply) {
plwhiteTransform = {ra:"100", rb:plwhiteVrb, ga:"100", gb:plwhiteVrb, ba:"100", bb:plwhiteVrb, aa:"100", ab:"0"};
whiteTransform = {ra:"100", rb:whiteVrb, ga:"100", gb:whiteVrb, ba:"100", bb:whiteVrb, aa:"100", ab:"0"};
hitObjMob = new Color(_root.nmeguy);
hitObjPly = new Color(ply);
hitObjMob.setTransform(whiteTransform);
hitObjPly.setTransform(plwhiteTransform);
}
function nmeClear(nme) {
if (_root.atkbox.hitTest(nme.hb)) {
if (_root.plyMana >= _root.maxmana) {
_root.plyMana = _root.maxmana;
} else {
_root.plyMana = _root.plyMana + 1;
}
plydmg = Math.ceil(Math.random() * 0) + 3;
nmeguy = nme._name;
_root.atkbox._x = -999;
nme.vita = nme.vita - plydmg;
nme.nmeVitaTimer = 50;
_root.whiteBox.gotoAndPlay(1);
trace(_root.soundmelee1._x);
_root.soundmelee.gotoAndPlay(5);
_root.soundmelee.gotoAndStop(1);
}
if (nme.nmeVitaTimer >= 1) {
nme.nmeVitaTimer = nme.nmeVitaTimer - 1;
} else {
delete nme.nmeVitaTimer;
}
if (nme.vita <= 0) {
nme.vita = 0;
delete nme.plyHtd;
delete nme.atk;
duplicateMovieClip ("pkgfx", "pk_Icon" + partnum, 4000 + partnum);
partnum = nme._name.slice(nme._name.length - 1, nme._name.length);
_root["pk_Icon" + partnum]._x = nmeguy._x;
_root["pk_Icon" + partnum]._y = nmeguy._y - 24;
if (nme.RemTimer >= 13) {
if (((nmekoCount >= 8) && (nmeCount >= 8)) && (reSpawn >= 8)) {
delete reSpawn;
delete nmekoCount;
trace("NMEKO");
}
if (nmekoCount >= 8) {
delete reSpawn;
delete nmekoCount;
} else {
nmekoCount++;
}
removeMovieClip(nme);
delete nme.RemTimer;
} else {
nme.RemTimer++;
}
}
}
function alignX(obj, mob) {
if (Math.abs(mob._x - obj._x) < 48) {
if (Math.abs(mob._x - obj._x) < 6) {
mob.plyHtd = 1;
delete mob.monAtmx1;
mob._x = obj._x;
mob.Htdx1 = 1;
mob.Htdx2 = 1;
} else if ((mob._x > obj._x) && (mob.Htdx1 == null)) {
if (mob.monAtmx1 >= mobmvLimit) {
mob._x = mob._x - mobSpd;
mob.gotoAndStop(2);
mob.anim.play();
delete mob.monAtmx1;
} else {
mob.monAtmx1++;
}
} else if ((mob._x < obj._x) && (mob.Htdx1 == null)) {
if (mob.monAtmx1 >= mobmvLimit) {
mob._x = mob._x + mobSpd;
mob.gotoAndStop(3);
mob.anim.play();
delete mob.monAtmx1;
} else {
mob.monAtmx1++;
}
}
}
}
function alignY(obj, mob) {
if (Math.abs(mob._y - obj._y) < 48) {
if (Math.abs(mob._y - obj._y) < 6) {
mob.plyHtd = 1;
delete mob.monAtmx1;
mob._y = obj._y;
} else if ((mob._y > obj._y) && (mob.Htdx1 == null)) {
if (mob.monAtmx1 >= mobmvLimit) {
mob._y = mob._y - mobSpd;
mob.gotoAndStop(4);
mob.anim.play();
delete mob.monAtmx1;
} else {
mob.monAtmx1++;
}
} else if ((mob._y < obj._y) && (mob.Htdx1 == null)) {
if (mob.monAtmx1 >= mobmvLimit) {
mob._y = mob._y + mobSpd;
mob.gotoAndStop(1);
mob.anim.play();
delete mob.monAtmx1;
} else {
mob.monAtmx1++;
}
}
}
}
function mobTurn(mob, atk) {
if (mob.plyHtd == 1) {
if (mob.coolDown >= 8) {
mob.anim.gotoAndStop(8);
}
if (mob.coolDown >= 25) {
delete mob.atk;
delete mob.coolDown;
} else {
mob.coolDown++;
}
if (mob._x < atk._x) {
if (mob.atk == null) {
nmeDmg = Math.ceil(Math.random() * 3);
mob.gotoAndStop(7);
mob.anim.play();
mob.atk = 1;
_root.plWhiteBox.gotoAndPlay(1);
_root.plyHealth = _root.plyHealth - nmeDmg;
_root.soundmelee.gotoAndStop(4);
}
} else if (mob._x > atk._x) {
if (mob.atk == null) {
nmeDmg = Math.ceil(Math.random() * 3);
mob.gotoAndStop(6);
mob.anim.play();
mob.atk = 1;
_root.plWhiteBox.gotoAndPlay(1);
_root.plyHealth = _root.plyHealth - nmeDmg;
_root.soundmelee.gotoAndStop(4);
}
} else if (mob._y > atk._y) {
if (mob.atk == null) {
nmeDmg = Math.ceil(Math.random() * 3);
mob.gotoAndStop(8);
mob.anim.play();
mob.atk = 1;
_root.plWhiteBox.gotoAndPlay(1);
_root.plyHealth = _root.plyHealth - nmeDmg;
_root.soundmelee.gotoAndStop(4);
}
} else if (mob._y < atk._y) {
if (mob.atk == null) {
nmeDmg = Math.ceil(Math.random() * 3);
mob.gotoAndStop(5);
mob.anim.play();
mob.atk = 1;
_root.plWhiteBox.gotoAndPlay(1);
_root.plyHealth = _root.plyHealth - nmeDmg;
_root.soundmelee.gotoAndStop(4);
}
}
} else {
plwhiteVrb = 0;
}
}
function faceNmex(obj, nme) {
if (attacks >= 2) {
if (obj._x < nme._x) {
obj.char.gotoAndStop(6);
}
if (obj._y < nme._x) {
obj.char.gotoAndStop(5);
}
if (obj._y > nme._y) {
obj.char.gotoAndStop(8);
}
if (obj._x > nme._x) {
obj.char.gotoAndStop(7);
}
}
}
function faceTurn(obj) {
if (Key.isDown(40) && (mous_Counter == null)) {
if (faceset == null) {
obj.char.gotoAndStop(1);
obj.char.anim.gotoAndStop(8);
faceset = 1;
}
} else if (Key.isDown(38) && (mous_Counter == null)) {
if (faceset == null) {
obj.char.gotoAndStop(4);
obj.char.anim.gotoAndStop(8);
faceset = 1;
}
} else if (Key.isDown(37) && (mous_Counter == null)) {
if (faceset == null) {
obj.char.gotoAndStop(3);
obj.char.anim.gotoAndStop(8);
faceset = 1;
}
} else if (Key.isDown(39) && (mous_Counter == null)) {
if (faceset == null) {
obj.char.gotoAndStop(2);
obj.char.anim.gotoAndStop(8);
faceset = 1;
}
} else {
delete faceset;
if (obj.mous_input == null) {
delete obj.mous_Counter;
}
}
}
function roomClear() {
mobClear = 1;
while (mobClear < 9) {
_root["mon" + mobClear].removeMovieClip();
delete nmeCount;
delete reSpawn;
delete _root.obj.plHdy;
delete _root.obj.plHdx;
delete _root.obj.plHdx2;
delete _root.obj.plHdy2;
mobClear++;
}
}
function kbMovement(mc) {
atkLimit = 12;
if (((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(37))) || (Key.isDown(40))) {
if (atkCancel == null) {
delete plyerAtk;
delete atkCounter;
_root.atkbox._y = -999;
mc.char.anim.gotoAndStop(8);
_root.targ._x = mc._x;
_root.targ._y = mc._y;
atkCancel = 1;
}
}
if (Key.isDown(65) || (Key.isDown(32))) {
if (a_input == null) {
if (attacks >= 2) {
} else {
attacks++;
}
a_input = 1;
}
plyerAtk = 1;
delete atkCancel;
} else {
delete a_input;
if (doubleAtk >= 12) {
delete attacks;
delete doubleAtk;
} else {
if (attacks == 2) {
trace(attacks);
trace("doubleAtkDone");
delete doubleAtk;
delete attacks;
doubleSpellCheck = 1;
}
if (attacks == 1) {
doubleAtk++;
}
}
}
if (!Key.isDown(Key.getCode())) {
_root.targ._alpha = 100;
}
if (plyerAtk == 1) {
if (atkCounter == 1) {
if (atkInput == null) {
mc.char.gotoAndStop(mc.char._currentframe + 4);
atkInput = 1;
}
mc.char.anim.play();
_root.obj.kb_input = 1;
if (mc.char._currentframe == 5) {
_root.atkbox._x = mc._x;
_root.atkbox._y = mc._y + 12;
} else if (mc.char._currentframe == 7) {
_root.atkbox._x = mc._x - 24;
_root.atkbox._y = mc._y - 12;
} else if (mc.char._currentframe == 6) {
_root.atkbox._x = mc._x + 24;
_root.atkbox._y = mc._y - 12;
} else if (mc.char._currentframe == 8) {
_root.atkbox._x = mc._x;
_root.atkbox._y = mc._y - 32;
}
}
if (atkCounter == 2) {
_root.atk.box._x = -999;
}
if (atkCounter >= 5) {
_root.atkbox._y = -999;
mc.char.gotoAndStop(mc.char._currentframe - 4);
mc.char.anim.gotoAndStop(8);
delete atkInput;
}
if (atkCounter >= atkLimit) {
delete plyerAtk;
delete atkCounter;
} else {
atkCounter++;
}
} else if (plyerAtk == null) {
if (Key.isDown(40)) {
if (_root.obj.mous_Counter >= _root.obj.mousLimit) {
delete _root.obj.mous_Counter;
} else {
_root.obj.mous_Counter++;
}
_root.follTarg();
_root.targ._x = mc._x;
_root.targ._y = mc._y + 24;
_root.targ._alpha = 0;
_root.obj.kb_input = 1;
} else if (Key.isDown(38)) {
if (_root.obj.mous_Counter >= _root.obj.mousLimit) {
delete _root.obj.mous_Counter;
} else {
_root.obj.mous_Counter++;
}
_root.follTarg();
_root.targ._x = mc._x;
_root.targ._y = mc._y - 24;
_root.targ._alpha = 0;
_root.obj.kb_input = 1;
} else if (Key.isDown(37)) {
if (_root.obj.mous_Counter >= _root.obj.mousLimit) {
delete _root.obj.mous_Counter;
} else {
_root.obj.mous_Counter++;
}
_root.follTarg();
_root.targ._x = mc._x - 36;
_root.targ._y = mc._y;
_root.targ._alpha = 0;
_root.obj.kb_input = 1;
} else if (Key.isDown(39)) {
if (_root.obj.mous_Counter >= _root.obj.mousLimit) {
delete _root.obj.mous_Counter;
} else {
_root.obj.mous_Counter++;
}
_root.follTarg();
_root.targ._x = mc._x + 24;
_root.targ._y = mc._y;
_root.targ._alpha = 0;
_root.obj.kb_input = 1;
} else {
delete _root.obj.kb_input;
}
}
}
function spwCheck(obj) {
if (varSpawn >= 3) {
varSpawn = 1;
} else {
varSpawn++;
}
if (_root.road.path.hitTest(obj._x + (mobDist * varSpawn), obj._y + (mobDist * varSpawn), true)) {
if (spawnCounter >= 1) {
_root.monSpawn();
delete spawnCounter;
} else {
_root.monSpawn();
varSpawn++;
spawnCounter++;
}
}
}
function monSpawn() {
limit = 8;
nmeHealth = Math.ceil(Math.random() * 5) + 2;
if (nmeCount >= limit) {
if (reSpawn >= limit) {
} else {
reSpawn++;
_root.mob.duplicateMovieClip("mon" + reSpawn, 1000 + reSpawn);
_root["mon" + nmeCount]._.visible = false;
_root["mon" + reSpawn]._x = nmePoint._x + (varSpawn * mobDist);
_root["mon" + reSpawn]._y = nmePoint._y + mobDist;
_root["mon" + reSpawn].vita = nmeHealth;
}
} else {
delete reSpawn;
_root.nmeCount++;
_root.mob.duplicateMovieClip("mon" + nmeCount, 1000 + nmeCount);
_root["mon" + nmeCount]._.visible = false;
_root["mon" + nmeCount]._x = nmePoint._x;
_root["mon" + nmeCount]._y = nmePoint._y;
_root["mon" + nmeCount].vita = nmeHealth;
}
}
function mobMove(obj) {
mobReset();
colorFunc(nmeguy, obj);
var mobMvnt = 1;
while (mobMvnt < (nmeCount + 1)) {
if (_root.road.path.hitTest(_root["mon" + mobMvnt]._x, _root["mon" + mobMvnt]._y, true)) {
_root["mon" + mobMvnt]._visible = true;
} else {
_root["mon" + mobMvnt]._x = obj._x + 144;
_root["mon" + mobMvnt]._y = obj._y;
_root["mon" + mobMvnt]._visible = false;
}
respawnFunc(_root["mon" + mobMvnt], _root.obj);
faceNme(_root.obj, _root["mon" + mobMvnt]);
if (doubleSpellCheck == 1) {
doubleSpell(_root["mon" + mobMvnt]);
}
nmeClear(_root["mon" + mobMvnt]);
mobTurn(_root["mon" + mobMvnt], obj);
mobmvLimit = 3;
mobSpd = 8;
mobDist = 24;
if ((Math.abs(_root["mon" + mobMvnt]._x - obj._x) < 32) && (Math.abs(_root["mon" + mobMvnt]._y - obj._y) < 32)) {
if (_root["mon" + mobMvnt]._y < obj._y) {
_root.alignX(obj, _root["mon" + mobMvnt]);
} else if (_root["mon" + mobMvnt]._y > obj._y) {
_root.alignX(obj, _root["mon" + mobMvnt]);
} else if (_root["mon" + mobMvnt]._x < obj._x) {
_root.alignY(obj, _root["mon" + mobMvnt]);
} else if (_root["mon" + mobMvnt]._x > obj._x) {
_root.alignY(obj, _root["mon" + mobMvnt]);
}
} else {
delete _root["mon" + mobMvnt].plyHtd;
if ((_root["mon" + mobMvnt]._x < (obj._x - mobDist)) && (_root["mon" + mobMvnt].Htdx1 == null)) {
if (_root["mon" + mobMvnt].monAtmx1 >= mobmvLimit) {
if (_root.road.path.hitTest(_root["mon" + mobMvnt]._x + mobDist, _root["mon" + mobMvnt]._y, true)) {
_root["mon" + mobMvnt]._x = _root["mon" + mobMvnt]._x + mobSpd;
_root["mon" + mobMvnt].gotoAndStop(3);
_root["mon" + mobMvnt].anim.play();
delete _root["mon" + mobMvnt].monAtmx1;
var mobHd = 1;
while (mobHd < (nmeCount + 1)) {
if (((_root["mon" + mobMvnt]._x + mobDist) < _root["mon" + mobHd]._x) && (_root["mon" + mobMvnt]._y == _root["mon" + mobHd]._y)) {
_root["mon" + mobMvnt].Htdx1 = 1;
}
mobHd++;
}
}
} else {
_root["mon" + mobMvnt].monAtmx1++;
}
} else if ((_root["mon" + mobMvnt]._x > (obj._x + mobDist)) && (_root["mon" + mobMvnt].Htdx2 == null)) {
if (_root["mon" + mobMvnt].monAtmx2 >= mobmvLimit) {
if (_root.road.path.hitTest(_root["mon" + mobMvnt]._x - mobDist, _root["mon" + mobMvnt]._y, true)) {
_root["mon" + mobMvnt]._x = _root["mon" + mobMvnt]._x - mobSpd;
_root["mon" + mobMvnt].gotoAndStop(2);
_root["mon" + mobMvnt].anim.play();
delete _root["mon" + mobMvnt].monAtmx2;
var mobHd = 1;
while (mobHd < (nmeCount + 1)) {
if (((_root["mon" + mobMvnt]._x - mobDist) == _root["mon" + mobHd]._x) && (_root["mon" + mobMvnt]._y == _root["mon" + mobHd]._y)) {
_root["mon" + mobMvnt].Htdx2 = 1;
}
mobHd++;
}
}
} else {
_root["mon" + mobMvnt].monAtmx2++;
}
} else if ((_root["mon" + mobMvnt]._y < (obj._y - mobDist)) && (_root["mon" + mobMvnt].Htdy1 == null)) {
if (_root["mon" + mobMvnt].monAtmy >= mobmvLimit) {
if (_root.road.path.hitTest(_root["mon" + mobMvnt]._x, _root["mon" + mobMvnt]._y + mobDist, true)) {
_root["mon" + mobMvnt]._y = _root["mon" + mobMvnt]._y + mobSpd;
_root["mon" + mobMvnt].gotoAndStop(1);
_root["mon" + mobMvnt].anim.play();
delete _root["mon" + mobMvnt].monAtmy;
var mobHd = 1;
while (mobHd < (nmeCount + 1)) {
if (((_root["mon" + mobMvnt]._y + mobDist) == _root["mon" + mobHd]._y) && (_root["mon" + mobMvnt]._x == _root["mon" + mobHd]._x)) {
_root["mon" + mobMvnt].Htdy1 = 1;
}
mobHd++;
}
}
} else {
_root["mon" + mobMvnt].monAtmy++;
}
} else if ((_root["mon" + mobMvnt]._y > (obj._y + mobDist)) && (_root["mon" + mobMvnt].Htdy2 == null)) {
if (_root["mon" + mobMvnt].monAtmy >= mobmvLimit) {
if (_root.road.path.hitTest(_root["mon" + mobMvnt]._x, _root["mon" + mobMvnt]._y - mobDist, true)) {
_root["mon" + mobMvnt]._y = _root["mon" + mobMvnt]._y - mobSpd;
_root["mon" + mobMvnt].gotoAndStop(4);
_root["mon" + mobMvnt].anim.play();
delete _root["mon" + mobMvnt].monAtmy;
var mobHd = 1;
while (mobHd < (nmeCount + 1)) {
if (((_root["mon" + mobMvnt]._y - mobDist) == _root["mon" + mobHd]._y) && (_root["mon" + mobMvnt]._x == _root["mon" + mobHd]._x)) {
_root["mon" + mobMvnt].Htdy2 = 1;
}
mobHd++;
}
}
} else {
_root["mon" + mobMvnt].monAtmy++;
}
} else if (_root["mon" + mobMvnt].atk == null) {
_root["mon" + mobMvnt].anim.gotoAndStop(8);
}
}
mobMvnt++;
}
}
function follTarg() {
dest_y = Math.ceil(_root.targ._y / mov_spd) * mov_spd;
dest_x = Math.ceil(_root.targ._x / mov_spd) * mov_spd;
player_y = Math.ceil(this._y / mov_spd) * mov_spd;
player_x = Math.ceil(this._x / mov_spd) * mov_spd;
}
function follAnim() {
if ((Math.abs(dest_x - player_x) / mov_spd) >= 1) {
if ((((dest_x / mov_spd) > (player_x / mov_spd)) && (_root.road.hitTest(player_x + mov_spd, player_y, false))) && (_root.road.path.hitTest(this._x + mov_spd, this._y, true))) {
_root.obj.char.gotoAndStop(2);
_root.obj.char.anim.play();
_root.road._x = _root.road._x + (-mov_spd);
pl_cordx++;
} else if ((((dest_x / mov_spd) < (player_x / mov_spd)) && (_root.road.hitTest(player_x - mov_spd, player_y, false))) && (_root.road.path.hitTest(this._x - mov_spd, this._y, true))) {
_root.obj.char.gotoAndStop(3);
_root.obj.char.anim.play();
_root.road._x = _root.road._x + mov_spd;
pl_cordx--;
} else {
_root.obj.char.anim.gotoAndStop(8);
}
}
if ((Math.abs(dest_y - player_y) / mov_spd) >= 1) {
if ((((dest_y / mov_spd) > (player_y / mov_spd)) && (_root.road.hitTest(player_x, player_y + mov_spd, false))) && (_root.road.path.hitTest(this._x, this._y + mov_spd, true))) {
_root.obj.char.gotoAndStop(1);
_root.obj.char.anim.play();
_root.road._y = _root.road._y + (-mov_spd);
} else if ((((dest_y / mov_spd) < (player_y / mov_spd)) && (_root.road.hitTest(player_x, player_y - mov_spd, false))) && (_root.road.path.hitTest(this._x, this._y - mov_spd, true))) {
_root.obj.char.gotoAndStop(4);
_root.obj.char.anim.play();
_root.road._y = _root.road._y + mov_spd;
} else {
_root.obj.char.anim.gotoAndStop(8);
}
}
}
Instance of Symbol 29 MovieClip "targ" in Frame 1
onClipEvent (enterFrame) {
if (this._x < Math.ceil((_root._xmouse / _root.obj.mov_spd) * _root.obj.mov_spd)) {
this._x = this._x + _root.obj.mov_spd;
}
if (this._x > Math.ceil((_root._xmouse / _root.obj.mov_spd) * _root.obj.mov_spd)) {
this._x = this._x - _root.obj.mov_spd;
}
if (this._y < Math.ceil((_root._ymouse / _root.obj.mov_spd) * _root.obj.mov_spd)) {
this._y = this._y + _root.obj.mov_spd;
}
if (this._y > Math.ceil((_root._ymouse / _root.obj.mov_spd) * _root.obj.mov_spd)) {
this._y = this._y - _root.obj.mov_spd;
}
}
Instance of Symbol 31 MovieClip "nmePoint" in Frame 1
onClipEvent (enterFrame) {
if (((((!Key.isDown(38)) && (!Key.isDown(Key.Down))) && (!Key.isDown(37))) && (!Key.isDown(39))) && (_root.nmeCount < 9)) {
if (spawnTimer >= 10) {
if (_root.obj.dir >= 4) {
_root.obj.dir = 1;
} else {
_root.obj.dir++;
_root.spwCheck(this);
}
delete spawnTimer;
} else {
spawnTimer++;
}
} else {
if (_root.obj.dir == 1) {
this._x = _root.obj._x;
this._y = _root.obj._y + 120;
_root.spwCheck(this);
delete _root.obj.dir;
}
if (_root.obj.dir == 2) {
this._x = _root.obj._x + 144;
this._y = _root.obj._y;
_root.spwCheck(this);
delete _root.obj.dir;
}
if (_root.obj.dir == 3) {
this._x = _root.obj._x - 120;
this._y = _root.obj._y;
_root.spwCheck(this);
delete _root.obj.dir;
}
if (_root.obj.dir == 4) {
this._x = _root.obj._x;
this._y = _root.obj._y - 96;
_root.spwCheck(this);
delete _root.obj.dir;
}
}
}
Instance of Symbol 66 MovieClip "obj" in Frame 1
onClipEvent (load) {
if (SOUNDFX == null) {
_root.soundmelee.duplicateMovieClip("soundmelee_1");
trace(_root.soundmelee1._x);
_root.soundItem.duplicateMovieClip("soundItem_1");
_root.soundspell.duplicateMovieClip("soundspell_1");
_root.soundeffect.duplicateMovieClip("soundeffect_1");
SOUNDFX = 1;
}
if (_root.strtx == null) {
_root.strtx = _root.road._x;
_root.strty = _root.road._y;
_root.obj.char.anim.gotoAndStop(8);
}
_root.road._x = _root.map_x;
_root.road._y = _root.map_y;
_root.road.gotoAndStop(_root.map_cf);
_root.road.path.gotoAndStop(_root.map_cfp);
_root.road.exits.gotoAndStop(_root.map_cfe);
_root.obj._x = _root.arrow_x;
_root.obj._y = _root.arrow_y;
delete _root.map_x;
}
onClipEvent (enterFrame) {
_root.faceTurn(this);
_root.mobMove(this);
_root.coordX = Math.abs(Math.floor(_root.road.path._width / 24) - Math.floor(_root._xmouse / 24));
_root.coordY = Math.floor(_root.road.path._height / 24);
mov_spd = 8;
if (_root.road.path._currentframe >= 8) {
_root.gotoAndStop("56");
}
mousLimit = 2;
if (mous_input == 1) {
if (mous_Counter >= mousLimit) {
delete mous_Counter;
} else {
mous_Counter++;
}
}
_root.kbMovement(this);
if (((mous_input == 1) && (mous_Counter >= mousLimit)) || ((kb_input == 1) && (mous_Counter >= mousLimit))) {
_root.mobEncounter++;
dest_y = Math.ceil(_root.targ._y / mov_spd) * mov_spd;
dest_x = Math.ceil(_root.targ._x / mov_spd) * mov_spd;
player_y = Math.ceil(this._y / mov_spd) * mov_spd;
player_x = Math.ceil(this._x / mov_spd) * mov_spd;
if (((Math.abs(dest_x - player_x) / mov_spd) >= 1) && ((Math.abs(dest_y - player_y) / mov_spd) >= 1)) {
_root.obj.char.anim.gotoAndStop(8);
} else {
if ((Math.abs(dest_x - player_x) / mov_spd) >= 1) {
if (((((dest_x / mov_spd) > (player_x / mov_spd)) && (_root.road.hitTest(player_x + mov_spd, player_y, false))) && (_root.road.path.hitTest(this._x + mov_spd, this._y, true))) && (_root.obj.plHdx == null)) {
_root.obj.char.gotoAndStop(2);
_root.obj.char.anim.play();
_root.road._x = _root.road._x + (-mov_spd);
pl_cordx++;
dir = 2;
var moveMob = 1;
while (moveMob < (_root.nmeCount + 1)) {
_root["mon" + moveMob]._x = _root["mon" + moveMob]._x - mov_spd;
delete _root["mon" + moveMob].Htdx1;
delete _root["mon" + moveMob].Htdx2;
delete _root["mon" + moveMob].Htdy1;
delete _root["mon" + moveMob].Htdy2;
moveMob++;
}
} else if (((((dest_x / mov_spd) < (player_x / mov_spd)) && (_root.road.hitTest(player_x - mov_spd, player_y, false))) && (_root.road.path.hitTest(this._x - mov_spd, this._y, true))) && (_root.obj.plHdx2 == null)) {
_root.obj.char.gotoAndStop(3);
_root.obj.char.anim.play();
_root.road._x = _root.road._x + mov_spd;
pl_cordx--;
dir = 3;
var moveMob = 1;
while (moveMob < (_root.nmeCount + 1)) {
_root["mon" + moveMob]._x = _root["mon" + moveMob]._x + mov_spd;
delete _root["mon" + moveMob].Htdx1;
delete _root["mon" + moveMob].Htdx2;
delete _root["mon" + moveMob].Htdy1;
delete _root["mon" + moveMob].Htdy2;
moveMob++;
}
} else {
_root.obj.char.anim.gotoAndStop(8);
}
}
if ((Math.abs(dest_y - player_y) / mov_spd) >= 1) {
if (((((dest_y / mov_spd) > (player_y / mov_spd)) && (_root.road.hitTest(player_x, player_y + mov_spd, false))) && (_root.road.path.hitTest(this._x, this._y + mov_spd, true))) && (_root.obj.plHdy == null)) {
_root.obj.char.gotoAndStop(1);
_root.obj.char.anim.play();
_root.road._y = _root.road._y + (-mov_spd);
dir = 1;
var moveMob = 1;
while (moveMob < (_root.nmeCount + 1)) {
_root["mon" + moveMob]._y = _root["mon" + moveMob]._y - mov_spd;
delete _root["mon" + moveMob].Htdx1;
delete _root["mon" + moveMob].Htdx2;
delete _root["mon" + moveMob].Htdy1;
delete _root["mon" + moveMob].Htdy2;
moveMob++;
}
} else if (((((dest_y / mov_spd) < (player_y / mov_spd)) && (_root.road.hitTest(player_x, player_y - mov_spd, false))) && (_root.road.path.hitTest(this._x, this._y - mov_spd, true))) && (_root.obj.plHdy2 == null)) {
_root.obj.char.gotoAndStop(4);
_root.obj.char.anim.play();
dir = 4;
_root.road._y = _root.road._y + mov_spd;
var moveMob = 1;
while (moveMob < (_root.nmeCount + 1)) {
_root["mon" + moveMob]._y = _root["mon" + moveMob]._y + mov_spd;
delete _root["mon" + moveMob].Htdx1;
delete _root["mon" + moveMob].Htdx2;
delete _root["mon" + moveMob].Htdy1;
delete _root["mon" + moveMob].Htdy2;
moveMob++;
}
} else {
_root.obj.char.anim.gotoAndStop(8);
}
}
}
}
if ((mous_input == null) && (kb_input == null)) {
_root.obj.char.anim.gotoAndStop(8);
}
moveMob = 1;
while (moveMob < (_root.nmeCount + 1)) {
if (((((!Key.isDown(38)) && (!Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(39))) && (mous_input == null)) {
if (!_root.obj.hb.hitTest(_root["mon" + moveMob]._x, _root["mon" + moveMob]._y - 24)) {
delete _root.obj.plHdy;
}
if (!_root.obj.hb.hitTest(_root["mon" + moveMob]._x - 24, _root["mon" + moveMob]._y - 12)) {
delete _root.obj.plHdx;
}
if (!_root.obj.hb.hitTest(_root["mon" + moveMob]._x + 24, _root["mon" + moveMob]._y - 12)) {
delete _root.obj.plHdx2;
}
if (!_root.obj.hb.hitTest(_root["mon" + moveMob]._x, _root["mon" + moveMob]._y + 12)) {
delete _root.obj.plHdy2;
}
}
if (_root.obj.hb.hitTest(_root["mon" + moveMob]._x, _root["mon" + moveMob]._y - 24)) {
_root.obj.plHdy = 1;
} else if (_root.obj.hb.hitTest(_root["mon" + moveMob]._x - 24, _root["mon" + moveMob]._y - 12)) {
_root.obj.plHdx = 1;
} else if (_root.obj.hb.hitTest(_root["mon" + moveMob]._x + 24, _root["mon" + moveMob]._y - 12)) {
_root.obj.plHdx2 = 1;
} else if (_root.obj.hb.hitTest(_root["mon" + moveMob]._x, _root["mon" + moveMob]._y + 12)) {
_root.obj.plHdy2 = 1;
}
moveMob++;
}
if (_root.mobEncounter >= _root.mobCaught) {
delete _root.mobCaught;
delete _root.mobEncounter;
delete _root.map_x;
if (_root.map_x == null) {
_root.map_x = _root.road._x;
_root.map_y = _root.road._y;
_root.map_cf = _root.road._currentframe;
_root.map_cfp = _root.road.path._currentframe;
_root.map_cfe = _root.road.exits._currentframe;
_root.arrow_x = this._x;
_root.arrow_y = this._y;
}
_root.play();
} else {
_root.stop();
}
}
onClipEvent (mouseUp) {
delete mous_input;
delete _root.m_input;
}
onClipEvent (mouseDown) {
mous_input = 1;
_root.m_input = 1;
}
Instance of Symbol 63 MovieClip "shadow" in Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.char._currentframe);
this.anim.gotoAndStop(_parent.char.anim._currentframe);
}
Instance of Symbol 127 MovieClip in Frame 1
onClipEvent (load) {
this.swapDepths(9000);
}
Instance of Symbol 131 MovieClip in Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.debugGame == null) {
_alpha = 100;
if (counter == null) {
counter = 1;
}
if (getTimer() >= (999 * counter)) {
counter++;
_root.fps = "FPS:" + rate;
delete rate;
} else {
rate++;
}
} else {
_visible = false;
}
}
Instance of Symbol 170 MovieClip "plWhiteBox" in Frame 1
onClipEvent (load) {
this.gotoAndStop(14);
}
Instance of Symbol 172 MovieClip "soundbgm_x" in Frame 1
onClipEvent (data) {
_root._xscale = 289;
_root._yscale = 289;
_root._x = -414;
_root._y = -206;
_root._xscale = 200;
_root._yscale = 200;
_root._x = -284;
_root._y = -149;
_root.chat("1", 30, 7);
_root.chat("2", 30, 7);
_root.chat("3", 30, 7);
_root.chat("4", 30, 7);
_root.chat("5", 30, 7);
_root.chat("6", 30, 7);
_root.chat("this is a test line of dialogue, blah blah blah blah", 30, 7);
_root.chat("Nexus Flash Clone: by carbonlad, aka NUAC", 30, 7);
_root.chat("11-21-2024: Added Chat Bar", 30, 7);
}
Symbol 15 MovieClip Frame 16
removeMovieClip(this);
Symbol 23 MovieClip Frame 1
stop();
Symbol 23 MovieClip Frame 2
stop();
Symbol 23 MovieClip Frame 3
stop();
Symbol 23 MovieClip Frame 4
stop();
Symbol 23 MovieClip Frame 5
stop();
Symbol 23 MovieClip Frame 6
stop();
Symbol 23 MovieClip Frame 7
stop();
Symbol 23 MovieClip Frame 8
stop();
Symbol 23 MovieClip Frame 9
stop();
Symbol 23 MovieClip Frame 10
stop();
Symbol 26 MovieClip Frame 1
stop();
Instance of Symbol 25 MovieClip "f_exit" in Symbol 26 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.obj.hb)) {
_root.roomClear();
_root.road._x = _root.r_strtx;
_root.road._y = _root.r_strty;
_parent._parent.path.gotoAndStop(_parent._parent.path._currentframe + 1);
_parent._parent.exits.gotoAndStop(_parent._parent.exits._currentframe + 1);
}
}
Symbol 26 MovieClip Frame 2
stop();
Instance of Symbol 25 MovieClip "b_exit" in Symbol 26 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.obj.hb)) {
_root.roomClear();
if (_root.r_strtx == null) {
_root.r_strtx = _root.road._x;
_root.r_strty = _root.road._y - 49;
}
_root.road._x = _root.strtx;
_root.road._y = _root.strty;
_parent._parent.path.gotoAndStop(_parent._parent.path._currentframe - 1);
_parent._parent.exits.gotoAndStop(_parent._parent.exits._currentframe - 1);
}
}
Instance of Symbol 25 MovieClip "f_exit" in Symbol 26 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.obj.hb)) {
_root.roomClear();
_root.road._x = _root.strtx;
_root.road._y = _root.strty;
_parent._parent.path.gotoAndStop(_parent._parent.path._currentframe + 1);
_parent._parent.exits.gotoAndStop(_parent._parent.exits._currentframe + 1);
}
}
Symbol 26 MovieClip Frame 3
stop();
Instance of Symbol 25 MovieClip "b_exit" in Symbol 26 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.obj.hb)) {
_root.roomClear();
if (_root.r_strtx == null) {
_root.r_strtx = _root.road._x;
_root.r_strty = _root.road._y - 72;
}
_root.road._x = _root.strtx;
_root.road._y = _root.strty;
_parent._parent.path.gotoAndStop(_parent._parent.path._currentframe - 1);
_parent._parent.exits.gotoAndStop(_parent._parent.exits._currentframe - 1);
}
}
Instance of Symbol 25 MovieClip "f_exit" in Symbol 26 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.obj)) {
_root.roomClear();
_root.road._x = _root.strtx;
_root.road._y = _root.strty;
_parent._parent.path.gotoAndStop(_parent._parent.path._currentframe + 1);
_parent._parent.exits.gotoAndStop(_parent._parent.exits._currentframe + 1);
}
}
Symbol 26 MovieClip Frame 4
stop();
Instance of Symbol 25 MovieClip "f_exit" in Symbol 26 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.obj.hb)) {
_root.roomClear();
_root.road._x = _root.strtx;
_root.road._y = _root.strty;
_parent._parent.path.gotoAndStop(_parent._parent.path._currentframe + 1);
_parent._parent.exits.gotoAndStop(_parent._parent.exits._currentframe + 1);
}
}
Symbol 26 MovieClip Frame 5
stop();
Symbol 26 MovieClip Frame 6
stop();
Symbol 26 MovieClip Frame 7
stop();
Symbol 27 MovieClip Frame 1
stop();
Instance of Symbol 23 MovieClip "path" in Symbol 27 MovieClip Frame 1
onClipEvent (load) {
if (_root.map_cf == null) {
this.gotoAndStop(2);
}
}
Instance of Symbol 26 MovieClip "exits" in Symbol 27 MovieClip Frame 1
onClipEvent (load) {
if (_root.map_cf == null) {
this.gotoAndStop(2);
}
}
Symbol 27 MovieClip Frame 2
stop();
Symbol 27 MovieClip Frame 3
stop();
Symbol 27 MovieClip Frame 4
stop();
Symbol 27 MovieClip Frame 5
stop();
Symbol 27 MovieClip Frame 6
stop();
Symbol 27 MovieClip Frame 7
stop();
Symbol 34 MovieClip Frame 1
removeMovieClip(this);
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 2
stop();
Symbol 63 MovieClip Frame 3
stop();
Symbol 63 MovieClip Frame 4
stop();
Symbol 63 MovieClip Frame 5
stop();
Symbol 63 MovieClip Frame 6
stop();
Symbol 63 MovieClip Frame 7
stop();
Symbol 63 MovieClip Frame 8
stop();
Instance of Symbol 63 MovieClip "shadow" in Symbol 66 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.char._currentframe);
this.anim.gotoAndStop(_parent.char.anim._currentframe);
}
Symbol 87 Button
on (press) {
gotoAndStop (1);
}
Symbol 88 Button
on (press) {
gotoAndStop (2);
}
Symbol 89 Button
on (press) {
gotoAndStop (3);
}
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 2
stop();
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 2
stop();
Symbol 101 MovieClip Frame 3
stop();
Instance of Symbol 98 MovieClip in Symbol 101 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.equip_usage == 1) {
if (_root.SFX == null) {
this.gotoAndStop(2);
_root.SFX = 1;
}
if (_root.SFX == 2) {
if (soundUnload == null) {
removeMovieClip(_root.sound1);
removeMovieClip(_root.soundeffect1);
removeMovieClip(_root.sounditem1);
removeMovieClip(_root.soundspell1);
removeMovieClip(_root.soundvoice1);
soundUnload = 1;
}
this.gotoAndStop(1);
}
if (_root.SFX == 1) {
if (soundLoad == null) {
_root.sound.duplicateMovieClip("sound1", 901);
_root.soundeffect.duplicateMovieClip("soundeffect1", 902);
_root.sounditem.duplicateMovieClip("sounditem1", 903);
_root.soundspell.duplicateMovieClip("soundspell1", 904);
_root.soundvoice.duplicateMovieClip("soundvoice1", 905);
soundLoad = 1;
}
this.gotoAndStop(2);
} else if (_root.SFXstart == null) {
this.gotoAndStop(1);
_root.SFX = 2;
_root.SFXstart = 1;
} else if (_root.sound1._x == null) {
this.gotoAndStop(1);
_root.SFX = 2;
}
if ((_root.m_input == 1) && (this.hitTest(_root._xmouse, _root._ymouse, true))) {
if (soundfx == null) {
if (_root.SFX >= 2) {
_root.SFX = 1;
} else {
_root.SFX++;
}
if (_root.SFX == 2) {
removeMovieClip(_root.sound1);
removeMovieClip(_root.soundeffect1);
removeMovieClip(_root.sounditem1);
removeMovieClip(_root.soundspell1);
removeMovieClip(_root.soundvoice1);
this.gotoAndStop(2);
}
if (_root.SFX == 1) {
_root.sound.duplicateMovieClip("sound1", 901);
_root.soundeffect.duplicateMovieClip("soundeffect1", 902);
_root.sounditem.duplicateMovieClip("sounditem1", 903);
_root.soundspell.duplicateMovieClip("soundspell1", 904);
_root.soundvoice.duplicateMovieClip("soundvoice1", 905);
_root.sound1.gotoAndPlay(2);
this.gotoAndStop(1);
}
soundfx = 1;
}
} else {
delete soundfx;
}
}
}
Instance of Symbol 98 MovieClip in Symbol 101 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.equip_usage == 1) {
if (_root.BGM == null) {
this.gotoAndStop(2);
_root.BGM = 1;
}
if (_root.BGM == 1) {
this.gotoAndStop(2);
} else if (_root.BGMstart == null) {
this.gotoAndStop(1);
_root.BGM = 2;
_root.BGMstart = 1;
} else if (_root.soundbgm1._x == null) {
this.gotoAndStop(1);
_root.BGM = 2;
}
if ((_root.m_input == 1) && (this.hitTest(_root._xmouse, _root._ymouse, true))) {
_root.mouseReset();
if (muzie == null) {
if (_root.BGM >= 2) {
_root.BGM = 1;
} else {
_root.BGM++;
}
if (_root.BGM == 2) {
stopAllSounds();
removeMovieClip(_root.soundbgm1);
}
if (_root.BGM == 1) {
_root.soundbgm.duplicateMovieClip("soundbgm1", 104);
_root.soundbgm1.gotoAndStop(_root.floor + 5);
_root.soundbgm1.gotoAndStop(1);
}
muzie = 1;
}
} else {
delete muzie;
}
}
}
Instance of Symbol 107 MovieClip in Symbol 113 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.plyHealth < 0) {
_root.plyHealth = 0;
} else {
this._width = (_root.plyHealth * 60) / _root.maxhealth;
}
}
Instance of Symbol 116 MovieClip in Symbol 122 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.plyMana < 0) {
this._width = 0;
} else {
this._width = (_root.plyMana * 60) / _root.maxmana;
}
}
Instance of Symbol 113 MovieClip in Symbol 127 MovieClip Frame 1
onClipEvent (load) {
_root.maxhealth = 200;
_root.plyHealth = _root.maxhealth;
}
Instance of Symbol 122 MovieClip in Symbol 127 MovieClip Frame 1
onClipEvent (load) {
_root.maxmana = 20;
_root.plyMana = _root.maxmana;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
onClipEvent (keyDown) {
if (input >= 20) {
this._visible = false;
} else {
input++;
}
}
Symbol 146 MovieClip Frame 8
stop();
Symbol 149 MovieClip Frame 8
stop();
Symbol 154 MovieClip Frame 8
stop();
Symbol 159 MovieClip Frame 8
stop();
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 2
stop();
Symbol 160 MovieClip Frame 3
stop();
Symbol 160 MovieClip Frame 4
stop();
Symbol 160 MovieClip Frame 5
stop();
Symbol 160 MovieClip Frame 6
stop();
Symbol 160 MovieClip Frame 7
stop();
Symbol 160 MovieClip Frame 8
stop();
Instance of Symbol 165 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (load) {
_parent._visible = false;
}
onClipEvent (enterFrame) {
if (((_parent._parent.vita * 100) / 5) > 50) {
this.gotoandStop(1);
}
if (((_parent._parent.vita * 100) / 5) < 50) {
this.gotoandStop(2);
}
if (((_parent._parent.vita * 100) / 5) < 25) {
this.gotoandStop(3);
}
if (_parent._parent.nmeVitaTimer > 1) {
this._width = (_parent._parent.vita * 28.8) / 5;
_parent._visible = true;
} else {
_parent._visible = false;
}
}
Symbol 167 MovieClip Frame 1
stop();
Instance of Symbol 160 MovieClip in Symbol 167 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._currentframe);
this.anim.gotoAndStop(_parent.anim);
}
Symbol 167 MovieClip Frame 2
stop();
Symbol 167 MovieClip Frame 3
stop();
Symbol 167 MovieClip Frame 4
stop();
Symbol 167 MovieClip Frame 5
stop();
Symbol 167 MovieClip Frame 6
stop();
Symbol 167 MovieClip Frame 7
stop();
Symbol 167 MovieClip Frame 8
stop();
Symbol 169 MovieClip Frame 2
_root.whiteVrb = 255;
Symbol 169 MovieClip Frame 6
_root.whiteVrb = 0;
Symbol 169 MovieClip Frame 14
stop();
Symbol 170 MovieClip Frame 2
_root.plwhiteVrb = 255;
Symbol 170 MovieClip Frame 6
_root.plwhiteVrb = 0;
Symbol 170 MovieClip Frame 15
stop();
Symbol 172 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 2
gotoAndStop (1);
Symbol 182 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 2
gotoAndStop (1);
Symbol 182 MovieClip Frame 3
gotoAndStop (1);
Symbol 182 MovieClip Frame 4
gotoAndStop (1);
Symbol 182 MovieClip Frame 6
gotoAndStop (1);
Symbol 182 MovieClip Frame 7
gotoAndStop (1);
Symbol 182 MovieClip Frame 8
gotoAndStop (1);
Symbol 182 MovieClip Frame 9
gotoAndStop (1);
Symbol 182 MovieClip Frame 10
gotoAndStop (1);
Symbol 188 MovieClip Frame 1
gotoAndStop (1);
Symbol 188 MovieClip Frame 2
gotoAndStop (1);
Symbol 188 MovieClip Frame 3
gotoAndStop (1);
Symbol 188 MovieClip Frame 4
gotoAndStop (1);
Symbol 188 MovieClip Frame 5
gotoAndStop (1);
Symbol 193 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 2
gotoAndStop (1);
Symbol 193 MovieClip Frame 3
gotoAndStop (1);
Symbol 193 MovieClip Frame 4
gotoAndStop (1);
Symbol 193 MovieClip Frame 5
gotoAndStop (1);
Symbol 200 MovieClip Frame 1
gotoAndStop (1);
Symbol 200 MovieClip Frame 2
gotoAndStop (1);
Symbol 200 MovieClip Frame 3
gotoAndStop (1);
Symbol 200 MovieClip Frame 4
gotoAndStop (1);
Symbol 200 MovieClip Frame 5
gotoAndStop (1);
Symbol 200 MovieClip Frame 6
gotoAndStop (1);
Symbol 200 MovieClip Frame 7
gotoAndStop (1);
Symbol 200 MovieClip Frame 8
gotoAndStop (1);
Symbol 200 MovieClip Frame 9
gotoAndStop (1);
Symbol 203 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 2
stop();
gotoAndStop (1);
Symbol 203 MovieClip Frame 3
stop();
gotoAndStop (1);
Symbol 203 MovieClip Frame 4
stop();
gotoAndStop (1);